using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"677f534da7ab9507d850cb08",
FromJson<Prescription>("{\"PackType\":3,\"Dose\":[],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69e5e8d0c21eb1a5a9a29df2\",\"Direction\":\"Apply to affected area(s) daily when required.\",\"FoilId\":\"69e5e8dda5419d95d279dcd4\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"0001-01-01T00:00:00\",\"QtyDispense\":0.0,\"DateExpiry\":\"0001-01-01T00:00:00\",\"Route\":{\"Code\":\"SA\",\"Description\":\"Skin Application\"},\"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\":\"\",\"PharmacyId\":\"677f534da7ab9507d850cb08\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"ELOCON 0.1% (1mg/g) 15g OINT\",\"DrugCode\":\"ELO2\",\"Austr\":\"43344\",\"Supplier\":\"ALPHAPHARM PTY LTD\",\"Type\":\"Ointment\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"FOR EXTERNAL USE ONLY\",\"Direction\":\"\",\"GenericCode\":\"MOME2\",\"GenericName\":\"MOMETASONE\",\"Presentation\":\"Used to treat rheumatoid arthritis, lupus, asthma, allergies and many other conditions.\",\"AltBrand\":\"ELOCON, NOVASONE, ZATAMIL, MOMASONE\",\"DoNotCrush\":false,\"TradeName\":\"ELOCON\",\"Formulation\":\"OINT\",\"Strength\":\"0.1% (1mg/g) 15g\",\"Schedule\":\"3\",\"PackSize\":1,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"677f534da7ab9507d850cb08\",\"Usage\":0,\"DrugFullName\":\"ELOCON 0.1% (1mg/g) 15g OINT\",\"MedicationFullDetails\":\"ELOCON 0.1% (1mg/g) 15g OINT - MOMETASONE (ELO2)\",\"Id\":\"5f0e69e0a0ba5db368a14470\",\"CreatedDate\":\"2020-07-15T02:28:36.031Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T18:46:13.438Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e5e9422c1a237be093f764\",\"CreatedDate\":\"2026-04-20T08:52:18.8011268Z\",\"CreatedUserName\":\"Sheryl\",\"CreatedUserId\":\"677f595208efed0ddc152d84\",\"LastUpdateDate\":\"2026-04-20T08:52:18.8011268Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e5e8d0c21eb1a5a9a29df2",
"");