using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"69c9fbe26d56c65bbb0d5813",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.5,0.0,0.5,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69e6193cb02e12b387bdb695\",\"Direction\":\"0.5x 2DAILY\",\"FoilId\":\"69e6195348571626cc3d556c\",\"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\":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\":\"69c9fbe26d56c65bbb0d5813\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"RISPERIDONE (SANDOZ) 0.5mg, 60 TAB\",\"DrugCode\":\"RISP49\",\"Austr\":\"147326\",\"Supplier\":\"SANDOZ PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"red\",\"Shape\":\"oval\",\"Marking\":\"\",\"Warning\":\"*May cause drowsiness and increase effects of alcohol. If affected do not drive a motor vehicle or operate machinery.*May cause dizziness when standing up quicklySpecial handling and disposal required - ask your Pharmacistswallowed whole*Do not crush or chew*\",\"Direction\":\"\",\"GenericCode\":\"RISP13\",\"GenericName\":\"RISPERIDONE\",\"Presentation\":\"Antipsychotics\",\"ImageId\":\"5f3a2d7ea0ba5d7c50794b4c\",\"ImageSmallSizeId\":\"68f598e75a506b941b5c8996\",\"ImageName\":\"147326-C01-01-BL600.jpg\",\"AltBrand\":\"RISPERDAL, RISPERIDONE (APO), RISPA, RISPERIDONE (GA), RIXADONE, RISPA, OZIDAL, RESDONE, RISPERIDONE (DRLA), RISPERIDONE (SANDOZ), RISPERIDONE (PFIZER), RISPERIDONE (ACTAVIS), RISPERIDONE (GA), RISPERIDONE (GH), RISPERICOR 0.5, RISPERNIA, RISPERIDONE (AN), RISPERIDONE (AMNEAL), RISPERIDONE (APO), RISPERIDONE (NOUMED)\",\"DoNotCrush\":true,\"TradeName\":\"RISPERIDONE (SANDOZ)\",\"Formulation\":\"TAB\",\"Strength\":\"0.5mg, 60\",\"Schedule\":\"4\",\"PackSize\":60,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"red oval\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"69c9fbe26d56c65bbb0d5813\",\"Usage\":1,\"DrugFullName\":\"RISPERIDONE (SANDOZ) 0.5mg, 60 TAB\",\"MedicationFullDetails\":\"RISPERIDONE (SANDOZ) 0.5mg, 60 TAB - RISPERIDONE (RISP49)\",\"Id\":\"5f0e69e0a0ba5db368a16617\",\"CreatedDate\":\"2020-07-15T02:28:43.606Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:35.146Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e619c3b02e12b387be103f\",\"CreatedDate\":\"2026-04-20T12:19:15.8929347Z\",\"CreatedUserName\":\"leahkj\",\"CreatedUserId\":\"69cb1f07ba51fecb1a0fd2ad\",\"LastUpdateDate\":\"2026-04-20T12:19:15.8929347Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e6193cb02e12b387bdb695",
"");