K1 1120S box 17 AG: Health Insurance Deduction

How do I get the subtraction on line 16 of Form 1040, schedule 1 to populate from the amount on form K1, 1120S, Box 17, code AD? The instructions say to populate boxes in the K1, Form 1065 but say nothing about what to do for K1, 1120S in this situation.