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 XONnull 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-07-28 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 MappingVocabularyAssignment
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-1
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 Concept DetailsRelationshipTarget Concept DetailsCommentProperties
Codes from valuedatatypemapCodes from antlrnarrative
XON.1Organization Nameis equivalent tonamename
XON.3ID Numberis equivalent toidentifier[1].valueidentifier[1].valueIF XON.10 NOT VALUED
XON.4Identifier Check Digit"http://hl7.org/fhir/StructureDefinition/identifier-checkDigit"is equivalent toidentifier[1].extension[1].urlidentifier[1].extension[1].url
XON.4Identifier Check Digitis equivalent toidentifier[1].extension[1].valueStringidentifier[1].extension[1].valueString
XON.5Check Digit Scheme"http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit"is equivalent toidentifier[1].extension[2].urlidentifier[1].extension[2].url
XON.5Check Digit Schemeis equivalent toidentifier[1].extension[2].valueStringidentifier[1].extension[2].valueString
XON.6Assigning AuthorityHD[Organization]is equivalent toidentifier[1].assigner(Organization)identifier[1].assigner(Organization)If organization
XON.6Assigning 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
XON.7Identifier Type Codeis equivalent toidentifier[1].type.coding.codeidentifier[1].type.coding.code
XON.7Identifier Type Code"http://terminology.hl7.org/CodeSystem/v2-0203"is equivalent toidentifier[2].type.coding.systemidentifier[2].type.coding.system
XON.10Organization Identifieris equivalent toidentifier[1].valueidentifier[1].value

Notes: