Update list-medication.component.ts
using codeableConcept formatter
This commit is contained in:
parent
24f1e92d71
commit
e0373a9ec9
|
@ -8,7 +8,7 @@ import {GenericColumnDefn, ListGenericResourceComponent} from './list-generic-re
|
||||||
})
|
})
|
||||||
export class ListMedicationComponent extends ListGenericResourceComponent {
|
export class ListMedicationComponent extends ListGenericResourceComponent {
|
||||||
columnDefinitions: GenericColumnDefn[] = [
|
columnDefinitions: GenericColumnDefn[] = [
|
||||||
{ title: 'Medication', versions: '*', getter: c => c.code.text },
|
{ title: 'Medication', versions: '*', format: 'codeableConcept', getter: c => c.code },
|
||||||
{ title: 'Date Prescribed', versions: '*', format: 'date', getter: c => c.authoredOn },
|
{ title: 'Date Prescribed', versions: '*', format: 'date', getter: c => c.authoredOn },
|
||||||
{ title: 'Status', 'versions': '*', getter: c => c.status }
|
{ title: 'Status', 'versions': '*', getter: c => c.status }
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue