using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"69c9fbe26d56c65bbb0d5813",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69e5a32f2c1a237be0c4a544\",\"Direction\":\"1 BEDTIME\",\"FoilId\":\"69e5a3482c1a237be0c4f218\",\"FoilLabel\":\"BLISTER PACK 1\",\"DateDispensed\":\"0001-01-01T00:00:00\",\"QtyDispense\":0.0,\"DateExpiry\":\"0001-01-01T00:00:00\",\"Route\":{\"Code\":\"PO\"},\"IsStandard\":true,\"IsShortCourse\":false,\"IsSinemet\":false,\"IsWarfarin\":false,\"IsInsulin\":false,\"IsS8Drug\":false,\"IsCytotoxic\":false,\"IsS4N\":false,\"StartDate\":\"2026-04-20T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":0,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"69c9fbe26d56c65bbb0d5813\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"TEMAZEPAM (APO) 10mg TAB\",\"DrugCode\":\"APOT4\",\"Austr\":\"153123\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"orange\",\"Shape\":\"round\",\"Marking\":\"S\",\"Warning\":\"This preparation is to aid sleep. Drowsiness may continue - if affected do not drive or operate machinery Avoid alcohol*Do NOT stop taking this medication abruptly*May cause drowsiness and increase effects of alcohol. If affected do not drive a motor vehicle or operate machinery.S/Care - Driving & MedicationS/Care - Relaxation TechniquesS/Care - Sleeping Badly\",\"Direction\":\"\",\"GenericCode\":\"TEM10\",\"GenericName\":\"TEMAZEPAM\",\"Presentation\":\"Used to treat anxiety, insomnia, and a range of other conditions.\",\"ImageId\":\"5f3a2dbea0ba5d7c50796d91\",\"ImageSmallSizeId\":\"68f598c75a506b941b5c839d\",\"ImageName\":\"153123-C01-01-BL600.jpg\",\"AltBrand\":\"NORMISON, TEMTABS, TEMAZE, TEMAZEPAM (APO), TEMAZEPAM (WGR), TEMAZE\",\"DoNotCrush\":false,\"TradeName\":\"TEMAZEPAM (APO)\",\"Formulation\":\"TAB\",\"Strength\":\"10mg\",\"Schedule\":\"4N\",\"PackSize\":25,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"orange round S\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"69c9fbe26d56c65bbb0d5813\",\"Usage\":0,\"DrugFullName\":\"TEMAZEPAM (APO) 10mg TAB\",\"MedicationFullDetails\":\"TEMAZEPAM (APO) 10mg TAB - TEMAZEPAM (APOT4)\",\"Id\":\"5f0e69e0a0ba5db368a16360\",\"CreatedDate\":\"2020-07-15T02:28:43.001Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:35.257Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e5a3dbc21eb1a5a9e2ca40\",\"CreatedDate\":\"2026-04-20T03:56:11.8759059Z\",\"CreatedUserName\":\"leahkj\",\"CreatedUserId\":\"69cb1f07ba51fecb1a0fd2ad\",\"LastUpdateDate\":\"2026-04-20T03:56:11.8759059Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e5a32f2c1a237be0c4a544",
"");