Why can't I find primary concept for DiagnosisMetadata?

@jevgeni, check if you have any of the openmrs tables that are not utf-8 encoded. I had a similar issue and changing all the tables that were not utf-8 encoded resolved the problem. I tested using openmrs platform 1.11.6 and reference application 2.3.1.