using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"69ba2b20c90b16fd0ad1a50a",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,0.0,1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69e5a26821162426a3a2fda5\",\"Direction\":\"1 DAILY\",\"FoilId\":\"69e5a26821162426a3a2fdba\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-04-20T00:11:07Z\",\"ScriptNum\":\"1284247\",\"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-20T02: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\":\"69ba2b20c90b16fd0ad1a50a\",\"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\":\"69ba2b20c90b16fd0ad1a50a\",\"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-10T23:37:28.149Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e5a26821162426a3a2fdc8\",\"CreatedDate\":\"2026-04-20T03:50:00.126Z\",\"CreatedUserId\":\"69ba2fbdd70c9c7186b132dd\",\"LastUpdateUserId\":\"69ba2fbdd70c9c7186b132dd\",\"LastUpdateUserName\":\"ryit\",\"LastUpdateDate\":\"2026-04-20T03:51:54.4228909Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e5a26821162426a3a2fda5",
"");