using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"697044a8552ae687da1bfc99",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"697a6929423ac5cb0198f7d2\",\"Direction\":\"1 MORNINGS\",\"FoilId\":\"697a6929423ac5cb0198f7e0\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-01-15T01:04:06Z\",\"ScriptNum\":\"1910746\",\"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-01-29T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":6,\"PackedWeekDay\":[false,true,true,true,true,true,true],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00Z\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"697044a8552ae687da1bfc99\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"ELEVA 100mg (as HCL) TAB\",\"DrugCode\":\"ELEV2\",\"Austr\":\"95583\",\"Supplier\":\"ALPHAPHARM PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white to off-white\",\"Shape\":\"capsule-shaped\",\"Marking\":\"ST 100\",\"Warning\":\"*Ask your Doctor or Pharmacist before using other medicines including over-the-counter or any health products*Do NOT stop taking this medication abruptly*May affect alertness and/or co-ordination. If affected, do not drive or operate machineryPcy Board Warn: Similar Names\",\"Direction\":\"\",\"GenericCode\":\"SERT1\",\"GenericName\":\"SERTRALINE\",\"Presentation\":\"Used to treat depression, obsessive-compulsive disorder, panic disorder, anxiety disorders, post-traumatic stress disorder (PTSD), and premenstrual dysphoric disorder (PMDD). \",\"ImageId\":\"5f3a2da0a0ba5d7c50795e95\",\"ImageSmallSizeId\":\"68f598875a506b941b5c808b\",\"ImageName\":\"95583-C01-01-BL600.jpg\",\"AltBrand\":\"ZOLOFT, XYDEP, CONCORZ, ELEVA, SERTRALINE (CHEM-MART), SERTRALINE (DP), SERTRALINE (TW), SERTRALINE (GENRX), CONCORZ, SETRONA, SERTRALINE (WINTHROP), SERTRALINE (CR), SERTRALINE (GEN HLTH), SERTRA, SERTRATRUST, SERTRALINE (ACTAVIS), SERTRACOR, SERTRALINE (DRLA), SERTRALINE (SANDOZ), SERTRALINE (AURO), SERTRALINE (PFIZER), SERTRALINE (APO), SERTRALINE (AN), SERTRALINE (NOUMED), SERTRALINE USP (CIPLA) S19A, SERTRALINE (BLOOMS), SERTRALINE (WGR)\",\"DoNotCrush\":false,\"TradeName\":\"ELEVA\",\"Formulation\":\"TAB\",\"Strength\":\"100mg (as HCL)\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":2,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white to off-white capsule-shaped ST 100\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"697044a8552ae687da1bfc99\",\"Usage\":7,\"DrugFullName\":\"ELEVA 100mg (as HCL) TAB\",\"MedicationFullDetails\":\"ELEVA 100mg (as HCL) TAB - SERTRALINE (ELEV2)\",\"Id\":\"5f0e69e0a0ba5db368a15d27\",\"CreatedDate\":\"2020-07-15T02:28:41.707Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:34.631Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"697a6929423ac5cb0198f7ed\",\"CreatedDate\":\"2026-01-28T19:53:13.945Z\",\"CreatedUserId\":\"69707543f24f28f0c19a12ff\",\"LastUpdateUserId\":\"6970598e552ae687da50ba00\",\"LastUpdateUserName\":\"SamL\",\"LastUpdateDate\":\"2026-04-23T02:00:33.4177842Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"697a6929423ac5cb0198f7d2",
"");