using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68b4e29150602bf1e9a0e2f5",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,0.0,1.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\"],\"PatientId\":\"68e63c16c20606cd792d2c00\",\"Direction\":\"1 tablet at night for 1 week\",\"FoilId\":\"68e63c16c20606cd792d2c3e\",\"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-05-04T02:00:00Z\",\"EndDate\":\"2026-05-10T02: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\":false,\"Indication\":\"\",\"Unit\":\"\",\"PharmacyId\":\"68b4e29150602bf1e9a0e2f5\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"INVEGA PROLONGED RELEASE 3mg CR-TAB\",\"DrugCode\":\"INVE1\",\"Austr\":\"130502\",\"Supplier\":\"JANSSEN-CILAG PTY LTD\",\"Type\":\"CR-Tablet\",\"Color\":\"white\",\"Shape\":\"capsule-shaped\",\"Marking\":\"PAL 3\",\"Warning\":\"*May cause drowsiness and increase effects of alcohol. If affected do not drive a motor vehicle or operate machinery.swallowed whole*May cause dizziness when standing up quickly*Do not crush or chew**Ask your Doctor or Pharmacist before using other medicines including over-the-counter or any health products\",\"Direction\":\"\",\"GenericCode\":\"PALI1\",\"GenericName\":\"PALIPERIDONE\",\"Presentation\":\"Antipsychotics\",\"ImageId\":\"5f3a2f19a0ba5d7c507970f4\",\"ImageSmallSizeId\":\"68f598ae5a506b941b5c8273\",\"ImageName\":\"130502-C01-01-BL600.jpg\",\"AltBrand\":\"INVEGA PROLONGED RELEASE\",\"DoNotCrush\":true,\"TradeName\":\"INVEGA PROLONGED RELEASE\",\"Formulation\":\"CR-TAB\",\"Strength\":\"3mg\",\"Schedule\":\"4\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white capsule-shaped PAL 3\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"68b4e29150602bf1e9a0e2f5\",\"Usage\":1,\"DrugFullName\":\"INVEGA PROLONGED RELEASE 3mg CR-TAB\",\"MedicationFullDetails\":\"INVEGA PROLONGED RELEASE 3mg CR-TAB - PALIPERIDONE (INVE1)\",\"Id\":\"5f0e69e0a0ba5db368a16163\",\"CreatedDate\":\"2020-07-15T02:28:42.599Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T16:25:25.02Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69eadaa55976b98c1474dd63\",\"CreatedDate\":\"2026-04-24T02:51:17.3646008Z\",\"CreatedUserName\":\"leahhut\",\"CreatedUserId\":\"6923b8d45461035b6b06e8ee\",\"LastUpdateDate\":\"2026-04-24T02:51:17.3646008Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"68e63c16c20606cd792d2c00",
"");