HL7 Version 2 to FHIR
1.0.0-ballot - ballot International flag

HL7 Version 2 to FHIR, published by HL7 International / Orders and Observations. This guide is not an authorized publication; it is the continuous build for version 1.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/v2-to-fhir/ and changes regularly. See the Directory of published versions

ConceptMap: Datatype XCN to Patient Map (Experimental)

Official URL: http://hl7.org/fhir/uv/v2mappings/datatype-xcn-to-patient Version: 1.0.0-ballot
Active as of 2024-10-30 Computable Name: DatatypeXCNToPatient

Copyright/Legal: Copyright (c) 2020, HL7 International, Inc., All Rights Reserved.

This ConceptMap represents a mapping from the HL7 V2 Datatype XCN to the FHIR Patient Resource.

This ConceptMap represents the mapping from the HL7 V2 XCN Data Type to the FHIR Patient Resource. See also the FHIR Shorthand or the CSV Source.

HL7 v2Condition (IF True, args)HL7 FHIRComments
Sort OrderIdentifierNameData TypeCardinality - MinCardinality - MaxComputable ANTLRComputable FHIRPathNarrativeFHIR AttributeProposed ExtensionData TypeCardinality - MinCardinality - MaxData Type MappingVocabulary Mapping
(IS, ID, CE, CEN, CWE)
Assignment
1XCN.1Person IdentifierST01Patient.identifier.valuePatient.string01
2XCN.2Family NameFN01Patient.namePatient.HumanName0-1FN[HumanName]
3XCN.3Given NameST01Patient.name.givenPatient.string0-1
4XCN.4Second and Further Given Names or Initials ThereofST01Patient.name.givenPatient.string0-1
5XCN.5Suffix (e.g., JR or III)ST01Patient.name.suffixPatient.string0-1
6XCN.6Prefix (e.g., DR)ST01Patient.name.prefixPatient.string0-1
7XCN.7Degree (e.g., MD)01Patient.name.suffix[2}Patient.string0-1
8XCN.8Source TableCWE01
9XCN.9Assigning AuthorityHD01If organizationPatient.identifier.assigner(Patient.Organization)Reference(Patient.Organization)01HD[Organization]
9XCN.9Assigning AuthorityHD01If systemPatient.identifier.systemPatient.uri01HD[uri]Typically the assigning authority reflects an organization, but if it is an actual system (EHR 1 vs. EHR 2, both supporting the same organization where one cannot get more specific), then XCN.9 should be mapped to .system
10XCN.10Name Type CodeID01Patient.name.usePatient.code01NameType
11XCN.11Identifier Check DigitST01Patient.identifier.extension.urlPatient.uri01"http://hl7.org/fhir/StructureDefinition/identifier-checkDigit"
11XCN.11Identifier Check DigitST01Patient.identifier.extension.valueStringPatient.string11
12XCN.12Check Digit SchemeID01Patient.identifier.extension.urlPatient.uri01"http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit"
12XCN.12Check Digit SchemeID01Patient.identifier.extension.valueStringPatient.string11
13XCN.13Identifier Type CodeID01Patient.identifier.type.coding.codePatient.code01IdentifierType
14XCN.14Assigning FacilityHD01identifier.#ext-assigningFacility#Reference(Patient.Location)01HD[Location]
15XCN.15Name Representation CodeID01
16XCN.16Name ContextCWE01
17XCN.17Name Validity Range01IF XCN.19 DOES NOT EXIST AND IF XCN.20 DOES NOT EXISTPatient.name.periodPatient.Period01DR[Period]
18XCN.18Name Assembly OrderID01Patient.name.family.extension.urlPatient.uri01"http://hl7.org/fhir/R4/extension-humanname-assembly-order.html"
18XCN.18Name Assembly OrderID01Patient.name.family.extension.valueCodePatient.code01NameAssemblyOrder
19XCN.19Effective DateDTM01Patient.name.period.startPatient.dateTime01
20XCN.20Expiration DateDTM01Patient.name.period.endPatient.dateTime01
21XCN.21Professional SuffixST01Patient.name.suffixPatient.string0-1
22XCN.22Assigning JurisdictionCWE01
23XCN.23Assigning Agency or DepartmentCWE01
24XCN.24Security CheckST01
25XCN.25Security Check SchemeID01

Generated Narrative: ConceptMap datatype-xcn-to-patient

Mapping from XCN to Patient


Group 1 Mapping from unspecified code system to unspecified code system

Source CodeRelationshipTarget CodeComment
XCN.1 (Person Identifier)is equivalent toidentifier[1].value
XCN.2 (Family Name)is equivalent toname
XCN.3 (Given Name)is equivalent toname.given[1]
XCN.4 (Second and Further Given Names or Initials Thereof)is equivalent toname.given[2]
XCN.5 (Suffix (e.g., JR or III))is equivalent toname.suffix[1]
XCN.6 (Prefix (e.g., DR))is equivalent toname.prefix
XCN.7 (Degree (e.g., MD))is equivalent toname.suffix[2}
XCN.9 (Assigning Authority)is equivalent toidentifier[1].assigner(Organization)
XCN.9 (Assigning Authority)is equivalent toidentifier[1].systemTypically the assigning authority reflects an organization, but if it is an actual system (EHR 1 vs. EHR 2, both supporting the same organization where one cannot get more specific), then XCN.9 should be mapped to .system
XCN.10 (Name Type Code)is equivalent toname.use
XCN.11 (Identifier Check Digit)is equivalent toidentifier[1].extension[1].url
XCN.11 (Identifier Check Digit)is equivalent toidentifier[1].extension[1].valueString
XCN.12 (Check Digit Scheme)is equivalent toidentifier[1].extension[2].url
XCN.12 (Check Digit Scheme)is equivalent toidentifier[1].extension[2].valueString
XCN.13 (Identifier Type Code)is equivalent toidentifier[1].type.coding.code
XCN.17 (Name Validity Range)is equivalent toname.period
XCN.18 (Name Assembly Order)is equivalent toname.family.extension.url
XCN.18 (Name Assembly Order)is equivalent toname.family.extension.valueCode
XCN.19 (Effective Date)is equivalent toname.period.start
XCN.20 (Expiration Date)is equivalent toname.period.end
XCN.21 (Professional Suffix)is equivalent toname.suffix

Notes: