using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"66a711338222d301f43b4be5",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"66ac5d79d222d9067078854a\",\"Direction\":\"Take 1 tablet at night\",\"FoilId\":\"66ac5d89d222d90670789caf\",\"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\":\"2024-12-02T02: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\":\"2024-10-27T21:23:59.959Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"66a711338222d301f43b4be5\",\"SyncDate\":\"0001-01-01T00:00:00Z\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"DONEPEZIL (SANDOZ) 5mg TAB\",\"DrugCode\":\"DONE10\",\"Austr\":\"157842\",\"Supplier\":\"SANDOZ PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"round\",\"Marking\":\"\",\"Warning\":\"*May affect alertness and/or co-ordination. If affected, do not drive or operate machinery*May cause dizziness when standing up quickly\",\"Direction\":\"\",\"GenericCode\":\"DONE1\",\"GenericName\":\"DONEPEZIL\",\"Presentation\":\"\",\"ImageId\":\"5f3a2dc8a0ba5d7c50796f0e\",\"ImageSmallSizeId\":\"68f5991f5a506b941b5c8d3a\",\"ImageName\":\"157842-C01-01-BL600.jpg\",\"AltBrand\":\"ARICEPT, ARAZIL, ARIDON 5, DONEPEZIL (APO), DONEPEZIL (CHEM-MART), DONEPEZIL (DRLA), DONEPEZIL (GA), DONEPEZIL (GEN HLTH), DONEPEZIL (RBX), DONEPEZIL (SANDOZ), DONEPEZIL (STADA), DONEPEZIL (SYNTHON), DONEPEZIL (TW), DONEPEZIL 5 (PHARMACOR), DONEPEZIL (AN), ARIDON APN 5, DONEPEZIL (GH), DONEPEZIL (NOUMED), DONEPEZIL (WGR)\",\"DoNotCrush\":false,\"TradeName\":\"DONEPEZIL (SANDOZ)\",\"Formulation\":\"TAB\",\"Strength\":\"5mg\",\"Schedule\":\"4\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white round\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"66a711338222d301f43b4be5\",\"Usage\":2,\"DrugFullName\":\"DONEPEZIL (SANDOZ) 5mg TAB\",\"MedicationFullDetails\":\"DONEPEZIL (SANDOZ) 5mg TAB - DONEPEZIL (DONE10)\",\"Id\":\"5f0e69e0a0ba5db368a16c68\",\"CreatedDate\":\"2020-07-15T02:28:44.97Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:16:02.217Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"66ac5e398222d3112cadf7b0\",\"CreatedDate\":\"2024-08-02T04:19:05.033Z\",\"CreatedUserName\":\"retherton\",\"CreatedUserId\":\"66ac36c9d222d906704c69e6\",\"LastUpdateUserId\":\"66a991108222d3087ce56b84\",\"LastUpdateUserName\":\"ashahabi\",\"LastUpdateDate\":\"2026-04-22T23:16:37.4126578Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"66ac5d79d222d9067078854a",
"");