using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"69b9ea5c52100378ae138360",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"69e6f157d23a789810df148d\",\"Direction\":\"Take 1 tab twice a day\",\"FoilId\":\"69e6f5bdb02e12b3874df474\",\"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-21T02: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\":\"69b9ea5c52100378ae138360\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"LARGACTIL 25mg TAB\",\"DrugCode\":\"LAR2\",\"Austr\":\"51618\",\"Supplier\":\"CLINECT PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"round\",\"Marking\":\"5\",\"Warning\":\"*May cause drowsiness and increase effects of alcohol. If affected do not drive a motor vehicle or operate machinery.swallowed whole*Avoid excessive exposure to sunlight and sunlamps*Do NOT stop taking this medication abruptly*May cause dizziness when standing up quicklyPcy Board Warn: Similar Names*Ask your pharmacist about the storage conditions for this medicine\",\"Direction\":\"\",\"GenericCode\":\"CHP2\",\"GenericName\":\"CHLORPROMAZINE\",\"Presentation\":\"\",\"ImageId\":\"5f3a2f19a0ba5d7c507970d2\",\"ImageSmallSizeId\":\"68f598195a506b941b5c7af2\",\"ImageName\":\"51618-C01-01-BL600.jpg\",\"AltBrand\":\"LARGACTIL\",\"DoNotCrush\":true,\"TradeName\":\"LARGACTIL\",\"Formulation\":\"TAB\",\"Strength\":\"25mg\",\"Schedule\":\"4\",\"PackSize\":100,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white round LG 25\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"69b9ea5c52100378ae138360\",\"Usage\":0,\"DrugFullName\":\"LARGACTIL 25mg TAB\",\"MedicationFullDetails\":\"LARGACTIL 25mg TAB - CHLORPROMAZINE (LAR2)\",\"Id\":\"5f0e69e0a0ba5db368a14705\",\"CreatedDate\":\"2020-07-15T02:28:36.663Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:34.804Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e6f5fed23a789810edf0ee\",\"CreatedDate\":\"2026-04-21T03:58:54.7470176Z\",\"CreatedUserName\":\"shaw\",\"CreatedUserId\":\"69c319925e5874db28c4ce72\",\"LastUpdateDate\":\"2026-04-21T03:58:54.7470176Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e6f157d23a789810df148d",
"");