using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"69e16aae8c67735765d60b3a",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,1.0,0.0,1.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69e58e782c1a237be07e9d49\",\"Direction\":\"1 2xdaily\",\"FoilId\":\"69e58e99e22cc52e7e584e53\",\"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\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":0,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"69e16aae8c67735765d60b3a\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"ANTENEX 2mg TAB\",\"DrugCode\":\"ANT4\",\"Austr\":\"17582\",\"Supplier\":\"ALPHAPHARM PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"round\",\"Marking\":\"DM 2\",\"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\":\"DIZ1\",\"GenericName\":\"DIAZEPAM\",\"Presentation\":\"Used to treat anxiety, insomnia, and a range of other conditions.\",\"ImageId\":\"5f3a2dbfa0ba5d7c50796e37\",\"ImageSmallSizeId\":\"68f598075a506b941b5c7a10\",\"ImageName\":\"17582-C01-01-BL600.jpg\",\"AltBrand\":\"ANTENEX, DUCENE, VALIUM, VALPAM 2, DIAZEPAM (CHEM-MART), DIAZEPAM (TW), DIAZEPAM GENRX, RANZEPAM, DIAZEPAM (APO), DIAZEPAM (APX), DIAZEPAM (WGR)\",\"DoNotCrush\":false,\"TradeName\":\"ANTENEX\",\"Formulation\":\"TAB\",\"Strength\":\"2mg\",\"Schedule\":\"4N\",\"PackSize\":50,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white round DM 2\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"69e16aae8c67735765d60b3a\",\"Usage\":0,\"DrugFullName\":\"ANTENEX 2mg TAB\",\"MedicationFullDetails\":\"ANTENEX 2mg TAB - DIAZEPAM (ANT4)\",\"Id\":\"5f0e69e0a0ba5db368a140a4\",\"CreatedDate\":\"2020-07-15T02:28:35.125Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:34.417Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e58ec421162426a36133da\",\"CreatedDate\":\"2026-04-20T02:26:12.346912Z\",\"CreatedUserName\":\"LFox\",\"CreatedUserId\":\"69e1810e311984b2ca87c983\",\"LastUpdateDate\":\"2026-04-20T02:26:12.346912Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e58e782c1a237be07e9d49",
"");