using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"69a4c85de2638b9f120f5052",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69c071dcc20a3af6becfd0a7\",\"Direction\":\"Swallow whole ONE tablet at night.\",\"FoilId\":\"69c071dcc20a3af6becfd0ab\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-03-19T23:23:37Z\",\"ScriptNum\":\"60320114\",\"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\":\"2026-04-23T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"69a4c85de2638b9f120f5052\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"QUETIAPINE XR (APX) 200mg SR-TAB\",\"DrugCode\":\"QUPN23\",\"Austr\":\"199876\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"SR-Tablet\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"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*May affect alertness and/or co-ordination. If affected, do not drive or operate machinery*May cause dizziness when standing up quickly*Certain foods and fruit juices should be avoided while being treated with this medicineswallowed whole*Do not crush or chew*\",\"Direction\":\"\",\"GenericCode\":\"QUET6\",\"GenericName\":\"QUETIAPINE\",\"Presentation\":\"Used alone or in combination with other drugs to treat schizophrenia and bipolar disorder. It also is usedfor treating major depression in combination with antidepressants.\",\"AltBrand\":\"SEROQUEL XR, QUETIAPINE-AS XR, QUETIAPINE XR (APO), TEVATIAPINE XR, QUEPINE XR, QUETIA XR, QUETIAPINE XR (APX), QUETIAPINE XR (SANDOZ)\",\"DoNotCrush\":true,\"TradeName\":\"QUETIAPINE XR (APX)\",\"Formulation\":\"SR-TAB\",\"Strength\":\"200mg\",\"Schedule\":\"4N\",\"PackSize\":60,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"69a4c85de2638b9f120f5052\",\"Usage\":0,\"DrugFullName\":\"QUETIAPINE XR (APX) 200mg SR-TAB\",\"MedicationFullDetails\":\"QUETIAPINE XR (APX) 200mg SR-TAB - QUETIAPINE (QUPN23)\",\"Id\":\"6102d276a6b66b27b8110243\",\"CreatedDate\":\"2021-07-29T16:08:22.928Z\",\"CreatedUserId\":\"5fa24cab89e48b3a6ef44ad0\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T23:37:25.806Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69c071dcc20a3af6becfd0df\",\"CreatedDate\":\"2026-03-22T22:49:00.097Z\",\"CreatedUserId\":\"69b9dfa1c90b16fd0ae7a5d6\",\"LastUpdateUserId\":\"69b9dfa1c90b16fd0ae7a5d6\",\"LastUpdateUserName\":\"peacockluke\",\"LastUpdateDate\":\"2026-04-23T04:18:31.5392559Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69c071dcc20a3af6becfd0a7",
"");