using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6684a35b5ac25f0efcd9e5fb",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"6790424308efed0e0c62c8e6\",\"Direction\":\"1 DAILY\",\"FoilId\":\"6790424308efed0e0c62c8e9\",\"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\":\"2026-04-20T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":0,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"6684a35b5ac25f0efcd9e5fb\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"SERTRALINE (APO) 50mg (as HCL) TAB\",\"DrugCode\":\"SERT35\",\"Austr\":\"213177\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white to off-white\",\"Shape\":\"capsule-shaped\",\"Marking\":\"white to off-white capsule-shaped 50 BL\",\"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\":\"SERT2\",\"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\":\"5f3a2da6a0ba5d7c507961b4\",\"ImageSmallSizeId\":\"68f599335a506b941b5c8e35\",\"ImageName\":\"213177-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\":\"SERTRALINE (APO)\",\"Formulation\":\"TAB\",\"Strength\":\"50mg (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 50 BL\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6684a35b5ac25f0efcd9e5fb\",\"OriginValues\":\"{\\"Authorized\\":0}\",\"Usage\":9,\"DrugFullName\":\"SERTRALINE (APO) 50mg (as HCL) TAB\",\"MedicationFullDetails\":\"SERTRALINE (APO) 50mg (as HCL) TAB - SERTRALINE (SERT35)\",\"Id\":\"5f0e69e0a0ba5db368a16e4c\",\"CreatedDate\":\"2020-07-15T02:28:45.372Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"68436adb08efed04cc87b8d9\",\"LastUpdateDate\":\"2025-11-25T04:39:09Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e5956121162426a378f71f\",\"CreatedDate\":\"2026-04-20T02:54:25.4120693Z\",\"CreatedUserName\":\"NU\",\"CreatedUserId\":\"68436adb08efed04cc87b8d9\",\"LastUpdateDate\":\"2026-04-20T02:54:25.4120693Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6790424308efed0e0c62c8e6",
"");