diff --git a/src/Components/Facility/TreatmentSummary.tsx b/src/Components/Facility/TreatmentSummary.tsx index d0d1658cd61..a83cb64ec66 100644 --- a/src/Components/Facility/TreatmentSummary.tsx +++ b/src/Components/Facility/TreatmentSummary.tsx @@ -78,9 +78,13 @@ const TreatmentSummary = (props: any) => {
- Date of admission : + {consultationData?.suggestion === "DC" ? ( + Date of domiciliary care commenced : + ) : ( + Date of admission : + )} - {consultationData?.admitted + {consultationData?.encounter_date ? formatDateTime(consultationData.encounter_date) : " --/--/----"} diff --git a/src/Components/Patient/PatientInfoCard.tsx b/src/Components/Patient/PatientInfoCard.tsx index b2f00dd1cc3..cb73739b3ba 100644 --- a/src/Components/Patient/PatientInfoCard.tsx +++ b/src/Components/Patient/PatientInfoCard.tsx @@ -401,7 +401,9 @@ export default function PatientInfoCard(props: { {consultation?.encounter_date && (
- Admission on:{" "} + {consultation.suggestion === "DC" + ? "Commenced on: " + : "Admitted on: "} {formatDateTime(consultation?.encounter_date)}
)}