put https://fhir-api.zapehr.com/r4b/Task/
Task on the FHIR specification website.
A task to be performed.
The body should be a valid FHIR object for Task.
Here is an example:
{
"resourceType": "Task",
"id": "example3",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: example3</p><p><b>status</b>: draft</p><p><b>intent</b>: order</p><p><b>code</b>: Refill Request <span>(Details )</span></p><p><b>focus</b>: <a>MedicationRequest/medrx002</a></p><p><b>for</b>: <a>Patient/f001</a></p><p><b>authoredOn</b>: 10/03/2016 10:39:32 PM</p><p><b>lastModified</b>: 10/03/2016 10:39:32 PM</p><p><b>requester</b>: <a>Patient/example</a></p><p><b>owner</b>: <a>Practitioner/example</a></p></div>"
},
"status": "draft",
"intent": "order",
"code": {
"text": "Refill Request"
},
"focus": {
"reference": "MedicationRequest/medrx002"
},
"for": {
"reference": "Patient/f001"
},
"authoredOn": "2016-03-10T22:39:32-04:00",
"lastModified": "2016-03-10T22:39:32-04:00",
"requester": {
"reference": "Patient/example"
},
"owner": {
"reference": "Practitioner/example"
}
}
You can reference the FHIR documentation to determine the format for Task
.