QI-Core Implementation Guide
4.1.0 - release

Publication Build: This will be filled in by the publication tooling

## Resource Profile: QICoreDeviceNotRequested - Mappings

Mappings for the qicore-devicenotrequested resource profile.

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

QICoreDeviceNotRequested
DeviceRequest | Request
identifier | Request.identifier
instantiatesCanonical | Request.instantiatesCanonical
instantiatesUri | Request.instantiatesUri
basedOn | Request.basedOn
priorRequest | Request.replaces
groupIdentifier | Request.groupIdentifier
status | Request.status
intent | Request.intent
priority | Request.priority
code[x] | Request.code
subject | Request.subject
encounter | Request.encounter
occurrence[x] | Request.occurrence[x]
authoredOn | Request.authoredOn
requester | Request.requester
performerType | Request.performerType
performer | Request.performer
reasonCode | Request.reasonCode
reasonReference | Request.reasonReference
insurance | Request.insurance
supportingInfo | Request.supportingInfo
note | Request.note
relevantHistory | Request.relevantHistory

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

QICoreDeviceNotRequested
DeviceRequest | ORC
identifier | ORC.2, ORC.3
instantiatesCanonical | Varies by domain
instantiatesUri | Varies by domain
basedOn | ORC.8 (plus others)
priorRequest | Handled by message location of ORC (ORC.1=RO or RU)
groupIdentifier | ORC.4
status | ORC.5
intent | N/A
priority | TQ1.9
code[x] | Varies by domain
extension (doNotPerformValueSet) | CWE.
coding | C*E.1-8, C*E.10-22
text | C*E.9. But note many systems use C*E.2 for this
parameter | Varies by domain
code | Varies by domain
value[x] | Varies by domain
subject | Accompanying PID segment
encounter | Accompanying PV1
occurrence[x] | Accompanying TQ1/TQ2 segments
authoredOn | ORC.9
requester | ORC.12
performerType | PRT
performer | PRT
reasonCode | ORC.16
reasonReference | ORC.16
insurance | IN1/IN2
supportingInfo | Accompanying segments
note | NTE
relevantHistory | N/A

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

QICoreDeviceNotRequested
DeviceRequest | Entity. Role, or Act, Act[moodCode<=INT]
text | Act.text?
contained | N/A
modifierExtension |
modifierExtension (doNotPerform) |
id | n/a
extension | n/a
url | N/A
value[x] | N/A
identifier | .identifier
instantiatesCanonical | .outboundRelationship[typeCode=DEFN].target
instantiatesUri | .outboundRelationship[typeCode=DEFN].target
basedOn | .outboundRelationship[typeCode=FLFS].target
priorRequest | .outboundRelationship[typeCode=RPLC].target
groupIdentifier | .inboundRelationship(typeCode=COMP].source[moodCode=INT].identifier
status | .status
intent | .moodCode (nuances beyond PRP/PLAN/RQO would need to be elsewhere)
priority | .priorityCode
code[x] | .code
id | n/a
extension | n/a
extension (doNotPerformValueSet) | CD.valueSet/CD.valueSetVersion
coding | union(., ./translation)
text | ./originalText[mediaType/code="text/plain"]/data
parameter | .code
id | n/a
extension | n/a
modifierExtension | N/A
code | .code
value[x] | .code
subject | .participation[typeCode=SBJ].role
encounter | .inboundRelationship(typeCode=COMP].source[classCode<=PCPR, moodCode=EVN]
occurrence[x] | .effectiveTime
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]
reasonCode | .reasonCode
reasonReference | .outboundRelationship[typeCode=RSON].target
insurance | .outboundRelationship[typeCode=COVBY].target
supportingInfo | .outboundRelationship[typeCode=PERT].target
note | .inboundRelationship(typeCode=SUBJ].source[classCode=ANNGEN, moodCode=EVN].value[xsi:type=ST]
relevantHistory | .inboundRelationship(typeCode=SUBJ].source[classCode=CACT, moodCode=EVN]

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

QICoreDeviceNotRequested
DeviceRequest |
identifier | FiveWs.identifier
status | FiveWs.status
intent | FiveWs.class
priority | FiveWs.grade
code[x] | FiveWs.what[x]
parameter | FiveWs.what[x]
code | FiveWs.what[x]
value[x] | FiveWs.what[x]
subject | FiveWs.subject[x], FiveWs.subject
encounter | FiveWs.context
occurrence[x] | FiveWs.planned
authoredOn | FiveWs.recorded
requester | FiveWs.author
performerType | FiveWs.actor
performer | FiveWs.actor
reasonCode | FiveWs.why[x]
reasonReference | FiveWs.why[x]

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

QICoreDeviceNotRequested
DeviceRequest |
identifier | ClinicalStatement.identifier
basedOn | Proposal.prnReason.reason
status | Action.currentStatus
code[x] | DeviceUse.device
parameter | DeviceUse.device
code | DeviceUse.device
value[x] | DeviceUse.device
subject | ClinicalStatement.subject
encounter | ClinicalStatement.encounter
occurrence[x] | DeviceUse.applicationSchedule
authoredOn | ClinicalStatement.statementDateTime
reasonCode | Action.indication.reason
note | ClinicalStatement.additionalText