Scenario - add very first level of address hierarchy
Issue: OpenMRS not adding the address hierarchy level when adding the address level from “manage address hierarchy page”, its not showing any error message either. It is adding a new level if there is at least one hierarchy level already exists.
Ok, I understand that address hierarchy entries needs be imported, then it will creates the levels, is that how it suppose to work? if thats the case may be we can show the message somewhere on UI saying that we can’t add first level through UI.
It’s confusing if UI allows to add new level and deletes it quietly without any warning or message.
@vamsi77 for the record AH is also able to load address levels and address entries upon starting up by placing two files in /addresshierarchy inside the OpenMRS app data dir. Here is an example of such config.
You may also try this route if the old legacy UI failed you.