using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"679c14d1a7ab950bdccbc83e",
FromJson<Prescription>("{\"PackType\":3,\"Dose\":[1.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"67a153d1a7ab9505c45b13fd\",\"Direction\":\"Apply one patch to the skin daily as directed. Take until finished.\",\"FoilId\":\"67a153d1a7ab9505c45b144e\",\"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\":\"2026-05-01T02: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\":\"patch\",\"PharmacyId\":\"679c14d1a7ab950bdccbc83e\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"NICORETTE INVISIPATCH 25mg/16hr PTCH\",\"DrugCode\":\"NI29\",\"Austr\":\"\",\"Supplier\":\"JOHNSON & JOHNSON PACIFIC\",\"Type\":\"Patch\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"Special handling and disposal required - ask your PharmacistHIC-NO INCREASE IN QTY & RPTS ALLOWEDCAUTION - NOT TO BE TAKEN\",\"Direction\":\"\",\"GenericCode\":\"NICO53\",\"GenericName\":\"NICOTINE\",\"Presentation\":\"Used as an aid in smoking cessation by reducing withdrawal symptoms.\",\"AltBrand\":\"NICORETTE INVISIPATCH\",\"DoNotCrush\":false,\"TradeName\":\"NICORETTE INVISIPATCH\",\"Formulation\":\"PTCH\",\"Strength\":\"25mg/16hr\",\"Schedule\":\"\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"679c14d1a7ab950bdccbc83e\",\"Usage\":0,\"DrugFullName\":\"NICORETTE INVISIPATCH 25mg/16hr PTCH\",\"MedicationFullDetails\":\"NICORETTE INVISIPATCH 25mg/16hr PTCH - NICOTINE (NI29)\",\"Id\":\"5f0e69e0a0ba5db368a16e89\",\"CreatedDate\":\"2020-07-15T02:28:45.42Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T19:01:02.837Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69f434612b4a013b97ecd4ce\",\"CreatedDate\":\"2026-05-01T05:04:33.8313971Z\",\"CreatedUserName\":\"vladej20\",\"CreatedUserId\":\"679c1b9da7ab950bdcd44b34\",\"LastUpdateDate\":\"2026-05-01T05:04:33.8313971Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"67a153d1a7ab9505c45b13fd",
"");