using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68a3ce7b5a33ecf5ffc357f1",
FromJson<Prescription>("{\"PackType\":1,\"Dose\":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"68c23af56019f646aba35807\",\"Direction\":\"Apply ONE patch to clean, dry skin ONCE a week on WEDNESDAYS. Remove old patch and discard, rotating application site each week.\",\"FoilId\":\"68c23af56019f646aba3584a\",\"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\":\"0001-01-01T00:00:00\",\"EndDate\":\"2026-04-20T08:46:39.11318Z\",\"Frequency\":6,\"PackedWeekDay\":[false,false,false,true,false,false,false],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-20T08:46:39.11318Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"68a3ce7b5a33ecf5ffc357f1\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"NORSPAN 15mcg/hr PTCH\",\"DrugCode\":\"NORS4\",\"Austr\":\"217507\",\"Supplier\":\"MUNDIPHARMA PTY LIMITED\",\"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\":\"BUPR17\",\"GenericName\":\"BUPRENORPHINE\",\"Presentation\":\"\",\"AltBrand\":\"NORSPAN, BUPRENORPHINE (SANDOZ), BUPREDERMAL, B-PATCH\",\"DoNotCrush\":false,\"TradeName\":\"NORSPAN\",\"Formulation\":\"PTCH\",\"Strength\":\"15mcg/hr\",\"Schedule\":\"8\",\"PackSize\":2,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68a3ce7b5a33ecf5ffc357f1\",\"Usage\":0,\"DrugFullName\":\"NORSPAN 15mcg/hr PTCH\",\"MedicationFullDetails\":\"NORSPAN 15mcg/hr PTCH - BUPRENORPHINE (NORS4)\",\"Id\":\"5f0e69e0a0ba5db368a173d8\",\"CreatedDate\":\"2020-07-15T02:28:46.574Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T22:24:17.806Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69673c6e1078335f2ce37df4\",\"CreatedDate\":\"2026-01-14T06:49:18.856Z\",\"CreatedUserName\":\"TSS\",\"CreatedUserId\":\"68a3e1116f448b108e299b91\",\"LastUpdateUserId\":\"68a3e1116f448b108e299b91\",\"LastUpdateDate\":\"2026-04-20T08:46:39.11318Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"68c23af56019f646aba35807",
"");