+
{
errors={state.errors.taken_at}
/>
-
+
Round Type
{
errors={state.errors.rounds_type}
/>
+
+
+ Category
+
+ {
+ return { id: c, text: c };
+ })}
+ onChange={handleChange}
+ errors={state.errors.patient_category}
+ />
+
{!id && hasPreviousLog && (
@@ -629,6 +644,7 @@ export const DailyRounds = (props: any) => {
/>
)}
+
Action
{
+ return { id: o, text: o };
+ }),
+ ]}
onChange={handleChange}
className="bg-white h-10 shadow-sm md:text-sm md:leading-5 md:h-9"
/>
diff --git a/src/Components/Patient/models.tsx b/src/Components/Patient/models.tsx
index 0c844e13215..372e7b9e949 100644
--- a/src/Components/Patient/models.tsx
+++ b/src/Components/Patient/models.tsx
@@ -1,4 +1,4 @@
-import { ConsultationModel } from "../Facility/models";
+import { ConsultationModel, PatientCategory } from "../Facility/models";
export interface FlowModel {
id?: number;
@@ -258,7 +258,7 @@ export interface DailyRoundsModel {
id?: any;
other_symptoms?: string;
admitted_to?: string;
- patient_category?: string;
+ patient_category?: PatientCategory;
recommend_discharge?: boolean;
created_date?: string;
modified_date?: string;