@@ -222,25 +238,15 @@ let make = (~id, ~facilityId, ~patientId, ~consultationId, ~dailyRound) => {
className="bg-white px-2 md:px-6 py-5 border-b border-gray-200 sm:px-6 max-w-5xl mx-auto border mt-4 shadow rounded-lg">
{str("Record Updates")}
- {basicEditor(~facilityId, ~patientId, ~consultationId, ~id)} {Js.Array.map(editor => {
+ {basicEditor(~facilityId, ~patientId, ~consultationId, ~id)}
+ {Js.Array.map(editor => {
editorToggle(editor, state, send)
- }, [
- HemodynamicParametersEditor,
- NeurologicalMonitoringEditor,
- VentilatorParametersEditor,
- ArterialBloodGasAnalysisEditor,
- BloodSugarEditor,
- IOBalanceEditor,
- DialysisEditor,
- PressureSoreEditor,
- NursingCareEditor,
- ])->React.array}
+ }, sections)->React.array}
diff --git a/src/Components/Patient/DailyRounds.tsx b/src/Components/Patient/DailyRounds.tsx
index 2bb544327be..97ee038362b 100644
--- a/src/Components/Patient/DailyRounds.tsx
+++ b/src/Components/Patient/DailyRounds.tsx
@@ -343,11 +343,7 @@ export const DailyRounds = (props: any) => {
Notification.Success({
msg: `${t(obj.rounds_type as string)} log updated successfully`,
});
- if (
- ["NORMAL", "TELEMEDICINE", "DOCTORS_LOG"].includes(
- state.form.rounds_type,
- )
- ) {
+ if (["NORMAL", "TELEMEDICINE"].includes(state.form.rounds_type)) {
navigate(
`/facility/${facilityId}/patient/${patientId}/consultation/${consultationId}`,
);
@@ -369,11 +365,7 @@ export const DailyRounds = (props: any) => {
msg: `${t(state.form.rounds_type)} log created successfully`,
});
- if (
- ["NORMAL", "TELEMEDICINE", "DOCTORS_LOG"].includes(
- state.form.rounds_type,
- )
- ) {
+ if (["NORMAL", "TELEMEDICINE"].includes(state.form.rounds_type)) {
navigate(
`/facility/${facilityId}/patient/${patientId}/consultation/${consultationId}`,
);