using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6451fd77f65a8805ace172ea",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,2.0,0.0,2.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69e6f269d23a789810e1c1c5\",\"Direction\":\"Take TWO at Night\",\"FoilId\":\"69e6f27a48571626ccc8641a\",\"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-21T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"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\":\"6451fd77f65a8805ace172ea\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"RIVOTRIL 500mcg TAB\",\"DrugCode\":\"RIV1\",\"Austr\":\"13759\",\"Supplier\":\"ROCHE PRODUCTS PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"pale orange\",\"Shape\":\"round\",\"Marking\":\"ROCHE 0.5\",\"Warning\":\"*May cause drowsiness and increase effects of alcohol. If affected do not drive a motor vehicle or operate machinery.*Do NOT stop taking this medication abruptlySpecial handling and disposal required - ask your Pharmacistswallowed whole\",\"Direction\":\"\",\"GenericCode\":\"CLO1\",\"GenericName\":\"CLONAZEPAM\",\"Presentation\":\"Used to treat anxiety, insomnia, and a range of other conditions.\",\"ImageId\":\"5f3a2d7ea0ba5d7c50794b34\",\"ImageSmallSizeId\":\"68f5982a5a506b941b5c7bd3\",\"ImageName\":\"13759-C01-01-BL600.jpg\",\"AltBrand\":\"RIVOTRIL, PAXAM, RIVOTRIL\",\"DoNotCrush\":true,\"TradeName\":\"RIVOTRIL\",\"Formulation\":\"TAB\",\"Strength\":\"500mcg\",\"Schedule\":\"4N\",\"PackSize\":100,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"pale orange round ROCHE 0.5\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6451fd77f65a8805ace172ea\",\"Usage\":0,\"DrugFullName\":\"RIVOTRIL 500mcg TAB\",\"MedicationFullDetails\":\"RIVOTRIL 500mcg TAB - CLONAZEPAM (RIV1)\",\"Id\":\"5f0e69e0a0ba5db368a14b2c\",\"CreatedDate\":\"2020-07-15T02:28:37.52Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T14:53:12.296Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e6f5c848571626ccd50b77\",\"CreatedDate\":\"2026-04-21T03:58:00.970908Z\",\"CreatedUserName\":\"NE16\",\"CreatedUserId\":\"65481197117b5203507225d4\",\"LastUpdateDate\":\"2026-04-21T03:58:00.970908Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e6f269d23a789810e1c1c5",
"");