Hi all,
There is an existing utility method in the htmlformentry module that retrieves a concept by either an identifier or concept mapping (see method) ;
I believe such a method should be added or introduced into core, this way we would reuse this utility method across all modules.
Use-case
What triggered us to raise this was: I found myself doing a copy and paste of the above method from the htmlformentry module into the appframework module and we thought of having such a method live in core for reusability across all module. As for now, we shall have the copy of this util live in the appframework module which would be deprecated on completion of the ticket below. Details of what exactly I’m working on in the appframework module : https://issues.openmrs.org/browse/AF-59
Created ticket at : https://issues.openmrs.org/browse/TRUNK-5655