Currently, the growth chart application will read through all Observations returned from FHIR and display them within the application accordingly on the chart and graph view. However, if an Observation is marked with a status of "entered-in-error" or even "cancelled", we should not expect to pull in these data points into the application.
To better filter through the Observations during data retrieval, there should be a conditional to check on the status property of an Observation value. One such check is for the status on an Observation value to be final or amended, as these values would most likely be accurate to display within the growth chart. The rest of the Observations that don't match those status values would then be ignored.
Currently, the growth chart application will read through all Observations returned from FHIR and display them within the application accordingly on the chart and graph view. However, if an Observation is marked with a status of "entered-in-error" or even "cancelled", we should not expect to pull in these data points into the application.
To better filter through the Observations during data retrieval, there should be a conditional to check on the
status
property of an Observation value. One such check is for the status on an Observation value to befinal
oramended
, as these values would most likely be accurate to display within the growth chart. The rest of the Observations that don't match those status values would then be ignored.