using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"69094f3d274d5c4f3cf4b272",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69f0602fec52ba593c1754ee\",\"Direction\":\"1 tablet twice a day\",\"FoilId\":\"69f06084da2f310f8f98234f\",\"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\":\"2026-04-28T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":0,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"69094f3d274d5c4f3cf4b272\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"SOTALOL (APO) 80mg TAB\",\"DrugCode\":\"SOTA16\",\"Austr\":\"83094\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"blue\",\"Shape\":\"capsule-shaped\",\"Marking\":\"APO-80\",\"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 machinery\",\"Direction\":\"\",\"GenericCode\":\"SOTA7\",\"GenericName\":\"SOTALOL\",\"Presentation\":\"\",\"ImageId\":\"5f3a2d89a0ba5d7c5079523f\",\"ImageSmallSizeId\":\"68f599345a506b941b5c8e3f\",\"ImageName\":\"83094-C01-01-BL600.jpg\",\"AltBrand\":\"SOTACOR, SOTALOL (SANDOZ), SOLAVERT, SOTALOL GENRX, SOTALOL (APO), CARDOL, SOTALOL (APX), SOTALOL (WGR)\",\"DoNotCrush\":false,\"TradeName\":\"SOTALOL (APO)\",\"Formulation\":\"TAB\",\"Strength\":\"80mg\",\"Schedule\":\"4\",\"PackSize\":60,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"blue capsule-shaped APO-80\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"69094f3d274d5c4f3cf4b272\",\"Usage\":0,\"DrugFullName\":\"SOTALOL (APO) 80mg TAB\",\"MedicationFullDetails\":\"SOTALOL (APO) 80mg TAB - SOTALOL (SOTA16)\",\"Id\":\"5f0e69e0a0ba5db368a16e5d\",\"CreatedDate\":\"2020-07-15T02:28:45.387Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:35.216Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69f06280c7141cb94fa74a77\",\"CreatedDate\":\"2026-04-28T07:32:16.9262225Z\",\"CreatedUserName\":\"KH15\",\"CreatedUserId\":\"6909544f610ad01e745cbd5a\",\"LastUpdateDate\":\"2026-04-28T07:32:16.9262225Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69f0602fec52ba593c1754ee",
"");