HL7 Version 2 to FHIR
1.0.0 - STU 1

HL7 Version 2 to FHIR - Downloaded Version 1.0.0 See the Directory of published versions

## ConceptMap: Datatype XON to Location Map (Experimental)

Official URL: http://hl7.org/fhir/uv/v2mappings/ConceptMap/datatype-xon-to-location | Version: 1.0.0
Standards status: Informative | Computable Name: DatatypeXONToLocation
Copyright/Legal: Copyright (c) 2025, 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 Mapping (IS, ID, CE, CEN, CWE) | Assignment
1 | XON.1 | Organization Name | ST | 0 | 1 |  |  |  | Location.name |  | string | 0 | 1 |  |  |  |
2 | XON.2 | Organization Name Type Code | CWE | 0 | 1 |  |  |  |  | Location.#ext-nameType# | Coding | 0 | 1 | CWE[coding] | OrganizationalNameType |  |
3 | XON.3 | ID Number | NM | 0 | 1 | IF XON.10 NOT VALUED |  |  | Location.identifier.value |  | string | 0 | -1 |  |  |  |
4 | XON.4 | Identifier Check Digit | NM | 0 | 1 |  |  |  | Location.identifier.extension.url |  | uri | 0 | 1 |  |  | "http://hl7.org/fhir/StructureDefinition/identifier-checkDigit" |
4 | XON.4 | Identifier Check Digit | NM | 0 | 1 |  |  |  | Location.identifier.extension.valueString |  | string | 1 | 1 |  |  |  |
5 | XON.5 | Check Digit Scheme | NM | 0 | 1 |  |  |  | Location.identifier.extension.url |  | uri | 0 | 1 |  |  | "http://hl7.org/fhir/StructureDefinition/namingsystem-checkDigit" |
5 | XON.5 | Check Digit Scheme | NM | 0 | 1 |  |  |  | Location.identifier.extension.valueString |  | 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 |  | 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 |  | code | 0 | -1 |  | IdentifierType |  |
7 | XON.7 | Identifier Type Code | ID | 0 | 1 |  |  |  | Location.identifier.type.coding.system |  | 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 |  | string | 0 | -1 |  |  |  |

Mapping from (not specified) to (not specified)

Group 1 Mapping from `unspecified code system` to `unspecified code system`

Source Concept Details | Relationship | Target Concept Details | Comment
Codes from | NarrativeCondition | ComputableANTLR |  | Codes from |
XON.1 | Organization Name |  |  | is equivalent to | name | name |
XON.3 | ID Number |  | IF XON.10 NOT VALUED | is equivalent to | identifier[1].value | identifier[1].value |
XON.4 | Identifier Check Digit |  |  | 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 |  |  | 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 | If organization |  | is equivalent to | identifier[1].assigner(Organization) | identifier[1].assigner(Organization) |
XON.6 | Assigning Authority | If system |  | is equivalent to | identifier[1].system | 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
XON.7 | Identifier Type Code |  |  | is equivalent to | identifier[1].type.coding.code | identifier[1].type.coding.code |
XON.7 | Identifier Type Code |  |  | 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 |

### Notes: