From b17a83d754d2735d9c1367a4e123b4fdf1b05512 Mon Sep 17 00:00:00 2001 From: Tiago Alves Date: Sat, 14 May 2016 02:18:03 +0100 Subject: [PATCH] Requesting clinician added to the Medication Request list and edit sections. --- app/locales/en/translations.js | 1 + app/medication/edit/template.hbs | 6 ++++++ app/medication/index/template.hbs | 2 ++ 3 files changed, 9 insertions(+) diff --git a/app/locales/en/translations.js b/app/locales/en/translations.js index 4b95f3a29d..8c877c5100 100644 --- a/app/locales/en/translations.js +++ b/app/locales/en/translations.js @@ -211,6 +211,7 @@ export default { loading: 'Loading', name: 'Name', patient: 'Patient', + prescriber: 'Prescriber', quantity: 'Quantity', requested_on: 'Requested On', date: 'Date', diff --git a/app/medication/edit/template.hbs b/app/medication/edit/template.hbs index b2e403e3f2..73fc673fa6 100644 --- a/app/medication/edit/template.hbs +++ b/app/medication/edit/template.hbs @@ -29,6 +29,12 @@ {{else}} {{inventory-typeahead property="inventoryItemTypeAhead" label=(t 'labels.medication') content=medicationList selection=selectedInventoryItem class="required test-medication-input"}} {{/if}} + {{#if isFulfilledOrRequested}} +
+ +

{{model.requestedBy}}

+
+ {{/if}} {{#if isFulfilled}} {{static-text label=(t 'labels.prescription') value=model.prescription }}
diff --git a/app/medication/index/template.hbs b/app/medication/index/template.hbs index e7a651af7c..1e2c818526 100644 --- a/app/medication/index/template.hbs +++ b/app/medication/index/template.hbs @@ -4,6 +4,7 @@ {{t 'labels.date'}} {{t 'labels.patient'}} + {{t 'labels.prescriber'}} {{t 'labels.medication'}} {{t 'labels.quantity'}} {{t 'labels.status'}} @@ -15,6 +16,7 @@ {{date-format medicationRequest.prescriptionDate}} {{medicationRequest.patient.displayName}} + {{medicationRequest.requestedBy}} {{medicationRequest.medicationName}} {{medicationRequest.quantity}} {{medicationRequest.status}}