using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68f969ef5122f8a7eda15d3a",
FromJson<Prescription>("{\"PackType\":0,\"Description\":\"WHITE ROUND ML 50 A\",\"Dose\":[1.5,0.0,1.5,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69116f50c259fa793211d0ed\",\"Direction\":\"Take ONE and HALF tablet TWICE a day\",\"FoilId\":\"69116f50c259fa793211d114\",\"FoilLabel\":\"Foil 1\",\"DateDispensed\":\"0001-01-01T00:00:00\",\"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\":\"2024-10-16T00:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"68f969ef5122f8a7eda15d3a\",\"SyncId\":\"2ffda01c-82ac-415c-bfea-aa6f881439ae-1281\",\"SyncDate\":\"2025-11-10T04:51:28.885Z\",\"IsSyncImported\":true,\"Drug\":{\"DrugName\":\"MINAX 50 50mg TAB\",\"DrugCode\":\"MNA1\",\"Austr\":\"34408\",\"Supplier\":\"ALPHAPHARM PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"round\",\"Marking\":\"white round 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\":\"68f5981d5a506b941b5c7b2f\",\"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\":\"68f969ef5122f8a7eda15d3a\",\"Usage\":41,\"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\":\"68f96b80485905cf264f90dd\",\"LastUpdateDate\":\"2026-01-12T00:26:39.702Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69116f50c259fa793211d11b\",\"CreatedDate\":\"2025-11-10T04:51:28.885Z\",\"LastUpdateUserId\":\"68f96b80485905cf264f90dd\",\"LastUpdateUserName\":\"tamikas\",\"LastUpdateDate\":\"2026-04-22T05:29:55.7507101Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69116f50c259fa793211d0ed",
"");