Update list-medication.component.ts
Fixed to display medication name. Status and Rx date still not in FHIR response.
This commit is contained in:
parent
f32004498a
commit
24f1e92d71
|
@ -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: '*', format: 'codeableConcept', getter: c => c.medicationCodeableConcept },
|
{ title: 'Medication', versions: '*', getter: c => c.code.text },
|
||||||
{ 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