{
  "hookInstance": "95e3c637-8c92-4d48-9e00-fa223b072506",
  "fhirServer": "http://localhost:8080/fhir",
  "hook": "order-sign",
  "context": {
    "userId": "Practitioner/example",
    "patientId": "Patient/example-rec-02-careplan-not-revisited",
    "draftOrders": {
      "resourceType": "Bundle",
      "type": "collection",
      "entry": [
        {
          "resource": {
            "resourceType": "MedicationRequest",
            "id": "a6590d30-c320-4016-861f-678f9f87bca5",
            "extension": [
              {
                "url": "http://fhir.org/guides/cdc/opioid-cds/StructureDefinition/dataDateRoller",
                "extension": [
                  {
                    "url": "dateLastUpdated",
                    "valueDateTime": "2023-05-01"
                  },
                  {
                    "url": "frequency",
                    "valueDuration": {
                      "value": 1.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",
                    "display": "Community"
                  }
                ]
              }
            ],
            "medicationCodeableConcept": {
              "coding": [
                {
                  "system": "http://www.nlm.nih.gov/research/umls/rxnorm",
                  "code": "1010603",
                  "display": "Suboxone 2 MG / 0.5 MG Sublingual Film"
                }
              ]
            },
            "subject": {
              "reference": "Patient/example-rec-02-careplan-not-revisited"
            },
            "encounter": {
              "reference": "Encounter/example-rec-02-careplan-not-revisited-context"
            },
            "authoredOn": "2022-12-29",
            "recorder": {
              "reference": "Practitioner/example"
            },
            "dosageInstruction": [
              {
                "timing": {
                  "repeat": {
                    "frequency": 1,
                    "period": 1.0,
                    "periodUnit": "d"
                  }
                },
                "asNeededBoolean": false
              }
            ],
            "dispenseRequest": {
              "validityPeriod": {
                "start": "2023-03-15T00:00:00-06:00",
                "end": "2023-06-15T00:00:00-06:00"
              },
              "numberOfRepeatsAllowed": 1,
              "expectedSupplyDuration": {
                "value": 30,
                "unit": "days",
                "system": "http://unitsofmeasure.org",
                "code": "d"
              }
            }
          }
        }
      ]
    }
  },
  "prefetch": {
    "item1": {
        "resourceType": "Patient",
        "id": "example-rec-02-careplan-not-revisited",
        "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"
                }
              }
            ]
          }
        ],
        "birthDate": "2003-04-17"
      }
    },
    "item2": {
        "resourceType": "CarePlan",
        "id": "example-rec-02-careplan-not-revisited",
        "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": "plan",
        "category": [
          {
            "coding": [
              {
                "system": "http://loinc.org",
                "code": "80764-4",
                "display": "Pain medicine Plan of care note"
              }
            ]
          }
        ],
        "subject": {
          "reference": "Patient/example-rec-02-careplan-not-revisited"
        },
        "created": "2022-12-17",
        "author": {
          "reference": "Practitioner/example"
        }
    },
    "item3": null,
    "item4": null,
    "item5": null,
    "item6": null,
    "item7": null,
    "item8": null,
    "item9": null,
    "item10": null
  }
}
