Skip to content

Commit

Permalink
fix broken trisomy-21 chart
Browse files Browse the repository at this point in the history
  • Loading branch information
eatyourpeas committed Dec 30, 2024
1 parent 96adc1e commit b704fc0
Show file tree
Hide file tree
Showing 4 changed files with 4,387 additions and 14,423 deletions.
160 changes: 160 additions & 0 deletions src/RCPCHChart/RCPCHChart.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -886,6 +886,166 @@ export const CentileChartWHOBoysHeadCircumference: Story = {
},
};

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

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

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

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

export const CentileChartTrisomy21GirlsHeight: Story = {
args: {
title: 'Patient Name - Hospital Number',
measurementMethod: 'height',
reference: 'trisomy-21',
sex: 'female',
measurements: {
height: [],
},
midParentalHeightData: {},
enableZoom: true,
chartType: 'centile',
enableExport: false,
exportChartCallback: () => {},
theme: 'tanner3',
customThemeStyles: {},
clinicianFocus: true,
},
};

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

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

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

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

0 comments on commit b704fc0

Please sign in to comment.