using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"683f82a5af648e0e90b91535",
FromJson<Prescription>("{\"PackType\":0,\"Description\":\"pnk ovl mk 5, 894 rev F-c\",\"Dose\":[0.5,0.0,0.0,0.5,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"6848daad08d9230e38abdaf5\",\"Direction\":\"0.5 TWICE DAILY\",\"FoilId\":\"6848daad08d9230e38abdaf6\",\"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-29T04:46:49.4993831Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-29T04:46:49.4993831Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Unit\":\"\",\"PharmacyId\":\"683f82a5af648e0e90b91535\",\"SyncId\":\"534ca59f-446c-4a8d-b3b1-21a0c1eab7f4-438\",\"SyncDate\":\"2025-06-11T01:23:57.75Z\",\"IsSyncImported\":true,\"Drug\":{\"DrugName\":\"ELIQUIS 5mg TAB\",\"DrugCode\":\"ELIQ4\",\"Austr\":\"193474\",\"Supplier\":\"BRISTOL-MYERS SQUIBB AUST\",\"Type\":\"Tablet\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"HIC-NO INCREASE IN QTY & RPTS ALLOWED*Certain foods and fruit juices should be avoided while being treated with this medicine*Do not take ASPIRIN or ANTI-INFLAMMATORY medicines unless advised by your Doctor\",\"Direction\":\"\",\"GenericCode\":\"APIX4\",\"GenericName\":\"APIXABAN\",\"Presentation\":\"Are anticoagulants that block the activity of clotting factor Xa and prevents blood clots developing or getting worse.\",\"AltBrand\":\"ELIQUIS\",\"DoNotCrush\":false,\"TradeName\":\"ELIQUIS\",\"Formulation\":\"TAB\",\"Strength\":\"5mg\",\"Schedule\":\"4\",\"PackSize\":60,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"683f82a5af648e0e90b91535\",\"Usage\":0,\"DrugFullName\":\"ELIQUIS 5mg TAB\",\"MedicationFullDetails\":\"ELIQUIS 5mg TAB - APIXABAN (ELIQ4)\",\"Id\":\"5f0e69e0a0ba5db368a16dab\",\"CreatedDate\":\"2020-07-15T02:28:45.239Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T20:40:48.318Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"6848daad08d9230e38abdaf9\",\"CreatedDate\":\"2025-06-11T01:23:57.75Z\",\"LastUpdateUserId\":\"6848f41da7ab95028cac29df\",\"LastUpdateUserName\":\"siewyl\",\"LastUpdateDate\":\"2026-04-29T04:46:49.4993831Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6848daad08d9230e38abdaf5",
"");