using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"67be4df4af648e1040b83990",
FromJson<Prescription>("{\"PackType\":3,\"Dose\":[1.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"67da231c967e010d74974d9e\",\"Direction\":\"Insert 1 daily\",\"FoilId\":\"67da231c967e010d74974d9f\",\"FoilLabel\":\"Foil 1\",\"DateDispensed\":\"0001-01-01T00:00:00\",\"QtyDispense\":0.0,\"DateExpiry\":\"0001-01-01T00:00:00\",\"Route\":{\"Code\":\"PR\",\"Description\":\"Rectum\"},\"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\":\"suppository\",\"PharmacyId\":\"67be4df4af648e1040b83990\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"GLYCEROL (PETRUS) ADULT 2.8g 12 SUPP\",\"DrugCode\":\"GLY3\",\"Austr\":\"\",\"Supplier\":\"PETRUS PHARMACEUTICALS PT\",\"Type\":\"Suppository\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"CAUTION - NOT TO BE TAKENS/Care - Constipation\",\"Direction\":\"\",\"GenericCode\":\"GLS3\",\"GenericName\":\"GLYCEROL\",\"Presentation\":\"\",\"AltBrand\":\"GLYCEROL (PETRUS)\",\"DoNotCrush\":false,\"TradeName\":\"GLYCEROL (PETRUS)\",\"Formulation\":\"SUPP\",\"Strength\":\"ADULT 2.8g 12\",\"Schedule\":\"\",\"PackSize\":1,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"67be4df4af648e1040b83990\",\"Usage\":1,\"DrugFullName\":\"GLYCEROL (PETRUS) ADULT 2.8g 12 SUPP\",\"MedicationFullDetails\":\"GLYCEROL (PETRUS) ADULT 2.8g 12 SUPP - GLYCEROL (GLY3)\",\"Id\":\"5f0e69e0a0ba5db368a1458a\",\"CreatedDate\":\"2020-07-15T02:28:36.242Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T19:21:09.668Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e5a5f7e22cc52e7ea654da\",\"CreatedDate\":\"2026-04-20T04:05:11.4606548Z\",\"CreatedUserName\":\"andrea\",\"CreatedUserId\":\"67ffc00b08efed039cb7b012\",\"LastUpdateDate\":\"2026-04-20T04:05:11.4606548Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"67da231c967e010d74974d9e",
"");