Structured Data Capture
3.0.0 - STU 3 International flag

Structured Data Capture, published by HL7 International / FHIR Infrastructure. This guide is not an authorized publication; it is the continuous build for version 3.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/sdc/ and changes regularly. See the Directory of published versions

: Task-based solicitation example - XML Representation

Page standards status: Informative

Raw xml | Download



<Task xmlns="http://hl7.org/fhir">
  <id value="example"/>
  <meta>
    <profile value="http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-task"/>
  </meta>
  <text>
    <status value="generated"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative: Task</b><a name="example"> </a></p><div style="display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%"><p style="margin-bottom: 0px">Resource Task &quot;example&quot; </p><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-sdc-task.html">Task Questionnaire</a></p></div><p><b>status</b>: completed</p><p><b>intent</b>: order</p><p><b>code</b>: Complete Questionnaire <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="CodeSystem-temp.html">Temporary SDC Codes</a>#complete-questionnaire)</span></p><p><b>for</b>: <a href="http://hl7.org/fhir/Patient/proband">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">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">http://hl7.org/fhir/Patient/proband: Annie Proband</a></p><p><b>reasonCode</b>: Pre-genomic analysis family history <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> ()</span></p><blockquote><p><b>input</b></p><p><b>type</b>: Questionnaire <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="CodeSystem-temp.html">Temporary SDC Codes</a>#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>: Response Endpoint <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="CodeSystem-temp.html">Temporary SDC Codes</a>#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>: Response Endpoint <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="CodeSystem-temp.html">Temporary SDC Codes</a>#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>Questionnaire Response <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="CodeSystem-temp.html">Temporary SDC Codes</a>#questionnaire-response)</span></td><td><a href="QuestionnaireResponse-questionnaireresponse-sdc-example-ussg-fht-answers.html">QuestionnaireResponse/questionnaireresponse-sdc-example-ussg-fht-answers</a></td></tr></table></div>
  </text>
  <status value="completed"/>
  <intent value="order"/>
  <code>
    <coding>
      <system value="http://hl7.org/fhir/uv/sdc/CodeSystem/temp"/>
      <code value="complete-questionnaire"/>
    </coding>
  </code>
  <for>
    <reference value="http://hl7.org/fhir/Patient/proband"/>
    <display value="Annie Proband"/>
  </for>
  <authoredOn value="2021-09-06"/>
  <requester>
    <reference value="http://hl7.org/fhir/PractitionerRole/example"/>
    <display value="Dr. Adam Careful, Acme Hospital"/>
  </requester>
  <owner>
    <reference value="http://hl7.org/fhir/Patient/proband"/>
    <display value="Annie Proband"/>
  </owner>
  <reasonCode>
    <text value="Pre-genomic analysis family history"/>
  </reasonCode>
  <input>
    <type>
      <coding>
        <system value="http://hl7.org/fhir/uv/sdc/CodeSystem/temp"/>
        <code value="questionnaire"/>
      </coding>
    </type>
    <valueCanonical
                    value="http://hl7.org/fhir/uv/sdc/Questionnaire/questionnaire-sdc-profile-example-ussg-fht"/>
  </input>
  <input>
    <type>
      <coding>
        <system value="http://hl7.org/fhir/uv/sdc/CodeSystem/temp"/>
        <code value="response-endpoint"/>
      </coding>
    </type>
    <valueUrl value="http://example.org/someplace/QuestionnaireResponse"/>
  </input>
  <input>
    <type>
      <coding>
        <system value="http://hl7.org/fhir/uv/sdc/CodeSystem/temp"/>
        <code value="response-endpoint"/>
      </coding>
    </type>
    <valueUrl
              value="http://example.org/some-other-place/Questionnaire/$process-response"/>
  </input>
  <output>
    <type>
      <coding>
        <system value="http://hl7.org/fhir/uv/sdc/CodeSystem/temp"/>
        <code value="questionnaire-response"/>
      </coding>
    </type>
    <valueReference>🔗 
      <reference
                 value="QuestionnaireResponse/questionnaireresponse-sdc-example-ussg-fht-answers"/>
    </valueReference>
  </output>
</Task>