using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"66bd6728d222d90364e82f6b",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69e56fa5e22cc52e7ee4360c\",\"Direction\":\"take one tablet daily\",\"FoilId\":\"69e56fc721162426a3ed660a\",\"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-20T02: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\":\"66bd6728d222d90364e82f6b\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"AFINITOR 5mg TAB\",\"DrugCode\":\"AFIN2\",\"Austr\":\"154661\",\"Supplier\":\"NOVARTIS PHARMACEUTICALS\",\"Type\":\"Tablet\",\"Color\":\"white to yellowish\",\"Shape\":\"elongated\",\"Marking\":\"5\",\"Warning\":\"swallowed whole*Ask your Doctor or Pharmacist before using other medicines including over-the-counter or any health products*Avoid excessive exposure to sunlight and sunlampsSpecial handling and disposal required - ask your Pharmacist*Do NOT stop taking this medication abruptlyDo NOT crush or chew*Avoid large amount of grapefruit/juice\",\"Direction\":\"\",\"GenericCode\":\"EVER8\",\"GenericName\":\"EVEROLIMUS\",\"Presentation\":\"\",\"ImageId\":\"5f3a2f25a0ba5d7c507977d0\",\"ImageSmallSizeId\":\"68f598f95a506b941b5c8a99\",\"ImageName\":\"154661-C01-01-BL600.jpg\",\"AltBrand\":\"AFINITOR, EVEROLIMUS (SANDOZ)\",\"DoNotCrush\":true,\"TradeName\":\"AFINITOR\",\"Formulation\":\"TAB\",\"Strength\":\"5mg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white to yellowish elongated 5\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"66bd6728d222d90364e82f6b\",\"Usage\":0,\"DrugFullName\":\"AFINITOR 5mg TAB\",\"MedicationFullDetails\":\"AFINITOR 5mg TAB - EVEROLIMUS (AFIN2)\",\"Id\":\"5f0e69e0a0ba5db368a168a7\",\"CreatedDate\":\"2020-07-15T02:28:44.155Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:17:17.215Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e56ffc947990a2e351dd1b\",\"CreatedDate\":\"2026-04-20T00:14:52.7599756Z\",\"CreatedUserName\":\"mariana\",\"CreatedUserId\":\"6907e379d9051af513905415\",\"LastUpdateDate\":\"2026-04-20T00:14:52.7599756Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e56fa5e22cc52e7ee4360c",
"");