Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Commit

Permalink
Add reason for visit
Browse files Browse the repository at this point in the history
Resolves #835
  • Loading branch information
jkleinsc committed Dec 14, 2016
1 parent 687f5b6 commit c4a15c4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion app/locales/en/translations.js
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,8 @@ export default {
noAppointment: 'N',
ordersDone: 'Orders Done',
haveDoneOrders: 'Y',
ordersNotDone: 'N'
ordersNotDone: 'N',
reasonForVisit: 'Reason For Visit'
},
navigation: {
charges: 'Charges',
Expand Down
1 change: 1 addition & 0 deletions app/models/visit.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export default AbstractModel.extend({
primaryBillingDiagnosis: DS.attr('string'), // AKA final diagnosis
primaryBillingDiagnosisId: DS.attr('string'),
procedures: DS.hasMany('procedure', { async: true }),
reasonForVisit: DS.attr('string'),
startDate: DS.attr('date'),
status: DS.attr('string'),
visitType: DS.attr(),
Expand Down
5 changes: 3 additions & 2 deletions app/visits/edit/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@
}}
</div>
<div class="row">
{{em-select class="col-sm-3 required" label=(t "visits.labels.visitType")
{{em-select class="col-sm-3 required form-input-group" label=(t "visits.labels.visitType")
property="visitType" content=validVisitTypes prompt=" "
}}
{{#if isAdmissionVisit}}
{{em-select class="col-sm-3" label=(t "visits.labels.status")
{{em-select class="col-sm-3 form-input-group" label=(t "visits.labels.status")
property="status" content=visitStatuses
prompt=" "
}}
Expand All @@ -60,6 +60,7 @@
selection=model.examiner
}}
</div>
{{em-text property="reasonForVisit" label=(t 'visits.labels.reasonForVisit') rows=3 }}
{{#if canAddBillingDiagnosis}}
<div class="row">
{{select-or-typeahead className="col-sm-5" property="primaryBillingDiagnosis"
Expand Down

0 comments on commit c4a15c4

Please # to comment.