FHIRcast logo

FHIRcast
3.0.0-ballot - STU 3 Ballot International flag

This page is part of the FHIRcast (v3.0.0-ballot: STU3 (v3.0.0) Ballot 1) based on FHIR (HL7® FHIR® Standard) R4. The current version which supersedes this version is 2.0.0. For a full list of available versions, see the Directory of published versions

Resource Profile: FhircastSyncErrorOperationOutcome - Mappings

Draft as of 2024-04-10

Mappings for the fhircast-operation-outcome-syncerror resource profile.

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

FhircastSyncErrorOperationOutcome
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
      diagnostics./text[parent::AcknowledgmentDetail]
      location./location[parent::AcknowledgmentDetail]
      expression./location[parent::AcknowledgmentDetail]
   issue (fhircast)AcknowledgementDetail 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)
         coding (eventid)union(., ./translation)
            idn/a
            extensionn/a
            system./codeSystem
            version./codeSystemVersion
            code./code
            displayCV.displayName
            userSelectedCD.codingRationale
         coding (eventname)union(., ./translation)
            idn/a
            extensionn/a
            system./codeSystem
            version./codeSystemVersion
            code./code
            displayCV.displayName
            userSelectedCD.codingRationale
         coding (subscribername)union(., ./translation)
            idn/a
            extensionn/a
            system./codeSystem
            version./codeSystemVersion
            code./code
            displayCV.displayName
            userSelectedCD.codingRationale
         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)

FhircastSyncErrorOperationOutcome
OperationOutcome
   issueERR
      severityERR-4
      codeERR-3
      detailsERR-5
      diagnosticsERR-8
      locationERR-2
      expressionERR-2
   issue (fhircast)ERR
      severityERR-4
      codeERR-3
      detailsERR-5
         codingC*E.1-8, C*E.10-22
         coding (eventid)C*E.1-8, C*E.10-22
            systemC*E.3
            versionC*E.7
            codeC*E.1
            displayC*E.2 - but note this is not well followed
            userSelectedSometimes implied by being first
         coding (eventname)C*E.1-8, C*E.10-22
            systemC*E.3
            versionC*E.7
            codeC*E.1
            displayC*E.2 - but note this is not well followed
            userSelectedSometimes implied by being first
         coding (subscribername)C*E.1-8, C*E.10-22
            systemC*E.3
            versionC*E.7
            codeC*E.1
            displayC*E.2 - but note this is not well followed
            userSelectedSometimes implied by being first
         textC*E.9. But note many systems use C*E.2 for this
      diagnosticsERR-8
      locationERR-2
      expressionERR-2