using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"682284e708efed07a8cc64d2",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"682bd961967e01106483de20\",\"Direction\":\"1 Every Monday\",\"FoilId\":\"682bd961967e01106483de22\",\"FoilLabel\":\"Foil 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\":\"2026-04-20T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":6,\"PackedWeekDay\":[false,true,false,false,false,false,false],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":0,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"682284e708efed07a8cc64d2\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"ACTONEL 35mg EC-TABS\",\"DrugCode\":\"ACTO10\",\"Austr\":\"166838\",\"Supplier\":\"THERAMEX AUSTRALIA PTY LT\",\"Type\":\"EC-Tablet\",\"Color\":\"yellow\",\"Shape\":\"oval\",\"Marking\":\"EC 35\",\"Warning\":\"swallowed wholewith a glass of waterActonel EC should be taken in the morning, either with or without food. Do not crush, chew or cut the tablets.Do NOT take dairy products, antacids or mineral supplements within 2hrs of this medicineTake once a week, on the same dayWarnings-Please read Prod InfoDo NOT crush or chew\",\"Direction\":\"\",\"GenericCode\":\"RISE15\",\"GenericName\":\"RISEDRONATE SODIUM\",\"Presentation\":\"Used to treat osteoporosis and similar diseases.\",\"ImageId\":\"5f3a2f1ea0ba5d7c50797421\",\"ImageSmallSizeId\":\"68f599dd5a506b941b5c96ef\",\"ImageName\":\"166838-C01-01-BL600.jpg\",\"AltBrand\":\"ACTONEL\",\"DoNotCrush\":true,\"TradeName\":\"ACTONEL\",\"Formulation\":\"EC-TABS\",\"Strength\":\"35mg\",\"Schedule\":\"4\",\"PackSize\":4,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"yellow oval EC 35\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"682284e708efed07a8cc64d2\",\"Usage\":0,\"DrugFullName\":\"ACTONEL 35mg EC-TABS\",\"MedicationFullDetails\":\"ACTONEL 35mg EC-TABS - RISEDRONATE SODIUM (ACTO10)\",\"Id\":\"5f0e69e0a0ba5db368a166c0\",\"CreatedDate\":\"2020-07-15T02:28:43.749Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:55:27.494Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e58664c21eb1a5a97e0c11\",\"CreatedDate\":\"2026-04-20T01:50:28.8409867Z\",\"CreatedUserName\":\"Deidre\",\"CreatedUserId\":\"682bf995a7ab950b5c8719dd\",\"LastUpdateDate\":\"2026-04-20T01:50:28.8409867Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"682bd961967e01106483de20",
"");