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-example1-query-completed-contained",
"meta" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/instance-name",
"valueString" : "Scenario 1 Contained Example"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/instance-description",
"valueMarkdown" : "Completed Task to seek a patient active conditions using a contained resource for output."
}
],
"versionId" : "3",
"lastUpdated" : "2020-10-26T04:04:52.000+00:00",
"source" : "#tgH2FoPFuCq0yjw5",
"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>: completed</p><p><b>businessStatus</b>: <span title=\"Codes: \">Results reviewed for release</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 26, 2020 2:58:55 AM</p><p><b>lastModified</b>: Oct 26, 2020 4:04:52 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: \">Support prior authorization decision-making</span></p><p><b>reasonReference</b>: <a href=\"http://example.org/fhir/Claim/cdex-example-claim\">http://example.org/fhir/Claim/cdex-example-claim</a></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>Condition?patient=cdex-example-patient&clinical-status=active</td></tr></table><h3>Outputs</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-value}\">data values output</span></td><td><a name=\"results\"> </a><blockquote><p><b>type</b>: searchset</p><blockquote><p><b>entry</b></p><p><b>fullUrl</b>: <a href=\"http://example.org/fhir/Condition/858\">http://example.org/fhir/Condition/858</a></p><h3>Resources</h3><table class=\"grid\"><tr><td>-</td></tr><tr><td>*</td></tr></table><h3>Searches</h3><table class=\"grid\"><tr><td>-</td><td><b>Mode</b></td></tr><tr><td>*</td><td>match</td></tr></table></blockquote></blockquote></td></tr></table></div>"
},
"contained" : [
{
"resourceType" : "Bundle",
"id" : "results",
"type" : "searchset",
"entry" : [
{
"fullUrl" : "http://example.org/fhir/Condition/858",
"resource" : {
"resourceType" : "Condition",
"id" : "858",
"identifier" : [
{
"system" : "urn:oid:1.3.6.1.4.1.22812.4.111.0.4.1.2.1",
"value" : "1"
}
],
"clinicalStatus" : {
"coding" : [
{
"system" : "http://terminology.hl7.org/CodeSystem/condition-clinical",
"code" : "active"
}
]
},
"category" : [
{
"coding" : [
{
"system" : "http://snomed.info/sct",
"code" : "55607006",
"display" : "Problem"
},
{
"system" : "http://loinc.org",
"code" : "75326-9",
"display" : "Problem"
}
]
}
],
"code" : {
"coding" : [
{
"system" : "http://snomed.info/sct",
"code" : "44054006",
"display" : "Type 2 Diabetes Mellitus"
}
]
},
"subject" : {
"reference" : "http://example.org/fhir/Patient/cdex-example-patient"
},
"onsetDateTime" : "2006",
"asserter" : {
"reference" : "http://example.org/fhir/PractitionerRole/126"
}
},
"search" : {
"mode" : "match"
}
}
]
}
],
"status" : "completed",
"businessStatus" : {
"text" : "Results reviewed for release"
},
"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-26T02:58:55.179Z",
"lastModified" : "2020-10-26T04:04:52.019Z",
"requester" : {
"reference" : "http://example.org/fhir/Organization/cdex-example-payer"
},
"owner" : {
"reference" : "http://example.org/fhir/Organization/cdex-example-payer"
},
"reasonCode" : {
"text" : "Support prior authorization decision-making"
},
"reasonReference" : {
"reference" : "http://example.org/fhir/Claim/cdex-example-claim"
},
"input" : [
{
"type" : {
"coding" : [
{
"system" : "http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp",
"code" : "data-query"
}
]
},
"valueString" : "Condition?patient=cdex-example-patient&clinical-status=active"
}
],
"output" : [
{
"type" : {
"coding" : [
{
"system" : "http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp",
"code" : "data-value"
}
]
},
"valueReference" : {
"reference" : "#results"
}
}
]
}