using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"684224a8af648e0b24dc1089",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.5,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"684a86aaa7ab950374dabd28\",\"Direction\":\"Take HALF a tablet in the morning\",\"FoilId\":\"684a86aaa7ab950374dabd2c\",\"FoilLabel\":\"Monthly x 2\",\"DateDispensed\":\"2025-05-21T23:23:31Z\",\"ScriptNum\":\"1314927\",\"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-01-15T02: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\":\"684224a8af648e0b24dc1089\",\"SyncDate\":\"0001-01-01T00:00:00Z\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"MINAX 50 50mg TAB\",\"DrugCode\":\"MNA1\",\"Austr\":\"34408\",\"Supplier\":\"ALPHAPHARM PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"round\",\"Marking\":\"ML 50\",\"Warning\":\"PDL Warn: Caution Strengths*Do NOT stop taking this medication abruptly*May affect alertness and/or co-ordination. If affected, do not drive or operate machinery*May cause dizziness when standing up quicklyS/Care - High Blood PressureS/Care - Reducing Fat/CholestS/Care - Headache\",\"Direction\":\"\",\"GenericCode\":\"MTP2\",\"GenericName\":\"METOPROLOL TARTRATE\",\"Presentation\":\"Used to treat various types of heart conditions as well as some other illnesses.\",\"ImageId\":\"5f3a2f1ca0ba5d7c507972ee\",\"ImageSmallSizeId\":\"68f599db5a506b941b5c96d6\",\"ImageName\":\"34408-C01-01-BL600.jpg\",\"AltBrand\":\"BETALOC, LOPRESOR 50, MINAX 50, METOHEXAL, METOPROLOL (SBPA), METOLOL, METOPROLOL-BC, METOPROLOL (GENRX), METOPROLOL (CHEM-MART), METOPROLOL (HEALTHSENSE), METOPROLOL (TW), METOHEXAL, METROL, METOPROLOL (APO), METOPROLOL (SANDOZ), METATAR, METOPROLOL (ACTAVIS), MISTROM, METOPROLOL (AN), METOPROLOL (RBX), METOPROLOL (NOUMED), METOPROLOL (WGR)\",\"DoNotCrush\":false,\"TradeName\":\"MINAX 50\",\"Formulation\":\"TAB\",\"Strength\":\"50mg\",\"Schedule\":\"4\",\"PackSize\":100,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white round ML 50\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"684224a8af648e0b24dc1089\",\"Usage\":10,\"DrugFullName\":\"MINAX 50 50mg TAB\",\"MedicationFullDetails\":\"MINAX 50 50mg TAB - METOPROLOL TARTRATE (MNA1)\",\"Id\":\"5f0e69e0a0ba5db368a147fd\",\"CreatedDate\":\"2020-07-15T02:28:36.887Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:01:58.772Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"684a86aaa7ab950374dabd3c\",\"CreatedDate\":\"2025-06-12T07:50:02.393Z\",\"CreatedUserId\":\"6842370608efed04cc2851fb\",\"LastUpdateUserId\":\"68475d36a7ab950650b24323\",\"LastUpdateUserName\":\"afp\",\"LastUpdateDate\":\"2026-04-21T00:43:41.6457955Z\",\"UpdateDeletedDate\":\"2026-04-21T00:43:41.6457955Z\",\"DeletedUserId\":\"6847667aaf648e0c7c47cd8f\",\"IsDeleted\":true}"),
"684a86aaa7ab950374dabd28",
"");