OpenMRS FHIR2 Implementation Guide
0.1.0 - ci-build

OpenMRS FHIR2 Implementation Guide - Local Development build (v0.1.0). See the Directory of published versions

Resource Profile: OpenMRSTask - Mappings

Active as of 2022-10-08

Mappings for the OpenMRS-task resource profile.

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

OpenMRSTask
TaskRequest, Event
   identifierRequest.identifier, Event.identifier
   basedOnRequest.basedOn, Event.basedOn
   statusRequest.status, Event.status
   intentRequest.intent
   forRequest.subject, Event.subject
   encounterRequest.context, Event.context
   authoredOnRequest.authoredOn
   ownerEvent.performer.actor, Request.performer

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

OpenMRSTask
TaskEntity. Role, or Act, ControlAct[moodCode=INT]
   textAct.text?
   containedN/A
   extensionN/A
   modifierExtensionN/A
   identifier.id
   basedOn.outboundRelationship[typeCode=FLFS].target[moodCode=INT]
   status.statusCode
   intent.moodCode
   for.participation[typeCode=RCT].role
   encounter.inboundRelationship[typeCode=COMP].source[classCode=PCPR, moodCode=EVN]
   authoredOn.participation[typeCode=AUT].time
   lastModified.inboundRelationship[typeCode=SUBJ, ].source[classCode=CACT, moodCode=EVN].effectiveTime
   owner.participation[typeCode=PRF].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)

OpenMRSTask
Task
   identifierFiveWs.identifier
   statusFiveWs.status
   intentFiveWs.class
   forFiveWs.subject[x], FiveWs.subject
   encounterFiveWs.context
   authoredOnFiveWs.recorded
   ownerFiveWs.actor

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

OpenMRSTask
Task

Mappings for FHIR HL7 vs OMRS FHIR2 (http://hl7.org/fhir/3.0/StructureDefinition/Task)

Task is used to represent an activity that is to be performed,and track the completion of said activity.

OpenMRSTask
TaskOpenMRSTask
   iduuid
   basedOnFhirTask.basedOn
   statusFhirTask.status
   intentFhirTask.intent
   forFhirTask.for
   encounterFhirTask.encounter
   authoredOnFhirTask.dateCreated
   lastModifiedFhirTask.dateChanged
   ownerFhirTask.owner
   inputFhirTask.input
   outputFhirTask.output