using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68c9027765229a4548111529",
FromJson<Prescription>("{\"PackType\":1,\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"6971aeb1850f0343e13e4352\",\"Direction\":\"1 1/wk\",\"FoilId\":\"6971aeb1850f0343e13e436a\",\"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-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\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":0,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"Pain\",\"Unit\":\"\",\"PharmacyId\":\"68c9027765229a4548111529\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"BUPREDERMAL 5mcg/hr PTCH\",\"DrugCode\":\"BUPR23\",\"Austr\":\"234741\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Patch\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"*May cause drowsiness and increase effects of alcohol. If affected do not drive a motor vehicle or operate machinery.Special handling and disposal required - ask your PharmacistUse of this medicine has the risks of overdose and dependenceFOR EXTERNAL USE ONLY\",\"Direction\":\"\",\"GenericCode\":\"BUPR10\",\"GenericName\":\"BUPRENORPHINE\",\"Presentation\":\"\",\"AltBrand\":\"NORSPAN, BUPREDERMAL, BUPRENORPHINE (SANDOZ), B-PATCH\",\"DoNotCrush\":false,\"TradeName\":\"BUPREDERMAL\",\"Formulation\":\"PTCH\",\"Strength\":\"5mcg/hr\",\"Schedule\":\"8\",\"PackSize\":2,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68c9027765229a4548111529\",\"Usage\":0,\"DrugFullName\":\"BUPREDERMAL 5mcg/hr PTCH\",\"MedicationFullDetails\":\"BUPREDERMAL 5mcg/hr PTCH - BUPRENORPHINE (BUPR23)\",\"Id\":\"5f0e69e0a0ba5db368a177d1\",\"CreatedDate\":\"2020-07-15T02:28:47.45Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T23:07:11.324Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e54dfe21162426a394d308\",\"CreatedDate\":\"2026-04-19T21:49:50.5653611Z\",\"CreatedUserName\":\"wildst\",\"CreatedUserId\":\"692538017037eafc0466478c\",\"LastUpdateDate\":\"2026-04-19T21:49:50.5653611Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6971aeb1850f0343e13e4352",
"");