FHIR © HL7.org  |  Server Home  |  XIG Home  |  Server Source  |  FHIR  

FHIR IG Statistics: ConceptMap/message-mdm-t02-to-bundle

Packagehl7.fhir.uv.v2mappings
TypeConceptMap
Idmessage-mdm-t02-to-bundle
FHIR VersionR4
Sourcehttp://hl7.org/fhir/uv/v2mappings/https://build.fhir.org/ig/HL7/v2-to-fhir/ConceptMap-message-mdm-t02-to-bundle.html
URLhttp://hl7.org/fhir/uv/v2mappings/ConceptMap/message-mdm-t02-to-bundle
Version1.0.0
Statusactive
Date2025-07-22
NameMessageMDM_T02ToBundle
TitleMessage MDM_T02 to Bundle Map
Realmuv
Authorityhl7
DescriptionThis ConceptMap represents a mapping from the HL7 V2 Message MDM_T02 to the FHIR Message Bundle.
CopyrightCopyright (c) 2025, HL7 International, Inc., All Rights Reserved.

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: ConceptMap message-mdm-t02-to-bundle

Mapping from (not specified) to (not specified)


Group 1 Mapping from unspecified code system to unspecified code system

Source Concept DetailsRelationshipTarget Concept DetailsComment
Codes from NarrativeConditionComputableANTLRCodes from
MDM_T02.MSHMessage Headeris equivalent toBundleBundle
MDM_T02.MSHMessage Headeris equivalent toMessageHeader[1]MessageHeader[1]Processing of the MSH segment results in the creation of a new MessageHeader resource
MDM_T02.MSHMessage Headeris equivalent toProvenance[1]Provenance[1]If the FHIR transformation does not yield a FHIR message, but only a set of resource (APIs, repository, etc.) than one should consider attaching this Provenance resource instance to the relevant FHIR resources generated.
MDM_T02.MSHMessage Headeris equivalent toProvenance[2]Provenance[2]If the FHIR transformation does not yield a FHIR Bunlde, but only a set of resource (APIs, repository, etc.) than one should consider attaching this Provenance resource instance to the relevant FHIR resources generated.
MDM_T02.SFTSoftware SegmentIf the software does represent not the original source systemis equivalent toProvenance[1].entity.what(Device)Provenance[1].entity.what(Device)
MDM_T02.SFTSoftware SegmentIf the software represents the original source systemis equivalent toProvenance[1].entity.what(Device)Provenance[1].entity.what(Device)
MDM_T02.EVNEvent Typeis equivalent toProvenance[3]Provenance[3]
MDM_T02.PIDPatient Identificationis equivalent toPatient[1]Patient[1]Processing of the PID segment results in the creation of a new Patient resource
MDM_T02.PIDPatient Identificationis equivalent toProvenance[4]Provenance[4]
MDM_T02.PV1Patient Visitis equivalent toEncounter[1]Encounter[1]Processing of the PV1 segment results in the creation of a new Encounter resource
MDM_T02.PV1Patient VisitIF PV1-43 VALUEDis equivalent toBasicBasic
MDM_T02.PV1Patient Visitis equivalent toPatient[1]Patient[1]
MDM_T02.PV1Patient VisitIF PV1-20 VALUEis equivalent toCoverage[1]Coverage[1]
MDM_T02.COMMON_ORDER.ORCCommon order segmentis equivalent toServiceRequest[1]ServiceRequest[1]Processing of each ORC segment results in the creation of a new ServiceRequest resource
MDM_T02.COMMON_ORDER.ORCCommon order segmentis equivalent toProvenance[3]Provenance[3]Using Provenance is the preferred way, but a local implementation may decide to add extensions to the main resource. As the use and guidance of Provenance matures we wil revisit this later.
MDM_T02.COMMON_ORDER.TIMING.TQ1Timing/Quantityis equivalent toServiceRequest[1]ServiceRequest[1]
MDM_T02.COMMON_ORDER.OBRObservation request segmentis equivalent toServiceRequest[1]ServiceRequest[1]
MDM_T02.COMMON_ORDER.NTENotes and comments about the observation (OBR)is equivalent toServiceRequest[1]ServiceRequest[1]
MDM_T02.TXADocument Notificationis equivalent toDocumentReference[1]DocumentReference[1]Note for detailed mapping to use
MDM_T02.TXADocument Notificationmust be valued to the seconds and with the appropriate/correct timezoneIF TXA-8 IS VALUEDis equivalent toProvenanceProvenanceIt is up to the implementer to be sensitive whether this message is new to the receiver or an update to a prior one and only update Provenance for new updates. Also, as TXA-8 Edit Date Time can repeat, a separate Provenance instance must be created for each edit date time of interest.\
MDM_T02.OBSERVATION.OBXObservation/Result (one or more required)is equivalent toDocumentReference[1]DocumentReference[1]
MDM_T02.OBSERVATION.NTENotes and comments about the observation (OBX)is equivalent toDocumentReference[1]DocumentReference[1]

