using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"67d75a7c08efed097032b754",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[2.0,0.0,0.0,1.5,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"67d8b361967e01100c5f4753\",\"Direction\":\"Take 2 tablets in the morning and 1.5 tablets at night\",\"FoilId\":\"67d8b361967e01100c5f4754\",\"FoilLabel\":\"Foil 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-24T05:27:21.6616498Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-24T05:27:21.6616498Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"67d75a7c08efed097032b754\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"SOTALOL (APX) 80mg TAB\",\"DrugCode\":\"SOTA19\",\"Austr\":\"333531\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"light blue\",\"Shape\":\"capsule-shaped\",\"Marking\":\"S 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\":\"\",\"AltBrand\":\"SOTACOR, SOTALOL (SANDOZ), SOLAVERT, SOTALOL GENRX, SOTALOL (APO), CARDOL, SOTALOL (APX), SOTALOL (WGR)\",\"DoNotCrush\":false,\"TradeName\":\"SOTALOL (APX)\",\"Formulation\":\"TAB\",\"Strength\":\"80mg\",\"Schedule\":\"4\",\"PackSize\":60,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"67d75a7c08efed097032b754\",\"Usage\":0,\"DrugFullName\":\"SOTALOL (APX) 80mg TAB\",\"MedicationFullDetails\":\"SOTALOL (APX) 80mg TAB - SOTALOL (SOTA19)\",\"Id\":\"6102d2b5a6b66b27b8110376\",\"CreatedDate\":\"2021-07-29T16:09:25.443Z\",\"CreatedUserId\":\"5fa24cab89e48b3a6ef44ad0\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T19:43:30.901Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69cdb0d1246612ebc256a08b\",\"CreatedDate\":\"2026-04-01T23:57:05.452Z\",\"CreatedUserName\":\"spark\",\"CreatedUserId\":\"67d76b9caf648e06f8348d10\",\"LastUpdateUserId\":\"67d76b9caf648e06f8348d10\",\"LastUpdateDate\":\"2026-04-24T05:27:21.6616498Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"67d8b361967e01100c5f4753",
"");