using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"69e5616c7f72c22cb3a4705d",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69eac9648b65c9dccb7578b7\",\"Direction\":\"Swallow whole ONE tablet in the evening\",\"FoilId\":\"69eac9648b65c9dccb7578bc\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-04-10T23:44:33Z\",\"ScriptNum\":\"60212130\",\"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-04-29T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"PrintIt\":true,\"OwnBag\":{},\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"OriginDrugId\":\"5f0e69e0a0ba5db368a1638d\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"69e5616c7f72c22cb3a4705d\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"OMEPRAZOLE (APO) 20mg TAB\",\"DrugCode\":\"APOO2\",\"Austr\":\"243813\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"brown\",\"Shape\":\"capsule-shaped\",\"Marking\":\"\",\"Warning\":\"*Ask your pharmacist about the storage conditions for this medicineswallowed wholeS/Care - IndigestionPcy Board Warn: Similar Names*Ask your Doctor or Pharmacist before using other medicines including over-the-counter or any health products\",\"Direction\":\"\",\"GenericCode\":\"OMEP8\",\"GenericName\":\"OMEPRAZOLE\",\"Presentation\":\"Used for treatment of gastric and duodenal ulcers, gastroesophageal reflux disease and other excessive gastrointestinal acid secretory disorders.\",\"ImageId\":\"5f3a2dbea0ba5d7c50796db8\",\"ImageSmallSizeId\":\"68f598cd5a506b941b5c83e4\",\"AltBrand\":\"MAXOR, LOSEC, ACIMAX, PROBITOR, MEPRAZOL, OMEPRAL, OMEPRAZOLE (WINTHROP), OMEPRAZOLE (GA), OMEPRAZOLE (GENRX), OMEPRAZOLE (RBX), OMEPRAZOLE (CHEM-MART), OMEPRAZOLE (TW), OMEPRAZOLE (APO), OMEPRAZOLE (GA), OZMEP, OMEPRAZOLE (APO), OMEPRAZOLE (CHEM-MART), OMEPRAZOLE (GEN HLTH), PROBITOR, OMEPRAZOLE (PHARMACOR), OMEPRO (GA), PEMZO, OMEPRAZOLE (APO), OMEPRAZOLE (SANDOZ), OMEPRAZOLE (PS), OMEPRAZOLE (TW), OMEPRAZOLE (SANDOZ), OMEPRAZOLE (PS), OMEPRAZOLE (SANDOZ), OMEPRAZOLE (AN), OMEPRAZOLE (PHARMACOR), MAXOR EC\",\"DoNotCrush\":true,\"TradeName\":\"OMEPRAZOLE (APO)\",\"Formulation\":\"TAB\",\"Strength\":\"20mg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"69e5616c7f72c22cb3a4705d\",\"Usage\":1,\"DrugFullName\":\"OMEPRAZOLE (APO) 20mg TAB\",\"MedicationFullDetails\":\"OMEPRAZOLE (APO) 20mg TAB - OMEPRAZOLE (APOO2)\",\"Id\":\"5f0e69e0a0ba5db368a163df\",\"CreatedDate\":\"2020-07-15T02:28:43.11Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"69eac7c6747aca488f0eaceb\",\"LastUpdateDate\":\"2026-04-28T23:46:58.682Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69f146f2c251b98588e3c080\",\"CreatedDate\":\"2026-04-28T23:46:58.49Z\",\"CreatedUserName\":\"mpdataentry1550\",\"CreatedUserId\":\"69eac7c6747aca488f0eaceb\",\"LastUpdateUserId\":\"69eac7c6747aca488f0eaceb\",\"LastUpdateUserName\":\"mpdataentry1550\",\"LastUpdateDate\":\"2026-04-28T23:47:30.3321564Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69eac9648b65c9dccb7578b7",
"");