Source

{
  "resourceType": "ConceptMap",
  "id": "message-mdm-t02-to-bundle",
  "text": {
    "status": "generated",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "extension": [
        {
          "url": "type",
          "valueCode": "derived-from"
        },
        {
          "url": "label",
          "valueString": "Message MDM:T02 to Bundle.fsh"
        },
        {
          "url": "url",
          "valueUri": "https://docs.google.com/spreadsheets/d/1KXumJbfcuuPNcbMjp2esj2kJSj-RkU8CqQYhUfXrp9c/edit#gid=0"
        }
      ],
      "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/RelatedArtifact"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode": "oo"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode": "informative",
      "_valueCode": {
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical": "http://hl7.org/fhir/uv/v2mappings/ImplementationGuide/hl7.fhir.uv.v2mappings"
          }
        ]
      }
    }
  ],
  "url": "http://hl7.org/fhir/uv/v2mappings/ConceptMap/message-mdm-t02-to-bundle",
  "version": "1.0.0",
  "name": "MessageMDM_T02ToBundle",
  "title": "Message MDM_T02 to Bundle Map",
  "status": "active",
  "experimental": true,
  "date": "2025-07-22",
  "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 Message MDM_T02 to the FHIR Message Bundle.",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001"
        }
      ]
    }
  ],
  "copyright": "Copyright (c) 2025, HL7 International, Inc., All Rights Reserved.",
  "group": [
    {
      "element": [
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 1
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "MDM_T02.MSH",
          "display": "Message Header",
          "target": [
            {
              "code": "Bundle",
              "display": "Bundle",
              "equivalence": "equivalent"
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 1
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "MDM_T02.MSH",
          "display": "Message Header",
          "target": [
            {
              "code": "MessageHeader[1]",
              "display": "MessageHeader[1]",
              "equivalence": "equivalent",
              "comment": "Processing of the MSH segment results in the creation of a new MessageHeader resource"
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 1
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "MDM_T02.MSH",
          "display": "Message Header",
          "target": [
            {
              "code": "Provenance[1]",
              "display": "Provenance[1]",
              "equivalence": "equivalent",
              "comment": "If the FHIR transformation does not yield a FHIR message, but only a set of resource (APIs, repository, etc.) than one should consider attaching this Provenance resource instance to the relevant FHIR resources generated."
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 1
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "MDM_T02.MSH",
          "display": "Message Header",
          "target": [
            {
              "code": "Provenance[2]",
              "display": "Provenance[2]",
              "equivalence": "equivalent",
              "comment": "If the FHIR transformation does not yield a FHIR Bunlde, but only a set of resource (APIs, repository, etc.) than one should consider attaching this Provenance resource instance to the relevant FHIR resources generated."
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 0
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": -1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "MDM_T02.SFT",
          "display": "Software Segment",
          "target": [
            {
              "code": "Provenance[1].entity.what(Device)",
              "display": "Provenance[1].entity.what(Device)",
              "equivalence": "equivalent",
              "dependsOn": [
                {
                  "property": "Narrative-Condition",
                  "value": "If the software does represent not the original source system"
                }
              ]
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 0
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": -1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "MDM_T02.SFT",
          "display": "Software Segment",
          "target": [
            {
              "code": "Provenance[1].entity.what(Device)",
              "display": "Provenance[1].entity.what(Device)",
              "equivalence": "equivalent",
              "dependsOn": [
                {
                  "property": "Narrative-Condition",
                  "value": "If the software represents the original source system"
                }
              ]
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 1
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "MDM_T02.EVN",
          "display": "Event Type",
          "target": [
            {
              "code": "Provenance[3]",
              "display": "Provenance[3]",
              "equivalence": "equivalent"
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 1
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "MDM_T02.PID",
          "display": "Patient Identification",
          "target": [
            {
              "code": "Patient[1]",
              "display": "Patient[1]",
              "equivalence": "equivalent",
              "comment": "Processing of the PID segment results in the creation of a new Patient resource"
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 1
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "MDM_T02.PID",
          "display": "Patient Identification",
          "target": [
            {
              "code": "Provenance[4]",
              "display": "Provenance[4]",
              "equivalence": "equivalent"
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 1
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "MDM_T02.PV1",
          "display": "Patient Visit",
          "target": [
            {
              "code": "Encounter[1]",
              "display": "Encounter[1]",
              "equivalence": "equivalent",
              "comment": "Processing of the PV1 segment results in the creation of a new Encounter resource"
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 1
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "MDM_T02.PV1",
          "display": "Patient Visit",
          "target": [
            {
              "code": "Basic",
              "display": "Basic",
              "equivalence": "equivalent",
              "dependsOn": [
                {
                  "property": "Computable-ANTLR",
                  "value": "IF PV1-43 VALUED"
                }
              ]
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 1
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "MDM_T02.PV1",
          "display": "Patient Visit",
          "target": [
            {
              "code": "Patient[1]",
              "display": "Patient[1]",
              "equivalence": "equivalent"
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 1
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "MDM_T02.PV1",
          "display": "Patient Visit",
          "target": [
            {
              "code": "Coverage[1]",
              "display": "Coverage[1]",
              "equivalence": "equivalent",
              "dependsOn": [
                {
                  "property": "Computable-ANTLR",
                  "value": "IF PV1-20 VALUE"
                }
              ]
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 1
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "MDM_T02.COMMON_ORDER.ORC",
          "display": "Common order segment",
          "target": [
            {
              "code": "ServiceRequest[1]",
              "display": "ServiceRequest[1]",
              "equivalence": "equivalent",
              "comment": "Processing of each ORC segment results in the creation of a new ServiceRequest resource"
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 1
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "MDM_T02.COMMON_ORDER.ORC",
          "display": "Common order segment",
          "target": [
            {
              "code": "Provenance[3]",
              "display": "Provenance[3]",
              "equivalence": "equivalent",
              "comment": "Using Provenance is the preferred way, but a local implementation may decide to add extensions to the main resource.  As the use and guidance of Provenance matures we wil revisit this later."
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 1
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "MDM_T02.COMMON_ORDER.TIMING.TQ1",
          "display": "Timing/Quantity",
          "target": [
            {
              "code": "ServiceRequest[1]",
              "display": "ServiceRequest[1]",
              "equivalence": "equivalent"
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 1
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "MDM_T02.COMMON_ORDER.OBR",
          "display": "Observation request segment",
          "target": [
            {
              "code": "ServiceRequest[1]",
              "display": "ServiceRequest[1]",
              "equivalence": "equivalent"
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 0
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": -1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "MDM_T02.COMMON_ORDER.NTE",
          "display": "Notes and comments about the observation (OBR)",
          "target": [
            {
              "code": "ServiceRequest[1]",
              "display": "ServiceRequest[1]",
              "equivalence": "equivalent"
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 1
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "MDM_T02.TXA",
          "display": "Document Notification",
          "target": [
            {
              "code": "DocumentReference[1]",
              "display": "DocumentReference[1]",
              "equivalence": "equivalent",
              "comment": "Note for detailed mapping to use"
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 1
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "MDM_T02.TXA",
          "display": "Document Notification",
          "target": [
            {
              "code": "Provenance",
              "display": "Provenance",
              "equivalence": "equivalent",
              "comment": "It is up to the implementer to be sensitive whether this message is new to the receiver or an update to a prior one and only update Provenance for new updates.\nAlso, as TXA-8 Edit Date Time can repeat, a separate Provenance instance must be created for each edit date time of interest.\\",
              "dependsOn": [
                {
                  "property": "Computable-ANTLR",
                  "value": "IF TXA-8 IS VALUED"
                },
                {
                  "property": "Narrative-Condition",
                  "value": "must be valued to the seconds and with the appropriate/correct timezone"
                }
              ]
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 1
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": 1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "MDM_T02.OBSERVATION.OBX",
          "display": "Observation/Result (one or more required)",
          "target": [
            {
              "code": "DocumentReference[1]",
              "display": "DocumentReference[1]",
              "equivalence": "equivalent"
            }
          ]
        },
        {
          "extension": [
            {
              "extension": [
                {
                  "url": "cardinalityMin",
                  "valueInteger": 0
                },
                {
                  "url": "cardinalityMax",
                  "valueInteger": -1
                }
              ],
              "url": "http://hl7.org/fhir/uv/v2mappings/StructureDefinition/TypeInfo"
            }
          ],
          "code": "MDM_T02.OBSERVATION.NTE",
          "display": "Notes and comments about the observation (OBX)",
          "target": [
            {
              "code": "DocumentReference[1]",
              "display": "DocumentReference[1]",
              "equivalence": "equivalent"
            }
          ]
        }
      ]
    }
  ]
}