using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"67be4bb8a7ab950c04ba51df",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.5,0.5,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"67c79004967e0110fc787dbb\",\"Direction\":\"Take HALF a tablet in the morning and HALF a tablet at MIDDAY\",\"FoilId\":\"6987bca6571ab710b61811d9\",\"FoilLabel\":\"Weekend Home Pack \",\"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\":6,\"PackedWeekDay\":[true,false,false,false,false,false,true],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"67be4bb8a7ab950c04ba51df\",\"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\":\"67be4bb8a7ab950c04ba51df\",\"Usage\":11,\"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-11T15:40:09.825Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e84144bc5ce8d51b35d9e4\",\"CreatedDate\":\"2026-04-22T03:32:20.58Z\",\"CreatedUserName\":\"alissat\",\"CreatedUserId\":\"67cf620608efed0134944d29\",\"LastUpdateUserId\":\"67cf620608efed0134944d29\",\"LastUpdateUserName\":\"alissat\",\"LastUpdateDate\":\"2026-04-22T03:34:52.1787833Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"67c79004967e0110fc787dbb",
"");