Skip to content

Releases: rcpch/rcpchgrowth-python

v4.1.0

19 Oct 20:40
7246f09
Compare
Choose a tag to compare

CDC (Centers for Disease Control and Prevention)

Version 4.1 is the first version to include the CDC charts. CDC is made up of WHO (0-2y) and CDC (2y+). The WHO version used by CDC though has been tweaked, presumably to make the disjunction between the references less marked. The effect is that the code base now has 2 versions of WHO - the WHO one and the US interpretation. CDC BMI is included; for BMI measurements > 95th centile some clever maths is introduced to prevent some of the issues that have been detailed in conversations about the accuracy of z scores.

Note that there is no preterm data for the moment. The Canadian Fenton data is what is typically used, but this is licensed and conversations about the legals are ongoing. This means that for all corrected ages < 0 no values are returned, but a meaningful error is included.

There is also a fix to the confusing error raised when Estimated Date of Delivery (EDD) has not yet been reached in a preterm baby.

There are also tests for the same test subjects used in UK-WHO, but recalculated for CDC using the excellent R package [cdcanthro] (https://github.com/CDC-DNPAO/CDCAnthro) by David Freedman, author of the CDC BMI reference.

v4.0.2

19 Jun 12:38
0bd3c7a
Compare
Choose a tag to compare

Tweak to birth date wording - replace "Birth date is today." with "Birth date"

v4.0.1

31 May 23:43
322cad9
Compare
Choose a tag to compare

Refactor 'Happy Birthday' return string to 'Birth date today' if date of birth and observation date are the same.
A small fix also for the docker container to set working directory

v4.0.0

19 Mar 11:51
7093b38
Compare
Choose a tag to compare

Breaking change
Removes support for python 3.8
Updates dependencies
Updates setup.py
Removes measurement advice string for <23 weeks gestation
Deprecated package_utils and replace with importlib
Add support for local development in docker using s/up (as per RCPCH development playbook)

v3.2.1

11 Feb 14:06
Compare
Choose a tag to compare

Improvements include:

  1. refactor centile value returned to 1 decimal place, rather than integer. There were inconsistencies with floats returning if centile < 1 or >99, but integers otherwise
  2. bug fix in the fictional child function, which returned all dates as python datetimes, rather than dates. This was leading to validation errors in the response object in the server

v3.2.0

25 Jun 15:57
Compare
Choose a tag to compare

Add citation

v3.1.17

27 Feb 18:41
Compare
Choose a tag to compare

Updates Measurement object to return sds and centile values in plottable_data element

v3.1.16

16 Feb 19:42
Compare
Choose a tag to compare

Rename start server files

v3.1.14

29 Jan 23:29
Compare
Choose a tag to compare

Fix for centile line overlaps @ 2y and 42 weeks

v3.1.13

29 Jan 17:07
Compare
Choose a tag to compare

Reintroduced the default_youngest_reference flag for generating centile line data at overlaps between references.