Skip to content

Commit

Permalink
Corrected Spelling mistake of daily rounds fields: ventilator_fi02 to…
Browse files Browse the repository at this point in the history
… ventilator_fio2 in frontend types definitions and usages (#8268)

Co-authored-by: rithviknishad <[email protected]>
  • Loading branch information
SagarSharma2809 and rithviknishad authored Aug 22, 2024
1 parent e59203d commit 48a0365
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions src/Components/Facility/Consultations/ABGPlots.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const ABGPlots = (props: any) => {
"lactate",
"sodium",
"potassium",
"ventilator_fi02",
"ventilator_fio2",
],
},
pathParams: {
Expand Down Expand Up @@ -144,7 +144,7 @@ export const ABGPlots = (props: any) => {
title="FIO2(Ventilator)(%)"
name="fio2"
xData={dates}
yData={yAxisData("ventilator_fi02")}
yData={yAxisData("ventilator_fio2")}
low={21}
high={60}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const PrimaryParametersPlot = ({
"insulin_intake_frequency",
"insulin_intake_dose",
"ventilator_spo2",
"ventilator_fi02",
"ventilator_fio2",
"rhythm",
"rhythm_detail",
],
Expand Down Expand Up @@ -195,7 +195,7 @@ export const PrimaryParametersPlot = ({
title="Ventilator FIO2 (%)"
name="fio2"
xData={dates}
yData={yAxisData("ventilator_fi02")}
yData={yAxisData("ventilator_fio2")}
low={21}
high={60}
/>
Expand Down
4 changes: 2 additions & 2 deletions src/Components/Facility/Consultations/VentilatorPlot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const VentilatorPlot = (props: any) => {
"ventilator_pressure_support",
"ventilator_tidal_volume",
"ventilator_peep",
"ventilator_fi02",
"ventilator_fio2",
"ventilator_spo2",
"etco2",
"bilateral_air_entry",
Expand Down Expand Up @@ -162,7 +162,7 @@ export const VentilatorPlot = (props: any) => {
title="FiO2"
name="FiO2"
xData={dates}
yData={yAxisData("ventilator_fi02")}
yData={yAxisData("ventilator_fio2")}
low={21}
high={60}
/>
Expand Down
12 changes: 6 additions & 6 deletions src/Components/Facility/models.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ export type ABGPlotsFields =
| "lactate"
| "sodium"
| "potassium"
| "ventilator_fi02";
| "ventilator_fio2";

export type ABGPlotsRes = {
ph: string;
Expand All @@ -297,7 +297,7 @@ export type ABGPlotsRes = {
lactate: string;
sodium: string;
potassium: string;
ventilator_fi02: number;
ventilator_fio2: number;
};

export type DialysisPlotsFields =
Expand Down Expand Up @@ -392,7 +392,7 @@ export type PrimaryParametersPlotFields =
| "insulin_intake_frequency"
| "insulin_intake_dose"
| "ventilator_spo2"
| "ventilator_fi02"
| "ventilator_fio2"
| "rhythm"
| "rhythm_detail";

Expand All @@ -409,7 +409,7 @@ export type PrimaryParametersPlotRes = {
insulin_intake_frequency: number;
insulin_intake_dose: string;
ventilator_spo2: number;
ventilator_fi02: number;
ventilator_fio2: number;
rhythm: number;
rhythm_detail: string;
};
Expand All @@ -421,7 +421,7 @@ export type VentilatorPlotFields =
| "ventilator_pressure_support"
| "ventilator_tidal_volume"
| "ventilator_peep"
| "ventilator_fi02"
| "ventilator_fio2"
| "ventilator_spo2"
| "etco2"
| "bilateral_air_entry"
Expand All @@ -435,7 +435,7 @@ export type VentilatorPlotRes = {
ventilator_pressure_support: number;
ventilator_tidal_volume: number;
ventilator_peep: string;
ventilator_fi02: number;
ventilator_fio2: number;
ventilator_spo2: number;
etco2: number;
bilateral_air_entry: boolean;
Expand Down
2 changes: 1 addition & 1 deletion src/Components/LogUpdate/CriticalCarePreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ export default function CriticalCarePreview(props: Props) {
FiO<sub>2</sub>
</span>
}
value={data.ventilator_fi02}
value={data.ventilator_fio2}
max={100}
unit="%"
valueDescriptions={rangeValueDescription({ high: 60 })}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ const OxygenRespiratorySupport = ({ log, onChange }: LogUpdateSectionProps) => {
</span>
}
unit="%"
name="ventilator_fi02"
onChange={(c) => onChange({ ventilator_fi02: c.value })}
value={log.ventilator_fi02}
name="ventilator_fio2"
onChange={(c) => onChange({ ventilator_fio2: c.value })}
value={log.ventilator_fio2}
min={21}
max={100}
valueDescriptions={rangeValueDescription({ high: 60 })}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const VentilatorFields = [
valueDescription: rangeValueDescription({}),
},
{
key: "ventilator_fi02",
key: "ventilator_fio2",
label: (
<span>
FiO<sub>2</sub>
Expand Down
2 changes: 1 addition & 1 deletion src/Components/Patient/models.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ export interface DailyRoundsModel {
ventilator_oxygen_modality?: (typeof OXYGEN_MODALITY_OPTIONS)[number]["value"];
ventilator_oxygen_modality_flow_rate?: number;
ventilator_oxygen_modality_oxygen_rate?: number;
ventilator_fi02?: number;
ventilator_fio2?: number;
ventilator_mode?: (typeof VENTILATOR_MODE_OPTIONS)[number];
ventilator_peep?: number;
ventilator_pip?: number;
Expand Down

0 comments on commit 48a0365

Please sign in to comment.