using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"69e16aae8c67735765d60b3a",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69e5cc9b21162426a33ca8bc\",\"Direction\":\"1 daily\",\"FoilId\":\"69e5ccd32c1a237be05c5547\",\"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-20T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":0,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"69e16aae8c67735765d60b3a\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"AMLODIPINE (APO) 5mg TAB\",\"DrugCode\":\"AMAP1\",\"Austr\":\"135145\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white to off-white\",\"Shape\":\"round\",\"Marking\":\"AML 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\":\"5f3a2f1aa0ba5d7c507971c0\",\"ImageSmallSizeId\":\"68f598f35a506b941b5c8a33\",\"ImageName\":\"135145-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\":\"AMLODIPINE (APO)\",\"Formulation\":\"TAB\",\"Strength\":\"5mg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white to off-white round AML 5\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"69e16aae8c67735765d60b3a\",\"Usage\":2,\"DrugFullName\":\"AMLODIPINE (APO) 5mg TAB\",\"MedicationFullDetails\":\"AMLODIPINE (APO) 5mg TAB - AMLODIPINE (AMAP1)\",\"Id\":\"5f0e69e0a0ba5db368a16747\",\"CreatedDate\":\"2020-07-15T02:28:43.851Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:34.401Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e5cce2a5419d95d2419c04\",\"CreatedDate\":\"2026-04-20T06:51:14.8436763Z\",\"CreatedUserName\":\"LFox\",\"CreatedUserId\":\"69e1810e311984b2ca87c983\",\"LastUpdateDate\":\"2026-04-20T06:51:14.8436763Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e5cc9b21162426a33ca8bc",
"");