From 24f1e92d7167e72b1dca438f2d9fd88afeb5e52e Mon Sep 17 00:00:00 2001 From: OhHeyAlan Date: Tue, 17 Oct 2023 12:15:02 -0500 Subject: [PATCH] Update list-medication.component.ts Fixed to display medication name. Status and Rx date still not in FHIR response. --- .../list-generic-resource/list-medication.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/components/list-generic-resource/list-medication.component.ts b/frontend/src/app/components/list-generic-resource/list-medication.component.ts index a17704d7..7ee1c183 100644 --- a/frontend/src/app/components/list-generic-resource/list-medication.component.ts +++ b/frontend/src/app/components/list-generic-resource/list-medication.component.ts @@ -8,7 +8,7 @@ import {GenericColumnDefn, ListGenericResourceComponent} from './list-generic-re }) export class ListMedicationComponent extends ListGenericResourceComponent { 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: 'Status', 'versions': '*', getter: c => c.status } ]