using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68803571bf3f4c53c75820cc",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,1.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69e89f1d0f0cccf868d22bc6\",\"Direction\":\"Take ONE tablet before bed\",\"FoilId\":\"69e89f1d0f0cccf868d22bef\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-02-04T05:13:34Z\",\"ScriptNum\":\"118771404\",\"QtyDispense\":0.0,\"DateExpiry\":\"0001-01-01T00:00:00\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"IsStandard\":true,\"IsShortCourse\":false,\"IsSinemet\":false,\"IsWarfarin\":false,\"IsInsulin\":false,\"IsS8Drug\":false,\"IsCytotoxic\":false,\"IsS4N\":false,\"StartDate\":\"2026-04-22T04:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00Z\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"68803571bf3f4c53c75820cc\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"DIAZEPAM (APX) 5mg TAB\",\"DrugCode\":\"DIAZ18\",\"Austr\":\"335814\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"This preparation is to aid sleep. Drowsiness may continue - if affected do not drive or operate machinery Avoid alcohol*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 abruptlyHIC-Incr Qty/Rpts specific conditions\",\"Direction\":\"\",\"GenericCode\":\"DIZ2\",\"GenericName\":\"DIAZEPAM\",\"Presentation\":\"Used to treat anxiety, insomnia, and a range of other conditions.\",\"AltBrand\":\"ANTENEX, DUCENE, VALIUM, VALPAM 5, DIAZEPAM (DP), DIAZEPAM (CHEM-MART), DIAZEPAM (TW), DIAZEPAM GENRX, VALPAM 5, RANZEPAM, DIAZEPAM (GA), DIAZEPAM (APO), DIAZEPAM (NOUMED), DIAZEPAM (APX), DIAZEPAM (WGR)\",\"DoNotCrush\":false,\"TradeName\":\"DIAZEPAM (APX)\",\"Formulation\":\"TAB\",\"Strength\":\"5mg\",\"Schedule\":\"4N\",\"PackSize\":50,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68803571bf3f4c53c75820cc\",\"Usage\":1,\"DrugFullName\":\"DIAZEPAM (APX) 5mg TAB\",\"MedicationFullDetails\":\"DIAZEPAM (APX) 5mg TAB - DIAZEPAM (DIAZ18)\",\"Id\":\"633aa512f65a8810882e581a\",\"CreatedDate\":\"2022-10-03T09:02:10.094Z\",\"CreatedUserId\":\"62060ea859ae850e30188ba8\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T21:47:39.402Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e89f1d0f0cccf868d22c2a\",\"CreatedDate\":\"2026-04-22T10:12:45.882Z\",\"CreatedUserId\":\"68b033ced75ed9a2f3282bf7\",\"LastUpdateUserId\":\"6880385c51062ab2165ebc06\",\"LastUpdateUserName\":\"Dee\",\"LastUpdateDate\":\"2026-04-24T01:09:25.0756153Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e89f1d0f0cccf868d22bc6",
"");