using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"69b89e029c2a8602ab2593cb",
FromJson<Prescription>("{\"PackType\":1,\"Dose\":[],\"ShortCourseTimeslot\":[],\"PatientId\":\"69e6f13214702a05707f1201\",\"Direction\":\"Take ONE capsule with or without food FOUR times a day ( every SIX hours ) for as long as your prescriber has instructed.\",\"FoilId\":\"69e6f13214702a05707f1205\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-03-11T04:29:13Z\",\"ScriptNum\":\"1524640\",\"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-21T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"69b89e029c2a8602ab2593cb\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"CEPHALEXIN (APO) 500mg CAP\",\"DrugCode\":\"CEPH50\",\"Austr\":\"133852\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Capsule\",\"Color\":\"dark green and light green\",\"Shape\":\"\",\"Marking\":\"RX657\",\"Warning\":\"PDL Warn: Similar NamesTake for the number of days advised by your prescriber.S/Care - VitaminsS/Care - Thrush\",\"Direction\":\"\",\"GenericCode\":\"CE18\",\"GenericName\":\"CEFALEXIN\",\"Presentation\":\"Used in the treatment of infections caused by bacteria.\",\"ImageId\":\"5f3a2daca0ba5d7c50796524\",\"ImageSmallSizeId\":\"68f599375a506b941b5c8e60\",\"ImageName\":\"133852-C01-02-BL600.jpg\",\"AltBrand\":\"CEPOREX, IBILEX, KEFLEX, CEPHALEXIN (HH), CILEX, CEPHALEXIN (CHEM-MART), CEPHALEXIN (HEALTHSENSE), CEPHALEXIN (TW), CEPHALEXIN (GENRX), CEFLIN (SPORAHEXAL), CEFALEXIN-BC, SPORAHEXAL, IALEX, RANCEF, CEPHALEXIN-MAX, CEPHABELL, CEPHATRUST, CEFALEXIN (SANDOZ), CEPHALEXIN (GEN HLTH), CEPHALEXIN (PHARMACOR), CEPHALEXIN (PS), CEPHALEXIN (APO), CEPHALEX 500, CEPHALEXIN (AN), CEFALEXIN (NOUMED), CEFALEXIN (BLOOMS), CEPHALEXIN (WGR)\",\"DoNotCrush\":false,\"TradeName\":\"CEPHALEXIN (APO)\",\"Formulation\":\"CAP\",\"Strength\":\"500mg\",\"Schedule\":\"4\",\"PackSize\":20,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"dark green and light green RX657\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"69b89e029c2a8602ab2593cb\",\"Usage\":0,\"DrugFullName\":\"CEPHALEXIN (APO) 500mg CAP\",\"MedicationFullDetails\":\"CEPHALEXIN (APO) 500mg CAP - CEFALEXIN (CEPH50)\",\"Id\":\"5f0e69e0a0ba5db368a16ea2\",\"CreatedDate\":\"2020-07-15T02:28:45.445Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:34.525Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e6f13214702a05707f1209\",\"CreatedDate\":\"2026-04-21T03:38:26.696Z\",\"CreatedUserId\":\"69cb1e148c7cc559339fcb01\",\"LastUpdateUserId\":\"69cb1e148c7cc559339fcb01\",\"LastUpdateUserName\":\"poppywolff\",\"LastUpdateDate\":\"2026-04-21T04:00:25.9778228Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e6f13214702a05707f1201",
"");