using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"649923d0f65a8813a473b052",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"6982cefe7f4a2f9f6d8e7b9b\",\"Direction\":\"1 at 7am and 3.30pm\",\"FoilId\":\"6982cf13fb391c0d91691068\",\"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-02-04T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"649923d0f65a8813a473b052\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"RIXADONE 1mg TAB\",\"DrugCode\":\"RISP29\",\"Austr\":\"199178\",\"Supplier\":\"ALPHAPHARM PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"white\",\"Shape\":\"round\",\"Marking\":\"white round 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\":\"5f3a2d7ea0ba5d7c50794b57\",\"ImageSmallSizeId\":\"68f598b85a506b941b5c82eb\",\"ImageName\":\"199178-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\":\"RIXADONE\",\"Formulation\":\"TAB\",\"Strength\":\"1mg\",\"Schedule\":\"4\",\"PackSize\":60,\"IsCytotoxic\":false,\"Authorized\":2,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white round 1\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"649923d0f65a8813a473b052\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"OriginValues\":\"{\\"Authorized\\":0,\\"ShelfLife\\":0,\\"Route\\":null}\",\"Usage\":7,\"DrugFullName\":\"RIXADONE 1mg TAB\",\"MedicationFullDetails\":\"RIXADONE 1mg TAB - RISPERIDONE (RISP29)\",\"Id\":\"5f0e69e0a0ba5db368a1622e\",\"CreatedDate\":\"2020-07-15T02:28:42.756Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"64bf4ed6f65a88129c589ccc\",\"LastUpdateDate\":\"2026-01-30T03:54:26.914Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"6982cf697f4a2f9f6d8fe297\",\"CreatedDate\":\"2026-02-04T04:47:37.3Z\",\"CreatedUserName\":\"AlisonP\",\"CreatedUserId\":\"64cae9c5f65a8810846f1bb3\",\"LastUpdateUserId\":\"64cae9c5f65a8810846f1bb3\",\"LastUpdateUserName\":\"AlisonP\",\"LastUpdateDate\":\"2026-04-21T03:59:26.8498147Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"6982cefe7f4a2f9f6d8e7b9b",
"");