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: OpenMRSServiceRequest - Mappings

Active as of 2022-10-08

Mappings for the OpenMRS-service-request resource profile.

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

OpenMRSServiceRequest
ServiceRequestRequest
   identifierRequest.identifier
   basedOnRequest.basedOn
   replacesRequest.replaces
   statusRequest.status
   intentRequest.intent
   codeRequest.code
   subjectRequest.subject
   encounterRequest.encounter
   occurrence[x]Request.occurrence[x]
   requesterRequest.requester
   performerRequest.performer

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

OpenMRSServiceRequest
ServiceRequestORC
   identifierORC.2, ORC.3, RF1-6 / RF1-11,
   basedOnORC.8 (plus others)
   replacesHandled by message location of ORC (ORC.1=RO or RU)
   statusORC.5,RF1-1
   intentN/A
   codePR1-3 / OBR-4 (varies by domain)
      codingC*E.1-8, C*E.10-22
      textC*E.9. But note many systems use C*E.2 for this
   subjectPID
   encounterPV1
   occurrence[x]TQ1/TQ2, OBR-7/OBR-8
   requesterORC.12, PRT
   performerPRT, Practitioner: PRD-2/PRD-7 where PRD-3 = RT; Organization: PRD-10 where PRD-3 = RT

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

OpenMRSServiceRequest
ServiceRequestEntity. Role, or Act, Act[moodCode<=INT]
   textAct.text?
   containedN/A
   extensionN/A
   modifierExtensionN/A
   identifier.identifier
   basedOn.outboundRelationship[typeCode=FLFS].target
   replaces.outboundRelationship[typeCode=RPLC].target
   status.status
   intent.moodCode (nuances beyond PRP/PLAN/RQO would need to be elsewhere)
   code.code
      idn/a
      extensionn/a
      codingunion(., ./translation)
      text./originalText[mediaType/code="text/plain"]/data
   subject.participation[typeCode=SBJ].role
   encounter.inboundRelationship(typeCode=COMP].source[classCode<=PCPR, moodCode=EVN]
   occurrence[x].effectiveTime
   requester.participation[typeCode=AUT].role
   performer.participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]

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

OpenMRSServiceRequest
ServiceRequest
   identifierFiveWs.identifier
   statusFiveWs.status
   intentFiveWs.class
   codeFiveWs.what[x]
   subjectFiveWs.subject[x], FiveWs.subject
   encounterFiveWs.context
   occurrence[x]FiveWs.planned
   requesterFiveWs.author
   performerFiveWs.actor

Mappings for Quality Improvement and Clinical Knowledge (QUICK) (http://siframework.org/cqf)

OpenMRSServiceRequest
ServiceRequest
   identifierClinicalStatement.identifier
   statusAction.currentStatus
   codeProcedure.procedureCode
   subjectClinicalStatement.subject
   encounterClinicalStatement.encounter
   occurrence[x]Procedure.procedureSchedule
   requesterClinicalStatement.statementAuthor

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

ServiceRequest is used to represents a request for some type of procedure or diagnostic test to be performed. When fulfilled, the results of this request are represented as a DiagnosticReport resource with associated Observation resources.

OpenMRSServiceRequest
ServiceRequestOpenMRSServiceRequest
   idTestOrder.uuid
   statusServiceRequest.ServiceRequestStatus
   codeTestOrder.concept
   subjectTestOrder.patient
   occurrence[x]TestOrder.effectiveStartDate, TestOrder.effectiveEndDate
   requesterServiceRequest.requester
   performerTask.owner