{
  "hookInstance": "259cf767-4b52-4e14-a741-04da147a430f",
  "fhirServer": "http://localhost:8080/fhir",
  "hook": "patient-view",
  "context": {
    "userId": "Practitioner/example",
    "patientId": "Patient/example-rec-11-benzo-trigger-without-opioid",
    "encounterId": "Encounter/example-rec-11-benzo-trigger-without-opioid-context"
  },
  "prefetch": {
    "item1": {
        "resourceType": "Patient",
        "id": "example-rec-11-benzo-trigger-without-opioid",
        "extension": [
          {
            "url": "http://fhir.org/guides/cdc/opioid-cds/StructureDefinition/dataDateRoller",
            "extension": [
              {
                "url": "dateLastUpdated",
                "valueDateTime": "2023-05-01"
              },
              {
                "url": "frequency",
                "valueDuration": {
                  "value": 30.0,
                  "unit": "days",
                  "system": "http://unitsofmeasure.org",
                  "code": "d"
                }
              }
            ]
          }
        ],
        "gender": "female",
        "birthDate": "2003-05-01"
      }
    },
    "item2": {
        "resourceType": "MedicationRequest",
        "id": "example-rec-11-benzo-trigger-without-opioid-context",
        "extension": [
          {
            "url": "http://fhir.org/guides/cdc/opioid-cds/StructureDefinition/dataDateRoller",
            "extension": [
              {
                "url": "dateLastUpdated",
                "valueDateTime": "2023-05-01"
              },
              {
                "url": "frequency",
                "valueDuration": {
                  "value": 30.0,
                  "unit": "days",
                  "system": "http://unitsofmeasure.org",
                  "code": "d"
                }
              }
            ]
          }
        ],
        "status": "active",
        "intent": "order",
        "category": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/medicationrequest-category",
                "code": "community"
              }
            ]
          }
        ],
        "medicationCodeableConcept": {
          "coding": [
            {
              "system": "http://www.nlm.nih.gov/research/umls/rxnorm",
              "code": "1298088",
              "display": "Flurazepam Hydrochloride 15 MG Oral Capsule"
            }
          ]
        },
        "subject": {
          "reference": "Patient/example-rec-11-benzo-trigger-without-opioid"
        },
        "encounter": {
          "reference": "Encounter/example-rec-11-benzo-trigger-without-opioid-context"
        },
        "authoredOn": "2023-05-01",
        "dosageInstruction": [
          {
            "timing": {
              "repeat": {
                "frequency": 1,
                "period": 1.0,
                "periodUnit": "d"
              }
            },
            "asNeededBoolean": false,
            "doseAndRate": [
              {
                "doseQuantity": {
                  "value": 1.0,
                  "unit": "capsule",
                  "system": "http://unitsofmeasure.org",
                  "code": "{capsule}"
                }
              }
            ]
          }
        ],
        "dispenseRequest": {
          "validityPeriod": {
            "start": "2023-05-01T00:00:00-06:00",
            "end": "2023-08-01T00:00:00-06:00"
          },
          "numberOfRepeatsAllowed": 3,
          "expectedSupplyDuration": {
            "value": 30.0,
            "unit": "days",
            "system": "http://unitsofmeasure.org",
            "code": "d"
          }
        }
    },
    "item3": null
  }
}
