using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6747b104a7ab95036cc55b96",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,1.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"6823e60e08efed0d908bf940\",\"Direction\":\"Take ONE daily\",\"FoilId\":\"6823e60e08efed0d908bf945\",\"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\":\"2025-12-04T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"6747b104a7ab95036cc55b96\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"SULPRIX 400mg TAB\",\"DrugCode\":\"SULP1\",\"Austr\":\"152460\",\"Supplier\":\"ALPHAPHARM PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"oblong\",\"Marking\":\"AS 400\",\"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\":\"AMIS3\",\"GenericName\":\"AMISULPRIDE\",\"Presentation\":\"Used to treat psychosis inschizophrenia and episodes of mania in bipolar disorder.\",\"ImageId\":\"5f3a2d80a0ba5d7c50794caa\",\"ImageSmallSizeId\":\"68f598ca5a506b941b5c83bb\",\"ImageName\":\"152460-C01-01-BL600.jpg\",\"AltBrand\":\"SOLIAN 400, AMISULPRIDE (WINTHROP), AMISULPRIDE (SANDOZ), AMIPRIDE, SULPRIX, AMISULPRIDE (APO), AMISULPRIDE (AN), AMISULPRIDE (PHARMACOR), AMISULPRIDE (SANDOZ PHARMA), AMISULPRIDE (WGR)\",\"DoNotCrush\":false,\"TradeName\":\"SULPRIX\",\"Formulation\":\"TAB\",\"Strength\":\"400mg\",\"Schedule\":\"4\",\"PackSize\":60,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white oblong AS 400\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6747b104a7ab95036cc55b96\",\"Usage\":1,\"DrugFullName\":\"SULPRIX 400mg TAB\",\"MedicationFullDetails\":\"SULPRIX 400mg TAB - AMISULPRIDE (SULP1)\",\"Id\":\"5f0e69e0a0ba5db368a16390\",\"CreatedDate\":\"2020-07-15T02:28:43.041Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:30:03.139Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69312e7b6a772f95a5cad819\",\"CreatedDate\":\"2025-12-04T06:47:23.594Z\",\"CreatedUserName\":\"s.crook\",\"CreatedUserId\":\"675bc887a7ab950958190a66\",\"LastUpdateUserId\":\"675a6436af648e0d00f2a876\",\"LastUpdateUserName\":\"Julia\",\"LastUpdateDate\":\"2026-04-20T01:42:38.4916494Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6823e60e08efed0d908bf940",
"");