using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68a69a394175295981030b05",
FromJson<Prescription>("{\"PackType\":0,\"Description\":\"white to off-white capsule-shaped APO 30\",\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"Morning\",\"Morning\",\"Noon\",\"Evening\",\"\",\"\",\"\",\"\"],\"PatientId\":\"68ca6e14cf1aa8803f6e167c\",\"Direction\":\"1 m \",\"FoilId\":\"68ca6e14cf1aa8803f6e16e2\",\"DateDispensed\":\"0001-01-01T00:00:00\",\"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\":\"0001-01-01T00:00:00\",\"EndDate\":\"2026-04-20T04:27:56.536327Z\",\"Frequency\":0,\"PackedWeekDay\":[true,true,true,true,true,true,true],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-20T04:27:56.536327Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Unit\":\"\",\"PharmacyId\":\"68a69a394175295981030b05\",\"SyncId\":\"83948773-42fa-4b6a-b178-26df58d990ac-8514\",\"SyncDate\":\"2025-09-17T08:15:16.774Z\",\"IsSyncImported\":true,\"Drug\":{\"DrugName\":\"GLICLAZIDE MR (APO) 30mg MR-TAB\",\"DrugCode\":\"GLIC6\",\"Austr\":\"151303\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"MR-Tablet\",\"Color\":\"white to off-white\",\"Shape\":\"capsule-shaped\",\"Marking\":\"APO 30\",\"Warning\":\"swallowed whole*Do not exceed one Aspirin tablet or capsule per daywith or soon after food.*Avoid combination with St John's wort\",\"Direction\":\"\",\"GenericCode\":\"GLIC1\",\"GenericName\":\"GLICLAZIDE\",\"Presentation\":\"\",\"ImageId\":\"5f3a2d96a0ba5d7c5079597e\",\"ImageName\":\"151303-C01-01-BL600.jpg\",\"AltBrand\":\"DIAMICRON, OZICLIDE, GLYADE, GLICLAZIDE MR (APO), GLICLAZIDE MR (CHEM MART), GLICLAZIDE MR (TW), GLICLAZIDE MR (PHARMACOR), GLICLAZIDE MR (PHARMACOR), GLICLAZIDE MR (VIATRIS)\",\"DoNotCrush\":true,\"TradeName\":\"GLICLAZIDE MR (APO)\",\"Formulation\":\"MR-TAB\",\"Strength\":\"30mg\",\"Schedule\":\"4\",\"PackSize\":100,\"IsCytotoxic\":false,\"Authorized\":2,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white to off-white capsule-shaped APO 30\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68a69a394175295981030b05\",\"Usage\":2,\"DrugFullName\":\"GLICLAZIDE MR (APO) 30mg MR-TAB\",\"MedicationFullDetails\":\"GLICLAZIDE MR (APO) 30mg MR-TAB - GLICLAZIDE (GLIC6)\",\"Id\":\"5f0e69e0a0ba5db368a1636e\",\"CreatedDate\":\"2020-07-15T02:28:43.011Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:22:46.401Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"68ca6e14cf1aa8803f6e16e5\",\"CreatedDate\":\"2025-09-17T08:15:16.774Z\",\"LastUpdateUserId\":\"68cc97a31b0aee18458912b1\",\"LastUpdateDate\":\"2026-04-20T04:27:56.536327Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"68ca6e14cf1aa8803f6e167c",
"");