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 LUNCH\",\"FoilId\":\"697d70d7141e6a85c6e5fc57\",\"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\":\"0001-01-01T00:00:00\",\"EndDate\":\"2026-04-20T01:41:47.6546663Z\",\"Frequency\":6,\"PackedWeekDay\":[false,true,true,true,true,true,false],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-20T01:41:47.6546663Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"6732e65fa7ab9503640fafa5\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"RITALIN 10mg TAB\",\"DrugCode\":\"RITN1\",\"Austr\":\"11052\",\"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\":\"5f3a2db5a0ba5d7c50796a9c\",\"ImageSmallSizeId\":\"68f599cc5a506b941b5c9618\",\"ImageName\":\"11052-C01-01-BL600.jpg\",\"AltBrand\":\"RITALIN, ATTENTA, METHYLPHENIDATE (DP), LORENTIN, METHYLPHENIDATE (CHEMMART), METHYLPHENIDATE (GENRX), METHYLPHENIDATE (TW), ARTIGE\",\"DoNotCrush\":false,\"TradeName\":\"RITALIN\",\"Formulation\":\"TAB\",\"Strength\":\"10mg\",\"Schedule\":\"8A\",\"PackSize\":100,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white round AB\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6732e65fa7ab9503640fafa5\",\"Usage\":3,\"DrugFullName\":\"RITALIN 10mg TAB\",\"MedicationFullDetails\":\"RITALIN 10mg TAB - METHYLPHENIDATE (RITN1)\",\"Id\":\"5f0e69e0a0ba5db368a14b28\",\"CreatedDate\":\"2020-07-15T02:28:37.517Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:28:52.463Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"697d711177693ba50d80ca7e\",\"CreatedDate\":\"2026-01-31T03:03:45.186Z\",\"CreatedUserName\":\"AlexisBP\",\"CreatedUserId\":\"678e080108efed09dc264dfe\",\"LastUpdateUserId\":\"693286e2a3727f7106f418e2\",\"LastUpdateUserName\":\"jada\",\"LastUpdateDate\":\"2026-04-20T01:41:47.6546663Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"697d7095375faccd7023a917",
"");