using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68831b733e5f1b9fd3be5032",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"688af5c2be5d338e0eb52aee\",\"Direction\":\"Take ONE tablet TWICE a day\",\"FoilId\":\"688af5c2be5d338e0eb52aef\",\"FoilLabel\":\"Regular Pack\",\"DateDispensed\":\"0001-01-01T00:00:00\",\"QtyDispense\":0.0,\"DateExpiry\":\"0001-01-01T00:00:00\",\"Route\":{\"Code\":\"PO\"},\"IsStandard\":true,\"IsShortCourse\":false,\"IsSinemet\":false,\"IsWarfarin\":false,\"IsInsulin\":false,\"IsS8Drug\":false,\"IsCytotoxic\":false,\"IsS4N\":false,\"StartDate\":\"0001-01-01T00:00:00\",\"EndDate\":\"2026-05-01T05:47:53.5163001Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-05-01T05:47:53.5163001Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"68831b733e5f1b9fd3be5032\",\"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\":1,\"Description\":\"WHITE OVAL H1\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68831b733e5f1b9fd3be5032\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"OriginValues\":\"{\\"ShelfLife\\":0,\\"Description\\":\\"\\",\\"Route\\":null}\",\"Usage\":2,\"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\":\"688b03f1b6488b834db002d9\",\"LastUpdateDate\":\"2025-10-31T01:54:47.911Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"6969bde24551d4ce6f0a9eca\",\"CreatedDate\":\"2026-01-16T04:26:10.416Z\",\"CreatedUserName\":\"dlt\",\"CreatedUserId\":\"688b03f1b6488b834db002d9\",\"LastUpdateUserId\":\"688b0a305300ebda2d6e80e3\",\"LastUpdateDate\":\"2026-05-01T05:47:53.5163001Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"688af5c2be5d338e0eb52aee",
"");