Update list-condition.component.ts

This commit is contained in:
OhHeyAlan 2023-08-04 00:22:47 -05:00 committed by Jason Kulatunga
parent 20c2dd0f44
commit 09640e50ae
1 changed files with 2 additions and 1 deletions

View File

@ -9,7 +9,8 @@ import {FORMATTERS} from './utils';
})
export class ListConditionComponent extends ListGenericResourceComponent {
columnDefinitions: GenericColumnDefn[] = [
{ title: 'Condition', versions: '*', format: 'code', getter: c => c.code.coding[0] },
// orig { title: 'Condition', versions: '*', format: 'code', getter: c => c.code.coding[0] },
{ title: 'Condition', versions: '*', getter: c => c.code.text },
{ title: 'Date of Onset', versions: '*', format: 'date', getter: c => c.onsetDateTime },
{ title: 'Date Resolved', 'versions': '*', format: 'date', getter: c => c.abatementDateTime, defaultValue: 'N/A' },
{ title: 'Recorded Date', versions: '*', format: 'date', getter: c => c.recordedDate },