using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"682d10cda7ab9508f4722ab0",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"68cb7234e91894b799e7764e\",\"Direction\":\"1 MORNINGS\",\"FoilId\":\"68cb7234e91894b799e77665\",\"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\":\"2025-09-18T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"682d10cda7ab9508f4722ab0\",\"SyncDate\":\"0001-01-01T00:00:00Z\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"ISOSORBIDE MONONITRATE (APO) 60mg SR-TAB\",\"DrugCode\":\"ISAP1\",\"Austr\":\"75240\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"SR-Tablet\",\"Color\":\"cream\",\"Shape\":\"oval\",\"Marking\":\"\",\"Warning\":\"swallowed wholeS/Care - High Blood PressureS/Care - Reducing Fat/CholestS/Care - Exercise & Heart*May cause dizziness when standing up quickly\",\"Direction\":\"\",\"GenericCode\":\"ISI0\",\"GenericName\":\"ISOSORBIDE MONONITRATE\",\"Presentation\":\"Used to prevent chest pain (angina) in patients with a certain heart condition (coronary artery disease). \",\"ImageId\":\"5f3a2db5a0ba5d7c50796a83\",\"ImageSmallSizeId\":\"68f599f15a506b941b5c97db\",\"ImageName\":\"75240-C01-01-BL600.jpg\",\"AltBrand\":\"IMDUR DURULE, MONODUR, DURIDE, IMTRATE, ISOMONIT, ISOSORBIDE MONO (CHEM-MART), ISOSORBIDE MONONITRATE (GENRX), ISOSORBIDE MONO (HEALTHSENSE), ISOSORBIDE MONO (TW), ISOSORBIDE MONO-BC, ARSORB, ISOSORBIDE (PS), ISOSORBIDE (AN), ISOBIDE MR, ISOSORBIDE MONONITRATE (APO), ISOSORBIDE MR (WGR)\",\"DoNotCrush\":true,\"TradeName\":\"ISOSORBIDE MONONITRATE (APO)\",\"Formulation\":\"SR-TAB\",\"Strength\":\"60mg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"cream oval\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"682d10cda7ab9508f4722ab0\",\"Usage\":2,\"DrugFullName\":\"ISOSORBIDE MONONITRATE (APO) 60mg SR-TAB\",\"MedicationFullDetails\":\"ISOSORBIDE MONONITRATE (APO) 60mg SR-TAB - ISOSORBIDE MONONITRATE (ISAP1)\",\"Id\":\"5f0e69e0a0ba5db368a179b5\",\"CreatedDate\":\"2020-07-15T02:28:47.824Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:56:49.631Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"68cb72b31b0aee1845e2223c\",\"CreatedDate\":\"2025-09-18T02:47:15.881Z\",\"CreatedUserName\":\"sizar\",\"CreatedUserId\":\"6837938308efed03f0f288fb\",\"LastUpdateUserId\":\"68532b69a7ab950ca0cbfac9\",\"LastUpdateUserName\":\"phuong\",\"LastUpdateDate\":\"2026-04-21T01:58:15.0052946Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"68cb7234e91894b799e7764e",
"");