XML View
<Task xmlns="http://hl7.org/fhir">
<id value="NationalProxy-Task-ConsentVerification-Completed-Example" />
<identifier>
<system value="https://tools.ietf.org/html/rfc4122" />
<value value="41bf06bf-83f3-4004-98d3-480e3f048d55" />
</identifier>
<instantiatesCanonical value="https://workflow.example.nhs.uk/FHIR/R4/ActivityDefinition/ActivityDefinition-Proxy-Verification" />
<status value="completed" />
<intent value="order" />
<priority value="routine" />
<code>
<coding>
<system value="http://snomed.info/sct" />
<code value="414925007" />
<display value="Obtaining consent" />
</coding>
</code>
<focus>
<reference value="https://nhsdigital.github.io/nhsengland-spine-specification-sandbox/QuestionnaireResponse-QuestionnaireResponse-proxy-access-request" />
<type value="QuestionnaireResponse" />
</focus>
<for>
<identifier>
<system value="https://fhir.nhs.uk/Id/nhs-number" />
<value value="9459304130" />
</identifier>
<display value="Jane Marie Anne Smith" />
</for>
<authoredOn value="2024-03-26T06:26:00+00:00" />
<requester>
<identifier>
<system value="https://fhir.nhs.uk/Id/ods-organization-code" />
<value value="X26" />
</identifier>
<display value="NHS ENGLAND" />
</requester>
<owner>
<identifier>
<system value="https://fhir.nhs.uk/Id/ods-organization-code" />
<value value="Y12345" />
</identifier>
<display value="A SURGERY" />
</owner>
<note>
<authorReference>
<identifier>
<system value="https://fhir.nhs.uk/Id/ods-organization-code" />
<value value="X26" />
</identifier>
</authorReference>
<time value="2024-10-07T15:07:55.495Z" />
<text value="Please verify the national proxy request for from Jayne Smith to access Jane Marie Anne Smith records. Relationship is MOTHER" />
</note>
<input>
<type>
<coding>
<system value="https://fhir.nhs.uk/England/NationalProxy" />
<code value="Consent" />
</coding>
</type>
<valueReference>
<reference value="https://nhsdigital.github.io/nhsengland-spine-specification-sandbox/Consent-Consent-national-proxy-proposed" />
<type value="Consent" />
</valueReference>
</input>
<input>
<type>
<coding>
<system value="https://fhir.nhs.uk/England/NationalProxy" />
<code value="Proxy" />
</coding>
</type>
<valueReference>
<reference value="https://nhsdigital.github.io/nhsengland-spine-specification-sandbox/RelatedPerson-RelatedPerson-NHS-9100000009" />
<type value="RelatedPerson" />
</valueReference>
</input>
<output>
<type>
<coding>
<system value="https://fhir.nhs.uk/England/NationalProxy" />
<code value="decision" />
</coding>
</type>
<valueCodeableConcept>
<coding>
<system value="https://fhir.nhs.uk/England/NationalProxyConsentStatus" />
<code value="proxy-approved" />
</coding>
</valueCodeableConcept>
</output>
</Task>
JSON View
{
"resourceType": "Task",
"id": "NationalProxy-Task-ConsentVerification-Completed-Example",
"identifier": [
{
"system": "https://tools.ietf.org/html/rfc4122",
"value": "41bf06bf-83f3-4004-98d3-480e3f048d55"
}
],
"status": "completed",
"intent": "order",
"priority": "routine",
"code": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "414925007",
"display": "Obtaining consent"
}
]
},
"instantiatesCanonical": "https://workflow.example.nhs.uk/FHIR/R4/ActivityDefinition/ActivityDefinition-Proxy-Verification",
"focus": {
"type": "QuestionnaireResponse",
"reference": "https://nhsdigital.github.io/nhsengland-spine-specification-sandbox/QuestionnaireResponse-QuestionnaireResponse-proxy-access-request"
},
"for": {
"identifier": {
"system": "https://fhir.nhs.uk/Id/nhs-number",
"value": "9459304130"
},
"display": "Jane Marie Anne Smith"
},
"authoredOn": "2024-03-26T06:26:00+00:00",
"requester": {
"identifier": {
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
"value": "X26"
},
"display": "NHS ENGLAND"
},
"owner": {
"identifier": {
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
"value": "Y12345"
},
"display": "A SURGERY"
},
"note": [
{
"time": "2024-10-07T15:07:55.495Z",
"authorReference": {
"identifier": {
"system": "https://fhir.nhs.uk/Id/ods-organization-code",
"value": "X26"
}
},
"text": "Please verify the national proxy request for from Jayne Smith to access Jane Marie Anne Smith records. Relationship is MOTHER"
}
],
"input": [
{
"type": {
"coding": [
{
"system": "https://fhir.nhs.uk/England/NationalProxy",
"code": "Consent"
}
]
},
"valueReference": {
"reference": "https://nhsdigital.github.io/nhsengland-spine-specification-sandbox/Consent-Consent-national-proxy-proposed",
"type": "Consent"
}
},
{
"type": {
"coding": [
{
"system": "https://fhir.nhs.uk/England/NationalProxy",
"code": "Proxy"
}
]
},
"valueReference": {
"reference": "https://nhsdigital.github.io/nhsengland-spine-specification-sandbox/RelatedPerson-RelatedPerson-NHS-9100000009",
"type": "RelatedPerson"
}
}
],
"output": [
{
"type": {
"coding": [
{
"system": "https://fhir.nhs.uk/England/NationalProxy",
"code": "decision"
}
]
},
"valueCodeableConcept": {
"coding": [
{
"system": "https://fhir.nhs.uk/England/NationalProxyConsentStatus",
"code": "proxy-approved"
}
]
}
}
]
}