We need a method that retrieves a concept from the database by either its identifier ie.( id or uuid), name or mapping.
We already have such a method living in modules like htmlformentry => HtmlFormEntryUtil#getConcept (id) .
The trigger of creating this ticket was: I found myself doing a copy and paste of the above method into the appframework module and we thought of having such a method live in core for reusability across all module.
On creation of the utility method, similar methods in community supported modules should be deprecated eg. HtmlFormEntryUtil#getConcept (id)
Talk discussion thread : https://talk.openmrs.org/t/utility-method-to-get-a-concept-by-an-identifier-name-or-mapping/24513