using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6620581c16f53f07c073920e",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,0.0,0.5,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"687d8180f829554f9975afdf\",\"Direction\":\"Take HALF a tablet in the evening\",\"FoilId\":\"687d81c8f440f1891a129050\",\"FoilLabel\":\"MONTHLY\",\"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\":\"6620581c16f53f07c073920e\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"METOPROLOL (SANDOZ) 50mg TAB\",\"DrugCode\":\"METO35\",\"Austr\":\"62560\",\"Supplier\":\"SANDOZ PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"round\",\"Marking\":\"\",\"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\":\"5f3a2d8da0ba5d7c5079543a\",\"ImageSmallSizeId\":\"68f599305a506b941b5c8e06\",\"ImageName\":\"62560-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\":\"METOPROLOL (SANDOZ)\",\"Formulation\":\"TAB\",\"Strength\":\"50mg\",\"Schedule\":\"4\",\"PackSize\":100,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white round\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6620581c16f53f07c073920e\",\"Usage\":23,\"DrugFullName\":\"METOPROLOL (SANDOZ) 50mg TAB\",\"MedicationFullDetails\":\"METOPROLOL (SANDOZ) 50mg TAB - METOPROLOL TARTRATE (METO35)\",\"Id\":\"5f0e69e0a0ba5db368a16ded\",\"CreatedDate\":\"2020-07-15T02:28:45.291Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:08:29.107Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e18607886760ca5659edac\",\"CreatedDate\":\"2026-04-17T00:59:51.214Z\",\"CreatedUserName\":\"dy\",\"CreatedUserId\":\"677889b608efed0a489eedc0\",\"LastUpdateUserId\":\"677b4608af648e0744abe0a7\",\"LastUpdateUserName\":\"kah\",\"LastUpdateDate\":\"2026-04-19T23:24:36.1736642Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"687d8180f829554f9975afdf",
"");