using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68e444fd36460fc31b95e41e",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.5,0.5],\"ShortCourseTimeslot\":[],\"PatientId\":\"69f2ab181b4602a5afd9d502\",\"Direction\":\"Take ONE tablet in the morning and HALF a at night.\",\"FoilId\":\"69f2ab181b4602a5afd9d543\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-03-04T02:23:46Z\",\"ScriptNum\":\"6030462\",\"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-30T02: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:00\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"68e444fd36460fc31b95e41e\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"SOTALOL (SANDOZ) 80mg TAB\",\"DrugCode\":\"SOTA14\",\"Austr\":\"78710\",\"Supplier\":\"SANDOZ PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"round\",\"Marking\":\"SOT\",\"Warning\":\"*May cause dizziness when standing up quicklyat least half an hour before foodDo NOT take dairy products or calcium within 2hrs of this medicine*Do NOT stop taking this medication abruptly*May affect alertness and/or co-ordination. If affected, do not drive or operate machineryS/Care - Exercise & Heart\",\"Direction\":\"\",\"GenericCode\":\"SOTA7\",\"GenericName\":\"SOTALOL\",\"Presentation\":\"\",\"ImageId\":\"5f3a2d7aa0ba5d7c50794989\",\"ImageSmallSizeId\":\"68f598645a506b941b5c7eda\",\"ImageName\":\"78710-C01-02-BL600.jpg\",\"AltBrand\":\"SOTACOR, SOTALOL (SANDOZ), SOLAVERT, SOTALOL GENRX, SOTALOL (APO), CARDOL, SOTALOL (APX), SOTALOL (WGR)\",\"DoNotCrush\":false,\"TradeName\":\"SOTALOL (SANDOZ)\",\"Formulation\":\"TAB\",\"Strength\":\"80mg\",\"Schedule\":\"4\",\"PackSize\":60,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white round SOT\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68e444fd36460fc31b95e41e\",\"Usage\":0,\"DrugFullName\":\"SOTALOL (SANDOZ) 80mg TAB\",\"MedicationFullDetails\":\"SOTALOL (SANDOZ) 80mg TAB - SOTALOL (SOTA14)\",\"Id\":\"5f0e69e0a0ba5db368a1580d\",\"CreatedDate\":\"2020-07-15T02:28:40.602Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:35:14.104Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69f2ab181b4602a5afd9d55f\",\"CreatedDate\":\"2026-04-30T01:06:32.538Z\",\"CreatedUserId\":\"68f59744b65726ded1099535\",\"LastUpdateUserId\":\"68f59744b65726ded1099535\",\"LastUpdateUserName\":\"Xinyi\",\"LastUpdateDate\":\"2026-04-30T01:27:24.5884148Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69f2ab181b4602a5afd9d502",
"");