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\":\"0001-01-01T00:00:00\",\"EndDate\":\"2026-04-22T04:03:35.1560912Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-22T04:03:35.1560912Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"683e87ff08efed0c2cfd191a\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"AMISULPRIDE (APO) 100mg TAB\",\"DrugCode\":\"AMIS11\",\"Austr\":\"178904\",\"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\":\"AMIS1\",\"GenericName\":\"AMISULPRIDE\",\"Presentation\":\"Used to treat psychosis inschizophrenia and episodes of mania in bipolar disorder.\",\"ImageId\":\"5f3a2f17a0ba5d7c50796fa1\",\"ImageSmallSizeId\":\"68f598f75a506b941b5c8a78\",\"ImageName\":\"178904-C01-01-BL600.jpg\",\"AltBrand\":\"SOLIAN 100, AMISULPRIDE (WINTHROP), AMISULPRIDE (SANDOZ), SULPRIX, AMISULPRIDE (APO), AMISULPRIDE (AN), AMISULPRIDE (PHARMACOR), AMISULPRIDE (SANDOZ PHARMA), AMISULPRIDE (WGR)\",\"DoNotCrush\":false,\"TradeName\":\"AMISULPRIDE (APO)\",\"Formulation\":\"TAB\",\"Strength\":\"100mg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white to off-white round\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"683e87ff08efed0c2cfd191a\",\"Usage\":0,\"DrugFullName\":\"AMISULPRIDE (APO) 100mg TAB\",\"MedicationFullDetails\":\"AMISULPRIDE (APO) 100mg TAB - AMISULPRIDE (AMIS11)\",\"Id\":\"5f0e69e0a0ba5db368a16872\",\"CreatedDate\":\"2020-07-15T02:28:44.108Z\",\"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\":\"69a7cd68c93e03ee1f81473e\",\"CreatedDate\":\"2026-03-04T06:12:56.187Z\",\"CreatedUserName\":\"JUN\",\"CreatedUserId\":\"68e5dc2fca6a66c7fa9f6382\",\"LastUpdateUserId\":\"68e5dc2fca6a66c7fa9f6382\",\"LastUpdateDate\":\"2026-04-22T04:03:35.1560912Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"698978206525b18182af2e42",
"");