using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"645334def65a88089ce58676",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69b3e8a4662f10468655bf94\",\"Direction\":\"1 2xDAILY\",\"FoilId\":\"69b3e8a4662f10468655bfa2\",\"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\":\"0001-01-01T00:00:00\",\"EndDate\":\"2026-04-24T07:55:05.9174901Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-24T07:55:05.9174901Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"645334def65a88089ce58676\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"OMTRALO 24.3mg/25.7mg TAB\",\"DrugCode\":\"OMTR01\",\"Austr\":\"475687\",\"Supplier\":\"NOVARTIS PHARMACEUTICALS\",\"Type\":\"Tablet\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"swallowed whole*May affect alertness and/or co-ordination. If affected, do not drive or operate machinery*May cause dizziness when standing up quickly*DO NOT TAKE POTASSIUM while being treated with this medicine unless advised by your Doctor**Ask your Doctor or Pharmacist before using other medicines including over-the-counter or any health productsPREGNANCY WARNING - Category DSpecial handling and disposal required - ask your Pharmacist*Ask your pharmacist about the storage conditions for this medicine\",\"Direction\":\"\",\"GenericCode\":\"SAVA2\",\"GenericName\":\"SACUBITRIL/VALSARTAN\",\"Presentation\":\"\",\"AltBrand\":\"ENTRESTO 24/26, SACUBITRIL/VALSARTAN (PCOR), VALTRESTO 24/26, OMTRALO, SACUBITRIL/VALSART(ALPHAPHARM)\",\"DoNotCrush\":true,\"TradeName\":\"OMTRALO\",\"Formulation\":\"TAB\",\"Strength\":\"24.3mg/25.7mg\",\"Schedule\":\"4\",\"PackSize\":56,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"645334def65a88089ce58676\",\"Usage\":0,\"DrugFullName\":\"OMTRALO 24.3mg/25.7mg TAB\",\"MedicationFullDetails\":\"OMTRALO 24.3mg/25.7mg TAB - SACUBITRIL/VALSARTAN (OMTR01)\",\"Id\":\"689335e6d608d9e2840feaaa\",\"CreatedDate\":\"2025-08-06T11:00:54.998Z\",\"CreatedUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T15:50:19.718Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69cbe267796c1eb6f0d2cf0d\",\"CreatedDate\":\"2026-03-31T15:04:07.522Z\",\"CreatedUserName\":\"Thomas\",\"CreatedUserId\":\"64546ef2f65a8808c4c390a0\",\"LastUpdateUserId\":\"64546ef2f65a8808c4c390a0\",\"LastUpdateDate\":\"2026-04-24T07:55:05.9174901Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69b3e8a4662f10468655bf94",
"");