diff --git a/app/Controllers/Ipd_discharge.php b/app/Controllers/Ipd_discharge.php index 6ac0c21..afffebc 100644 --- a/app/Controllers/Ipd_discharge.php +++ b/app/Controllers/Ipd_discharge.php @@ -1873,13 +1873,28 @@ class Ipd_discharge extends BaseController // It is available as {{PATIENT_INFO_TABLE}} token for templates to use if needed. // This matches CI3 behavior where template controlled the patient info display. - // Build Discharge Summary section - ONLY the status header + // Build Discharge Summary section with status header and free-text content // Get discharge status text based on ipd_status from ipd_discharg_status table $dischargeStatusHeader = $this->getDischargeStatusText($ipd); - if ($dischargeStatusHeader !== '') { - // {{DISCHARGE_SUMMARY}} placeholder - ONLY the status header, no additional info - $sections[] = '