QuestionnaireResponse-Patient-Extensions-Example

Example of a filled Patient Extensions questionnaire. This is required for PDS registered NHS Patients in the GOMS Private Beta (and replicated for non-NHS patients te ensure consistency).

QuestionnaireResponse
{
"resourceType": "QuestionnaireResponse",
"questionnaire": "https://fhir.nhs.uk/Questionnaire/Patient-Extensions-Example",
"status": "completed",
"subject": {
"system": "https://fhir.nhs.uk/Id/nhs-number",
"value": "7449306524"
}
},
"authored": "2023-10-01T15:00:00Z",
"item": [
{
"linkId": "364699009",
"text": "Patient - Ethnicity",
"answer": [
{
"system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-EthnicCategoryEngland",
"code": "A",
"display": "British, Mixed British"
}
}
]
},
{
"linkId": "1345193002",
"text": "Patient - Sex defined at birth",
"answer": [
{
"system": "http://terminology.hl7.org/CodeSystem/v3-AdministrativeGender",
"code": "M",
"display": "Male"
}
}
]
}
]
}
<QuestionnaireResponse xmlns="http://hl7.org/fhir">
<questionnaire value="https://fhir.nhs.uk/Questionnaire/Patient-Extensions-Example" />
<status value="completed" />
<system value="https://fhir.nhs.uk/Id/nhs-number" />
<value value="7449306524" />
</identifier>
</subject>
<authored value="2023-10-01T15:00:00Z" />
<linkId value="364699009" />
<text value="Patient - Ethnicity" />
<system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-EthnicCategoryEngland" />
<code value="A" />
<display value="British, Mixed British" />
</valueCoding>
</answer>
</item>
<linkId value="1345193002" />
<text value="Patient - Sex defined at birth" />
<system value="http://terminology.hl7.org/CodeSystem/v3-AdministrativeGender" />
<code value="M" />
<display value="Male" />
</valueCoding>
</answer>
</item>
</QuestionnaireResponse>