using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"687ed0ba5f35fa41762e0f48",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,0.0,0.5,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"68941d17f70a2658ffe8fae9\",\"Direction\":\"Take HALF a tablet at night\",\"FoilId\":\"68941d17f70a2658ffe8faeb\",\"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\":\"0001-01-01T00:00:00\",\"EndDate\":\"2026-04-21T04:30:22.0026264Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-21T04:30:22.0026264Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"687ed0ba5f35fa41762e0f48\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"AMLO 5mg TAB\",\"DrugCode\":\"AMLO13\",\"Austr\":\"201371\",\"Supplier\":\"ARROW PHARMA PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"round\",\"Marking\":\"AM 5\",\"Warning\":\"*Do NOT stop taking this medication abruptly*May cause dizziness when standing up quickly*Certain foods and fruit juices should be avoided while being treated with this medicineS/Care - Exercise & HeartS/Care - Reducing Fat/Cholest\",\"Direction\":\"\",\"GenericCode\":\"AML2\",\"GenericName\":\"AMLODIPINE\",\"Presentation\":\"\",\"ImageId\":\"5f3a2f26a0ba5d7c50797893\",\"ImageSmallSizeId\":\"68f5989f5a506b941b5c81b8\",\"ImageName\":\"201371-C01-01-BL600.jpg\",\"AltBrand\":\"NORVASC, AMLODIPINE (TPX BASE), AMLODIPINE (SANDOZ), AMLO, PERIVASC, AMLODIPINE (GH), AMLODIPINE (APO), AMLODIPINE (CHEM-MART), AMLODIPINE (GA), AMLODIPINE (TW), OZLODIP, AMLODIPINE (PHARMACOR), NORDIP, NORVAPINE, AMLODIPINE (DRLA), AMLODIPINE (APO), AMLODIPINE (AURO), AMLODIPINE (PFIZER), AMLODIPINE (AN), AMLODIPINE (BLOOMS-IB), AMLODIPINE (AMNEAL), AMLODIPINE (APOTEX), AMLODIPINE (BTC), AMLODIPINE (NOUMED), AMLODIPINE (BLOOMS-BG), AMLODIPINE (APX), AMLODIPINE (WGR)\",\"DoNotCrush\":false,\"TradeName\":\"AMLO\",\"Formulation\":\"TAB\",\"Strength\":\"5mg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":2,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":1,\"Description\":\"white to off-white octagonal-shaped AM 5\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"687ed0ba5f35fa41762e0f48\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"OriginValues\":\"{\\"Authorized\\":0,\\"ShelfLife\\":0,\\"Route\\":null}\",\"Usage\":4,\"DrugFullName\":\"AMLO 5mg TAB\",\"MedicationFullDetails\":\"AMLO 5mg TAB - AMLODIPINE (AMLO13)\",\"Id\":\"5f0e69e0a0ba5db368a16005\",\"CreatedDate\":\"2020-07-15T02:28:42.286Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"6894292e585ec12b827f3523\",\"LastUpdateDate\":\"2025-09-17T03:22:08.327Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69dc9966fd4d22e627e6ac2a\",\"CreatedDate\":\"2026-04-13T07:21:10.174Z\",\"CreatedUserName\":\"SEP\",\"CreatedUserId\":\"689429bf5f3c04c71e55cc07\",\"LastUpdateUserId\":\"689427e0585ec12b827cd4b6\",\"LastUpdateDate\":\"2026-04-21T04:30:22.0026264Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"68941d17f70a2658ffe8fae9",
"");