Implementation Guide for FFB messaging (FFB udvekslingsdatasæt)
1.0.0 - release Denmark flag

This page is part of the KLFFBMessaging (v1.0.0: Release) based on FHIR R4. This is the current published version. For a full list of available versions, see the Directory of published versions

Resource Profile: KLMessagingFFBOrderCarePlan - Mappings

Active as of 2023-08-27

Mappings for the kl-messaging-ffb-orderCarePlan resource profile.

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

KLMessagingFFBOrderCarePlan
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 (carePlanEvaluation){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)

KLMessagingFFBOrderCarePlan
CarePlanEntity. Role, or Act, Act[classCode=PCPR, moodCode=INT]
   textAct.text?
   containedN/A
   extension (relevantHistory).inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN]
   modifierExtensionN/A
   identifier.id
   instantiatesCanonical.outboundRelationship[typeCode=DEFN].target
   instantiatesUri.outboundRelationship[typeCode=DEFN].target
   status.statusCode planned = new active = active completed = completed
   category
      idn/a
      extensionn/a
      codingunion(., ./translation)
      text./originalText[mediaType/code="text/plain"]/data
   subject.participation[typeCode=PAT].role[classCode=PAT]
   encounter.
   period.effectiveTime
      idn/a
      extensionn/a
      start./low
      end./high
   created.participation[typeCode=AUT].time
   addresses.actRelationship[typeCode=SUBJ].target[classCode=CONC, moodCode=EVN]
      idn/a
      extensionn/a
      referenceN/A
      typeN/A
      identifier.identifier
      displayN/A
   goal.outboundRelationship[typeCode<=OBJ].
   goal (fpurpose).outboundRelationship[typeCode<=OBJ].
   goal (ffbgoal).outboundRelationship[typeCode<=OBJ].
   goal (citizenObjective).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
            idn/a
            extensionn/a
            codingunion(., ./translation)
            text./originalText[mediaType/code="text/plain"]/data
         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
   activity (carePlanEvaluation).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)

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

KLMessagingFFBOrderCarePlan
CarePlan
   extension (relevantHistory)N/A
   identifierPTH-3
   statusPTH-5
   category
      codingC*E.1-8, C*E.10-22
      textC*E.9. But note many systems use C*E.2 for this
   subjectPID-3
   encounterAssociated PV1
   periodGOL-7 / GOL-8
      startDR.1
      endDR.2
   addressesPRB-4
   goalGOL.1
   goal (fpurpose)GOL.1
   goal (ffbgoal)GOL.1
   goal (citizenObjective)GOL.1
   activity
      progressNTE?
      detail
         codeOBR-4 / RXE-2 / RXO-1 / RXD-2
            codingC*E.1-8, C*E.10-22
            textC*E.9. But note many systems use C*E.2 for this
         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?
   activity (carePlanEvaluation)
      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?