using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"697044a8552ae687da1bfc99",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"697c53b7375faccd70e7781e\",\"Direction\":\"1 2xDAILY\",\"FoilId\":\"697c53b7375faccd70e77821\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2025-12-19T23:23:07Z\",\"ScriptNum\":\"1906605\",\"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-02-07T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00Z\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"697044a8552ae687da1bfc99\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"PALEXIA SR 50mg SR-TAB\",\"DrugCode\":\"PALE1\",\"Austr\":\"165332\",\"Supplier\":\"SEQIRUS (AUSTRALIA) PTY L\",\"Type\":\"SR-Tablet\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"*May cause drowsiness and increase effects of alcohol. If affected do not drive a motor vehicle or operate machinery.*Ask your Doctor or Pharmacist before using other medicines including over-the-counter or any health products*May cause dizziness when standing up quicklyUse of this medicine has the risks of overdose and dependenceswallowed whole*Do not crush or chew*\",\"Direction\":\"\",\"GenericCode\":\"TAPE10\",\"GenericName\":\"TAPENTADOL\",\"Presentation\":\"\",\"AltBrand\":\"PALEXIA SR\",\"DoNotCrush\":true,\"TradeName\":\"PALEXIA SR\",\"Formulation\":\"SR-TAB\",\"Strength\":\"50mg\",\"Schedule\":\"8\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"697044a8552ae687da1bfc99\",\"Usage\":0,\"DrugFullName\":\"PALEXIA SR 50mg SR-TAB\",\"MedicationFullDetails\":\"PALEXIA SR 50mg SR-TAB - TAPENTADOL (PALE1)\",\"Id\":\"5f0e69e0a0ba5db368a16cdb\",\"CreatedDate\":\"2020-07-15T02:28:45.06Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T23:37:12.028Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"697c53b7375faccd70e77827\",\"CreatedDate\":\"2026-01-30T06:46:15.442Z\",\"CreatedUserId\":\"69707543f24f28f0c19a12ff\",\"LastUpdateUserId\":\"69707543f24f28f0c19a12ff\",\"LastUpdateUserName\":\"nguyetn\",\"LastUpdateDate\":\"2026-04-19T23:29:40.082681Z\",\"UpdateDeletedDate\":\"2026-04-19T23:29:40.082681Z\",\"DeletedUserId\":\"6970598e552ae687da50ba00\",\"IsDeleted\":true}"),
"697c53b7375faccd70e7781e",
"");