using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"683f82a5af648e0e90b91535",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69e5a6bb2c1a237be0d10bd6\",\"Direction\":\"Take ONE tablet TWICE a day with food - Avoid excessive sunlight.\",\"FoilId\":\"69e5a6bb2c1a237be0d10bf7\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-04-02T01:34:45Z\",\"ScriptNum\":\"6040284\",\"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\":\"2026-04-20T02:30:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"683f82a5af648e0e90b91535\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"HYDROXYCHLOROQUINE (APO) 200mg TAB\",\"DrugCode\":\"HYDR46\",\"Austr\":\"186393\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white to off-white\",\"Shape\":\"capsule-shaped\",\"Marking\":\"HCQS\",\"Warning\":\"*Avoid excessive exposure to sunlight and sunlampswith or soon after food.*Ask your pharmacist about the storage conditions for this medicineSpecial handling and disposal required - ask your Pharmacistswallowed whole*Do not crush or chew*\",\"Direction\":\"\",\"GenericCode\":\"HY45\",\"GenericName\":\"HYDROXYCHLOROQUINE SULFATE\",\"Presentation\":\"Used to treat rheumatoid arthritis, some symptoms of lupus, juvenile rheumatoid arthritis, and other autoimmune diseases.\",\"ImageId\":\"5f3a2daaa0ba5d7c507963d3\",\"ImageSmallSizeId\":\"68f599135a506b941b5c8c9a\",\"ImageName\":\"186393-C01-01-BL600.jpg\",\"AltBrand\":\"PLAQUENIL, HYDROXYCHLOROQUINE (APO), HYDROXYCHLOROQUINE (CHEM-MART), HYDROXYCHLOROQUINE (TW), HYDROXYCHLOROQUINE (ACTAVIS), HYDROXYCHLOROQUINE (RBX), HEQUINEL, HYDROXYCHLOROQUINE (AN), HYDROXYCHLOROQUINE (GH)\",\"DoNotCrush\":true,\"TradeName\":\"HYDROXYCHLOROQUINE (APO)\",\"Formulation\":\"TAB\",\"Strength\":\"200mg\",\"Schedule\":\"4\",\"PackSize\":100,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white to off-white capsule-shaped HCQS\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"683f82a5af648e0e90b91535\",\"Usage\":0,\"DrugFullName\":\"HYDROXYCHLOROQUINE (APO) 200mg TAB\",\"MedicationFullDetails\":\"HYDROXYCHLOROQUINE (APO) 200mg TAB - HYDROXYCHLOROQUINE SULFATE (HYDR46)\",\"Id\":\"5f0e69e0a0ba5db368a16af0\",\"CreatedDate\":\"2020-07-15T02:28:44.645Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:00:37.841Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e5a6bb2c1a237be0d10bfe\",\"CreatedDate\":\"2026-04-20T04:08:27.446Z\",\"CreatedUserId\":\"6848f41da7ab95028cac29df\",\"LastUpdateUserId\":\"6848f41da7ab95028cac29df\",\"LastUpdateUserName\":\"siewyl\",\"LastUpdateDate\":\"2026-04-20T04:10:10.3369905Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e5a6bb2c1a237be0d10bd6",
"");