using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6993ee946f072bc22746cf88",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,0.0,2.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69d4350519101598963a38bc\",\"Direction\":\"Take TWO tablets (200mg) at night\",\"FoilId\":\"69d4350519101598963a38bd\",\"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-07T02: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\":\"6993ee946f072bc22746cf88\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"CLOZARIL 100mg TAB\",\"DrugCode\":\"CLOP24\",\"Austr\":\"50511\",\"Supplier\":\"VIATRIS PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"yellow\",\"Shape\":\"round\",\"Marking\":\"ZA\",\"Warning\":\"*May cause drowsiness and increase effects of alcohol. If affected do not drive a motor vehicle or operate machinery.*Do NOT stop taking this medication abruptly*May affect alertness and/or co-ordination. If affected, do not drive or operate machinery*Ask your pharmacist about the storage conditions for this medicine*May cause dizziness when standing up quickly*Avoid combination with St John's wort\",\"Direction\":\"\",\"GenericCode\":\"CLOZ2\",\"GenericName\":\"CLOZAPINE\",\"Presentation\":\"An antipsychotic used to treat schizophrenia.\",\"ImageId\":\"639a638ff65a880bd4897879\",\"ImageSmallSizeId\":\"68f598e25a506b941b5c8957\",\"ImageName\":\"50511-C01-02-BL600.jpg\",\"AltBrand\":\"CLOZARIL, CLOZAPINE (SBPA), CLOPINE 100, CLOSYN, CLOPINE 100, CLOZARIL, CLOZITOR, CLOZITOR\",\"DoNotCrush\":false,\"TradeName\":\"CLOZARIL\",\"Formulation\":\"TAB\",\"Strength\":\"100mg\",\"Schedule\":\"4\",\"PackSize\":100,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"yellow circular CLOZ\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6993ee946f072bc22746cf88\",\"Usage\":1,\"DrugFullName\":\"CLOZARIL 100mg TAB\",\"MedicationFullDetails\":\"CLOZARIL 100mg TAB - CLOZAPINE (CLOP24)\",\"Id\":\"5f0e69e0a0ba5db368a1659a\",\"CreatedDate\":\"2020-07-15T02:28:43.504Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:36:34.553Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69d43a99e32e9295d938450e\",\"CreatedDate\":\"2026-04-06T22:58:33.809Z\",\"CreatedUserName\":\"scott\",\"CreatedUserId\":\"69c21352af217b9ed91eb5cb\",\"LastUpdateUserId\":\"6993faae6f072bc2276d1178\",\"LastUpdateUserName\":\"Sharlene\",\"LastUpdateDate\":\"2026-04-29T01:04:56.4511346Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69d4350519101598963a38bc",
"");