Skip to content

Commit

Permalink
Merge pull request #163 from FirelyTeam/clarify-header-docs
Browse files Browse the repository at this point in the history
Clarify how to supply header in CSV for transformation
  • Loading branch information
alexzautke committed Mar 2, 2021
2 parents 51cf596 + efda6ad commit a1cd13e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mappingengine/featureslist/supportedformats.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ The following StructureDefinition would be produced in the background while exec
<iframe src=https://simplifier.net/embed/render?id=fhirmapperr4/csvtransport height="345px" width="100%"></iframe>
</embed>

The .hasHeader child element indicates if the CSV mapping adapter was configured to interpret the first row of the CSV file as a header record. This behaviour can be indicated according to `RFC 4180 <https://tools.ietf.org/html/rfc4180>`_ by using the ``header`` parameter in the Content-Type header.
The .hasHeader child element indicates if the CSV mapping adapter was configured to interpret the first row of the CSV file as a header record. This behaviour can be indicated according to `RFC 4180 <https://tools.ietf.org/html/rfc4180>`_ by using the ``header`` parameter in the Content-Type header, ie: ``text/csv; header=present``.

All other column identifiers are exposed as child elements of the .record BackboneElement. They can directly be used in a mapping rule: ::

Expand Down

0 comments on commit a1cd13e

Please sign in to comment.