There are two ways in Patient Demographics to flag Patients:
Patient Type and Code can be used together or used separately to identify Patients who meet certain criteria.
Example: Patients have Medicaid and are diabetic.
Use the Custom Patient Query Report to run a list of Patients who have Medicaid and are diabetic.
You will now be able to select the new Code.
Remember to Save the Modify Patient screen.