using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"6732e65fa7ab9503640fafa5",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"693a4dc7c45f6ac8a42432c9\",\"Direction\":\"1 NIGHT\",\"FoilId\":\"693a4dfcc45f6ac8a424c5f9\",\"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-16T04: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:00Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"6732e65fa7ab9503640fafa5\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"RIXADONE 0.5mg, 60 TAB\",\"DrugCode\":\"RIXA1\",\"Austr\":\"199179\",\"Supplier\":\"ALPHAPHARM PTY LTD\",\"Type\":\"Tablet\",\"Color\":\"red-brown\",\"Shape\":\"round\",\"Marking\":\"0.5\",\"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\":\"RISP13\",\"GenericName\":\"RISPERIDONE\",\"Presentation\":\"Antipsychotics\",\"ImageId\":\"5f3a2d7ea0ba5d7c50794b32\",\"ImageSmallSizeId\":\"68f598b65a506b941b5c82d6\",\"ImageName\":\"199179-C01-01-BL600.jpg\",\"AltBrand\":\"RISPERDAL, RISPERIDONE (APO), RISPA, RISPERIDONE (GA), RIXADONE, RISPA, OZIDAL, RESDONE, RISPERIDONE (DRLA), RISPERIDONE (SANDOZ), RISPERIDONE (PFIZER), RISPERIDONE (ACTAVIS), RISPERIDONE (GA), RISPERIDONE (GH), RISPERICOR 0.5, RISPERNIA, RISPERIDONE (AN), RISPERIDONE (AMNEAL), RISPERIDONE (APO), RISPERIDONE (NOUMED)\",\"DoNotCrush\":true,\"TradeName\":\"RIXADONE\",\"Formulation\":\"TAB\",\"Strength\":\"0.5mg, 60\",\"Schedule\":\"4\",\"PackSize\":60,\"IsCytotoxic\":false,\"Authorized\":2,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":1,\"Description\":\"red-brown round 0.5\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"6732e65fa7ab9503640fafa5\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"OriginValues\":\"{\\"Authorized\\":0,\\"ShelfLife\\":0,\\"Route\\":null}\",\"Usage\":1,\"DrugFullName\":\"RIXADONE 0.5mg, 60 TAB\",\"MedicationFullDetails\":\"RIXADONE 0.5mg, 60 TAB - RISPERIDONE (RIXA1)\",\"Id\":\"5f0e69e0a0ba5db368a16212\",\"CreatedDate\":\"2020-07-15T02:28:42.734Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"67469b9908efed0f845cf74a\",\"LastUpdateDate\":\"2026-04-15T02:40:53.035Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69df06ad293ae9fb5bb55823\",\"CreatedDate\":\"2026-04-15T03:31:57.518Z\",\"CreatedUserName\":\"Ron\",\"CreatedUserId\":\"67469b9908efed0f845cf74a\",\"LastUpdateUserId\":\"678e080108efed09dc264dfe\",\"LastUpdateUserName\":\"AlexisBP\",\"LastUpdateDate\":\"2026-04-20T06:02:42.7876667Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"693a4dc7c45f6ac8a42432c9",
"");