using OI.Service.HangfireTask.CheckPrescriptionChangeTask;
var checkPrescriptionChangeTask = Activate<CheckPrescriptionChangeTask>();
await checkPrescriptionChangeTask.CheckPrescriptionChange(
"67db42cfaf648e01d05ec5cf",
FromJson<Prescription>("{\"PackType\":0,\"Dose\":[0.0,0.0,0.0,1.0],\"ShortCourseTimeslot\":[],\"PatientId\":\"67ee0d72a7ab9513286be819\",\"Direction\":\"Swallow whole ONE tablet in the evening as directed.\",\"FoilId\":\"67ee0d72a7ab9513286be81c\",\"FoilLabel\":\"Blister Pack 1\",\"DateDispensed\":\"2025-03-12T21:42:35Z\",\"ScriptNum\":\"503137\",\"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\":\"2025-05-08T02: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:00Z\",\"TempSubstitution\":false,\"IsHandPacked\":false,\"IsNoEndDate\":true,\"Indication\":\"adhd\",\"Unit\":\"\",\"PharmacyId\":\"67db42cfaf648e01d05ec5cf\",\"SyncDate\":\"0001-01-01T00:00:00Z\",\"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\":\"67db42cfaf648e01d05ec5cf\",\"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:46:16.478Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false},\"IsPreventBrandswap\":false,\"Swapped\":false,\"FreqXWeek\":0,\"PatientDocumentIds\":[],\"Id\":\"67ee0d72a7ab9513286be81e\",\"CreatedDate\":\"2025-04-03T04:24:18.1Z\",\"CreatedUserId\":\"67e1e7baaf648e0748be4f2d\",\"LastUpdateUserId\":\"68215d4caf648e0aac83c840\",\"LastUpdateUserName\":\"Nhennessy\",\"LastUpdateDate\":\"2026-04-23T00:54:39.7354317Z\",\"UpdateDeletedDate\":\"1900-01-01T00:00:00Z\",\"IsDeleted\":false}"),
"67ee0d72a7ab9513286be819",
"");