When working with MRRT templates (html templates for radiology reporting) the html header contains metadata sections about the used controlled terminology in the templates (SNOMED CT, RADLEX, ...).
This is might look like so (source radreport.org):
or (source IHE connectathon 2015):
Currently the only way to find the ConceptSource matching the used controlled terminology in these templates is via the ConceptSource.getConceptSourceByName() which is case sensitive.
However as can be seen from the above code snippet MRRT templates and I'm sure also other standards dont always stick to the defined formatting of controlled terminology names once it is "RADLEX" which is actually what the official hl7Code would be and once it is "RadLex".
Current workaround is to get all ConceptSource's and match them in java ignoring the case.
1. DB change
Add (optional,non unique) column `concept_reference_source.source_uid`
optional = to keep backwards compatibility
non unique = since some coding schemes (for example SNOMED) come in different versions which do have different (thus unique) hl7Codes (or coding scheme designators) but same UID values.
2. Service Layer change
defines <coding_scheme> attribute
name = a valid coding scheme designator. A reference list for well-known coding scheme designator is available in DICOM Part 16 Section 8.
designator = An Object identifier (OID) as specified in ITI TF-2x: Appendix B.