using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"67bbe5f708efed137c27a265",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.5,0.5,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"688977455f7fdb59c5ad0b10\",\"Direction\":\"Take HALF a tablet in the morning and HALF at noon\",\"FoilId\":\"688977605427bcdead1f53a9\",\"FoilLabel\":\"Regular meds\",\"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\":\"0001-01-01T00:00:00\",\"EndDate\":\"2026-04-30T05:44:55.446035Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-30T05:44:55.446035Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"67bbe5f708efed137c27a265\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"DIAZEPAM (APX) 5mg TAB\",\"DrugCode\":\"DIAZ18\",\"Austr\":\"335814\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"This preparation is to aid sleep. Drowsiness may continue - if affected do not drive or operate machinery Avoid alcohol*May cause drowsiness and increase effects of alcohol. If affected do not drive a motor vehicle or operate machinery.*Do NOT stop taking this medication abruptlyHIC-Incr Qty/Rpts specific conditions\",\"Direction\":\"\",\"GenericCode\":\"DIZ2\",\"GenericName\":\"DIAZEPAM\",\"Presentation\":\"Used to treat anxiety, insomnia, and a range of other conditions.\",\"AltBrand\":\"ANTENEX, DUCENE, VALIUM, VALPAM 5, DIAZEPAM (DP), DIAZEPAM (CHEM-MART), DIAZEPAM (TW), DIAZEPAM GENRX, VALPAM 5, RANZEPAM, DIAZEPAM (GA), DIAZEPAM (APO), DIAZEPAM (NOUMED), DIAZEPAM (APX), DIAZEPAM (WGR)\",\"DoNotCrush\":false,\"TradeName\":\"DIAZEPAM (APX)\",\"Formulation\":\"TAB\",\"Strength\":\"5mg\",\"Schedule\":\"4N\",\"PackSize\":50,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"67bbe5f708efed137c27a265\",\"Usage\":2,\"DrugFullName\":\"DIAZEPAM (APX) 5mg TAB\",\"MedicationFullDetails\":\"DIAZEPAM (APX) 5mg TAB - DIAZEPAM (DIAZ18)\",\"Id\":\"633aa512f65a8810882e581a\",\"CreatedDate\":\"2022-10-03T09:02:10.094Z\",\"CreatedUserId\":\"62060ea859ae850e30188ba8\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T19:15:07.441Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"68f608135a658452a81e3018\",\"CreatedDate\":\"2025-10-20T09:59:47.485Z\",\"CreatedUserName\":\"Tahlia\",\"CreatedUserId\":\"67bbeb60a7ab95069453328f\",\"LastUpdateUserId\":\"6827d560a7ab950c1c71dd88\",\"LastUpdateUserName\":\"gem88\",\"LastUpdateDate\":\"2026-04-30T05:44:55.446035Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"688977455f7fdb59c5ad0b10",
"");