Da Vinci - Coverage Requirements Discovery
2.2.0-snapshot - STU 2.2 Peer Review

Da Vinci - Coverage Requirements Discovery, published by HL7 International / Financial Management. This guide is not an authorized publication; it is the continuous build for version 2.2.0-snapshot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/davinci-crd/ and changes regularly. See the Directory of published versions

## Binary: Example CRD Discovery Response

    {
      "services" : [
        {
          "extension" : {
            "davinci-crd.version" : [
              "2.1",
              "2.2"
            ],
            "davinci-crd.configuration-options" : [
              {
                "code" : "coverage-info",
                "type" : "boolean",
                "name" : "Coverage Information",
                "description" : "Information related to the patient's coverage, including whether a scheduled service is covered, requires prior authorization, is approved without seeking prior authorization, and/or requires additional documentation or data collection",
                "default" : true
              },
              {
                "code" : "insurance",
                "type" : "boolean",
                "name" : "Insurance Updates",
                "description" : "Allows a provider to receive updates to the patient's coverage information from the payer (e.g. expiry date, coverage extensions)",
                "default" : true
              },
              {
                "code" : "clinical-reminder",
                "type" : "boolean",
                "name" : "Clinical Reminders",
                "description" : "Alerts that a patient is due for certain screening or other therapy (based on payer recorded date of last intervention) that could potentially be performed at the time of the appointment, or for which an additional appointment might be made",
                "default" : true
              },
              {
                "code" : "duplicate-therapy",
                "type" : "boolean",
                "name" : "Duplicate Therapy",
                "description" : "Alerts that the service being booked is in close proximity to an already delivered or scheduled service and may be unnecessary",
                "default" : true
              },
              {
                "code" : "off-guideline",
                "type" : "boolean",
                "name" : "Off Guideline",
                "description" : "Alerts that a proposed appointment might be counter to a best-practice guideline, with opportunity to review the guideline",
                "default" : true
              },
              {
                "code" : "guideline",
                "type" : "boolean",
                "name" : "Guidelines",
                "description" : "Indication that there is a guideline available for the proposed appointment (with an option to view)",
                "default" : true
              },
              {
                "code" : "cost",
                "type" : "boolean",
                "name" : "Cost Information",
                "description" : "Information about the anticipated cost to the patient for the service being scheduled based on their coverage",
                "default" : true
              },
              {
                "code" : "claim",
                "type" : "boolean",
                "name" : "Claim Guidance",
                "description" : "Information about what steps need to be taken to submit a claim for the service",
                "default" : true
              },
              {
                "code" : "network",
                "type" : "boolean",
                "name" : "Network Information",
                "description" : "Information about in-network providers that could deliver the scheduled service (or in-network alternatives for an order directed out-of-network)",
                "default" : true
              },
              {
                "code" : "appropriate-use",
                "type" : "boolean",
                "name" : "Appropriate use",
                "description" : "Guidance on whether appropriate-use documentation is needed",
                "default" : true
              },
              {
                "code" : "max-cards",
                "type" : "integer",
                "name" : "Maximum cards",
                "description" : "Indicates the maximum number of cards to be returned from the service.  The services will prioritize cards such as highest priority ones are delivered",
                "default" : 10
              }
            ]
          },
          "hook" : "appointment-book",
          "title" : "Payer XYZ Appointment Booking Decision Support",
          "id" : "appointment-book-crd",
          "description" : "Indicates coverage requirements associated with draft orders, including expectations for prior authorization, recommended therapy alternatives, etc.",
          "prefetch" : {
            "patient" : "Patient/{{context.patientId}}",
            "encounter" : "Encounter/{{context.encounterId}}",
            "coverage" : "Coverage?patient={{context.patientId}}&status=active",
            "serviceRequest" : "ServiceRequest?_id={{context.appointments.entry.resource.basedOn.resolve().id}}",
            "practitionerRoles" : "PractitionerRole?_id={{%encounter.participant.individual.resolve().ofType(PractitionerRole).id|%encounter.serviceProvider.resolve().ofType(PractitionerRole).id|context.appointments.entry.resource.participant.actor.resolve().ofType(PractitionerRole).id|context.appointments.entry.resource.basedOn.resolve.performer.resolve().ofType(PractitionerRole).id|context.appointments.entry.resource.basedOn.resolve.requester.resolve().ofType(PractitionerRole).id|context.appointments.entry.resource.basedOn.resolve.performer.resolve().ofType(PractitionerRole).id|context.appointments.entry.resource.basedOn.resolve.requester.resolve().ofType(PractitionerRole).id}}",
            "practitioners" : "Practitioner?_id={{%practitionerRoles.practitioner.resolve().id|%encounter.participant.individual.resolve().ofType(Practitioner).id|%encounter.serviceProvider.resolve().ofType(Practitioner).id|context.appointments.entry.resource.participant.actor.resolve().ofType(Practitioner).id|context.appointments.entry.resource.basedOn.resolve.performer.resolve().ofType(Practitioner).id|context.appointments.entry.resource.basedOn.resolve.requester.resolve().ofType(Practitioner).id",
            "organizations" : "Organization?_id={{%practitionerRoles.practitioner.resolve().id}}",
            "locations" : "Practitioner?_id={{%practitionerRoles.location.resolve().id|%encounter.location.location.resolve().ofType(Location).id|context.appointments.entry.resource.participant.actor.resolve().ofType(Location).id|%encounter.serviceProvider.resolve().ofType(PractitionerRole).location.resolve().id}}"
          }
        },
        {
          "extension" : {
            "davinci-crd.version" : [
              "2.2"
            ],
            "davinci-crd.configuration-options" : [
              {
                "code" : "coverage-info",
                "type" : "boolean",
                "name" : "Coverage Information",
                "description" : "Information related to the patient's coverage, including whether the service(s) for which the patient is being admitted are covered, require prior authorization, are approved without seeking prior authorization, and/or require additional documentation or data collection",
                "default" : true
              },
              {
                "code" : "insurance",
                "type" : "boolean",
                "name" : "Insurance Updates",
                "description" : "Allows a provider to receive updates to the patient's coverage information from the payer (e.g. expiry date, coverage extensions)",
                "default" : true
              },
              {
                "code" : "clinical-reminder",
                "type" : "boolean",
                "name" : "Clinical Reminders",
                "description" : "Alerts that a patient is due for certain screening or other therapy (based on payer recorded date of last intervention) that could potentially be performed as part of this encounter",
                "default" : true
              },
              {
                "code" : "duplicate-therapy",
                "type" : "boolean",
                "name" : "Duplicate Therapy",
                "description" : "Alerts that the being performed is in close proximity to an already delivered or scheduled service and may be unnecessary",
                "default" : true
              },
              {
                "code" : "off-guideline",
                "type" : "boolean",
                "name" : "Off Guideline",
                "description" : "Alerts that one or more of the services for this encounter might be counter to a best-practice guideline, with opportunity to review the guideline",
                "default" : true
              },
              {
                "code" : "guideline",
                "type" : "boolean",
                "name" : "Guidelines",
                "description" : "Indication that there is a guideline available for one or more of the services for the current encounter (with an option to view)",
                "default" : true
              },
              {
                "code" : "claim",
                "type" : "boolean",
                "name" : "Claim Guidance",
                "description" : "Information about what steps need to be taken to submit a claim for services delivered during the encounter",
                "default" : true
              },
              {
                "code" : "appropriate-use",
                "type" : "boolean",
                "name" : "Appropriate use",
                "description" : "Guidance on whether appropriate-use documentation is needed",
                "default" : true
              },
              {
                "code" : "max-cards",
                "type" : "integer",
                "name" : "Maximum cards",
                "description" : "Indicates the maximum number of cards to be returned from the service.  The services will prioritize cards such as highest priority ones are delivered",
                "default" : 10
              }
            ]
          },
          "hook" : "encounter-start",
          "title" : "Payer XYZ Start of Encounter Decision Support",
          "id" : "encounter-start-crd",
          "description" : "Guidance provided at the start of an encounter",
          "prefetch" : {
            "patient" : "Patient/{{context.patientId}}",
            "encounter" : "Encounter/{{context.encounterId}}",
            "coverage" : "Coverage?patient={{context.patientId}}&status=active",
            "practitionerRoles" : "PractitionerRole?_id={{%encounter.participant.individual.resolve().ofType(PractitionerRole).id|%encounter.serviceProvider.resolve().ofType(PractitionerRole).id}}",
            "practitioners" : "Practitioner?_id={{%practitionerRoles.practitioner.resolve().id|%encounter.participant.individual.resolve().ofType(Practitioner).id|%encounter.serviceProvider.resolve().ofType(Practitioner).id}}",
            "organizations" : "Organization?_id={{%practitionerRoles.organization.resolve().id}}",
            "locations" : "Practitioner?_id={{%practitionerRoles.location.resolve().id|%encounter.location.location.resolve().ofType(Location).id}}"
          }
        },
        {
          "extension" : {
            "davinci-crd.version" : [
              "2.2"
            ],
            "davinci-crd.configuration-options" : [
              {
                "code" : "clinical-reminder",
                "type" : "boolean",
                "name" : "Clinical Reminders",
                "description" : "Alerts that a patient is due for certain screening or other therapy (based on payer recorded date of last intervention) that could potentially be performed as part of this encounter",
                "default" : true
              },
              {
                "code" : "claim",
                "type" : "boolean",
                "name" : "Claim Guidance",
                "description" : "Information about what steps need to be taken to submit a claim for services delivered during the encounter",
                "default" : true
              },
              {
                "code" : "max-cards",
                "type" : "integer",
                "name" : "Maximum cards",
                "description" : "Indicates the maximum number of cards to be returned from the service.  The services will prioritize cards such as highest priority ones are delivered",
                "default" : 10
              }
            ]
          },
          "hook" : "encounter-discharge",
          "title" : "Payer XYZ Encounter Discharge Decision Support",
          "id" : "encounter-discharge-crd",
          "description" : "Guidance provided at the time an encounter is ending",
          "prefetch" : {
            "patient" : "Patient/{{context.patientId}}",
            "encounter" : "Encounter/{{context.encounterId}}",
            "coverage" : "Coverage?patient={{context.patientId}}&status=active",
            "practitionerRoles" : "PractitionerRole?_id={{%encounter.participant.individual.resolve().ofType(PractitionerRole).id|%encounter.serviceProvider.resolve().ofType(PractitionerRole).id}}",
            "practitioners" : "Practitioner?_id={{%practitionerRoles.practitioner.resolve().id|%encounter.participant.individual.resolve().ofType(Practitioner).id|%encounter.serviceProvider.resolve().ofType(Practitioner).id}}",
            "organizations" : "Organization?_id={{%practitionerRoles.organization.resolve().id}}",
            "locations" : "Practitioner?_id={{%practitionerRoles.location.resolve().id|%encounter.location.location.resolve().ofType(Location).id}}"
          }
        },
        {
          "extension" : {
            "davinci-crd.version" : [
              "2.2"
            ],
            "davinci-crd.configuration-options" : [
              {
                "code" : "coverage-info",
                "type" : "boolean",
                "name" : "Coverage Information",
                "description" : "Information related to the patient's coverage, including whether a service is covered, requires prior authorization, is approved without seeking prior authorization, and/or requires additional documentation or data collection",
                "default" : true
              },
              {
                "code" : "max-cards",
                "type" : "integer",
                "name" : "Maximum cards",
                "description" : "Indicates the maximum number of cards to be returned from the service.  The services will prioritize cards such as highest priority ones are delivered",
                "default" : 10
              }
            ]
          },
          "hook" : "order-dispatch",
          "title" : "Payer XYZ Order Dispatch Decision Support",
          "id" : "order-dispatch-crd",
          "description" : "Guidance provided at the time an order is being routed to a specific performer",
          "prefetch" : {
            "patient" : "Patient/{{context.patientId}}",
            "encounter" : "Encounter/{{context.encounterId}}",
            "coverage" : "Coverage?patient={{context.patientId}}&status=active",
            "device" : "Device?_id={{context.dispatchedOrders.entry.resource.ofType(DeviceRequest).code.resolve().id}}",
            "medication" : "Medication?_id={{context.dispatchedOrders.entry.resource.ofType(MedicationRequest).mediation}}",
            "practitionerRoles" : "PractitionerRole?_id={{%encounter.participant.individual.resolve().ofType(PractitionerRole).id|%encounter.serviceProvider.resolve().ofType(PractitionerRole).id|context.draftOrders.entry.resource.sender.resolve().ofType(PractitionerRole).id|context.draftOrders.entry.resource.recipient.resolve().ofType(PractitionerRole).id|context.draftOrders.entry.resource.requester.resolve().ofType(PractitionerRole).id|context.draftOrders.entry.resource.performer.resolve().ofType(PractitionerRole).id|context.draftOrders.entry.resource.orderer.resolve().ofType(PractitionerRole).id|context.draftOrders.entry.resource.prescriber.resolve().ofType(PractitionerRole).id}}",
            "practitioners" : "Practitioner?_id={{%practitionerRoles.practitioner.resolve().id|%encounter.participant.individual.resolve().ofType(Practitioner).id|%encounter.serviceProvider.resolve().ofType(Practitioner).id|context.draftOrders.entry.resource.sender.resolve().ofType(Practitioner).id|context.draftOrders.entry.resource.recipient.resolve().ofType(Practitioner).id|context.draftOrders.entry.resource.requester.resolve().ofType(Practitioner).id|context.draftOrders.entry.resource.performer.resolve().ofType(Practitioner).id|context.draftOrders.entry.resource.orderer.resolve().ofType(Practitioner).id|context.draftOrders.entry.resource.prescriber.resolve().ofType(Practitioner).id}}",
            "organizations" : "Organization?_id={{%practitionerRoles.organization.resolve().id|context.draftOrders.entry.resource.dispenseRequest.performer.ofType(Organization).id}}",
            "locations" : "Location?_id={{%practitionerRoles.location.resolve().id|%encounter.location.location.resolve().ofType(Location).id|context.draftOrders.entry.locationReference.resolve().ofType(Location).id}}"
          }
        },
        {
          "extension" : {
            "davinci-crd.version" : [
              "2.2"
            ],
            "davinci-crd.configuration-options" : [
              {
                "code" : "coverage-info",
                "type" : "boolean",
                "name" : "Coverage Information",
                "description" : "Information related to the patient's coverage, including whether a service is covered, requires prior authorization, is approved without seeking prior authorization, and/or requires additional documentation or data collection",
                "default" : true
              },
              {
                "code" : "insurance",
                "type" : "boolean",
                "name" : "Insurance Updates",
                "description" : "Allows a provider to receive updates to the patient's coverage information from the payer (e.g. expiry date, coverage extensions)",
                "default" : true
              },
              {
                "code" : "clinical-reminder",
                "type" : "boolean",
                "name" : "Clinical Reminders",
                "description" : "Alerts that a patient is due for certain screening or other therapy (based on payer recorded date of last intervention) that could potentially be performed at the time of the appointment, or for which an additional appointment might be made",
                "default" : true
              },
              {
                "code" : "duplicate-therapy",
                "type" : "boolean",
                "name" : "Duplicate Therapy",
                "description" : "Alerts that the service being booked is in close proximity to an already delivered or scheduled service and may be unnecessary",
                "default" : true
              },
              {
                "code" : "off-guideline",
                "type" : "boolean",
                "name" : "Off Guideline",
                "description" : "Alerts that a proposed appointment might be counter to a best-practice guideline, with opportunity to review the guideline",
                "default" : true
              },
              {
                "code" : "guideline",
                "type" : "boolean",
                "name" : "Guidelines",
                "description" : "Indication that there is a guideline available for the proposed appointment (with an option to view)",
                "default" : true
              },
              {
                "code" : "cost",
                "type" : "boolean",
                "name" : "Cost Information",
                "description" : "Information about the anticipated cost to the patient for the service being scheduled based on their coverage",
                "default" : true
              },
              {
                "code" : "claim",
                "type" : "boolean",
                "name" : "Claim Guidance",
                "description" : "Information about what steps need to be taken to submit a claim for the service",
                "default" : true
              },
              {
                "code" : "network",
                "type" : "boolean",
                "name" : "Network Information",
                "description" : "Information about in-network providers that could deliver the scheduled service (or in-network alternatives for an order directed out-of-network)",
                "default" : true
              },
              {
                "code" : "appropriate-use",
                "type" : "boolean",
                "name" : "Appropriate use",
                "description" : "Guidance on whether appropriate-use documentation is needed",
                "default" : true
              },
              {
                "code" : "therapy-alternatives-opt",
                "type" : "boolean",
                "name" : "Optional Therapy Alternatives",
                "description" : "Are there alternative therapies that have better coverage and/or are lower-cost for the patient",
                "default" : true
              },
              {
                "code" : "therapy-alternatives-req",
                "type" : "boolean",
                "name" : "Required Therapy Alternatives",
                "description" : "Are there alternative therapies that must be tried first prior to coverage being available for the proposed therapy",
                "default" : true
              },
              {
                "code" : "contraindication",
                "type" : "boolean",
                "name" : "Contraindication",
                "description" : "Notices that an order may be contraindicated based on information the payer has in their record that the provider doesn't have in theirs",
                "default" : true
              },
              {
                "code" : "max-cards",
                "type" : "integer",
                "name" : "Maximum cards",
                "description" : "Indicates the maximum number of cards to be returned from the service.  The services will prioritize cards such as highest priority ones are delivered",
                "default" : 10
              }
            ]
          },
          "hook" : "order-select",
          "title" : "Payer XYZ Order Selection Decision Support",
          "id" : "order-select-crd",
          "description" : "Indicates coverage requirements associated with draft orders, including expectations for prior authorization, recommended therapy alternatives, etc.",
          "prefetch" : {
            "patient" : "Patient/{{context.patientId}}",
            "encounter" : "Encounter/{{context.encounterId}}",
            "coverage" : "Coverage?patient={{context.patientId}}&status=active",
            "device" : "Device?_id={{context.draftOrders.entry.resource.ofType(DeviceRequest).code.resolve().id}}",
            "medication" : "Medication?_id={{context.draftOrders.entry.resource.ofType(MedicationRequest).mediation}}",
            "practitionerRoles" : "PractitionerRole?_id={{%encounter.participant.individual.resolve().ofType(PractitionerRole).id|%encounter.serviceProvider.resolve().ofType(PractitionerRole).id|context.draftOrders.entry.resource.sender.resolve().ofType(PractitionerRole).id|context.draftOrders.entry.resource.recipient.resolve().ofType(PractitionerRole).id|context.draftOrders.entry.resource.requester.resolve().ofType(PractitionerRole).id|context.draftOrders.entry.resource.performer.resolve().ofType(PractitionerRole).id|context.draftOrders.entry.resource.orderer.resolve().ofType(PractitionerRole).id|context.draftOrders.entry.resource.prescriber.resolve().ofType(PractitionerRole).id}}",
            "practitioners" : "Practitioner?_id={{%practitionerRoles.practitioner.resolve().id|%encounter.participant.individual.resolve().ofType(Practitioner).id|%encounter.serviceProvider.resolve().ofType(Practitioner).id|context.draftOrders.entry.resource.sender.resolve().ofType(Practitioner).id|context.draftOrders.entry.resource.recipient.resolve().ofType(Practitioner).id|context.draftOrders.entry.resource.requester.resolve().ofType(Practitioner).id|context.draftOrders.entry.resource.performer.resolve().ofType(Practitioner).id|context.draftOrders.entry.resource.orderer.resolve().ofType(Practitioner).id|context.draftOrders.entry.resource.prescriber.resolve().ofType(Practitioner).id}}",
            "organizations" : "Organization?_id={{%practitionerRoles.organization.resolve().id|context.draftOrders.entry.resource.dispenseRequest.performer.id}}",
            "locations" : "Location?_id={{%practitionerRoles.location.resolve().id|%encounter.location.location.resolve().ofType(Location).id|context.draftOrders.entry.locationReference.resolve().ofType(Location).id}}"
          }
        },
        {
          "extension" : {
            "davinci-crd.version" : [
              "2.2"
            ],
            "davinci-crd.configuration-options" : [
              {
                "code" : "coverage-info",
                "type" : "boolean",
                "name" : "Coverage Information",
                "description" : "Information related to the patient's coverage, including whether a service is covered, requires prior authorization, is approved without seeking prior authorization, and/or requires additional documentation or data collection",
                "default" : true
              },
              {
                "code" : "insurance",
                "type" : "boolean",
                "name" : "Insurance Updates",
                "description" : "Allows a provider to receive updates to the patient's coverage information from the payer (e.g. expiry date, coverage extensions)",
                "default" : true
              },
              {
                "code" : "duplicate-therapy",
                "type" : "boolean",
                "name" : "Duplicate Therapy",
                "description" : "Alerts that the service being ordered is in close proximity to an already delivered or scheduled service and may be unnecessary",
                "default" : true
              },
              {
                "code" : "off-guideline",
                "type" : "boolean",
                "name" : "Off Guideline",
                "description" : "Alerts that an included order might be counter to a best-practice guideline, with opportunity to review the guideline",
                "default" : true
              },
              {
                "code" : "guideline",
                "type" : "boolean",
                "name" : "Guidelines",
                "description" : "Indication that there is a guideline available for the proposed appointment (with an option to view)",
                "default" : true
              },
              {
                "code" : "cost",
                "type" : "boolean",
                "name" : "Cost Information",
                "description" : "Information about the anticipated cost to the patient for services being ordered",
                "default" : true
              },
              {
                "code" : "claim",
                "type" : "boolean",
                "name" : "Claim Guidance",
                "description" : "Information about what steps need to be taken to submit a claim for the service",
                "default" : true
              },
              {
                "code" : "network",
                "type" : "boolean",
                "name" : "Network Information",
                "description" : "Information about in-network providers that could deliver the scheduled service (or in-network alternatives for an order directed out-of-network)",
                "default" : true
              },
              {
                "code" : "appropriate-use",
                "type" : "boolean",
                "name" : "Appropriate use",
                "description" : "Guidance on whether appropriate-use documentation is needed",
                "default" : true
              },
              {
                "code" : "therapy-alternatives-opt",
                "type" : "boolean",
                "name" : "Optional Therapy Alternatives",
                "description" : "Are there alternative therapies that have better coverage and/or are lower-cost for the patient",
                "default" : true
              },
              {
                "code" : "therapy-alternatives-req",
                "type" : "boolean",
                "name" : "Required Therapy Alternatives",
                "description" : "Are there alternative therapies that must be tried first prior to coverage being available for the proposed therapy",
                "default" : true
              },
              {
                "code" : "contraindication",
                "type" : "boolean",
                "name" : "Contraindication",
                "description" : "Notices that an order may be contraindicated based on information the payer has in their record that the provider doesn't have in theirs",
                "default" : true
              },
              {
                "code" : "max-cards",
                "type" : "integer",
                "name" : "Maximum cards",
                "description" : "Indicates the maximum number of cards to be returned from the service.  The services will prioritize cards such as highest priority ones are delivered",
                "default" : 10
              }
            ]
          },
          "hook" : "order-sign",
          "title" : "Payer XYZ Order Sign Decision Support",
          "id" : "order-sign-crd",
          "description" : "Guidance related to orders being signed",
          "prefetch" : {
            "patient" : "Patient/{{context.patientId}}",
            "encounter" : "Encounter/{{context.encounterId}}",
            "coverage" : "Coverage?patient={{context.patientId}}&status=active",
            "device" : "Device?_id={{context.draftOrders.entry.resource.ofType(DeviceRequest).code.resolve().id}}",
            "medication" : "Medication?_id={{context.draftOrders.entry.resource.ofType(MedicationRequest).mediation}}",
            "practitionerRoles" : "PractitionerRole?_id={{%encounter.participant.individual.resolve().ofType(PractitionerRole).id|%encounter.serviceProvider.resolve().ofType(PractitionerRole).id|context.draftOrders.entry.resource.sender.resolve().ofType(PractitionerRole).id|context.draftOrders.entry.resource.recipient.resolve().ofType(PractitionerRole).id|context.draftOrders.entry.resource.requester.resolve().ofType(PractitionerRole).id|context.draftOrders.entry.resource.performer.resolve().ofType(PractitionerRole).id|context.draftOrders.entry.resource.orderer.resolve().ofType(PractitionerRole).id|context.draftOrders.entry.resource.prescriber.resolve().ofType(PractitionerRole).id}}",
            "practitioners" : "Practitioner?_id={{%practitionerRoles.practitioner.resolve().id|%encounter.participant.individual.resolve().ofType(Practitioner).id|%encounter.serviceProvider.resolve().ofType(Practitioner).id|%encounter.serviceProvider.resolve().ofType(PractitionerRole).practitioner.resolve().id|context.draftOrders.entry.resource.sender.resolve().ofType(Practitioner).id|context.draftOrders.entry.resource.recipient.resolve().ofType(Practitioner).id|context.draftOrders.entry.resource.requester.resolve().ofType(Practitioner).id|context.draftOrders.entry.resource.performer.resolve().ofType(Practitioner).id|context.draftOrders.entry.resource.orderer.resolve().ofType(Practitioner).id|context.draftOrders.entry.resource.prescriber.resolve().ofType(Practitioner).id}}",
            "organizations" : "Organization?_id={{%practitionerRoles.organization.resolve().id|context.draftOrders.entry.resource.dispenseRequest.performer.id}}",
            "locations" : "Location?_id={{%practitionerRoles.location.resolve().id|%encounter.location.location.resolve().ofType(Location).id|context.draftOrders.entry.locationReference.resolve().ofType(Location).id}}"
          }
        }
      ]
    }