using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6817f663af648e10f80961b9",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,1.0,1.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"6969f3380336643c853d1969\",\"Direction\":\"Take 1 tablet three times a day\",\"FoilId\":\"6969f367ac6854f158620ef0\",\"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-05-01T04:41:45.975331Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"OwnBag\":{},\"State\":2,\"DateCeased\":\"2026-05-01T04:41:45.975331Z\",\"OriginDrugId\":\"66e4d7e927976e0dd0ef9f9c\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"6817f663af648e10f80961b9\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"PIRFENIDONE (ARX) 801mg TAB\",\"DrugCode\":\"PIRF13\",\"Austr\":\"405525\",\"Supplier\":\"ARROTEX PHARMACEUTICALS P\",\"Type\":\"Tablet\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"with or soon after food.*May affect alertness and/or co-ordination. If affected, do not drive or operate machinery*Avoid excessive exposure to sunlight and sunlamps*Certain foods and fruit juices should be avoided while being treated with this medicine*Avoid combination with St John's wortDo not consider pregnancy w/o Drs adviceHIC-NO INCREASE IN QTY & RPTS ALLOWED\",\"Direction\":\"\",\"GenericCode\":\"PIRF3\",\"GenericName\":\"PIRFENIDONE\",\"Presentation\":\"\",\"AltBrand\":\"ESBRIET, PIRFENIDONE (SANDOZ), PIRFENIDONE (AMEDA), PIRFENIDET, PIRFENIDONE (DR REDDY'S), PIRFENIDONE (ARX)\",\"DoNotCrush\":false,\"TradeName\":\"PIRFENIDONE (ARX)\",\"Formulation\":\"TAB\",\"Strength\":\"801mg\",\"Schedule\":\"4\",\"PackSize\":90,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6817f663af648e10f80961b9\",\"Usage\":0,\"DrugFullName\":\"PIRFENIDONE (ARX) 801mg TAB\",\"MedicationFullDetails\":\"PIRFENIDONE (ARX) 801mg TAB - PIRFENIDONE (PIRF13)\",\"Id\":\"689348d3d608d9e284f0f211\",\"CreatedDate\":\"2025-08-06T12:21:39.833Z\",\"CreatedUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T20:10:44.999Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69f167f649207d4630085ac8\",\"CreatedDate\":\"2026-04-29T02:07:50.674Z\",\"CreatedUserName\":\"IR\",\"CreatedUserId\":\"684b5baca7ab9503749337e9\",\"LastUpdateUserId\":\"684b5baca7ab9503749337e9\",\"LastUpdateUserName\":\"IR\",\"LastUpdateDate\":\"2026-05-01T04:41:45.975331Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6969f3380336643c853d1969",
"");