using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"698bdc7b7c330bf95d6f2b23",
FromJson<Prescription>("{\"PackType\":1,\"Dose\":[],\"ShortCourseTimeslot\":[],\"PatientId\":\"69de02a9342a471bd178ab07\",\"Direction\":\"Inject as directed by your doctor\",\"FoilId\":\"69de02a9342a471bd178ab1e\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-02-26T07:42:27Z\",\"ScriptNum\":\"385916\",\"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-20T04: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\":\"698bdc7b7c330bf95d6f2b23\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"OPTISULIN SOLOSTAR 100 units/mL, 3mL 5 PFP\",\"DrugCode\":\"OPTI13\",\"Austr\":\"159302\",\"Supplier\":\"SANOFI-AVENTIS AUSTRALIA\",\"Type\":\"Pre-Filled Pen\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"*Do not exceed one Aspirin tablet or capsule per day**REFRIGERATE DO NOT FREEZE**- Discard contents 28 days after opening\",\"Direction\":\"\",\"GenericCode\":\"INSU15\",\"GenericName\":\"INSULIN GLARGINE SOLOSTAR\",\"Presentation\":\"Used to control blood sugar in people who have type 1 diabetes (condition in which the body does not make insulin and therefore cannot control the amount of sugar in the blood) or in people who have type 2 diabetes (condition in which the blood sugar is too high because the body does not produce or use insulin normally).\",\"AltBrand\":\"LANTUS, LANTUS SOLOSTAR, SEMGLEE, OPTISULIN, OPTISULIN SOLOSTAR\",\"DoNotCrush\":false,\"TradeName\":\"OPTISULIN SOLOSTAR\",\"Formulation\":\"PFP\",\"Strength\":\"100 units/mL, 3mL 5\",\"Schedule\":\"4\",\"PackSize\":1,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"698bdc7b7c330bf95d6f2b23\",\"Usage\":2,\"DrugFullName\":\"OPTISULIN SOLOSTAR 100 units/mL, 3mL 5 PFP\",\"MedicationFullDetails\":\"OPTISULIN SOLOSTAR 100 units/mL, 3mL 5 PFP - INSULIN GLARGINE SOLOSTAR (OPTI13)\",\"Id\":\"5f0e69e0a0ba5db368a17ab4\",\"CreatedDate\":\"2020-07-15T02:28:48.037Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T23:37:24.959Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69de02a9342a471bd178ab32\",\"CreatedDate\":\"2026-04-14T09:02:33.529Z\",\"CreatedUserId\":\"69b7829d485625038a8f53fe\",\"LastUpdateUserId\":\"69deeefc710d60b9a3e231d9\",\"LastUpdateUserName\":\"mundijong\",\"LastUpdateDate\":\"2026-04-20T07:15:28.4442455Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69de02a9342a471bd178ab07",
"");