using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"66c416a38222d30ea8c549dc",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,2.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"68ae6f654d13f71850dcb83a\",\"Direction\":\"2 ONCE A WEEK (on Monday) at midday\",\"FoilId\":\"68ae84de4d13f718501ba1ec\",\"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\":\"0001-01-01T00:00:00\",\"EndDate\":\"2026-04-22T04:17:08.5118502Z\",\"Frequency\":6,\"PackedWeekDay\":[false,true,false,false,false,false,false],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-22T04:17:08.5118502Z\",\"TempSubstitution\":false,\"Note\":\"ON MONDAY ONLY\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"66c416a38222d30ea8c549dc\",\"SyncDate\":\"0001-01-01T00:00:00Z\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"CHEXATE 10mg TAB\",\"DrugCode\":\"CHEX03\",\"Austr\":\"380990\",\"Supplier\":\"ORION PHARMA (AUS) PTY LI\",\"Type\":\"Tablet\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"*Do not exceed one Aspirin tablet or capsule per day*Avoid excessive exposure to sunlight and sunlampsTake once a week, on the same daySpecial handling and disposal required - ask your Pharmacist*Ask your Doctor or Pharmacist before using other medicines including over-the-counter or any health productsswallowed whole*Do not crush or chew*\",\"Direction\":\"\",\"GenericCode\":\"MTX11\",\"GenericName\":\"METHOTREXATE\",\"Presentation\":\"\",\"AltBrand\":\"CHEXATE, METHOBLASTIN\",\"DoNotCrush\":true,\"TradeName\":\"CHEXATE\",\"Formulation\":\"TAB\",\"Strength\":\"10mg\",\"Schedule\":\"4\",\"PackSize\":10,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"66c416a38222d30ea8c549dc\",\"Usage\":1,\"DrugFullName\":\"CHEXATE 10mg TAB\",\"MedicationFullDetails\":\"CHEXATE 10mg TAB - METHOTREXATE (CHEX03)\",\"Id\":\"6552bcbb5236fa0e7090757e\",\"CreatedDate\":\"2023-11-14T00:18:03.744Z\",\"CreatedUserId\":\"\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T17:27:24.469Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"68ae9f814d13f718507784f7\",\"CreatedDate\":\"2025-08-27T06:02:41.848Z\",\"CreatedUserName\":\"ayo.o\",\"CreatedUserId\":\"66f79e015ac25f0c38b04baf\",\"LastUpdateUserId\":\"66f79e015ac25f0c38b04baf\",\"LastUpdateDate\":\"2026-04-22T04:17:08.5118502Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"68ae6f654d13f71850dcb83a",
"");