using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"645334def65a88089ce58676",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"65765859117b520b004f10ec\",\"Direction\":\"1 DAILY\",\"FoilId\":\"65765859117b520b004f1110\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2023-12-06T03:18:02Z\",\"ScriptNum\":\"2483270\",\"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\":\"2023-12-11T02:00:00Z\",\"EndDate\":\"2026-05-03T02:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00Z\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Unit\":\"\",\"PharmacyId\":\"645334def65a88089ce58676\",\"SyncDate\":\"0001-01-01T00:00:00Z\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"MELOXICAM (APO) 15mg CAP\",\"DrugCode\":\"MELO23\",\"Austr\":\"181194\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Capsule\",\"Color\":\"light green and light yellow\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"swallowed wholewith or soon after food.*Do not exceed one Aspirin tablet or capsule per day*May affect alertness and/or co-ordination. If affected, do not drive or operate machineryConsult doctor or pharmacist before taking other medicines for pain or inflammationTGA Warning: Prior/During PregnancyS/Care - Arthritis\",\"Direction\":\"\",\"GenericCode\":\"MELO2\",\"GenericName\":\"MELOXICAM\",\"Presentation\":\"For analgesic (pain reducing), antipyretic (fever reducing) effects. In higher doses they reduce inflammation (swelling)\",\"ImageId\":\"5f3a2d8ea0ba5d7c507954b0\",\"ImageSmallSizeId\":\"68f598f75a506b941b5c8a83\",\"ImageName\":\"181194-C01-01-BL600.jpg\",\"AltBrand\":\"MOBIC, MOVALIS, MOBIC, MELOXICAM (CHEM-MART), MELOXICAM (GENRX), MELOXICAM (TW), MOXICAM, MELOXICAM (GA), MELOXIBELL, MELOXICAM (PHARMACOR), MELOXICAM (RANBAXY), MELOXICAM (SANDOZ), MELOXICAM (WINTHROP), MOVALIS, MELOXICAM (APO), MELOXICAM (CHEM-MART), MELOXICAM (TW), MELOX, MELOXICAM (PS), MELOXICAM (APO), MELOXIAURO 15, MELOXICAM (SANDOZ), MELOXICAM (AN), MOXICAM, MELOXICAM (CIPLA), MELOBIC, MELOBIC, MELOXICAM (APX), MELOXICAM (VIATRIS), MELOXICAM (WGR), MELOXICAM (WGR)\",\"DoNotCrush\":true,\"TradeName\":\"MELOXICAM (APO)\",\"Formulation\":\"CAP\",\"Strength\":\"15mg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"light green and light yellow\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"645334def65a88089ce58676\",\"Usage\":1,\"DrugFullName\":\"MELOXICAM (APO) 15mg CAP\",\"MedicationFullDetails\":\"MELOXICAM (APO) 15mg CAP - MELOXICAM (MELO23)\",\"Id\":\"5f0e69e0a0ba5db368a1688c\",\"CreatedDate\":\"2020-07-15T02:28:44.131Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T14:53:36.169Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"65765859117b520b004f1117\",\"CreatedDate\":\"2023-12-06T04:50:19.302Z\",\"CreatedUserId\":\"645334def65a88089ce5868f\",\"LastUpdateUserId\":\"64546ef2f65a8808c4c390a0\",\"LastUpdateUserName\":\"Thomas\",\"LastUpdateDate\":\"2026-04-20T14:42:38.9405739Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"65765859117b520b004f10ec",
"");