using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6682282a8222d302886f998f",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"67a6d3ceaf648e0a5c237251\",\"Direction\":\"Take ONE tablet in the evening\",\"FoilId\":\"6980211445347a89ffd28671\",\"FoilLabel\":\"Evening\",\"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-21T04:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":0,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"6682282a8222d302886f998f\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"SLENYTO 5mg PR-TAB\",\"DrugCode\":\"SLEN2\",\"Austr\":\"\",\"Supplier\":\"ASPEN PHARMACARE AUSTRALI\",\"Type\":\"PR-Tablet\",\"Color\":\"\",\"Shape\":\"\",\"Marking\":\"\",\"Warning\":\"*Do not take alcohol while being treated with this medicine**May affect alertness and/or co-ordination. If affected, do not drive or operate machineryswallowed whole*Ask your pharmacist about the storage conditions for this medicine*NO INCREASE IN RPTS WILL BE AUTHORISED\",\"Direction\":\"\",\"GenericCode\":\"MELA4\",\"GenericName\":\"MELATONIN\",\"Presentation\":\"\",\"AltBrand\":\"SLENYTO\",\"DoNotCrush\":true,\"TradeName\":\"SLENYTO\",\"Formulation\":\"PR-TAB\",\"Strength\":\"5mg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6682282a8222d302886f998f\",\"Usage\":1,\"DrugFullName\":\"SLENYTO 5mg PR-TAB\",\"MedicationFullDetails\":\"SLENYTO 5mg PR-TAB - MELATONIN (SLEN2)\",\"Id\":\"6102d2b5a6b66b27b8110374\",\"CreatedDate\":\"2021-07-29T16:09:25.135Z\",\"CreatedUserId\":\"5fa24cab89e48b3a6ef44ad0\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-10T17:06:22.01Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e6d41fb02e12b387d0324f\",\"CreatedDate\":\"2026-04-21T01:34:23.4587984Z\",\"CreatedUserName\":\"tra\",\"CreatedUserId\":\"6691c37bd222d904f400ce7f\",\"LastUpdateDate\":\"2026-04-21T01:34:23.4587984Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"67a6d3ceaf648e0a5c237251",
"");