{
  "resourceType" : "Task",
  "meta" : {
    "extension" : [{
      "url" : "http://hl7.org/fhir/StructureDefinition/instance-name",
      "valueString" : "CDex Inline Task Example 15"
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/instance-description",
      "valueMarkdown" : "Task example used to create inline [requests for provenance using task based transaction](task-based-approach.html#example-requests-for-provenance-using-task-based-transaction)"
    }],
    "profile" : ["http://hl7.org/fhir/us/davinci-cdex/StructureDefinition/cdex-task-data-request"]
  },
  "language" : "en",
  "status" : "requested",
  "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-26T02:58:55.179Z",
  "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=[reference]&clinical-status=active,recurrance,remission&_revinclude=Provenance:target"
  },
  {
    "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"
      }]
    }
  }]
}