diff --git a/packages/esm-commons-lib/src/components/banner-tags/patient-status-tag.component.tsx b/packages/esm-commons-lib/src/components/banner-tags/patient-status-tag.component.tsx index d65480733..049c04451 100644 --- a/packages/esm-commons-lib/src/components/banner-tags/patient-status-tag.component.tsx +++ b/packages/esm-commons-lib/src/components/banner-tags/patient-status-tag.component.tsx @@ -25,11 +25,11 @@ export function PatientStatusBannerTag({ patientUuid }) { {hivStatus === 'negative' && {t('hivNegative', 'HIV Negative')}} {/* Mother Name Display (if patient is under 10) */} - {patientAge !== null && patientAge <= 10 && motherName && Mother: {motherName}} + {patientAge !== null && patientAge <= 14 && motherName && Mother: {motherName}} {/* Children Names Display (if patient is female and over 10) */} - {patientAge !== null && patientAge > 10 && patientGender === 'F' && childrenNames.length > 0 && ( - Children: {childrenNames.join(', ')} + {patientAge !== null && patientAge > 14 && patientGender === 'F' && childrenNames.length > 0 && ( + Children: {childrenNames.join(' || ')} )} );