Structured Data Capture
4.0.0-ballot - STU 4 ballot International flag

This page is part of the Structured Data Capture FHIR IG (v4.0.0-ballot: STU 4 Ballot 1) based on FHIR (HL7® FHIR® Standard) R4. The current version which supersedes this version is 3.0.0. For a full list of available versions, see the Directory of published versions

: Task-based solicitation example - JSON Representation

Page standards status: Informative

Raw json | Download

{
  "resourceType" : "Task",
  "id" : "example",
  "meta" : {
    "profile" : [
      🔗 "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-task"
    ]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Task example</b></p><a name=\"example\"> </a><a name=\"hcexample\"> </a><a name=\"example-en-US\"> </a><p><b>status</b>: Completed</p><p><b>intent</b>: order</p><p><b>code</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/sdc/CodeSystem/temp complete-questionnaire}\">Complete Questionnaire</span></p><p><b>for</b>: <a href=\"http://hl7.org/fhir/Patient/proband\">Annie Proband</a></p><p><b>authoredOn</b>: 2021-09-06</p><p><b>requester</b>: <a href=\"http://hl7.org/fhir/PractitionerRole/example\">Dr. Adam Careful, Acme Hospital</a></p><p><b>owner</b>: <a href=\"http://hl7.org/fhir/Patient/proband\">Annie Proband</a></p><p><b>reasonCode</b>: <span title=\"Codes:\">Pre-genomic analysis family history</span></p><blockquote><p><b>input</b></p><p><b>type</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/sdc/CodeSystem/temp questionnaire}\">Questionnaire</span></p><p><b>value</b>: <a href=\"Questionnaire-questionnaire-sdc-profile-example-ussg-fht.html\">US Surgeon General - Family Health Portrait</a></p></blockquote><blockquote><p><b>input</b></p><p><b>type</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/sdc/CodeSystem/temp response-endpoint}\">Response Endpoint</span></p><p><b>value</b>: <a href=\"http://example.org/someplace/QuestionnaireResponse\">http://example.org/someplace/QuestionnaireResponse</a></p></blockquote><blockquote><p><b>input</b></p><p><b>type</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/sdc/CodeSystem/temp response-endpoint}\">Response Endpoint</span></p><p><b>value</b>: <a href=\"http://example.org/some-other-place/Questionnaire/$process-response\">http://example.org/some-other-place/Questionnaire/$process-response</a></p></blockquote><h3>Outputs</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://hl7.org/fhir/uv/sdc/CodeSystem/temp questionnaire-response}\">Questionnaire Response</span></td><td><a href=\"QuestionnaireResponse-questionnaireresponse-sdc-example-ussg-fht-answers.html\">Response to Questionnaire '-&gt;US Surgeon General - Family Health Portrait' about '-&gt;http://hl7.org/fhir/Patient/proband'</a></td></tr></table></div>"
  },
  "status" : "completed",
  "intent" : "order",
  "code" : {
    "coding" : [
      {
        "system" : "http://hl7.org/fhir/uv/sdc/CodeSystem/temp",
        "code" : "complete-questionnaire"
      }
    ]
  },
  "for" : {
    "reference" : "http://hl7.org/fhir/Patient/proband",
    "display" : "Annie Proband"
  },
  "authoredOn" : "2021-09-06",
  "requester" : {
    "reference" : "http://hl7.org/fhir/PractitionerRole/example",
    "display" : "Dr. Adam Careful, Acme Hospital"
  },
  "owner" : {
    "reference" : "http://hl7.org/fhir/Patient/proband",
    "display" : "Annie Proband"
  },
  "reasonCode" : {
    "text" : "Pre-genomic analysis family history"
  },
  "input" : [
    {
      "type" : {
        "coding" : [
          {
            "system" : "http://hl7.org/fhir/uv/sdc/CodeSystem/temp",
            "code" : "questionnaire"
          }
        ]
      },
      "valueCanonical" : "http://hl7.org/fhir/uv/sdc/Questionnaire/questionnaire-sdc-profile-example-ussg-fht"
    },
    {
      "type" : {
        "coding" : [
          {
            "system" : "http://hl7.org/fhir/uv/sdc/CodeSystem/temp",
            "code" : "response-endpoint"
          }
        ]
      },
      "valueUrl" : "http://example.org/someplace/QuestionnaireResponse"
    },
    {
      "type" : {
        "coding" : [
          {
            "system" : "http://hl7.org/fhir/uv/sdc/CodeSystem/temp",
            "code" : "response-endpoint"
          }
        ]
      },
      "valueUrl" : "http://example.org/some-other-place/Questionnaire/$process-response"
    }
  ],
  "output" : [
    {
      "type" : {
        "coding" : [
          {
            "system" : "http://hl7.org/fhir/uv/sdc/CodeSystem/temp",
            "code" : "questionnaire-response"
          }
        ]
      },
      "valueReference" : {
        🔗 "reference" : "QuestionnaireResponse/questionnaireresponse-sdc-example-ussg-fht-answers"
      }
    }
  ]
}