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

Publication Build: This will be filled in by the publication tooling

## : CDex Task Example 25 - JSON Representation

Page standards status: Informative

Raw json | Download

    {
      "resourceType" : "Task",
      "id" : "cdex-task-example25",
      "text" : {
        "status" : "extensions",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Task cdex-task-example25</b></p><a name=\"cdex-task-example25\"> </a><a name=\"hccdex-task-example25\"> </a><a name=\"cdex-task-example25-en-US\"> </a><p><b>identifier</b>: Re-Association Tracking Control Number/trackingid1034</p><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-pas/CodeSystem/PASTempCodes attachment-request-questionnaire}\">Attachment Request Questionnaire</span></p><p><b>for</b>: <a href=\"#hccdex-task-example25/patient\">Amy Shaw  (no stated gender), DoB: 1987-02-20 ( Patient Account Number:\u00a0PA-123\u00a0(use:\u00a0usual,\u00a0))</a></p><p><b>authoredOn</b>: 2022-06-17 16:16:06+0000</p><p><b>lastModified</b>: 2022-06-18 16:46:06+0000</p><p><b>requester</b>: Identifier: <code>http://example.org/cdex/payer/payer-ids</code>/Payer123</p><p><b>owner</b>: <a href=\"#hccdex-task-example25/practitionerrole\">PractitionerRole</a></p><p><b>reasonCode</b>: <span title=\"Codes:{http://hl7.org/fhir/claim-use preauthorization}\">preauthorization</span></p><p><b>reasonReference</b>: Identifier: <code>http://example.org/cdex/payer/claim-ids</code>/Preauth123</p><h3>Restrictions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Period</b></td></tr><tr><td style=\"display: none\">*</td><td>?? --&gt; 2022-06-21</td></tr></table><blockquote><p><b>input</b></p><p><b>PALineNumber</b>: 1</p><p><b>type</b>: <span title=\"Codes:{http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes questionnaire-context}\">Questionnaire Context</span></p><p><b>value</b>: <code>http://example.org/base_adaptive_questionnaire</code></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 signature-flag}\">Signature Flag</span></p><p><b>value</b>: true</p></blockquote><blockquote><p><b>input</b></p><p><b>type</b>: <span title=\"Codes:{http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes payer-url}\">Payer URL</span></p><p><b>value</b>: <a href=\"http://example.org/cdex/payer/$submit-attachment\">http://example.org/cdex/payer/$submit-attachment</a></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 COVAUTH}\">coverage authorization</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-pas/CodeSystem/PASTempCodes questionnaire-context}\">Questionnaire Context</span></td><td><a href=\"QuestionnaireResponse-cdex-questionnaireresponse-example2.html\">Response to Questionnaire '#cdex-adaptive-questionnaire-example1' about '-&gt;display: string (PrimitiveType/QuestionnaireResponse.subject.display): element = string -&gt; display=string[Amy Shaw]'</a></td></tr></table><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Patient #patient</b></p><a name=\"cdex-task-example25/patient\"> </a><a name=\"hccdex-task-example25/patient\"> </a><a name=\"cdex-task-example25/patient-en-US\"> </a><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">Amy Shaw  (no stated gender), DoB: 1987-02-20 ( Patient Account Number:\u00a0PA-123\u00a0(use:\u00a0usual,\u00a0))</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Other Id (see the one above)\">Other Id:</td><td colspan=\"3\">Member Number/Member123\u00a0(use:\u00a0usual,\u00a0)</td></tr></table></blockquote><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: PractitionerRole #practitionerrole</b></p><a name=\"cdex-task-example25/practitionerrole\"> </a><a name=\"hccdex-task-example25/practitionerrole\"> </a><a name=\"cdex-task-example25/practitionerrole-en-US\"> </a><p><b>practitioner</b>: Identifier: <a href=\"http://terminology.hl7.org/5.3.0/NamingSystem-npi.html\" title=\"National Provider Identifier\">United States National Provider Identifier</a>/9941339100</p><p><b>organization</b>: Identifier: <a href=\"http://terminology.hl7.org/5.3.0/NamingSystem-npi.html\" title=\"National Provider Identifier\">United States National Provider Identifier</a>/1234567893</p></blockquote></div>"
      },
      "contained" : [
        {
          "resourceType" : "Patient",
          "id" : "patient",
          "identifier" : [
            {
              "use" : "usual",
              "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"
            },
            {
              "use" : "usual",
              "type" : {
                "coding" : [
                  {
                    "system" : "http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType",
                    "code" : "pat",
                    "display" : "Patient Account Number"
                  }
                ],
                "text" : "Patient Account Number"
              },
              "system" : "http://example.org/cdex/provider/patient-ids",
              "value" : "PA-123"
            }
          ],
          "name" : [
            {
              "family" : "Shaw",
              "given" : [
                "Amy"
              ]
            }
          ],
          "birthDate" : "1987-02-20"
        },
        {
          "resourceType" : "PractitionerRole",
          "id" : "practitionerrole",
          "practitioner" : {
            "identifier" : {
              "system" : "http://hl7.org/fhir/sid/us-npi",
              "value" : "9941339100"
            }
          },
          "organization" : {
            "identifier" : {
              "system" : "http://hl7.org/fhir/sid/us-npi",
              "value" : "1234567893"
            }
          }
        }
      ],
      "identifier" : [
        {
          "type" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-cdex/CodeSystem/cdex-temp",
                "code" : "tracking-id",
                "display" : "Tracking Id"
              }
            ],
            "text" : "Re-Association Tracking Control Number"
          },
          "system" : "http://example.org/payer",
          "value" : "trackingid1034"
        }
      ],
      "status" : "completed",
      "intent" : "order",
      "code" : {
        "coding" : [
          {
            "system" : "http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes",
            "code" : "attachment-request-questionnaire"
          }
        ],
        "text" : "Attachment Request Questionnaire"
      },
      "for" : {
        "reference" : "#patient"
      },
      "authoredOn" : "2022-06-17T16:16:06Z",
      "lastModified" : "2022-06-18T16:46:06Z",
      "requester" : {
        "identifier" : {
          "system" : "http://example.org/cdex/payer/payer-ids",
          "value" : "Payer123"
        }
      },
      "owner" : {
        "reference" : "#practitionerrole"
      },
      "reasonCode" : {
        "coding" : [
          {
            "system" : "http://hl7.org/fhir/claim-use",
            "code" : "preauthorization",
            "display" : "Preauthorization"
          }
        ],
        "text" : "preauthorization"
      },
      "reasonReference" : {
        "identifier" : {
          "system" : "http://example.org/cdex/payer/claim-ids",
          "value" : "Preauth123"
        }
      },
      "restriction" : {
        "period" : {
          "end" : "2022-06-21"
        }
      },
      "input" : [
        {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-paLineNumber",
              "valueInteger" : 1
            }
          ],
          "type" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes",
                "code" : "questionnaire-context"
              }
            ]
          },
          "valueCanonical" : "http://example.org/base_adaptive_questionnaire"
        },
        {
          "type" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-cdex/CodeSystem/cdex-temp",
                "code" : "signature-flag"
              }
            ]
          },
          "valueBoolean" : true
        },
        {
          "type" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes",
                "code" : "payer-url"
              }
            ]
          },
          "valueUrl" : "http://example.org/cdex/payer/$submit-attachment"
        },
        {
          "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" : "COVAUTH",
                "display" : "coverage authorization"
              }
            ]
          }
        }
      ],
      "output" : [
        {
          "type" : {
            "coding" : [
              {
                "system" : "http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes",
                "code" : "questionnaire-context"
              }
            ]
          },
          "valueReference" : {
            🔗 "reference" : "QuestionnaireResponse/cdex-questionnaireresponse-example2"
          }
        }
      ]
    }