using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"682284e708efed07a8cc64d2",
FromJson<Prescription>("{\"PackType\":1,\"Dose\":[0.0,0.0,0.0,0.25,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69dc31f92a0226335f4cf050\",\"Direction\":\"0.25 at Night\",\"FoilId\":\"69e84c529331f9d468b7d10c\",\"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\":\"2026-04-22T02: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\":\"\",\"PharmacyId\":\"682284e708efed07a8cc64d2\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"SLEEP ASSIST (APH) 25mg TAB\",\"DrugCode\":\"SLEE1\",\"Austr\":\"254173\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white to off-white\",\"Shape\":\"circular\",\"Marking\":\"\",\"Warning\":\"*May cause drowsiness and increase effects of alcohol. If affected do not drive a motor vehicle or operate machinery.\",\"Direction\":\"\",\"GenericCode\":\"DOZ4\",\"GenericName\":\"DOXYLAMINE\",\"Presentation\":\"\",\"ImageId\":\"5f3a2d88a0ba5d7c5079518c\",\"ImageSmallSizeId\":\"68f5997e5a506b941b5c9226\",\"ImageName\":\"254173-C01-01-BL600.jpg\",\"AltBrand\":\"DOZILE, SLEEP ASSIST (APH)\",\"DoNotCrush\":false,\"TradeName\":\"SLEEP ASSIST (APH)\",\"Formulation\":\"TAB\",\"Strength\":\"25mg\",\"Schedule\":\"3\",\"PackSize\":20,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white to off-white circular\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"682284e708efed07a8cc64d2\",\"Usage\":0,\"DrugFullName\":\"SLEEP ASSIST (APH) 25mg TAB\",\"MedicationFullDetails\":\"SLEEP ASSIST (APH) 25mg TAB - DOXYLAMINE (SLEE1)\",\"Id\":\"5f0e69e0a0ba5db368a1753f\",\"CreatedDate\":\"2020-07-15T02:28:46.876Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:55:27.601Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e85b120f0cccf86835b04f\",\"CreatedDate\":\"2026-04-22T05:22:26.2885127Z\",\"CreatedUserName\":\"Deidre\",\"CreatedUserId\":\"682bf995a7ab950b5c8719dd\",\"LastUpdateDate\":\"2026-04-22T05:22:26.2885127Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69dc31f92a0226335f4cf050",
"");