OpenMRS provides a way to customise attributes that can be captured for a person/patient. New attributes can be added via the admin screen of OpenMRS under /openmrs/admin/person/personAttributeType.list . If you prefer to add these values manually, insert new rows into the person_attribute_type table.
1. Navigate to the "Manage Person Attributes Types" link in OpenMRS Administration page.
2. Add "New Person Attribute Type". The "format" of the attribute will define the type of UI element to be shown. For e.g., if the attribute type is string, a textbox will be shown. Similarly, if it is of org.openmrs.Concept type, then a dropdown is displayed. The "label" on the UI is taken from the "Description" of the attribute.
The new Person Attribute Type page will be displayed as shown below:
Remove/ Retire Person Attributes
All the person attributes configured here will appear on the patient registration page.One can add new patient attributes following above steps.If one wants to remove them from the patient registration screen to hide any of these attributes temporarily, then one can retire the person attribute from the Openmrs Administration UI.
Retiring an attribute
1) GoTo Openmrs, Administration Page
2) Click on "Manage Person Attributes Types
3) Click on the person attribute to retire
4) Click on Retire the Person attribute type
Reserved words for Bahmni Person Attribute
1) 'name' is a reserved word and cannot be used as Bahmni Person Attribute