{str("Bilateral Air Entry")}
@@ -225,19 +242,18 @@ let make = (~ventilatorParameters: VentilatorParameters.t, ~id, ~consultationId,
id="bilateral-air-entry-yes"
label="Yes"
checked={switch state.bilateral_air_entry {
- | Some(bae) => bae
- | None => false
+ | Some(bae) => bae
+ | None => false
}}
onChange={_ => send(SetBilateralAirEntry(Some(true)))}
/>
-
!bae
- | None => false
+ | Some(bae) => !bae
+ | None => false
}}
onChange={_ => send(SetBilateralAirEntry(Some(false)))}
/>
@@ -255,7 +271,6 @@ let make = (~ventilatorParameters: VentilatorParameters.t, ~id, ~consultationId,
hasError={ValidationUtils.isInputInRangeInt(0, 200, state.etco2)}
/>
-
{str("Respiratory Support")}
@@ -282,10 +297,43 @@ let make = (~ventilatorParameters: VentilatorParameters.t, ~id, ~consultationId,
+
toggleOpen()}
+ className="md:max-w-3xl">
+ toggleOpen()}
+ />
+
}
diff --git a/src/Components/Facility/Consultations/Beds.res b/src/Components/Facility/Consultations/Beds.res
new file mode 100644
index 00000000000..6e356172147
--- /dev/null
+++ b/src/Components/Facility/Consultations/Beds.res
@@ -0,0 +1,18 @@
+type reactClass
+module Beds = {
+ @module("./Beds.tsx") @react.component
+ external make: (
+ ~facilityId: string,
+ ~patientId: string,
+ ~consultationId: string,
+ ~setState: unit => unit,
+ ) => React.element = "default"
+}
+
+@react.component
+let make = (
+ ~facilityId: string,
+ ~patientId: string,
+ ~consultationId: string,
+ ~setState: unit => unit,
+) =>