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

: Segment OBXnull to DocumentReference Map - JSON Representation

Active as of 2024-07-28

Raw json | Download

{
  "resourceType" : "ConceptMap",
  "id" : "segment-obx-to-documentreference",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: ConceptMap segment-obx-to-documentreference</b></p><a name=\"segment-obx-to-documentreference\"> </a><a name=\"hcsegment-obx-to-documentreference\"> </a><a name=\"segment-obx-to-documentreference-en-US\"> </a><p>Mapping from OBX to <a href=\"http://hl7.org/fhir/R4/documentreference.html\">DocumentReference</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 colspan=\"4\"><b>Source Concept Details</b></td><td><b>Relationship</b></td><td colspan=\"3\"><b>Target Concept Details</b></td><td><b>Comment</b></td><td colspan=\"3\"><b>Properties</b></td></tr><tr><td colspan=\"2\"><b>Codes</b> from </td><td><b>datatypemap</b></td><td><b>value</b></td><td/><td colspan=\"2\"><b>Codes</b> from </td><td><b>antlr</b></td><td/></tr><tr><td style=\"border-right-width: 0px\">OBX-5</td><td style=\"border-left-width: 0px\">Observation Value</td><td>ED[Attachment]</td><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 style=\"border-right-width: 0px\">content[1]</td><td style=\"border-left-width: 0px\">content[1]</td><td>IF OBX-2=&quot;ED&quot;</td><td>When OBX-5 repeats, each repeat yields a new .content instance.</td></tr><tr><td style=\"border-right-width: 0px\">OBX-5</td><td style=\"border-left-width: 0px\">Observation Value</td><td/><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 style=\"border-right-width: 0px\">content[2].data</td><td style=\"border-left-width: 0px\">content[2].data</td><td>IF OBX-2=&quot;FT&quot;</td><td>When OBX-5 repeats, each repeat yields a line feed within .content[2].data</td></tr><tr><td style=\"border-right-width: 0px\">OBX-5</td><td style=\"border-left-width: 0px\">Observation Value</td><td/><td>&quot;text/hl7v2&quot;</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 style=\"border-right-width: 0px\">content[2].contentType</td><td style=\"border-left-width: 0px\">content[2].contentType</td><td>IF OBX-2=&quot;FT&quot;</td><td/></tr><tr><td style=\"border-right-width: 0px\">OBX-5</td><td style=\"border-left-width: 0px\">Observation Value</td><td/><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 style=\"border-right-width: 0px\">content[3].url</td><td style=\"border-left-width: 0px\">content[3].url</td><td>IF OBX-2=&quot;RP&quot;</td><td>When OBX-5 repeats, each repeat yields a new .content instance.</td></tr><tr><td style=\"border-right-width: 0px\">OBX-5</td><td style=\"border-left-width: 0px\">Observation Value</td><td/><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 style=\"border-right-width: 0px\">content[4].data</td><td style=\"border-left-width: 0px\">content[4].data</td><td>IF OBX-2=&quot;TX&quot;</td><td>When OBX-5 repeats, each repeat yields a line feed within .content[4].data</td></tr><tr><td style=\"border-right-width: 0px\">OBX-5</td><td style=\"border-left-width: 0px\">Observation Value</td><td/><td>&quot;application/text&quot;</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 style=\"border-right-width: 0px\">content[4].contentType</td><td style=\"border-left-width: 0px\">content[4].contentType</td><td>IF OBX-2=&quot;TX&quot;</td><td/></tr></table></div>"
  },
  "extension" : [
    {
      "extension" : [
        {
          "url" : "type",
          "valueCode" : "derived-from"
        },
        {
          "url" : "label",
          "valueString" : "Segment OBX to DocumentReference.fsh"
        },
        {
          "url" : "url",
          "valueUri" : "https://docs.google.com/spreadsheets/d/1CqIMtAqzUDiqaBOdyoJ76jPrHCRAVQTlKFxaf1JF07Q/edit#gid=0"
        }
      ],
      "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/RelatedArtifact"
    }
  ],
  "url" : "http://hl7.org/fhir/uv/v2mappings/segment-obx-to-documentreference",
  "version" : "1.0.0-ballot",
  "name" : "SegmentOBXToDocumentReference",
  "title" : "Segment OBXnull to DocumentReference Map",
  "status" : "active",
  "experimental" : true,
  "date" : "2024-07-28",
  "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 Segment OBX to the FHIR DocumentReference 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" : "OBX",
  "targetUri" : "DocumentReference",
  "group" : [
    {
      "element" : [
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "varies"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : -1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : -1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "OBX-5",
          "display" : "Observation Value",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "Attachment"
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "content[1]",
              "display" : "content[1]",
              "equivalence" : "equivalent",
              "comment" : "When OBX-5 repeats, each repeat yields a new .content instance.",
              "dependsOn" : [
                {
                  "property" : "data-type-map",
                  "value" : "ED[Attachment]"
                }
              ],
              "product" : [
                {
                  "property" : "antlr",
                  "value" : "IF OBX-2=\"ED\""
                }
              ]
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "varies"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : -1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : -1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "OBX-5",
          "display" : "Observation Value",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "binary64"
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "content[2].data",
              "display" : "content[2].data",
              "equivalence" : "equivalent",
              "comment" : "When OBX-5 repeats, each repeat yields a line feed within .content[2].data",
              "product" : [
                {
                  "property" : "antlr",
                  "value" : "IF OBX-2=\"FT\""
                }
              ]
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "varies"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : -1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : -1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "OBX-5",
          "display" : "Observation Value",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "code"
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "content[2].contentType",
              "display" : "content[2].contentType",
              "equivalence" : "equivalent",
              "dependsOn" : [
                {
                  "property" : "value",
                  "value" : "\"text/hl7v2\""
                }
              ],
              "product" : [
                {
                  "property" : "antlr",
                  "value" : "IF OBX-2=\"FT\""
                }
              ]
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "varies"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : -1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : -1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "OBX-5",
          "display" : "Observation Value",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "uri"
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "content[3].url",
              "display" : "content[3].url",
              "equivalence" : "equivalent",
              "comment" : "When OBX-5 repeats, each repeat yields a new .content instance.",
              "product" : [
                {
                  "property" : "antlr",
                  "value" : "IF OBX-2=\"RP\""
                }
              ]
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "varies"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : -1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : -1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "OBX-5",
          "display" : "Observation Value",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "binary64"
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "content[4].data",
              "display" : "content[4].data",
              "equivalence" : "equivalent",
              "comment" : "When OBX-5 repeats, each repeat yields a line feed within .content[4].data",
              "product" : [
                {
                  "property" : "antlr",
                  "value" : "IF OBX-2=\"TX\""
                }
              ]
            }
          ]
        },
        {
          "extension" : [
            {
              "extension" : [
                {
                  "url" : "type",
                  "valueCode" : "varies"
                },
                {
                  "url" : "cardinalityMin",
                  "valueInteger" : -1
                },
                {
                  "url" : "cardinalityMax",
                  "valueInteger" : -1
                }
              ],
              "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code" : "OBX-5",
          "display" : "Observation Value",
          "target" : [
            {
              "extension" : [
                {
                  "extension" : [
                    {
                      "url" : "type",
                      "valueCode" : "code"
                    }
                  ],
                  "url" : "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
                }
              ],
              "code" : "content[4].contentType",
              "display" : "content[4].contentType",
              "equivalence" : "equivalent",
              "dependsOn" : [
                {
                  "property" : "value",
                  "value" : "\"application/text\""
                }
              ],
              "product" : [
                {
                  "property" : "antlr",
                  "value" : "IF OBX-2=\"TX\""
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}