using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68c3830a726ce0de2a679502",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[2.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"68cca609402a9050f52caa23\",\"Direction\":\"2 tablets in the morning\",\"FoilId\":\"68cca96e402a9050f53536f2\",\"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-24T06:29:49.0615231Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"OwnBag\":{},\"State\":2,\"DateCeased\":\"2026-04-24T06:29:49.0615231Z\",\"OriginDrugId\":\"5f0e69e0a0ba5db368a15d31\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"68c3830a726ce0de2a679502\",\"SyncDate\":\"0001-01-01T00:00:00Z\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"METFORMIN (APX) 1000mg TAB\",\"DrugCode\":\"METF68\",\"Austr\":\"335855\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"oval\",\"Marking\":\"M O\",\"Warning\":\"with or soon after food.*Do not exceed one Aspirin tablet or capsule per dayS/Care - DiabetesS/Care - Overweight\",\"Direction\":\"\",\"GenericCode\":\"METF12\",\"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.\",\"AltBrand\":\"DIABEX 1000, DIAFORMIN 1000, FORMET 1000, GLUCOHEXAL, FORMET 1000, GLUCOHEXAL, METFORMIN (GA), METFORMIN (GEN HLTH), METFORMIN (SANDOZ SZ), METFORMIN (SANDOZ SZ), METFORMIN (PHARMACOR), METFORMIN (RANBAXY), METFORMIN (APO), METFORMIN (CHEM-MART), METFORMIN (TW), GLUCOBETE, METFORMIN (PFIZER), METFORMIN (AN), METFORMIN (SANDOZ HX), METFORMIN (GH), METFORMIN (APX), METFORMIN (BLOOMS), DIAFORMIN (VIATRIS), METFORMIN (WGR)\",\"DoNotCrush\":false,\"TradeName\":\"METFORMIN (APX)\",\"Formulation\":\"TAB\",\"Strength\":\"1000mg\",\"Schedule\":\"4\",\"PackSize\":90,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68c3830a726ce0de2a679502\",\"Usage\":2,\"DrugFullName\":\"METFORMIN (APX) 1000mg TAB\",\"MedicationFullDetails\":\"METFORMIN (APX) 1000mg TAB - METFORMIN HCL (METF68)\",\"Id\":\"6102d273a6b66b27b8110237\",\"CreatedDate\":\"2021-07-29T16:08:19.658Z\",\"CreatedUserId\":\"5fa24cab89e48b3a6ef44ad0\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T23:00:29.028Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"68d0fb7d5727134b0a07bb33\",\"CreatedDate\":\"2025-09-22T07:32:13.579Z\",\"CreatedUserName\":\"Vleung\",\"CreatedUserId\":\"68c76a25fe4aa7ae4226b1b1\",\"LastUpdateUserId\":\"68c76a25fe4aa7ae4226b1b1\",\"LastUpdateUserName\":\"Vleung\",\"LastUpdateDate\":\"2026-04-24T06:29:49.0615231Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"68cca609402a9050f52caa23",
"");