using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"66317c8ba5ab8f0f84e89478",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"69e70793b02e12b38792b544\",\"Direction\":\"1 in the afternoon\",\"FoilId\":\"69e70793b02e12b38792b54f\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2026-04-21T05:14:48Z\",\"ScriptNum\":\"60421180\",\"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-21T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":0,\"PackedWeekDay\":[],\"FreqXDay\":0,\"OnDays\":0,\"OffDays\":0,\"IsDoNotCrush\":true,\"FontColor\":\"\",\"PrintIt\":true,\"State\":1,\"DateCeased\":\"0001-01-01T00:00:00\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Unit\":\"\",\"PharmacyId\":\"66317c8ba5ab8f0f84e89478\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"INTUNIV 1mg MR-TAB\",\"DrugCode\":\"INTU1\",\"Austr\":\"275278\",\"Supplier\":\"TAKEDA PHARMACEUTICALS AU\",\"Type\":\"MR-Tablet\",\"Color\":\"white to off-white\",\"Shape\":\"round\",\"Marking\":\"503\",\"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 quickly*Do NOT stop taking this medication abruptly*Certain foods and fruit juices should be avoided while being treated with this medicine*May affect alertness and/or co-ordination. If affected, do not drive or operate machineryswallowed wholeNOT approved for use under 6 years old*Avoid combination with St John's Wort\",\"Direction\":\"\",\"GenericCode\":\"GUAF1\",\"GenericName\":\"GUANFACINE\",\"Presentation\":\"\",\"ImageId\":\"6360558bf65a8812b88890df\",\"ImageSmallSizeId\":\"68f599935a506b941b5c9333\",\"ImageName\":\"275278-C01-01-BL600.jpg\",\"AltBrand\":\"INTUNIV\",\"DoNotCrush\":true,\"TradeName\":\"INTUNIV\",\"Formulation\":\"MR-TAB\",\"Strength\":\"1mg\",\"Schedule\":\"4\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"white to off-white round 503\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"66317c8ba5ab8f0f84e89478\",\"Usage\":0,\"DrugFullName\":\"INTUNIV 1mg MR-TAB\",\"MedicationFullDetails\":\"INTUNIV 1mg MR-TAB - GUANFACINE (INTU1)\",\"Id\":\"5f0e69e0a0ba5db368a177f4\",\"CreatedDate\":\"2020-07-15T02:28:47.477Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:08:56.706Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"69e70793b02e12b38792b555\",\"CreatedDate\":\"2026-04-21T05:13:55.516Z\",\"CreatedUserId\":\"68e5b07c355f7892533bb2ce\",\"LastUpdateUserId\":\"68e5b07c355f7892533bb2ce\",\"LastUpdateUserName\":\"LB\",\"LastUpdateDate\":\"2026-04-21T05:16:13.2378019Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"69e70793b02e12b38792b544",
"");