using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"674e3ecea7ab950e4c00c764",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[3.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"691e46de55686b319aeefa94\",\"Direction\":\"3 tablets in morning\",\"FoilId\":\"691e4719dc505060208e724d\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"0001-01-01T00:00:00\",\"QtyDispense\":0.0,\"DateExpiry\":\"0001-01-01T00:00:00\",\"Route\":{\"Code\":\"PO\"},\"IsStandard\":true,\"IsShortCourse\":false,\"IsSinemet\":false,\"IsWarfarin\":false,\"IsInsulin\":false,\"IsS8Drug\":false,\"IsCytotoxic\":false,\"IsS4N\":false,\"StartDate\":\"0001-01-01T00:00:00\",\"EndDate\":\"2026-04-27T06:55:07.9693068Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-27T06:55:07.9693068Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"674e3ecea7ab950e4c00c764\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"SOLONE 5mg TAB\",\"DrugCode\":\"SOLO1\",\"Austr\":\"13469\",\"Supplier\":\"INOVA PHARMACEUTICALS (AU\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"round\",\"Marking\":\"L\",\"Warning\":\"*Do NOT stop taking this medication abruptlywith or soon after food.S/Care - Wise Use of MedicineS/Care - AsthmaS/Care - ArthritisS/Care - GoutS/Care - Skin Rash\",\"Direction\":\"\",\"GenericCode\":\"PRE2\",\"GenericName\":\"PREDNISOLONE\",\"Presentation\":\"Used to treat rheumatoid arthritis, lupus, asthma, allergies and many other conditions.\",\"ImageId\":\"5f3a2d7aa0ba5d7c5079499d\",\"ImageSmallSizeId\":\"68f5982c5a506b941b5c7bf0\",\"ImageName\":\"13469-C01-02-BL600.jpg\",\"AltBrand\":\"ADNISOLONE, DELTASOLONE, PANAFCORTELONE, SOLONE\",\"DoNotCrush\":false,\"TradeName\":\"SOLONE\",\"Formulation\":\"TAB\",\"Strength\":\"5mg\",\"Schedule\":\"4\",\"PackSize\":60,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white round L\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"674e3ecea7ab950e4c00c764\",\"Usage\":17,\"DrugFullName\":\"SOLONE 5mg TAB\",\"MedicationFullDetails\":\"SOLONE 5mg TAB - PREDNISOLONE (SOLO1)\",\"Id\":\"5f0e69e0a0ba5db368a14c26\",\"CreatedDate\":\"2020-07-15T02:28:37.698Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:30:59.945Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"697aeadf66161b0d84db2c79\",\"CreatedDate\":\"2026-01-29T05:06:39.027Z\",\"CreatedUserName\":\"nevine\",\"CreatedUserId\":\"6798aab6af648e0790c09c71\",\"LastUpdateUserId\":\"674e455aaf648e01304a9992\",\"LastUpdateDate\":\"2026-04-27T06:55:07.9693068Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"691e46de55686b319aeefa94",
"");