Please note:
- This version of the UK Core is a development copy.
- This contains BREAKING CHANGES as a result of the C&TA Sprint 7 Review, and STU2 Sequence ballot reconciliation.
- This version is not yet reviewed for implementation. Other versions are available on the UK Core Version History Guide
- Please follow the guidance on the Contact Us page if you need any assistance.
- A summary of changes is available on the STU3 Sequence Change Log
UKCore-QuestionnaireResponse-InpatientSurvey-Example
An example to illustrate a questionnaire response for an in-patient survey
Table View
| QuestionnaireResponse.id[0] | UKCore-QuestionnaireResponse-InpatientSurvey-Example |
| QuestionnaireResponse.text[0].status[0] | additional |
| QuestionnaireResponse.text[0].div[0] | <div xmlns="http://www.w3.org/1999/xhtml">An example to illustrate a questionnaire response for an in-patient survey</div> |
| QuestionnaireResponse.identifier[0].value[0] | 6d47d8c4-2f05-4dbb-93f8-6863e6d2975b |
| QuestionnaireResponse.identifier[0].assigner[0].reference[0] | Organization/UKCore-Organization-LeedsTeachingHospital-Example |
| QuestionnaireResponse.questionnaire[0] | https://example.com/base/Questionnaire/UKCore-Questionnaire-InpatientSurvey-Example |
| QuestionnaireResponse.status[0] | completed |
| QuestionnaireResponse.subject[0].reference[0] | Patient/UKCore-Patient-RichardSmith-Example |
| QuestionnaireResponse.encounter[0].reference[0] | Encounter/UKCore-Encounter-InpatientEncounter-Example |
| QuestionnaireResponse.authored[0] | 2021-03-18T00:00:00+00:00 |
| QuestionnaireResponse.author[0].reference[0] | Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example |
| QuestionnaireResponse.source[0].reference[0] | Patient/UKCore-Patient-RichardSmith-Example |
| QuestionnaireResponse.item[0].linkId[0] | 1 |
| QuestionnaireResponse.item[0].text[0] | Do you have allergies? |
| QuestionnaireResponse.item[0].answer[0].value[0] | I am allergic to amoxicillin. |
| QuestionnaireResponse.item[1].linkId[0] | 2 |
| QuestionnaireResponse.item[1].text[0] | General questions |
| QuestionnaireResponse.item[1].item[0].linkId[0] | 2.1 |
| QuestionnaireResponse.item[1].item[0].text[0] | What is your gender? |
| QuestionnaireResponse.item[1].item[0].answer[0].value[0] | male |
| QuestionnaireResponse.item[1].item[1].linkId[0] | 2.2 |
| QuestionnaireResponse.item[1].item[1].text[0] | What is your date of birth? |
| QuestionnaireResponse.item[1].item[1].answer[0].value[0] | 1970-09-11 |
| QuestionnaireResponse.item[1].item[2].linkId[0] | 2.3 |
| QuestionnaireResponse.item[1].item[2].text[0] | What is your country of birth? |
| QuestionnaireResponse.item[1].item[2].answer[0].value[0] | The United Kingdom |
| QuestionnaireResponse.item[1].item[3].linkId[0] | 2.4 |
| QuestionnaireResponse.item[1].item[3].text[0] | What is your marital status? |
| QuestionnaireResponse.item[1].item[3].answer[0].value[0] | married |
| QuestionnaireResponse.item[2].linkId[0] | 3 |
| QuestionnaireResponse.item[2].text[0] | Intoxications |
| QuestionnaireResponse.item[2].item[0].linkId[0] | 3.1 |
| QuestionnaireResponse.item[2].item[0].text[0] | Do you smoke? |
| QuestionnaireResponse.item[2].item[0].answer[0].value[0] | True |
| QuestionnaireResponse.item[2].item[1].linkId[0] | 3.2 |
| QuestionnaireResponse.item[2].item[1].text[0] | Do you drink alcohol? |
| QuestionnaireResponse.item[2].item[1].answer[0].value[0] | False |
Tree View
| QuestionnaireResponse |
| id : UKCore-QuestionnaireResponse-InpatientSurvey-Example |
| text |
| status : additional |
| identifier |
| value : 6d47d8c4-2f05-4dbb-93f8-6863e6d2975b |
| assigner |
| reference : Organization/UKCore-Organization-LeedsTeachingHospital-Example |
| questionnaire : https://example.com/base/Questionnaire/UKCore-Questionnaire-InpatientSurvey-Example |
| status : completed |
| subject |
| reference : Patient/UKCore-Patient-RichardSmith-Example |
| encounter |
| reference : Encounter/UKCore-Encounter-InpatientEncounter-Example |
| authored : 2021-03-18T00:00:00+00:00 |
| author |
| reference : Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example |
| source |
| reference : Patient/UKCore-Patient-RichardSmith-Example |
| item |
| linkId : 1 |
| text : Do you have allergies? |
| answer |
| value : I am allergic to amoxicillin. |
| item |
| linkId : 2 |
| text : General questions |
| item |
| linkId : 2.1 |
| text : What is your gender? |
| answer |
| value : male |
| item |
| linkId : 2.2 |
| text : What is your date of birth? |
| answer |
| value : 1970-09-11 |
| item |
| linkId : 2.3 |
| text : What is your country of birth? |
| answer |
| value : The United Kingdom |
| item |
| linkId : 2.4 |
| text : What is your marital status? |
| answer |
| value : married |
| item |
| linkId : 3 |
| text : Intoxications |
| item |
| linkId : 3.1 |
| text : Do you smoke? |
| answer |
| value : True |
| item |
| linkId : 3.2 |
| text : Do you drink alcohol? |
| answer |
| value : False |
XML View
--- We have skipped the narrative for better readability of the resource ---
</text>
</assigner>
</identifier>
<questionnaire value="https://example.com/base/Questionnaire/UKCore-Questionnaire-InpatientSurvey-Example" />
</subject>
</encounter>
</author>
</source>
</answer>
</item>
</answer>
</item>
</answer>
</item>
</answer>
</item>
</answer>
</item>
</item>
</answer>
</item>
</answer>
</item>
</item>
</QuestionnaireResponse>
JSON View
{
--- We have skipped the narrative for better readability of the resource ---
},
}
},
"questionnaire": "https://example.com/base/Questionnaire/UKCore-Questionnaire-InpatientSurvey-Example",
},
},
},
},
{
]
},
{
{
},
{
},
{
]
},
{
}
]
},
{
{
},
{
}
]
}
]
}