using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"649923d0f65a8813a473b052",
FromJson<Prescription>("{\"PackType\":1,\"Dose\":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"6982cefe7f4a2f9f6d8e7b9b\",\"Direction\":\"2 NIGHT\",\"FoilId\":\"6982cf13fb391c0d91691068\",\"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\":\"0001-01-01T00:00:00\",\"EndDate\":\"2026-04-21T03:59:44.7122617Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-21T03:59:44.7122617Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"649923d0f65a8813a473b052\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"TEGRETOL 200mg CR-TAB\",\"DrugCode\":\"TEG4\",\"Austr\":\"42974\",\"Supplier\":\"NOVARTIS PHARMACEUTICALS\",\"Type\":\"CR-Tablet\",\"Color\":\"beige-orange\",\"Shape\":\"capsule-shaped\",\"Marking\":\"H C\",\"Warning\":\"with or soon after food.*Do NOT stop taking this medication abruptly*May affect alertness and/or co-ordination. If affected, do not drive or operate machinery*Ask your Doctor or Pharmacist before using other medicines including over-the-counter or any health products*Certain foods and fruit juices should be avoided while being treated with this medicine*Ask your pharmacist about the storage conditions for this medicineswallowed wholeSpecial handling and disposal required - ask your Pharmacist\",\"Direction\":\"\",\"GenericCode\":\"C210\",\"GenericName\":\"CARBAMAZEPINE\",\"Presentation\":\"Carbamazepine is an anticonvulsant.Is used to treat seizures and nerve pain such as trigeminal neuralgia and diabetic neuropathy. It is also used to treat bipolar disorder\",\"ImageId\":\"5f3a2f20a0ba5d7c507974f4\",\"ImageSmallSizeId\":\"68f598325a506b941b5c7c44\",\"ImageName\":\"42974-C01-01-BL600.jpg\",\"AltBrand\":\"TEGRETOL, TEGRETOL\",\"DoNotCrush\":true,\"TradeName\":\"TEGRETOL\",\"Formulation\":\"CR-TAB\",\"Strength\":\"200mg\",\"Schedule\":\"4\",\"PackSize\":200,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"beige-orange capsule-shaped H C\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"649923d0f65a8813a473b052\",\"Usage\":3,\"DrugFullName\":\"TEGRETOL 200mg CR-TAB\",\"MedicationFullDetails\":\"TEGRETOL 200mg CR-TAB - CARBAMAZEPINE (TEG4)\",\"Id\":\"5f0e69e0a0ba5db368a14e8f\",\"CreatedDate\":\"2020-07-15T02:28:38.327Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:02:08.162Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69953cd47b4f552efb13f2a2\",\"CreatedDate\":\"2026-02-18T04:15:16.457Z\",\"CreatedUserName\":\"AlisonP\",\"CreatedUserId\":\"64cae9c5f65a8810846f1bb3\",\"LastUpdateUserId\":\"64cae9c5f65a8810846f1bb3\",\"LastUpdateDate\":\"2026-04-21T03:59:44.7122617Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6982cefe7f4a2f9f6d8e7b9b",
"");