Virtually Healthcare Implementation Guide
0.1.0-current - ci-build United Kingdom flag

Virtually Healthcare Implementation Guide, published by Virtually Healthcare. This guide is not an authorized publication; it is the continuous build for version 0.1.0-current built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/KevinMayfield/VirtuallyHealthcare/ and changes regularly. See the Directory of published versions

Resource Profile: Task - Mappings

Draft as of 2024-11-06

Mappings for the Task resource profile.

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

Task
TaskRequest, Event
   identifierRequest.identifier, Event.identifier
   instantiatesCanonicalRequest.instantiatesCanonical, Event.instantiatesCanonical
   instantiatesUriEvent.instantiatesUrl
   basedOnRequest.basedOn, Event.basedOn
   groupIdentifierRequest.groupIdentifier
   partOfEvent.partOf
   statusRequest.status, Event.status
   intentRequest.intent
   priorityRequest.priority
   codeRequest.code, Event.code
   forRequest.subject, Event.subject
   encounterRequest.context, Event.context
   executionPeriodEvent.occurrence[x]
   authoredOnRequest.authoredOn
   requesterRequest.requester
   performerTypeEvent.performer.role, Request.performerType
   ownerEvent.performer.actor, Request.performer
   locationRequest.reasonCode, Event.reasonCode
   reasonCodeEvent.location
   reasonReferenceRequest.reasonReference, Event.reasonReference
   insuranceRequest.insurance
   noteRequest.note, Event.note
   relevantHistoryRequest.relevantHistory

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

Task
TaskEntity. Role, or Act, ControlAct[moodCode=INT]
   textAct.text?
   containedN/A
   extensionN/A
   modifierExtensionN/A
   identifier.id
   instantiatesCanonical.outboundRelationship[typeCode=DEFN].target
   instantiatesUri.outboundRelationship[typeCode=DEFN].target
   basedOn.outboundRelationship[typeCode=FLFS].target[moodCode=INT]
   groupIdentifier.inboundRelationship[typeCode=COMP].source[moodCode=INT].id
   partOf.inboundRelationship[typeCode=COMP].source[moodCode=INT]
   status.statusCode
   statusReason.inboundRelationship[typeCode=SUBJ].source[classCode=CACT, moodCode=EVN, code="status change"].reasonCode
   businessStatus.inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="business status"]
   intent.moodCode
   priority.priorityCode
   code.code
   description.text
   focus.outboundRelationship[typeCode=SUBJ].target
   for.participation[typeCode=RCT].role
      idn/a
      extensionn/a
      referenceN/A
      typeN/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]
      displayN/A
   encounter.inboundRelationship[typeCode=COMP].source[classCode=PCPR, moodCode=EVN]
   executionPeriod.effectiveTime
   authoredOn.participation[typeCode=AUT].time
   lastModified.inboundRelationship[typeCode=SUBJ, ].source[classCode=CACT, moodCode=EVN].effectiveTime
   requester.participation[typeCode=AUT].role
   performerType.participation[typeCode=PRF].role.code
   owner.participation[typeCode=PRF].role
   location.participation[typeCode=LOC].role
   reasonCode.reasonCode
   reasonReference.outboundRelationship[typeCode=RSON].target
   insurance.outboundRelationship[typeCode=COVBY].target
   note.inboundRelationship[typeCode=SUBJ, ].source[classCode=OBS, moodCode=EVN, code="annotation"].value(string)
   relevantHistory.inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN]
   restrictionInstead of pointing to request, would point to component of request, having these characteristics
      idn/a
      extensionn/a
      modifierExtensionN/A
      repetitions.repeatNumber
      period.effectiveTime(IVL<TS>)
      recipient.participation[typeCode=SBJ].role
   input???
      idn/a
      extensionn/a
      modifierExtensionN/A
      type???
      value[x]???
   output???
      idn/a
      extensionn/a
      modifierExtensionN/A
      type???
      value[x]???

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

Task
Task
   identifierFiveWs.identifier
   statusFiveWs.status
   intentFiveWs.class
   priorityFiveWs.grade
   codeFiveWs.what[x]
   focusFiveWs.what[x]
   forFiveWs.subject[x], FiveWs.subject
   encounterFiveWs.context
   executionPeriodFiveWs.done[x]
   authoredOnFiveWs.recorded
   requesterFiveWs.author
   performerTypeFiveWs.actor
   ownerFiveWs.actor
   locationFiveWs.where[x]
   reasonCodeFiveWs.why[x]
   reasonReferenceFiveWs.why[x]

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

Task
Task
   for
      identifierCX / EI (occasionally, more often EI maps to a resource id or a URL)
   reasonCodeEVN.7
   insuranceIN1/IN2