using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68831b733e5f1b9fd3be5032",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69e7286648571626cc876f07\",\"Direction\":\"Take ONE tablet at night\",\"FoilId\":\"69e72ba2b02e12b38705948d\",\"FoilLabel\":\"Regular Pack\",\"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-21T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":0,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"68831b733e5f1b9fd3be5032\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"HYDROXYCHLOROQUINE (APO) 200mg TAB\",\"DrugCode\":\"HYDR46\",\"Austr\":\"186393\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white to off-white\",\"Shape\":\"capsule-shaped\",\"Marking\":\"HCQS\",\"Warning\":\"*Avoid excessive exposure to sunlight and sunlampswith or soon after food.*Ask your pharmacist about the storage conditions for this medicineSpecial handling and disposal required - ask your Pharmacistswallowed whole*Do not crush or chew*\",\"Direction\":\"\",\"GenericCode\":\"HY45\",\"GenericName\":\"HYDROXYCHLOROQUINE SULFATE\",\"Presentation\":\"Used to treat rheumatoid arthritis, some symptoms of lupus, juvenile rheumatoid arthritis, and other autoimmune diseases.\",\"ImageId\":\"5f3a2daaa0ba5d7c507963d3\",\"ImageSmallSizeId\":\"68f599135a506b941b5c8c9a\",\"ImageName\":\"186393-C01-01-BL600.jpg\",\"AltBrand\":\"PLAQUENIL, HYDROXYCHLOROQUINE (APO), HYDROXYCHLOROQUINE (CHEM-MART), HYDROXYCHLOROQUINE (TW), HYDROXYCHLOROQUINE (ACTAVIS), HYDROXYCHLOROQUINE (RBX), HEQUINEL, HYDROXYCHLOROQUINE (AN), HYDROXYCHLOROQUINE (GH)\",\"DoNotCrush\":true,\"TradeName\":\"HYDROXYCHLOROQUINE (APO)\",\"Formulation\":\"TAB\",\"Strength\":\"200mg\",\"Schedule\":\"4\",\"PackSize\":100,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white to off-white capsule-shaped HCQS\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68831b733e5f1b9fd3be5032\",\"Usage\":0,\"DrugFullName\":\"HYDROXYCHLOROQUINE (APO) 200mg TAB\",\"MedicationFullDetails\":\"HYDROXYCHLOROQUINE (APO) 200mg TAB - HYDROXYCHLOROQUINE SULFATE (HYDR46)\",\"Id\":\"5f0e69e0a0ba5db368a16af0\",\"CreatedDate\":\"2020-07-15T02:28:44.645Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:16:52.702Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e72c21b02e12b387068f22\",\"CreatedDate\":\"2026-04-21T07:49:53.0435018Z\",\"CreatedUserName\":\"dlt\",\"CreatedUserId\":\"688b03f1b6488b834db002d9\",\"LastUpdateDate\":\"2026-04-21T07:49:53.0435018Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e7286648571626cc876f07",
"");