Da Vinci - Documentation Templates and Rules
2.1.0 - STU 2.1

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

## Resource Profile: DTRQuestionnaireResponse - Mappings

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

Mappings for the dtr-questionnaireresponse resource profile.

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

DTRQuestionnaireResponse
QuestionnaireResponse | Event
identifier | Event.identifier
questionnaire | Event.instantiates
status | Event.status
subject | Event.subject
encounter | Event.encounter
authored | Event.occurrence[x]
author | Event.performer

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

DTRQuestionnaireResponse
QuestionnaireResponse | Entity. Role, or Act, Observation[moodCode=EVN]
text | Act.text?
contained | N/A
modifierExtension | N/A
identifier | .id
questionnaire | ./outboundRelationship[typeCode=INST]/target[classCode=OBS, moodCode=DEFN]
status | .statusCode (also whether there's a revisionControlAct - and possibly mood to distinguish "in-progress" from "published)
subject | .participation[typeCode=SBJ].role
encounter | .inboundRelationship(typeCode=COMP].source[classCode<=PCPR, moodCode=EVN]
authored | .participation[typeCode=AUT].time
author | .participation[typeCode=AUT].role
source | .participation[typeCode=INF].role
item | .outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]
id | n/a
modifierExtension | N/A
linkId | .outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].id
definition | .outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN].code
text | .text
answer | .value[type=LIST_ANY]
id | n/a
modifierExtension | N/A
value[x] | .item
item | .outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]
item | .outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN]

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

DTRQuestionnaireResponse
QuestionnaireResponse |
identifier | FiveWs.identifier
status | FiveWs.status
subject | FiveWs.subject[x], FiveWs.subject
encounter | FiveWs.context
authored | FiveWs.recorded
author | FiveWs.author
source | FiveWs.source