<% /* Shablon formi ANA_CTL_SAN_Form.jsp Forma ANA_CTL_SAN_Form.jsp */ %> <%@ include file="../src/com/apconsulting/pseudoejb/EntityContextWrapper.jsp" %> <%@ include file="../src/com/apconsulting/pseudoejb/BMPEntityBean.jsp" %> <%@ include file="../src/com/apconsulting/pseudoejb/ContextWrapper.jsp" %> <%@ include file="../src/com/apconsulting/jenesic/ejb/CartelleSanitarie/CartelleSanitarieBean_Interfaces.jsp" %> <%@ include file="../src/com/apconsulting/jenesic/ejb/CartelleSanitarie/CartelleSanitarieBean.jsp" %> <%@ include file="../src/com/apconsulting/jenesic/ejb/Azienda/AziendaBean_Interfaces.jsp" %> <%@ include file="../src/com/apconsulting/jenesic/ejb/Azienda/AziendaBean.jsp" %> <%@ include file="../src/com/apconsulting/jenesic/ejb/Dipendente/DipendenteBean_Interfaces.jsp" %> <%@ include file="../src/com/apconsulting/jenesic/ejb/Dipendente/DipendenteBean.jsp" %> <%@ include file="../src/com/apconsulting/jenesic/util/Security.jsp" %> <%@ include file="../src/com/apconsulting/jenesic/util/Formatter.jsp"%> <%@ include file="ANA_CTL_SAN_Util.jsp" %> Anagrafica Cartelle Sanitarie <% IAzienda azienda; IAziendaHome AziendaHome=(IAziendaHome)PseudoContext.lookup("AziendaBean"); ICartelleSanitarie CartelleSanitarie = null; ICartelleSanitarieHome home=(ICartelleSanitarieHome)PseudoContext.lookup("CartelleSanitarieBean"); long lCOD_CTL_SAN=0; //1 String strDAT_CRE_CTL_SAN=""; //2 String strNOM_MED_RSP_CTL_SAN=""; //3 long lCOD_DPD=0; long lCOD_AZL=Security.getAzienda(); if(request.getParameter("ID")!=null) { String strCOD_CTL_SAN = request.getParameter("ID"); Long ctl_san_id=new Long(strCOD_CTL_SAN); CartelleSanitarie = home.findByPrimaryKey(ctl_san_id); lCOD_CTL_SAN = ctl_san_id.longValue(); strDAT_CRE_CTL_SAN = Formatter.format(CartelleSanitarie.getDAT_CRE_CTL_SAN()); //2 strNOM_MED_RSP_CTL_SAN = Formatter.format(CartelleSanitarie.getNOM_MED_RSP_CTL_SAN()); //3 lCOD_DPD = CartelleSanitarie.getCOD_DPD(); lCOD_AZL = CartelleSanitarie.getCOD_AZL(); } // Get Aziende/Ente Long azl_id=new Long(lCOD_AZL); azienda = AziendaHome.findByPrimaryKey(azl_id); String strRAG_SCL_AZL= azienda.getRAG_SCL_AZL(); %>
">
ANAGRAFICA CARTELLE SANITARIE
Cartella Sanitaria
Dipendenti
Azienda/Ente:
 Dipendente:
Medico Competente:   Data:
<% //-------Loading of Tabs-------------------- if(CartelleSanitarie!=null) { String s; // s=BuildDocumentiCartelleTab(home, lCOD_CTL_SAN); out.print(s); // s=BuildProtocolliSanitariTab(home, lCOD_CTL_SAN); out.print(s); // s=BuildVisiteIdoneitaTab(home, lCOD_CTL_SAN); out.print(s); // s=BuildVisiteMedicheTab(home, lCOD_CTL_SAN); out.print(s); // ----------------------------------------- %> <%}%>