Update list-diagnostic-report.component.ts

This commit is contained in:
OhHeyAlan 2023-08-04 00:21:48 -05:00 committed by Jason Kulatunga
parent 69e0d1927c
commit 13c07c7ecd
1 changed files with 4 additions and 2 deletions

View File

@ -9,8 +9,10 @@ import {attributeXTime} from './utils';
})
export class ListDiagnosticReportComponent extends ListGenericResourceComponent {
columnDefinitions: GenericColumnDefn[] = [
{ title: 'Code', versions: '*', format: 'code', getter: d => d.code.coding[0] },
{ title: 'Issued', versions: '*', format: 'date', getter: d => d.issued },
{ title: 'Performer', versions: '*', getter: d => d.performer.display },
{ title: 'Title', versions: '*', getter: d => d.code.text },
{ title: 'Document Title', versions: '*', getter: d => d.presentedForm[0].title }, //Doc title
{ title: 'Author', versions: '*', getter: d => d.performer[0].display },
]
}