using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"67bd1e63a7ab950ea0313aad",
FromJson<Prescription>("{\"PackType\":2,\"Dose\":[0.5],\"ShortCourseTimeslot\":[],\"PatientId\":\"69ed98edc5366c91860d6044\",\"Direction\":\"Take half a tablet in the morning and half a tablet in the evening if required for panic attacks\",\"FoilId\":\"69f1b412c251b9858847854b\",\"FoilLabel\":\"PRN\",\"DateDispensed\":\"2026-04-24T05:00:38Z\",\"ScriptNum\":\"143171603\",\"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-04-26T04: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\":\"tablets\",\"PharmacyId\":\"67bd1e63a7ab950ea0313aad\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"PROPRANOLOL (APO) 40mg TAB\",\"DrugCode\":\"PROP14\",\"Austr\":\"222969\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"green\",\"Shape\":\"round\",\"Marking\":\"P 40\",\"Warning\":\"*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 quickly\",\"Direction\":\"\",\"GenericCode\":\"PRP2\",\"GenericName\":\"PROPRANOLOL\",\"Presentation\":\"Used to treat various types of heart conditions as well as some other illnesses.\",\"ImageId\":\"5f3a2d80a0ba5d7c50794ca8\",\"ImageSmallSizeId\":\"68f599655a506b941b5c90a7\",\"ImageName\":\"222969-C01-01-BL600.jpg\",\"AltBrand\":\"DERALIN, INDERAL, PROPRANOLOL (APO), PROPRANOLOL (WGR)\",\"DoNotCrush\":false,\"TradeName\":\"PROPRANOLOL (APO)\",\"Formulation\":\"TAB\",\"Strength\":\"40mg\",\"Schedule\":\"4\",\"PackSize\":100,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"green round P 40\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"67bd1e63a7ab950ea0313aad\",\"Usage\":0,\"DrugFullName\":\"PROPRANOLOL (APO) 40mg TAB\",\"MedicationFullDetails\":\"PROPRANOLOL (APO) 40mg TAB - PROPRANOLOL (PROP14)\",\"Id\":\"5f0e69e0a0ba5db368a172d4\",\"CreatedDate\":\"2020-07-15T02:28:46.352Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:39:49.544Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69ed98efc5366c91860d60cc\",\"CreatedDate\":\"2026-04-26T04:47:43.183Z\",\"CreatedUserId\":\"67c66aa5a7ab950f08143acb\",\"LastUpdateUserId\":\"67c66aa5a7ab950f08143acb\",\"LastUpdateUserName\":\"telikac\",\"LastUpdateDate\":\"2026-04-29T07:32:49.4045989Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69ed98edc5366c91860d6044",
"69ed98edc5366c91860d607d");