Health Insurance Premiums

As a retired federal worker and a small business owner, can I deduct my FEHB health premiums because I am also self-employed or does the deduction only count if I purchase the health insurance through the open marketplace?