using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6682342dd222d91390e5c8b5",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"668cd68027976e0f0c530420\",\"Direction\":\"1 MORNINGS\",\"FoilId\":\"668cd68027976e0f0c530423\",\"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\":\"6682342dd222d91390e5c8b5\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"AMLODIPINE/VALSARTAN(NOVARTIS) 10mg/320mg TAB\",\"DrugCode\":\"VAAM5\",\"Austr\":\"161826\",\"Supplier\":\"NOVARTIS PHARMACEUTICALS\",\"Type\":\"Tablet\",\"Color\":\"dark yellow\",\"Shape\":\"oval\",\"Marking\":\"LUF\",\"Warning\":\"*Do NOT stop taking this medication abruptly*DO NOT TAKE POTASSIUM while being treated with this medicine unless advised by your Doctor**May affect alertness and/or co-ordination. If affected, do not drive or operate machinery*May cause dizziness when standing up quickly*Certain foods and fruit juices should be avoided while being treated with this medicineswallowed wholeSpecial handling and disposal required - ask your Pharmacist\",\"Direction\":\"\",\"GenericCode\":\"VALS19\",\"GenericName\":\"AMLODIPINE/VALSARTAN\",\"Presentation\":\"\",\"AltBrand\":\"EXFORGE, AMLODIPINE/VALSARTAN(NOVARTIS)\",\"DoNotCrush\":true,\"TradeName\":\"AMLODIPINE/VALSARTAN(NOVARTIS)\",\"Formulation\":\"TAB\",\"Strength\":\"10mg/320mg\",\"Schedule\":\"4\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6682342dd222d91390e5c8b5\",\"Usage\":0,\"DrugFullName\":\"AMLODIPINE/VALSARTAN(NOVARTIS) 10mg/320mg TAB\",\"MedicationFullDetails\":\"AMLODIPINE/VALSARTAN(NOVARTIS) 10mg/320mg TAB - AMLODIPINE/VALSARTAN (VAAM5)\",\"Id\":\"5f0e69e0a0ba5db368a177bd\",\"CreatedDate\":\"2020-07-15T02:28:47.436Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T17:07:56.944Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e6d4d914702a0570113ab0\",\"CreatedDate\":\"2026-04-21T01:37:29.7924063Z\",\"CreatedUserName\":\"SWILSON\",\"CreatedUserId\":\"668f4bcfd222d90fac19b78c\",\"LastUpdateDate\":\"2026-04-21T01:37:29.7924063Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"668cd68027976e0f0c530420",
"");