Skip to content

Commit

Permalink
Update list-document-reference.component.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
OhHeyAlan authored and AnalogJ committed Aug 9, 2023
1 parent 22ca083 commit 69e0d19
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

]
}

0 comments on commit 69e0d19

Please sign in to comment.