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: CDEXSDCQuestionnaireResponse - Mappings

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

Mappings for the cdex-sdc-questionnaireresponse resource profile.

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

CDEXSDCQuestionnaireResponse
QuestionnaireResponse | Event
identifier | Event.identifier
basedOn | Event.basedOn
partOf | Event.partOf
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)

CDEXSDCQuestionnaireResponse
QuestionnaireResponse | Entity. Role, or Act, Observation[moodCode=EVN]
text | Act.text?
contained | N/A
extension |
extension (signature) |
id | n/a
url | N/A
value[x] | N/A
modifierExtension | N/A
identifier | .id
basedOn | .outboundRelationship[typeCode=FLFS].target
partOf | .inboundRelationship[typeCode=COMP].source[moodCode=EVN]
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
extension |
extension (itemMedia) |
extension (ItemSignature) |
id | n/a
url | N/A
value[x] | 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)

CDEXSDCQuestionnaireResponse
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