openmrs/openmrs-module-addresshierarchy — pull request #2 by endeepak (2013-11-26 09:41:39+00:00)
Title: Service to get ordered list of address hierarchy levels

In bahmni we have a client side app which would need this API to dynamically configure the address fields for different implementations. The API contract is as below

```
[
{
"name": "Country",
"addressField": "country"
},
{
"name": "State",
"addressField": "stateProvince"
},
{
"name": "District",
"addressField": "countyDistrict"
},
{
"name": "Tehsil",
"addressField": "address3"
},
{
"name": "Village",
"addressField": "cityVillage"
}
]
```