using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"67be4bb8a7ab950c04ba51df",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,1.0,0.0,0.0,0.0,0.0,0.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"67c790a3967e0110fc791aed\",\"Direction\":\"Take ONE tablet afternoon/evening. Do not crush or chew.\",\"FoilId\":\"67c790a3967e0110fc791af6\",\"FoilLabel\":\"Foil 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\":\"2025-12-15T02:00:00Z\",\"EndDate\":\"0001-01-01T00:00:00Z\",\"Frequency\":6,\"PackedWeekDay\":[true,false,true,true,true,false,true],\"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\":\"67be4bb8a7ab950c04ba51df\",\"SyncDate\":\"0001-01-01T00:00:00\",\"IsSyncImported\":false,\"Drug\":{\"DrugName\":\"INTUNIV 3mg MR-TAB\",\"DrugCode\":\"INTU3\",\"Austr\":\"275314\",\"Supplier\":\"TAKEDA PHARMACEUTICALS AU\",\"Type\":\"MR-Tablet\",\"Color\":\"green\",\"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\":\"GUAF3\",\"GenericName\":\"GUANFACINE\",\"Presentation\":\"\",\"ImageId\":\"636055b6f65a8812b88890e9\",\"ImageSmallSizeId\":\"68f599935a506b941b5c9335\",\"ImageName\":\"275314-C01-01-BL600.jpg\",\"AltBrand\":\"INTUNIV\",\"DoNotCrush\":true,\"TradeName\":\"INTUNIV\",\"Formulation\":\"MR-TAB\",\"Strength\":\"3mg\",\"Schedule\":\"4\",\"PackSize\":28,\"IsCytotoxic\":false,\"Authorized\":0,\"TSAuthorized\":\"0001-01-01T00:00:00Z\",\"ShelfLife\":0,\"Description\":\"green round 503\",\"UsePrintingDrugName\":false,\"PrintingDrugName\":\"\",\"PharmacyId\":\"67be4bb8a7ab950c04ba51df\",\"Usage\":4,\"DrugFullName\":\"INTUNIV 3mg MR-TAB\",\"MedicationFullDetails\":\"INTUNIV 3mg MR-TAB - GUANFACINE (INTU3)\",\"Id\":\"5f0e69e0a0ba5db368a177f6\",\"CreatedDate\":\"2020-07-15T02:28:47.479Z\",\"CreatedUserId\":\"5e7457052a22160c3cf31edb\",\"LastUpdateUserId\":\"\",\"LastUpdateDate\":\"2025-10-11T15:40:09.101Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"693f8872a83ee1e2b653f5f6\",\"CreatedDate\":\"2025-12-15T04:02:58.862Z\",\"CreatedUserName\":\"JIH\",\"CreatedUserId\":\"67d247d008efed136479fa9f\",\"LastUpdateUserId\":\"67d0de4e08efed0fa83e685e\",\"LastUpdateUserName\":\"JLeven\",\"LastUpdateDate\":\"2026-04-20T08:50:37.2143718Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"67c790a3967e0110fc791aed",
"");