using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"692f715b341daa4417054b52",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69340f6f7a290f75bd0469a5\",\"Direction\":\"ONE in the morning\",\"FoilId\":\"69340f6f7a290f75bd0469aa\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2025-12-02T05:34:23Z\",\"ScriptNum\":\"414502\",\"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\":\"2025-12-06T02:00:00Z\",\"EndDate\":\"2026-05-05T02: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\":false,\"Unit\":\"\",\"PharmacyId\":\"692f715b341daa4417054b52\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"DIOVAN 320mg TAB\",\"DrugCode\":\"DIOV2\",\"Austr\":\"123357\",\"Supplier\":\"NOVARTIS PHARMACEUTICALS\",\"Type\":\"Tablet\",\"Color\":\"grey-violet\",\"Shape\":\"oval\",\"Marking\":\"DXL\",\"Warning\":\"*DO NOT TAKE POTASSIUM while being treated with this medicine unless advised by your Doctor**May affect alertness and/or co-ordination. If affected, do not drive or operate machinery*May cause dizziness when standing up quicklyPREGNANCY WARNING - Category DHIC-NO INCREASE IN QTY & RPTS ALLOWEDSpecial handling and disposal required - ask your Pharmacistswallowed whole*Do not crush or chew*\",\"Direction\":\"\",\"GenericCode\":\"VALS2\",\"GenericName\":\"VALSARTAN\",\"Presentation\":\"Used for controlling high blood pressure, treating heart failure and preventing kidney failure .\",\"ImageId\":\"5f3a2f1ba0ba5d7c50797249\",\"ImageSmallSizeId\":\"68f598bc5a506b941b5c831d\",\"ImageName\":\"123357-C01-01-BL600.jpg\",\"AltBrand\":\"DIOVAN, VALSARTAN (APO), DILART\",\"DoNotCrush\":true,\"TradeName\":\"DIOVAN\",\"Formulation\":\"TAB\",\"Strength\":\"320mg\",\"Schedule\":\"4\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"grey-violet oval DXL\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"692f715b341daa4417054b52\",\"Usage\":0,\"DrugFullName\":\"DIOVAN 320mg TAB\",\"MedicationFullDetails\":\"DIOVAN 320mg TAB - VALSARTAN (DIOV2)\",\"Id\":\"5f0e69e0a0ba5db368a16275\",\"CreatedDate\":\"2020-07-15T02:28:42.813Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:34.605Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69340f6f7a290f75bd0469ae\",\"CreatedDate\":\"2025-12-06T11:11:43.84Z\",\"CreatedUserId\":\"692f7b32341daa441724c8fb\",\"LastUpdateUserId\":\"693264c330554bb9e54849f9\",\"LastUpdateUserName\":\"lsilver\",\"LastUpdateDate\":\"2026-04-23T07:04:08.4624955Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69340f6f7a290f75bd0469a5",
"");