Skip to content

Commit 5eed4b4

Browse files
committed
Fixed spo2 field error
1 parent 10369c5 commit 5eed4b4

File tree

1 file changed

+12
-37
lines changed

1 file changed

+12
-37
lines changed

src/components/Patient/DailyRounds.tsx

+12-37
Original file line numberDiff line numberDiff line change
@@ -714,17 +714,22 @@ export const DailyRounds = (props: any) => {
714714
{
715715
value: 0,
716716
className: "text-danger-500",
717-
label: "Low",
717+
label: t("SPO2_LEVEL_SEVERE_HYPOXEMIA"),
718718
},
719719
{
720-
value: 90,
721-
className: "text-primary-500",
722-
label: "Normal",
720+
value: 86,
721+
className: "text-danger-500",
722+
label: t("SPO2_LEVEL_MODERATE_HYPOXEMIA"),
723723
},
724724
{
725-
value: 100,
726-
className: "text-danger-500",
727-
label: "High",
725+
value: 91,
726+
className: "text-warning-400",
727+
label: t("SPO2_LEVEL_MILD_HYPOXEMIA"),
728+
},
729+
{
730+
value: 95,
731+
className: "text-primary-500",
732+
label: t("SPO2_LEVEL_NORMAL"),
728733
},
729734
]}
730735
/>
@@ -790,36 +795,6 @@ export const DailyRounds = (props: any) => {
790795
]}
791796
/>
792797

793-
<TextFormField
794-
{...field("ventilator_spo2")}
795-
labelSuffix="%"
796-
type="number"
797-
min={0}
798-
max={100}
799-
thresholds={[
800-
{
801-
value: 0,
802-
className: "text-danger-500",
803-
label: t("SPO2_LEVEL_SEVERE_HYPOXEMIA"),
804-
},
805-
{
806-
value: 86,
807-
className: "text-danger-500",
808-
label: t("SPO2_LEVEL_MODERATE_HYPOXEMIA"),
809-
},
810-
{
811-
value: 91,
812-
className: "text-warning-400",
813-
label: t("SPO2_LEVEL_MILD_HYPOXEMIA"),
814-
},
815-
{
816-
value: 95,
817-
className: "text-primary-500",
818-
label: t("SPO2_LEVEL_NORMAL"),
819-
},
820-
]}
821-
/>
822-
823798
<SelectFormField
824799
{...field("rhythm")}
825800
placeholder={t("HEARTBEAT_RHYTHM__UNKNOWN")}

0 commit comments

Comments
 (0)