Skip to content

Commit

Permalink
Adjusted SpO2 thresholds and labels in DailyRounds component to match…
Browse files Browse the repository at this point in the history
… medical standards (#9118)
  • Loading branch information
AdityaJ2305 authored Nov 20, 2024
1 parent ff63195 commit 41ed5be
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
4 changes: 4 additions & 0 deletions public/locale/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,10 @@
"SORT_OPTIONS__name": "Patient name A-Z",
"SORT_OPTIONS__review_time": "Oldest review date first",
"SORT_OPTIONS__taken_at": "Oldest taken date first",
"SPO2_LEVEL_MILD_HYPOXEMIA": "Mild Hypoxemia",
"SPO2_LEVEL_MODERATE_HYPOXEMIA": "Moderate Hypoxemia",
"SPO2_LEVEL_NORMAL": "Normal",
"SPO2_LEVEL_SEVERE_HYPOXEMIA": "Severe Hypoxemia",
"Submit": "Submit",
"TELEMEDICINE": "Telemedicine",
"TRANSPORTATION TO BE ARRANGED": "Transportation",
Expand Down
19 changes: 12 additions & 7 deletions src/components/Patient/DailyRounds.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -800,17 +800,22 @@ export const DailyRounds = (props: any) => {
{
value: 0,
className: "text-danger-500",
label: "Low",
label: t("SPO2_LEVEL_SEVERE_HYPOXEMIA"),
},
{
value: 90,
className: "text-primary-500",
label: "Normal",
value: 86,
className: "text-danger-500",
label: t("SPO2_LEVEL_MODERATE_HYPOXEMIA"),
},
{
value: 100,
className: "text-danger-500",
label: "High",
value: 91,
className: "text-warning-400",
label: t("SPO2_LEVEL_MILD_HYPOXEMIA"),
},
{
value: 95,
className: "text-primary-500",
label: t("SPO2_LEVEL_NORMAL"),
},
]}
/>
Expand Down

0 comments on commit 41ed5be

Please sign in to comment.