Magentus Practice Management FHIR Implementation Guide
1.2.39 - ci-build Australia flag

Magentus Practice Management FHIR Implementation Guide - Local Development build (v1.2.39) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: EOrdersDiagnosticRequest - Mappings

Draft as of 2025-06-12

Mappings for the eorders-diagnosticrequest resource profile.

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

EOrdersDiagnosticRequest
ServiceRequestRequest
   contained (coverage)Event
   contained (encounter)Event
   contained (pregstatus)Event
   contained (gestationalage)Event
   contained (edd)Event
   contained (lmp)Event
   instantiatesCanonicalRequest.instantiatesCanonical
   instantiatesUriRequest.instantiatesUri
   basedOnRequest.basedOn
   replacesRequest.replaces
   requisitionRequest.groupIdentifier
   statusRequest.status
   intentRequest.intent
   priorityRequest.priority
   doNotPerformRequest.doNotPerform
   codeRequest.code
   subjectRequest.subject
   encounterRequest.encounter
   occurrence[x]Request.occurrence[x]
   authoredOnRequest.authoredOn
   requesterRequest.requester
   performerTypeRequest.performerType
   performerRequest.performer
   reasonCodeRequest.reasonCode
   reasonReferenceRequest.reasonReference
   insuranceRequest.insurance
   supportingInfoRequest.supportingInfo
   supportingInfo (pregnancystatus)Request.supportingInfo
   supportingInfo (gestationalage)Request.supportingInfo
   supportingInfo (estimateddateofdelivery)Request.supportingInfo
   supportingInfo (lastmenstrualperiod)Request.supportingInfo
   noteRequest.note
   relevantHistoryRequest.relevantHistory

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

EOrdersDiagnosticRequest
ServiceRequestORC
   contained (pregstatus)OBX
   contained (gestationalage)OBX
   contained (edd)OBX
   contained (lmp)OBX
   extension
   extension (targetBodyStructure)
   extension (copiesto)
      value[x]
   extension (request-fasting)
      value[x]
         codingC*E.1-8, C*E.10-22
            systemC*E.3
            versionC*E.7
            codeC*E.1
            displayC*E.2 - but note this is not well followed
            userSelectedSometimes implied by being first
         textC*E.9. But note many systems use C*E.2 for this
   identifierCX / EI (occasionally, more often EI maps to a resource id or a URL)
   instantiatesCanonicalVaries by domain
   instantiatesUriVaries by domain
   basedOnORC.8 (plus others)
   replacesHandled by message location of ORC (ORC.1=RO or RU)
   requisitionORC.4
   statusORC.5,RF1-1
   intentN/A
   categoryRF1-5
   priorityTQ1.9, RF1-2
   codePR1-3 / OBR-4 (varies by domain)
      codingC*E.1-8, C*E.10-22
         extension (spia-vsref)CWE.
         systemC*E.3
         versionC*E.7
         codeC*E.1
         displayC*E.2 - but note this is not well followed
         userSelectedSometimes implied by being first
      textC*E.9. But note many systems use C*E.2 for this
   orderDetailNTE
   quantity[x]NTE
   subjectPID
   encounterPV1
   occurrence[x]TQ1/TQ2, OBR-7/OBR-8
   authoredOnORC.9, RF1-7 / RF1-9
   requesterORC.12, PRT
   performerTypePRT, RF!-3
   performerPRT, Practitioner: PRD-2/PRD-7 where PRD-3 = RT; Organization: PRD-10 where PRD-3 = RT
   reasonCodeORC.16, RF1-10
      codingC*E.1-8, C*E.10-22
      textC*E.9. But note many systems use C*E.2 for this
   reasonReferenceORC.16
   insuranceIN1/IN2
   supportingInfoAccompanying segments
   supportingInfo (pregnancystatus)Accompanying segments
   supportingInfo (gestationalage)Accompanying segments
   supportingInfo (estimateddateofdelivery)Accompanying segments
   supportingInfo (lastmenstrualperiod)Accompanying segments
   specimenSPM
   bodySiteSPM
   noteNTE
   patientInstructionNTE
   relevantHistoryN/A

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

