Da Vinci Clinical Data Exchange (CDex)
2.1.0 - STU 2.1

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

## Resource Profile: CDexTaskAttachmentRequest - Mappings

Page standards status: Trial-use | Maturity Level: 2

Mappings for the cdex-task-attachment-request resource profile.

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

CDexTaskAttachmentRequest
Task | Request, Event
identifier | Request.identifier, Event.identifier
identifier (tracking-id) | Request.identifier, Event.identifier
instantiatesCanonical | Request.instantiatesCanonical, Event.instantiatesCanonical
instantiatesUri | Event.instantiatesUrl
basedOn | Request.basedOn, Event.basedOn
groupIdentifier | Request.groupIdentifier
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)

CDexTaskAttachmentRequest
Task | Entity. Role, or Act, ControlAct[moodCode=INT]
text | Act.text?
contained | N/A
contained (practitionerrole) | Entity. Role, or Act, Role
contained (patient) | Entity. Role, or Act, Patient[classCode=PAT]
extension | N/A
modifierExtension | N/A
identifier | .id
identifier (tracking-id) | .id
id | n/a
extension | n/a
use | Role.code or implied by context
type | Role.code or implied by context
system | II.root or Role.id.root
value | II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
period | Role.effectiveTime or implied by context
assigner | II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
instantiatesCanonical | .outboundRelationship[typeCode=DEFN].target
instantiatesUri | .outboundRelationship[typeCode=DEFN].target
basedOn | .outboundRelationship[typeCode=FLFS].target[moodCode=INT]
groupIdentifier | .inboundRelationship[typeCode=COMP].source[moodCode=INT].id
partOf | .inboundRelationship[typeCode=COMP].source[moodCode=INT]
status | .statusCode
statusReason | .inboundRelationship[typeCode=SUBJ].source[classCode=CACT, moodCode=EVN, code="status change"].reasonCode
id | n/a
extension | n/a
coding | union(., ./translation)
text | ./originalText[mediaType/code="text/plain"]/data
businessStatus | .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="business status"]
intent | .moodCode
priority | .priorityCode
code | .code
id | n/a
extension | n/a
coding | union(., ./translation)
id | n/a
extension | n/a
system | ./codeSystem
version | ./codeSystemVersion
code | ./code
display | CV.displayName
userSelected | CD.codingRationale
text | ./originalText[mediaType/code="text/plain"]/data
description | .text
focus | .outboundRelationship[typeCode=SUBJ].target
for | .participation[typeCode=RCT].role
id | n/a
extension | n/a
reference | N/A
type | N/A
identifier | .identifier
display | N/A
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 | .identifier
display | N/A
performerType | .participation[typeCode=PRF].role.code
owner | .participation[typeCode=PRF].role
id | n/a
extension | n/a
reference | N/A
type | N/A
identifier | .identifier
display | N/A
location | .participation[typeCode=LOC].role
reasonCode | .reasonCode
id | n/a
extension | n/a
coding | union(., ./translation)
coding (use) | union(., ./translation)
id | n/a
extension | n/a
system | ./codeSystem
version | ./codeSystemVersion
code | ./code
display | CV.displayName
userSelected | CD.codingRationale
text | ./originalText[mediaType/code="text/plain"]/data
reasonReference | .outboundRelationship[typeCode=RSON].target
id | n/a
extension | n/a
reference | N/A
type | N/A
identifier | .identifier
display | N/A
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] | ???
input (AttachmentsNeeded) | ???
id | n/a
extension |
id | n/a
extension | n/a
url | N/A
value[x] | N/A
modifierExtension | N/A
type | ???
value[x] | ???
input (QuestionnaireContext) | ???
id | n/a
extension |
id | n/a
extension | n/a
url | N/A
value[x] | N/A
modifierExtension | N/A
type | ???
value[x] | ???
input (PayerUrl) | ???
id | n/a
extension | n/a
modifierExtension | N/A
type | ???
value[x] | ???
input (service-date) | ???
id | n/a
extension | n/a
modifierExtension | N/A
type | ???
value[x] | ???
input (signature) | ???
id | n/a
extension | n/a
modifierExtension | N/A
type | ???
value[x] | ???
input (POU) | ???
id | n/a
extension | n/a
modifierExtension | N/A
type | ???
value[x] | ???
input (multiple-submits) | ???
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] | ???
output (AttachmentsNeeded) | ???
id | n/a
extension | n/a
modifierExtension | N/A
type | ???
value[x] | ???
output (QuestionnaireContext) | ???
id | n/a
extension | n/a
modifierExtension | N/A
type | ???
value[x] | ???

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

CDexTaskAttachmentRequest
Task |
identifier | FiveWs.identifier
identifier (tracking-id) | 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)

CDexTaskAttachmentRequest
Task |
contained (practitionerrole) | PRD (as one example)
identifier |
identifier (tracking-id) |
use | N/A
type | CX.5
system | CX.4 / EI-2-4
value | CX.1 / EI.1
period | CX.7 + CX.8
assigner | CX.4 / (CX.4,CX.9,CX.10)
statusReason |
coding | C*E.1-8, C*E.10-22
text | C*E.9. But note many systems use C*E.2 for this
code |
coding | C*E.1-8, C*E.10-22
system | C*E.3
version | C*E.7
code | C*E.1
display | C*E.2 - but note this is not well followed
userSelected | Sometimes implied by being first
text | C*E.9. But note many systems use C*E.2 for this
reasonCode | EVN.7
coding | C*E.1-8, C*E.10-22
coding (use) | C*E.1-8, C*E.10-22
system | C*E.3
version | C*E.7
code | C*E.1
display | C*E.2 - but note this is not well followed
userSelected | Sometimes implied by being first
text | C*E.9. But note many systems use C*E.2 for this
insurance | IN1/IN2