using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"684224a8af648e0b24dc1089",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"684a86ada7ab950374dac2e3\",\"Direction\":\"1 MORNINGS\",\"FoilId\":\"684a86ada7ab950374dac2e7\",\"FoilLabel\":\"MONTHLY (x2)\",\"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-17T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"684224a8af648e0b24dc1089\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"EZETIMIBE/ATORVASTATIN (GH) 10mg/80mg TAB\",\"DrugCode\":\"EZAT4\",\"Austr\":\"306962\",\"Supplier\":\"GENERIC HEALTH PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"*Certain foods and fruit juices should be avoided while being treated with this medicine\",\"Direction\":\"\",\"GenericCode\":\"ATEZ8\",\"GenericName\":\"EZETIMIBE/ATORVASTATIN\",\"Presentation\":\"\",\"AltBrand\":\"ATOZET, EZETIMIBE/ATORVASTATIN (GH), EZETAST\",\"DoNotCrush\":false,\"TradeName\":\"EZETIMIBE/ATORVASTATIN (GH)\",\"Formulation\":\"TAB\",\"Strength\":\"10mg/80mg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"684224a8af648e0b24dc1089\",\"Usage\":4,\"DrugFullName\":\"EZETIMIBE/ATORVASTATIN (GH) 10mg/80mg TAB\",\"MedicationFullDetails\":\"EZETIMIBE/ATORVASTATIN (GH) 10mg/80mg TAB - EZETIMIBE/ATORVASTATIN (EZAT4)\",\"Id\":\"5f0e69e0a0ba5db368a17ad2\",\"CreatedDate\":\"2020-07-15T02:28:48.064Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T20:47:26.445Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e1b9e1886760ca56f9962c\",\"CreatedDate\":\"2026-04-17T04:41:05.009Z\",\"CreatedUserName\":\"djc\",\"CreatedUserId\":\"6842370608efed04cc2851fb\",\"LastUpdateUserId\":\"6847667aaf648e0c7c47cd8f\",\"LastUpdateUserName\":\"tmorr\",\"LastUpdateDate\":\"2026-04-20T22:33:41.5477957Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"684a86ada7ab950374dac2e3",
"");