Skip to content

Fix identification of terminology type

Gabriel requested to merge hotfix-terminology-type-identification into master

In 9b99311e the order of execution was changed for SVSextELGA for value sets because the sort_VS_concepts_by_conceptOrder() required to be able to determine the canonical of a code system based on the code system's OID. As a result the terminologies metadata CSV file had to be processed before sorting the concepts (reference terminology: https://termgit.elga.gv.at/ValueSet/elga-wirkstoffe-ages as provided by AGES as SVSextELGA)

However, the lines affected by this commit have to be moved up because if not it would not be possible to correctly identify the terminology type of a given SVSextELGA file for the terminologies metadata CSV. I.e. the code system https://termgit.elga.gv.at/CodeSystem/medikationactiveingredient as provided by AGES as SVSextELGA will be correctly converted to all other file formats but in the terminologies metadata CSV it will be captured as value set. This wrongly causes the creation of a "ValueSet-medikationactiveingredient.download.xhtml" in TerminoloGit. The corresponding correct "CodeSystem-medikationactiveingredient.download.xhtml" would never be updated (e.g. see termgit!223 (diffs))

Merge request reports