using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"683f9759a7ab95049cd79ec1",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"68490ebf08d9230e38b09e36\",\"Direction\":\"Take 1 tablet ONCE DAILY in the morning as per medication chart\",\"FoilId\":\"69a23afe0c72870f374fef16\",\"FoilLabel\":\"08:00 (2)\",\"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-03-06T02:30:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"683f9759a7ab95049cd79ec1\",\"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\":\"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\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white to off-white capsule-shaped 50 BL\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"683f9759a7ab95049cd79ec1\",\"Usage\":3,\"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\":\"\",\"LastUpdateDate\":\"2025-10-11T16:00:57.777Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69aa70be9844c03efd78e26e\",\"CreatedDate\":\"2026-03-06T06:14:22.915Z\",\"CreatedUserName\":\"OC\",\"CreatedUserId\":\"6842893faf648e0b248bc0a9\",\"LastUpdateUserId\":\"683f99b008efed0898fac099\",\"LastUpdateUserName\":\"GG7\",\"LastUpdateDate\":\"2026-04-21T23:44:03.4525682Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"68490ebf08d9230e38b09e36",
"");