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

Commit

Permalink
Cleaned up unused data values.
Browse files Browse the repository at this point in the history
  • Loading branch information
jkleinsc committed Dec 14, 2016
1 parent fb81c67 commit 687f5b6
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 35 deletions.
8 changes: 0 additions & 8 deletions app/locales/en/translations.js
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,6 @@ export default {
edit: 'Edit',
imageOrders: 'Image Orders',
labOrders: 'Lab Orders',
patientHistory: 'Patient History',
imagingType: 'Imaging Type',
result: 'Result',
results: 'Results',
Expand Down Expand Up @@ -818,9 +817,6 @@ export default {
visitDate: 'Visit Date',
visitType: 'Visit Type',
patientToCheckIn: 'Patient To Check In',
chiefComplaint: 'Chief Complaint',
illnessHistory: 'History of the Present Illness',
patientHistory: 'Patient Medical History',
checkInTime: 'Check In',
appointment: 'Appointment',
haveAppointment: 'Y',
Expand Down Expand Up @@ -934,10 +930,6 @@ export default {
newPatient: '+ new patient',
patientCheckIn: 'Patient Check In'
},
headings: {
history: 'History',
historySince: 'History Since'
},
labels: {
primaryDiagnosis: 'Primary Diagnoses',
secondaryDiagnosis: 'Secondary Diagnoses',
Expand Down
1 change: 0 additions & 1 deletion app/locales/es-CO/translations.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ export default {
edit: 'Editar',
imageOrders: 'Ordenes de radiografias',
labOrders: 'Ordenes de laboratorio',
patientHistory: 'Historia del paciente',
imagingType: 'Tipo de radiografia',
result: 'Resultado',
results: 'Resultados',
Expand Down
1 change: 0 additions & 1 deletion app/locales/es/translations.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ export default {
edit: 'Editar',
imageOrders: 'Ordenes de radiografias',
labOrders: 'Ordenes de laboratorio',
patientHistory: 'Historia del paciente',
imagingType: 'Tipo de radiografia',
result: 'Resultado',
results: 'Resultados',
Expand Down
1 change: 0 additions & 1 deletion app/locales/fr/translations.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,6 @@ export default {
edit: 'Modifier',
imageOrders: 'Demandes d\'imagerie',
labOrders: 'Demandes de labo',
patientHistory: 'Historique du patient',
imagingType: 'Type d\'imagerie',
result: 'Resultat',
results: 'Resultats',
Expand Down
5 changes: 0 additions & 5 deletions app/locales/pt-BR/translations.js
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,6 @@ export default {
edit: 'Editar',
imageOrders: 'Pedido de Imagem',
labOrders: 'Pedidos de Laboratório',
patientHistory: 'Histórico do Paciente',
imagingType: 'Tipo de Imagem',
result: 'Resultado',
results: 'Resultados',
Expand Down Expand Up @@ -820,10 +819,6 @@ export default {
backToPatients: 'Voltar para Lista de Pacientes',
newPatient: '+ novo paciente'
},
headings: {
history: 'Histórico',
historySince: 'Histórico Desde'
},
labels: {
primaryDiagnosis: 'Diagnósticos Primários',
secondaryDiagnosis: 'Diagnósticos Secundários',
Expand Down
2 changes: 1 addition & 1 deletion app/models/patient.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default AbstractModel.extend(DOBDays, PatientName, {
firstName: DS.attr('string'),
sex: DS.attr('string'),
occupation: DS.attr('string'),
history: DS.attr('string'),
history: DS.attr('string'), // No longer used
insurance: DS.attr('string'),
lastName: DS.attr('string'),
livingArrangement: DS.attr('string'),
Expand Down
5 changes: 2 additions & 3 deletions app/models/visit.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,14 @@ export default AbstractModel.extend({
charges: DS.hasMany('proc-charge', {
async: false
}),
chiefComplaint: DS.attr('string'),
customForms: DS.attr('custom-forms'),
diagnoses: DS.hasMany('diagnosis'),
dischargeInfo: DS.attr('string'),
endDate: DS.attr('date'), // if visit type is outpatient, startDate and endDate are equal
examiner: DS.attr('string'),
hasAppointment: DS.attr('boolean', { defaultValue: false }),
history: DS.attr('string'),
historySince: DS.attr('string'), // History of the Present Illness
history: DS.attr('string'), // No longer used
historySince: DS.attr('string'), // History of the Present Illness -- no longer used
imaging: DS.hasMany('imaging', { async: true }),
labs: DS.hasMany('lab', { async: true }),
location: DS.attr('string'),
Expand Down
15 changes: 0 additions & 15 deletions app/patients/edit/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,6 @@
<span class="ph-visit-date">{{visit.visitDate}}</span>
<span class="ph-visit-type">{{visit.visitType}}</span>
</div>

{{#if visit.history}}
<div class="ph-note-item">
<h5 class="ph-note-heading">{{t 'patients.headings.history'}}</h5>
{{html-line-break visit.history}}
</div>
{{/if}}

{{#if visit.historySince}}
<div class="ph-note-item">
<h5 class="ph-note-heading">{{t "patients.headings.historySince"}}</h5>
{{html-line-break visit.historySince}}
</div>
{{/if}}

{{#if visit.procedures}}
<div class="ph-note-item">
<h5 class="ph-note-heading">{{t 'labels.procedures' }}</h5>
Expand Down

0 comments on commit 687f5b6

Please # to comment.