Skip to content

Commit 989e591

Browse files
authored
Merge pull request #1280 from openhealthcare/opat-fix
change the editing statement, add in a feature to check for this in t…
2 parents f75e57d + 909e2fc commit 989e591

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
As a User
2+
I need to record additional fields when I give/stop giving antimicrobials
3+
4+
when I'm the list view, I click on Antimicrobial. It asks me for
5+
delivered by, adverse events, reason for stopping and comments.
6+
7+
I can fill these in and they will save. I will be able to see delivered
8+
by in the record panel.

elcid/templates/elcid/_includes/antimicrobial_form.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{% input label="Dose" model="editing.antimicrobial.dose" %}
88
{% input label="Route" model="editing.antimicrobial.route" lookuplist="antimicrobial_route_list" %}
99
{% select label="Frequency" model="editing.antimicrobial.frequency" lookuplist="antimicrobial_frequency_list" %}
10-
<div ng-show="episode_category_name == 'OPAT'" >
10+
<div ng-show="episode.category_name == 'OPAT'" >
1111
{% select label="Delivered by" model="editing.antimicrobial.delivered_by" lookuplist="drug_delivered_list" %}
1212
{% select label="Adverse events" model="editing.antimicrobial.adverse_event" lookuplist="antimicrobial_adverse_event_list" other=True %}
1313
{% select label="Reason for Stopping" model="editing.antimicrobial.reason_for_stopping" lookuplist="iv_stop_list" %}

0 commit comments

Comments
 (0)