medizininformatik-initiative / feasibility-backend

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

UI timeRestriction does not match json schema for StructuredQuery #22

Closed juliangruendner closed 1 week ago

juliangruendner commented 2 years ago

Structured Query Validation schema does not macht output from UI:

UI sends the following time restriction strings: 2022-08-12T22:59:59.999Z but the query-schema.json does not expects "date" https://github.com/medizininformatik-initiative/feasibility-backend/blob/develop/src/main/resources/query/query-schema.json

=> either the UI or the query schema has to be adjusted

@geloro94 , @thkoehler11

@geloro94 - it has to be ensured, that cql as well as flare will function with this format

geloro94 commented 2 years ago

At the current state, it's easier to adjust the schema. From a logical standpoint using 'date' is better suited. Since datetimes cannot be set in the UI.