using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68899eb15427bcdead811923",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"689c2846100954d8332d46af\",\"Direction\":\"Take ONE tablet in the evening\",\"FoilId\":\"689c2846100954d8332d46b0\",\"FoilLabel\":\"Blister Pack 1\",\"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\":\"2026-04-21T04:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":0,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"68899eb15427bcdead811923\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"PALEXIA SR 100mg SR-TAB\",\"DrugCode\":\"PALE2\",\"Austr\":\"165346\",\"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\":\"TAPE11\",\"GenericName\":\"TAPENTADOL\",\"Presentation\":\"\",\"AltBrand\":\"PALEXIA SR\",\"DoNotCrush\":true,\"TradeName\":\"PALEXIA SR\",\"Formulation\":\"SR-TAB\",\"Strength\":\"100mg\",\"Schedule\":\"8\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68899eb15427bcdead811923\",\"Usage\":0,\"DrugFullName\":\"PALEXIA SR 100mg SR-TAB\",\"MedicationFullDetails\":\"PALEXIA SR 100mg SR-TAB - TAPENTADOL (PALE2)\",\"Id\":\"5f0e69e0a0ba5db368a16cdc\",\"CreatedDate\":\"2020-07-15T02:28:45.06Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T22:05:38.57Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e6d3c714702a05700c36aa\",\"CreatedDate\":\"2026-04-21T01:32:55.0689631Z\",\"CreatedUserName\":\"natashaf\",\"CreatedUserId\":\"689bee1bbb04b17ad2eab728\",\"LastUpdateDate\":\"2026-04-21T01:32:55.0689631Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"689c2846100954d8332d46af",
"");