using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"691e3d0fdc505060207c6847",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,0.0,0.25,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69aa7492487d3f777818de39\",\"Direction\":\"1/4 NIGHTLY\",\"FoilId\":\"69aa74ae453766c312a9ba3e\",\"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-24T02: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\":\"691e3d0fdc505060207c6847\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"RISPERIDONE (APO) 1mg TAB\",\"DrugCode\":\"RISP25\",\"Austr\":\"304251\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"capsule-shaped\",\"Marking\":\"RI 1\",\"Warning\":\"*May cause drowsiness and increase effects of alcohol. If affected do not drive a motor vehicle or operate machinery.*May cause dizziness when standing up quicklySpecial handling and disposal required - ask your Pharmacistswallowed whole*Do not crush or chew*\",\"Direction\":\"\",\"GenericCode\":\"RIS5\",\"GenericName\":\"RISPERIDONE\",\"Presentation\":\"Antipsychotics\",\"ImageId\":\"636083036f6fd84664477ed9\",\"ImageSmallSizeId\":\"68f598b95a506b941b5c82fd\",\"ImageName\":\"304251-C01-01-BL600.jpg\",\"AltBrand\":\"RISPERDAL, RIXADONE, RISPERIDONE (APO), RISPA, RISPERIDONE (GA), RISPERIDONE (GEN HLTH), OZIDAL, RESDONE, RISPERIDONE (DRLA), RISPERIDONE (SANDOZ), RISPERIDONE (PFIZER), RISPERIDONE (ACTAVIS), RISPERICOR 1, RISPERNIA, RISPERIDONE (AN), RISPERIDONE (GA), RISPERIDONE (AMNEAL), RISPERIDONE (NOUMED)\",\"DoNotCrush\":true,\"TradeName\":\"RISPERIDONE (APO)\",\"Formulation\":\"TAB\",\"Strength\":\"1mg\",\"Schedule\":\"4\",\"PackSize\":60,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white to off-white capsule-shaped\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"691e3d0fdc505060207c6847\",\"Usage\":2,\"DrugFullName\":\"RISPERIDONE (APO) 1mg TAB\",\"MedicationFullDetails\":\"RISPERIDONE (APO) 1mg TAB - RISPERIDONE (RISP25)\",\"Id\":\"5f0e69e0a0ba5db368a16243\",\"CreatedDate\":\"2020-07-15T02:28:42.775Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:35.14Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69eadc12747aca488f4747d1\",\"CreatedDate\":\"2026-04-24T02:57:22.9829257Z\",\"CreatedUserName\":\"Coburgp4l\",\"CreatedUserId\":\"691e3f65881495199870bcf3\",\"LastUpdateDate\":\"2026-04-24T02:57:22.9829257Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69aa7492487d3f777818de39",
"");