using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"67be4df4af648e1040b83990",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,1.0,1.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"68edd1107b01960916e5efbb\",\"Direction\":\"Take ONE tablet 3x a day\",\"FoilId\":\"68edd177c303b344773c4c22\",\"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-03-16T04:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"67be4df4af648e1040b83990\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"DIAZEPAM (APO) 2mg TAB\",\"DrugCode\":\"DIAZ14\",\"Austr\":\"134472\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white to off-white\",\"Shape\":\"round\",\"Marking\":\"2\",\"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\":\"DIZ1\",\"GenericName\":\"DIAZEPAM\",\"Presentation\":\"Used to treat anxiety, insomnia, and a range of other conditions.\",\"ImageId\":\"5f3a2da4a0ba5d7c507960e1\",\"ImageSmallSizeId\":\"68f598e95a506b941b5c89b5\",\"ImageName\":\"134472-C01-01-BL600.jpg\",\"AltBrand\":\"ANTENEX, DUCENE, VALIUM, VALPAM 2, DIAZEPAM (CHEM-MART), DIAZEPAM (TW), DIAZEPAM GENRX, RANZEPAM, DIAZEPAM (APO), DIAZEPAM (APX), DIAZEPAM (WGR)\",\"DoNotCrush\":false,\"TradeName\":\"DIAZEPAM (APO)\",\"Formulation\":\"TAB\",\"Strength\":\"2mg\",\"Schedule\":\"4N\",\"PackSize\":50,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white to off-white round 2\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"67be4df4af648e1040b83990\",\"Usage\":1,\"DrugFullName\":\"DIAZEPAM (APO) 2mg TAB\",\"MedicationFullDetails\":\"DIAZEPAM (APO) 2mg TAB - DIAZEPAM (DIAZ14)\",\"Id\":\"5f0e69e0a0ba5db368a16653\",\"CreatedDate\":\"2020-07-15T02:28:43.65Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:40:28.641Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69b7674bd0142c4b214ff21b\",\"CreatedDate\":\"2026-03-16T02:13:31.384Z\",\"CreatedUserName\":\"andrea\",\"CreatedUserId\":\"67ffc00b08efed039cb7b012\",\"LastUpdateUserId\":\"67ffc00b08efed039cb7b012\",\"LastUpdateUserName\":\"andrea\",\"LastUpdateDate\":\"2026-04-20T02:02:26.535905Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"68edd1107b01960916e5efbb",
"");