Update list-observation.component.ts

This commit is contained in:
OhHeyAlan 2023-08-04 00:16:56 -05:00 committed by Jason Kulatunga
parent 54e644bfed
commit 45059fa8fd
1 changed files with 4 additions and 2 deletions

View File

@ -9,10 +9,12 @@ import {GenericColumnDefn, ListGenericResourceComponent} from './list-generic-re
})
export class ListObservationComponent extends ListGenericResourceComponent {
columnDefinitions: GenericColumnDefn[] = [
{ title: 'Issued Date', 'versions': '*', format: 'date', getter: o => o.issued },
// { title: 'Effective', 'versions': '*', getter: o => attributeXTime(o,'effective') },
{ title: 'Effective', 'versions': '*', getter: o => attributeXTime(o,'effective') },
{ title: 'Observation', versions: '*', format: 'code', getter: o => o.code.coding[0] },
{ title: 'Value', versions: '*', getter: o => obsValue(o) },
{ title: 'Effective', 'versions': '*', getter: o => attributeXTime(o,'effective') },
{ title: 'Issued Date', 'versions': '*', format: 'date', getter: o => o.issued },
// { title: 'Issued Date', 'versions': '*', format: 'date', getter: o => o.issued },
{ title: 'ID', versions: '*', getter: o => o.id }
]
}