using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"69ba2b20c90b16fd0ad1a50a",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69e5a45c2c1a237be0c7f2f8\",\"Direction\":\"1 DAILY\",\"FoilId\":\"69e5a45c2c1a237be0c7f31f\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-04-20T01:55:37Z\",\"ScriptNum\":\"1284276\",\"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-20T02: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:00\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"69ba2b20c90b16fd0ad1a50a\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"ISOPTIN 240mg SR-TAB\",\"DrugCode\":\"IS56\",\"Austr\":\"12801\",\"Supplier\":\"VIATRIS PTY LTD\",\"Type\":\"SR-Tablet\",\"Color\":\"light green\",\"Shape\":\"capsule-shaped\",\"Marking\":\"-\",\"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\":\"VE31\",\"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\":\"5f3a2f1ba0ba5d7c50797253\",\"ImageSmallSizeId\":\"68f598175a506b941b5c7add\",\"ImageName\":\"12801-C01-01-BL600.jpg\",\"AltBrand\":\"CORDILOX, ISOPTIN, ANPEC\",\"DoNotCrush\":true,\"TradeName\":\"ISOPTIN\",\"Formulation\":\"SR-TAB\",\"Strength\":\"240mg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"light green capsule-shaped double Knoll triangle\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"69ba2b20c90b16fd0ad1a50a\",\"Usage\":0,\"DrugFullName\":\"ISOPTIN 240mg SR-TAB\",\"MedicationFullDetails\":\"ISOPTIN 240mg SR-TAB - VERAPAMIL (IS56)\",\"Id\":\"5f0e69e0a0ba5db368a1468f\",\"CreatedDate\":\"2020-07-15T02:28:36.512Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:34.769Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e5a45c2c1a237be0c7f33f\",\"CreatedDate\":\"2026-04-20T03:58:20.501Z\",\"CreatedUserId\":\"69ba2fbdd70c9c7186b132dd\",\"LastUpdateUserId\":\"69ba2fbdd70c9c7186b132dd\",\"LastUpdateUserName\":\"ryit\",\"LastUpdateDate\":\"2026-04-20T04:00:33.9057428Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e5a45c2c1a237be0c7f2f8",
"");