forked from openmrs/openmrs-module-registrationapp
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from IsantePlus/revert-19-master
Revert "Recent updates for MPI work"
- Loading branch information
Showing
10 changed files
with
80 additions
and
185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
92 changes: 33 additions & 59 deletions
92
omod/src/main/webapp/fragments/summary/continuityOfCare.gsp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,70 +1,44 @@ | ||
<% | ||
ui.includeJavascript("registrationapp", "summary/continuityOfCare.js") | ||
ui.includeCss("registrationapp","continuityOfCare.css") | ||
%> | ||
<% if (isCCDAvailable) { %> | ||
<div class="info-section"> | ||
<div class="info-header"> | ||
<i class="icon-user"></i> | ||
<h3>${ ui.message("registrationapp.continuityOfCare.label") }</h3> | ||
</div> | ||
<div class="info-body summary-section"> | ||
<div id="ccd-fragment"> | ||
<div> | ||
<h3>${ ui.message("registrationapp.continuityOfCare.document.date") }</h3> | ||
<p class="left">${ ui.message(CCDDate) }</p> | ||
</div> | ||
<div> | ||
<h3></h3> | ||
<p class="left">${ ui.message("registrationapp.continuityOfCare.info") }</p> | ||
</div> | ||
<div class="info-section"> | ||
<div class="info-header"> | ||
<i class="icon-user"></i> | ||
<h3>${ ui.message("registrationapp.continuityOfCare.label") }</h3> | ||
</div> | ||
<div id="buttons"> | ||
<button type="button" class="confirm" onclick="viewCCD(${ config.patientId })"> | ||
${ ui.message("registrationapp.continuityOfCare.document.view") } | ||
</button> | ||
<a class="button confirm right" href="#" onclick="refreshCcd(${ config.patientId })"> | ||
${ ui.message("registrationapp.continuityOfCare.document.refresh") } | ||
<i id="ccdRefresh" class="icon-refresh" title="Update CCD"> </i> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
<% } else{%> | ||
<div class="info-section"> | ||
<div class="info-header"> | ||
<i class="icon-user"></i> | ||
<h3>${ ui.message("registrationapp.continuityOfCare.label") }</h3> | ||
</div> | ||
<div class="info-body summary-section"> | ||
<div id="ccd-import-fragment"> | ||
<div> | ||
<h3></h3> | ||
<p class="left">${ ui.message("registrationapp.continuityOfCare.info.missing") }</p> | ||
<div class="info-body summary-section"> | ||
<div id="ccd-fragment"> | ||
<div> | ||
<h3>${ ui.message("registrationapp.continuityOfCare.document.date") }</h3> | ||
<p class="left">${ ui.message(CCDDate) }</p> | ||
</div> | ||
<div> | ||
<h3></h3> | ||
<p class="left">${ ui.message("registrationapp.continuityOfCare.info") }</p> | ||
</div> | ||
</div> | ||
<div id="buttons"> | ||
<button type="button" class="confirm" onclick="viewCCD(${ config.patientId })"> | ||
${ ui.message("registrationapp.continuityOfCare.document.view") } | ||
</button> | ||
</div> | ||
</div> | ||
<div id="import-buttons"> | ||
<button type="button" class="confirm" onclick="importCCD(${ config.patientId })"> | ||
${ ui.message("registrationapp.continuityOfCare.document.import") } | ||
</button> | ||
</div> | ||
</div> | ||
|
||
<div style="display:none" id="ccd-import-dialog" class="dialog"> | ||
<div class="dialog-header"> | ||
${ui.message("registrationapp.continuityOfCare.document.import.dialog.label")} | ||
</div> | ||
<div class="dialog-content"> | ||
<p> | ||
${ui.message("registrationapp.continuityOfCare.document.import.dialog.message")} | ||
</p> | ||
<br/> | ||
<div class="buttons"> | ||
<button class="confirm right">${ui.message("emr.yes")}</button> | ||
<button class="cancel">${ui.message("emr.no")}</button> | ||
<div style="display:none" id="ccd-import-dialog" class="dialog"> | ||
<div class="dialog-header"> | ||
${ui.message("registrationapp.continuityOfCare.document.import.dialog.label")} | ||
</div> | ||
<div class="dialog-content"> | ||
<p> | ||
${ui.message("registrationapp.continuityOfCare.document.import.dialog.message")} | ||
</p> | ||
<br/> | ||
<div class="buttons"> | ||
<button class="confirm right">${ui.message("emr.yes")}</button> | ||
<button class="cancel">${ui.message("emr.no")}</button> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<%}%> | ||
<% } %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.