using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"66c563c98222d312085e5f33",
FromJson<Prescription>("{\"PackType\":3,\"Description\":\"White scored tablet L/1\",\"Dose\":[1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"6705e2c527976e0e9c30baf8\",\"Direction\":\"1 D \",\"FoilId\":\"6705e2c527976e0e9c30bb17\",\"FoilLabel\":\"Foil 1\",\"DateDispensed\":\"0001-01-01T00:00:00\",\"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-21T05:49:14.0573941Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-21T05:49:14.0573941Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Unit\":\"tablet\",\"PharmacyId\":\"66c563c98222d312085e5f33\",\"SyncId\":\"a6de7216-ee59-4866-9de7-c7a379638d1d-2902\",\"SyncDate\":\"2024-10-09T01:56:21.904Z\",\"IsSyncImported\":true,\"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\":\"6819b397af648e10386c6834\",\"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\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"66c563c98222d312085e5f33\",\"OriginValues\":\"{\\"ImageId\\":null,\\"ShelfLife\\":0,\\"Description\\":\\"round white scored 1 L tab\\",\\"Route\\":null}\",\"Usage\":0,\"DrugFullName\":\"ATIVAN 1mg TAB\",\"UpdateImageUserId\":\"6705e4e6af648e0e40c251fd\",\"MedicationFullDetails\":\"ATIVAN 1mg TAB - LORAZEPAM (ATV1)\",\"Id\":\"5f0e69e0a0ba5db368a140e4\",\"CreatedDate\":\"2020-07-15T02:28:35.184Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"6705e4e6af648e0e40c251fd\",\"LastUpdateDate\":\"2025-08-06T12:34:21.132Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"6705e2c527976e0e9c30bb1c\",\"CreatedDate\":\"2024-10-09T01:56:21.904Z\",\"LastUpdateUserId\":\"6705e4e6af648e0e40c251fd\",\"LastUpdateUserName\":\"simone\",\"LastUpdateDate\":\"2026-04-21T05:49:14.0573941Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6705e2c527976e0e9c30baf8",
"");