using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"66c563c98222d312085e5f33",
FromJson<Prescription>("{\"PackType\":1,\"Dose\":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"670de3005236fa0e682b24cf\",\"Direction\":\"1 MORNING\",\"FoilId\":\"670de3015236fa0e682b24eb\",\"FoilLabel\":\"Foil 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\":\"2025-11-26T04: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\":\"66c563c98222d312085e5f33\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"TRAMAL 50mg SR-TAB\",\"DrugCode\":\"TRAM29\",\"Austr\":\"121845\",\"Supplier\":\"SEQIRUS (AUSTRALIA) PTY L\",\"Type\":\"SR-Tablet\",\"Color\":\"pale yellow\",\"Shape\":\"round\",\"Marking\":\"T0\",\"Warning\":\"*May cause drowsiness and increase effects of alcohol. If affected do not drive a motor vehicle or operate machinery.*Maximum of 400mg per day**Ask your Doctor or Pharmacist before using other medicines including over-the-counter or any health productsswallowed wholeUse of this medicine has the risks of overdose and dependenceHIC-Incr Qty/Rpts specific conditionsS8 Reporting - Tasmania Only\",\"Direction\":\"\",\"GenericCode\":\"TRAM32\",\"GenericName\":\"TRAMADOL HYDROCHLORIDE\",\"Presentation\":\"Used to help relieve moderate to moderately severe pain.\",\"ImageId\":\"5f3a2d8ca0ba5d7c507953aa\",\"ImageSmallSizeId\":\"68f598965a506b941b5c814d\",\"ImageName\":\"121845-C01-01-BL600.jpg\",\"AltBrand\":\"TRAMAL\",\"DoNotCrush\":true,\"TradeName\":\"TRAMAL\",\"Formulation\":\"SR-TAB\",\"Strength\":\"50mg\",\"Schedule\":\"4N\",\"PackSize\":20,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"pale yellow round T0\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"66c563c98222d312085e5f33\",\"Usage\":0,\"DrugFullName\":\"TRAMAL 50mg SR-TAB\",\"MedicationFullDetails\":\"TRAMAL 50mg SR-TAB - TRAMADOL HYDROCHLORIDE (TRAM29)\",\"Id\":\"5f0e69e0a0ba5db368a15f4a\",\"CreatedDate\":\"2020-07-15T02:28:42.126Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:18:12.41Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e70eefb02e12b387aa3580\",\"CreatedDate\":\"2026-04-21T05:45:19.2338065Z\",\"CreatedUserName\":\"chloe\",\"CreatedUserId\":\"6705e4e6af648e0e40c251fd\",\"LastUpdateDate\":\"2026-04-21T05:45:19.2338065Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"670de3005236fa0e682b24cf",
"");