Data type XPN in FHIR
How the components of data type XPN (Extended Person Name) become FHIR R4 elements, from the HL7 Version 2 to FHIR guide.
- HL7 v2 definition
- Definition of XPN in HL7 v2 2.8
- Maps
- HumanNameString
To HumanName15 rows
| HL7 v2 source | v2 type | FHIR element | FHIR type | Conditions and notes |
|---|---|---|---|---|
XPN.1Family Name | FN | [1].family | string | |
XPN.2Given Name | ST | [1].given[1] | string | |
XPN.3Second And Further Given Names Or Initials Thereof | ST | [1].given[2] | string | |
XPN.4Suffix (e.g., Jr Or Iii) | ST | [1].suffix[1] | string | |
XPN.5Prefix (e.g., Dr) | ST | [1].prefix | string | |
XPN.6Degree (e.g., Md) | [1].suffix[2] | string | ||
XPN.7Name Type Code | ID | [1].use | code | Code map name-use |
XPN.10Name Validity Range | DR | [1].period | Period | If IF XPN.12 NOT VALUED AND XPN.13 NOT VALUED |
XPN.11Name Assembly Order | ID | [1].extension.url | uri | Value "http://hl7.org/fhir/StructureDefinition/humanname-assembly-order" |
XPN.11Name Assembly Order | ID | [1].extension.valueCode | code | Code map v2-0444 |
XPN.12Effective Date | DTM | [1].period.start | dateTime | |
XPN.13Expiration Date | DTM | [1].period.end | dateTime | |
XPN.14Professional Suffix | ST | [1].suffix[3] | string | |
XPN.15Called By | ST | [2].given | string | if the resource attribute using the HumanName datatype allows for multiple names |
XPN.15Called By | ST | [2].use | code | if the resource attribute using the HumanName datatype allows for multiple namesValue "nickname" |
