Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

attributesConditions.js should be located in bahmni_config/openmrs/apps/registration

This configuration allows users to show or hide sections in registration create new patient page based on conditions. For this a specific file named "attributesConditions.js" must be defined. 

This file "attributesConditions.js" should be located in "/var/www/bahmni_config/openmrs/apps/registration/" directory


For example: If  age is less than 18, only then show the "Guardian Details" section.

...