-
Notifications
You must be signed in to change notification settings - Fork 2
Beta UI: Classifications will be displayed as Identifiers too. #32
Comments
This is a good point. The invention of the classifications vs identifiers was a rather late addition, and the logic used has just been to look for a "|" character in the comments/code text. The POJO probably abstracted this to that method call, while the beta UI just reinvents that same logic on the client-side. For consistency, we should expose the "isClassification" method of the POJO as a "_"-based property in the JSON (perhaps "_isClassification") and allow the client-side code to use that property. Long term, really, the CV should categorize the code systems as either identifiers or classifications, and that could be used for the UI. @epuzanov if you'd like to propose the addition of that new JSON property, I think it should be fairly straight-forward to make the beta UI optionally use that field rather than its current logic. |
I think, I found the problem: Must be something like: or another variant replace lines 81-85 with following code:
|
In a new 'Beta UI' Classifications will be displayed as Identifiers too.
Expected:
Classifications - contains only codes where isClassification() == true
Identifiers - contains only codes where isClassification() == false
The text was updated successfully, but these errors were encountered: