LinuxForHealth FHIR Implementation Guide
8.0.0 - draft United States of America flag

LinuxForHealth FHIR Implementation Guide - Local Development build (v8.0.0). See the Directory of published versions

Resource Profile: CDMCarePlan - Mappings

Active as of 2022-11-10

Mappings for the cdm-careplan resource profile.

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

CDMCarePlan
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
   noteRequest.note

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

CDMCarePlan
CarePlanEntity. Role, or Act, Act[classCode=PCPR, moodCode=INT]
   metan/a, N/A
   textAct.text?
   extensionN/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
      outcomeReference.inboundRelationship[typeCode=FLFS].source
      progress.inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="annotation"].value
      reference.outboundRelationship[typeCode=COMP].target
      detail.outboundRelationship[typeCode=COMP, subsetCode=SUMM].target
         idn/a
         extensionn/a
         modifierExtensionN/A
         kind.inboundRelationship[typeCode=COMP].source[classCode=LIST].code
         instantiatesCanonical.outboundRelationship[typeCode=DEFN].target
         instantiatesUri.outboundRelationship[typeCode=DEFN].target
         code.code
         goal.outboundRelationship[typeCode<=OBJ].
         status.statusCode not-started = new scheduled = not-started (and fulfillment relationship to appointent) in-progress = active on-hold = suspended completed = completed cancelled = aborted
         doNotPerformactionNegationInd
         scheduled[x].effectiveTime
         location.participation[typeCode=LOC].role
         performer.participation[typeCode=PFM]
         product[x].participation[typeCode=PRD].role
         dailyAmount.outboundRelationship[typeCode=COMP][classCode=SBADM].doseQuantity
         quantity.outboundRelationship[typeCode=COMP][classCode=SPLY].quantity
         description.text
   note.inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="annotation"].value

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

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

CDMCarePlan
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?
      detail
         codeOBR-4 / RXE-2 / RXO-1 / RXD-2
         statusORC-5?
         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
         dailyAmountRXO-23 / RXE-19 / RXD-12
         quantityRXO-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?
   noteNTE?