SQL on FHIR, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 3.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/sql-on-fhir/ and changes regularly. See the Directory of published versions
This view acts on the QuestionnaireResponse resource to produce a table named "questionnaire_response_items".
The table contains the following columns:
| Name | Fhir Type | SQL Type | Collection |
|---|---|---|---|
| id | string | String | |
| questionnaire | canonical | String | |
| patient_id | string | String | |
| authored | dateTime | DateTime |
Selection Rules:
| Item | Coll | Type | Description |
|---|---|---|---|
![]() | QuestionnaireResponse | ||
![]() ![]() | |||
![]() ![]() ![]() | getResourceKey()Unique questionnaire response identifier | ||
![]() ![]() ![]() | questionnaireCanonical URL of the questionnaire | ||
![]() ![]() ![]() | subject.getReferenceKey(Patient)Patient identifier | ||
![]() ![]() ![]() | authoredDate and time the response was authored | ||
![]() ![]() | |||
![]() ![]() ![]() | linkIdUnique identifier for this item within the questionnaire | ||
![]() ![]() ![]() | textQuestion text | ||
![]() ![]() ![]() | answer.value.ofType(string)String answer value | ||
![]() ![]() ![]() | answer.value.ofType(integer)Integer answer value | ||
![]() ![]() ![]() | answer.value.ofType(boolean)Boolean answer value | ||
![]() ![]() ![]() | answer.value.ofType(date)Date answer value |