diff --git a/src/prescriptions/prescription-tab-panel.component.tsx b/src/prescriptions/prescription-tab-panel.component.tsx index 48def7f..d8964a4 100644 --- a/src/prescriptions/prescription-tab-panel.component.tsx +++ b/src/prescriptions/prescription-tab-panel.component.tsx @@ -47,6 +47,14 @@ const PrescriptionTabPanel: React.FC = ({ searchTerm, config.refreshInterval, ); + // dynamic status keys we need to maintain + // t('active', 'Active') + // t('paused', 'Paused') + // t('closed', 'Closed') + // t('completed', 'Completed') + // t('expired', 'Expired') + // t('cancelled', 'Cancelled') + let columns = [ { header: t('created', 'Created'), key: 'created' }, { header: t('patientName', 'Patient name'), key: 'patient' }, diff --git a/translations/en.json b/translations/en.json index e96399e..86c1abf 100644 --- a/translations/en.json +++ b/translations/en.json @@ -1,4 +1,5 @@ { + "active": "Active", "activePrescriptions": "Active prescriptions", "age": "Age", "allergiesCount_one": "{{count}} allergy",