using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"66e391578222d30b30c1e697",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"66ea94c08222d30b90492082\",\"Direction\":\"1 2xdaily\",\"FoilId\":\"66ea94c08222d30b9049212b\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2024-07-22T01:33:40Z\",\"ScriptNum\":\"137692\",\"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\":\"2024-09-18T02:00:00Z\",\"EndDate\":\"2026-05-01T02:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00Z\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"Blood thinner\",\"Unit\":\"\",\"PharmacyId\":\"66e391578222d30b30c1e697\",\"SyncDate\":\"0001-01-01T00:00:00Z\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"ELIQUIS 2.5mg TAB\",\"DrugCode\":\"ELIQ3\",\"Austr\":\"172244\",\"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\":\"APIX3\",\"GenericName\":\"APIXABAN\",\"Presentation\":\"Are anticoagulants that block the activity of clotting factor Xa and prevents blood clots developing or getting worse.\",\"ImageId\":\"\",\"AltBrand\":\"ELIQUIS\",\"DoNotCrush\":false,\"TradeName\":\"ELIQUIS\",\"Formulation\":\"TAB\",\"Strength\":\"2.5mg\",\"Schedule\":\"4\",\"PackSize\":60,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"66e391578222d30b30c1e697\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"OriginValues\":\"{\\"ImageId\\":null,\\"ShelfLife\\":0,\\"Description\\":\\"\\",\\"Route\\":null}\",\"Usage\":4,\"DrugFullName\":\"ELIQUIS 2.5mg TAB\",\"MedicationFullDetails\":\"ELIQUIS 2.5mg TAB - APIXABAN (ELIQ3)\",\"Id\":\"5f0e69e0a0ba5db368a16879\",\"CreatedDate\":\"2020-07-15T02:28:44.114Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"66e58cdc5ac25f0e60a23163\",\"LastUpdateDate\":\"2025-08-06T12:37:13.255Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"66ea94c08222d30b9049212d\",\"CreatedDate\":\"2024-09-14T11:46:18.282Z\",\"CreatedUserId\":\"66e391578222d30b30c1e6b0\",\"LastUpdateUserId\":\"690aaf86604813bf312c60ba\",\"LastUpdateUserName\":\"roni.ep\",\"LastUpdateDate\":\"2026-04-22T04:17:37.0468443Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"66ea94c08222d30b90492082",
"");