using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68e444fd36460fc31b95e41e",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,0.0,0.25],\"ShortCourseTimeslot\":[],\"PatientId\":\"69e73bf7d23a789810beb9bc\",\"Direction\":\"Take one quarter tablet (0.25mg) daily at night.\",\"FoilId\":\"69e73bf7d23a789810beb9cf\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-04-21T08:08:16Z\",\"ScriptNum\":\"60421209\",\"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-21T02: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:00\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"68e444fd36460fc31b95e41e\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"LORAZEPAM (VIATRIS) 1mg TAB\",\"DrugCode\":\"LORA25\",\"Austr\":\"304312\",\"Supplier\":\"VIATRIS PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"round\",\"Marking\":\"1.0\",\"Warning\":\"This preparation is to aid sleep. Drowsiness may continue - if affected do not drive or operate machinery Avoid alcohol*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 abruptlyS/Care - Relaxation TechniquesS/Care - Sleeping BadlyS/Care - Driving & MedicationPcy Board Warn: Similar Names\",\"Direction\":\"\",\"GenericCode\":\"LOR2\",\"GenericName\":\"LORAZEPAM\",\"Presentation\":\"Used to treat anxiety, insomnia, and a range of other conditions.\",\"AltBrand\":\"ATIVAN, EMOTEN, LORAZEPAM (APO), ATIVAN, LORAZEPAM (MYLAN), LORAZEPAM (LUPIN), LORAZEPAM (VIATRIS), LORAZEPAM (WGR)\",\"DoNotCrush\":false,\"TradeName\":\"LORAZEPAM (VIATRIS)\",\"Formulation\":\"TAB\",\"Strength\":\"1mg\",\"Schedule\":\"4N\",\"PackSize\":50,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68e444fd36460fc31b95e41e\",\"Usage\":0,\"DrugFullName\":\"LORAZEPAM (VIATRIS) 1mg TAB\",\"MedicationFullDetails\":\"LORAZEPAM (VIATRIS) 1mg TAB - LORAZEPAM (LORA25)\",\"Id\":\"6781606a08d92313a4ca2a37\",\"CreatedDate\":\"2025-01-10T18:01:14.769Z\",\"CreatedUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T23:31:21.902Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e73bf8d23a789810beb9d9\",\"CreatedDate\":\"2026-04-21T08:57:28.169Z\",\"CreatedUserId\":\"68f59744b65726ded1099535\",\"LastUpdateUserId\":\"68f59744b65726ded1099535\",\"LastUpdateUserName\":\"Xinyi\",\"LastUpdateDate\":\"2026-04-21T08:58:38.7693468Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e73bf7d23a789810beb9bc",
"");