{

"resourceType": "Task",
"id": "example5",
"identifier": [
  {
    "use": "official",
    "system": "http:/goodhealth.org/identifiers",
    "value": "20170201-001"
  }
],
"basedOn": [
  {
    "display": "General Wellness Careplan"
  }
],
"groupIdentifier": {
  "use": "official",
  "system": "http:/goodhealth.org/accession/identifiers",
  "value": "G20170201-001"
},
"status": "in-progress",
"businessStatus": {
  "text": "specimen received, test in progress"
},
"intent": "order",
"priority": "routine",
"code": {
  "text": "Lipid Panel"
},
"description": "Create order for getting specimen, Set up inhouse testing,  generate order for any sendouts and submit with specimen",
"focus": {
  "reference": "ServiceRequest/lipid",
  "display": "Lipid Panel Request"
},
"for": {
  "reference": "Patient/example",
  "display": "Peter James Chalmers"
},
"encounter": {
  "reference": "Encounter/example",
  "display": "Example In-Patient Encounter"
},
"executionPeriod": {
  "start": "2016-10-31T08:25:05+10:00"
},
"authoredOn": "2016-10-31T08:25:05+10:00",
"lastModified": "2016-10-31T16:45:05+10:00",
"requester": {
  "reference": "Practitioner/example",
  "display": "Dr Adam Careful"
},
"performerType": [
  {
    "coding": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/task-performer-type",
        "code": "performer",
        "display": "Performer"
      }
    ],
    "text": "Performer"
  }
],
"owner": {
  "reference": "Organization/1832473e-2fe0-452d-abe9-3cdb9879522f",
  "display": "Clinical Laboratory @ Acme Hospital"
},
"reasonCode": {
  "text": "The Task.reason should only be included if there is no Task.focus or if it differs from the reason indicated on the focus"
},
"note": [
  {
    "text": "This is an example to demonstrate using task for actioning a servicerequest and to illustrate how to populate many of the task elements - this is the parent task that will be broken into subtask to grab the specimen and a sendout lab test "
  }
],
"restriction": {
  "repetitions": 1,
  "period": {
    "end": "2016-11-02T09:45:05+10:00"
  }
},
"output": [
  {
    "type": {
      "text": "collected specimen"
    },
    "valueReference": {
      "reference": "Specimen/101"
    }
  }
],
"meta": {
  "tag": [
    {
      "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
      "code": "HTEST",
      "display": "test health data"
    }
  ]
}

}