ppazos / cabolabs-ehrserver

Open platform to manage and share standardized clinical data, designed by @ppazos at CaboLabs Health Informatics.
https://cabolabs.com
Apache License 2.0
177 stars 110 forks source link

Query datavalue allows to add projections for nodes that are not datavalues #1017

Closed ppazos closed 5 years ago

ppazos commented 5 years ago
  1. enable the add projection button only if the selected path is for a datavalue
  2. check when the button is clicked that the path is a datavalue and notify if it's not (the user can enable the button from the console so this is just another measure to avoid creating an incorrect query)
ppazos commented 5 years ago

it was easier to avoid selecting the non-datavalue option than disabling the button, because it is really a link and disabling that needs extra JS.