FHIR Osiris Implementation Guide
2.1.0 - ci-build

FHIR Osiris Implementation Guide - Local Development build (v2.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: Treatment - Mappings

Draft as of 2024-03-21

Mappings for the treatment resource profile.

Mappings for OSIRIS pivot files (Treatment)

Treatment
CarePlanTreatment

Mapping from FHIR-osiris Treatment to osiris Treatment

   extension
   extension (treatment-line)
      value[x] (valueInteger)OSIRIS_pivot_Treatment.Treatment_LineNumber
   categoryOSIRIS_pivot_Treatment.Treatment_Type
   subjectOSIRIS_pivot_Treatment.Patient_Id
   period
      startOSIRIS_pivot_Treatment.Treatment_StartDate
      endOSIRIS_pivot_Treatment.Treatment_EndDate
   supportingInfoOSIRIS_pivot_Treatment.Treatment_ClinicalTrialContext (if Reference exists, Treatment_ClinicalTrialContext is yes
   activity
      detail
         codeOSIRIS_pivot_Treatment.Treatment_ActivityCode
         reasonReferenceOSIRIS_pivot_Treatment.TumorPathologyEvent_Ref

Mappings for Workflow Pattern (http://hl7.org/fhir/workflow)

Treatment
CarePlanRequest
   identifierRequest.identifier
   instantiatesCanonicalRequest.instantiatesCanonical
   instantiatesUriRequest.instantiatesUri
   basedOnRequest.basedOn
   replacesRequest.replaces
   statusRequest.status {uses different ValueSet}
   intentRequest.intent
   subjectRequest.subject
   encounterRequest.context
   periodRequest.occurrence[x]
   createdRequest.authoredOn
   authorRequest.requester
   careTeamRequest.performer {similar but does not entail CareTeam}
   addressesRequest.reasonReference
   supportingInfoRequest.supportingInfo
   activity{no mapping NOTE: This is a list of contained Request-Event tuples!}
      outcomeReference{Event that is outcome of Request in activity.reference}
      reference{Request that resulted in Event in activity.actionResulting}
      detail
         instantiatesCanonicalRequest.instantiatesCanonical
         instantiatesUriRequest.instantiatesUri
         codeRequest.code
         reasonCodeRequest.reasonCode
         reasonReferenceRequest.reasonReference
         statusRequest.status
         statusReasonRequest.statusReason
         doNotPerformRequest.doNotPerform
         scheduled[x]Request.occurrence[x]
         performerRequest.performer
   activity (activity-code){no mapping NOTE: This is a list of contained Request-Event tuples!}
      outcomeReference{Event that is outcome of Request in activity.reference}
      reference{Request that resulted in Event in activity.actionResulting}
      detail
         instantiatesCanonicalRequest.instantiatesCanonical
         instantiatesUriRequest.instantiatesUri
         codeRequest.code
         reasonCodeRequest.reasonCode
         reasonReferenceRequest.reasonReference
         statusRequest.status
         statusReasonRequest.statusReason
         doNotPerformRequest.doNotPerform
         scheduled[x]Request.occurrence[x]
         performerRequest.performer
   noteRequest.note

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

Treatment
CarePlanEntity. Role, or Act, Act[classCode=PCPR, moodCode=INT]
   metan/a, N/A
   implicitRulesn/a
   languagen/a
   textn/a, N/A, Act.text?
   containedEntity. Role, or Act, N/A
   extensionn/a, N/A
   extension (treatment-line)
      idn/a
      urlN/A
      value[x]n/a, N/A
      value[x] (valueInteger)n/a, N/A
   modifierExtensionn/a, N/A
   identifiern/a, II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT], .id
   instantiatesCanonicaln/a, .outboundRelationship[typeCode=DEFN].target
   instantiatesUrin/a, .outboundRelationship[typeCode=DEFN].target
   basedOnn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity)
   replacesn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity)
   partOfn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity)
   statusn/a, .statusCode planned = new active = active completed = completed
   intentn/a
   categoryn/a, CD
   titlen/a
   descriptionn/a
   subjectn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .participation[typeCode=PAT].role[classCode=PAT]
   encountern/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .
   periodn/a, IVL<TS>[lowClosed="true" and highClosed="true"] or URG<TS>[lowClosed="true" and highClosed="true"], .effectiveTime
      idn/a
      extensionn/a, N/A
      startn/a, ./low
      endn/a, ./high
   createdn/a, .participation[typeCode=AUT].time
   authorn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity)
   contributorn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity)
   careTeamn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity)
   addressesn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .actRelationship[typeCode=SUBJ].target[classCode=CONC, moodCode=EVN]
   supportingInfon/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity)
   goaln/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .outboundRelationship[typeCode<=OBJ].
   activityn/a, .outboundRelationship[typeCode=COMP].target
      idn/a
      extensionn/a, N/A
      modifierExtensionn/a, N/A
      outcomeCodeableConceptn/a, CD
      outcomeReferencen/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .inboundRelationship[typeCode=FLFS].source
      progressn/a, Act, .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="annotation"].value
      referencen/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .outboundRelationship[typeCode=COMP].target
      detailn/a, .outboundRelationship[typeCode=COMP, subsetCode=SUMM].target
         idn/a
         extensionn/a, N/A
         modifierExtensionn/a, N/A
         kindn/a, .inboundRelationship[typeCode=COMP].source[classCode=LIST].code
         instantiatesCanonicaln/a, .outboundRelationship[typeCode=DEFN].target
         instantiatesUrin/a, .outboundRelationship[typeCode=DEFN].target
         coden/a, CD, .code
         reasonCoden/a, CD
         reasonReferencen/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity)
         goaln/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .outboundRelationship[typeCode<=OBJ].
         statusn/a, .statusCode not-started = new scheduled = not-started (and fulfillment relationship to appointent) in-progress = active on-hold = suspended completed = completed cancelled = aborted
         statusReasonn/a, CD
         doNotPerformn/a, actionNegationInd
         scheduled[x]n/a, .effectiveTime
         locationn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .participation[typeCode=LOC].role
         performern/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .participation[typeCode=PFM]
         product[x]n/a, .participation[typeCode=PRD].role
         dailyAmountn/a, PQ, IVL<PQ>, MO, CO, depending on the values, .outboundRelationship[typeCode=COMP][classCode=SBADM].doseQuantity
         quantityn/a, PQ, IVL<PQ>, MO, CO, depending on the values, .outboundRelationship[typeCode=COMP][classCode=SPLY].quantity
         descriptionn/a, .text
   activity (activity-code)n/a, .outboundRelationship[typeCode=COMP].target
      idn/a
      extensionn/a, N/A
      modifierExtensionn/a, N/A
      outcomeCodeableConceptn/a, CD
      outcomeReferencen/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .inboundRelationship[typeCode=FLFS].source
      progressn/a, Act, .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="annotation"].value
      referencen/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .outboundRelationship[typeCode=COMP].target
      detailn/a, .outboundRelationship[typeCode=COMP, subsetCode=SUMM].target
         idn/a
         extensionn/a, N/A
         modifierExtensionn/a, N/A
         kindn/a, .inboundRelationship[typeCode=COMP].source[classCode=LIST].code
         instantiatesCanonicaln/a, .outboundRelationship[typeCode=DEFN].target
         instantiatesUrin/a, .outboundRelationship[typeCode=DEFN].target
         coden/a, CD, .code
            idn/a
            extensionn/a, N/A
            codingn/a, CV, union(., ./translation)
               idn/a
               extensionn/a, N/A
               systemn/a, ./codeSystem
               versionn/a, ./codeSystemVersion
               coden/a, ./code
               displayn/a, CV.displayName
               userSelectedn/a, CD.codingRationale
            textn/a, ./originalText[mediaType/code="text/plain"]/data
         reasonCoden/a, CD
         reasonReferencen/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity)
         goaln/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .outboundRelationship[typeCode<=OBJ].
         statusn/a, .statusCode not-started = new scheduled = not-started (and fulfillment relationship to appointent) in-progress = active on-hold = suspended completed = completed cancelled = aborted
         statusReasonn/a, CD
         doNotPerformn/a, actionNegationInd
         scheduled[x]n/a, .effectiveTime
         locationn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .participation[typeCode=LOC].role
         performern/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .participation[typeCode=PFM]
         product[x]n/a, .participation[typeCode=PRD].role
         dailyAmountn/a, PQ, IVL<PQ>, MO, CO, depending on the values, .outboundRelationship[typeCode=COMP][classCode=SBADM].doseQuantity
         quantityn/a, PQ, IVL<PQ>, MO, CO, depending on the values, .outboundRelationship[typeCode=COMP][classCode=SPLY].quantity
         descriptionn/a, .text
   noten/a, Act, .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="annotation"].value

