diff --git a/src/Common/constants.tsx b/src/Common/constants.tsx
index e51494f6bac..0b08b4b9a42 100644
--- a/src/Common/constants.tsx
+++ b/src/Common/constants.tsx
@@ -499,6 +499,7 @@ export const TELEMEDICINE_ACTIONS = [
{ id: 60, text: "COMPLETE", desc: "Complete" },
{ id: 70, text: "REVIEW", desc: "Review" },
{ id: 80, text: "NOT_REACHABLE", desc: "Not Reachable" },
+ { id: 90, text: "DISCHARGE_RECOMMENDED", desc: "Discharge Recommended" },
];
export const FRONTLINE_WORKER = [
diff --git a/src/Components/Patient/DailyRounds.tsx b/src/Components/Patient/DailyRounds.tsx
index a84ad4a3e8b..ff749aed29e 100644
--- a/src/Components/Patient/DailyRounds.tsx
+++ b/src/Components/Patient/DailyRounds.tsx
@@ -1,40 +1,40 @@
import { navigate } from "raviger";
-import { useCallback, useState, useEffect, lazy } from "react";
+import dayjs from "dayjs";
+import { lazy, useCallback, useEffect, useState } from "react";
import { useDispatch } from "react-redux";
import {
- TELEMEDICINE_ACTIONS,
+ PATIENT_CATEGORIES,
REVIEW_AT_CHOICES,
RHYTHM_CHOICES,
- PATIENT_CATEGORIES,
+ TELEMEDICINE_ACTIONS,
} from "../../Common/constants";
+import useAppHistory from "../../Common/hooks/useAppHistory";
import { statusType, useAbortableEffect } from "../../Common/utils";
import {
createDailyReport,
getConsultationDailyRoundsDetails,
getDailyReport,
- updateDailyReport,
getPatient,
+ updateDailyReport,
} from "../../Redux/actions";
+import { DraftSection, useAutoSaveReducer } from "../../Utils/AutoSave";
import * as Notification from "../../Utils/Notifications";
import { formatDateTime } from "../../Utils/utils";
-import TextAreaFormField from "../Form/FormFields/TextAreaFormField";
-import { Cancel, Submit } from "../Common/components/ButtonV2";
-import useAppHistory from "../../Common/hooks/useAppHistory";
-import { DraftSection, useAutoSaveReducer } from "../../Utils/AutoSave";
-import Page from "../Common/components/Page";
-import { FieldChangeEvent } from "../Form/FormFields/Utils";
-import TextFormField from "../Form/FormFields/TextFormField";
-import { SelectFormField } from "../Form/FormFields/SelectFormField";
-import PatientCategorySelect from "./PatientCategorySelect";
-import CheckBoxFormField from "../Form/FormFields/CheckBoxFormField";
-import { SymptomsSelect } from "../Common/SymptomsSelect";
-import RangeAutocompleteFormField from "../Form/FormFields/RangeAutocompleteFormField";
import BloodPressureFormField, {
meanArterialPressure,
} from "../Common/BloodPressureFormField";
+import { SymptomsSelect } from "../Common/SymptomsSelect";
import TemperatureFormField from "../Common/TemperatureFormField";
-import dayjs from "dayjs";
+import { Cancel, Submit } from "../Common/components/ButtonV2";
+import Page from "../Common/components/Page";
+import CheckBoxFormField from "../Form/FormFields/CheckBoxFormField";
+import RangeAutocompleteFormField from "../Form/FormFields/RangeAutocompleteFormField";
+import { SelectFormField } from "../Form/FormFields/SelectFormField";
+import TextAreaFormField from "../Form/FormFields/TextAreaFormField";
+import TextFormField from "../Form/FormFields/TextFormField";
+import { FieldChangeEvent } from "../Form/FormFields/Utils";
+import PatientCategorySelect from "./PatientCategorySelect";
const Loading = lazy(() => import("../Common/Loading"));
const initForm: any = {
@@ -44,8 +44,7 @@ const initForm: any = {
other_details: "",
patient_category: "",
current_health: 0,
- recommend_discharge: false,
- action: null,
+ actions: null,
review_interval: 0,
admitted_to: "",
taken_at: null,
@@ -274,7 +273,6 @@ export const DailyRounds = (props: any) => {
physical_examination_info: state.form.physical_examination_info,
other_details: state.form.other_details,
consultation: consultationId,
- recommend_discharge: JSON.parse(state.form.recommend_discharge),
action: prevAction,
review_interval: Number(prevReviewInterval),
};
@@ -516,12 +514,6 @@ export const DailyRounds = (props: any) => {
}}
/>
-
- {formatAge(patient.age, patient.date_of_birth, true)}
- •
- {patient.gender}
- {consultation?.suggestion === "DC" && (
- <>
- •
-
-