openmrs/openmrs-module-webservices.rest — pull request #55 by endeepak (2013-10-02 05:46:08+00:00)
Title: Display string of a person attribute of type concept 

Currently the person attributes of type concept in the get patient API returns id of the concept. For a external system which needs to read patient data, it has to multiple more web requests to get meaningful value for the attributes of type concept.

The current implementation is one of the way to achieve this, with a slight hit on the performance. If there other alternative ways to get the concept data without having to make multiple calls, please feel free to suggest.

Example:
````
{
"display": "Student", // Instead of "occupation - 24"
"value": "24",
"attributeType": {
"display": "occupation",
},
}
````