OncoFAIR
0.1.0 - ci-build

OncoFAIR - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: OncoFAIRCarePlan - Mappings

Draft as of 2025-05-22

Mappings for the oncofair-careplan resource profile.

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

OncoFAIRCarePlan
CarePlanRequest
   identifierRequest.identifier
   instantiatesCanonicalRequest.instantiatesCanonical
   instantiatesUriRequest.instantiatesUri
   basedOnRequest.basedOn
   replacesRequest.replaces
   statusRequest.status {uses different ValueSet}
   intentRequest.intent
   subjectRequest.subject
   encounterRequest.encounter
   periodRequest.occurrence[x]
   createdRequest.authoredOn
   custodianRequest.requester
   careTeamRequest.performer {similar but does not entail CareTeam}
   addressesRequest.reason
   supportingInfoRequest.supportingInfo
   activity{no mapping NOTE: This is a list of contained Request-Event tuples!}
      performedActivity{Event that is outcome of Request in activity.plannedActivityReference}
      plannedActivityReference{Request that resulted in Event in activity.performedActivity}
   noteRequest.note
   note (indication)Request.note
   note (comments)Request.note
   note (idFatherProtocol)Request.note

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

OncoFAIRCarePlan
CarePlanclinical.careprovision
   identifierFiveWs.identifier
   statusFiveWs.status
   categoryFiveWs.class
   descriptionFiveWs.what[x]
   subjectFiveWs.subject[x]
   encounterFiveWs.context
   periodFiveWs.planned
   createdFiveWs.recorded
   custodianFiveWs.author
   careTeamFiveWs.actor
   addressesFiveWs.why[x]

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

OncoFAIRCarePlan
CarePlanEntity, Role, or Act,Act[classCode=PCPR, moodCode=INT]
   textAct.text?
   containedN/A
   modifierExtensionN/A
   identifier.id
      idn/a
      extensionn/a
      useRole.code or implied by context
      typeRole.code or implied by context
      systemII.root or Role.id.root
      valueII.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
      periodRole.effectiveTime or implied by context
      assignerII.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
   instantiatesCanonical.outboundRelationship[typeCode=DEFN].target
   instantiatesUri.outboundRelationship[typeCode=DEFN].target
   status.statusCode planned = new active = active completed = completed
   subject.participation[typeCode=PAT].role[classCode=PAT]
   encounter.
   period.effectiveTime
   created.participation[typeCode=AUT].time
   addresses.actRelationship[typeCode=SUBJ].target[classCode=CONC, moodCode=EVN]
   goal.outboundRelationship[typeCode<=OBJ].
   activity.outboundRelationship[typeCode=COMP].target
      idn/a
      extensionn/a
      modifierExtensionN/A
      performedActivity.inboundRelationship[typeCode=FLFS].source
      progress.inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="annotation"].value
      plannedActivityReference.outboundRelationship[typeCode=COMP].target
   note.inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="annotation"].value
   note (indication).inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="annotation"].value
      idn/a
      extensionn/a
      author[x]Act.participant[typeCode=AUT].role
      timeAct.effectiveTime
      textAct.text
   note (comments).inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="annotation"].value
      idn/a
      extensionn/a
      author[x]Act.participant[typeCode=AUT].role
      timeAct.effectiveTime
      textAct.text
   note (idFatherProtocol).inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="annotation"].value
      idn/a
      extensionn/a
      author[x]Act.participant[typeCode=AUT].role
      timeAct.effectiveTime
      textAct.text

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

OncoFAIRCarePlan
CarePlan
   identifierPTH-3
      useN/A
      typeCX.5
      systemCX.4 / EI-2-4
      valueCX.1 / EI.1
      periodCX.7 + CX.8
      assignerCX.4 / (CX.4,CX.9,CX.10)
   statusPTH-5
   subjectPID-3
   encounterAssociated PV1
   periodGOL-7 / GOL-8
   addressesPRB-4
   goalGOL-1
   activity
      progressNTE?
   noteNTE?
   note (indication)NTE?
      author[x]N/A
      timeN/A
      textN/A
   note (comments)NTE?
      author[x]N/A
      timeN/A
      textN/A
   note (idFatherProtocol)NTE?
      author[x]N/A
      timeN/A
      textN/A