using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6823d73108efed0d90777227",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"6902b6007c59f567f4f92565\",\"Direction\":\"1 tablet at midday\",\"FoilId\":\"6902b6007c59f567f4f9257c\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2025-09-20T01:28:37Z\",\"ScriptNum\":\"2772503\",\"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\":\"2025-10-30T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00Z\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"6823d73108efed0d90777227\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"BRINTELLIX 20mg TAB\",\"DrugCode\":\"BRIN7\",\"Austr\":\"203970\",\"Supplier\":\"LUNDBECK AUSTRALIA PTY LT\",\"Type\":\"Tablet\",\"Color\":\"red\",\"Shape\":\"almond-shaped\",\"Marking\":\"TL\",\"Warning\":\"*Avoid combination with St John's wortWarnings-Please read Prod Info*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*Do NOT stop taking this medication abruptlyPcy Board Warn: Similar Names\",\"Direction\":\"\",\"GenericCode\":\"VORT4\",\"GenericName\":\"VORTIOXETINE\",\"Presentation\":\"An antidepressant used to treat major depressive disorder (MDD). \",\"ImageId\":\"5f3a2dbba0ba5d7c50796ba8\",\"ImageSmallSizeId\":\"68f599595a506b941b5c9012\",\"ImageName\":\"203970-C01-01-BL600.jpg\",\"AltBrand\":\"BRINTELLIX\",\"DoNotCrush\":false,\"TradeName\":\"BRINTELLIX\",\"Formulation\":\"TAB\",\"Strength\":\"20mg\",\"Schedule\":\"4\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"red almond-shaped TL\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6823d73108efed0d90777227\",\"Usage\":0,\"DrugFullName\":\"BRINTELLIX 20mg TAB\",\"MedicationFullDetails\":\"BRINTELLIX 20mg TAB - VORTIOXETINE (BRIN7)\",\"Id\":\"5f0e69e0a0ba5db368a1716c\",\"CreatedDate\":\"2020-07-15T02:28:46.048Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:56:07.778Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"6902b6007c59f567f4f92580\",\"CreatedDate\":\"2025-10-30T00:49:04.384Z\",\"CreatedUserId\":\"68f5c520b65726ded1a412ff\",\"LastUpdateUserId\":\"68f5c520b65726ded1a412ff\",\"LastUpdateUserName\":\"MelJack\",\"LastUpdateDate\":\"2026-04-21T04:13:19.6399709Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6902b6007c59f567f4f92565",
"");