using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"67bd1e63a7ab950ea0313aad",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,0.5,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69a2a1a099552ed737d5db49\",\"Direction\":\"Take HALF a tablet at NIGHT\",\"FoilId\":\"69a2a22899552ed737d62cb3\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"0001-01-01T00:00:00\",\"QtyDispense\":0.0,\"DateExpiry\":\"0001-01-01T00:00:00\",\"Route\":{\"Code\":\"PO\"},\"IsStandard\":true,\"IsShortCourse\":false,\"IsSinemet\":false,\"IsWarfarin\":false,\"IsInsulin\":false,\"IsS8Drug\":false,\"IsCytotoxic\":false,\"IsS4N\":false,\"StartDate\":\"2026-02-28T04:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"67bd1e63a7ab950ea0313aad\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"ATIVAN 1mg TAB\",\"DrugCode\":\"ATV1\",\"Austr\":\"10387\",\"Supplier\":\"ASPEN PHARMA PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"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.\",\"ImageId\":\"68c3802a9625d85bcd58fbd1\",\"ImageSmallSizeId\":\"68f6e81fac276d3af5e9ea07\",\"AltBrand\":\"ATIVAN, EMOTEN, LORAZEPAM (APO), ATIVAN, LORAZEPAM (MYLAN), LORAZEPAM (LUPIN), LORAZEPAM (VIATRIS), LORAZEPAM (WGR)\",\"DoNotCrush\":false,\"TradeName\":\"ATIVAN\",\"Formulation\":\"TAB\",\"Strength\":\"1mg\",\"Schedule\":\"4N\",\"PackSize\":50,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":1,\"Description\":\"white round C11\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"67bd1e63a7ab950ea0313aad\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"OriginValues\":\"{\\"ImageId\\":null,\\"ShelfLife\\":0,\\"Description\\":\\"\\",\\"Route\\":null}\",\"Usage\":8,\"DrugFullName\":\"ATIVAN 1mg TAB\",\"UpdateImageUserId\":\"67c66aa5a7ab950f08143acb\",\"MedicationFullDetails\":\"ATIVAN 1mg TAB - LORAZEPAM (ATV1)\",\"Id\":\"5f0e69e0a0ba5db368a140e4\",\"CreatedDate\":\"2020-07-15T02:28:35.184Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"67c66aa5a7ab950f08143acb\",\"LastUpdateDate\":\"2025-09-12T02:06:37.054Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69a2a68d817ccd58b59888b9\",\"CreatedDate\":\"2026-02-28T08:25:49.214Z\",\"CreatedUserName\":\"Ellag\",\"CreatedUserId\":\"67e3927ea7ab950c280d6aef\",\"LastUpdateUserId\":\"67d0cf6fa7ab9506906adf57\",\"LastUpdateUserName\":\"ii\",\"LastUpdateDate\":\"2026-04-24T03:11:16.1526031Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69a2a1a099552ed737d5db49",
"");