using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"65233a77f65a8806ac986895",
FromJson<Prescription>("{\"PackType\":1,\"Dose\":[1.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"668e4dd68222d3119451b080\",\"Direction\":\"1 2xDAILY\",\"FoilId\":\"668e4dd68222d3119451b091\",\"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-03-04T04:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00\",\"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\":\"65233a77f65a8806ac986895\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"MINIPRESS 2mg (as HCL) TAB\",\"DrugCode\":\"MIN2\",\"Austr\":\"10757\",\"Supplier\":\"PFIZER AUSTRALIA PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"round\",\"Marking\":\"MNP 2\",\"Warning\":\"*May affect alertness and/or co-ordination. If affected, do not drive or operate machinery*May cause dizziness when standing up quicklyS/Care - Exercise & HeartS/Care - High Blood PressureS/Care - Reducing Fat/CholestS/Care - Prostate Problems\",\"Direction\":\"\",\"GenericCode\":\"PRA9\",\"GenericName\":\"PRAZOSIN\",\"Presentation\":\"Their major uses are for hypertension and for symptomatic benign prostatic hypertrophy.\",\"ImageId\":\"5f3a2d8ca0ba5d7c507953e7\",\"ImageSmallSizeId\":\"68f5981e5a506b941b5c7b32\",\"ImageName\":\"10757-C01-01-BL600.jpg\",\"AltBrand\":\"MINIPRESS, PRESSIN 2, PRASIG, MIPRAZ 2, PRAZOSIN (DBL), PRAZOSIN GENRX, PRAZOSIN (CHEM-MART), PRAZOSIN (HEALTHSENSE), PRAZOSIN (TW), PRAZOSIN-BC, PRATSIOL, PRAZOHEXAL, PRAZOSIN (APO), PRAZOSIN USP (NOVITIUM) S19A\",\"DoNotCrush\":false,\"TradeName\":\"MINIPRESS\",\"Formulation\":\"TAB\",\"Strength\":\"2mg (as HCL)\",\"Schedule\":\"4\",\"PackSize\":100,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white round MNP 2\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"65233a77f65a8806ac986895\",\"Usage\":1,\"DrugFullName\":\"MINIPRESS 2mg (as HCL) TAB\",\"MedicationFullDetails\":\"MINIPRESS 2mg (as HCL) TAB - PRAZOSIN (MIN2)\",\"Id\":\"5f0e69e0a0ba5db368a14801\",\"CreatedDate\":\"2020-07-15T02:28:36.89Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T14:38:02.474Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69a7a1d00718e7592d575673\",\"CreatedDate\":\"2026-03-04T03:06:56.671Z\",\"CreatedUserName\":\"alla\",\"CreatedUserId\":\"6524ad88f65a880f507646ed\",\"LastUpdateDate\":\"2026-04-21T07:23:25.4226149Z\",\"UpdateDeletedDate\":\"2026-04-21T07:23:25.4226149Z\",\"DeletedUserId\":\"683510eeaf648e0dac6eeb66\",\"IsDeleted\":true}"),
"668e4dd68222d3119451b080",
"");