Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load availability files from file(s) #288

Closed
juliangruendner opened this issue May 29, 2024 · 1 comment · Fixed by #364
Closed

Load availability files from file(s) #288

juliangruendner opened this issue May 29, 2024 · 1 comment · Fixed by #364
Assignees

Comments

@juliangruendner
Copy link
Contributor

juliangruendner commented May 29, 2024

The availability counts which are created by the fhir-data-evaluator should be used by the backend and the ontology elastic search.

The availability counts can update more often than ontology itself the elastic search data will be based on. Therefore a program should be created which allows the additional loading of the availability data.

See also the following issue: https://github.com/medizininformatik-initiative/feasibility-ontology-elasticsearch/issues/3

The backend should then be extended to allow the dynamic updating of the availability on the fly:

TODO: @michael-82

Look into how elastic search indices can be updated on the fly and make a suggestion of how this can be implemented in the backend and elastic search, so that given a file to with the availability information the elastic search availability for each criteron can be updated and re-indexed.

@michael-82
Copy link
Collaborator

As discussed yesterday, this will be a plain script, separated from the backend application (but in this repository). This can not be reasonably executed by anyone but "us" since the necessary availability data may not be public

@juliangruendner juliangruendner linked a pull request Sep 17, 2024 that will close this issue
michael-82 pushed a commit that referenced this issue Sep 19, 2024
#288 - Load availability files from file(s)

* Add Update availability script and example file
juliangruendner added a commit that referenced this issue Oct 20, 2024
* No issue - bump version

* Bump sq2cql and ontology version

* #288 - Load availability files from file(s) (#364)

#288 - Load availability files from file(s)

* Add Update availability script and example file

* #367 - Sort unavailable criteria to the bottom

- add a function score query that boosts all queries with availability > 0 by 100 in score. It does not make a difference if the availability is 10 or 10000, all are boosted by the same fixed value

* #366 - Builtin swagger doc is broken

- move files back to /v3/api-docs since swagger ui wants to load a config file from there anyways. Supplying a custom config file under another folder did not work
- update springdoc-openapi-starter-webmvc-ui to 2.6.0 so it can handle openapi 3.1.0

* #370 - Update fhir-resources dependency

- update to  6.3.26

* #371 - Update spring boot to 3.3.4

- self-explanatory

* #363 - Add "results" to GET query/{queryId} response

- Add the totalNumberOfPatients from the saved query object back to the response when reading a query
- the demanded queryId from the issue is already present as "id" - so nothing to do here imho

* #376 - Allow Empty Search with filters (#377)

#376 - Allow Empty Search with filters

- Change score modification to add an offset instead of multiplying when availability > 0
- remove the inner "must" part of the bool query when searchterm is empty

* bump ontology version

* No issue - update undertow to 2.3.17.Final to fix CVE-2024-7885

* #380 - Change structure of dse profile_tree and profile details for translations (#381)

* #380 - Change structure of dse profile_tree and profile details for translations

- update ontology to v3.0.0-test.11
- modify DseProfile and Field according to changes in dse profile database entry
- modify DseProfileTreeNode according to changes in profile_tree.json

* Bump ontology version to v3.0.0-alpha and add ne aliases to sq2cql config

* Release v6.0.0-alpha.3

---------

Co-authored-by: Michael Folz <folz@med.uni-frankfurt.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants