MediRecords FHIR Implementation Guide
1.3.0 - release


Resource Profile: MROperationOutcome - Mappings

Mappings for the mr-operation-outcome-core resource profile.

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

MROperationOutcome
OperationOutcomeEntity. Role, or Act, Grouping is handled through multiple repetitions from whatever context references the outcomes (no specific grouper required)
   textAct.text?
   containedN/A
   extensionN/A
   modifierExtensionN/A
   issueAcknowledgementDetail or Observation[classCode="ALRT" and moodCode="EVN"]
      idn/a
      extensionn/a
      modifierExtensionN/A
      severity./typeCode[parent::AcknowledgmentDetail] or unique(./inboundRelationship[parent::Observation and typeCode='SUBJ' and isNormalActRelationship()]/source[classCode="OBS" and moodCode="EVN" and implies(code, ActCode#SEV and isNormalAct())/value[xsi:type="CD"]
      code./code
      details./code
         idn/a
         extensionn/a
         codingunion(., ./translation)
         text./originalText[mediaType/code="text/plain"]/data
      diagnostics./text[parent::AcknowledgmentDetail]
      location./location[parent::AcknowledgmentDetail]
      expression./location[parent::AcknowledgmentDetail]

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

MROperationOutcome
OperationOutcome
   issueERR
      severityERR-4
      codeERR-3
      detailsERR-5
         codingC*E.1-8, C*E.10-22
         textC*E.9. But note many systems use C*E.2 for this
      diagnosticsERR-8
      locationERR-2
      expressionERR-2