Versions Compared

Key

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

 

Table of Contents

...

propertydescription
descriptiona description
formatjava class of the attribute
namename of the attribute
uuiduuid of the attribute

Example:

  1. description"मरीज़ का उपनाम"
  2. format"java.lang.String"
  3. name"familyNameLocal"
  4. requiredfalse
  5. uuid"b4f44ade-c79a-11e2-b284-107d46e7b2c5"

 

Pre-fill Address details based on login location

To use this functionality location needs to be configured as a login location in openmrs. The configuration needed in registration/app.json is 

    "config": {

             "prepopulateFields" : ["Division", "Zilla", "Upazilla"]

...

To make a concept set mandatory, set  "required": true in the extensionParams of the concept set.

...

Anchor

...

VisitTypeToLoginLocationMapping
VisitTypeToLoginLocationMapping
Setting Default Visit Type based on Login Location

Bahmni allow to set default visit type based on login location. Implementer is  able to set defaultVisitType for Location by adding entries to entity_mapping table. 

...

Info
  • The above configuration (of extension point "org.bahmni.registration.patient.next") will always open a visit of one specific type. No other Visit Types are even listed. The visit type determination happens in the following order
  • This above extension point will be deprecated. From Bahmni version 0.89, configuration of "forwardUrlsForVisitTypes" (in app.json) specified below is preferred.
  • In case both "org.bahmni.registration.patient.next" (extension point) and "forwardUrlsForVisitTypes" (configuration) is enabled, the former will take precedence.

...