Concept Attributes
This page is outdated and no longer receives updates!
Abstract
This project creates attributes for Concept.
Objectives
Add Concept_Attribute and Concept_Attribute_Type tables per new paradigm.
Modify admin page to maintain Concept_Attributes and Concept_Attribute_Types
Modify web services to expose Concept_Attribute and Concept_Attribute_Type as resources.
Availability
OpenMRS 2.0 onwards
Design
The design will be same as location or provider attributes. The schema will look like below:
concept_attribute_type
      Â
    Â
     2. concept_attribute
     Â
Â
The concept, concept attribute and concept attribute type will be mapped in concept_attribute table. The value for concept attribute will be stored in value_reference column in concept_attribute table.
Functional Guide
Navigate to the "Manage Concept Attributes Types" link in OpenMRS Administration page.
Â
2. Add "New Concept 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 text, a textbox will be shown. Similarly, if it is of type date, then a calendar is displayed. The "label" on the UI is taken from the "name" of the attribute.
Â
3. Values for concept attributes will be recorded while adding a new concept or editing an existing concept.
Â
Link to Mingle cards
https://bahmni.mingle.thoughtworks.com/projects/bahmni_emr/cards/1477
https://bahmni.mingle.thoughtworks.com/projects/bahmni_emr/cards/1350