using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"69e16aae8c67735765d60b3a",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69e571b17f72c22cb3e5ceba\",\"Direction\":\"1 2xdaily\",\"FoilId\":\"69e571c07f72c22cb3e5ec47\",\"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-20T02: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\":\"TEGRETOL 100mg, 100 TAB\",\"DrugCode\":\"TEG7\",\"Austr\":\"41846\",\"Supplier\":\"NOVARTIS PHARMACEUTICALS\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"round\",\"Marking\":\"B W\",\"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 medicineSpecial handling and disposal required - ask your Pharmacist\",\"Direction\":\"\",\"GenericCode\":\"CA17\",\"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\":\"5f3a2d98a0ba5d7c50795aee\",\"ImageSmallSizeId\":\"68f598de5a506b941b5c8927\",\"ImageName\":\"41846-C01-01-BL600.jpg\",\"AltBrand\":\"TEGRETOL, CARBAMAZEPINE-BC, CARBAMAZEPINE (SANDOZ), TEGRETOL, CARBAMAZEPINE (SANDOZ), AVLOIRE\",\"DoNotCrush\":false,\"TradeName\":\"TEGRETOL\",\"Formulation\":\"TAB\",\"Strength\":\"100mg, 100\",\"Schedule\":\"4\",\"PackSize\":100,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white round B W\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"69e16aae8c67735765d60b3a\",\"Usage\":0,\"DrugFullName\":\"TEGRETOL 100mg, 100 TAB\",\"MedicationFullDetails\":\"TEGRETOL 100mg, 100 TAB - CARBAMAZEPINE (TEG7)\",\"Id\":\"5f0e69e0a0ba5db368a1654d\",\"CreatedDate\":\"2020-07-15T02:28:43.431Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:35.248Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e572397f72c22cb3e7d967\",\"CreatedDate\":\"2026-04-20T00:24:25.2108548Z\",\"CreatedUserName\":\"LFox\",\"CreatedUserId\":\"69e1810e311984b2ca87c983\",\"LastUpdateDate\":\"2026-04-20T00:24:25.2108548Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e571b17f72c22cb3e5ceba",
"");