using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"68801ae851062ab21627743a",
FromJson<Prescription>("{\"PackType\":0,\"Description\":\"white capsule-shaped PAL 3\",\"Dose\":[1.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"697033819447033d787e4c23\",\"Direction\":\"1 tablet in the morning \",\"FoilId\":\"697033819447033d787e4c25\",\"FoilLabel\":\"Foil 1\",\"DateDispensed\":\"0001-01-01T00:00:00\",\"QtyDispense\":0.0,\"DateExpiry\":\"0001-01-01T00:00:00\",\"Route\":{\"Code\":\"PO\",\"Description\":\"Oral\"},\"IsStandard\":true,\"IsShortCourse\":false,\"IsSinemet\":false,\"IsWarfarin\":false,\"IsInsulin\":false,\"IsS8Drug\":false,\"IsCytotoxic\":false,\"IsS4N\":false,\"StartDate\":\"2026-04-22T02: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\":\"2026-03-24T02:50:40.775Z\",\"TempSubstitution\":false,\"Note\":\"\",\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"68801ae851062ab21627743a\",\"SyncId\":\"a79c716d-da6c-4be3-a651-66c90d8cde0d-18561\",\"SyncDate\":\"2026-01-21T02:01:37.701Z\",\"IsSyncImported\":true,\"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\":\"68801ae851062ab21627743a\",\"Usage\":0,\"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:13:49.229Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"697033819447033d787e4c26\",\"CreatedDate\":\"2026-01-21T02:01:37.701Z\",\"LastUpdateUserId\":\"69703a6d7e78fbad3adc2c00\",\"LastUpdateUserName\":\"RSarah\",\"LastUpdateDate\":\"2026-04-22T09:43:03.6683309Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"697033819447033d787e4c23",
"");