using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"69ba2b20c90b16fd0ad1a50a",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.5,0.0,0.0,1.5,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69e5a7802c1a237be0d44169\",\"Direction\":\"1.5 2x DAILY\",\"FoilId\":\"69e5a7802c1a237be0d44174\",\"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-20T02: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\":\"69ba2b20c90b16fd0ad1a50a\",\"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\":\"blue capsule-shaped 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\":\"69ba2b20c90b16fd0ad1a50a\",\"Usage\":3,\"DrugFullName\":\"SOTALOL (APO) 80mg TAB\",\"MedicationFullDetails\":\"SOTALOL (APO) 80mg TAB - SOTALOL (SOTA16)\",\"Id\":\"5f0e69e0a0ba5db368a16e5d\",\"CreatedDate\":\"2020-07-15T02:28:45.387Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"69ba2fbdd70c9c7186b132dd\",\"LastUpdateDate\":\"2026-04-16T02:22:55.051Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e5a806c21eb1a5a9f09a03\",\"CreatedDate\":\"2026-04-20T04:13:58.3500426Z\",\"CreatedUserName\":\"ryit\",\"CreatedUserId\":\"69ba2fbdd70c9c7186b132dd\",\"LastUpdateDate\":\"2026-04-20T04:13:58.3500426Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e5a7802c1a237be0d44169",
"");