Mappings for the questionnaireanswers resource.
QuestionnaireAnswers | Observation[moodCode=EVN] |
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 |
author | .participation[typeCode=AUT].role |
authored | .participation[typeCode=AUT].time |
source | .participation[typeCode=INF].role |
encounter | .inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN] |
group | .outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN] |
linkId | .outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN] |
title | .title |
text | .text |
subject | .participation[typeCode=SBJ].role
or
.outboundRelationship[typeCode=SUBJ].target |
group | .outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN] |
question | .outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN or DEF] |
linkId | .outboundRelationship[typeCode=DEFN].target[classCode=OBS, moodCode=DEFN] |
text | .code.display |
answer | .value[type=LIST_ANY] |
value[x] | .item |
group | .outboundRelationship[typeCode=COMP].target[classCode=DOCSECT, moodCode=EVN] |