FHIRcast logo

FHIRcast
3.0.0-ballot - STU 3 Ballot International flag

FHIRcast, published by HL7 International / Infrastructure And Messaging. This guide is not an authorized publication; it is the continuous build for version 3.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhircast-docs/ and changes regularly. See the Directory of published versions

Resource Profile: FhircastHubSyncErrorOperationOutcome - Mappings

Draft as of 2024-05-15

Mappings for the fhircast-hub-operation-outcome-syncerrror resource profile.

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

FhircastHubSyncErrorOperationOutcome
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)

FhircastHubSyncErrorOperationOutcome
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