using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"67e0a3ddaf648e0c0c2bcfd7",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.5,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"695c6686b16176828b164482\",\"Direction\":\"1/2 MORNINGS\",\"FoilId\":\"695c6686b16176828b1644fc\",\"FoilLabel\":\"Foil 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-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\":\"67e0a3ddaf648e0c0c2bcfd7\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"LIVIAL 2.5mg TAB\",\"DrugCode\":\"LIVI1\",\"Austr\":\"55088\",\"Supplier\":\"MERCK SHARP & DOHME (AUST\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"round\",\"Marking\":\"MK 2\",\"Warning\":\"swallowed whole*Ask your Doctor or Pharmacist before using other medicines including over-the-counter or any health productsSpecial handling and disposal required - ask your Pharmacist\",\"Direction\":\"\",\"GenericCode\":\"TIBO1\",\"GenericName\":\"TIBOLONE\",\"Presentation\":\"Used to treat AND prevent ER+ breast cancer in PREmenopausel women.\",\"ImageId\":\"5f3a2d94a0ba5d7c507958bb\",\"ImageSmallSizeId\":\"68f598555a506b941b5c7e29\",\"ImageName\":\"55088-C01-01-BL600.jpg\",\"AltBrand\":\"LIVIAL, XYVION, TIBOLONE (SANDOZ), LIVILAN, TIBOLONE (APO), TIBOLONE (LUPIN), TIBOLONE (WGR)\",\"DoNotCrush\":true,\"TradeName\":\"LIVIAL\",\"Formulation\":\"TAB\",\"Strength\":\"2.5mg\",\"Schedule\":\"4\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white round MK 2\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"67e0a3ddaf648e0c0c2bcfd7\",\"Usage\":0,\"DrugFullName\":\"LIVIAL 2.5mg TAB\",\"MedicationFullDetails\":\"LIVIAL 2.5mg TAB - TIBOLONE (LIVI1)\",\"Id\":\"5f0e69e0a0ba5db368a15604\",\"CreatedDate\":\"2020-07-15T02:28:40.091Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:46:55.958Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e6bb82b02e12b3876f115a\",\"CreatedDate\":\"2026-04-20T23:49:22.1839488Z\",\"CreatedUserName\":\"kusu\",\"CreatedUserId\":\"695b34ef375cd9bd82963442\",\"LastUpdateDate\":\"2026-04-20T23:49:22.1839488Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"695c6686b16176828b164482",
"");