Page tree
Skip to end of metadata
Go to start of metadata

Abstract

This project creates attributes for Concept.

Objectives

  1. Add Concept_Attribute and Concept_Attribute_Type tables per new paradigm.
  2. Modify admin page to maintain Concept_Attributes and Concept_Attribute_Types
  3. 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:

  1. 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

  1. 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

  • No labels