using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"645334def65a88089ce58676",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.25,0.0,0.25,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69b3e8a4662f10468655bf94\",\"Direction\":\"1/4 2xDAILY\",\"FoilId\":\"69b3e8a4662f10468655bfa2\",\"FoilLabel\":\"Blister Pack 1\",\"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\":\"0001-01-01T00:00:00\",\"EndDate\":\"2026-04-24T07:55:01.085422Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-24T07:55:01.085422Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"645334def65a88089ce58676\",\"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\":\"68f5992b5a506b941b5c8dcb\",\"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\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"pink round 50\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"645334def65a88089ce58676\",\"Usage\":18,\"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-11T14:53:36.206Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69c5f41ce46e0bf0fd619d25\",\"CreatedDate\":\"2026-03-27T03:06:04.766Z\",\"CreatedUserName\":\"miav\",\"CreatedUserId\":\"68e645fbc20606cd79380b06\",\"LastUpdateUserId\":\"64546ef2f65a8808c4c390a0\",\"LastUpdateUserName\":\"Thomas\",\"LastUpdateDate\":\"2026-04-24T07:55:01.085422Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69b3e8a4662f10468655bf94",
"");