rcpch / digital-growth-charts-server

RCPCH's open source Digital Growth Chart API
https://growth.rcpch.ac.uk/
GNU Affero General Public License v3.0
16 stars 11 forks source link

Plotting #150

Closed eatyourpeas closed 3 years ago

eatyourpeas commented 3 years ago

This alters the Measurement Class to return all results also in plottable format. This allows clients to make a single API request for plottable data. The plottable-child-data is still present There is also a calculations endpoint which receives an array of measurement requests and returns an array of Measurement objects. This should work with version 2.0 and above of the react client, and v4.0 and above of the charting library.

eatyourpeas commented 3 years ago

please note - if approved, the server version number will need updating to 0.04.

eatyourpeas commented 3 years ago

We did discuss it but in passing. I was thinking we would need it anyway in future when we start looking at SDS trends and so on. If you feel it is too vulnerable then comment it out and we can reenable in future,

eatyourpeas commented 3 years ago

Should now have the calculations commented out.