Da Vinci - Coverage Requirements Discovery
2.2.1 - STU 2.2

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.1 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

Instance of logical model http://hl7.org/fhir/tools/StructureDefinition/CDSHooksServices

## 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",
            "deviceRequests" : "DeviceRequest?_id={{context.appointments.entry.resource.basedOn.extension('http://hl7.org/fhir/StructureDefinition/alternate-reference').value.resolve().ofType(DeviceRequest).id}}",
            "serviceRequests" : "ServiceRequest?_id={{context.appointments.entry.resource.basedOn.resolve().ofType(ServiceRequest).id}}",
            "medicationRequests" : "MedicationRequest?_id={{context.appointments.entry.resource.basedOn.extension('http://hl7.org/fhir/StructureDefinition/alternate-reference').value.resolve().ofType(MedicationRequest).id}}",
            "devices" : "Device?_id={{%deviceRequests.entry.resource.code.resolve().id}}",
            "medications" : "Medication?_id={{%medicationRequests.entry.resource.medication.resolve().id}}",
            "practitionerRoles" : "PractitionerRole?_id={{%encounter.participant.individual.resolve().ofType(PractitionerRole).id|context.appointments.entry.resource.participant.actor.resolve().ofType(PractitionerRole).id|%deviceRequests.entry.resource.performer.resolve().ofType(PractitionerRole).id|%deviceRequests.entry.resource.requester.resolve().ofType(PractitionerRole).id|%medicationRequests.entry.resource.performer.resolve().ofType(PractitionerRole).id|%medicationRequests.entry.resource.requester.resolve().ofType(PractitionerRole).id|%serviceRequests.entry.resource.performer.resolve().ofType(PractitionerRole).id|%serviceRequests.entry.resource.requester.resolve().ofType(PractitionerRole).id}}",
            "practitioners" : "Practitioner?_id={{%practitionerRoles.entry.resource.practitioner.resolve().id|%encounter.participant.individual.resolve().ofType(Practitioner).id|context.appointments.entry.resource.participant.actor.resolve().ofType(Practitioner).id|%deviceRequests.entry.resource.performer.resolve().ofType(Practitioner).id|%deviceRequests.entry.resource.requester.resolve().ofType(Practitioner).id|%medicationRequests.entry.resource.performer.resolve().ofType(Practitioner).id|%medicationRequests.entry.resource.requester.resolve().ofType(Practitioner).id|%serviceRequests.entry.resource.performer.resolve().ofType(Practitioner).id|%serviceRequests.entry.resource.requester.resolve().ofType(Practitioner).id}}",
            "organizations" : "Organization?_id={{%practitionerRoles.entry.resource.organization.resolve().id|%encounter.serviceProvider.resolve().ofType(Organization).id|%medicationRequests.entry.resource.dispenseRequest.performer.resolve().ofType(Organization).id|%serviceRequests.entry.resource.performer.resolve().ofType(Organization).id}}",
            "locations" : "Location?_id={{%practitionerRoles.entry.resource.location.resolve().id|%encounter.location.location.resolve().id|context.appointments.entry.resource.participant.actor.resolve().ofType(Location).id|%serviceRequests.entry.resource.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 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}}",
            "practitioners" : "Practitioner?_id={{%practitionerRoles.entry.resource.practitioner.resolve().id|%encounter.participant.individual.resolve().ofType(Practitioner).id}}",
            "organizations" : "Organization?_id={{%practitionerRoles.entry.resource.organization.resolve().id|%encounter.serviceProvider.resolve().ofType(Organization).id}}",
            "locations" : "Location?_id={{%practitionerRoles.entry.resource.location.resolve().id|%encounter.location.location.resolve().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}}",
            "practitioners" : "Practitioner?_id={{%practitionerRoles.entry.resource.practitioner.resolve().id|%encounter.participant.individual.resolve().ofType(Practitioner).id}}",
            "organizations" : "Organization?_id={{%practitionerRoles.entry.resource.organization.resolve().id|%encounter.serviceProvider.resolve().ofType(Organization).id}}",
            "locations" : "Location?_id={{%practitionerRoles.entry.resource.location.resolve().id|%encounter.location.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 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",
            "communicationRequests" : "CommunicationRequest?_id={{context.dispatchedOrders.resolve().ofType(CommunicationRequest).id}}",
            "deviceRequests" : "DeviceRequest?_id={{context.dispatchedOrders.resolve().ofType(DeviceRequest).id}}",
            "medicationRequests" : "MedicationRequest?_id={{context.dispatchedOrders.resolve().ofType(MedicationRequest).id}}",
            "nutritionOrders" : "NutritionOrder?_id={{context.dispatchedOrders.resolve().ofType(NutritionOrder).id}}",
            "serviceRequests" : "ServiceRequest?_id={{context.dispatchedOrders.resolve().ofType(ServiceRequest).id}}",
            "visionPrescriptions" : "VisionPrescription?_id={{context.dispatchedOrders.resolve().ofType(VisionPrescription).id}}",
            "devices" : "Device?_id={{%deviceRequests.entry.resource.code.resolve().id}}",
            "medications" : "Medication?_id={{%medicationRequests.entry.resource.medication.resolve().id}}",
            "practitionerRoles" : "PractitionerRole?_id={{%encounter.participant.individual.resolve().ofType(PractitionerRole).id|%communicationRequests.entry.resource.sender.resolve().ofType(PractitionerRole).id|%communicationRequests.entry.resource.recipient.resolve().ofType(PractitionerRole).id|%communicationRequests.entry.resource.requester.resolve().ofType(PractitionerRole).id|%deviceRequests.entry.resource.performer.resolve().ofType(PractitionerRole).id|%deviceRequests.entry.resource.requester.resolve().ofType(PractitionerRole).id|%medicationRequests.entry.resource.performer.resolve().ofType(PractitionerRole).id|%medicationRequests.entry.resource.requester.resolve().ofType(PractitionerRole).id|%serviceRequests.entry.resource.performer.resolve().ofType(PractitionerRole).id|%serviceRequests.entry.resource.requester.resolve().ofType(PractitionerRole).id|%nutritionOrders.entry.resource.orderer.resolve().ofType(PractitionerRole).id|%visionPrescriptions.entry.resource.prescriber.resolve().ofType(PractitionerRole).id}}",
            "practitioners" : "Practitioner?_id={{%practitionerRoles.entry.resource.practitioner.resolve().id|%encounter.participant.individual.resolve().ofType(Practitioner).id|%communicationRequests.entry.resource.sender.resolve().ofType(Practitioner).id|%communicationRequests.entry.resource.recipient.resolve().ofType(Practitioner).id|%communicationRequests.entry.resource.requester.resolve().ofType(Practitioner).id|%deviceRequests.entry.resource.performer.resolve().ofType(Practitioner).id|%deviceRequests.entry.resource.requester.resolve().ofType(Practitioner).id|%medicationRequests.entry.resource.performer.resolve().ofType(Practitioner).id|%medicationRequests.entry.resource.requester.resolve().ofType(Practitioner).id|%serviceRequests.entry.resource.performer.resolve().ofType(Practitioner).id|%serviceRequests.entry.resource.requester.resolve().ofType(Practitioner).id|%nutritionOrders.entry.resource.orderer.resolve().ofType(Practitioner).id|%visionPrescriptions.entry.resource.prescriber.resolve().ofType(Practitioner).id}}",
            "organizations" : "Organization?_id={{%practitionerRoles.entry.resource.organization.resolve().id|%encounter.serviceProvider.resolve().ofType(Organization).id|%communicationRequests.entry.resource.recipient.resolve().ofType(Organization).id|%communicationRequests.entry.resource.sender.resolve().ofType(Organization).id|%medicationRequests.entry.resource.dispenseRequest.performer.resolve().id|%serviceRequests.entry.resource.performer.resolve().ofType(Organization).id}}",
            "locations" : "Location?_id={{%practitionerRoles.entry.resource.location.resolve().id|%encounter.location.location.resolve().id|%serviceRequests.entry.resource.locationReference.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 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",
            "devices" : "Device?_id={{context.draftOrders.entry.resource.ofType(DeviceRequest).code.resolve().id}}",
            "medications" : "Medication?_id={{context.draftOrders.entry.resource.ofType(MedicationRequest).medication.resolve().id}}",
            "practitionerRoles" : "PractitionerRole?_id={{%encounter.participant.individual.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.entry.resource.practitioner.resolve().id|%encounter.participant.individual.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.entry.resource.organization.resolve().id|%encounter.serviceProvider.resolve().ofType(Organization).id|context.draftOrders.entry.resource.dispenseRequest.performer.resolve().id|context.draftOrders.entry.resource.sender.resolve().ofType(Organization).id|context.draftOrders.entry.resource.recipient.resolve().ofType(Organization).id|context.draftOrders.entry.resource.performer.resolve().ofType(Organization).id}}",
            "locations" : "Location?_id={{%practitionerRoles.entry.resource.location.resolve().id|%encounter.location.location.resolve().id|context.draftOrders.entry.resource.locationReference.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 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",
            "devices" : "Device?_id={{context.draftOrders.entry.resource.ofType(DeviceRequest).code.resolve().id}}",
            "medications" : "Medication?_id={{context.draftOrders.entry.resource.ofType(MedicationRequest).medication.resolve().id}}",
            "practitionerRoles" : "PractitionerRole?_id={{%encounter.participant.individual.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.entry.resource.practitioner.resolve().id|%encounter.participant.individual.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.entry.resource.organization.resolve().id|%encounter.serviceProvider.resolve().ofType(Organization).id|context.draftOrders.entry.resource.dispenseRequest.performer.resolve().id|context.draftOrders.entry.resource.sender.resolve().ofType(Organization).id|context.draftOrders.entry.resource.recipient.resolve().ofType(Organization).id|context.draftOrders.entry.resource.performer.resolve().ofType(Organization).id}}",
            "locations" : "Location?_id={{%practitionerRoles.entry.resource.location.resolve().id|%encounter.location.location.resolve().id|context.draftOrders.entry.resource.locationReference.resolve().id}}"
          }
        }
      ]
    }