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 Annotation Map (Experimental)

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

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 Annotation Data Type.

This ConceptMap represents the mapping from the HL7 V2 XCN Data Type to the FHIR Annotation Data Type. 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 IdentifierST01Annotation.authorReference(Annotation.Practitioner.identifier.value)Annotation.string01
2XCN.2Family NameFN01Annotation.authorReference(Annotation.Practitioner.name)Annotation.HumanName0-1FN[HumanName]
3XCN.3Given NameST01Annotation.authorReference(Annotation.Practitioner.name.given)Annotation.string0-1
4XCN.4Second and Further Given Names or Initials ThereofST01Annotation.authorReference(Annotation.Practitioner.name.given)Annotation.string0-1
5XCN.5Suffix (e.g., JR or III)ST01Annotation.authorReference(Annotation.Practitioner.name.suffix)Annotation.string0-1
6XCN.6Prefix (e.g., DR)ST01Annotation.authorReference(Annotation.Practitioner.name.prefix)Annotation.string0-1
7XCN.7Degree (e.g., MD)01Annotation.authorReference(Annotation.Practitioner.name.suffix)Annotation.string0-1
8XCN.8Source TableCWE01
9XCN.9Assigning AuthorityHD01If organizationAnnotation.authorReference(Annotation.Practitioner.identifier.assigner(Annotation.Organization)Reference(Annotation.Organization)01HD[Organization]
9XCN.9Assigning AuthorityHD01If systemAnnotation.authorReference(Annotation.Practitioner.identifier.system)Annotation.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 CodeID01Annotation.authorReference(Annotation.Practitioner.name.use)Annotation.code01NameType
11XCN.11Identifier Check DigitST01Annotation.authorReference(Annotation.Practitioner.extension.url)Annotation.uri01"http://hl7.org/fhir/StructureDefinition/identifier-checkDigit"
Annotation.authorReference(Annotation.Practitioner.extension.valueString)Annotation.string11
12XCN.12Check Digit SchemeID01Annotation.authorReference(Annotation.Practitioner.extension.url)Annotation.uri01"http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit"
Annotation.authorReference(Annotation.Practitioner.extension.valueString)Annotation.string11
13XCN.13Identifier Type CodeID01Annotation.authorReference(Annotation.Practitioner.identifier.type.coding.code)Annotation.code01IdentifierType
14XCN.14Assigning FacilityHD01identifier.extension??-assigningFacilityReference(Annotation.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 EXISTAnnotation.authorReference(Annotation.Practitioner.name.period)Annotation.Period01DR[Period]
18XCN.18Name Assembly OrderID01Annotation.authorReference(Annotation.Practitioner.name.family.extension.url)Annotation.uri01"http://hl7.org/fhir/R4/extension-humanname-assembly-order.html"
18XCN.18Name Assembly OrderID01Annotation.authorReference(Annotation.Practitioner.name.family.extension.valueCode)Annotation.code01NameAssemblyOrder
19XCN.19Effective DateDTM01Annotation.authorReference(Annotation.Practitioner.name.period.start)Annotation.dateTime01
20XCN.20Expiration DateDTM01Annotation.authorReference(Annotation.Practitioner.name.period.end)Annotation.dateTime01
21XCN.21Professional SuffixST01Annotation.authorReference(Annotation.Practitioner.name.suffix)Annotation.string0-1
22XCN.22Assigning JurisdictionCWE01
23XCN.23Assigning Agency or DepartmentCWE01
24XCN.24Security CheckST01
25XCN.25Security Check SchemeID01

Generated Narrative: ConceptMap datatype-xcn-author-to-annotation

Mapping from XCN to Annotation


Group 1 Mapping from unspecified code system to unspecified code system

Source CodeRelationshipTarget CodeComment
XCN.1 (Person Identifier)is equivalent toauthorReference(Practitioner.identifier[1].value)
XCN.2 (Family Name)is equivalent toauthorReference(Practitioner.name)
XCN.3 (Given Name)is equivalent toauthorReference(Practitioner.name.given[1])
XCN.4 (Second and Further Given Names or Initials Thereof)is equivalent toauthorReference(Practitioner.name.given[2])
XCN.5 (Suffix (e.g., JR or III))is equivalent toauthorReference(Practitioner.name.suffix[1])
XCN.6 (Prefix (e.g., DR))is equivalent toauthorReference(Practitioner.name.prefix)
XCN.7 (Degree (e.g., MD))is equivalent toauthorReference(Practitioner.name.suffix[2])
XCN.9 (Assigning Authority)is equivalent toauthorReference(Practitioner.identifier[1].assigner(Organization))
XCN.9 (Assigning Authority)is equivalent toauthorReference(Practitioner.identifier[1].system)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
XCN.10 (Name Type Code)is equivalent toauthorReference(Practitioner.name.use)
XCN.11 (Identifier Check Digit)is equivalent toauthorReference(Practitioner.extension[1].url)
XCN.12 (Check Digit Scheme)is equivalent toauthorReference(Practitioner.extension[2].url)
XCN.13 (Identifier Type Code)is equivalent toauthorReference(Practitioner.identifier[1].type.coding.code)
XCN.17 (Name Validity Range)is equivalent toauthorReference(Practitioner.name.period)
XCN.18 (Name Assembly Order)is equivalent toauthorReference(Practitioner.name.family.extension.url)
XCN.18 (Name Assembly Order)is equivalent toauthorReference(Practitioner.name.family.extension.valueCode)
XCN.19 (Effective Date)is equivalent toauthorReference(Practitioner.name.period.start)
XCN.20 (Expiration Date)is equivalent toauthorReference(Practitioner.name.period.end)
XCN.21 (Professional Suffix)is equivalent toauthorReference(Practitioner.name.suffix)

Notes: