using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"69a4c85de2638b9f120f5052",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69c097e7552ad7224f61825e\",\"Direction\":\"Take ONE tablet in the morning.\",\"FoilId\":\"69c097e7552ad7224f618262\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-02-12T05:50:22Z\",\"ScriptNum\":\"60212448\",\"QtyDispense\":0.0,\"DateExpiry\":\"0001-01-01T00:00:00\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"IsStandard\":true,\"IsShortCourse\":false,\"IsSinemet\":false,\"IsWarfarin\":false,\"IsInsulin\":false,\"IsS8Drug\":false,\"IsCytotoxic\":false,\"IsS4N\":false,\"StartDate\":\"2026-04-21T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":false,\"FontColor\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"69a4c85de2638b9f120f5052\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"ARIPIPRAZOLE (APO) 20mg TAB\",\"DrugCode\":\"ARIP15\",\"Austr\":\"152899\",\"Supplier\":\"APOTEX PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white to off-white\",\"Shape\":\"round\",\"Marking\":\"ARI 20\",\"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 quickly\",\"Direction\":\"\",\"GenericCode\":\"ARIP3\",\"GenericName\":\"ARIPIPRAZOLE\",\"Presentation\":\"\",\"ImageId\":\"5f3a2f17a0ba5d7c50796f4e\",\"ImageSmallSizeId\":\"68f5997e5a506b941b5c9231\",\"ImageName\":\"152899-C01-01-BL600.jpg\",\"AltBrand\":\"ABILIFY, ARIPIPRAZOLE (GH), ARIPIPRAZOLE (SANDOZ), ARIPIPRAZOLE (APO), TEVARIPIPRAZOLE, ABYRAZ, ARIPIPRAZOLE (AN), ARIPIPRAZOLE (GENERIC HEALTH), ARIPIPRAZOLE (ARIPIC), ARIZOLE, ARIPIPRAZOLE (WGR)\",\"DoNotCrush\":false,\"TradeName\":\"ARIPIPRAZOLE (APO)\",\"Formulation\":\"TAB\",\"Strength\":\"20mg\",\"Schedule\":\"4\",\"PackSize\":30,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white to off-white round ARI 20\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"69a4c85de2638b9f120f5052\",\"Usage\":0,\"DrugFullName\":\"ARIPIPRAZOLE (APO) 20mg TAB\",\"MedicationFullDetails\":\"ARIPIPRAZOLE (APO) 20mg TAB - ARIPIPRAZOLE (ARIP15)\",\"Id\":\"5f0e69e0a0ba5db368a17566\",\"CreatedDate\":\"2020-07-15T02:28:46.907Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:34.427Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69c097e7552ad7224f61826e\",\"CreatedDate\":\"2026-03-23T01:31:19.962Z\",\"CreatedUserId\":\"69b9dfa1c90b16fd0ae7a5d6\",\"LastUpdateUserId\":\"69b9dfa1c90b16fd0ae7a5d6\",\"LastUpdateUserName\":\"peacockluke\",\"LastUpdateDate\":\"2026-04-21T01:24:45.0837507Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69c097e7552ad7224f61825e",
"");