Skip to content

Commit

Permalink
Merge pull request #390 from esaude/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
joaomachiana authored Oct 31, 2019
2 parents 5236d2a + 5ff858e commit 9b9c9f9
Show file tree
Hide file tree
Showing 10 changed files with 34 additions and 170 deletions.
6 changes: 0 additions & 6 deletions ui/app/clinical/common/views/visitSummary.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,6 @@
visit-summary="visitSummary"></treatment-data>
</div>
</div>
<div data-ng-switch-when="appointment">
<section class="block observation section-grid">
<appointment-resume></appointment-resume>
</section>
</div>

<div data-ng-switch-when="disposition">
<div ng-if="::section.config">
<disposition id="disposition" params="::section.config"
Expand Down
32 changes: 28 additions & 4 deletions ui/app/clinical/config/visitMandatoryTab.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,24 @@
"showDetailsButton": true
}
},
"Disposition": {
"type": "disposition",
"translationKey": "VISIT_TITLE_DISPOSITIONS_KEY",
"displayOrder": 3,
"config": {
"translationKey":"VISIT_TITLE_DISPOSITION_KEY",
"numberOfVisits": 1,
"showDetailsButton": true
}
},
"Admission Details": {
"type": "admissionDetails",
"displayOrder": 4,
"config": {
"translationKey": "VISIT_TITLE_ADMISSION_DETAILS_KEY",
"showDetailsButton": true
}
},
"Investigation Result": {
"type": "investigationResult",
"title": "Investigation Result",
Expand Down Expand Up @@ -71,12 +89,18 @@
"showProvider" : true
}
},
"Appointments": {
"type": "appointment",
"title": "Appointments",
"Radiology": {
"type": "radiology",
"displayOrder": 7,
"config": {
"translationKey": "CONSULTATION_TAB_APPOINTMENT_HEADER_LABEL"
"translationKey": "VISIT_TITLE_RADIOLOGY_KEY"
}
},
"Patient Files": {
"type": "patientFiles",
"displayOrder": 8,
"config": {
"translationKey": "VISIT_TITLE_PATIENT_FILES_KEY"
}
}
}
Expand Down
85 changes: 0 additions & 85 deletions ui/app/clinical/consultation/directives/appointmentResume.js

This file was deleted.

61 changes: 0 additions & 61 deletions ui/app/clinical/consultation/views/appointmentResume.html

This file was deleted.

5 changes: 0 additions & 5 deletions ui/app/clinical/consultation/views/consultation.html
Original file line number Diff line number Diff line change
Expand Up @@ -226,11 +226,6 @@ <h2 class="section-title">{{ 'CONSULTATION_TAB_OBSERVATIONS_HEADER_LABEL'|transl
</table>
</div>
</section>

<section class="block observation section-grid">
<appointment-resume></appointment-resume>
</section>

<section class="block investigation" style="display:none;"> <!--Hiding the section for release 4-->
<h2>{{ 'CONSULTATION_TAB_INVESTIGATION_HEADER_LABEL'|translate }}</h2>
<ul>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<div>
<investigation-chart ng-if="params.showChart" accessions="investigationResults.tabular"
params="params"></investigation-chart>
<investigation-table ng-if="params.showTable" accessions="investigationResults.labAccessions"
params="params"></investigation-table>
</div>
1 change: 0 additions & 1 deletion ui/app/clinical/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,6 @@
<script src="consultation/services/treatmentConfig.js"></script>
<script src="consultation/filters/observationValue.js"></script>
<script src="consultation/directives/buttonsRadio.js"></script>
<script src="consultation/directives/appointmentResume.js"></script>
<script src="consultation/directives/orderSelector.js"></script>
<script src="consultation/directives/diagnosisAutoComplete.js"></script>
<script src="consultation/directives/newDrugOrders.js"></script>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<section class="dashboard-section" ng-if="::hasData">
<h2 ng-if="::(displayName)" class="section-title section-title-pivot">
{{::displayName | translate}}
<h2 ng-if="::(displayName || diseaseName)" class="section-title section-title-pivot">
{{::displayName || diseaseName}}
<div class="fr btn-scrolling">
<button ng-click="scrollLeft()" class="fl btn-small btn-scroll-left" title="{{::'SCROLL_LEFT' | translate }}"><i class="fa fa-arrow-left"></i> </button>
<button ng-click="scrollRight()" class="fl btn-small btn-scroll-right" title="{{::'SCROLL_RIGHT' | translate }}"><i class="fa fa fa-arrow-right"></i></button>
Expand Down
4 changes: 1 addition & 3 deletions ui/app/i18n/clinical/locale_en.json
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,5 @@
"CONFIRMED":"CONFIRMED",
"PRESUMED":"PRESUMED",
"INACTIVE":"Inactive",
"Assintomático" : "Asymptomatic",
"CONSULTATION_TAB_APPOINTMENT_HEADER_LABEL": "Appointments",
"Vitals Flowsheet": "Nutritional Values"
"Assintomático" : "Asymptomatic"
}
4 changes: 1 addition & 3 deletions ui/app/i18n/clinical/locale_pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,5 @@
"CONSULTATION_TAB_REVISED_DIAGNOSES_LABEL_DIAGNOSES_LABEL":"Detalhes",
"CONFIRMED":"CONFIRMADO",
"PRESUMED":"PRESUMIDO",
"INACTIVE":"Inactivo",
"CONSULTATION_TAB_APPOINTMENT_HEADER_LABEL": "Outras Marcações",
"Vitals Flowsheet": "Dados Antropométricos"
"INACTIVE":"Inactivo"
}

0 comments on commit 9b9c9f9

Please sign in to comment.