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-Task-Colonoscopy-Example
An example to illustrate a task for a colonoscopy request
Table View
Task.id[0] | UKCore-Task-Colonoscopy-Example |
Task.text[0].status[0] | additional |
Task.text[0].div[0] | <div xmlns="http://www.w3.org/1999/xhtml">An example to illustrate a task for a colonoscopy request</div> |
Task.identifier[0].system[0] | https://tools.ietf.org/html/rfc4122 |
Task.identifier[0].value[0] | b269d1d7-1acf-47bb-8b3c-e38b583d9a07 |
Task.status[0] | in-progress |
Task.intent[0] | order |
Task.priority[0] | routine |
Task.code[0].coding[0].system[0] | http://hl7.org/fhir/CodeSystem/task-code |
Task.code[0].coding[0].code[0] | fulfill |
Task.code[0].coding[0].display[0] | Fulfill the focal request |
Task.focus[0].reference[0] | ServiceRequest/UKCore-ServiceRequest-ColonoscopyRequest-Example |
Task.focus[0].display[0] | Colonoscopy Request |
Task.for[0].reference[0] | Patient/UKCore-Patient-RichardSmith-Example |
Task.for[0].display[0] | Richard Smith |
Task.encounter[0].reference[0] | Encounter/UKCore-Encounter-InpatientEncounter-Example |
Task.encounter[0].display[0] | In-Patient Encounter |
Task.executionPeriod[0].start[0] | 2021-10-13T16:20:27+07:00 |
Task.executionPeriod[0].end[0] | 2021-10-13T18:20:27+07:00 |
Task.authoredOn[0] | 2021-10-13T16:20:27+07:00 |
Task.lastModified[0] | 2021-10-13T16:20:27+07:00 |
Task.requester[0].reference[0] | Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example |
Task.requester[0].display[0] | Dr Paul Rastall |
Task.performerType[0].coding[0].system[0] | http://snomed.info/sct |
Task.performerType[0].coding[0].code[0] | 71838004 |
Task.performerType[0].coding[0].display[0] | Gastroenterologist |
Task.performerType[0].text[0] | Performer |
Task.owner[0].reference[0] | Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example |
Task.owner[0].display[0] | Dr Sandra Gose |
Task.restriction[0].repetitions[0] | 1 |
Task.restriction[0].period[0].end[0] | 2021-10-13T18:30:00+07:00 |
Task.output[0].type[0].text[0] | Colonoscopy Appointment |
Task.output[0].value[0].reference[0] | ServiceRequest/UKCore-ServiceRequest-ColonoscopyRequest-Example |
Tree View
Task |
id : UKCore-Task-Colonoscopy-Example |
text |
status : additional |
identifier |
system : https://tools.ietf.org/html/rfc4122 |
value : b269d1d7-1acf-47bb-8b3c-e38b583d9a07 |
status : in-progress |
intent : order |
priority : routine |
code |
coding |
system : http://hl7.org/fhir/CodeSystem/task-code |
code : fulfill |
display : Fulfill the focal request |
focus |
reference : ServiceRequest/UKCore-ServiceRequest-ColonoscopyRequest-Example |
display : Colonoscopy Request |
for |
reference : Patient/UKCore-Patient-RichardSmith-Example |
display : Richard Smith |
encounter |
reference : Encounter/UKCore-Encounter-InpatientEncounter-Example |
display : In-Patient Encounter |
executionPeriod |
start : 2021-10-13T16:20:27+07:00 |
end : 2021-10-13T18:20:27+07:00 |
authoredOn : 2021-10-13T16:20:27+07:00 |
lastModified : 2021-10-13T16:20:27+07:00 |
requester |
reference : Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example |
display : Dr Paul Rastall |
performerType |
coding |
system : http://snomed.info/sct |
code : 71838004 |
display : Gastroenterologist |
text : Performer |
owner |
reference : Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example |
display : Dr Sandra Gose |
restriction |
repetitions : 1 |
period |
end : 2021-10-13T18:30:00+07:00 |
output |
type |
text : Colonoscopy Appointment |
value |
reference : ServiceRequest/UKCore-ServiceRequest-ColonoscopyRequest-Example |
XML View
<Task xmlns="http://hl7.org/fhir"> <id value="UKCore-Task-Colonoscopy-Example" /> <text> <status value="additional" /> --- We have skipped the narrative for better readability of the resource --- </text> <identifier> <system value="https://tools.ietf.org/html/rfc4122" /> <value value="b269d1d7-1acf-47bb-8b3c-e38b583d9a07" /> </identifier> <status value="in-progress" /> <intent value="order" /> <priority value="routine" /> <code> <coding> <system value="http://hl7.org/fhir/CodeSystem/task-code" /> <code value="fulfill" /> <display value="Fulfill the focal request" /> </coding> </code> <focus> <reference value="ServiceRequest/UKCore-ServiceRequest-ColonoscopyRequest-Example" /> <display value="Colonoscopy Request" /> </focus> <for> <reference value="Patient/UKCore-Patient-RichardSmith-Example" /> <display value="Richard Smith" /> </for> <encounter> <reference value="Encounter/UKCore-Encounter-InpatientEncounter-Example" /> <display value="In-Patient Encounter" /> </encounter> <executionPeriod> <start value="2021-10-13T16:20:27+07:00" /> <end value="2021-10-13T18:20:27+07:00" /> </executionPeriod> <authoredOn value="2021-10-13T16:20:27+07:00" /> <lastModified value="2021-10-13T16:20:27+07:00" /> <requester> <reference value="Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example" /> <display value="Dr Paul Rastall" /> </requester> <performerType> <coding> <system value="http://snomed.info/sct" /> <code value="71838004" /> <display value="Gastroenterologist" /> </coding> <text value="Performer" /> </performerType> <owner> <reference value="Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example" /> <display value="Dr Sandra Gose" /> </owner> <restriction> <repetitions value="1" /> <period> <end value="2021-10-13T18:30:00+07:00" /> </period> </restriction> <output> <type> <text value="Colonoscopy Appointment" /> </type> <valueReference> <reference value="ServiceRequest/UKCore-ServiceRequest-ColonoscopyRequest-Example" /> </valueReference> </output> </Task>
JSON View
{ "resourceType": "Task", "id": "UKCore-Task-Colonoscopy-Example", "text": { "status": "additional", --- We have skipped the narrative for better readability of the resource --- }, "identifier": [ { "system": "https://tools.ietf.org/html/rfc4122", "value": "b269d1d7-1acf-47bb-8b3c-e38b583d9a07" } ], "status": "in-progress", "intent": "order", "priority": "routine", "code": { "coding": [ { "system": "http://hl7.org/fhir/CodeSystem/task-code", "code": "fulfill", "display": "Fulfill the focal request" } ] }, "focus": { "reference": "ServiceRequest/UKCore-ServiceRequest-ColonoscopyRequest-Example", "display": "Colonoscopy Request" }, "for": { "reference": "Patient/UKCore-Patient-RichardSmith-Example", "display": "Richard Smith" }, "encounter": { "reference": "Encounter/UKCore-Encounter-InpatientEncounter-Example", "display": "In-Patient Encounter" }, "executionPeriod": { "start": "10/13/2021 09:20:27", "end": "10/13/2021 11:20:27" }, "authoredOn": "10/13/2021 09:20:27", "lastModified": "10/13/2021 09:20:27", "requester": { "reference": "Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example", "display": "Dr Paul Rastall" }, "performerType": [ { "coding": [ { "system": "http://snomed.info/sct", "code": "71838004", "display": "Gastroenterologist" } ], "text": "Performer" } ], "owner": { "reference": "Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example", "display": "Dr Sandra Gose" }, "restriction": { "repetitions": 1, "period": { "end": "10/13/2021 11:30:00" } }, "output": [ { "type": { "text": "Colonoscopy Appointment" }, "valueReference": { "reference": "ServiceRequest/UKCore-ServiceRequest-ColonoscopyRequest-Example" } } ] }