using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"66c416a38222d30ea8c549dc",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"66f7a6028222d302fc57c0e8\",\"Direction\":\"1 MORNINGS\",\"FoilId\":\"66f7a6028222d302fc57c0fb\",\"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-20T01:40:43.1738114Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-20T01:40:43.1738114Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"66c416a38222d30ea8c549dc\",\"SyncDate\":\"0001-01-01T00:00:00Z\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"RITALIN LA 60mg CR-CAP\",\"DrugCode\":\"RITA6\",\"Austr\":\"236251\",\"Supplier\":\"NOVARTIS PHARMACEUTICALS\",\"Type\":\"CR-Capsule\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"*Ask your Doctor or Pharmacist before using other medicines including over-the-counter or any health products*May affect alertness and/or co-ordination. If affected, do not drive or operate machinery*Ask your pharmacist about the storage conditions for this medicineswallowed whole*Do not crush or chew*\",\"Direction\":\"\",\"GenericCode\":\"METH83\",\"GenericName\":\"METHYLPHENIDATE LA\",\"Presentation\":\"Used to treat attention deficit disorder (ADD), attention deficit hyperactivity disorder (ADHD), and narcolepsy.\",\"AltBrand\":\"RITALIN LA, RUBIFEN LA, METHYLPHENIDATE (ORIFARM) S19A\",\"DoNotCrush\":true,\"TradeName\":\"RITALIN LA\",\"Formulation\":\"CR-CAP\",\"Strength\":\"60mg\",\"Schedule\":\"8A\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"66c416a38222d30ea8c549dc\",\"Usage\":1,\"DrugFullName\":\"RITALIN LA 60mg CR-CAP\",\"MedicationFullDetails\":\"RITALIN LA 60mg CR-CAP - METHYLPHENIDATE LA (RITA6)\",\"Id\":\"6102d258a6b66b27b81101ac\",\"CreatedDate\":\"2021-07-29T16:07:52.163Z\",\"CreatedUserId\":\"5fa24cab89e48b3a6ef44ad0\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T17:27:22.349Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"67dced8408efed0614b8c6fe\",\"CreatedDate\":\"2025-03-21T04:39:32.077Z\",\"CreatedUserName\":\"snehal.s\",\"CreatedUserId\":\"66ecfb825ac25f0e90e687d8\",\"LastUpdateUserId\":\"66f79e015ac25f0c38b04baf\",\"LastUpdateDate\":\"2026-04-20T01:40:43.1738114Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"66f7a6028222d302fc57c0e8",
"");