using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"67313abcaf648e0ebcbb64c6",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69f433072b4a013b97e998ff\",\"Direction\":\"ONE tablet TWICE a day\",\"FoilId\":\"69f433882b4a013b97eb0d56\",\"FoilLabel\":\"DISCHARGE 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\":\"2026-05-01T02: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\":\"67313abcaf648e0ebcbb64c6\",\"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\":\"67313abcaf648e0ebcbb64c6\",\"Usage\":11,\"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-10T18:15:05.622Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69f433d02b4a013b97eb74ad\",\"CreatedDate\":\"2026-05-01T05:02:08.3274366Z\",\"CreatedUserName\":\"sam.parker\",\"CreatedUserId\":\"69ba0ff85438bf0439cbceb9\",\"LastUpdateDate\":\"2026-05-01T05:02:08.3274366Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69f433072b4a013b97e998ff",
"");