using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"66317c8ba5ab8f0f84e89478",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"664687fd16f53f2bb897928f\",\"Direction\":\"1 at NIGHT\",\"FoilId\":\"664687fd16f53f2bb89792a4\",\"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\":\"0001-01-01T00:00:00\",\"EndDate\":\"2026-04-20T05:03:37.9888625Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-20T05:03:37.9888625Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"66317c8ba5ab8f0f84e89478\",\"SyncDate\":\"0001-01-01T00:00:00Z\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"AMLODIPINE (SANDOZ) 5mg TAB\",\"DrugCode\":\"AMLO11\",\"Austr\":\"124578\",\"Supplier\":\"SANDOZ PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white to almost white\",\"Shape\":\"oblong\",\"Marking\":\"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\":\"5f3a2f17a0ba5d7c50796f5e\",\"ImageName\":\"124578-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 (SANDOZ)\",\"Formulation\":\"TAB\",\"Strength\":\"5mg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white to almost white oblong 5\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"66317c8ba5ab8f0f84e89478\",\"Usage\":7,\"DrugFullName\":\"AMLODIPINE (SANDOZ) 5mg TAB\",\"MedicationFullDetails\":\"AMLODIPINE (SANDOZ) 5mg TAB - AMLODIPINE (AMLO11)\",\"Id\":\"5f0e69e0a0ba5db368a15fcf\",\"CreatedDate\":\"2020-07-15T02:28:42.239Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:08:56.015Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"682139f5af648e0aac44489d\",\"CreatedDate\":\"2025-05-11T23:59:49.282Z\",\"CreatedUserName\":\"TA\",\"CreatedUserId\":\"6639b0eba5ab8f19d04a34ee\",\"LastUpdateUserId\":\"68e5b07c355f7892533bb2ce\",\"LastUpdateDate\":\"2026-04-20T05:03:37.9888625Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"664687fd16f53f2bb897928f",
"");