using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68831b733e5f1b9fd3be5032",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.5,0.0,0.0,0.5,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69e190e4c93c021da5d9e7e1\",\"Direction\":\"Take HALF a tablet TWICE a day\",\"FoilId\":\"69e197cb8c6773576557ac75\",\"FoilLabel\":\"Regular Pack\",\"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-17T02: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,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"68831b733e5f1b9fd3be5032\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"METOPROLOL (APO) 50mg TAB\",\"DrugCode\":\"METO33\",\"Austr\":\"192766\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"pink\",\"Shape\":\"round\",\"Marking\":\"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\":\"63607e2b6f6fd8436872b32d\",\"ImageSmallSizeId\":\"68f599d35a506b941b5c9668\",\"ImageName\":\"192766-C01-02-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\":\"METOPROLOL (APO)\",\"Formulation\":\"TAB\",\"Strength\":\"50mg\",\"Schedule\":\"4\",\"PackSize\":100,\"IsCytotoxic\":false,\"Authorized\":2,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"pink round 50\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68831b733e5f1b9fd3be5032\",\"OriginValues\":\"{\\"Authorized\\":0}\",\"Usage\":43,\"DrugFullName\":\"METOPROLOL (APO) 50mg TAB\",\"MedicationFullDetails\":\"METOPROLOL (APO) 50mg TAB - METOPROLOL TARTRATE (METO33)\",\"Id\":\"5f0e69e0a0ba5db368a16d79\",\"CreatedDate\":\"2020-07-15T02:28:45.199Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-13T07:16:08.392Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e198bac94ff091492353ee\",\"CreatedDate\":\"2026-04-17T02:19:38.56Z\",\"CreatedUserName\":\"dlt\",\"CreatedUserId\":\"688b03f1b6488b834db002d9\",\"LastUpdateUserId\":\"688b03f1b6488b834db002d9\",\"LastUpdateUserName\":\"dlt\",\"LastUpdateDate\":\"2026-04-20T01:51:19.2246086Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e190e4c93c021da5d9e7e1",
"");