EOrdersDiagnosticRequest
ServiceRequestEntity. Role, or Act, Act[moodCode<=INT]
   textAct.text?
   containedN/A
   contained (coverage)Entity. Role, or Act, Coverage
   contained (encounter)Entity. Role, or Act, Encounter[@moodCode='EVN']
   contained (pregstatus)Entity. Role, or Act, Observation[classCode=OBS, moodCode=EVN]
   contained (gestationalage)Entity. Role, or Act, Observation[classCode=OBS, moodCode=EVN]
   contained (edd)Entity. Role, or Act, Observation[classCode=OBS, moodCode=EVN]
   contained (lmp)Entity. Role, or Act, Observation[classCode=OBS, moodCode=EVN]
   extension
   extension (targetBodyStructure)
   extension (copiesto)
      idn/a
      urlN/A
      value[x]N/A
         idn/a
         extensionn/a
         referenceN/A
         typeN/A
         identifier.identifier
         displayN/A
   extension (request-fasting)
      idn/a
      urlN/A
      value[x]N/A
         idn/a
         extensionn/a
         codingunion(., ./translation)
            idn/a
            extensionn/a
            system./codeSystem
            version./codeSystemVersion
            code./code
            displayCV.displayName
            userSelectedCD.codingRationale
         text./originalText[mediaType/code="text/plain"]/data
   modifierExtensionN/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]
   instantiatesCanonical.outboundRelationship[typeCode=DEFN].target
   instantiatesUri.outboundRelationship[typeCode=DEFN].target
   basedOn.outboundRelationship[typeCode=FLFS].target
   replaces.outboundRelationship[typeCode=RPLC].target
   requisition.inboundRelationship(typeCode=COMP].source[moodCode=INT].identifier
   status.status
   intent.moodCode (nuances beyond PRP/PLAN/RQO would need to be elsewhere)
   category.outboundRelationship[typeCode="COMP].target[classCode="LIST", moodCode="INT"].code
   priority.priorityCode
   doNotPerform.actionNegationInd
   code.code
      idn/a
      extensionn/a
      codingunion(., ./translation)
         idn/a
         extensionn/a
         extension (spia-vsref)CD.valueSet/CD.valueSetVersion
            idn/a
            urlN/A
            value[x]N/A
         system./codeSystem
         version./codeSystemVersion
         code./code
         displayCV.displayName
         userSelectedCD.codingRationale
      text./originalText[mediaType/code="text/plain"]/data
   orderDetail.code
   quantity[x].quantity
   subject.participation[typeCode=SBJ].role
      idn/a
      extensionn/a
      referenceN/A
      typeN/A
      identifier.identifier
      displayN/A
   encounter.inboundRelationship(typeCode=COMP].source[classCode<=PCPR, moodCode=EVN]
      idn/a
      extensionn/a
      referenceN/A
      typeN/A
      identifier.identifier
      displayN/A
   occurrence[x].effectiveTime
   asNeeded[x]boolean: precondition.negationInd (inversed - so negationInd = true means asNeeded=false CodeableConcept: precondition.observationEventCriterion[code="Assertion"].value
   authoredOn.participation[typeCode=AUT].time
   requester.participation[typeCode=AUT].role
   performerType.participation[typeCode=PRF].role[scoper.determinerCode=KIND].code
   performer.participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]
   locationCode.participation[typeCode=LOC].role[scoper.determinerCode=KIND].code
   locationReference.participation[typeCode=LOC].role[scoper.determinerCode=INSTANCE]
   reasonCode.reasonCode
      idn/a
      extensionn/a
      codingunion(., ./translation)
      text./originalText[mediaType/code="text/plain"]/data
   reasonReference.outboundRelationship[typeCode=RSON].target
   insurance.outboundRelationship[typeCode=COVBY].target
      idn/a
      extensionn/a
      referenceN/A
      typeN/A
      identifier.identifier
      displayN/A
   supportingInfo.outboundRelationship[typeCode=PERT].target
      idn/a
      extensionn/a
      referenceN/A
      typeN/A
      identifier.identifier
      displayN/A
   supportingInfo (pregnancystatus).outboundRelationship[typeCode=PERT].target
      idn/a
      extensionn/a
      referenceN/A
      typeN/A
      identifier.identifier
      displayN/A
   supportingInfo (gestationalage).outboundRelationship[typeCode=PERT].target
      idn/a
      extensionn/a
      referenceN/A
      typeN/A
      identifier.identifier
      displayN/A
   supportingInfo (estimateddateofdelivery).outboundRelationship[typeCode=PERT].target
      idn/a
      extensionn/a
      referenceN/A
      typeN/A
      identifier.identifier
      displayN/A
   supportingInfo (lastmenstrualperiod).outboundRelationship[typeCode=PERT].target
      idn/a
      extensionn/a
      referenceN/A
      typeN/A
      identifier.identifier
      displayN/A
   specimen.participation[typeCode=SPC].role
   bodySitetargetSiteCode
   note.inboundRelationship(typeCode=SUBJ].source[classCode=ANNGEN, moodCode=EVN].value[xsi:type=ST]
   patientInstruction.text
   relevantHistory.inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN]

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

EOrdersDiagnosticRequest
ServiceRequest
   statusFiveWs.status
   intentFiveWs.class
   categoryFiveWs.class
   priorityFiveWs.grade
   codeFiveWs.what[x]
   subjectFiveWs.subject[x], FiveWs.subject
   encounterFiveWs.context
   occurrence[x]FiveWs.planned
   authoredOnFiveWs.recorded
   requesterFiveWs.author
   performerTypeFiveWs.actor
   performerFiveWs.actor
   locationCodeFiveWs.actor
   locationReferenceFiveWs.actor
   reasonCodeFiveWs.why[x]
   reasonReferenceFiveWs.why[x]

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

EOrdersDiagnosticRequest
ServiceRequest
   statusAction.currentStatus
   codeProcedure.procedureCode
   orderDetailProcedure.procedureCode
   subjectClinicalStatement.subject
   encounterClinicalStatement.encounter
   occurrence[x]Procedure.procedureSchedule
   asNeeded[x]Proposal.prnReason.reason
   authoredOnProposal.proposedAtTime
   requesterClinicalStatement.statementAuthor
   bodySiteProcedure.targetBodySite
   noteClinicalStatement.additionalText