Onto-Med / top-backend

Spring Boot based backend of the TOP Framework
MIT License
0 stars 1 forks source link

Codes starting with numbers get truncated. #193

Closed RalphBln closed 8 months ago

RalphBln commented 8 months ago

If a code starts with a numerical character its beginning gets truncated up until the first alphabetical character.

Example: "8-853.1a" gets truncated to "a".

RalphBln commented 8 months ago

This bug is related to a combination of:

Since by our (new) convention, codes in the TOP framework are represented by OLS's primary label of a code, we may use the label instead of the IRI's short form as the code.

Regarding the code's (human-readable) name, we may use the first synonym or, if none exists, the code itself.