Wavemind / liwi-backend

Other
0 stars 1 forks source link

Ability to obtain information about predefined symptoms and management from the API #189

Open Unisante opened 1 year ago

Unisante commented 1 year ago

We are asked to add two new pieces of information to the medal-Data export. The predefined symptoms and the managements defined for the different algorithms used.

Ideally we could get them directly on the same route as the algorithm. https://medalcreator.unisante.ch/api/v1/versions/X If according to you, the addition of the latter would make the json too large, we would need a new route.

Maybe medal-Data already has a way to get this information through the api ?

ManuBarchich commented 1 year ago

The route is to retrieve a version from ID. In order to give managements and predefined syndroms we need one or two specific routes, with a scope (algorithm id, version id) and which fields are wanted.