${ ui.message("isanteplusreports.code_st") } |
@@ -219,7 +220,7 @@
${ui.format(it.getColumnValue("statut"))}
- ${ui.format(it.getColumnValue("derniere_date"))}
+ ${ ui.format(it.getColumnValue("derniere_date"))}
|
${ui.format(it.getColumnValue("adresse"))}
diff --git a/omod/src/main/webapp/pages/psychoSocialIndicatorReport.gsp b/omod/src/main/webapp/pages/psychoSocialIndicatorReport.gsp
new file mode 100644
index 00000000..b85d6ef5
--- /dev/null
+++ b/omod/src/main/webapp/pages/psychoSocialIndicatorReport.gsp
@@ -0,0 +1,221 @@
+<%
+ ui.decorateWith("appui", "standardEmrPage")
+ ui.includeJavascript("isanteplusreports", "healthQualExportToExcel.js")
+%>
+
+
+
+
+
+
+
+ ${ ui.message("isanteplusreports.psychosocial.indicator.label") }
+
+
+
+
+ <% if (htmlResult != null) { %>
+
+ ${ ui.message("isanteplusreports.psychosocial.indicator.result.label") }
+
+
+
+
+ <%= htmlResult %>
+
+ <% } %>
+
+
+
\ No newline at end of file
diff --git a/omod/src/main/webapp/pages/psychoSocialSummary.gsp b/omod/src/main/webapp/pages/psychoSocialSummary.gsp
new file mode 100644
index 00000000..26d9abba
--- /dev/null
+++ b/omod/src/main/webapp/pages/psychoSocialSummary.gsp
@@ -0,0 +1,40 @@
+<%
+ ui.decorateWith("appui", "standardEmrPage", [ title: ui.message("isanteplusreports.psychoSocialSummary") ])
+ ui.includeJavascript("isanteplusreports", "print.js")
+%>
+
+
+
+
+${ ui.includeFragment("coreapps", "patientHeader", [ patient: patient ]) }
+
+
+ ${ ui.message("isanteplusreports.psychoSocialSummary") }
+
+
+
+ ${ ui.message("isanteplusreports.visitDate") } |
+ ${ ui.message("isanteplusreports.actionPlan") } |
+
+
+
+ <% columnsvalues.each { %>
+
+ <% columns.each { colName -> %>
+
+ ${ui.format(it.columnValues[colName])}
+ |
+
+ <% } %>
+
+ <% } %>
+
+
+
+
\ No newline at end of file
diff --git a/omod/src/main/webapp/pages/reportsHome.gsp b/omod/src/main/webapp/pages/reportsHome.gsp
index acb45889..80bc65b7 100644
--- a/omod/src/main/webapp/pages/reportsHome.gsp
+++ b/omod/src/main/webapp/pages/reportsHome.gsp
@@ -10,7 +10,10 @@
def other = appFrameworkService.getExtensionsForCurrentUser("org.openmrs.module.isanteplusreports.reports.other")
def antenatal = appFrameworkService.getExtensionsForCurrentUser("org.openmrs.module.isanteplusreports.reports.antenatal")
def patientsStatus = appFrameworkService.getExtensionsForCurrentUser("org.openmrs.module.isanteplusreports.reports.patientsstatus")
+ def alertPrecoce = appFrameworkService.getExtensionsForCurrentUser("org.openmrs.module.isanteplusreports.reports.alertprecoce")
+ def dashboard = appFrameworkService.getExtensionsForCurrentUser("org.openmrs.module.isanteplusreports.reports.dashboard")
def ptme = appFrameworkService.getExtensionsForCurrentUser("org.openmrs.module.isanteplusreports.reports.ptme")
+ def psychosocial = appFrameworkService.getExtensionsForCurrentUser("org.openmrs.module.isanteplusreports.reports.psychosocial")
def contextModel = [:]
%>
@@ -79,6 +82,16 @@
<% } %>
<% } %>
+ <% if (alertPrecoce) { %>
+ ${ ui.message("isanteplusreports.reportsapp.alertprecoce") }
+
+ <% alertPrecoce.each { %>
+ -
+ ${ ui.includeFragment("uicommons", "extension", [ extension: it, contextModel: contextModel ]) }
+
+ <% } %>
+
+ <% } %>
<% if (dataExports) { %>
${ ui.message("reportingui.reportsapp.dataExports") }
@@ -91,6 +104,17 @@
<% } %>
+ <% if (dashboard) { %>
+ ${ ui.message("isanteplusreports.reportsapp.dashboard") }
+
+ <% dashboard.each { %>
+ -
+ ${ ui.includeFragment("uicommons", "extension", [ extension: it, contextModel: contextModel ]) }
+
+ <% } %>
+
+ <% } %>
+
<% if (ptme) { %>
${ ui.message("isanteplusreports.reportsapp.ptme") }
<% } %>
+ <% if (psychosocial) { %>
+ ${ ui.message("isanteplusreports.reportsapp.psychosocial") }
+
+ <% psychosocial.each { %>
+ -
+ ${ ui.includeFragment("uicommons", "extension", [ extension: it, contextModel: contextModel ]) }
+
+ <% } %>
+
+ <% } %>
+
<% if (other) { %>
${ ui.message("isanteplusreports.reportsapp.other") }
|