using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"66eb6e2e8222d30e00b01698",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69829b16fb391c0d91ca0d3d\",\"Direction\":\"1 2xDAILY\",\"FoilId\":\"69829b16fb391c0d91ca0d51\",\"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\":\"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\":\"66eb6e2e8222d30e00b01698\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"ENTRESTO 24/26 24.3mg/25.7mg TAB\",\"DrugCode\":\"ENTR4\",\"Austr\":\"234219\",\"Supplier\":\"NOVARTIS PHARMACEUTICALS\",\"Type\":\"Tablet\",\"Color\":\"violet-white\",\"Shape\":\"ovaloid\",\"Marking\":\"LZ\",\"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\":\"\",\"ImageId\":\"5f3a2da3a0ba5d7c5079604f\",\"ImageSmallSizeId\":\"68f599785a506b941b5c91dc\",\"ImageName\":\"234219-C01-01-BL600.jpg\",\"AltBrand\":\"ENTRESTO 24/26, SACUBITRIL/VALSARTAN (PCOR), VALTRESTO 24/26, OMTRALO, SACUBITRIL/VALSART(ALPHAPHARM)\",\"DoNotCrush\":true,\"TradeName\":\"ENTRESTO 24/26\",\"Formulation\":\"TAB\",\"Strength\":\"24.3mg/25.7mg\",\"Schedule\":\"4\",\"PackSize\":56,\"IsCytotoxic\":false,\"Authorized\":2,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"violet-white ovaloid LZ\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"66eb6e2e8222d30e00b01698\",\"OriginValues\":\"{\\"Authorized\\":0}\",\"Usage\":4,\"DrugFullName\":\"ENTRESTO 24/26 24.3mg/25.7mg TAB\",\"MedicationFullDetails\":\"ENTRESTO 24/26 24.3mg/25.7mg TAB - SACUBITRIL/VALSARTAN (ENTR4)\",\"Id\":\"5f0e69e0a0ba5db368a174cc\",\"CreatedDate\":\"2020-07-15T02:28:46.775Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:21:33.006Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e6bfda48571626cc05e79f\",\"CreatedDate\":\"2026-04-21T00:07:54.7775076Z\",\"CreatedUserName\":\"irfan\",\"CreatedUserId\":\"677b6fd5af648e0744dc3e34\",\"LastUpdateDate\":\"2026-04-21T00:07:54.7775076Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69829b16fb391c0d91ca0d3d",
"");