Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
152 changes: 144 additions & 8 deletions dependencies-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -578,11 +578,11 @@
}, {
"groupId" : "com.sun.istack",
"artifactId" : "istack-commons-runtime",
"version" : "3.0.7",
"version" : "3.0.8",
"scope" : "compile",
"type" : "jar",
"optional" : false,
"integrity" : "sha512:H7tNiDclMZAo/TtVgIain/0P0ABrVuymJ93aI7EVXih68phgA42S1MR1l19NH0rIJJrFW4iFKGliNIUXGTSzGg=="
"integrity" : "sha512:5xIWb5YcyoGaYb1u/JO5N1l4jSg69z3MbtCcD5wEXX3C9/q8DiNrKZb83r4m4bLsXqRetDU5Q9rYLs/vBIgwXg=="
}, {
"groupId" : "com.sun.mail",
"artifactId" : "jakarta.mail",
Expand Down Expand Up @@ -992,6 +992,62 @@
"type" : "jar",
"optional" : false,
"integrity" : "sha512:oio3IAodBcf4uXftxExiWEUSTu+IEfNpnrChGsUWUSjmA6mfbP1SPv24UrrLmLcorhsyoHgzwOs0JIOh/+fptQ=="
}, {
"groupId" : "jakarta.activation",
"artifactId" : "jakarta.activation-api",
"version" : "1.2.2",
"scope" : "compile",
"type" : "jar",
"optional" : false,
"integrity" : "sha512:49hG/19irZ/vUU8HJoRsY9SqdLK7j2DHYljbo3cB+DrnWHJAEHG/QNpAaX1DqKbjbQj6TvOf5weX+28rFxJZnw=="
}, {
"groupId" : "jakarta.annotation",
"artifactId" : "jakarta.annotation-api",
"version" : "1.3.5",
"scope" : "compile",
"type" : "jar",
"optional" : false,
"integrity" : "sha512:0az/FGwPnqkjqTJa1MIrogUuxHQ0Grg5Krq36KvTygENskAP+bWEn8Tx+lwKGIMOsQTaB6E70mtPCkPRZ5NYeA=="
}, {
"groupId" : "jakarta.jws",
"artifactId" : "jakarta.jws-api",
"version" : "2.1.0",
"scope" : "compile",
"type" : "jar",
"optional" : false,
"integrity" : "sha512:J7SIb3Ph2mR3JIj5S+jCIuC76jEmqnuq9qfSPNT/0ukRQKofqMVSpIwwE5RWaPv+n2X8SON5IKl69dzsDLAeAg=="
}, {
"groupId" : "jakarta.persistence",
"artifactId" : "jakarta.persistence-api",
"version" : "2.2.3",
"scope" : "compile",
"type" : "jar",
"optional" : false,
"integrity" : "sha512:Hgcle2Ma4zMacdfNkTYVLN3rvnhrpQxom+xhip62Wb6OlS/gQF2zYzLLbBLGyHxtZI6BfAJ+qMbgxmDOgvb0JA=="
}, {
"groupId" : "jakarta.xml.bind",
"artifactId" : "jakarta.xml.bind-api",
"version" : "2.3.2",
"scope" : "compile",
"type" : "jar",
"optional" : false,
"integrity" : "sha512:WpqU/DI67MnFso6axoiqyNCXJdTK5mClf1aYkU25HjUSg9/kkJosxt6AOJCsKzufBq+dBx1GUDHlUyahCFoR2w=="
}, {
"groupId" : "jakarta.xml.soap",
"artifactId" : "jakarta.xml.soap-api",
"version" : "1.4.2",
"scope" : "compile",
"type" : "jar",
"optional" : false,
"integrity" : "sha512:ZAsa2VW/koPVxVfeelZrxNEAyPZYDpftS88kq+EEIl22JG//GPoTkys8Rch3xtVg93eOsRXmvTOXaHZvCJkBzg=="
}, {
"groupId" : "jakarta.xml.ws",
"artifactId" : "jakarta.xml.ws-api",
"version" : "2.3.3",
"scope" : "compile",
"type" : "jar",
"optional" : false,
"integrity" : "sha512:wWBhbLeWy5RB63A+LluAl2pmaccocRtTkQDuvuhcri9026Vc/wRPxwMglvGdC+I6Mq7+zssMY9WOH+Wt0vRomA=="
}, {
"groupId" : "janino",
"artifactId" : "janino",
Expand Down Expand Up @@ -2601,6 +2657,46 @@
"type" : "jar",
"optional" : false,
"integrity" : "sha512:Gwz4XCjYoHLNuA3e5Z7/3Gllkm3WAHIPrMcuEtrfbUVAKumujLkv4DydoUkIaeeHAGjIHbmr4/8uago0D1FiJw=="
}, {
"groupId" : "org.eclipse.persistence",
"artifactId" : "commonj.sdo",
"version" : "2.1.1",
"scope" : "compile",
"type" : "jar",
"optional" : false,
"integrity" : "sha512:EBURx33QqpYr0bHlPrHPTzDnZ5kbMv+RO6VMVLerQlbPTkYgpb4Zub7ig67vsLg8g1x/RmCTlGY3dA+97HiSJw=="
}, {
"groupId" : "org.eclipse.persistence",
"artifactId" : "org.eclipse.persistence.asm",
"version" : "2.7.6",
"scope" : "compile",
"type" : "jar",
"optional" : false,
"integrity" : "sha512:hRjKmI/pg0iEIg6TShnuXNYuTqvOnjrDsIHtG4NzIpyIrIZemYd3tGeff+k4AgflX/eoQ0dAGBEdpY96a8ylPQ=="
}, {
"groupId" : "org.eclipse.persistence",
"artifactId" : "org.eclipse.persistence.core",
"version" : "2.7.6",
"scope" : "compile",
"type" : "jar",
"optional" : false,
"integrity" : "sha512:PoaA+dyjCB7mCrwLVwbHjrFQe5thBxc4D3LBbt2XgY9Eha2UY+3Fwg8+bX/xvGLOnGUi82TUm3kNnqPL+1n5xw=="
}, {
"groupId" : "org.eclipse.persistence",
"artifactId" : "org.eclipse.persistence.moxy",
"version" : "2.7.6",
"scope" : "compile",
"type" : "jar",
"optional" : false,
"integrity" : "sha512:8xPoxYUdZdswzRymdNLR/Q2ttN1HagpaqLU0ifnPiyd0Zk10Zk6py7RdeWhRNcfFzXMVSrl7GzZoYn78PN4zsQ=="
}, {
"groupId" : "org.eclipse.persistence",
"artifactId" : "org.eclipse.persistence.sdo",
"version" : "2.7.6",
"scope" : "compile",
"type" : "jar",
"optional" : false,
"integrity" : "sha512:rFwR/bcFZLIHiUDpuDdfqHoN/MT4uZgI0vtmHnNr2u9o2tE3Mxt7V9tO/Ac7QGnsdi3VzX0Hk69kFSXg0CjJvQ=="
}, {
"groupId" : "org.freemarker",
"artifactId" : "freemarker",
Expand All @@ -2617,22 +2713,62 @@
"type" : "jar",
"optional" : false,
"integrity" : "sha512:OWlmrfPoy6Cf91KXkV1Bump8YMMnV13/8VP2YXobyv/0oawLqhnZO03cq1EcXiOm/ZWq30XlXiBXcA2juJka8A=="
}, {
"groupId" : "org.glassfish.external",
"artifactId" : "management-api",
"version" : "3.2.2",
"scope" : "compile",
"type" : "jar",
"optional" : false,
"integrity" : "sha512:kATUhHSIg7aea5udotExSRfAG4fZT6KyBKqjpHq+vjNGWzOye2oY96Lc5IYGT4by3GwOyX15wlc1H4yhUw5Vag=="
}, {
"groupId" : "org.glassfish.gmbal",
"artifactId" : "gmbal",
"version" : "4.0.1",
"scope" : "compile",
"type" : "jar",
"optional" : false,
"integrity" : "sha512:S3t9zjI3s03b9A4+cXIpKShKR/9o58YD/HB4DgwKvHuDM61dCfmZuqcRQOnMeTek/Tqvk4sg6ngkFCiVds4l5w=="
}, {
"groupId" : "org.glassfish.ha",
"artifactId" : "ha-api",
"version" : "3.1.12",
"scope" : "compile",
"type" : "jar",
"optional" : false,
"integrity" : "sha512:xWD/Xo8z0SVeHBpcsQyw8tqYQxYGPnG7FhSMuyLKvRj6ZNnWLdO9TumZmKL1NmVAOhM60ynMmie/He4X6bwvLg=="
}, {
"groupId" : "org.glassfish.jaxb",
"artifactId" : "jaxb-runtime",
"version" : "2.3.1",
"version" : "2.3.2",
"scope" : "compile",
"type" : "jar",
"optional" : false,
"integrity" : "sha512:Qud432jevLbPG0KYXnxgBn58C1v1du62MOlyiNj7zNws8f+iOr5lG0SvHvTNNsUisGoZq1hqtnd+8Dl53hrJUQ=="
"integrity" : "sha512:imzz3Z+sT7bdtfCGGiysCT4E0Yb8eH7njDCGLSJetne5YF4Rd89X2g1PRcYT8QcYfDML4GhLQ7DKuakizZbbZg=="
}, {
"groupId" : "org.glassfish.jaxb",
"artifactId" : "txw2",
"version" : "2.3.1",
"version" : "2.3.2",
"scope" : "compile",
"type" : "jar",
"optional" : false,
"integrity" : "sha512:ZsF0CTxHt1uQAVnFRJvZnrFTCNFbOVdxNnrcWGJhLtuYXDZ4QoxPYOfCe0bRI6+sOSd/gNt2ZRGmtvB1bVJVWQ=="
}, {
"groupId" : "org.glassfish.pfl",
"artifactId" : "pfl-basic",
"version" : "4.1.0",
"scope" : "compile",
"type" : "jar",
"optional" : false,
"integrity" : "sha512:qrUNjhpQXciKx14o7aEJjqvymfmOMUvY0sA/hhMj44LLgKBYQvkQEKzUwqc7hNJI+9YYJHNoPOphVHlaHkU0/g=="
}, {
"groupId" : "org.glassfish.pfl",
"artifactId" : "pfl-tf",
"version" : "4.1.0",
"scope" : "compile",
"type" : "jar",
"optional" : false,
"integrity" : "sha512:7VViFUQ+mxkNmhgghzW1dvlLWWXeYx87KRr3rWCUVBS64boOpBMNawoEUwUhYvedG7z4IjcPWNYarO/ra3GFIw=="
"integrity" : "sha512:rw518KfDgB/jAwU8Qqlf/fLGrMavSoI7Iv9lzCRAAJH2NP+HaGcYHMKVqBi6xbkZYLIqJBPdS6LKIK/YnxRbOg=="
}, {
"groupId" : "org.hamcrest",
"artifactId" : "hamcrest-core",
Expand Down Expand Up @@ -2812,11 +2948,11 @@
}, {
"groupId" : "org.jvnet.staxex",
"artifactId" : "stax-ex",
"version" : "1.8",
"version" : "1.8.1",
"scope" : "compile",
"type" : "jar",
"optional" : false,
"integrity" : "sha512:66vTMKLXwQkQX6VcQjb8Ly1SZo5wsXuPw2uKyfUkqixnBA51NxJn2OlSPZTe4M4GTnZYTJ8gZofom587Kjh/Aw=="
"integrity" : "sha512:0GDqXcyBUIoQeL0O2UdVOlZSpaeNp2zQDcLjhNygFBZt/pJ3f86314aGmYlNfkDs75n6x3cTcgJb/X8fo+L+Mg=="
}, {
"groupId" : "org.marc.everest",
"artifactId" : "everest-core",
Expand Down
1 change: 1 addition & 0 deletions src/main/webapp/PMmodule/ClientManager/showHistory.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@

OscarLogDao oscarLogDao = SpringUtils.getBean(OscarLogDao.class);
List<OscarLog> logs = oscarLogDao.findByActionAndData(request.getParameter("type"), admissionId);
OscarLog log = (OscarLog) request.getAttribute("log");

pageContext.setAttribute("history", logs);
%>
Expand Down
3 changes: 3 additions & 0 deletions src/main/webapp/PMmodule/ClientManager/view_admission.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
<%@ page import="org.oscarehr.common.model.OscarLog" %>
<%@ page import="java.util.List" %>
<%@ include file="/taglibs.jsp" %>
<%
Admission admission = (Admission) request.getAttribute("admission");
%>
<html>
<head>
<script type="text/javascript" src="<%= request.getContextPath() %>/js/global.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/PMmodule/navigation_client.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@
</c:when>
<c:when test="${'V' eq tabPrintLabel}">
<div>
<a href='javascript:popupLabel("${pageContext.request.contextPath}/demographic/printBarcodeAction.do?clientId=${clientId}"></c:out>“)'>
<a href="javascript:popupLabel('${pageContext.request.contextPath}/demographic/printBarcodeAction.do?clientId=${clientId}')">
Print Label</a>
</div>
</c:when>
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/casemgmt/ChartNotes.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@
<input type="hidden" name="appointmentDate" value="<%=apptDate%>"/>
<input type="hidden" name="start_time" value="<%=startTime%>"/>
<input type="hidden" name="billRegion"
value="<%=(OscarProperties.getInstance().getProperty(\"billregion\",\"\")).trim().toUpperCase()%>"/>
value="<%=(OscarProperties.getInstance().getProperty("billregion","")).trim().toUpperCase()%>"/>
<input type="hidden" name="apptProvider" value="<%=apptProv%>"/>
<input type="hidden" name="providerview" value="<%=provView%>"/>
<input type="hidden" name="toBill" id="toBill" value="false">
Expand Down
4 changes: 2 additions & 2 deletions src/main/webapp/demographic/contactSearch.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@
List<Contact> contacts;

if ("all".equalsIgnoreCase(list)) {
contacts = ContactAction.searchAllContacts(search_mode, orderBy, keyword);
contacts = Contact2Action.searchAllContacts(search_mode, orderBy, keyword);
} else {
contacts = ContactAction.searchContacts(search_mode, orderBy, keyword);
contacts = Contact2Action.searchContacts(search_mode, orderBy, keyword);
}

nItems = contacts.size();
Expand Down
20 changes: 10 additions & 10 deletions src/main/webapp/demographic/demographiceditdemographic.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
<%@ page import="oscar.OscarProperties" %>
<%@ page import="org.oscarehr.common.dao.*,org.oscarehr.common.model.*" %>
<%@ page import="org.oscarehr.common.OtherIdManager" %>
<%@ page import="org.oscarehr.common.web.ContactAction" %>
<%@ page import="org.oscarehr.common.web.Contact2Action" %>
<%@ page import="org.oscarehr.casemgmt.model.CaseManagementNoteLink" %>
<%@ page import="org.oscarehr.casemgmt.service.CaseManagementManager" %>
<%@ page import="org.oscarehr.util.SpringUtils" %>
Expand Down Expand Up @@ -262,7 +262,7 @@

<!-- calendar stylesheet -->
<link rel="stylesheet" type="text/css" media="all"
href="../share/calendar/calendar.css" title="win2k-cold-1"/>
href="<%=request.getContextPath()%>/share/calendar/calendar.css" title="win2k-cold-1"/>

<script type="text/javascript" src="<%=request.getContextPath()%>/library/jquery/jquery-1.12.0.min.js"></script>
<script type="text/javascript"
Expand All @@ -277,41 +277,41 @@
type="text/css"/>

<!-- main calendar program -->
<script type="text/javascript" src="../share/calendar/calendar.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/share/calendar/calendar.js"></script>

<!-- language for the calendar -->
<script type="text/javascript"
src="../share/calendar/lang/<fmt:setBundle basename="oscarResources"/><fmt:message key="global.javascript.calendar"/>"></script>

<!-- the following script defines the Calendar.setup helper function, which makes
adding a calendar a matter of 1 or 2 lines of code. -->
<script type="text/javascript" src="../share/calendar/calendar-setup.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/share/calendar/calendar-setup.js"></script>

<script type="text/javascript" src="<%=request.getContextPath() %>/js/check_hin.js"></script>

<script type="text/javascript" src="<%=request.getContextPath() %>/js/nhpup_1.1.js"></script>

<!-- calendar stylesheet -->
<link rel="stylesheet" type="text/css" media="all"
href="../share/calendar/calendar.css" title="win2k-cold-1"/>
href="<%=request.getContextPath()%>/share/calendar/calendar.css" title="win2k-cold-1"/>
<% if (isMobileOptimized) { %>
<meta name="viewport"
content="initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, width=device-width"/>
<link rel="stylesheet" type="text/css" href="../mobile/editdemographicstyle.css">
<% } else { %>
<link rel="stylesheet" type="text/css" href="../oscarEncounter/encounterStyles.css">
<link rel="stylesheet" type="text/css" href="../share/css/searchBox.css">
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/oscarEncounter/encounterStyles.css">
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/share/css/searchBox.css">
<script type="text/javascript" src="<%= request.getContextPath() %>/js/global.js"></script>
<% } %>
<script language="javascript" type="text/javascript"
src="../share/javascript/Oscar.js"></script>
src="<%=request.getContextPath()%>/share/javascript/Oscar.js"></script>

<!--popup menu for encounter type -->
<script src="<c:out value="${ctx}"/>/share/javascript/popupmenu.js"
type="text/javascript"></script>
<script src="<c:out value="${ctx}"/>/share/javascript/menutility.js"
type="text/javascript"></script>
<script type="text/javascript" src="../share/javascript/prototype.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/share/javascript/prototype.js"></script>
<script>
jQuery.noConflict();
</script>
Expand Down Expand Up @@ -1695,7 +1695,7 @@
ContactDao contactDao = (ContactDao) SpringUtils.getBean(ContactDao.class);
DemographicContactDao dContactDao = (DemographicContactDao) SpringUtils.getBean(DemographicContactDao.class);
List<DemographicContact> dContacts = dContactDao.findByDemographicNo(demographic.getDemographicNo());
dContacts = ContactAction.fillContactNames(dContacts);
dContacts = Contact2Action.fillContactNames(dContacts);
for (DemographicContact dContact : dContacts) {
String sdm = (dContact.getSdm() != null && dContact.getSdm().equals("true")) ? "<span title=\"SDM\" >/SDM</span>" : "";
String ec = (dContact.getEc() != null && dContact.getEc().equals("true")) ? "<span title=\"Emergency Contact\" >/EC</span>" : "";
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/demographic/displayHealthCareTeam.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
if (!StringUtils.isBlank(demographicNoString)) {
demographicDao = SpringUtils.getBean(DemographicDao.class);
demographic = demographicDao.getClientByDemographicNo(Integer.parseInt(demographicNoString));
demographicContacts = ContactAction.getDemographicContacts(demographic);
demographicContacts = Contact2Action.getDemographicContacts(demographic);
specialtyDao = SpringUtils.getBean(ContactSpecialtyDao.class);
specialty = specialtyDao.findAll();
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/demographic/manageHealthCareTeam.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
providerList = providerDao.getActiveProviders();
demographicDao = SpringUtils.getBean(DemographicDao.class);
demographic = demographicDao.getClientByDemographicNo(Integer.parseInt(demographicNoString));
demographicContacts = ContactAction.getDemographicContacts(demographic);
demographicContacts = Contact2Action.getDemographicContacts(demographic);
contactSpecialtyDao = SpringUtils.getBean(ContactSpecialtyDao.class);
specialty = contactSpecialtyDao.findAll();
}
Expand Down
4 changes: 2 additions & 2 deletions src/main/webapp/demographic/procontactSearch.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@
List<?> contacts;

if ("all".equalsIgnoreCase(list)) {
contacts = ContactAction.searchAllContacts(search_mode, orderBy, keyword);
contacts = Contact2Action.searchAllContacts(search_mode, orderBy, keyword);
pageContext.setAttribute("toggleSearchTool", list);
} else {
contacts = ContactAction.searchProContacts(search_mode, orderBy, keyword);
contacts = Contact2Action.searchProContacts(search_mode, orderBy, keyword);
}

nItems = contacts.size();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
String search_mode = request.getParameter("search_mode") == null ? "search_name" : request.getParameter("search_mode");
String orderBy = request.getParameter("orderby") == null ? "c.lastName,c.firstName" : request.getParameter("orderby");

List<ProfessionalSpecialist> contacts = ContactAction.searchProfessionalSpecialists(keyword);
List<ProfessionalSpecialist> contacts = Contact2Action.searchProfessionalSpecialists(keyword);
nItems = contacts.size();
pageContext.setAttribute("contacts", contacts);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,7 @@ Conditions:
<th><fmt:setBundle basename="oscarResources"/><fmt:message key="oscarrx.showallergies.evaluate"/></th>
</tr>
<c:forEach var="conditionResult" items="${conditionResults}" varStatus="status">
<%
String cssClass = "even";
if (status.index % 2 == 1) cssClass = "odd";%>
<tr class="<%=cssClass%>">
<tr class="${status.index % 2 == 1 ? 'odd' : 'even'}">
<td><c:out value="${conditionResult.condition.conditionType}"/></td>
<td><c:out value="${conditionResult.condition.listOperator}"/></td>
<td><c:out value="${conditionResult.condition.values}"/></td>
Expand Down
Loading