using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"683d4339af648e059c5eae4a",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"684a216408d92301d0862771\",\"Direction\":\"Take 1 MORNINGS\",\"FoilId\":\"684a216408d92301d0862781\",\"FoilLabel\":\"Foil 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-04-24T02: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\":\"683d4339af648e059c5eae4a\",\"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\":2,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":1,\"Description\":\"white to off-white capsule-shaped HCQS\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"683d4339af648e059c5eae4a\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"OriginValues\":\"{\\"Authorized\\":0,\\"ShelfLife\\":0,\\"Route\\":null}\",\"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\":\"68537594af648e0f281a8259\",\"LastUpdateDate\":\"2025-10-28T04:50:20.809Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69eafb885976b98c14d2082e\",\"CreatedDate\":\"2026-04-24T05:11:36.5939398Z\",\"CreatedUserName\":\"cx\",\"CreatedUserId\":\"690fe2d89469790d442a3551\",\"LastUpdateDate\":\"2026-04-24T05:11:36.5939398Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"684a216408d92301d0862771",
"");