using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"66c563c98222d312085e5f33",
FromJson<Prescription>("{\"PackType\":3,\"Description\":\"\",\"Dose\":[1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"670de3005236fa0e682b24cf\",\"Direction\":\"1-2 PRN.\",\"FoilId\":\"670de3015236fa0e682b24eb\",\"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-21T05:44:49.6374314Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-21T05:44:49.6374314Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Unit\":\"spray\",\"PharmacyId\":\"66c563c98222d312085e5f33\",\"SyncId\":\"a6de7216-ee59-4866-9de7-c7a379638d1d-2663\",\"SyncDate\":\"2024-10-15T03:35:29.026Z\",\"IsSyncImported\":true,\"Drug\":{\"DrugName\":\"NITROLINGUAL PUMP 400mcg/dose, 200dose SL-SPRY\",\"DrugCode\":\"NITR5\",\"Austr\":\"308842\",\"Supplier\":\"SANOFI-AVENTIS AUSTRALIA\",\"Type\":\"Sublingual Spray\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"*May cause dizziness when standing up quickly*Ask your pharmacist about the storage conditions for this medicineSpecial handling and disposal required - ask your PharmacistS/Care - Exercise & HeartS/Care - Reducing Fat/Cholest\",\"Direction\":\"\",\"GenericCode\":\"GLYC12\",\"GenericName\":\"GLYCERYL TRINITRATE PUMP\",\"Presentation\":\"Used for angina. \",\"AltBrand\":\"NITROLINGUAL PUMP\",\"DoNotCrush\":false,\"TradeName\":\"NITROLINGUAL PUMP\",\"Formulation\":\"SL-SPRY\",\"Strength\":\"400mcg/dose, 200dose\",\"Schedule\":\"3\",\"PackSize\":1,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"66c563c98222d312085e5f33\",\"Usage\":3,\"DrugFullName\":\"NITROLINGUAL PUMP 400mcg/dose, 200dose SL-SPRY\",\"MedicationFullDetails\":\"NITROLINGUAL PUMP 400mcg/dose, 200dose SL-SPRY - GLYCERYL TRINITRATE PUMP (NITR5)\",\"Id\":\"5f0e69e0a0ba5db368a1536e\",\"CreatedDate\":\"2020-07-15T02:28:39.533Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T17:28:34.201Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"670de3015236fa0e682b24f5\",\"CreatedDate\":\"2024-10-15T03:35:29.026Z\",\"LastUpdateUserId\":\"6705e4e6af648e0e40c251fd\",\"LastUpdateUserName\":\"simone\",\"LastUpdateDate\":\"2026-04-21T05:44:49.6374314Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"670de3005236fa0e682b24cf",
"");