medizininformatik-initiative / feasibility-backend

Backend of the feasibility-gui.
Apache License 2.0
2 stars 5 forks source link

Enhance validation process of the SQ #261

Open thkoehler11 opened 4 months ago

thkoehler11 commented 4 months ago

When multiple instances of the same criterion are present, distinguishing between them becomes problematic. To address this issue effectively, there is a proposal to introduce a unique identifier within the 'savedQueries' object schema. This identifier will enable clear differentiation between individual criteria instances, enhancing the clarity and usability of the system.

{
  "invalidCriteria": [
    {
      "hash": "contextTermcodeHash",
      "uniqueID": ???,
      "validationErrorCode": "???"
    }
  ]
}
michael-82 commented 4 months ago

This issue requires further discussion in my/our opinion.