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 XON to Location Map (Experimental)

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

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

This ConceptMap represents a mapping from the HL7 V2 Datatype XON to the FHIR Location Resource.

This ConceptMap represents the mapping from the HL7 V2 XON Data Type to the FHIR Location 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
1XON.1Organization NameST01Location.nameLocation.string01
2XON.2Organization Name Type CodeCWE01Location.#ext-nameType#Location.coding01CWE[coding]OrganizationalNameType
3XON.3ID NumberNM01IF XON.10 NOT VALUEDLocation.identifier.valueLocation.string0-1
4XON.4Identifier Check DigitNM01Location.identifier.extension.urlLocation.uri01"http://hl7.org/fhir/StructureDefinition/identifier-checkDigit"
4XON.4Identifier Check DigitNM01Location.identifier.extension.valueStringLocation.string11
5XON.5Check Digit SchemeNM01Location.identifier.extension.urlLocation.uri01"http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit"
5XON.5Check Digit SchemeNM01Location.identifier.extension.valueStringLocation.string11
6XON.6Assigning AuthorityHD01If organizationLocation.identifier.assigner(Location.Organization)Reference(Location.Organization)01HD[Organization]
6XON.6Assigning AuthorityHD01If systemLocation.identifier.systemLocation.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
7XON.7Identifier Type CodeID01Location.identifier.type.coding.codeLocation.code0-1IdentifierType
7XON.7Identifier Type CodeID01Location.identifier.type.coding.systemLocation.uri0-1"http://terminology.hl7.org/CodeSystem/v2-0203"
8XON.8Assigning FacilityHD01identifier.extension??-locationReference(Location.Location)0-1HD[Location]
9XON.9Name Representation CodeID01
10XON.10Organization IdentifierST01Location.identifier.valueLocation.string0-1

Generated Narrative: ConceptMap datatype-xon-to-location

Mapping from XON to Location


Group 1 Mapping from unspecified code system to unspecified code system

Source CodeRelationshipTarget CodeComment
XON.1 (Organization Name)is equivalent toname
XON.3 (ID Number)is equivalent toidentifier[1].value
XON.4 (Identifier Check Digit)is equivalent toidentifier[1].extension[1].url
XON.4 (Identifier Check Digit)is equivalent toidentifier[1].extension[1].valueString
XON.5 (Check Digit Scheme)is equivalent toidentifier[1].extension[2].url
XON.5 (Check Digit Scheme)is equivalent toidentifier[1].extension[2].valueString
XON.6 (Assigning Authority)is equivalent toidentifier[1].assigner(Organization)
XON.6 (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
XON.7 (Identifier Type Code)is equivalent toidentifier[1].type.coding.code
XON.7 (Identifier Type Code)is equivalent toidentifier[2].type.coding.system
XON.10 (Organization Identifier)is equivalent toidentifier[1].value

Notes: