Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [CGC-46] Faciliate for Percentiles #49

Merged
merged 12 commits into from
Mar 22, 2024
22 changes: 11 additions & 11 deletions i18n/en.pot
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,8 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"POT-Creation-Date: 2024-03-22T16:48:14.724Z\n"
"PO-Revision-Date: 2024-03-22T16:48:14.724Z\n"

msgid "Growth Chart"
msgstr "Growth Chart"

msgid "There was an error fetching the config for the growth chart."
msgstr "There was an error fetching the config for the growth chart."

msgid "Please check the configuration in Datastore Management and try again."
msgstr "Please check the configuration in Datastore Management and try again."
"POT-Creation-Date: 2024-03-22T20:34:59.747Z\n"
"PO-Revision-Date: 2024-03-22T20:34:59.747Z\n"

msgid "Date"
msgstr "Date"
Expand All @@ -26,6 +17,9 @@ msgstr "Height"
msgid "Weight"
msgstr "Weight"

msgid "Growth Chart"
msgstr "Growth Chart"

msgid "Months"
msgstr "Months"

Expand Down Expand Up @@ -68,6 +62,12 @@ msgstr "Boy"
msgid "Girl"
msgstr "Girl"

msgid "There was an error fetching the config for the growth chart."
msgstr "There was an error fetching the config for the growth chart."

msgid "Please check the configuration in Datastore Management and try again."
msgstr "Please check the configuration in Datastore Management and try again."

msgid "Year"
msgstr "Year"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ import { wfa_b_0_5_y_z, wfa_b_0_13_w_z } from './ZScores/wfa-boys';
import { wfa_g_0_5_y_z, wfa_g_0_13_w_z } from './ZScores/wfa-girls';
import { wfh_g_2_5_y_z, wfl_g_0_2_y_z } from './ZScores/wfhl-girls';
import { wfh_b_2_5_y_z, wfl_b_0_2_y_z } from './ZScores/wfhl-boys';
import { hcfa_b_0_5_y_p, hcfa_b_0_13_w_p } from './Percentiles/hcfa-boys';
import { hcfa_g_0_5_y_p, hcfa_g_0_13_w_p } from './Percentiles/hcfa-girls';
import { lhfa_b_0_2_y_p, lhfa_b_0_13_w_p, lhfa_b_2_5_y_p } from './Percentiles/lhfa-boys';
import { lhfa_g_0_2_y_p, lhfa_g_0_13_w_p, lhfa_g_2_5_y_p } from './Percentiles/lhfa-girls';
import { wfa_b_0_5_y_p, wfa_b_0_13_w_p } from './Percentiles/wfa-boys';
import { wfa_g_0_5_y_p, wfa_g_0_13_w_p } from './Percentiles/wfa-girls';
import { wfh_g_2_5_y_p, wfl_g_0_2_y_p } from './Percentiles/wfhl-girls';
import { wfh_b_2_5_y_p, wfl_b_0_2_y_p } from './Percentiles/wfhl-boys';
import { ChartCodes,
CategoryCodes,
MeasurementTypeCodesLabel,
Expand All @@ -22,7 +30,8 @@ export const chartData: ChartData = {
},
datasets: {
[ChartCodes.hcfa_b_0_13_w_z]: {
datasetValues: hcfa_b_0_13_w_z,
zScoreDatasetValues: hcfa_b_0_13_w_z,
percentileDatasetValues: hcfa_b_0_13_w_p,
metadata: {
chartLabel: ChartCodes.hcfa_b_0_13_w_z,
xAxisLabel: TimeUnitCodes.weeks,
Expand All @@ -31,7 +40,8 @@ export const chartData: ChartData = {
},
},
[ChartCodes.hcfa_b_0_5_y_z]: {
datasetValues: hcfa_b_0_5_y_z,
zScoreDatasetValues: hcfa_b_0_5_y_z,
percentileDatasetValues: hcfa_b_0_5_y_p,
metadata: {
chartLabel: ChartCodes.hcfa_b_0_5_y_z.label,
xAxisLabel: TimeUnitCodes.months,
Expand All @@ -48,7 +58,8 @@ export const chartData: ChartData = {
},
datasets: {
[ChartCodes.hcfa_g_0_13_w_z]: {
datasetValues: hcfa_g_0_13_w_z,
zScoreDatasetValues: hcfa_g_0_13_w_z,
percentileDatasetValues: hcfa_g_0_13_w_p,
metadata: {
chartLabel: ChartCodes.hcfa_g_0_13_w_z,
xAxisLabel: TimeUnitCodes.weeks,
Expand All @@ -57,7 +68,8 @@ export const chartData: ChartData = {
},
},
[ChartCodes.hcfa_g_0_5_y_z]: {
datasetValues: hcfa_g_0_5_y_z,
zScoreDatasetValues: hcfa_g_0_5_y_z,
percentileDatasetValues: hcfa_g_0_5_y_p,
metadata: {
chartLabel: ChartCodes.hcfa_g_0_5_y_z,
xAxisLabel: TimeUnitCodes.months,
Expand All @@ -74,7 +86,8 @@ export const chartData: ChartData = {
},
datasets: {
[ChartCodes.lhfa_b_0_13_w_z]: {
datasetValues: lhfa_b_0_13_w_z,
zScoreDatasetValues: lhfa_b_0_13_w_z,
percentileDatasetValues: lhfa_b_0_13_w_p,
metadata: {
chartLabel: ChartCodes.lhfa_b_0_13_w_z,
xAxisLabel: TimeUnitCodes.weeks,
Expand All @@ -83,7 +96,8 @@ export const chartData: ChartData = {
},
},
[ChartCodes.lhfa_b_0_2_y_z]: {
datasetValues: lhfa_b_0_2_y_z,
zScoreDatasetValues: lhfa_b_0_2_y_z,
percentileDatasetValues: lhfa_b_0_2_y_p,
metadata: {
chartLabel: ChartCodes.lhfa_b_0_2_y_z,
xAxisLabel: TimeUnitCodes.months,
Expand All @@ -92,7 +106,8 @@ export const chartData: ChartData = {
},
},
[ChartCodes.lhfa_b_2_5_y_z]: {
datasetValues: lhfa_b_2_5_y_z,
zScoreDatasetValues: lhfa_b_2_5_y_z,
percentileDatasetValues: lhfa_b_2_5_y_p,
metadata: {
chartLabel: ChartCodes.lhfa_b_2_5_y_z,
xAxisLabel: TimeUnitCodes.months,
Expand All @@ -109,7 +124,8 @@ export const chartData: ChartData = {
},
datasets: {
[ChartCodes.lhfa_g_0_13_w_z]: {
datasetValues: lhfa_g_0_13_w_z,
zScoreDatasetValues: lhfa_g_0_13_w_z,
percentileDatasetValues: lhfa_g_0_13_w_p,
metadata: {
chartLabel: ChartCodes.lhfa_g_0_13_w_z,
xAxisLabel: TimeUnitCodes.weeks,
Expand All @@ -118,7 +134,8 @@ export const chartData: ChartData = {
},
},
[ChartCodes.lhfa_g_0_2_y_z]: {
datasetValues: lhfa_g_0_2_y_z,
zScoreDatasetValues: lhfa_g_0_2_y_z,
percentileDatasetValues: lhfa_g_0_2_y_p,
metadata: {
chartLabel: ChartCodes.lhfa_g_0_2_y_z.label,
xAxisLabel: TimeUnitCodes.months,
Expand All @@ -127,7 +144,8 @@ export const chartData: ChartData = {
},
},
[ChartCodes.lhfa_g_2_5_y_z]: {
datasetValues: lhfa_g_2_5_y_z,
zScoreDatasetValues: lhfa_g_2_5_y_z,
percentileDatasetValues: lhfa_g_2_5_y_p,
metadata: {
chartLabel: ChartCodes.lhfa_g_2_5_y_z,
xAxisLabel: TimeUnitCodes.months,
Expand All @@ -144,7 +162,8 @@ export const chartData: ChartData = {
},
datasets: {
[ChartCodes.wfa_b_0_13_w_z]: {
datasetValues: wfa_b_0_13_w_z,
zScoreDatasetValues: wfa_b_0_13_w_z,
percentileDatasetValues: wfa_b_0_13_w_p,
metadata: {
chartLabel: ChartCodes.wfa_b_0_13_w_z,
xAxisLabel: TimeUnitCodes.weeks,
Expand All @@ -153,7 +172,8 @@ export const chartData: ChartData = {
},
},
[ChartCodes.wfa_b_0_5_y_z]: {
datasetValues: wfa_b_0_5_y_z,
zScoreDatasetValues: wfa_b_0_5_y_z,
percentileDatasetValues: wfa_b_0_5_y_p,
metadata: {
chartLabel: ChartCodes.wfa_b_0_5_y_z.label,
xAxisLabel: TimeUnitCodes.months,
Expand All @@ -170,7 +190,8 @@ export const chartData: ChartData = {
},
datasets: {
[ChartCodes.wfa_g_0_13_w_z]: {
datasetValues: wfa_g_0_13_w_z,
zScoreDatasetValues: wfa_g_0_13_w_z,
percentileDatasetValues: wfa_g_0_13_w_p,
metadata: {
chartLabel: ChartCodes.wfa_g_0_13_w_z,
xAxisLabel: TimeUnitCodes.weeks,
Expand All @@ -179,7 +200,8 @@ export const chartData: ChartData = {
},
},
[ChartCodes.wfa_g_0_5_y_z]: {
datasetValues: wfa_g_0_5_y_z,
zScoreDatasetValues: wfa_g_0_5_y_z,
percentileDatasetValues: wfa_g_0_5_y_p,
metadata: {
chartLabel: ChartCodes.wfa_g_0_5_y_z.label,
xAxisLabel: TimeUnitCodes.months,
Expand All @@ -196,7 +218,8 @@ export const chartData: ChartData = {
},
datasets: {
[ChartCodes.wfl_b_0_2_y_z]: {
datasetValues: wfl_b_0_2_y_z,
zScoreDatasetValues: wfl_b_0_2_y_z,
percentileDatasetValues: wfl_b_0_2_y_p,
metadata: {
chartLabel: ChartCodes.wfl_b_0_2_y_z.label,
xAxisLabel: MeasurementTypeCodesLabel.length,
Expand All @@ -205,7 +228,8 @@ export const chartData: ChartData = {
},
},
[ChartCodes.wfh_b_2_5_y_z]: {
datasetValues: wfh_b_2_5_y_z,
zScoreDatasetValues: wfh_b_2_5_y_z,
percentileDatasetValues: wfh_b_2_5_y_p,
metadata: {
chartLabel: ChartCodes.wfh_b_2_5_y_z,
xAxisLabel: MeasurementTypeCodesLabel.height,
Expand All @@ -222,7 +246,8 @@ export const chartData: ChartData = {
},
datasets: {
[ChartCodes.wfl_g_0_2_y_z]: {
datasetValues: wfl_g_0_2_y_z,
zScoreDatasetValues: wfl_g_0_2_y_z,
percentileDatasetValues: wfl_g_0_2_y_p,
metadata: {
chartLabel: ChartCodes.wfl_g_0_2_y_z.label,
xAxisLabel: MeasurementTypeCodesLabel.length,
Expand All @@ -231,7 +256,8 @@ export const chartData: ChartData = {
},
},
[ChartCodes.wfh_g_2_5_y_z]: {
datasetValues: wfh_g_2_5_y_z,
zScoreDatasetValues: wfh_g_2_5_y_z,
percentileDatasetValues: wfh_g_2_5_y_p,
metadata: {
chartLabel: ChartCodes.wfh_g_2_5_y_z,
xAxisLabel: MeasurementTypeCodesLabel.height,
Expand Down
Loading
Loading