using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"66c563c98222d312085e5f33",
FromJson<Prescription>("{\"PackType\":1,\"Dose\":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"694b4be44339e9bfd325f867\",\"Direction\":\"1 DAILY\",\"FoilId\":\"694b4bed7206629c9e457d17\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"0001-01-01T00:00:00\",\"QtyDispense\":0.0,\"DateExpiry\":\"0001-01-01T00:00:00\",\"Route\":{\"Code\":\"SA\",\"Description\":\"Skin Application\"},\"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:15:06.6990804Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-21T04:15:06.6990804Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"66c563c98222d312085e5f33\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"NICOTINELL STEP 1 21mg/24hr PTCH\",\"DrugCode\":\"NIP2\",\"Austr\":\"\",\"Supplier\":\"PERRIGO AUSTRALIA PTY LIM\",\"Type\":\"Patch\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"Special handling and disposal required - ask your PharmacistHIC-NO INCREASE IN QTY & RPTS ALLOWEDCAUTION - NOT TO BE TAKEN*SOME CODES PBS RESTRICTED TOABORIGINAL & TORRES STRT ONLY\",\"Direction\":\"\",\"GenericCode\":\"NICO11\",\"GenericName\":\"NICOTINE\",\"Presentation\":\"Used as an aid in smoking cessation by reducing withdrawal symptoms.\",\"AltBrand\":\"NICOTINELL STEP 1\",\"DoNotCrush\":false,\"TradeName\":\"NICOTINELL STEP 1\",\"Formulation\":\"PTCH\",\"Strength\":\"21mg/24hr\",\"Schedule\":\"\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"66c563c98222d312085e5f33\",\"Usage\":0,\"DrugFullName\":\"NICOTINELL STEP 1 21mg/24hr PTCH\",\"MedicationFullDetails\":\"NICOTINELL STEP 1 21mg/24hr PTCH - NICOTINE (NIP2)\",\"Id\":\"5f0e69e0a0ba5db368a148c8\",\"CreatedDate\":\"2020-07-15T02:28:37.039Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T17:28:30.794Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"694b4e679863612b00b9ceb7\",\"CreatedDate\":\"2025-12-24T02:22:31.847Z\",\"CreatedUserName\":\"chloe\",\"CreatedUserId\":\"6705e4e6af648e0e40c251fd\",\"LastUpdateUserId\":\"6705e4e6af648e0e40c251fd\",\"LastUpdateDate\":\"2026-04-21T04:15:06.6990804Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"694b4be44339e9bfd325f867",
"");