using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6732e65fa7ab9503640fafa5",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.5,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"697d7095375faccd7023a917\",\"Direction\":\"0.5 in morning\",\"FoilId\":\"69e584e1e22cc52e7e36da14\",\"FoilLabel\":\"school 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-04-20T04:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":0,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"6732e65fa7ab9503640fafa5\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"ARTIGE 10mg TAB\",\"DrugCode\":\"ARTI2\",\"Austr\":\"117306\",\"Supplier\":\"NOVARTIS PHARMACEUTICALS\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"round\",\"Marking\":\"AB\",\"Warning\":\"*Ask your Doctor or Pharmacist before using other medicines including over-the-counter or any health products*May affect alertness and/or co-ordination. If affected, do not drive or operate machinery*Ask your pharmacist about the storage conditions for this medicine\",\"Direction\":\"\",\"GenericCode\":\"METH1\",\"GenericName\":\"METHYLPHENIDATE\",\"Presentation\":\"Used to treat attention deficit disorder (ADD), attention deficit hyperactivity disorder (ADHD), and narcolepsy.\",\"ImageId\":\"6360187ef65a8812b8883506\",\"ImageSmallSizeId\":\"68f5998a5a506b941b5c92bd\",\"ImageName\":\"117306-C01-01-BL600.jpg\",\"AltBrand\":\"RITALIN, ATTENTA, METHYLPHENIDATE (DP), LORENTIN, METHYLPHENIDATE (CHEMMART), METHYLPHENIDATE (GENRX), METHYLPHENIDATE (TW), ARTIGE\",\"DoNotCrush\":false,\"TradeName\":\"ARTIGE\",\"Formulation\":\"TAB\",\"Strength\":\"10mg\",\"Schedule\":\"8\",\"PackSize\":100,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white round AB\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6732e65fa7ab9503640fafa5\",\"Usage\":7,\"DrugFullName\":\"ARTIGE 10mg TAB\",\"MedicationFullDetails\":\"ARTIGE 10mg TAB - METHYLPHENIDATE (ARTI2)\",\"Id\":\"5f0e69e0a0ba5db368a176c3\",\"CreatedDate\":\"2020-07-15T02:28:47.231Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:28:49.95Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e5850ce22cc52e7e37325f\",\"CreatedDate\":\"2026-04-20T01:44:44.5116962Z\",\"CreatedUserName\":\"jada\",\"CreatedUserId\":\"693286e2a3727f7106f418e2\",\"LastUpdateDate\":\"2026-04-20T01:44:44.5116962Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"697d7095375faccd7023a917",
"");