using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6993ee946f072bc22746cf88",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"6997d6ce982055137d6aa353\",\"Direction\":\"Take ONE tablet in the morning\",\"FoilId\":\"6997d6ce982055137d6aa354\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2025-12-29T13:00:00Z\",\"ScriptNum\":\"2230238\",\"QtyDispense\":0.0,\"DateExpiry\":\"0001-01-01T00:00:00\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"IsStandard\":true,\"IsShortCourse\":false,\"IsSinemet\":false,\"IsWarfarin\":false,\"IsInsulin\":false,\"IsS8Drug\":false,\"IsCytotoxic\":false,\"IsS4N\":false,\"StartDate\":\"2026-03-19T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00Z\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"6993ee946f072bc22746cf88\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"CORDILOX 180mg SR-TAB\",\"DrugCode\":\"C179\",\"Austr\":\"54033\",\"Supplier\":\"VIATRIS PTY LTD\",\"Type\":\"SR-Tablet\",\"Color\":\"light pink\",\"Shape\":\"capsule-shaped\",\"Marking\":\"SR 180\",\"Warning\":\"with or soon after food.*May affect alertness and/or co-ordination. If affected, do not drive or operate machinery*May cause dizziness when standing up quickly*Certain foods and fruit juices should be avoided while being treated with this medicine*Do NOT stop taking this medication abruptly*Ask your Doctor or Pharmacist before using other medicines including over-the-counter or any health products*Ask your pharmacist about the storage conditions for this medicineswallowed whole\",\"Direction\":\"\",\"GenericCode\":\"VE32\",\"GenericName\":\"VERAPAMIL\",\"Presentation\":\"Used to treat various conditions of the heart and blood vessels. For example, angina, high blood pressure and Raynaud's phenomenon.\",\"ImageId\":\"5f3a2db1a0ba5d7c5079684f\",\"ImageSmallSizeId\":\"68f598345a506b941b5c7c5b\",\"ImageName\":\"54033-C01-01-BL600.jpg\",\"AltBrand\":\"ISOPTIN, CORDILOX\",\"DoNotCrush\":true,\"TradeName\":\"CORDILOX\",\"Formulation\":\"SR-TAB\",\"Strength\":\"180mg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"light pink capsule-shaped SR 180\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6993ee946f072bc22746cf88\",\"Usage\":2,\"DrugFullName\":\"CORDILOX 180mg SR-TAB\",\"MedicationFullDetails\":\"CORDILOX 180mg SR-TAB - VERAPAMIL (C179)\",\"Id\":\"5f0e69e0a0ba5db368a14edb\",\"CreatedDate\":\"2020-07-15T02:28:38.475Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:34.561Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"6997d6ce982055137d6aa35c\",\"CreatedDate\":\"2026-02-20T03:36:46.525Z\",\"CreatedUserId\":\"6993faae6f072bc2276d1178\",\"LastUpdateUserId\":\"69c21352af217b9ed91eb5cb\",\"LastUpdateUserName\":\"scott\",\"LastUpdateDate\":\"2026-04-21T01:27:42.5384038Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6997d6ce982055137d6aa353",
"");