Mappings for the questionnaire resource.
| Questionnaire | Document[moodCode=DEF or EVN] |
| status | .statusCode (also whether there's a revisionControlAct - and possibly mood to distinguish "in progress" from "published) |
| authored | .participation[typeCode=AUT].time |
| subject | .participation[typeCode=SBJ].role |
| author | .participation[typeCode=AUT].role |
| source | .participation[typeCode=INF].role |
| name | .title |
| identifier | .id |
| encounter | .inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN] |
| group | .outboundRelationship[typeCode=COMP].target[classCode=DOCSECT, moodCode=EVN] |
| name | .code |
| header | .title |
| text | .text |
| subject | .participation[typeCode=SBJ].role
or
.outboundRelationship[typeCode=SUBJ].target |
| group | .outboundRelationship[typeCode=COMP].target[classCode=DOCSECT, moodCode=EVN] |
| question | .outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN or DEF] |
| name | .code |
| text | .code.display |
| answer[x] | .value |
| choice | Not supported - MIF/templating layer to capture value set |
| options | Not supported - MIF/templating layer to capture value set |
| data[x] | .outboundRelationship[typeCode=VALUE].target |
| remarks | .inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="annotation"].value |
| group | .outboundRelationship[typeCode=COMP].target[classCode=DOCSECT, moodCode=EVN] |