Da Vinci - Documentation Templates and Rules
1.0.0 - STU 1

Publication Build: This will be filled in by the publication tooling

## : DTR Task Example - R4 - JSON Representation

Raw json | Download

    {
      "resourceType" : "Task",
      "id" : "blood-gass-panel-task-r4",
      "meta" : {
        "profile" : [
          "http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-task-r4"
        ]
      },
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>This is an example Task that was created to request a Blood Gas Panel.</p></div>"
      },
      "contained" : [
        {
          "resourceType" : "Patient",
          "id" : "example1",
          "gender" : "male",
          "birthDate" : "1996-12-23",
          "address" : [
            {
              "use" : "home",
              "type" : "both",
              "state" : "MA"
            }
          ]
        },
        {
          "resourceType" : "Practitioner",
          "id" : "example2",
          "identifier" : [
            {
              "system" : "http://hl7.org/fhir/sid/us-npi",
              "value" : "1122334455"
            }
          ],
          "name" : [
            {
              "family" : "Doe",
              "given" : [
                "Jane"
              ],
              "prefix" : [
                "Dr."
              ]
            }
          ]
        },
        {
          "resourceType" : "ServiceRequest",
          "id" : "example4",
          "status" : "active",
          "intent" : "original-order",
          "code" : {
            "coding" : [
              {
                "system" : "http://loinc.org",
                "code" : "24338-6"
              }
            ],
            "text" : "Gas panel - Blood"
          },
          "subject" : {
            "reference" : "#example1"
          },
          "occurrenceDateTime" : "2019-05-08T09:33:27+07:00",
          "requester" : {
            "reference" : "#example2",
            "display" : "Dr. Jane Doe"
          },
          "reasonCode" : [
            {
              "text" : "Check for O2 blood saturation levels"
            }
          ]
        }
      ],
      "basedOn" : [
        {
          "display" : "home-o2-questionnaire"
        }
      ],
      "status" : "requested",
      "intent" : "order",
      "priority" : "routine",
      "description" : "Create order for getting O2 blood saturation levels",
      "focus" : {
        "reference" : "#example4",
        "display" : "Blood gas panel request"
      },
      "for" : {
        "reference" : "#example1"
      },
      "executionPeriod" : {
        "start" : "2019-07-13T08:25:05+10:00"
      },
      "authoredOn" : "2019-07-18T08:25:05+10:00",
      "lastModified" : "2019-07-18T09:45:05+10:00",
      "requester" : {
        "reference" : "#example2",
        "display" : "Dr Jane Doe"
      },
      "performerType" : [
        {
          "coding" : [
            {
              "system" : "http://snomed.info/sct",
              "code" : "18850004"
            }
          ],
          "text" : "Performer"
        }
      ],
      "restriction" : {
        "repetitions" : 1,
        "period" : {
          "end" : "2016-11-02T09:45:05+10:00"
        }
      }
    }