using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"69e16aae8c67735765d60b3a",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,0.5,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69e6f55414702a05708d36c7\",\"Direction\":\"0.5 daily\",\"FoilId\":\"69e7035db02e12b387811651\",\"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-21T02: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\":\"69e16aae8c67735765d60b3a\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"MINIPRESS 5mg (as HCL) TAB\",\"DrugCode\":\"MIN5\",\"Austr\":\"10758\",\"Supplier\":\"PFIZER AUSTRALIA PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"diamond-shaped\",\"Marking\":\"20\",\"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\":\"PRA5\",\"GenericName\":\"PRAZOSIN\",\"Presentation\":\"Their major uses are for hypertension and for symptomatic benign prostatic hypertrophy.\",\"ImageId\":\"5f3a2d8ca0ba5d7c507953e5\",\"ImageSmallSizeId\":\"68f5981e5a506b941b5c7b33\",\"ImageName\":\"10758-C01-01-BL600.jpg\",\"AltBrand\":\"MINIPRESS, PRESSIN 5, PRASIG, MIPRAZ 5, PRAZOSIN (DBL), PRAZOSIN GENRX, PRAZOSIN (CHEM-MART), PRAZOSIN (HEALTHSENSE), PRAZOSIN (TW), PRAZOSIN-BC, PRATSIOL, PRAZOHEXAL, PRAZOSIN (APO)\",\"DoNotCrush\":false,\"TradeName\":\"MINIPRESS\",\"Formulation\":\"TAB\",\"Strength\":\"5mg (as HCL)\",\"Schedule\":\"4\",\"PackSize\":100,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white diamond-shaped MNP 5\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"69e16aae8c67735765d60b3a\",\"Usage\":0,\"DrugFullName\":\"MINIPRESS 5mg (as HCL) TAB\",\"MedicationFullDetails\":\"MINIPRESS 5mg (as HCL) TAB - PRAZOSIN (MIN5)\",\"Id\":\"5f0e69e0a0ba5db368a14802\",\"CreatedDate\":\"2020-07-15T02:28:36.89Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:34.892Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e7046314702a0570c95dd3\",\"CreatedDate\":\"2026-04-21T05:00:19.080617Z\",\"CreatedUserName\":\"LFox\",\"CreatedUserId\":\"69e1810e311984b2ca87c983\",\"LastUpdateDate\":\"2026-04-21T05:00:19.080617Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e6f55414702a05708d36c7",
"");