diff --git a/omod/src/main/webapp/patientDashboardForm.jsp b/omod/src/main/webapp/patientDashboardForm.jsp index e77d6da5..927248b2 100644 --- a/omod/src/main/webapp/patientDashboardForm.jsp +++ b/omod/src/main/webapp/patientDashboardForm.jsp @@ -82,6 +82,19 @@ } return false; } + + //hide the feature(concepts that are not defined either by property or value). + window.onload = function showOrHide() { + if(GlobalProperty("concept.causeOfDeath", "5002", "Concept id of the concept defining the CAUSE OF DEATH concept")) { + document.getElementById("patientDashboardDeceased").style.display = "none"; + } + + else { + document.getElementById("patientDashboardDeceased").style.display = "block"; + } + } + + @@ -98,6 +111,8 @@      : + <%--removed global concept id and property:causeOfDeath --%> +      : diff --git a/omod/src/main/webapp/portlets/patientOverview.jsp b/omod/src/main/webapp/portlets/patientOverview.jsp index a8636e49..ad0fd74a 100644 --- a/omod/src/main/webapp/portlets/patientOverview.jsp +++ b/omod/src/main/webapp/portlets/patientOverview.jsp @@ -35,6 +35,29 @@ + <%--script to handle the missing properties,GP --%>> + + @@ -42,11 +65,12 @@ + <%-- removed global property--%>