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: OncoMedicationStatement - Mappings

Draft as of 2024-03-21

Mappings for the onco-medication-statement resource profile.

Mappings for Fhir-osiris to osiris (Drug)

OncoMedicationStatement
MedicationStatementTreatment

Mapping from FHIR-osiris Drug to osiris Drug

   basedOnOSIRIS_pivot_Drug.Treatment_Ref
   medication[x]
   medication[x] (medicationCodeableConcept)
      coding
         codeOSIRIS_pivot_Drug.Drug_Code
      textOSIRIS_pivot_Drug.Drug_Name
   subjectOSIRIS_pivot_Drug.Patient_Id

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

OncoMedicationStatement
MedicationStatementEvent
   identifierEvent.identifier
   basedOnEvent.basedOn
   partOfEvent.partOf
   statusEvent.status
   statusReasonEvent.statusReason
   medication[x]Event.code
   medication[x] (medicationCodeableConcept)Event.code
   subjectEvent.subject
   contextEvent.context
   effective[x]Event.occurrence[x]
   reasonCodeEvent.reasonCode
   reasonReferenceEvent.reasonReference
   noteEvent.note

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

OncoMedicationStatement
MedicationStatementEntity. Role, or Act, SubstanceAdministration
   metan/a, N/A
   implicitRulesn/a
   languagen/a
   textn/a, N/A, Act.text?
   containedEntity. Role, or Act, N/A
   extensionn/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
   basedOnn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .outboundRelationship[typeCode=FLFS].target[classCode=SBADM or PROC or PCPR or OBS, moodCode=RQO orPLAN or PRP]
   partOfn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .outboundRelationship[typeCode=COMP]/target[classCode=SPLY or SBADM or PROC or OBS,moodCode=EVN]
   statusn/a, .statusCode
   statusReasonn/a, CD, .inboundRelationship[typeCode=SUBJ].source[classCode=CACT, moodCode=EVN].reasonCOde
   categoryn/a, CD, .inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code="type of medication usage"].value
   medication[x]n/a, .participation[typeCode=CSM].role[classCode=ADMM or MANU]
   medication[x] (medicationCodeableConcept)n/a, .participation[typeCode=CSM].role[classCode=ADMM or MANU]
      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
   subjectn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .participation[typeCode=SBJ].role[classCode=PAT]
   contextn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN, code="type of encounter or episode"]
   effective[x]n/a, .effectiveTime
   dateAssertedn/a, .participation[typeCode=AUT].time
   informationSourcen/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .participation[typeCode=INF].role[classCode=PAT, or codes for Practioner or Related Person (if PAT is the informer, then syntax for self-reported =true)
   derivedFromn/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .outboundRelationship[typeCode=SPRT]/target[classCode=ACT,moodCode=EVN]
   reasonCoden/a, CD, .reasonCode
   reasonReferencen/a, The target of a resource reference is a RIM entry point (Act, Role, or Entity), .outboundRelationship[typeCode=RSON]/target[classCode=OBS,moodCode=EVN, code="reason for use"].value
   noten/a, Act, .inboundRelationship[typeCode=SUBJ]/source[classCode=OBS,moodCode=EVN,code="annotation"].value
   dosagen/a, .outboundRelationship[typeCode=COMP].target[classCode=SBADM, moodCode=INT], refer dosageInstruction mapping

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

OncoMedicationStatement
MedicationStatement
   identifierFiveWs.identifier
   statusFiveWs.status
   categoryFiveWs.class
   medication[x]FiveWs.what[x]
   medication[x] (medicationCodeableConcept)FiveWs.what[x]
   subjectFiveWs.subject[x], FiveWs.subject
   effective[x]FiveWs.done[x]
   dateAssertedFiveWs.recorded
   informationSourceFiveWs.source
   reasonCodeFiveWs.why[x]
   reasonReferenceFiveWs.why[x]

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

OncoMedicationStatement
MedicationStatement
   identifierCX / EI (occasionally, more often EI maps to a resource id or a URL)
   statusReasonCE/CNE/CWE
   categoryCE/CNE/CWE
   medication[x]
   medication[x] (medicationCodeableConcept)
      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
   subjectPID-3-Patient ID List
   reasonCodeCE/CNE/CWE
   noteN/A