Skip to content

Commit

Permalink
who charts implemented
Browse files Browse the repository at this point in the history
  • Loading branch information
eatyourpeas committed Dec 30, 2024
1 parent e53a3b8 commit 7f6a405
Show file tree
Hide file tree
Showing 13 changed files with 21,012 additions and 122,462 deletions.
123 changes: 123 additions & 0 deletions src/RCPCHChart/RCPCHChart.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -763,6 +763,129 @@ export const CentileChartWHOGirlsHeight: Story = {
},
};

export const CentileChartWHOGirlsWeight: Story = {
args: {
title: 'Patient Name - Hospital Number',
measurementMethod: 'weight',
reference: 'who',
sex: 'female',
measurements: {
weight: [],
},
midParentalHeightData: {},
enableZoom: true,
chartType: 'centile',
enableExport: false,
exportChartCallback: () => {},
theme: 'tanner1',
customThemeStyles: {},
clinicianFocus: true,
logoVariant: 'bottom',
},
};

export const CentileChartWHOGirlsHeadCircumference: Story = {
args: {
title: 'Patient Name - Hospital Number',
measurementMethod: 'ofc',
reference: 'who',
sex: 'female',
measurements: {
ofc: [],
},
midParentalHeightData: {},
enableZoom: true,
chartType: 'centile',
enableExport: false,
exportChartCallback: () => {},
theme: 'tanner1',
customThemeStyles: {},
clinicianFocus: true,
logoVariant: 'bottom',
},
};

export const CentileChartWHOGirlsBMI: Story = {
args: {
title: 'Patient Name - Hospital Number',
measurementMethod: 'bmi',
reference: 'who',
sex: 'female',
measurements: {
bmi: [],
},
midParentalHeightData: {},
enableZoom: true,
chartType: 'centile',
enableExport: false,
exportChartCallback: () => {},
theme: 'tanner1',
customThemeStyles: {},
clinicianFocus: true,
logoVariant: 'bottom',
},
};

export const CentileChartWHOBoysWeight: Story = {
args: {
title: 'Patient Name - Hospital Number',
measurementMethod: 'weight',
reference: 'who',
sex: 'male',
measurements: {
weight: [],
},
midParentalHeightData: {},
enableZoom: true,
chartType: 'centile',
enableExport: false,
exportChartCallback: () => {},
theme: 'tanner2',
customThemeStyles: {},
clinicianFocus: true,
},
};

export const CentileChartWHOBoysBMI: Story = {
args: {
title: 'Patient Name - Hospital Number',
measurementMethod: 'bmi',
reference: 'who',
sex: 'male',
measurements: {
bmi: [],
},
midParentalHeightData: {},
enableZoom: true,
chartType: 'centile',
enableExport: false,
exportChartCallback: () => {},
theme: 'tanner2',
customThemeStyles: {},
clinicianFocus: true,
},
};

export const CentileChartWHOBoysHeadCircumference: Story = {
args: {
title: 'Patient Name - Hospital Number',
measurementMethod: 'ofc',
reference: 'who',
sex: 'male',
measurements: {
ofc: [],
},
midParentalHeightData: {},
enableZoom: true,
chartType: 'centile',
enableExport: false,
exportChartCallback: () => {},
theme: 'tanner2',
customThemeStyles: {},
clinicianFocus: true,
},
};

export const TomatoCentileChart: Story = {
args: {
title: 'Patient Name - Hospital Number',
Expand Down
Loading

0 comments on commit 7f6a405

Please sign in to comment.