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

WHO-reference #139

Merged
merged 8 commits into from
Dec 31, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
who charts implemented
  • Loading branch information
eatyourpeas committed Dec 30, 2024
commit 7f6a4050914046f0f0a5a3c31fb3bb18e8d047d0
123 changes: 123 additions & 0 deletions src/RCPCHChart/RCPCHChart.stories.tsx
Original file line number Diff line number Diff line change
@@ -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',
Loading
Oops, something went wrong.
Loading
Oops, something went wrong.