using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"66bd6728d222d90364e82f6b",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69e56fa5e22cc52e7ee4360c\",\"Direction\":\"take one tablet daily\",\"FoilId\":\"69e56fc721162426a3ed660a\",\"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\":\"2026-04-20T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":0,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"66bd6728d222d90364e82f6b\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"DIAFORMIN 500mg TAB\",\"DrugCode\":\"DIA8\",\"Austr\":\"73806\",\"Supplier\":\"ALPHAPHARM PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"oblong\",\"Marking\":\"MF 1\",\"Warning\":\"*Do not exceed one Aspirin tablet or capsule per daywith or soon after food.S/Care - Diabetes\",\"Direction\":\"\",\"GenericCode\":\"ME19\",\"GenericName\":\"METFORMIN HCL\",\"Presentation\":\"Used in the treatment of diabetes. Controlling high blood sugar helps prevent heart disease, strokes, kidney disease, circulation problems, and blindness.\",\"ImageId\":\"5f3a2f25a0ba5d7c507977cc\",\"ImageSmallSizeId\":\"68f598115a506b941b5c7a8b\",\"ImageName\":\"73806-C01-01-BL600.jpg\",\"AltBrand\":\"DIABEX, DIAFORMIN, GLUCOPHAGE, GLUCOMET, GLUCOHEXAL, NOVOMET, GLUCOHEXAL, METFORMIN (CHEM-MART), METFORMIN (HEALTHSENSE), METFORMIN (TW), METFORMIN GENRX, METFORMIN-BC, FORMET 500, METFORMIN (ASCENT PHARMA), METFORBELL, METFORMIN (CR), FORMET 500, METFORMIN (GEN HLTH), METFORMIN (RANBAXY), METFORMIN (GA), METFORMIN (SANDOZ), METFORMIN (SANDOZ), METFORMIN (APO), GLUCOBETE, METFORMIN (PFIZER), FORMET ASPEN 500, FORMET ASPEN 500, METFORMIN (AN), FORMET 500, FORMET 500, METFORMIN (GH), METFORMIN (APX), METFORMI\",\"DoNotCrush\":false,\"TradeName\":\"DIAFORMIN\",\"Formulation\":\"TAB\",\"Strength\":\"500mg\",\"Schedule\":\"4\",\"PackSize\":100,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white oblong MF 1\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"66bd6728d222d90364e82f6b\",\"Usage\":0,\"DrugFullName\":\"DIAFORMIN 500mg TAB\",\"MedicationFullDetails\":\"DIAFORMIN 500mg TAB - METFORMIN HCL (DIA8)\",\"Id\":\"5f0e69e0a0ba5db368a14376\",\"CreatedDate\":\"2020-07-15T02:28:35.79Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:17:17.47Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e570297f72c22cb3df113b\",\"CreatedDate\":\"2026-04-20T00:15:37.0148603Z\",\"CreatedUserName\":\"mariana\",\"CreatedUserId\":\"6907e379d9051af513905415\",\"LastUpdateDate\":\"2026-04-20T00:15:37.0148603Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e56fa5e22cc52e7ee4360c",
"");