This page is part of the Da Vinci Clinical Documentation Exchange (v0.2.0: STU1 Ballot 1) 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
{
"resourceType" : "Task",
"id" : "cdex-example2-query-failed",
"meta" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/instance-name",
"valueString" : "Scenario 2 Failed Task Example"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/instance-description",
"valueMarkdown" : "Task to seek a patient's HbA1c test results."
}
],
"profile" : [
"http://hl7.org/fhir/us/davinci-cdex/StructureDefinition/cdex-task-data-request"
]
},
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><p><b>status</b>: failed</p><p><b>statusReason</b>: <span title=\"Codes: \">No matching results</span></p><p><b>intent</b>: order</p><p><b>code</b>: <span title=\"Codes: {http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp data-request}\">data request task</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>: Oct 27, 2020 6:05:34 PM</p><p><b>lastModified</b>: Oct 28, 2020 1:23:27 AM</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-payer\">http://example.org/fhir/Organization/cdex-example-payer</a></p><p><b>reasonCode</b>: <span title=\"Codes: \">Quality reporting requirements and quality care scoring</span></p><h3>Inputs</h3><table class=\"grid\"><tr><td>-</td><td><b>Type</b></td><td><b>Value[x]</b></td></tr><tr><td>*</td><td><span title=\"Codes: {http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp data-query}\">data query input</span></td><td>Observation?patient=cdex-example-patient&date=gt2018-01-01&code=4548-4</td></tr></table></div>"
},
"status" : "failed",
"statusReason" : {
"text" : "No matching results"
},
"intent" : "order",
"code" : {
"coding" : [
{
"system" : "http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp",
"code" : "data-request"
}
]
},
"for" : {
"reference" : "http://example.org/fhir/Patient/cdex-example-patient"
},
"authoredOn" : "2020-10-27T11:05:34-07:00",
"lastModified" : "2020-10-27T18:23:27-07:00",
"requester" : {
"reference" : "http://example.org/fhir/Organization/cdex-example-payer"
},
"owner" : {
"reference" : "http://example.org/fhir/Organization/cdex-example-payer"
},
"reasonCode" : {
"text" : "Quality reporting requirements and quality care scoring"
},
"input" : [
{
"type" : {
"coding" : [
{
"system" : "http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp",
"code" : "data-query"
}
]
},
"valueString" : "Observation?patient=cdex-example-patient&date=gt2018-01-01&code=4548-4"
}
]
}