Mappings for FiveWs Pattern Mapping (http://hl7.org/fhir/fivews)

Treatment
CarePlan
   identifierFiveWs.identifier
   statusFiveWs.status
   categoryFiveWs.class
   descriptionFiveWs.what[x]
   subjectFiveWs.subject[x], FiveWs.subject
   encounterFiveWs.context
   periodFiveWs.planned
   createdFiveWs.recorded
   authorFiveWs.author
   careTeamFiveWs.actor
   addressesFiveWs.why[x]

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

Treatment
CarePlan
   identifierCX / EI (occasionally, more often EI maps to a resource id or a URL), PTH-3
   statusPTH-5
   categoryCE/CNE/CWE
   subjectPID-3
   encounterAssociated PV1
   periodDR, GOL-7 / GOL-8
      startDR.1
      endDR.2
   addressesPRB-4
   goalGOL.1
   activity
      outcomeCodeableConceptCE/CNE/CWE
      progressN/A, NTE?
      detail
         codeCE/CNE/CWE, OBR-4 / RXE-2 / RXO-1 / RXD-2
         reasonCodeCE/CNE/CWE
         statusORC-5?
         statusReasonCE/CNE/CWE
         scheduled[x]TQ1
         locationOBR-24(???!!)
         performerPRT-5 : ( PRV-4 = (provider participations)); PRT-5 : ( PRV-4 = (non-provider person participations )) ; PRT-5 : ( PRV-4 = (patient non-subject of care) ) ; PRT-8
         product[x]RXE-2 / RXO-1 / RXD-2
         dailyAmountSN (see also Range) or CQ, RXO-23 / RXE-19 / RXD-12
         quantitySN (see also Range) or CQ, RXO-11 / RXE-10 / RXD-4 / RXG-5 / RXA-6 / TQ1-2.1 *and* RXO-12 / RXE-11 / RXD-5 / RXG-7 / RXA-7 / TQ1-2.2
         descriptionNTE?
   activity (activity-code)
      outcomeCodeableConceptCE/CNE/CWE
      progressN/A, NTE?
      detail
         codeCE/CNE/CWE, OBR-4 / RXE-2 / RXO-1 / RXD-2
            codingCE/CNE/CWE subset one of the sets of component 1-3 or 4-6, 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
         reasonCodeCE/CNE/CWE
         statusORC-5?
         statusReasonCE/CNE/CWE
         scheduled[x]TQ1
         locationOBR-24(???!!)
         performerPRT-5 : ( PRV-4 = (provider participations)); PRT-5 : ( PRV-4 = (non-provider person participations )) ; PRT-5 : ( PRV-4 = (patient non-subject of care) ) ; PRT-8
         product[x]RXE-2 / RXO-1 / RXD-2
         dailyAmountSN (see also Range) or CQ, RXO-23 / RXE-19 / RXD-12
         quantitySN (see also Range) or CQ, RXO-11 / RXE-10 / RXD-4 / RXG-5 / RXA-6 / TQ1-2.1 *and* RXO-12 / RXE-11 / RXD-5 / RXG-7 / RXA-7 / TQ1-2.2
         descriptionNTE?
   noteN/A, NTE?