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

Term reference removed #134

Closed eatyourpeas closed 3 years ago

eatyourpeas commented 3 years ago

This branch is a breaking change and updates RCPCHGrowth to 2.0 Changes include:

  1. Term reference has now been removed
  2. Age correction occurs across the life course, even when born at term gestations
  3. Measurement object: now contains SDS and centiles for both corrected and chronological ages. It updates the advice strings with regard to age correction and has error messages for age and measurement calculations
  4. Update endpoints for all references to include chart-coordinates (a GET request for the unplotted chart), plottable-child-data (a post request for plottable measurements) and calculation (a post request to get the measurement calculations)
  5. General rationalisation of the server - remove the logic in the controllers and move it to the RCPCHGrowth package

If approved, this pull request will close #127 and will close #128