diff --git a/src/components/Assets/AssetType/HL7Monitor.tsx b/src/components/Assets/AssetType/HL7Monitor.tsx index 269deacbf58..57d30d6cc45 100644 --- a/src/components/Assets/AssetType/HL7Monitor.tsx +++ b/src/components/Assets/AssetType/HL7Monitor.tsx @@ -1,15 +1,16 @@ import { SyntheticEvent, useEffect, useState } from "react"; -import Card from "@/CAREUI/display/Card"; import CareIcon from "@/CAREUI/icons/CareIcon"; +import { Button } from "@/components/ui/button"; +import { Card } from "@/components/ui/card"; + import { AssetClass, AssetData, ResolvedMiddleware, } from "@/components/Assets/AssetTypes"; import { BedSelect } from "@/components/Common/BedSelect"; -import { Submit } from "@/components/Common/ButtonV2"; import Loading from "@/components/Common/Loading"; import { BedModel } from "@/components/Facility/models"; import { FieldLabel } from "@/components/Form/FormFields/FormField"; @@ -91,7 +92,7 @@ const HL7Monitor = (props: HL7MonitorProps) => {
{["DistrictAdmin", "StateAdmin"].includes(authUser.user_type) && (
- +

Connection

@@ -127,15 +128,19 @@ const HL7Monitor = (props: HL7MonitorProps) => { required error={ipadrdress_error} /> - +
{["HL7MONITOR"].includes(assetType) && ( - + )} @@ -150,6 +155,7 @@ const HL7Monitor = (props: HL7MonitorProps) => { hideFooter={true} /> )} + {assetType === "VENTILATOR" && (
- +
); diff --git a/src/components/VitalsMonitor/HL7PatientVitalsMonitor.tsx b/src/components/VitalsMonitor/HL7PatientVitalsMonitor.tsx index 662d2786a32..797cbb6a666 100644 --- a/src/components/VitalsMonitor/HL7PatientVitalsMonitor.tsx +++ b/src/components/VitalsMonitor/HL7PatientVitalsMonitor.tsx @@ -47,7 +47,7 @@ export default function HL7PatientVitalsMonitor(props: IVitalsComponentProps) { ); return ( -
+
{props.hideHeader ? null : ( )} @@ -150,7 +150,7 @@ export default function HL7PatientVitalsMonitor(props: IVitalsComponentProps) {
-
+
( -
+
{children}
); diff --git a/src/components/VitalsMonitor/VentilatorPatientVitalsMonitor.tsx b/src/components/VitalsMonitor/VentilatorPatientVitalsMonitor.tsx index c75ee5f2510..dbdc6b4bff1 100644 --- a/src/components/VitalsMonitor/VentilatorPatientVitalsMonitor.tsx +++ b/src/components/VitalsMonitor/VentilatorPatientVitalsMonitor.tsx @@ -25,12 +25,12 @@ export default function VentilatorPatientVitalsMonitor( }, [props.socketUrl]); return ( -
+
{props.hideHeader ? null : ( )}
-
+