using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"660cb69a96096609b8b0e593",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[1.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"67a05828af648e0d24b8fcdc\",\"Direction\":\"Take ONE tablet TWICE A Day\",\"FoilId\":\"67a05828af648e0d24b8fce6\",\"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\":\"0001-01-01T00:00:00\",\"EndDate\":\"2026-04-30T08:08:11.9558826Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"SameAs\":\"\",\"PrintIt\":true,\"State\":2,\"DateCeased\":\"2026-04-30T08:08:11.9558826Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"660cb69a96096609b8b0e593\",\"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\":\"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\":0,\"PackingLocation\":7,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":1,\"Description\":\"white round 1\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"660cb69a96096609b8b0e593\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"OriginValues\":\"{\\"ShelfLife\\":0,\\"Route\\":null}\",\"Usage\":2,\"DrugFullName\":\"RIXADONE 1mg TAB\",\"MedicationFullDetails\":\"RIXADONE 1mg TAB - RISPERIDONE (RISP29)\",\"Id\":\"5f0e69e0a0ba5db368a1622e\",\"CreatedDate\":\"2020-07-15T02:28:42.756Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"660d0369a5ab8f0c54bc8e33\",\"LastUpdateDate\":\"2025-10-20T06:01:21.765Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69842fee304583f2a02702f0\",\"CreatedDate\":\"2026-02-05T05:51:42.426Z\",\"CreatedUserName\":\"csheth\",\"CreatedUserId\":\"6645a4fea5ab8f0a4052d082\",\"LastUpdateUserId\":\"6645a4fea5ab8f0a4052d082\",\"LastUpdateUserName\":\"Laura\",\"LastUpdateDate\":\"2026-04-30T08:08:11.9558826Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"67a05828af648e0d24b8fcdc",
"");