{
  "resourceType" : "Task",
  "id" : "cdex-task-example3",
  "meta" : {
    "versionId" : "3",
    "lastUpdated" : "2020-10-26T04:04:52.000+00:00",
    "source" : "#tgH2FoPFuCq0yjw5",
    "tag" : [{
      "system" : "http://hl7.org/fhir/us/davinci-cdex/CodeSystem/cdex-temp",
      "code" : "claims-processing"
    }]
  },
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Task cdex-task-example3</b></p><a name=\"cdex-task-example3\"> </a><a name=\"hccdex-task-example3\"> </a><a name=\"cdex-task-example3-en-US\"> </a><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\">version: 3; Last updated: 2020-10-26 04:04:52+0000; </p><p style=\"margin-bottom: 0px\">Information Source: #tgH2FoPFuCq0yjw5</p><p style=\"margin-bottom: 0px\">Tag: Claim Processing (Details: CDex Temporary Code System code claims-processing = 'Claim Processing')</p></div><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-cdex/CodeSystem/cdex-temp data-request-query}\">Data Request Query</span></p><p><b>for</b>: Identifier: Member Number/Member123</p><p><b>authoredOn</b>: 2020-10-26 02:58:55+0000</p><p><b>lastModified</b>: 2020-10-26 04:04:52+0000</p><p><b>requester</b>: Identifier: <code>http://example.org/cdex/payer/payer-ids</code>/Payer123</p><p><b>owner</b>: Identifier: <a href=\"http://terminology.hl7.org/5.3.0/NamingSystem-npi.html\" title=\"National Provider Identifier\">United States National Provider Identifier</a>/9941339108</p><p><b>reasonReference</b>: Identifier: Payer Claim ID/Claim123</p><blockquote><p><b>input</b></p><p><b>type</b>: <span title=\"Codes:{http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp data-query}\">data query input</span></p><p><b>value</b>: Condition?patient=cdex-example-patient&amp;clinical-status=active</p></blockquote><blockquote><p><b>input</b></p><p><b>type</b>: <span title=\"Codes:{http://hl7.org/fhir/us/davinci-cdex/CodeSystem/cdex-temp purpose-of-use}\">Purpose Of Use</span></p><p><b>value</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ActReason COVERAGE}\">coverage under policy or program</span></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/us/davinci-hrex/CodeSystem/hrex-temp data-value}\">data values output</span></td><td><a href=\"#hccdex-task-example3/results\">Bundle: type = searchset; total = 1</a></td></tr></table><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Bundle #results</b></p><a name=\"cdex-task-example3/results\"> </a><a name=\"hccdex-task-example3/results\"> </a><a name=\"cdex-task-example3/results-en-US\"> </a><p>Bundle results of type searchset</p><a name=\"http-//example.org/fhir/Condition/858\"> </a><a name=\"Condition_858\"> </a><a name=\"hcCondition_858\"> </a><hr/><p>Entry 1 - fullUrl = http://example.org/fhir/Condition/858</p><p>Search:Mode = match</p><p>Resource Condition:</p><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Condition #858</b></p><a name=\"cdex-task-example3/results/858\"> </a><a name=\"hccdex-task-example3/results/858\"> </a><a name=\"cdex-task-example3/results/858-en-US\"> </a><p><b>identifier</b>: <code>urn:oid:1.3.6.1.4.1.22812.4.111.0.4.1.2.1</code>/1</p><p><b>clinicalStatus</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/condition-clinical active}\">Active</span></p><p><b>category</b>: <span title=\"Codes:{http://snomed.info/sct 55607006}, {http://terminology.hl7.org/CodeSystem/condition-category problem-list-item}\">Problem</span></p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 44054006}\">Type 2 Diabetes Mellitus</span></p><p><b>subject</b>: <a href=\"http://example.org/fhir/Patient/cdex-example-patient\">http://example.org/fhir/Patient/cdex-example-patient</a></p><p><b>onset</b>: 2006</p><p><b>asserter</b>: <a href=\"http://example.org/fhir/PractitionerRole/126\">http://example.org/fhir/PractitionerRole/126</a></p></blockquote></blockquote></div>"
  },
  "contained" : [{
    "resourceType" : "Bundle",
    "id" : "results",
    "type" : "searchset",
    "total" : 1,
    "link" : [{
      "relation" : "self",
      "url" : "https://example.com/base/Condition?patient=cdex-example-patient&clinical-status=active"
    }],
    "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://terminology.hl7.org/CodeSystem/condition-category",
            "code" : "problem-list-item",
            "display" : "Problem List Item"
          }]
        }],
        "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-cdex/CodeSystem/cdex-temp",
      "code" : "data-request-query"
    }]
  },
  "for" : {
    "identifier" : {
      "type" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
          "code" : "MB",
          "display" : "Member Number"
        }],
        "text" : "Member Number"
      },
      "system" : "http://example.org/cdex/payer/member-ids",
      "value" : "Member123"
    }
  },
  "authoredOn" : "2020-10-26T02:58:55.179Z",
  "lastModified" : "2020-10-26T04:04:52.019Z",
  "requester" : {
    "identifier" : {
      "system" : "http://example.org/cdex/payer/payer-ids",
      "value" : "Payer123"
    }
  },
  "owner" : {
    "identifier" : {
      "system" : "http://hl7.org/fhir/sid/us-npi",
      "value" : "9941339108"
    }
  },
  "reasonReference" : {
    "identifier" : {
      "type" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
          "code" : "FILL",
          "display" : "Filler Identifier"
        }],
        "text" : "Payer Claim ID"
      },
      "system" : "http://example.org/cdex/payer/claim-ids",
      "value" : "Claim123"
    }
  },
  "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"
  },
  {
    "type" : {
      "coding" : [{
        "system" : "http://hl7.org/fhir/us/davinci-cdex/CodeSystem/cdex-temp",
        "code" : "purpose-of-use"
      }]
    },
    "valueCodeableConcept" : {
      "coding" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/v3-ActReason",
        "code" : "COVERAGE"
      }]
    }
  }],
  "output" : [{
    "type" : {
      "coding" : [{
        "system" : "http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp",
        "code" : "data-value"
      }]
    },
    "valueReference" : {
      "reference" : "#results"
    }
  }]
}