Shared Health Specification and Guide Version 5.0

 

Mappings for the Profile.

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

Interaction Message Header 999 - eRx Asynchronous Message Rejection
MessageHeaderMSH / MSA / ERR
   timestampMSH-7
   eventMSH-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
   responseMSA
      identifierMSA-2
      codeMSA-1
   source
      nameMSH-3
      softwareSFT-3 ( +SFT-1)
      versionSFT-2
      contact(MSH-22?)
      endpointMSH-24
   destination
      nameMSH-5
      endpointMSH-25 (or MSH-6)
   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
   receiverPRT-5:PRT-4='WAYR' / PRT-8:PRT-4='WAYR'
   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

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

Interaction Message Header 999 - eRx Asynchronous Message Rejection
MessageHeaderMessage
   meta
      idn/a
      extensionn/a
   textAct.text?
   containedN/A
   extensionN/A
   modifierExtensionN/A
   timestamp./creationTime[isNormalDatatype()]
   event./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
   response./conveyedAcknowledgement
      idn/a
      extensionn/a
      modifierExtensionN/A
      identifier./acknowledges.id[isNormalDatatype()]
      code./typeCode[isNormalDatatype()]
      detailsThe target of a resource reference is a RIM entry point (Act, Role, or Entity)
   sourceunique(./communicationFunction[typeCode="SND"])
      idn/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()]
   destination./communicationFunction[typeCode="RCV"]
      idn/a
      extensionn/a
      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
   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"])
   receiverNot directly supported. Could be shared using attentionLine.value with an appropriate keyWordText
   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()])

Mappings for W5 Mapping (http://hl7.org/fhir/w5)

Interaction Message Header 999 - eRx Asynchronous Message Rejection
MessageHeaderinfrastructure.exchange
   timestampwhen.init
   eventwhat
   sourcewho.actor
   destinationwho.focus
   entererwho.author
   authorwho.author
   receiverwho.focus
   responsiblewho.witness
   reasonwhy