using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"671ef9bda7ab950174ad5f20",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69c9c3006e479f768926dbe8\",\"Direction\":\"take 1 tablet in the morning for 1 week then cease\",\"FoilId\":\"69c9c3006e479f768926dbfc\",\"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-05-09T02:00:00Z\",\"EndDate\":\"2026-05-15T02: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\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"671ef9bda7ab950174ad5f20\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"LUMIN 20 20mg TAB\",\"DrugCode\":\"LUM2\",\"Austr\":\"55273\",\"Supplier\":\"ALPHAPHARM PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"round\",\"Marking\":\"MI 20\",\"Warning\":\"*May cause drowsiness and increase effects of alcohol. If affected do not drive a motor vehicle or operate machinery.*Do NOT stop taking this medication abruptly*Ask your pharmacist about the storage conditions for this medicine*May cause dizziness when standing up quicklyS/Care - Driving & MedicationS/Care - Relaxation TechniquesS/Care - Sleeping Badly\",\"Direction\":\"\",\"GenericCode\":\"MI54\",\"GenericName\":\"MIANSERIN\",\"Presentation\":\"Used to treat depression, bipolar disorder, anxiety, obsessive-compulsive disorder and other mood disorders. They are also effective as analgesics so are used to treat chronic pain and used for migraine prophylaxis.\",\"ImageId\":\"5f3a2d9ea0ba5d7c50795d18\",\"ImageSmallSizeId\":\"68f598335a506b941b5c7c4b\",\"ImageName\":\"55273-C01-01-BL600.jpg\",\"AltBrand\":\"TOLVON, LUMIN 20, LERIVON\",\"DoNotCrush\":false,\"TradeName\":\"LUMIN 20\",\"Formulation\":\"TAB\",\"Strength\":\"20mg\",\"Schedule\":\"4\",\"PackSize\":50,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white round MI 20\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"671ef9bda7ab950174ad5f20\",\"Usage\":0,\"DrugFullName\":\"LUMIN 20 20mg TAB\",\"MedicationFullDetails\":\"LUMIN 20 20mg TAB - MIANSERIN (LUM2)\",\"Id\":\"5f0e69e0a0ba5db368a14e99\",\"CreatedDate\":\"2020-07-15T02:28:38.341Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:25:28.657Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69f3ebef6a52244e58aaa9fc\",\"CreatedDate\":\"2026-04-30T23:55:27.4502964Z\",\"CreatedUserName\":\"Casey\",\"CreatedUserId\":\"682d53bcaf648e042c06c5df\",\"LastUpdateDate\":\"2026-04-30T23:55:27.4502964Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69c9c3006e479f768926dbe8",
"");