How to use REST to get a concept UUID using name?

Hi,

How do i query a concept to get an uuid in a scenario where the only parameter available it’s a name.

In other words i have a name = AZT+3TC+EFV and i want to get it’s concept uuid from concept table.

http://demo.openmrs.org/openmrs/ws/rest/v1/concept?q=temperature

This query may return multiple results if there are more matches so you may need to iterate over results to find the one you care about.

what’s the username and password for the demo site?

It’s admin and Admin123.

Is there any non system-dev user defined in the demo?

It worked. To get exactly what i care about i queried using fully specified name instead of short name.

1 Like