Magentus Practice Management FHIR Implementation Guide
1.2.16 - ci-build

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

## Resource Profile: EOrdersTaskFulfillmentBase - Mappings

Draft as of 2024-08-15

Mappings for the eorders-task-fulfillment-base resource profile.

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

EOrdersTaskFulfillmentBase
Task | Request, Event
identifier | Request.identifier, Event.identifier
instantiatesCanonical | Request.instantiatesCanonical, Event.instantiatesCanonical
instantiatesUri | Event.instantiatesUrl
basedOn | Request.basedOn, Event.basedOn
partOf | Event.partOf
status | Request.status, Event.status
intent | Request.intent
priority | Request.priority
code | Request.code, Event.code
for | Request.subject, Event.subject
encounter | Request.context, Event.context
executionPeriod | Event.occurrence[x]
authoredOn | Request.authoredOn
requester | Request.requester
performerType | Event.performer.role, Request.performerType
owner | Event.performer.actor, Request.performer
location | Request.reasonCode, Event.reasonCode
reasonCode | Event.location
reasonReference | Request.reasonReference, Event.reasonReference
insurance | Request.insurance
note | Request.note, Event.note
relevantHistory | Request.relevantHistory

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

EOrdersTaskFulfillmentBase
Task | Entity. Role, or Act, ControlAct[moodCode=INT]
meta |
id | n/a
extension | n/a
text | Act.text?
contained | N/A
extension | N/A
modifierExtension | N/A
identifier | .id
instantiatesCanonical | .outboundRelationship[typeCode=DEFN].target
instantiatesUri | .outboundRelationship[typeCode=DEFN].target
basedOn | .outboundRelationship[typeCode=FLFS].target[moodCode=INT]
groupIdentifier | n/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]
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
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
id | n/a
extension | n/a
reference | N/A
type | N/A
identifier | n/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]
display | N/A
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]
restriction | Instead of pointing to request, would point to component of request, having these characteristics
id | n/a
extension | n/a
modifierExtension | N/A
repetitions | .repeatNumber
period | .effectiveTime(IVL<TS>)
recipient | .participation[typeCode=SBJ].role
input | ???
id | n/a
extension | n/a
modifierExtension | N/A
type | ???
value[x] | ???
output | ???
id | n/a
extension | n/a
modifierExtension | N/A
type | ???
value[x] | ???

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

EOrdersTaskFulfillmentBase
Task |
identifier | FiveWs.identifier
status | FiveWs.status
intent | FiveWs.class
priority | FiveWs.grade
code | FiveWs.what[x]
focus | FiveWs.what[x]
for | FiveWs.subject[x], FiveWs.subject
encounter | FiveWs.context
executionPeriod | FiveWs.done[x]
authoredOn | FiveWs.recorded
requester | FiveWs.author
performerType | FiveWs.actor
owner | FiveWs.actor
location | FiveWs.where[x]
reasonCode | FiveWs.why[x]
reasonReference | FiveWs.why[x]

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

EOrdersTaskFulfillmentBase
Task |
groupIdentifier | CX / EI (occasionally, more often EI maps to a resource id or a URL)
requester |
identifier | CX / EI (occasionally, more often EI maps to a resource id or a URL)
reasonCode | EVN.7
insurance | IN1/IN2