MedCom HomeCareObservation
1.0.0 - release Denmark flag

MedCom HomeCareObservation, published by MedCom. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/medcomdk/dk_HomeCareObservations/ and changes regularly. See the Directory of published versions

Resource Profile: MedComHomeCareObservationMessageHeader - Mappings

Active as of 2024-12-12

Mappings for the medcom-homecareobservation-MessageHeader resource profile.

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

MedComHomeCareObservationMessageHeader
MessageHeaderMSH / MSA / ERR
   event[x]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
      extension (use)
         value[x]
            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)

MedComHomeCareObservationMessageHeader
MessageHeaderEntity. Role, or Act, Message
   textAct.text?
   containedN/A
   extensionN/A
   modifierExtensionN/A
   event[x]./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
      extensionn/a
      extension (use)
         idn/a
         urlN/A
         value[x]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)

MedComHomeCareObservationMessageHeader
MessageHeader
   event[x]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]