Da Vinci Clinical Data Exchange (CDex)
2.1.0 - STU 2.1

Da Vinci Clinical Data Exchange (CDex), published by HL7 International / Payer/Provider Information Exchange Work Group. This guide is not an authorized publication; it is the continuous build for version 2.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/davinci-ecdx/ and changes regularly. See the Directory of published versions

## : CDex Task Example 8 - JSON Representation

Page standards status: Informative

Raw json | Download

    {
      "resourceType" : "Task",
      "id" : "cdex-task-example8",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Task cdex-task-example8</b></p><a name=\"cdex-task-example8\"> </a><a name=\"hccdex-task-example8\"> </a><p><b>status</b>: Completed</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-code}\">Data Request Code</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 11:05:34-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>: <span title=\"Codes:{http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp data-code}\">data code input</span></p><p><b>value</b>: <span title=\"Codes:{http://loinc.org 11504-8}\">Operative note</span></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 COC}\">coordination of care</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-example8/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-example8/results\"> </a><a name=\"hccdex-task-example8/results\"> </a><p>Bundle results of type searchset</p><a name=\"https-//example.org/fhir/cdex-documentreference-example1\"> </a><a name=\"DocumentReference_cdex-documentreference-example1\"> </a><a name=\"hcDocumentReference_cdex-documentreference-example1\"> </a><hr/><p>Entry 1 - fullUrl = https://example.org/fhir/cdex-documentreference-example1</p><p>Search:Mode = match</p><p>Resource DocumentReference:</p><blockquote><p class=\"res-header-id\"><b>Generated Narrative: DocumentReference #cdex-documentreference-example1</b></p><a name=\"cdex-task-example8/results/cdex-documentreference-example1\"> </a><a name=\"hccdex-task-example8/results/cdex-documentreference-example1\"> </a><p><b>status</b>: Current</p><p><b>type</b>: <span title=\"Codes:{http://loinc.org 11504-8}\">Surgical Note</span></p><p><b>category</b>: <span title=\"Codes:{http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category clinical-note}\">Clinical Note 1</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>date</b>: 2022-07-13 10:30:00-0500</p><blockquote><p><b>content</b></p><h3>Attachments</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ContentType</b></td><td><b>Data</b></td><td><b>Hash</b></td><td><b>Title</b></td></tr><tr><td style=\"display: none\">*</td><td>text/xml</td><td>(base64 data - 16,172 base64 chars)</td><td><code>Am1WgpeDLm4IPpZUkEGnKqODuyM=</code></td><td>Example CCDA</td></tr></table></blockquote></blockquote></blockquote></div>"
      },
      "contained" : [
        {
          "resourceType" : "Bundle",
          "id" : "results",
          "type" : "searchset",
          "total" : 1,
          "link" : [
            {
              "relation" : "self",
              "url" : "https://example.org/fhir/DocumentReference?_id=cdex-documentreference-example1"
            }
          ],
          "entry" : [
            {
              "fullUrl" : "https://example.org/fhir/cdex-documentreference-example1",
              "resource" : {
                "resourceType" : "DocumentReference",
                "id" : "cdex-documentreference-example1",
                "status" : "current",
                "type" : {
                  "coding" : [
                    {
                      "system" : "http://loinc.org",
                      "code" : "11504-8",
                      "display" : "Operative note"
                    }
                  ],
                  "text" : "Surgical Note"
                },
                "category" : [
                  {
                    "coding" : [
                      {
                        "system" : "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category",
                        "code" : "clinical-note",
                        "display" : "Clinical Note"
                      }
                    ],
                    "text" : "Clinical Note 1"
                  }
                ],
                "subject" : {
                  "reference" : "http://example.org/fhir/Patient/cdex-example-patient"
                },
                "date" : "2022-07-13T10:30:00-05:00",
                "content" : [
                  {
                    "attachment" : {
                      "contentType" : "text/xml",
                      "data" : " ",
                      "hash" : "Am1WgpeDLm4IPpZUkEGnKqODuyM=",
                      "title" : "Example CCDA"
                    }
                  }
                ]
              },
              "search" : {
                "mode" : "match"
              }
            }
          ]
        }
      ],
      "status" : "completed",
      "intent" : "order",
      "code" : {
        "coding" : [
          {
            "system" : "http://hl7.org/fhir/us/davinci-cdex/CodeSystem/cdex-temp",
            "code" : "data-request-code"
          }
        ]
      },
      "for" : {
        "reference" : "http://example.org/fhir/Patient/cdex-example-patient"
      },
      "authoredOn" : "2020-10-27T11:05:34-07:00",
      "lastModified" : "2020-10-27T11:05:34-07:00",
      "requester" : {
        "reference" : "http://example.org/fhir/Organization/cdex-example-payer"
      },
      "owner" : {
        "reference" : "http://example.org/fhir/Organization/cdex-example-provider"
      },
      "input" : [
        {
          "type" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp",
                "code" : "data-code"
              }
            ]
          },
          "valueCodeableConcept" : {
            "coding" : [
              {
                "system" : "http://loinc.org",
                "code" : "11504-8"
              }
            ],
            "text" : "Operative note"
          }
        },
        {
          "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" : "COC"
              }
            ]
          }
        }
      ],
      "output" : [
        {
          "type" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp",
                "code" : "data-value"
              }
            ]
          },
          "valueReference" : {
            "reference" : "#results"
          }
        }
      ]
    }