using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"67be4df4af648e1040b83990",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"67d10cd0967e010abc730f20\",\"Direction\":\"1 twice daily\",\"FoilId\":\"67d10cd0967e010abc730f22\",\"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-20T04: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\":\"67be4df4af648e1040b83990\",\"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\":\"67be4df4af648e1040b83990\",\"Usage\":0,\"DrugFullName\":\"OMTRALO 24.3mg/25.7mg TAB\",\"MedicationFullDetails\":\"OMTRALO 24.3mg/25.7mg TAB - SACUBITRIL/VALSARTAN (OMTR01)\",\"Id\":\"68934490d608d9e284c10cce\",\"CreatedDate\":\"2025-08-06T12:03:28.713Z\",\"CreatedUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T19:21:49.434Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e56dcf7f72c22cb3d44398\",\"CreatedDate\":\"2026-04-20T00:05:35.0839421Z\",\"CreatedUserName\":\"shaima\",\"CreatedUserId\":\"686db895082a6370c9d916e5\",\"LastUpdateDate\":\"2026-04-20T00:05:35.0839421Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"67d10cd0967e010abc730f20",
"");