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 XCNnull 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-14 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.code01IDType
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 Concept DetailsRelationshipTarget Concept DetailsCommentProperties
Codes from vocabularymapdatatypemapvalueCodes from narrativeantlr
XCN.1Person Identifieris equivalent toidentifier[1].valueidentifier[1].value
XCN.2Family NameFN[HumanName]is equivalent tonamename
XCN.3Given Nameis equivalent toname.given[1]name.given[1]
XCN.4Second and Further Given Names or Initials Thereofis equivalent toname.given[2]name.given[2]
XCN.5Suffix (e.g., JR or III)is equivalent toname.suffix[1]name.suffix[1]
XCN.6Prefix (e.g., DR)is equivalent toname.prefixname.prefix
XCN.7Degree (e.g., MD)is equivalent toname.suffix[2}name.suffix[2}
XCN.9Assigning AuthorityHD[Organization]is equivalent toidentifier[1].assigner(Organization)identifier[1].assigner(Organization)If organization
XCN.9Assigning AuthorityHD[uri]is equivalent toidentifier[1].systemidentifier[1].systemIf 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.10Name Type CodeNameTypeis equivalent toname.usename.use
XCN.11Identifier Check Digit"http://hl7.org/fhir/StructureDefinition/identifier-checkDigit"is equivalent toidentifier[1].extension[1].urlidentifier[1].extension[1].url
XCN.11Identifier Check Digitis equivalent toidentifier[1].extension[1].valueStringidentifier[1].extension[1].valueString
XCN.12Check Digit Scheme"http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit"is equivalent toidentifier[1].extension[2].urlidentifier[1].extension[2].url
XCN.12Check Digit Schemeis equivalent toidentifier[1].extension[2].valueStringidentifier[1].extension[2].valueString
XCN.13Identifier Type CodeIDTypeis equivalent toidentifier[1].type.coding.codeidentifier[1].type.coding.code
XCN.17Name Validity RangeDR[Period]is equivalent toname.periodname.periodIF XCN.19 DOES NOT EXIST AND IF XCN.20 DOES NOT EXIST
XCN.18Name Assembly Order"http://hl7.org/fhir/R4/extension-humanname-assembly-order.html"is equivalent toname.family.extension.urlname.family.extension.url
XCN.18Name Assembly OrderNameAssemblyOrderis equivalent toname.family.extension.valueCodename.family.extension.valueCode
XCN.19Effective Dateis equivalent toname.period.startname.period.start
XCN.20Expiration Dateis equivalent toname.period.endname.period.end
XCN.21Professional Suffixis equivalent toname.suffixname.suffix

Notes: