using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68c8eece65229a4548d0a1a3",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69e6cdf848571626cc40d8da\",\"Direction\":\"Take 1 tablet in the morning\",\"FoilId\":\"69e6ce5fb02e12b387ba7289\",\"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\":\"68c8eece65229a4548d0a1a3\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"TELMISARTAN/AMLODIPINE (APO) 40mg/5mg TAB\",\"DrugCode\":\"TEAM6\",\"Austr\":\"276429\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"*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*Do NOT stop taking this medication abruptly*Certain foods and fruit juices should be avoided while being treated with this medicineSpecial handling and disposal required - ask your Pharmacistswallowed wholePREGNANCY WARNING - Category D\",\"Direction\":\"\",\"GenericCode\":\"TEAM1\",\"GenericName\":\"TELMISARTAN/AMLODIPINE\",\"Presentation\":\"\",\"AltBrand\":\"TWYNSTA, PRITOR/AMLODIPINE, TELMISARTAN/AMLODIPINE (APO)\",\"DoNotCrush\":true,\"TradeName\":\"TELMISARTAN/AMLODIPINE (APO)\",\"Formulation\":\"TAB\",\"Strength\":\"40mg/5mg\",\"Schedule\":\"4\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68c8eece65229a4548d0a1a3\",\"Usage\":0,\"DrugFullName\":\"TELMISARTAN/AMLODIPINE (APO) 40mg/5mg TAB\",\"MedicationFullDetails\":\"TELMISARTAN/AMLODIPINE (APO) 40mg/5mg TAB - TELMISARTAN/AMLODIPINE (TEAM6)\",\"Id\":\"5f0e69e0a0ba5db368a177ab\",\"CreatedDate\":\"2020-07-15T02:28:47.419Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T23:05:36.128Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e6d209b02e12b387c794d1\",\"CreatedDate\":\"2026-04-21T01:25:29.4164588Z\",\"CreatedUserName\":\"Franny\",\"CreatedUserId\":\"68f0858c6b7127318dcda648\",\"LastUpdateDate\":\"2026-04-21T01:25:29.4164588Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e6cdf848571626cc40d8da",
"");