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
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 v2 | Condition (IF True, args) | HL7 FHIR | Comments | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Sort Order | Identifier | Name | Data Type | Cardinality - Min | Cardinality - Max | Computable ANTLR | Computable FHIRPath | Narrative | FHIR Attribute | Proposed Extension | Data Type | Cardinality - Min | Cardinality - Max | Data Type Mapping | Vocabulary | Assignment | |
1 | XON.1 | Organization Name | ST | 0 | 1 | Location.name | Location.string | 0 | 1 | ||||||||
2 | XON.2 | Organization Name Type Code | CWE | 0 | 1 | Location.#ext-nameType# | Location.coding | 0 | 1 | CWE[coding] | OrganizationalNameType | ||||||
3 | XON.3 | ID Number | NM | 0 | 1 | IF XON.10 NOT VALUED | Location.identifier.value | Location.string | 0 | -1 | |||||||
4 | XON.4 | Identifier Check Digit | NM | 0 | 1 | Location.identifier.extension.url | Location.uri | 0 | 1 | "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit" | |||||||
4 | XON.4 | Identifier Check Digit | NM | 0 | 1 | Location.identifier.extension.valueString | Location.string | 1 | 1 | ||||||||
5 | XON.5 | Check Digit Scheme | NM | 0 | 1 | Location.identifier.extension.url | Location.uri | 0 | 1 | "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit" | |||||||
5 | XON.5 | Check Digit Scheme | NM | 0 | 1 | Location.identifier.extension.valueString | Location.string | 1 | 1 | ||||||||
6 | XON.6 | Assigning Authority | HD | 0 | 1 | If organization | Location.identifier.assigner(Location.Organization) | Reference(Location.Organization) | 0 | 1 | HD[Organization] | ||||||
6 | XON.6 | Assigning Authority | HD | 0 | 1 | If system | Location.identifier.system | Location.uri | 0 | 1 | HD[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 | |||||
7 | XON.7 | Identifier Type Code | ID | 0 | 1 | Location.identifier.type.coding.code | Location.code | 0 | -1 | ||||||||
7 | XON.7 | Identifier Type Code | ID | 0 | 1 | Location.identifier.type.coding.system | Location.uri | 0 | -1 | "http://terminology.hl7.org/CodeSystem/v2-0203" | |||||||
8 | XON.8 | Assigning Facility | HD | 0 | 1 | identifier.extension??-location | Reference(Location.Location) | 0 | -1 | HD[Location] | |||||||
9 | XON.9 | Name Representation Code | ID | 0 | 1 | ||||||||||||
10 | XON.10 | Organization Identifier | ST | 0 | 1 | Location.identifier.value | Location.string | 0 | -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 Details | Relationship | Target Concept Details | Comment | Properties | |||||||||
Codes from | value | datatypemap | Codes from | antlr | narrative | ||||||||
XON.1 | Organization Name | is equivalent to | name | name | |||||||||
XON.3 | ID Number | is equivalent to | identifier[1].value | identifier[1].value | IF XON.10 NOT VALUED | ||||||||
XON.4 | Identifier Check Digit | "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit" | is equivalent to | identifier[1].extension[1].url | identifier[1].extension[1].url | ||||||||
XON.4 | Identifier Check Digit | is equivalent to | identifier[1].extension[1].valueString | identifier[1].extension[1].valueString | |||||||||
XON.5 | Check Digit Scheme | "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit" | is equivalent to | identifier[1].extension[2].url | identifier[1].extension[2].url | ||||||||
XON.5 | Check Digit Scheme | is equivalent to | identifier[1].extension[2].valueString | identifier[1].extension[2].valueString | |||||||||
XON.6 | Assigning Authority | HD[Organization] | is equivalent to | identifier[1].assigner(Organization) | identifier[1].assigner(Organization) | If organization | |||||||
XON.6 | Assigning Authority | HD[uri] | is equivalent to | identifier[1].system | identifier[1].system | If 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 | ||||||
XON.7 | Identifier Type Code | is equivalent to | identifier[1].type.coding.code | identifier[1].type.coding.code | |||||||||
XON.7 | Identifier Type Code | "http://terminology.hl7.org/CodeSystem/v2-0203" | is equivalent to | identifier[2].type.coding.system | identifier[2].type.coding.system | ||||||||
XON.10 | Organization Identifier | is equivalent to | identifier[1].value | identifier[1].value |