using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68c9027765229a4548111529",
FromJson<Prescription>("{\"PackType\":3,\"Dose\":[1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"692781f4960a0416f7908c8f\",\"Direction\":\"1 in the eve prn\",\"FoilId\":\"692781f4960a0416f7908cb2\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2025-10-24T23:51:28Z\",\"ScriptNum\":\"1189594\",\"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-22T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"2026-03-19T05:41:43.873Z\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"NSAID\",\"Unit\":\"capsule\",\"PharmacyId\":\"68c9027765229a4548111529\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"CELEXI 100mg CAP\",\"DrugCode\":\"CELE14\",\"Austr\":\"206828\",\"Supplier\":\"ARROW PHARMA PTY LTD\",\"Type\":\"Capsule\",\"Color\":\"Opaque, White with 2 blue bands\",\"Shape\":\"Capsule\",\"Marking\":\"\\"100\\"\",\"Warning\":\"C/I IN PTS WITH SULPHA ALLERGY*Do not exceed one Aspirin tablet or capsule per day*May affect alertness and/or co-ordination. If affected, do not drive or operate machineryConsult doctor or pharmacist before taking other medicines for pain or inflammationTGA Warning: Prior/During Pregnancy\",\"Direction\":\"\",\"GenericCode\":\"CELE2\",\"GenericName\":\"CELECOXIB\",\"Presentation\":\"\",\"ImageId\":\"5f3a2daca0ba5d7c5079656b\",\"ImageSmallSizeId\":\"68f599545a506b941b5c8fc5\",\"ImageName\":\"206828-C01-01-BL600.jpg\",\"AltBrand\":\"CELEBREX, CELAXIB, CELECOXIB (ACTAVIS), CELECOXIB (AN), CELECOXIB (APO), CELECOXIB (BLOOMS-IB), CELECOXIB (CHEM-MART), CELECOXIB (GH), CELECOXIB (RBX), CELECOXIB (SANDOZ), CELECOXIB (TW), CELEXI, KUDEQ, CELECOXIB (BTC), CELECOXIB (GENRX), CELECOXIB (APOTEX), CELECOXIB (APX), CELECOXIB (NOUMED), CELECOXIB (WGR), CELECOXIB (BLOOMS-BG)\",\"DoNotCrush\":false,\"TradeName\":\"CELEXI\",\"Formulation\":\"CAP\",\"Strength\":\"100mg\",\"Schedule\":\"4\",\"PackSize\":60,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"opaque white with 2 blue bands\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68c9027765229a4548111529\",\"Usage\":2,\"DrugFullName\":\"CELEXI 100mg CAP\",\"MedicationFullDetails\":\"CELEXI 100mg CAP - CELECOXIB (CELE14)\",\"Id\":\"5f0e69e0a0ba5db368a17102\",\"CreatedDate\":\"2020-07-15T02:28:45.954Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:30:20.272Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"692781f5960a0416f7908ccb\",\"CreatedDate\":\"2025-11-26T22:40:53.158Z\",\"CreatedUserId\":\"68fffbf158652f6f2e20501f\",\"LastUpdateUserId\":\"692538017037eafc0466478c\",\"LastUpdateUserName\":\"wildst\",\"LastUpdateDate\":\"2026-04-21T21:58:23.4545486Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"692781f4960a0416f7908c8f",
"");