Skip to content

Commit

Permalink
Update list-document-reference.component.ts
Browse files Browse the repository at this point in the history
Current shows mostly "unknown". This accurately reflects the category for all docs.
  • Loading branch information
OhHeyAlan authored and AnalogJ committed Sep 5, 2023
1 parent 9be431c commit 25f37f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export class ListDocumentReferenceComponent extends ListGenericResourceComponent
columnDefinitions: GenericColumnDefn[] = [
{ title: 'Date', versions: '*', format: 'date', getter: d => d.date },
{ title: 'Content', versions: '*', getter: d => d.content?.[0]?.attachment.title },
{ title: 'Category', versions: '*', format: 'codeableConcept', getter: d => d.category?.[0] }, // Document category
{ title: 'Category', versions: '*', getter: d => d.type.text }, // Document category - This is more accurate. Previous mostly shows "unknown".
{ title: 'Author', versions: '*', getter: d => d.author?.[0]?.display }, // Whoever creates the document

]
Expand Down

0 comments on commit 25f37f3

Please # to comment.