using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"66c563c98222d312085e5f33",
FromJson<Prescription>("{\"PackType\":3,\"Description\":\"\",\"Dose\":[1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"670de3415236fa0e682b54a3\",\"Direction\":\"1 up to TDS PRN \",\"FoilId\":\"670de3415236fa0e682b54c4\",\"FoilLabel\":\"Foil 1\",\"DateDispensed\":\"0001-01-01T00:00:00\",\"QtyDispense\":0.0,\"DateExpiry\":\"0001-01-01T00:00:00\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"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-21T04:08:13.1546515Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-21T04:08:13.1546515Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Unit\":\"capsule\",\"PharmacyId\":\"66c563c98222d312085e5f33\",\"SyncId\":\"a6de7216-ee59-4866-9de7-c7a379638d1d-4499\",\"SyncDate\":\"2024-10-15T03:36:33.365Z\",\"IsSyncImported\":true,\"Drug\":{\"DrugName\":\"GASTRO STOP 2mg CAP\",\"DrugCode\":\"GAST3\",\"Austr\":\"264972\",\"Supplier\":\"ASPEN PHARMACARE AUSTRALI\",\"Type\":\"Capsule\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"*Maximum of 8 per day\",\"Direction\":\"\",\"GenericCode\":\"LOP9\",\"GenericName\":\"LOPERAMIDE\",\"Presentation\":\"\",\"ImageId\":\"5f3a2f27a0ba5d7c5079795e\",\"AltBrand\":\"IMODIUM, GASTRO STOP, GASTREX\",\"DoNotCrush\":false,\"TradeName\":\"GASTRO STOP\",\"Formulation\":\"CAP\",\"Strength\":\"2mg\",\"Schedule\":\"2\",\"PackSize\":12,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"66c563c98222d312085e5f33\",\"Usage\":0,\"DrugFullName\":\"GASTRO STOP 2mg CAP\",\"MedicationFullDetails\":\"GASTRO STOP 2mg CAP - LOPERAMIDE (GAST3)\",\"Id\":\"5f0e69e0a0ba5db368a14f35\",\"CreatedDate\":\"2020-07-15T02:28:38.595Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T17:28:32.722Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"670de3415236fa0e682b54ce\",\"CreatedDate\":\"2024-10-15T03:36:33.365Z\",\"LastUpdateUserId\":\"6705e4e6af648e0e40c251fd\",\"LastUpdateUserName\":\"simone\",\"LastUpdateDate\":\"2026-04-21T04:08:13.1546515Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"670de3415236fa0e682b54a3",
"");