using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"697adccf66161b0d84b42bde",
FromJson<Prescription>("{\"PackType\":2,\"Dose\":[1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69e9c6cd2a334137209cce9b\",\"Direction\":\"Take ONE tablet Daily when required extreme agitation only.\",\"FoilId\":\"69e9c6cd2a334137209cceb6\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-02-02T02:19:58Z\",\"ScriptNum\":\"6020253\",\"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-23T02: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:00\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"697adccf66161b0d84b42bde\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"ANTENEX 5mg TAB\",\"DrugCode\":\"ANT6\",\"Austr\":\"17583\",\"Supplier\":\"ALPHAPHARM PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"yellow\",\"Shape\":\"round\",\"Marking\":\"DM 5\",\"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.\",\"ImageId\":\"5f3a2dbfa0ba5d7c50796e34\",\"ImageSmallSizeId\":\"68f598075a506b941b5c7a11\",\"ImageName\":\"17583-C01-01-BL600.jpg\",\"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\":\"ANTENEX\",\"Formulation\":\"TAB\",\"Strength\":\"5mg\",\"Schedule\":\"4N\",\"PackSize\":50,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"yellow round DM 5\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"697adccf66161b0d84b42bde\",\"Usage\":0,\"DrugFullName\":\"ANTENEX 5mg TAB\",\"MedicationFullDetails\":\"ANTENEX 5mg TAB - DIAZEPAM (ANT6)\",\"Id\":\"5f0e69e0a0ba5db368a140a5\",\"CreatedDate\":\"2020-07-15T02:28:35.126Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:34.418Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e9c6ce2a334137209cced2\",\"CreatedDate\":\"2026-04-23T07:14:22.299Z\",\"CreatedUserId\":\"697ae4041a366419abfd9696\",\"LastUpdateUserId\":\"697ae4041a366419abfd9696\",\"LastUpdateUserName\":\"Manisha\",\"LastUpdateDate\":\"2026-04-23T07:17:42.2306244Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e9c6cd2a334137209cce9b",
"");