Credits and deductions

It should be the lower of the two. The Schedule 1 which your medical is reported on clearly states "enter 2,302 or 3% of your net income, whichever is less".