using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68a67bb54175295981a9027d",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69842c20304583f2a01db286\",\"Direction\":\"Take ONE tablet daily for THIRTY days. Do not crush or chew.\",\"FoilId\":\"69842c20304583f2a01db2be\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-02-05T02:25:10Z\",\"ScriptNum\":\"336604\",\"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\":\"0001-01-01T00:00:00\",\"EndDate\":\"2026-04-30T03:04:08.3286622Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-30T03:04:08.3286622Z\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Unit\":\"\",\"PharmacyId\":\"68a67bb54175295981a9027d\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"BETMIGA 25mg SR-TAB\",\"DrugCode\":\"BETM1\",\"Austr\":\"199664\",\"Supplier\":\"Astellas Pharma\",\"Type\":\"SR-Tablet\",\"Color\":\"brown\",\"Shape\":\"oval\",\"Marking\":\"(Logo) 325\",\"Warning\":\"*Ask your Doctor or Pharmacist before using other medicines including over-the-counter or any health products*May affect alertness and/or co-ordination. If affected, do not drive or operate machineryswallowed whole*Do not crush or chew*\",\"Direction\":\"\",\"GenericCode\":\"MIRA1\",\"GenericName\":\"MIRABEGRON\",\"Presentation\":\"\",\"ImageId\":\"5f3a2dbca0ba5d7c50796c71\",\"ImageSmallSizeId\":\"68f599385a506b941b5c8e74\",\"ImageName\":\"199664-C01-01-BL600.jpg\",\"AltBrand\":\"BETMIGA\",\"DoNotCrush\":true,\"TradeName\":\"BETMIGA\",\"Formulation\":\"SR-TAB\",\"Strength\":\"25mg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"brown oval Astellas logo 325\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68a67bb54175295981a9027d\",\"Usage\":0,\"DrugFullName\":\"BETMIGA 25mg SR-TAB\",\"MedicationFullDetails\":\"BETMIGA 25mg SR-TAB - MIRABEGRON (BETM1)\",\"Id\":\"5f0e69e0a0ba5db368a16ed1\",\"CreatedDate\":\"2020-07-15T02:28:45.481Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:22:25.296Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69842c21304583f2a01db35d\",\"CreatedDate\":\"2026-02-05T05:35:29.064Z\",\"CreatedUserId\":\"68a686646e786c909de8c912\",\"LastUpdateUserId\":\"68b7b7f0d340431e73410b26\",\"LastUpdateUserName\":\"Jenni15\",\"LastUpdateDate\":\"2026-04-30T03:04:08.3286622Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69842c20304583f2a01db286",
"");