using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"683e87ff08efed0c2cfd191a",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"698978206525b18182af2e42\",\"Direction\":\"1 MORNINGS\",\"FoilId\":\"698978206525b18182af2e4d\",\"FoilLabel\":\"Blister Pack 1\",\"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:30: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\":\"683e87ff08efed0c2cfd191a\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"AMISULPRIDE (APO) 200mg TAB\",\"DrugCode\":\"AMIS12\",\"Austr\":\"178902\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white to off-white\",\"Shape\":\"round\",\"Marking\":\"\",\"Warning\":\"*May cause drowsiness and increase effects of alcohol. If affected do not drive a motor vehicle or operate machinery.*May affect alertness and/or co-ordination. If affected, do not drive or operate machinery*May cause dizziness when standing up quickly\",\"Direction\":\"\",\"GenericCode\":\"AMIS2\",\"GenericName\":\"AMISULPRIDE\",\"Presentation\":\"Used to treat psychosis inschizophrenia and episodes of mania in bipolar disorder.\",\"ImageId\":\"5f3a2f17a0ba5d7c50796f9d\",\"ImageSmallSizeId\":\"68f598f75a506b941b5c8a79\",\"ImageName\":\"178902-C01-01-BL600.jpg\",\"AltBrand\":\"SOLIAN 200, AMISULPRIDE (WINTHROP), AMISULPRIDE (SANDOZ), SULPRIX, AMISULPRIDE (APO), AMISULPRIDE (AN), AMISULPRIDE (PHARMACOR), AMISULPRIDE (SANDOZ PHARMA), AMISULPRIDE (WGR)\",\"DoNotCrush\":false,\"TradeName\":\"AMISULPRIDE (APO)\",\"Formulation\":\"TAB\",\"Strength\":\"200mg\",\"Schedule\":\"4\",\"PackSize\":60,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white to off-white round\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"683e87ff08efed0c2cfd191a\",\"Usage\":2,\"DrugFullName\":\"AMISULPRIDE (APO) 200mg TAB\",\"MedicationFullDetails\":\"AMISULPRIDE (APO) 200mg TAB - AMISULPRIDE (AMIS12)\",\"Id\":\"5f0e69e0a0ba5db368a16873\",\"CreatedDate\":\"2020-07-15T02:28:44.109Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:00:18.102Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e848c39331f9d468ad5f74\",\"CreatedDate\":\"2026-04-22T04:04:19.8270714Z\",\"CreatedUserName\":\"JUN\",\"CreatedUserId\":\"68e5dc2fca6a66c7fa9f6382\",\"LastUpdateDate\":\"2026-04-22T04:04:19.8270714Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"698978206525b18182af2e42",
"");