using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"660cb69a96096609b8b0e593",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[],\"PatientId\":\"69eb081a5976b98c14f813d7\",\"Direction\":\"Take ONE to TWO tablets when required as directed.\",\"FoilId\":\"69eb081a5976b98c14f813e6\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-03-29T23:12:32Z\",\"ScriptNum\":\"6033029\",\"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-24T06:21:55.2249055Z\",\"Frequency\":0,\"PackedWeekDay\":[true,true,true,true,true,true,true],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-24T06:21:55.2249055Z\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":false,\"PharmacyId\":\"660cb69a96096609b8b0e593\",\"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,\"PackingLocation\":5,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":1,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"660cb69a96096609b8b0e593\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"OriginValues\":\"{\\"ShelfLife\\":0,\\"Route\\":null}\",\"Usage\":1,\"DrugFullName\":\"LORAZEPAM (VIATRIS) 1mg TAB\",\"MedicationFullDetails\":\"LORAZEPAM (VIATRIS) 1mg TAB - LORAZEPAM (LORA25)\",\"Id\":\"6781411508d92313a4fd9ddf\",\"CreatedDate\":\"2025-01-10T15:47:33.835Z\",\"CreatedUserId\":\"\",\"LastUpdateUserId\":\"660d0369a5ab8f0c54bc8e33\",\"LastUpdateDate\":\"2025-10-22T04:11:20.833Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69eb081a5976b98c14f813ee\",\"CreatedDate\":\"2026-04-24T06:05:14.897Z\",\"CreatedUserId\":\"660ce85d96096609b8e68bf9\",\"LastUpdateUserId\":\"660ce85d96096609b8e68bf9\",\"LastUpdateDate\":\"2026-04-24T06:21:55.2249055Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69eb081a5976b98c14f813d7",
"");