using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"65ce9bcda5ab8f01d48b1589",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69e850819331f9d468c64fa8\",\"Direction\":\"Take 1 tablet TWICE a day\",\"FoilId\":\"69e850a0bc5ce8d51b69e45c\",\"FoilLabel\":\"Travel Pack\",\"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\":\"2026-04-22T02: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\":\"65ce9bcda5ab8f01d48b1589\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"FLECATAB 50mg TAB\",\"DrugCode\":\"FLEC7\",\"Austr\":\"344750\",\"Supplier\":\"ALPHAPHARM PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"round\",\"Marking\":\"FC 50\",\"Warning\":\"*Do NOT stop taking this medication abruptly*May affect alertness and/or co-ordination. If affected, do not drive or operate machinery*Ask your pharmacist about the storage conditions for this medicine\",\"Direction\":\"\",\"GenericCode\":\"FLE9\",\"GenericName\":\"FLECAINIDE\",\"Presentation\":\"Used to treat a certain type of irregular heartbeat (persistent atrial fibrillation/flutter). \",\"AltBrand\":\"TAMBOCOR, FLECAINIDE (SZ), FLECAINIDE (APO), FLECATAB\",\"DoNotCrush\":false,\"TradeName\":\"FLECATAB\",\"Formulation\":\"TAB\",\"Strength\":\"50mg\",\"Schedule\":\"4\",\"PackSize\":60,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"65ce9bcda5ab8f01d48b1589\",\"Usage\":0,\"DrugFullName\":\"FLECATAB 50mg TAB\",\"MedicationFullDetails\":\"FLECATAB 50mg TAB - FLECAINIDE (FLEC7)\",\"Id\":\"633aa511f65a8810882e5038\",\"CreatedDate\":\"2022-10-03T09:02:09.344Z\",\"CreatedUserId\":\"62060ea859ae850e30188ba8\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T16:01:13.997Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e851089331f9d468c86441\",\"CreatedDate\":\"2026-04-22T04:39:36.7733797Z\",\"CreatedUserName\":\"ME\",\"CreatedUserId\":\"65d80cc616f53f0450c82ab2\",\"LastUpdateDate\":\"2026-04-22T04:39:36.7733797Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e850819331f9d468c64fa8",
"");