using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"698a5d2acd49f7b3341353c1",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,0.0,2.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69a626f9553502d111d4f236\",\"Direction\":\"Take TWO tablets at night\",\"FoilId\":\"69a626f9553502d111d4f239\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-01-08T08:18:50Z\",\"ScriptNum\":\"9622604\",\"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-03-28T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"PrintIt\":true,\"OwnBag\":{},\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00Z\",\"OriginDrugId\":\"5f0e69e0a0ba5db368a166ce\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"698a5d2acd49f7b3341353c1\",\"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\":\"69be36b91f343c57eaae7fa7\",\"ImageSmallSizeId\":\"69be36bab85afad3d30a474d\",\"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\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"698a5d2acd49f7b3341353c1\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"OriginValues\":\"{\\"ImageId\\":null,\\"ShelfLife\\":0,\\"Route\\":null}\",\"Usage\":2,\"DrugFullName\":\"ATIVAN 1mg TAB\",\"UpdateImageUserId\":\"69a50e8b234e4761c91c54f8\",\"MedicationFullDetails\":\"ATIVAN 1mg TAB - LORAZEPAM (ATV1)\",\"Id\":\"5f0e69e0a0ba5db368a140e4\",\"CreatedDate\":\"2020-07-15T02:28:35.184Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"69a50e8b234e4761c91c54f8\",\"LastUpdateDate\":\"2026-03-28T01:33:19.59Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69c72fdf672cb8c9688ac538\",\"CreatedDate\":\"2026-03-28T01:33:19.52Z\",\"CreatedUserName\":\"Lisa.suhaili\",\"CreatedUserId\":\"69a50e8b234e4761c91c54f8\",\"LastUpdateUserId\":\"69a60be06e38410fc3bf82ad\",\"LastUpdateUserName\":\"Peter.mai\",\"LastUpdateDate\":\"2026-04-20T09:10:38.2241137Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69a626f9553502d111d4f236",
"");