This page is part of the Da Vinci Clinical Documentation Exchange (v1.0.0: STU1) based on FHIR R4. The current version which supercedes this version is 1.1.0. For a full list of available versions, see the Directory of published versions
<Task xmlns="http://hl7.org/fhir">
<id value="cdex-example2-query-failed"/>
<meta>
<extension url="http://hl7.org/fhir/StructureDefinition/instance-name">
<valueString value="Scenario 3 Failed Task Example"/>
</extension>
<extension
url="http://hl7.org/fhir/StructureDefinition/instance-description">
<valueMarkdown
value="Task to seek a patient's HbA1c test results with a failed status."/>
</extension>
<profile
value="http://hl7.org/fhir/us/davinci-cdex/StructureDefinition/cdex-task-data-request"/>
<tag>
<system value="http://hl7.org/fhir/us/davinci-cdex/CodeSystem/cdex-temp"/>
<code value="claims-processing"/>
</tag>
</meta>
<text>
<status value="generated"/>
<div xmlns="http://www.w3.org/1999/xhtml"><p><b>Generated Narrative</b></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 "cdex-example2-query-failed" </p><p style="margin-bottom: 0px">Profile: <a href="StructureDefinition-cdex-task-data-request.html">CDex Task Data Request Profile</a></p><p style="margin-bottom: 0px">Tag: <span title="{http://hl7.org/fhir/us/davinci-cdex/CodeSystem/cdex-temp http://hl7.org/fhir/us/davinci-cdex/CodeSystem/cdex-temp}">http://hl7.org/fhir/us/davinci-cdex/CodeSystem/cdex-temp</span></p></div><p><b>status</b>: failed</p><p><b>statusReason</b>: No matching results <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> ()</span></p><p><b>intent</b>: order</p><p><b>code</b>: data request task <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://hl7.org/fhir/us/davinci-hrex/STU1/CodeSystem-hrex-temp.html">HRex Temporary Code System</a>#data-request)</span></p><p><b>for</b>: <a href="http://example.org/fhir/Patient/cdex-example-patient">http://example.org/fhir/Patient/cdex-example-patient</a></p><p><b>authoredOn</b>: 2020-10-27 11:05:34-0700</p><p><b>lastModified</b>: 2020-10-27 06:23:27-0700</p><p><b>requester</b>: <a href="http://example.org/fhir/Organization/cdex-example-payer">http://example.org/fhir/Organization/cdex-example-payer</a></p><p><b>owner</b>: <a href="http://example.org/fhir/Organization/cdex-example-provider">http://example.org/fhir/Organization/cdex-example-provider</a></p><blockquote><p><b>input</b></p><p><b>type</b>: data query input <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://hl7.org/fhir/us/davinci-hrex/STU1/CodeSystem-hrex-temp.html">HRex Temporary Code System</a>#data-query)</span></p><p><b>value</b>: Observation?patient=cdex-example-patient&date=gt2018-01-01&code=4548-4</p></blockquote><blockquote><p><b>input</b></p><p><b>type</b>: Purpose Of Use <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="CodeSystem-cdex-temp.html">CDex Temporary Code System</a>#purpose-of-use)</span></p><p><b>value</b>: health quality improvement <span style="background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki"> (<a href="http://terminology.hl7.org/3.1.0/CodeSystem-v3-ActReason.html">ActReason</a>#HQUALIMP)</span></p></blockquote></div>
</text>
<status value="failed"/>
<statusReason>
<text value="No matching results"/>
</statusReason>
<intent value="order"/>
<code>
<coding>
<system value="http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp"/>
<code value="data-request"/>
</coding>
</code>
<for>
<reference value="http://example.org/fhir/Patient/cdex-example-patient"/>
</for>
<authoredOn value="2020-10-27T11:05:34-07:00"/>
<lastModified value="2020-10-27T18:23:27-07:00"/>
<requester>
<reference value="http://example.org/fhir/Organization/cdex-example-payer"/>
</requester>
<owner>
<reference
value="http://example.org/fhir/Organization/cdex-example-provider"/>
</owner>
<input>
<type>
<coding>
<system value="http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp"/>
<code value="data-query"/>
</coding>
</type>
<valueString
value="Observation?patient=cdex-example-patient&date=gt2018-01-01&code=4548-4"/>
</input>
<input>
<type>
<coding>
<system value="http://hl7.org/fhir/us/davinci-cdex/CodeSystem/cdex-temp"/>
<code value="purpose-of-use"/>
</coding>
</type>
<valueCodeableConcept>
<coding>
<system value="http://terminology.hl7.org/CodeSystem/v3-ActReason"/>
<code value="HQUALIMP"/>
</coding>
</valueCodeableConcept>
</input>
</Task>