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

: Datatype XON to Location Map - JSON Representation

Active as of 2024-10-30

Raw json | Download

{
  "resourceType" : "ConceptMap",
  "id" : "datatype-xon-to-location",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: ConceptMap datatype-xon-to-location</b></p><a name=\"datatype-xon-to-location\"> </a><a name=\"hcdatatype-xon-to-location\"> </a><a name=\"datatype-xon-to-location-en-US\"> </a><p>Mapping from XON to <a href=\"http://hl7.org/fhir/R4/location.html\">Location</a></p><br/><p><b>Group 1 </b>Mapping from <code>unspecified code system</code> to <code>unspecified code system</code></p><table class=\"grid\"><tr><td><b>Source Code</b></td><td><b>Relationship</b></td><td><b>Target Code</b></td><td><b>Comment</b></td></tr><tr><td>XON.1 (Organization Name)</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>name</td><td/></tr><tr><td>XON.3 (ID Number)</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>identifier[1].value</td><td/></tr><tr><td>XON.4 (Identifier Check Digit)</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>identifier[1].extension[1].url</td><td/></tr><tr><td>XON.4 (Identifier Check Digit)</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>identifier[1].extension[1].valueString</td><td/></tr><tr><td>XON.5 (Check Digit Scheme)</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>identifier[1].extension[2].url</td><td/></tr><tr><td>XON.5 (Check Digit Scheme)</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>identifier[1].extension[2].valueString</td><td/></tr><tr><td>XON.6 (Assigning Authority)</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>identifier[1].assigner(Organization)</td><td/></tr><tr><td>XON.6 (Assigning Authority)</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>identifier[1].system</td><td>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</td></tr><tr><td>XON.7 (Identifier Type Code)</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>identifier[1].type.coding.code</td><td/></tr><tr><td>XON.7 (Identifier Type Code)</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>identifier[2].type.coding.system</td><td/></tr><tr><td>XON.10 (Organization Identifier)</td><td><a href=\"http://hl7.org/fhir/extensions/5.1.0/CodeSystem-concept-map-equivalence.html#equivalent\" title=\"equivalent\">is equivalent to</a></td><td>identifier[1].value</td><td/></tr></table></div>"
  },
  "extension" : [
    {
      "extension" : [
        {
          "url" : "type",
          "valueCode" : "derived-from"
        },
        {
          "url" : "label",
          "valueString" : "Datatype XON to Location.fsh"
        },
        {
          "url" : "url",
          "valueUri" : "https://docs.google.com/spreadsheets/d/15vjDyAgfFhWqnY9ssdePYpUOV5TGeuf6mFUof55xulo/edit#gid=0"
        }
      ],
      "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/RelatedArtifact"
    }
  ],
  "url" : "http://hl7.org/fhir/uv/v2mappings/datatype-xon-to-location",
  "version" : "1.0.0-ballot",
  "name" : "DatatypeXONToLocation",
  "title" : "Datatype XON to Location Map",
  "status" : "active",
  "experimental" : true,
  "date" : "2024-10-30",
  "publisher" : "HL7 International / Orders and Observations",
  "contact" : [
    {
      "name" : "HL7 Orders and Observations Workgroup",
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/orders"
        }
      ]
    }
  ],
  "description" : "This ConceptMap represents a mapping from the HL7 V2 Datatype XON to the FHIR Location Resource.",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code" : "001"
        }
      ]
    }
  ],
  "copyright" : "Copyright (c) 2020, HL7 International, Inc., All Rights Reserved.",
  "sourceUri" : "XON",
  "targetUri" : "Location",
  "group" : [
    {
      "element" : [
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "ST"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 0
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "XON.1",
          "display" : "Organization Name",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "string"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 1
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : 1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "name",
              "display" : "name",
              "equivalence" : "equivalent"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "NM"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 0
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "XON.3",
          "display" : "ID Number",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "string"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : -1
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : -1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "identifier[1].value",
              "display" : "identifier[1].value",
              "equivalence" : "equivalent"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "NM"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 0
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "XON.4",
          "display" : "Identifier Check Digit",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "uri"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 1
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : 1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "identifier[1].extension[1].url",
              "display" : "identifier[1].extension[1].url",
              "equivalence" : "equivalent"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "NM"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 0
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "XON.4",
          "display" : "Identifier Check Digit",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "string"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 1
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : 1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "identifier[1].extension[1].valueString",
              "display" : "identifier[1].extension[1].valueString",
              "equivalence" : "equivalent"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "NM"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 0
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "XON.5",
          "display" : "Check Digit Scheme",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "uri"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 1
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : 1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "identifier[1].extension[2].url",
              "display" : "identifier[1].extension[2].url",
              "equivalence" : "equivalent"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "NM"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 0
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "XON.5",
          "display" : "Check Digit Scheme",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "string"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 1
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : 1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "identifier[1].extension[2].valueString",
              "display" : "identifier[1].extension[2].valueString",
              "equivalence" : "equivalent"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "HD"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 0
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "XON.6",
          "display" : "Assigning Authority",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "Reference(Organization)"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 1
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : 1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "identifier[1].assigner(Organization)",
              "display" : "identifier[1].assigner(Organization)",
              "equivalence" : "equivalent"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "HD"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 0
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "XON.6",
          "display" : "Assigning Authority",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "uri"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : 1
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : 1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "identifier[1].system",
              "display" : "identifier[1].system",
              "equivalence" : "equivalent",
              "comment" : "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"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "ID"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 0
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "XON.7",
          "display" : "Identifier Type Code",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "code"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : -1
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : -1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "identifier[1].type.coding.code",
              "display" : "identifier[1].type.coding.code",
              "equivalence" : "equivalent"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "ID"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 0
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "XON.7",
          "display" : "Identifier Type Code",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "uri"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : -1
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : -1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "identifier[2].type.coding.system",
              "display" : "identifier[2].type.coding.system",
              "equivalence" : "equivalent"
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "ST"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : 0
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : 1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "XON.10",
          "display" : "Organization Identifier",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "string"
                    },
                    {
                      "url" : "cardinalityMin",
                      "valueInteger" : -1
                    },
                    {
                      "url" : "cardinalityMax",
                      "valueInteger" : -1
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "identifier[1].value",
              "display" : "identifier[1].value",
              "equivalence" : "equivalent"
            }
          ]
        }
      ]
    }
  ]
}