DK MedCom HospitalNotification
3.0.1 - Release Denmark flag

This page is part of the DK MedCom HospitalNotification (v3.0.1: Release) based on FHIR R4. This is the current published version. For a full list of available versions, see the Directory of published versions

Resource Profile: MedComHospitalNotificationMessageHeader - Mappings

Active as of 2023-03-02

Mappings for the medcom-hospitalNotification-messageHeader resource profile.

Mappings for HL7 v2 Mapping (http://hl7.org/v2)

MedComHospitalNotificationMessageHeader
MessageHeaderMSH / MSA / ERR
   event[x]MSH-9.2
   event[x] (eventCoding)MSH-9.2
      systemC*E.3
      versionC*E.7
      codeC*E.1
      displayC*E.2 - but note this is not well followed
      userSelectedSometimes implied by being first
   destination
      extension
      extension (use)
      nameMSH-5
      endpointMSH-25 (or MSH-6)
      receiverPRT-5:PRT-4='WAYR' / PRT-8:PRT-4='WAYR'
   destination (primary)
      extension (use)
         value[x]
         value[x] (valueCoding)
            systemC*E.3
            versionC*E.7
            codeC*E.1
            displayC*E.2 - but note this is not well followed
            userSelectedSometimes implied by being first
      nameMSH-5
      endpointMSH-25 (or MSH-6)
      receiverPRT-5:PRT-4='WAYR' / PRT-8:PRT-4='WAYR'
   senderPRT-5:PRT-4='WAYR' / PRT-8:PRT-4='WAYR'
   entererEVN-5 / ORC-10 / PRT-5:PRT-4='EP' / ROL where ROL.3 is EP or ORC.10
   authorORC-19 / PRT-5:PRT-4='AUT' / ROL where ROL.3 is IP or ORC.12
   source
      nameMSH-3
      softwareSFT-3 ( +SFT-1)
      versionSFT-2
      contact(MSH-22?)
      endpointMSH-24
   responsibleORC-12 / PRT-5:PRT-4='OP' / PRT-8:PRT-4='OP' / ROL where ROL.3 is RO or ORC.11
   reasonEVN.4 / ORC.16 / OBR-31-reason for study / BPO-13-BP indication for use / RXO-20-indication / RXE-27-give indication / RXD-21-indication / RXG-22-indication / RXA-19-indication
   responseMSA
      identifierMSA-2
      codeMSA-1
      detailsERR

Mappings for RIM Mapping (http://hl7.org/v3)

MedComHospitalNotificationMessageHeader
MessageHeaderEntity. Role, or Act, Message
   textAct.text?
   containedN/A
   modifierExtensionN/A
   event[x]./payload[classCode="CACT" and moodCode="EVN" and isNormalAct()]/code[isNormalDatatype()]/code
   event[x] (eventCoding)./payload[classCode="CACT" and moodCode="EVN" and isNormalAct()]/code[isNormalDatatype()]/code
      idn/a
      extensionn/a
      system./codeSystem
      version./codeSystemVersion
      code./code
      displayCV.displayName
      userSelectedCD.codingRationale
   destination./communicationFunction[typeCode="RCV"]
      idn/a
      extension
      extension (use)
      modifierExtensionN/A
      nameunique(./entity[determinerCode="INST" and (classCode=("DEV", "PSN", "ORG"]/name[type='ST' and isNormalDatatype()])
      targetunique(./entity[determinerCode="INST" and (classCode=("DEV", "PSN", "ORG"]
      endpoint./telecom
      receiverNot directly supported. Could be shared using attentionLine.value with an appropriate keyWordText
   destination (primary)./communicationFunction[typeCode="RCV"]
      idn/a
      extension (use)
         idn/a
         urlN/A
         value[x]N/A
         value[x] (valueCoding)N/A
            idn/a
            extensionn/a
            system./codeSystem
            version./codeSystemVersion
            code./code
            displayCV.displayName
            userSelectedCD.codingRationale
      modifierExtensionN/A
      nameunique(./entity[determinerCode="INST" and (classCode=("DEV", "PSN", "ORG"]/name[type='ST' and isNormalDatatype()])
      targetunique(./entity[determinerCode="INST" and (classCode=("DEV", "PSN", "ORG"]
      endpoint./telecom
      receiverNot directly supported. Could be shared using attentionLine.value with an appropriate keyWordText
   senderNot directly supported. Could be shared using attentionLine.value with an appropriate keyWordText
   entererunique(./controlAct[classCode="CACT" and classCode="EVN" and isNormalAct()]/participation[typeCode="ENT" and isNormalParticipation]/role[classCode="ASSIGNED" and isNormalRole()]/player[isNormalEntity() and classCode=("DEV", "PSN") and determinerCode="INST"])
   authorunique(./controlAct[classCode="CACT" and classCode="EVN" and isNormalAct()]/participation[isHighest(priorityCode) and typeCode="AUT" and isNormalParticipation]/role[classCode="ASSIGNED" and isNormalRole()]/player[isNormalEntity() and classCode=("DEV", "PSN") and determinerCode="INST"])
   sourceunique(./communicationFunction[typeCode="SND"])
      idn/a
      extensionn/a
      modifierExtensionN/A
      nameunique(./entity[determinerCode="INST" and classCode="DEV"]/name[type='ST' and isNormalDatatype()])
      softwareunique(./entity[determinerCode="INST" and classCode="DEV"]/softwareName[isNormalDatatype()])
      version(Not supported)
      contactunique(./entity[determinerCode="INST" and classCode="DEV"]/scopesRole[normalRole() and classCode="CON" and layer[classCode="PSN"]/telecom[isNormalDatatype()])
      endpoint./telecom[isNormalDatatype()]
   responsibleunique(./controlAct[classCode="CACT" and classCode="EVN" and isNormalAct()]/participation[isHighest(priorityCode) and typeCode="RESP" and isNormalParticipation]/role[classCode="ASSIGNED" and isNormalRole()]/player[isNormalEntity() and classCode="PSN" and determinerCode="INST"] or ./controlAct[classCode="CACT" and classCode="EVN" and isNormalAct()]/participation[isHighest(priorityCode) and typeCode="RESP" and isNormalParticipation]/role[classCode="ASSIGNED" and isNormalRole()]/scoper[isNormalEntity() and classCode="ORG" and determinerCode="INST"])
   reasonunique(./controlAct[classCode="CACT" and classCode="EVN" and isNormalAct()]/reasonCode[isNormalDatatype()])
   response./conveyedAcknowledgement
      idn/a
      extensionn/a
      modifierExtensionN/A
      identifier./acknowledges.id[isNormalDatatype()]
      code./typeCode[isNormalDatatype()]
      detailsAcknowledgementDetail or Observation[classCode="ALRT" and moodCode="EVN"]
   focusunique(./controlAct[classCode="CACT" and classCode="EVN" and isNormalAct()]/participation[typeCode="SUBJ" and isNormalParticipation]/role or ./controlAct[classCode="CACT" and classCode="EVN" and isNormalAct()]/outboundRelationship[typeCode="SBJ" and isNormalActRelatoinship]/target)
   definitionNot directly supported.

Mappings for FiveWs Pattern Mapping (http://hl7.org/fhir/fivews)

MedComHospitalNotificationMessageHeader
MessageHeader
   event[x]FiveWs.what[x]
   event[x] (eventCoding)FiveWs.what[x]
   destinationFiveWs.subject[x], FiveWs.subject
      receiverFiveWs.subject[x], FiveWs.subject
   destination (primary)FiveWs.subject[x], FiveWs.subject
      receiverFiveWs.subject[x], FiveWs.subject
   senderFiveWs.subject[x], FiveWs.subject
   entererFiveWs.author
   authorFiveWs.author
   sourceFiveWs.actor
   responsibleFiveWs.witness
   reasonFiveWs.why[x]