diff --git a/frontend/src/app/components/list-generic-resource/list-medication.component.ts b/frontend/src/app/components/list-generic-resource/list-medication.component.ts index a17704d7c..11ddbfd5b 100644 --- a/frontend/src/app/components/list-generic-resource/list-medication.component.ts +++ b/frontend/src/app/components/list-generic-resource/list-medication.component.ts @@ -8,7 +8,7 @@ import {GenericColumnDefn, ListGenericResourceComponent} from './list-generic-re }) export class ListMedicationComponent extends ListGenericResourceComponent { columnDefinitions: GenericColumnDefn[] = [ - { title: 'Medication', versions: '*', format: 'codeableConcept', getter: c => c.medicationCodeableConcept }, + { title: 'Medication', versions: '*', format: 'codeableConcept', getter: c => c.code }, { title: 'Date Prescribed', versions: '*', format: 'date', getter: c => c.authoredOn }, { title: 'Status', 'versions': '*', getter: c => c.status } ]