using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68140200af648e0cbcbea80a",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[],\"PatientId\":\"69f000f6ec52ba593cbe384c\",\"Direction\":\"Take ONE tablet before bed as directed by your doctor\",\"FoilId\":\"69f000f6ec52ba593cbe3861\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-04-27T14:00:00Z\",\"ScriptNum\":\"50731586\",\"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\":\"0001-01-01T00:00:00\",\"EndDate\":\"2026-04-28T00:37:02.5700224Z\",\"Frequency\":0,\"PackedWeekDay\":[true,true,true,true,true,true,true],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-28T00:37:02.5700224Z\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":false,\"PharmacyId\":\"68140200af648e0cbcbea80a\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"MIRTAZAPINE (SANDOZ) 15mg TAB\",\"DrugCode\":\"MIRT53\",\"Austr\":\"117131\",\"Supplier\":\"SANDOZ PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"*May cause drowsiness and increase effects of alcohol. If affected do not drive a motor vehicle 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 abruptly*Ask your pharmacist about the storage conditions for this medicineswallowed whole*Do not crush or chew*\",\"Direction\":\"\",\"GenericCode\":\"MIRT19\",\"GenericName\":\"MIRTAZAPINE\",\"Presentation\":\"\",\"AltBrand\":\"AXIT 15, MIRTAZAPINE (PFIZER), MIRTAZAPINE (APO), MIRTAZAPINE (AN), MIRTANZA, MIRTAZAPINE (APX), MIRTAZAPINE (SANDOZ), MIRTAZAPINE (BLOOMS), MIRTAZAPINE (WGR)\",\"DoNotCrush\":true,\"TradeName\":\"MIRTAZAPINE (SANDOZ)\",\"Formulation\":\"TAB\",\"Strength\":\"15mg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68140200af648e0cbcbea80a\",\"Usage\":0,\"DrugFullName\":\"MIRTAZAPINE (SANDOZ) 15mg TAB\",\"MedicationFullDetails\":\"MIRTAZAPINE (SANDOZ) 15mg TAB - MIRTAZAPINE (MIRT53)\",\"Id\":\"633aa511f65a8810882e51d5\",\"CreatedDate\":\"2022-10-03T09:02:09.548Z\",\"CreatedUserId\":\"62060ea859ae850e30188ba8\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T20:08:27.905Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69f000f6ec52ba593cbe3869\",\"CreatedDate\":\"2026-04-28T00:36:06.347Z\",\"CreatedUserId\":\"681413d908efed09281bd489\",\"LastUpdateUserId\":\"681413d908efed09281bd489\",\"LastUpdateDate\":\"2026-04-28T00:37:02.5700224Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69f000f6ec52ba593cbe384c",
"");