Update list-document-reference.component.ts
This commit is contained in:
parent
22ca0837be
commit
69e0d1927c
|
@ -10,7 +10,9 @@ import {attributeXTime} from './utils';
|
|||
export class ListDocumentReferenceComponent extends ListGenericResourceComponent {
|
||||
columnDefinitions: GenericColumnDefn[] = [
|
||||
{ title: 'Date', versions: '*', format: 'date', getter: d => d.date },
|
||||
{ title: 'Content', versions: '*', getter: d => atob(d.content[0].attachment.data) }
|
||||
|
||||
{ title: 'Content', versions: '*', getter: d => d.content[0].attachment.title }, // cerner works
|
||||
{ title: 'Category', versions: '*', getter: d => d.category[0].text }, // Document category
|
||||
{ title: 'Author', versions: '*', getter: d => d.author[0].display }, // Whoever creates the document
|
||||
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue