[%settitle Datatype Mappings%] [%file newheader%] [%file newnavbar%] <%dtheader mappings%>
Datatype Mappings
| Responsible Owner: [[%wgt fhir%]]([%wg fhir%]) Work Group | Standards Status:Informative |
|---|
This page provides mappings for the datatypes. There are mappings to HL7 V2, HL7 v3, and (where appropriate) vCard (see Mappings to Other Standards for further information & status).
Datatypes Index
Primitive Types
[%diagram datatypes/allprimitivetypes.diagram 1dt%]
General-Purpose Datatypes
[%diagram datatypes/alltypes.diagram 2dt%]
Metadata Types
[%diagram datatypes/metadatatypes.diagram 3dt%]
Special Purpose Datatypes
[%diagram datatypes/specialtypes.diagram 4dt%]
Primitive Types
See also Base Definition, Examples, Detailed Descriptions, Profiles and Extensions and Extensions
<%dtmappings primitives%>
Attachment
See also Base Definition, Examples, Detailed Descriptions, Profiles and Extensions and Extensions
<%dtmappings Attachment%>
Identifier
See also Base Definition, Examples, Detailed Descriptions, Profiles and Extensions and Extensions
<%dtmappings Identifier%>
V3 Mapping Issues for Identifier
When mapping an HL7 v3 II datatype to a FHIR Identifier, there are two possibilities:
- If the II has only a root and no extension, the FHIR Identifier will have a system of 'urn:ietf:rfc:3986' and the II.root will appear in Identifier.value
- If the II has both a root and an extension, the II.root will be mapped to a URI - either a human-friendly URL or URN or (less preferred) an OID expressed as a urn, and the II.extension will be sent in Identifier.value
To search on a CDA II.root - which may appear in either Identifier.system or Identifier.value, use the syntax identifier=|[root],[root].
Coding
See also Base Definition, Examples, Detailed Descriptions, Profiles and Extensions and Extensions
<%dtmappings Coding%>
CodeableConcept
See also Base Definition, Examples, Detailed Descriptions, Profiles and Extensions and Extensions
<%dtmappings CodeableConcept%>
Quantity
See also Base Definition, Examples, Detailed Descriptions, Profiles and Extensions and Extensions
<%dtmappings Quantity%>
Money
See also Base Definition, Examples, Detailed Descriptions, Profiles and Extensions and Extensions
<%dtmappings Money%>
Range
See also Base Definition, Examples, Detailed Descriptions, Profiles and Extensions and Extensions
<%dtmappings Range%>
Ratio
See also Base Definition, Examples, Detailed Descriptions, Profiles and Extensions and Extensions
<%dtmappings Ratio%>
Ratio
See also Base Definition, Examples, Detailed Descriptions, Profiles and Extensions and Extensions
<%dtmappings RatioRange%>
Period
See also Base Definition, Examples, Detailed Descriptions, Profiles and Extensions and Extensions
<%dtmappings Period%>
SampledData
See also Base Definition, Examples, Detailed Descriptions, Profiles and Extensions and Extensions
<%dtmappings SampledData%>
HumanName
See also Base Definition, Examples, Detailed Descriptions, Profiles and Extensions and Extensions
<%dtmappings HumanName%>
vCard Mappings
- HumanName.text = vCard "FN" field
- HumanName.use = use of the vCard "TYPE" parameter
- HumanName.family, .given, .prefix, .suffix = parts of vCard "N" field. Note that there is no FHIR equivalent for the poorly defined "additional" name field. In FHIR, given names go in "middle" names
- The vCard nickname corresponds to a name with the use "nickname"
Address
See also Base Definition, Examples, Detailed Descriptions, Profiles and Extensions and Extensions
<%dtmappings Address%>
ContactPoint
See also Base Definition, Examples, Detailed Descriptions, Profiles and Extensions and Extensions
<%dtmappings ContactPoint%>
Timing
See also Base Definition, Examples, Detailed Descriptions, Profiles and Extensions and Extensions
<%dtmappings Timing%>
RelativeTime
See also Base Definition, Examples, Detailed Descriptions, Profiles and Extensions and Extensions
<%dtmappings RelativeTime%>
Signature
See also Base Definition, Examples, Detailed Descriptions, Profiles and Extensions and Extensions
<%dtmappings Signature%>
Annotation
See also Base Definition, Examples, Detailed Descriptions, Profiles and Extensions and Extensions
<%dtmappings Annotation%> [%file newfooter%]