using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6822d1e908efed0d9087314c",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"682ec3192e39a30f1408b708\",\"Direction\":\"1 2xDAILY\",\"FoilId\":\"69827f0efb391c0d91712bce\",\"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\":\"6822d1e908efed0d9087314c\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"OMTRALO 48.6mg/51.4mg TAB\",\"DrugCode\":\"OMTR02\",\"Austr\":\"475686\",\"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\":\"SAVA3\",\"GenericName\":\"SACUBITRIL/VALSARTAN\",\"Presentation\":\"\",\"AltBrand\":\"ENTRESTO 49/51, SACUBITRIL/VALSARTAN (PCOR), VALTRESTO 49/51, OMTRALO, SACUBITRIL/VALSART(ALPHAPHARM)\",\"DoNotCrush\":true,\"TradeName\":\"OMTRALO\",\"Formulation\":\"TAB\",\"Strength\":\"48.6mg/51.4mg\",\"Schedule\":\"4\",\"PackSize\":56,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6822d1e908efed0d9087314c\",\"Usage\":2,\"DrugFullName\":\"OMTRALO 48.6mg/51.4mg TAB\",\"MedicationFullDetails\":\"OMTRALO 48.6mg/51.4mg TAB - SACUBITRIL/VALSARTAN (OMTR02)\",\"Id\":\"6893496fd608d9e284f7ba01\",\"CreatedDate\":\"2025-08-06T12:24:15.575Z\",\"CreatedUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T20:17:56.223Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e6fa99d23a789810ff2072\",\"CreatedDate\":\"2026-04-21T04:18:33.2631697Z\",\"CreatedUserName\":\"vic\",\"CreatedUserId\":\"693fb2d7271231ca7bc33c27\",\"LastUpdateDate\":\"2026-04-21T04:18:33.2631697Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"682ec3192e39a30f1408b708",
"");