/*
 * Generated by the Jasper component of Apache Tomcat
 * Version: Apache Tomcat/8.0.32
 * Generated at: 2019-03-25 10:42:08 UTC
 * Note: The last modified time of this file was set to
 *       the last modified time of the source file after
 *       generation to assist with modification tracking.
 */
package org.apache.jsp.pages;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;

public final class patientdetails_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent,
                 org.apache.jasper.runtime.JspSourceImports {

private static org.apache.jasper.runtime.ProtectedFunctionMapper _jspx_fnmap_0;
private static org.apache.jasper.runtime.ProtectedFunctionMapper _jspx_fnmap_1;
private static org.apache.jasper.runtime.ProtectedFunctionMapper _jspx_fnmap_2;

static {
  _jspx_fnmap_0= org.apache.jasper.runtime.ProtectedFunctionMapper.getMapForFunction("fn:toUpperCase", org.apache.taglibs.standard.functions.Functions.class, "toUpperCase", new Class[] {java.lang.String.class});
  _jspx_fnmap_1= org.apache.jasper.runtime.ProtectedFunctionMapper.getMapForFunction("fn:substring", org.apache.taglibs.standard.functions.Functions.class, "substring", new Class[] {java.lang.String.class, int.class, int.class});
  _jspx_fnmap_2= org.apache.jasper.runtime.ProtectedFunctionMapper.getMapForFunction("fn:length", org.apache.taglibs.standard.functions.Functions.class, "length", new Class[] {java.lang.Object.class});
}

  private static final javax.servlet.jsp.JspFactory _jspxFactory =
          javax.servlet.jsp.JspFactory.getDefaultFactory();

  private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;

  static {
    _jspx_dependants = new java.util.HashMap<java.lang.String,java.lang.Long>(6);
    _jspx_dependants.put("jar:file:/home/rxdev/public_html/tomcat/webapps/Rx_Run/WEB-INF/lib/jstl-1.2.jar!/META-INF/fmt.tld", Long.valueOf(1153399482000L));
    _jspx_dependants.put("jar:file:/home/rxdev/public_html/tomcat/webapps/Rx_Run/WEB-INF/lib/jstl-1.2.jar!/META-INF/c.tld", Long.valueOf(1153399482000L));
    _jspx_dependants.put("jar:file:/home/rxdev/public_html/tomcat/webapps/Rx_Run/WEB-INF/lib/jstl-1.2.jar!/META-INF/fn.tld", Long.valueOf(1153399482000L));
    _jspx_dependants.put("jar:file:/home/rxdev/public_html/tomcat/webapps/Rx_Run/WEB-INF/lib/spring-webmvc-4.1.4.RELEASE.jar!/META-INF/spring-form.tld", Long.valueOf(1419925020000L));
    _jspx_dependants.put("/WEB-INF/lib/jstl-1.2.jar", Long.valueOf(1508875114000L));
    _jspx_dependants.put("/WEB-INF/lib/spring-webmvc-4.1.4.RELEASE.jar", Long.valueOf(1508875084000L));
  }

  private static final java.util.Set<java.lang.String> _jspx_imports_packages;

  private static final java.util.Set<java.lang.String> _jspx_imports_classes;

  static {
    _jspx_imports_packages = new java.util.HashSet<>();
    _jspx_imports_packages.add("javax.servlet");
    _jspx_imports_packages.add("javax.servlet.http");
    _jspx_imports_packages.add("javax.servlet.jsp");
    _jspx_imports_classes = null;
  }

  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fform_005fform_0026_005frole_005fonsubmit_005fmethod_005fcommandName_005fautocomplete_005faction;
  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fform_005fhidden_0026_005fpath_005fid_005fnobody;
  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005ffmt_005fformatDate_0026_005fvar_005fvalue_005fpattern_005fnobody;
  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005ffmt_005fformatDate_0026_005fvalue_005fpattern_005fnobody;
  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005fchoose;
  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest;
  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005fotherwise;
  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems;
  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005fif_0026_005ftest;
  private org.apache.jasper.runtime.TagHandlerPool _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvarStatus_005fvar_005fitems;

  private volatile javax.el.ExpressionFactory _el_expressionfactory;
  private volatile org.apache.tomcat.InstanceManager _jsp_instancemanager;

  public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
    return _jspx_dependants;
  }

  public java.util.Set<java.lang.String> getPackageImports() {
    return _jspx_imports_packages;
  }

  public java.util.Set<java.lang.String> getClassImports() {
    return _jspx_imports_classes;
  }

  public javax.el.ExpressionFactory _jsp_getExpressionFactory() {
    if (_el_expressionfactory == null) {
      synchronized (this) {
        if (_el_expressionfactory == null) {
          _el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
        }
      }
    }
    return _el_expressionfactory;
  }

  public org.apache.tomcat.InstanceManager _jsp_getInstanceManager() {
    if (_jsp_instancemanager == null) {
      synchronized (this) {
        if (_jsp_instancemanager == null) {
          _jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
        }
      }
    }
    return _jsp_instancemanager;
  }

  public void _jspInit() {
    _005fjspx_005ftagPool_005fform_005fform_0026_005frole_005fonsubmit_005fmethod_005fcommandName_005fautocomplete_005faction = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _005fjspx_005ftagPool_005fform_005fhidden_0026_005fpath_005fid_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _005fjspx_005ftagPool_005ffmt_005fformatDate_0026_005fvar_005fvalue_005fpattern_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _005fjspx_005ftagPool_005ffmt_005fformatDate_0026_005fvalue_005fpattern_005fnobody = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _005fjspx_005ftagPool_005fc_005fchoose = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _005fjspx_005ftagPool_005fc_005fotherwise = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
    _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvarStatus_005fvar_005fitems = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig());
  }

  public void _jspDestroy() {
    _005fjspx_005ftagPool_005fform_005fform_0026_005frole_005fonsubmit_005fmethod_005fcommandName_005fautocomplete_005faction.release();
    _005fjspx_005ftagPool_005fform_005fhidden_0026_005fpath_005fid_005fnobody.release();
    _005fjspx_005ftagPool_005ffmt_005fformatDate_0026_005fvar_005fvalue_005fpattern_005fnobody.release();
    _005fjspx_005ftagPool_005ffmt_005fformatDate_0026_005fvalue_005fpattern_005fnobody.release();
    _005fjspx_005ftagPool_005fc_005fchoose.release();
    _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest.release();
    _005fjspx_005ftagPool_005fc_005fotherwise.release();
    _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems.release();
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.release();
    _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvarStatus_005fvar_005fitems.release();
  }

  public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
        throws java.io.IOException, javax.servlet.ServletException {

final java.lang.String _jspx_method = request.getMethod();
if (!"GET".equals(_jspx_method) && !"POST".equals(_jspx_method) && !"HEAD".equals(_jspx_method) && !javax.servlet.DispatcherType.ERROR.equals(request.getDispatcherType())) {
response.sendError(HttpServletResponse.SC_METHOD_NOT_ALLOWED, "JSPs only permit GET POST or HEAD");
return;
}

    final javax.servlet.jsp.PageContext pageContext;
    javax.servlet.http.HttpSession session = null;
    final javax.servlet.ServletContext application;
    final javax.servlet.ServletConfig config;
    javax.servlet.jsp.JspWriter out = null;
    final java.lang.Object page = this;
    javax.servlet.jsp.JspWriter _jspx_out = null;
    javax.servlet.jsp.PageContext _jspx_page_context = null;


    try {
      response.setContentType("text/html");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			null, true, 8192, true);
      _jspx_page_context = pageContext;
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("<html lang=\"en\">\n");
      out.write("    ");
      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "./inc/head.jsp", out, false);
      out.write("\n");
      out.write("    <body>\n");
      out.write("    <link rel=\"stylesheet\" href=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("/resources/css/patientDetail.css\" />\n");
      out.write("    ");
      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "./inc/header.jsp", out, false);
      out.write("\n");
      out.write("    <div id=\"wrapper\">\n");
      out.write("        <div id=\"content\" class=\"clearfix\" style=\"z-index:0\">\n");
      out.write("            ");
      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "./inc/newMenu.jsp", out, false);
      out.write("\n");
      out.write("            <div class=\"breadcrumbs\">\n");
      out.write("                <div><i class=\"fa fa-home\"></i> Home <img src=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("/resources/images/arrow.png\" /> Patient Details.</div>\n");
      out.write("            </div>\n");
      out.write("            <div class=\"heading\">\n");
      out.write("                <h1 class=\"page-title\"><i class=\"fa fa-arrow-circle-o-right\"></i>&nbsp;Patient Details.</h1><div style=\"text-align: right; padding-top: 8px; margin-right: 15px;\"> <img id=\"previousUserProfile\" src=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("/resources/images/Left.png\" width=\"25\" style=\"cursor: pointer;\" onclick=\"previousUser()\"/><img id=\"nextUserProfile\" src=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("/resources/images/Right.png\" width=\"25\" style=\"cursor: pointer;\" onclick=\"nextUser()\" /></div>\n");
      out.write("            </div> <!-- /header -->\n");
      out.write("            ");
      //  form:form
      org.springframework.web.servlet.tags.form.FormTag _jspx_th_form_005fform_005f0 = (org.springframework.web.servlet.tags.form.FormTag) _005fjspx_005ftagPool_005fform_005fform_0026_005frole_005fonsubmit_005fmethod_005fcommandName_005fautocomplete_005faction.get(org.springframework.web.servlet.tags.form.FormTag.class);
      _jspx_th_form_005fform_005f0.setPageContext(_jspx_page_context);
      _jspx_th_form_005fform_005f0.setParent(null);
      // /pages/patientdetails.jsp(21,12) name = action type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
      _jspx_th_form_005fform_005f0.setAction((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}/patient/update", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      // /pages/patientdetails.jsp(21,12) name = commandName type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
      _jspx_th_form_005fform_005f0.setCommandName("patientProfile");
      // /pages/patientdetails.jsp(21,12) name = method type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
      _jspx_th_form_005fform_005f0.setMethod("post");
      // /pages/patientdetails.jsp(21,12) null
      _jspx_th_form_005fform_005f0.setDynamicAttribute(null, "role", "form");
      // /pages/patientdetails.jsp(21,12) name = autocomplete type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
      _jspx_th_form_005fform_005f0.setAutocomplete("off");
      // /pages/patientdetails.jsp(21,12) name = onsubmit type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
      _jspx_th_form_005fform_005f0.setOnsubmit("return validateField()");
      int[] _jspx_push_body_count_form_005fform_005f0 = new int[] { 0 };
      try {
        int _jspx_eval_form_005fform_005f0 = _jspx_th_form_005fform_005f0.doStartTag();
        if (_jspx_eval_form_005fform_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
          do {
            out.write("    \n");
            out.write("                ");
            if (_jspx_meth_form_005fhidden_005f0(_jspx_th_form_005fform_005f0, _jspx_page_context, _jspx_push_body_count_form_005fform_005f0))
              return;
            out.write("\n");
            out.write("                <div class=\"page-message messageheading\">\n");
            out.write("                    <div class=\"");
            out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${not empty message?'message':'errorMessage'}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
            out.write("\" id=\"message\">");
            out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${not empty message?message:errorMessage}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
            out.write("</div>\n");
            out.write("                    <br clear=\"all\">\n");
            out.write("                </div>\n");
            out.write("                ");
            //  fmt:formatDate
            org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag _jspx_th_fmt_005fformatDate_005f0 = (org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag) _005fjspx_005ftagPool_005ffmt_005fformatDate_0026_005fvar_005fvalue_005fpattern_005fnobody.get(org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag.class);
            _jspx_th_fmt_005fformatDate_005f0.setPageContext(_jspx_page_context);
            _jspx_th_fmt_005fformatDate_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_form_005fform_005f0);
            // /pages/patientdetails.jsp(27,16) name = var type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
            _jspx_th_fmt_005fformatDate_005f0.setVar("nowyear");
            // /pages/patientdetails.jsp(27,16) name = pattern type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
            _jspx_th_fmt_005fformatDate_005f0.setPattern("yyyy");
            // /pages/patientdetails.jsp(27,16) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
            _jspx_th_fmt_005fformatDate_005f0.setValue(new java.util.Date());
            int _jspx_eval_fmt_005fformatDate_005f0 = _jspx_th_fmt_005fformatDate_005f0.doStartTag();
            if (_jspx_th_fmt_005fformatDate_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
              _005fjspx_005ftagPool_005ffmt_005fformatDate_0026_005fvar_005fvalue_005fpattern_005fnobody.reuse(_jspx_th_fmt_005fformatDate_005f0);
              return;
            }
            _005fjspx_005ftagPool_005ffmt_005fformatDate_0026_005fvar_005fvalue_005fpattern_005fnobody.reuse(_jspx_th_fmt_005fformatDate_005f0);
            out.write(" \n");
            out.write("\n");
            out.write("\n");
            out.write("                <div class=\"wrapper p_detail_wrp\">\n");
            out.write("                    <div class=\"userBanner clearfix\">\n");
            out.write("                        <div class=\"clearfix\">\n");
            out.write("                            <ul>\n");
            out.write("                                <li>");
            out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${fn:toUpperCase(patientProfile.firstName)}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, _jspx_fnmap_0));
            out.write(' ');
            out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${fn:substring(patientProfile.lastName, 0, 1)}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, _jspx_fnmap_1));
            out.write('.');
            out.write(' ');
            out.write('(');
            out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${patientProfile.gender}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
            out.write(")</li>\n");
            out.write("                                <li>\n");
            out.write("                                    ");
            if (_jspx_meth_fmt_005fformatDate_005f1(_jspx_th_form_005fform_005f0, _jspx_page_context, _jspx_push_body_count_form_005fform_005f0))
              return;
            out.write(" \n");
            out.write("                                    ");
            if (_jspx_meth_fmt_005fformatDate_005f2(_jspx_th_form_005fform_005f0, _jspx_page_context, _jspx_push_body_count_form_005fform_005f0))
              return;
            out.write(' ');
            out.write('(');
            out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${nowyear-dobyear}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
            out.write(" Years)\n");
            out.write("                                </li>\n");
            out.write("                                <li>Member Since ");
            if (_jspx_meth_fmt_005fformatDate_005f3(_jspx_th_form_005fform_005f0, _jspx_page_context, _jspx_push_body_count_form_005fform_005f0))
              return;
            out.write("</li>\n");
            out.write("                                    ");
            if (_jspx_meth_c_005fchoose_005f0(_jspx_th_form_005fform_005f0, _jspx_page_context, _jspx_push_body_count_form_005fform_005f0))
              return;
            out.write("\n");
            out.write("                                <li>\n");
            out.write("                                    ");
            if (_jspx_meth_c_005fchoose_005f1(_jspx_th_form_005fform_005f0, _jspx_page_context, _jspx_push_body_count_form_005fform_005f0))
              return;
            out.write("\n");
            out.write("                                </li>\n");
            out.write("                            </ul>\n");
            out.write("                            <p>");
            //  fmt:formatDate
            org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag _jspx_th_fmt_005fformatDate_005f4 = (org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag) _005fjspx_005ftagPool_005ffmt_005fformatDate_0026_005fvalue_005fpattern_005fnobody.get(org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag.class);
            _jspx_th_fmt_005fformatDate_005f4.setPageContext(_jspx_page_context);
            _jspx_th_fmt_005fformatDate_005f4.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_form_005fform_005f0);
            // /pages/patientdetails.jsp(59,31) name = pattern type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
            _jspx_th_fmt_005fformatDate_005f4.setPattern("MMMM dd, yyyy hh:mm");
            // /pages/patientdetails.jsp(59,31) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
            _jspx_th_fmt_005fformatDate_005f4.setValue(new java.util.Date());
            int _jspx_eval_fmt_005fformatDate_005f4 = _jspx_th_fmt_005fformatDate_005f4.doStartTag();
            if (_jspx_th_fmt_005fformatDate_005f4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
              _005fjspx_005ftagPool_005ffmt_005fformatDate_0026_005fvalue_005fpattern_005fnobody.reuse(_jspx_th_fmt_005fformatDate_005f4);
              return;
            }
            _005fjspx_005ftagPool_005ffmt_005fformatDate_0026_005fvalue_005fpattern_005fnobody.reuse(_jspx_th_fmt_005fformatDate_005f4);
            out.write(" CST</p>\n");
            out.write("                        </div>\n");
            out.write("                    </div>\n");
            out.write("                    <div class=\"customTableRow patientTableRow clearfix\">\n");
            out.write("                        <div class=\"col-md-3\">\n");
            out.write("                            <div class=\"heightList clearfix\">\n");
            out.write("                                <div class=\"primume_box\">\n");
            out.write("                                    <p><span>");
            out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${patientProfile.totalRewardPoints}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
            out.write("</span>Compliance\n");
            out.write("                                        <br />Reward&trade; Points</p>\n");
            out.write("                                    <div class=\"primiume_icon\">\n");
            out.write("                                        ");
            if (_jspx_meth_c_005fforEach_005f0(_jspx_th_form_005fform_005f0, _jspx_page_context, _jspx_push_body_count_form_005fform_005f0))
              return;
            out.write("\n");
            out.write("                                    </div>\n");
            out.write("                                </div>\n");
            out.write("                                <ul>\n");
            out.write("                                    <li><span>Height</span></li>\n");
            out.write("                                    <li><span>Weight</span></li>\n");
            out.write("                                    <li><span>BMI</span><a href=\"#\" data-toggle=\"modal\" data-target=\"#healthModal\"><i class=\"fa fa-pencil\"></i></a></li>\n");
            out.write("                                </ul>\n");
            out.write("                                <ul>\n");
            out.write("                                    <li>");
            out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${not empty patientProfile.patientProfileHealthsList[0].heightFeet?patientProfile.patientProfileHealthsList[0].heightFeet:0}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
            out.write(" ft</li>\n");
            out.write("                                    <li>");
            out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${not empty patientProfile.patientProfileHealthsList[0].weight?patientProfile.patientProfileHealthsList[0].weight:0}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
            out.write(" lbs</li>\n");
            out.write("                                    <li>");
            out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${not empty patientProfile.patientProfileHealthsList[0].bmi?patientProfile.patientProfileHealthsList[0].bmi:'0.00'}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
            out.write("%</li>\n");
            out.write("                                </ul>\n");
            out.write("\n");
            out.write("                            </div>\n");
            out.write("                            <div class=\"contactContainer\">\n");
            out.write("                                <p><span class=\"blueText\">Phone #.</span> ");
            out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${fn:substring(patientProfile.mobileNumber, 0, 3)}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, _jspx_fnmap_1));
            out.write('-');
            out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${fn:substring(patientProfile.mobileNumber, 3, 6)}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, _jspx_fnmap_1));
            out.write('-');
            out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${fn:substring(patientProfile.mobileNumber, 6, 10)}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, _jspx_fnmap_1));
            out.write("</p>\n");
            out.write("                                <p><span class=\"blueText\">Backup Phone #.</span> ");
            out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${fn:substring(patientProfile.mobileNumber, 0, 3)}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, _jspx_fnmap_1));
            out.write('-');
            out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${fn:substring(patientProfile.mobileNumber, 3, 6)}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, _jspx_fnmap_1));
            out.write('-');
            out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${fn:substring(patientProfile.mobileNumber, 6, 10)}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, _jspx_fnmap_1));
            out.write("</p>\n");
            out.write("                                <p><span class=\"blueText\">Email</span> ");
            out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${not empty patientProfile.emailAddress?patientProfile.emailAddress:'&nbsp;'}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
            out.write("</p>\n");
            out.write("                                <p><span class=\"blueText\">Allergies <a href=\"#\" data-toggle=\"modal\" data-target=\"#allergyModal\" ><i class=\"fa fa-pencil\"></i></a> </span>\n");
            out.write("                                    <br />");
            out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${not empty patientProfile.allergies?patientProfile.allergies:'No data available.'}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
            out.write("</p>\n");
            out.write("                            </div>\n");
            out.write("                            <div class=\"shippingContainer\">\n");
            out.write("                                <ol type=\"1\">\n");
            out.write("                                    ");
            if (_jspx_meth_c_005fforEach_005f1(_jspx_th_form_005fform_005f0, _jspx_page_context, _jspx_push_body_count_form_005fform_005f0))
              return;
            out.write("\n");
            out.write("\n");
            out.write("                                </ol>\n");
            out.write("                            </div>\n");
            out.write("                            <div class=\"insuranceContainer\" style=\"");
            out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${fn:length(listOfPtInsurances) > 0?'height:137px;overflow:auto;':''}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, _jspx_fnmap_2));
            out.write("\">\n");
            out.write("                                ");
            if (_jspx_meth_c_005fchoose_005f2(_jspx_th_form_005fform_005f0, _jspx_page_context, _jspx_push_body_count_form_005fform_005f0))
              return;
            out.write("\n");
            out.write("                            </div>\n");
            out.write("                            <form action=\"\" class=\"messageForm\">\n");
            out.write("                                <textarea id=\"messageText\" name=\"message\" class=\"messageBox\" placeholder=\"Send Message to Patient\"></textarea>\n");
            out.write("                                <i class=\"fa fa-paper-plane greenText\" onclick=\"window.patientInfo.SendPatientNotification(");
            out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${patientProfile.id}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
            out.write(',');
            out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${patientProfile.mobileNumber}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
            out.write(");\"></i>\n");
            out.write("                            </form>\n");
            out.write("                            <a href=\"#\" class=\"greenText messageHistory pull-left\" onclick=\"displayModal(");
            out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${patientProfile.id}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
            out.write(", 'historyModal', 'viewPatientHistoryMessage')\">View Message History</a>\n");
            out.write("                            <div id=\"errorSendMessage\" class=\"pull-right\"></div>\n");
            out.write("\n");
            out.write("                        </div>\n");
            out.write("                        <div class=\"col-md-9 rightPatientDiv\">\n");
            out.write("\n");
            out.write("                            <div class=\"tableContainer\">\n");
            out.write("\n");
            out.write("                                <!-- Nav tabs -->\n");
            out.write("                                <ul class=\"nav nav-tabs\" role=\"tablist\">\n");
            out.write("                                    <li role=\"presentation\" class=\"active\"><a href=\"#home\" aria-controls=\"home\" role=\"tab\" data-toggle=\"tab\" onclick=\"displayTab(1)\">Active Medications</a></li>\n");
            out.write("                                    <li role=\"presentation\"><a href=\"#profile\" aria-controls=\"profile\" role=\"tab\" data-toggle=\"tab\" onclick=\"displayTab(2)\">Points Balance</a></li>\n");
            out.write("                                    <li role=\"presentation\"><a href=\"#messages\" aria-controls=\"messages\" role=\"tab\" data-toggle=\"tab\" onclick=\"displayTab(3)\">Program Activities</a></li>\n");
            out.write("                                </ul>\n");
            out.write("                                <div class=\"rightTableTop searchRecordsContainer\">\n");
            out.write("                                    <form action=\"\">\n");
            out.write("                                        <select id=\"dtPagelen\" name=\"numberOfRecords\">\n");
            out.write("                                            <option value=\"10\" selected=\"selected\">10</option>\n");
            out.write("                                            <option value=\"25\">25</option>\n");
            out.write("                                            <option value=\"50\">50</option>\n");
            out.write("                                            <option value=\"100\">100</option>\n");
            out.write("                                        </select>\n");
            out.write("                                        <div class=\"searchBoxField\">\n");
            out.write("                                            <input id=\"tabInfo\" type=\"hidden\" value=\"1\"/>\n");
            out.write("                                            <input id=\"search\" type=\"text\" style=\"color: black;\" placeholder=\"Search\">\n");
            out.write("                                            <button type=\"submit\">\n");
            out.write("                                                <i class=\"fa fa-search\"></i>\n");
            out.write("                                            </button>\n");
            out.write("                                        </div>\n");
            out.write("                                    </form>\n");
            out.write("                                </div>\n");
            out.write("                                <!-- Tab panes -->\n");
            out.write("                                <div class=\"tab-content\">\n");
            out.write("                                    <div role=\"tabpanel\" class=\"tab-pane active\" id=\"home\">\n");
            out.write("                                        <div class=\"\">\n");
            out.write("                                            <table id=\"activeMedicationTb\" class=\"display table\">\n");
            out.write("                                                <thead>\n");
            out.write("                                                    <tr class=\"row grid-header\">\n");
            out.write("                                                        <th  align=\"left\" width=\"10%\">Date</th>\n");
            out.write("                                                        <th  width=\"30%\">Medication</th>\n");
            out.write("                                                        <th  width=\"2%\">QTY</th>\n");
            out.write("                                                        <th  width=\"6%\">Ref Rem</th>\n");
            out.write("                                                        <th  width=\"6%\">Last Action</th>\n");
            out.write("                                                        <th  width=\"6%\">Ins Code</th>\n");
            out.write("                                                        <th  width=\"6%\">Orig Copy</th>\n");
            out.write("                                                        <th  width=\"6%\">Handling Fee</th>\n");
            out.write("                                                        <th  width=\"6%\">Redeemed</th>\n");
            out.write("                                                        <th  width=\"6%\">Total State</th>\n");
            out.write("                                                        <th  width=\"6%\">Amt Collected</th>\n");
            out.write("                                                        <th  width=\"10%\">Next Refill</th>\n");
            out.write("                                                    </tr>\n");
            out.write("                                                </thead>\n");
            out.write("                                                <tbody>\n");
            out.write("                                                    ");
            if (_jspx_meth_c_005fforEach_005f3(_jspx_th_form_005fform_005f0, _jspx_page_context, _jspx_push_body_count_form_005fform_005f0))
              return;
            out.write("\n");
            out.write("                                                </tbody>\n");
            out.write("                                            </table>\n");
            out.write("                                        </div>\n");
            out.write("                                        <!--                                        <nav aria-label=\"Page navigation\">\n");
            out.write("                                                                                    <ul class=\"pagination\">\n");
            out.write("                                                                                        <li>\n");
            out.write("                                                                                            <a href=\"#\" aria-label=\"Previous\">\n");
            out.write("                                                                                                <span aria-hidden=\"true\"><i class=\"fa fa-caret-left\"></i></span>\n");
            out.write("                                                                                            </a>\n");
            out.write("                                                                                        </li>\n");
            out.write("                                                                                        <li class=\"active\"><a href=\"#\">1</a></li>\n");
            out.write("                                                                                        <li><a href=\"#\">2</a></li>\n");
            out.write("                                                                                        <li><a href=\"#\">3</a></li>\n");
            out.write("                                                                                        <li><a href=\"#\">4</a></li>\n");
            out.write("                                                                                        <li><a href=\"#\">5</a></li>\n");
            out.write("                                                                                        <li>\n");
            out.write("                                                                                            <a href=\"#\" aria-label=\"Next\">\n");
            out.write("                                                                                                <span aria-hidden=\"true\"><i class=\"fa fa-caret-right\"></i></span>\n");
            out.write("                                                                                            </a>\n");
            out.write("                                                                                        </li>\n");
            out.write("                                                                                    </ul>\n");
            out.write("                                                                                </nav>-->\n");
            out.write("\n");
            out.write("                                    </div>\n");
            out.write("                                    <div role=\"tabpanel\" class=\"tab-pane\" id=\"profile\">\n");
            out.write("\n");
            out.write("                                        <div class=\"\">\n");
            out.write("                                            <table id=\"pointsBalanceTb\" class=\"display table\">\n");
            out.write("                                                <thead>\n");
            out.write("                                                    <tr class=\"row grid-header\">\n");
            out.write("\n");
            out.write("                                                        <th  width=\"40%\">Description</th>\n");
            out.write("                                                        <th  width=\"15%\" >Redeemed Points</th>\n");
            out.write("                                                        <th  width=\"15%\" >Awarded Points</th>\n");
            out.write("                                                        <th  width=\"30%\" >Date</th>\n");
            out.write("                                                    </tr>\n");
            out.write("                                                </thead>\n");
            out.write("                                                <tbody>\n");
            out.write("\n");
            out.write("                                                    ");
            if (_jspx_meth_c_005fforEach_005f4(_jspx_th_form_005fform_005f0, _jspx_page_context, _jspx_push_body_count_form_005fform_005f0))
              return;
            out.write("\n");
            out.write("\n");
            out.write("                                                </tbody>\n");
            out.write("                                            </table>\n");
            out.write("                                        </div>\n");
            out.write("                                        <!--                                        <nav aria-label=\"Page navigation\">\n");
            out.write("                                                                                    <ul class=\"pagination\">\n");
            out.write("                                                                                        <li>\n");
            out.write("                                                                                            <a href=\"#\" aria-label=\"Previous\">\n");
            out.write("                                                                                                <span aria-hidden=\"true\"><i class=\"fa fa-caret-left\"></i></span>\n");
            out.write("                                                                                            </a>\n");
            out.write("                                                                                        </li>\n");
            out.write("                                                                                        <li class=\"active\"><a href=\"#\">1</a></li>\n");
            out.write("                                                                                        <li><a href=\"#\">2</a></li>\n");
            out.write("                                                                                        <li><a href=\"#\">3</a></li>\n");
            out.write("                                                                                        <li><a href=\"#\">4</a></li>\n");
            out.write("                                                                                        <li><a href=\"#\">5</a></li>\n");
            out.write("                                                                                        <li>\n");
            out.write("                                                                                            <a href=\"#\" aria-label=\"Next\">\n");
            out.write("                                                                                                <span aria-hidden=\"true\"><i class=\"fa fa-caret-right\"></i></span>\n");
            out.write("                                                                                            </a>\n");
            out.write("                                                                                        </li>\n");
            out.write("                                                                                    </ul>\n");
            out.write("                                                                                </nav>-->\n");
            out.write("                                    </div>\n");
            out.write("                                    <div role=\"tabpanel\" class=\"tab-pane\" id=\"messages\">\n");
            out.write("\n");
            out.write("                                        <div >\n");
            out.write("                                            <table id=\"programActivityTb\" class=\"display table\">\n");
            out.write("                                                <thead>\n");
            out.write("                                                    <tr class=\"row grid-header\">\n");
            out.write("                                                        <th  align=\"left\" width=\"10%\">Date</th>\n");
            out.write("                                                        <th  width=\"30%\">Medication</th>\n");
            out.write("                                                        <th  width=\"2%\">QTY</th>\n");
            out.write("                                                        <th  width=\"6%\">Ref Rem</th>\n");
            out.write("                                                        <th  width=\"6%\">Last Action</th>\n");
            out.write("                                                        <th  width=\"6%\">Ins Code</th>\n");
            out.write("                                                        <th  width=\"6%\">Orig Copy</th>\n");
            out.write("                                                        <th  width=\"6%\">Handling Fee</th>\n");
            out.write("                                                        <th  width=\"6%\">Redeemed</th>\n");
            out.write("                                                        <th  width=\"6%\">Total State</th>\n");
            out.write("                                                        <th  width=\"6%\">Amt Collected</th>\n");
            out.write("                                                        <th  width=\"10%\">Next Refill</th>\n");
            out.write("                                                    </tr>\n");
            out.write("                                                </thead>\n");
            out.write("                                                <tbody>\n");
            out.write("                                                    ");
            if (_jspx_meth_c_005fforEach_005f5(_jspx_th_form_005fform_005f0, _jspx_page_context, _jspx_push_body_count_form_005fform_005f0))
              return;
            out.write("\n");
            out.write("                                                </tbody>\n");
            out.write("                                            </table>\n");
            out.write("                                        </div>\n");
            out.write("                                        <!--                                        <nav aria-label=\"Page navigation\">\n");
            out.write("                                                                                    <ul class=\"pagination\">\n");
            out.write("                                                                                        <li>\n");
            out.write("                                                                                            <a href=\"#\" aria-label=\"Previous\">\n");
            out.write("                                                                                                <span aria-hidden=\"true\"><i class=\"fa fa-caret-left\"></i></span>\n");
            out.write("                                                                                            </a>\n");
            out.write("                                                                                        </li>\n");
            out.write("                                                                                        <li class=\"active\"><a href=\"#\">1</a></li>\n");
            out.write("                                                                                        <li><a href=\"#\">2</a></li>\n");
            out.write("                                                                                        <li><a href=\"#\">3</a></li>\n");
            out.write("                                                                                        <li><a href=\"#\">4</a></li>\n");
            out.write("                                                                                        <li><a href=\"#\">5</a></li>\n");
            out.write("                                                                                        <li>\n");
            out.write("                                                                                            <a href=\"#\" aria-label=\"Next\">\n");
            out.write("                                                                                                <span aria-hidden=\"true\"><i class=\"fa fa-caret-right\"></i></span>\n");
            out.write("                                                                                            </a>\n");
            out.write("                                                                                        </li>\n");
            out.write("                                                                                    </ul>\n");
            out.write("                                                                                </nav>-->\n");
            out.write("                                    </div>\n");
            out.write("                                </div>\n");
            out.write("\n");
            out.write("                            </div>\n");
            out.write("                            <div class=\"row textBox\">\n");
            out.write("                                <div class=\"col-sm-12 messageForm\">\n");
            out.write("\n");
            out.write("                                    <textarea id=\"pharmacyNotes\" name=\"pharmacyNote\" class=\"messageBox\" placeholder=\"Pharmacy Notes\"></textarea>\n");
            out.write("                                    <i class=\"fa fa-paper-plane greenText\" onclick=\"savePharmacyNotes(");
            out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${patientProfile.id}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
            out.write(")\" title=\"Click Here For Saving Pharmacy Notes\"></i>\n");
            out.write("\n");
            out.write("                                    <a href=\"");
            out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
            out.write("/patient/detail\" class=\"greenText messageHistory\">Back</a>\n");
            out.write("                                    <div id=\"pharmacyNotesReq\" class=\"errorMessage pull-right\"></div>\n");
            out.write("                                </div>\n");
            out.write("\n");
            out.write("                            </div>\n");
            out.write("\n");
            out.write("                        </div>\n");
            out.write("                    </div>\n");
            out.write("\n");
            out.write("                </div>\n");
            out.write("\n");
            out.write("\n");
            out.write("\n");
            out.write("            </div>\n");
            out.write("        </div>\n");
            out.write("        <div id=\"dialog\" style=\"height: auto; overflow: auto; background-color: white;display: none;\"></div>\n");
            out.write("        <div id=\"dialogDeliveryAddress\" style=\"height: 300px; overflow: auto; background-color: white;display: none;padding-left: 0px;padding-top: 25px !important;\"></div>\n");
            out.write("        <div id=\"dialogAllergies\" style=\"height: auto; overflow: auto; background-color: white;display: none;padding-top: 15px !important;\"></div>\n");
            out.write("        <div id=\"dialogInsurance\" style=\"height: auto; overflow: auto; background-color: white;display: none;padding-top: 15px !important;\"></div>\n");
            out.write("    ");
            int evalDoAfterBody = _jspx_th_form_005fform_005f0.doAfterBody();
            if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
              break;
          } while (true);
        }
        if (_jspx_th_form_005fform_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
          return;
        }
      } catch (java.lang.Throwable _jspx_exception) {
        while (_jspx_push_body_count_form_005fform_005f0[0]-- > 0)
          out = _jspx_page_context.popBody();
        _jspx_th_form_005fform_005f0.doCatch(_jspx_exception);
      } finally {
        _jspx_th_form_005fform_005f0.doFinally();
        _005fjspx_005ftagPool_005fform_005fform_0026_005frole_005fonsubmit_005fmethod_005fcommandName_005fautocomplete_005faction.reuse(_jspx_th_form_005fform_005f0);
      }
      out.write("\n");
      out.write("</div> <!-- /content -->\n");
      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "./inc/footer.jsp", out, false);
      out.write("\n");
      out.write("</div> <!-- /wrapper -->\n");
      out.write("\n");
      out.write("<!-- Modal Insurance Cards-->\n");
      out.write("\n");
      out.write("<!--/ Modal Insurance Cards -->\n");
      out.write("<!-- Modal Dependents -->\n");
      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "portal/modals.jsp", out, false);
      out.write("\n");
      out.write("<!--/ Modal Dependents -->\n");
      out.write("\n");
      out.write("<!-- Modal History -->\n");
      out.write("\n");
      out.write("<!--/ Modal History -->\n");
      out.write("\n");
      out.write("<!-- Modal Health Details -->\n");
      out.write("<div id=\"healthModal\" class=\"listModal healthModal formModal modal fade\" role=\"dialog\" tabindex=\"-1\">\n");
      out.write("    <div class=\"modal-dialog\">\n");
      out.write("\n");
      out.write("        <!-- Modal content-->\n");
      out.write("        <div class=\"modal-content\">\n");
      out.write("            <div class=\"modal-header\">\n");
      out.write("                <button type=\"button\" class=\"close\" data-dismiss=\"modal\">&times;</button>\n");
      out.write("                <h4 class=\"modal-title\">Health Details</h4>\n");
      out.write("            </div>\n");
      out.write("            <div class=\"modal-body\">\n");
      out.write("                <div class=\"healthForm\">\n");
      out.write("                    <input id=\"profileHealthsId\" value=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${patientProfile.patientProfileHealthsList[0].id}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("\" type=\"hidden\"/>\n");
      out.write("                    <div class=\"form-group\">\n");
      out.write("                        <label for=\"heightFeet\">Height:</label>\n");
      out.write("                        <input id=\"heightFeet\" class=\"form-control\" type=\"text\" name=\"heightFeet\" placeholder=\"Feet\" value=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${not empty patientProfile.patientProfileHealthsList[0].heightFeet?patientProfile.patientProfileHealthsList[0].heightFeet:0}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("\" onkeypress=\"return IsDigit(event)\"/>\n");
      out.write("                    </div>\n");
      out.write("                    <div class=\"form-group\">\n");
      out.write("                        <label for=\"heightInches\"></label>\n");
      out.write("                        <input id=\"Inch\" type=\"text\" class=\"form-control\" name=\"heightInches\" placeholder=\"Inch\" value=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${not empty patientProfile.patientProfileHealthsList[0].heightInch?patientProfile.patientProfileHealthsList[0].heightInch:0}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("\" onkeypress=\"return IsDigit(event)\"/>\n");
      out.write("                    </div>\n");
      out.write("                    <div class=\"form-group\">\n");
      out.write("                        <label for=\"weight\">Weight (lbs):</label>\n");
      out.write("                        <input id=\"Weight\" class=\"form-control\" type=\"text\" name=\"weight\" placeholder=\"lbs\" value=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${not empty patientProfile.patientProfileHealthsList[0].weight?patientProfile.patientProfileHealthsList[0].weight:0}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("\" onkeypress=\"return IsDigit(event)\"/>\n");
      out.write("                    </div>\n");
      out.write("                    <div class=\"form-group\">\n");
      out.write("                        <label for=\"bmi\">BMI (%):</label>\n");
      out.write("                        <input id=\"BMI\" class=\"form-control\" type=\"text\" name=\"bmi\" placeholder=\"%\" value=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${not empty patientProfile.patientProfileHealthsList[0].bmi?patientProfile.patientProfileHealthsList[0].bmi:'0.00'}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("\" onkeypress=\"return isFloatNumber(this, event)\"/>\n");
      out.write("                    </div>\n");
      out.write("                    <input class=\"blueSubmitButton\" type=\"submit\" value=\"Save\" onclick=\"savePatientHealth('");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${patientProfile.id}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("')\"/>\n");
      out.write("                </div>\n");
      out.write("            </div>\n");
      out.write("        </div>\n");
      out.write("\n");
      out.write("    </div>\n");
      out.write("</div>\n");
      out.write("<!--/ Modal Health Details -->\n");
      out.write("\n");
      out.write("<!-- Modal Allergy -->\n");
      out.write("<div id=\"allergyModal\"  tabindex='-1' class=\"listModal allergyModal formModal modal fade\" role=\"dialog\">\n");
      out.write("    <div class=\"modal-dialog\">\n");
      out.write("\n");
      out.write("        <!-- Modal content-->\n");
      out.write("        <div class=\"modal-content\">\n");
      out.write("            <div class=\"modal-header\">\n");
      out.write("                <button type=\"button\" class=\"close\" data-dismiss=\"modal\">&times;</button>\n");
      out.write("                <h4 class=\"modal-title\">Allergies</h4>\n");
      out.write("            </div>\n");
      out.write("            <div class=\"modal-body\">\n");
      out.write("                <div class=\"form-group\">\n");
      out.write("                    <label for=\"allergies\">Allergies:</label>\n");
      out.write("                    <input id=\"allergyId\" class=\"form-control\" type=\"text\" name=\"allergies\" placeholder=\"Comma Seperated (Penicillin, Peanuts, Mango)\" value=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${patientProfile.allergies}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("\"/>\n");
      out.write("                </div>\n");
      out.write("                <input class=\"blueSubmitButton\" type=\"submit\" value=\"Save\" onclick=\"window.patientInfo.updateAllergies();\"/>\n");
      out.write("            </div>\n");
      out.write("        </div>\n");
      out.write("\n");
      out.write("    </div>\n");
      out.write("</div>\n");
      out.write("<!--/ Modal Allergy -->\n");
      out.write("\n");
      out.write("<!-- Modal Shipping Details -->\n");
      out.write("<div id=\"shippingModal\" class=\"listModal shippingModal formModal modal fade\" role=\"dialog\" tabindex=\"-1\">\n");
      out.write("    <div class=\"modal-dialog\">\n");
      out.write("\n");
      out.write("        <!-- Modal content-->\n");
      out.write("        <div class=\"modal-content\">\n");
      out.write("            <div class=\"modal-header\">\n");
      out.write("                <button type=\"button\" class=\"close\" data-dismiss=\"modal\">&times;</button>\n");
      out.write("                <h4 class=\"modal-title\">Shipping Address</h4>\n");
      out.write("            </div>\n");
      out.write("            <div class=\"modal-body\">\n");
      out.write("                <div class=\"shippingForm\">\n");
      out.write("                    <input id='deliveryAddressId' type='hidden'/>\n");
      out.write("                    <div class=\"form-group\">\n");
      out.write("                        <label for=\"addressOne\">Address Line 1:</label>\n");
      out.write("                        <input id=\"addressLine1\" class=\"form-control\" type=\"text\" name=\"addressOne\" />\n");
      out.write("                    </div>\n");
      out.write("                    <div class=\"form-group\">\n");
      out.write("                        <label for=\"addresstwo\">Address Line 2:</label>\n");
      out.write("                        <input type=\"text\" class=\"form-control\" name=\"addressTwo\" />\n");
      out.write("                    </div>\n");
      out.write("                    <div class=\"form-group\">\n");
      out.write("                        <label for=\"apt\">APT:</label>\n");
      out.write("                        <input id=\"apartment\" class=\"form-control\" type=\"text\" name=\"apt\" />\n");
      out.write("                    </div>\n");
      out.write("                    <div class=\"form-group\">\n");
      out.write("                        <label for=\"city\">City:</label>\n");
      out.write("                        <input id=\"city\" class=\"form-control\" type=\"text\" name=\"city\" />\n");
      out.write("                    </div>\n");
      out.write("                    <div class=\"form-group\">\n");
      out.write("                        <label for=\"state\">State:</label>\n");
      out.write("                        <select name=\"state\" id=\"state\" class=\"form-control\">\n");
      out.write("                            <option value='0'>Select One</option>\n");
      out.write("                        </select>\n");
      out.write("                    </div>\n");
      out.write("                    <div class=\"form-group\">\n");
      out.write("                        <label for=\"zip\">Zip:</label>\n");
      out.write("                        <input id=\"zip\" class=\"form-control\" type=\"text\" name=\"zip\" />\n");
      out.write("                    </div>\n");
      out.write("                    <div class=\"form-group\">\n");
      out.write("                        <label for=\"addressDescription\">Address Description:</label>\n");
      out.write("                        <input id=\"addressDescription\" class=\"form-control\" type=\"text\" name=\"addressDescription\" />\n");
      out.write("                    </div>\n");
      out.write("                    <div class=\"form-group\">\n");
      out.write("                        <label for=\"addressType\">Address Type:</label>\n");
      out.write("                        <div>\n");
      out.write("                            <input id=\"rdHome\" type=\"radio\" name=\"addressType\" /> <span>Home</span>\n");
      out.write("\n");
      out.write("                            <input id=\"rdWork\" type=\"radio\" name=\"addressType\" /> <span>Work</span>\n");
      out.write("                        </div>\n");
      out.write("                    </div>\n");
      out.write("                    <div class=\"form-group\">\n");
      out.write("                        <label for=\"isDefault\"></label>\n");
      out.write("                        <input id=\"isDefault\" type=\"checkbox\" name=\"isDefault\" /> <span>Is Default</span>\n");
      out.write("                    </div>\n");
      out.write("                    <input class=\"blueSubmitButton\" type=\"submit\" value=\"Save\" onclick=\"window.ssaSoftDeliveryAddress.updateDeliveryAddress();\"/>\n");
      out.write("                </div>\n");
      out.write("            </div>\n");
      out.write("        </div>\n");
      out.write("    </div>\n");
      out.write("</div>\n");
      out.write("<!--/ Modal Shipping Details -->\n");
      out.write("\n");
      out.write("<!-- Modal Insurance edit -->\n");
      out.write("<div id=\"insEditModal\" class=\"listModal shippingModal formModal modal fade\" role=\"dialog\" tabindex=\"-1\">\n");
      out.write("    <div class=\"modal-dialog\">\n");
      out.write("\n");
      out.write("        <!-- Modal content-->\n");
      out.write("        <div class=\"modal-content\">\n");
      out.write("            <div class=\"modal-header\">\n");
      out.write("                <button type=\"button\" class=\"close\" data-dismiss=\"modal\">&times;</button>\n");
      out.write("                <h4 class=\"modal-title\">Insurance Details</h4>\n");
      out.write("            </div>\n");
      out.write("            <div class=\"modal-body\">\n");
      out.write("                <div class=\"insEditForm\">\n");
      out.write("                    <input id='patInsId' type='hidden'>\n");
      out.write("                    <div class=\"clearfix\">\n");
      out.write("                        <div class=\"form-group\">\n");
      out.write("                            <label for=\"memId\">Member ID:</label>\n");
      out.write("                            <input id=\"memberIDId\" class=\"form-control\" type=\"text\" name=\"memId\" />\n");
      out.write("                        </div>\n");
      out.write("                        <div class=\"form-group\">\n");
      out.write("                            <label for=\"groupNum\">Group Number:</label>\n");
      out.write("                            <input id=\"groupNumberId\" type=\"text\" class=\"form-control\" name=\"groupNum\" />\n");
      out.write("                        </div>\n");
      out.write("                        <div class=\"form-group\">\n");
      out.write("                            <label for=\"planId\">Plan ID: </label>\n");
      out.write("                            <input id=\"planIdId\" class=\"form-control\" type=\"text\" name=\"planId\" />\n");
      out.write("                        </div>\n");
      out.write("                        <div class=\"form-group\">\n");
      out.write("                            <label for=\"insProv\">Insurance Provider:</label>\n");
      out.write("                            <input id=\"insuranceProviderId\" class=\"form-control\" type=\"text\" name=\"insProv\" />\n");
      out.write("                        </div>\n");
      out.write("                        <div class=\"form-group\">\n");
      out.write("                            <label for=\"provAddr\">Provider Address:</label>\n");
      out.write("                            <input id=\"providerAddressId\" class=\"form-control\" type=\"text\" name=\"provAddr\" />\n");
      out.write("                        </div>\n");
      out.write("                        <div class=\"form-group\">\n");
      out.write("                            <label for=\"providerPhone\">Provider Phone:</label>\n");
      out.write("                            <input id=\"providerPhoneId\" class=\"form-control\" type=\"text\" name=\"providerPhone\" />\n");
      out.write("                        </div>\n");
      out.write("                        <div class=\"form-group\">\n");
      out.write("                            <label for=\"expiryDate\">Expiry Date:</label>\n");
      out.write("                            <input id=\"datetimepicker\" class=\"form-control\" type=\"date\" name=\"expiryDate\" />\n");
      out.write("                        </div>\n");
      out.write("                    </div>\n");
      out.write("                    <input class=\"blueSubmitButton\" type=\"submit\" value=\"Save\" onclick=\"window.patientInfoInsurance.saveUpdateInsurnaceDetails();\"/>\n");
      out.write("                </div>\n");
      out.write("            </div>\n");
      out.write("        </div>\n");
      out.write("\n");
      out.write("    </div>\n");
      out.write("</div>\n");
      out.write("<!--/ Modal Insurance edit -->\n");
      out.write("<script type=\"text/javascript\" charset=\"utf-8\" src=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("/resources/ssasoft/ssasoftDeliveryAddress.js\"></script>\n");
      out.write("<script type=\"text/javascript\" charset=\"utf-8\" src=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("/resources/ssasoft/js/patientInfo.js\"></script>\n");
      out.write("<script type=\"text/javascript\" charset=\"utf-8\" src=\"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("/resources/ssasoft/js/patientInfoInsurance.js\"></script>\n");
      out.write("<script type=\"text/javascript\">\n");
      out.write("                        $('#datetimepicker').datetimepicker({timepicker: false, format: 'm/d/Y',\n");
      out.write("                            onChangeDateTime: function (dp, $input) {\n");
      out.write("                                jQuery('#datetimepicker').datetimepicker('hide');\n");
      out.write("                            }});\n");
      out.write("</script>\n");
      out.write("<script type=\"text/javascript\">\n");
      out.write("    function viewLargeImg(url, title) {\n");
      out.write("        var dialog = $(\"#dialog\").dialog({\n");
      out.write("            closeOnEscape: false,\n");
      out.write("            autoOpen: false,\n");
      out.write("            modal: true,\n");
      out.write("            height: 260,\n");
      out.write("            width: '24%',\n");
      out.write("            cache: false,\n");
      out.write("            autoResize: true,\n");
      out.write("            title: title,\n");
      out.write("            open: function (event, ui) {\n");
      out.write("                //hide titlebar.\n");
      out.write("                $(\".ui-dialog-titlebar\").css(\"font-size\", \"14px\");\n");
      out.write("                $(\".ui-dialog-titlebar\").css(\"font-weight\", \"normal\");\n");
      out.write("            },\n");
      out.write("            close: function ()\n");
      out.write("            {\n");
      out.write("                $(this).dialog('close');\n");
      out.write("                $(this).dialog('destroy');\n");
      out.write("            }\n");
      out.write("        });\n");
      out.write("        var html = '<img src=\"' + url + '\" width=\"340\" height=\"200\">';\n");
      out.write("        $(dialog).html(html);\n");
      out.write("        $(\"#dialog\").dialog(\"open\");\n");
      out.write("    }\n");
      out.write("    function getPatientHealthRecord(patientProfileId, heightFeet, heightInch, weight, bmi) {\n");
      out.write("        var w;\n");
      out.write("        if (window.screen.width > 360) {\n");
      out.write("            w = 360;\n");
      out.write("        } else {\n");
      out.write("            w = $(window).width() * 0.9;\n");
      out.write("        }\n");
      out.write("        var dialog = $(\"#dialog\").dialog({\n");
      out.write("            closeOnEscape: false,\n");
      out.write("            autoOpen: false,\n");
      out.write("            modal: true,\n");
      out.write("            width: w,\n");
      out.write("            cache: false,\n");
      out.write("            title: \"Patient Health\",\n");
      out.write("            open: function (event, ui) {\n");
      out.write("                //hide titlebar.\n");
      out.write("                $(\".ui-dialog-titlebar\").css(\"font-size\", \"14px\");\n");
      out.write("                $(\".ui-dialog-titlebar\").css(\"font-weight\", \"normal\");\n");
      out.write("            },\n");
      out.write("            close: function ()\n");
      out.write("            {\n");
      out.write("                $(this).dialog('close');\n");
      out.write("                $(this).dialog('destroy');\n");
      out.write("                $(this).html(\"\");\n");
      out.write("            }\n");
      out.write("        });\n");
      out.write("        var html = \"<div style='margin-left:40px;'>\";\n");
      out.write("        html += \"<div class='col-sm-2'>\";\n");
      out.write("        html += \"<label >Height(Ft/</label>\";\n");
      out.write("        html += \"<div class='input-group'>\";\n");
      out.write("        html += \"<input id='feet' type ='text' class='form-control' value='\" + heightFeet + \"' onkeypress='return IsDigit(event)'>\";\n");
      out.write("        html += \"</div>\";\n");
      out.write("        html += \"</div>\";\n");
      out.write("        html += \"<div class='col-sm-2' style='margin-left:7px;'>\";\n");
      out.write("        html += \"<label>Inch)</label>\";\n");
      out.write("        html += \"<div class='input-group'>\";\n");
      out.write("        html += \"<input id='inch' type ='text' class='form-control' value='\" + heightInch + \"' onkeypress='return IsDigit(event)'>\";\n");
      out.write("        html += \"</div>\";\n");
      out.write("        html += \"</div>\";\n");
      out.write("        html += \"<div class='col-sm-3' >\";\n");
      out.write("        html += \"<label>Weight(Lbs)</label>\";\n");
      out.write("        html += \"<div class='input-group'>\";\n");
      out.write("        html += \"<input id='weight' type ='text' class='form-control' value='\" + weight + \"' onkeypress='return IsDigit(event)'>\";\n");
      out.write("        html += \"</div>\";\n");
      out.write("        html += \"</div>\";\n");
      out.write("        html += \"<div class='col-sm-3' style='margin-left:7px;'>\";\n");
      out.write("        html += \"<label >BMI(%)</label>\";\n");
      out.write("        html += \"<div class='input-group'>\";\n");
      out.write("        html += \"<input id='bmi' type ='text' class='form-control' value='\" + bmi + \"' onkeypress='return isFloatNumber(this,event)' maxlength='4'>\";\n");
      out.write("        html += \"</div>\";\n");
      out.write("        html += \"</div>\";\n");
      out.write("        html += \"</div>\";\n");
      out.write("        html += \"<div style=padding-top:5px;>\";\n");
      out.write("        html += \"<div style='float: left; padding-top:10px;margin-left:87px;'>\";\n");
      out.write("        html += \"<button  class = 'btndrop btn-margin' type='button' class = 'btn_Color' style='color:#FFFFFF; onclick='hideModel();' >Cancel</button></a>\";\n");
      out.write("        html += \"</div >\";\n");
      out.write("        html += \"<div style='float:right;margin-top:10px;margin-right:88px;'>\";\n");
      out.write("        html += \"<button  class = 'btndrop btn-margin' type='button' style='color:#FFFFFF;' onclick='savePatientHealth(\" + patientProfileId + \")' class = 'btn_Color'> Save</button></a>\";\n");
      out.write("        html += \"</div>\";\n");
      out.write("        html += \"</div>\";\n");
      out.write("        $(dialog).html(html);\n");
      out.write("        $(dialog).dialog(\"open\");\n");
      out.write("    }\n");
      out.write("    function uploadRecord(patientProfileId, msg) {\n");
      out.write("        if (patientProfileId > 0) {\n");
      out.write("            $.ajax({\n");
      out.write("                url: \"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("/patient/getPatientProfileHealth/\" + patientProfileId,\n");
      out.write("                dataType: \"json\",\n");
      out.write("                success: function (data) {\n");
      out.write("                    if (data != null) {\n");
      out.write("                        $(\"#profileHealthsId\").val(data.id);\n");
      out.write("                        if (msg == \"Success\") {\n");
      out.write("                            setPatientHealthRecord(data);\n");
      out.write("                        } else {\n");
      out.write("                            getPatientHealthRecord(patientProfileId, data.heightFeet, data.heightInch, data.weight, data.bmi);\n");
      out.write("                        }\n");
      out.write("                    } else {\n");
      out.write("                        getPatientHealthRecord(patientProfileId, 0, 0, 0, '0.00');\n");
      out.write("                    }\n");
      out.write("                }\n");
      out.write("            });\n");
      out.write("        }\n");
      out.write("    }\n");
      out.write("    function savePatientHealth(patientProfileId) {\n");
      out.write("        var id;\n");
      out.write("        if ($(\"#profileHealthsId\").val() != \"\") {\n");
      out.write("            id = $(\"#profileHealthsId\").val();\n");
      out.write("        } else {\n");
      out.write("            id = null;\n");
      out.write("        }\n");
      out.write("\n");
      out.write("        //var json = {\"patientProfileId\": patientProfileId,\"height\": $(\"#feet\").val(), \"inch\": $(\"#inch\").val(), \"weigth\": $(\"#weight\").val(), \"BMI\": $(\"#bmi\").val()};\n");
      out.write("        var json = {\"patientHealthId\": id, \"patientProfileId\": patientProfileId, \"height\": $(\"#heightFeet\").val(), \"inch\": $(\"#Inch\").val(), \"weigth\": $(\"#Weight\").val(), \"bmi\": $(\"#BMI\").val()};\n");
      out.write("        $.ajax({\n");
      out.write("            url: \"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("/patient/savePatientProfileHealth\",\n");
      out.write("            type: \"POST\",\n");
      out.write("            contentType: 'application/json; charset=utf-8',\n");
      out.write("            data: JSON.stringify(json),\n");
      out.write("            success: function (data) {\n");
      out.write("                var response = eval(data);\n");
      out.write("                var statusCode = response.statuscode;\n");
      out.write("                if (statusCode == 200) {\n");
      out.write("                    window.location.href = \"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("/patient/detail/\" + $(\"#patientId\").val();\n");
      out.write("                }\n");
      out.write("\n");
      out.write("            },\n");
      out.write("            error: function (e) {\n");
      out.write("                alert('Error while request...' + e);\n");
      out.write("            }\n");
      out.write("        });\n");
      out.write("    }\n");
      out.write("    function setPatientHealthRecord(data) {\n");
      out.write("        if (data.heightFeet != null) {\n");
      out.write("            $(\"#heightFeet\").val(data.heightFeet);\n");
      out.write("        } else {\n");
      out.write("            $(\"#heightFeet\").val(0);\n");
      out.write("        }\n");
      out.write("        if (data.heightInch != null) {\n");
      out.write("            $(\"#Inch\").val(data.heightInch);\n");
      out.write("        } else {\n");
      out.write("            $(\"#Inch\").val(0);\n");
      out.write("        }\n");
      out.write("        if (data.weight != null) {\n");
      out.write("            $(\"#Weight\").val(data.weight);\n");
      out.write("        } else {\n");
      out.write("            $(\"#Weight\").val(0);\n");
      out.write("        }\n");
      out.write("        if (data.bmi != null) {\n");
      out.write("            $(\"#BMI\").val(data.bmi);\n");
      out.write("        } else {\n");
      out.write("            $(\"#BMI\").val('0.00');\n");
      out.write("        }\n");
      out.write("    }\n");
      out.write("    function showPatientRecordDetail(patientId, type) {\n");
      out.write("        var json = {\"id\": patientId};\n");
      out.write("        $.ajax({\n");
      out.write("            url: \"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("/patient/getPatientShippingAddress\",\n");
      out.write("            type: \"POST\",\n");
      out.write("            dataType: 'json',\n");
      out.write("            data: json,\n");
      out.write("            success: function (data) {\n");
      out.write("                if (type == \"saved\") {\n");
      out.write("                    $(\"#patientAddressId\").val(data.id);\n");
      out.write("                    var shipAddress = data.address + \" \" + data.apartment + \" \" + data.city + \" \" + data.zip;\n");
      out.write("                    //$(\"#shippingAddress\").text(shipAddress);\n");
      out.write("                } else {\n");
      out.write("                    showDialog(data, type, patientId);\n");
      out.write("                }\n");
      out.write("            },\n");
      out.write("            error: function (e) {\n");
      out.write("                alert('Error while request...' + e);\n");
      out.write("            }\n");
      out.write("        });\n");
      out.write("    }\n");
      out.write("\n");
      out.write("    function showDialog(data, type, patientId) {\n");
      out.write("        var dialog = $(\"#dialog\").dialog({\n");
      out.write("            closeOnEscape: false,\n");
      out.write("            autoOpen: false,\n");
      out.write("            modal: true,\n");
      out.write("            width: \"30%\",\n");
      out.write("            cache: false,\n");
      out.write("            title: type,\n");
      out.write("            open: function (event, ui) {\n");
      out.write("                //hide titlebar.\n");
      out.write("                $(\".ui-dialog-titlebar\").css(\"font-size\", \"14px\");\n");
      out.write("                $(\".ui-dialog-titlebar\").css(\"font-weight\", \"normal\");\n");
      out.write("            },\n");
      out.write("            close: function ()\n");
      out.write("            {\n");
      out.write("                $(this).dialog('close');\n");
      out.write("                $(this).dialog('destroy');\n");
      out.write("                $(this).html(\"\");\n");
      out.write("            }\n");
      out.write("        });\n");
      out.write("        var html, address = '', city = '', stateId = 0, zip = '', apartment = '';\n");
      out.write("        if (data != null) {\n");
      out.write("            if (data.id != null) {\n");
      out.write("                $(\"#patientAddressId\").val(data.id);\n");
      out.write("            }\n");
      out.write("            if (data.address != null) {\n");
      out.write("                address = data.address;\n");
      out.write("            }\n");
      out.write("            if (data.city != null) {\n");
      out.write("                city = data.city;\n");
      out.write("            }\n");
      out.write("            if (data.zip != null) {\n");
      out.write("                zip = data.zip;\n");
      out.write("            }\n");
      out.write("            if (data.stateId != null) {\n");
      out.write("                stateId = data.stateId;\n");
      out.write("            }\n");
      out.write("            if (data.apartment != null) {\n");
      out.write("                apartment = data.apartment;\n");
      out.write("            }\n");
      out.write("        }\n");
      out.write("        html = \"<div class='col-sm-2'>\";\n");
      out.write("        html += \"<label>Address:</label>\";\n");
      out.write("        html += \"<input id='address' type='text' class='form-control' value='\" + address + \"'/>\";\n");
      out.write("        html += \"</div>\";\n");
      out.write("        html += \"<div class='col-sm-3'>\";\n");
      out.write("        html += \"<label>Apartment:</label>\";\n");
      out.write("        html += \"<input id='apartment' type='text' class='form-control' value='\" + apartment + \"'/>\";\n");
      out.write("        html += \"</div>\";\n");
      out.write("        html += \"<div class='col-sm-2'>\";\n");
      out.write("        html += \"<label>City:</label>\";\n");
      out.write("        html += \"<input id='city' type='text' class='form-control' value='\" + city + \"'/>\";\n");
      out.write("        html += \"</div>\";\n");
      out.write("        html += \"<div class='col-sm-3'>\";\n");
      out.write("        html += \"<label>State:</label>\";\n");
      out.write("        html += \"<select id='state' class='form-control selectpicker show-tick' style='padding-top:3px;'>\";\n");
      out.write("        html += \"<option value='0'>Select One</option>\";\n");
      out.write("        html += \"</select>\";\n");
      out.write("        html += \"</div>\";\n");
      out.write("        html += \"<div class='col-sm-2'>\";\n");
      out.write("        html += \"<label>Zip:</label>\";\n");
      out.write("        html += \"<input id='zip' type='text' class='form-control' value='\" + zip + \"'/>\";\n");
      out.write("        html += \"</div>\";\n");
      out.write("        html += \"<div class='col-sm-3'>\";\n");
      out.write("        html += \"<button  class = 'btndrop btn-margin btn_Color' type='button' onclick='hideModel();' style='color:#2071b6; padding-top: 1px;'>Cancel</button>\";\n");
      out.write("        html += \"</div>\";\n");
      out.write("        html += \"<div class='col-sm-3'>\";\n");
      out.write("        html += \"<button  class = 'btndrop btn-margin btn_Color' type='button' onclick='updatePatientRecord(\" + patientId + \");' style='color:#2071b6; padding-top: 1px;'>Save</button>\";\n");
      out.write("        html += \"</div>\";\n");
      out.write("        getStatesWs(stateId);\n");
      out.write("        $(dialog).html(html);\n");
      out.write("        $(dialog).dialog(\"open\");\n");
      out.write("    }\n");
      out.write("    function updatePatientRecord(patientId) {\n");
      out.write("        var addressId = null;\n");
      out.write("        if ($(\"#patientAddressId\").val() != \"\") {\n");
      out.write("            addressId = $(\"#patientAddressId\").val();\n");
      out.write("        }\n");
      out.write("        var json = {\"id\": addressId, \"address\": $(\"#address\").val(), \"city\": $(\"#city\").val(), \"apartment\": $(\"#apartment\").val(), \"stateId\": $(\"#state\").val(), \"zip\": $(\"#zip\").val(), \"profileId\": patientId};\n");
      out.write("        $.ajax({\n");
      out.write("            url: \"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("/patient/savePatientShippingAddress\",\n");
      out.write("            type: \"POST\",\n");
      out.write("            contentType: 'application/json; charset=utf-8',\n");
      out.write("            data: JSON.stringify(json),\n");
      out.write("            success: function (data) {\n");
      out.write("                if (data == true) {\n");
      out.write("                    showPatientRecordDetail(patientId, \"saved\");\n");
      out.write("                    hideModel();\n");
      out.write("                }\n");
      out.write("            },\n");
      out.write("            error: function (e) {\n");
      out.write("                alert('Error while request...' + e);\n");
      out.write("            }\n");
      out.write("        });\n");
      out.write("    }\n");
      out.write("    function getStatesWs(stateId) {\n");
      out.write("        $.ajax({\n");
      out.write("            url: \"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("/getStatesWs\",\n");
      out.write("            type: \"POST\",\n");
      out.write("            dataType: 'json',\n");
      out.write("            success: function (data) {\n");
      out.write("                $('#state')\n");
      out.write("                        .find('option')\n");
      out.write("                        .remove()\n");
      out.write("                        .end()\n");
      out.write("                        .append('<option value=\"0\">Select One</option>')\n");
      out.write("                        .val('Select One');\n");
      out.write("                $.each(data.data, function (index, element) {\n");
      out.write("                    $('#state').append($('<option>', {value: element.id, text: element.name}));\n");
      out.write("                });\n");
      out.write("\n");
      out.write("                if (stateId > 0) {\n");
      out.write("                    $('#state').val(stateId).attr(\"selected\", \"selected\");\n");
      out.write("                    $(\"#state\").trigger(\"change\");\n");
      out.write("                }\n");
      out.write("//                $('#state').selectpicker('refresh');\n");
      out.write("            },\n");
      out.write("            error: function (e) {\n");
      out.write("                alert('Error while request...' + e);\n");
      out.write("            }\n");
      out.write("        });\n");
      out.write("    }\n");
      out.write("    $(document).ready(function () {\n");
      out.write("        window.patientInfo.ActivityMedicationTable();\n");
      out.write("        window.patientInfo.ProgramActivityTable();\n");
      out.write("        window.patientInfo.PointsBalanceTable();\n");
      out.write("        \n");
      out.write("        $(\"#activeMedicationTb_filter\").hide();\n");
      out.write("        $(\"#pointsBalanceTb_filter\").hide();\n");
      out.write("        $(\"#programActivityTb_filter\").hide();\n");
      out.write("        \n");
      out.write("        $(\"#activeMedicationTb_length\").hide();\n");
      out.write("        $(\"#pointsBalanceTb_length\").hide();\n");
      out.write("        $(\"#programActivityTb_length\").hide();\n");
      out.write("        \n");
      out.write("        window.patientInfo.populateAppUrl('");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("');\n");
      out.write("        window.patientInfoInsurance.populateAppUrl('");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("');\n");
      out.write("        window.ssaSoftDeliveryAddress.populateAppUrl('");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("');\n");
      out.write("\n");
      out.write("        $(\"#pointsBalanceTable\").hide();\n");
      out.write("        $(\"#programActivitiesTable\").hide();\n");
      out.write("        $(\"#search\").keyup(function () {\n");
      out.write("            if (this.value.trim().length == 0) {\n");
      out.write("                $(\"input[type=text]\").val(\"\");\n");
      out.write("                return false;\n");
      out.write("            }\n");
      out.write("            var v = \"\";\n");
      out.write("            if ($(\"#tabInfo\").val() == 1) {\n");
      out.write("                v = $('#activeMedicationTb').dataTable().fnFilter(this.value);\n");
      out.write("            } else if ($(\"#tabInfo\").val() == 2) {\n");
      out.write("                v = $('#pointsBalanceTb').dataTable().fnFilter(this.value);\n");
      out.write("            } else if ($(\"#tabInfo\").val() == 3) {\n");
      out.write("                v = $('#programActivityTb').dataTable().fnFilter(this.value);\n");
      out.write("            }\n");
      out.write("            if (typeof v === 'undefined' && this.value !== \"\") {\n");
      out.write("                //$(\".dataTables_empty\").attr(\"colspan\", 13);\n");
      out.write("            }\n");
      out.write("        });\n");
      out.write("\n");
      out.write("        $('#dtPagelen').on('change', function () {\n");
      out.write("            pageLen(this.value);\n");
      out.write("        });\n");
      out.write("\n");
      out.write("    });\n");
      out.write("    function displayTab(id) {\n");
      out.write("        $(\"input[type=text]\").val(\"\");\n");
      out.write("        $('#dtPagelen').val(10).trigger('change');\n");
      out.write("        if (id == 1) {\n");
      out.write("            $(\"#tabInfo\").val(1);\n");
      out.write("//            $(\"#madicat\").attr(\"class\", \"activetab\");\n");
      out.write("//            $(\"#pointsB\").attr(\"class\", \"inactivetab\");\n");
      out.write("//            $(\"#pa\").attr(\"class\", \"inactivetab\");\n");
      out.write("//            $(\"#medicationsTable\").show();\n");
      out.write("//            $(\"#pointsBalanceTable\").hide();\n");
      out.write("//            $(\"#programActivitiesTable\").hide();\n");
      out.write("        } else if (id == 2) {\n");
      out.write("            $(\"#tabInfo\").val(2);\n");
      out.write("//            $(\"#pointsB\").attr(\"class\", \"activetab\");\n");
      out.write("//            $(\"#madicat\").attr(\"class\", \"inactivetab\");\n");
      out.write("//            $(\"#pa\").attr(\"class\", \"inactivetab\");\n");
      out.write("//\n");
      out.write("//            $(\"#pointsBalanceTable\").show();\n");
      out.write("//            $(\"#programActivitiesTable\").hide();\n");
      out.write("//            $(\"#medicationsTable\").hide();\n");
      out.write("\n");
      out.write("        } else if (id == 3) {\n");
      out.write("            $(\"#tabInfo\").val(3);\n");
      out.write("//            $(\"#pa\").attr(\"class\", \"activetab\");\n");
      out.write("//            $(\"#pointsB\").attr(\"class\", \"inactivetab\");\n");
      out.write("//            $(\"#madicat\").attr(\"class\", \"inactivetab\");\n");
      out.write("//\n");
      out.write("//            $(\"#programActivitiesTable\").show();\n");
      out.write("//            $(\"#pointsBalanceTable\").hide();\n");
      out.write("//            $(\"#medicationsTable\").hide();\n");
      out.write("        }\n");
      out.write("    }\n");
      out.write("    function previousUser() {\n");
      out.write("        var newUser = ");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${patientProfile.id}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write(" - 1;\n");
      out.write("        var json = {\"id\": newUser};\n");
      out.write("        $.ajax({\n");
      out.write("            url: \"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("/patient/checkPatientIdExists\",\n");
      out.write("            type: \"POST\",\n");
      out.write("            dataType: 'json',\n");
      out.write("            contentType: 'application/json',\n");
      out.write("            data: JSON.stringify(json),\n");
      out.write("            success: function (data) {\n");
      out.write("                if (data) {\n");
      out.write("                    window.location = window.location.href = \"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("/patient/detail/\" + newUser;\n");
      out.write("                }\n");
      out.write("                var response = eval(data);\n");
      out.write("            },\n");
      out.write("            error: function (e) {\n");
      out.write("                alert('Error while request...' + e);\n");
      out.write("            }\n");
      out.write("        });\n");
      out.write("    }\n");
      out.write("\n");
      out.write("    function nextUser() {\n");
      out.write("        var newUser = ");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${patientProfile.id}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write(" + 1;\n");
      out.write("        var json = {\"id\": newUser};\n");
      out.write("        $.ajax({\n");
      out.write("            url: \"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("/patient/checkPatientIdExists\",\n");
      out.write("            type: \"POST\",\n");
      out.write("            dataType: 'json',\n");
      out.write("            contentType: 'application/json',\n");
      out.write("            data: JSON.stringify(json),\n");
      out.write("            success: function (data) {\n");
      out.write("                if (data) {\n");
      out.write("                    window.location = window.location.href = \"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("/patient/detail/\" + newUser;\n");
      out.write("                }\n");
      out.write("                var response = eval(data);\n");
      out.write("            },\n");
      out.write("            error: function (e) {\n");
      out.write("                alert('Error while request...' + e);\n");
      out.write("            }\n");
      out.write("        });\n");
      out.write("    }\n");
      out.write("    function savePharmacyNotes(patientId) {\n");
      out.write("        var textval = $(\"#pharmacyNotes\").val();\n");
      out.write("        if (textval == \"\") {\n");
      out.write("            $(\"#pharmacyNotesReq\").text(\"Required\");\n");
      out.write("            $(\"#pharmacyNotesReq\").attr(\"style\", \"display:block;\");\n");
      out.write("            return false;\n");
      out.write("        }\n");
      out.write("        var json = {\"ptProfileId\": patientId, \"notes\": textval};\n");
      out.write("\n");
      out.write("        //e.preventDefault();\n");
      out.write("        //now call the code to submit your form\n");
      out.write("        $.ajax({\n");
      out.write("            url: \"");
      out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${pageContext.request.contextPath}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
      out.write("/patient/savePatientNotes\",\n");
      out.write("            type: \"POST\",\n");
      out.write("            dataType: 'json',\n");
      out.write("            contentType: 'application/json',\n");
      out.write("            data: JSON.stringify(json),\n");
      out.write("            success: function (data) {\n");
      out.write("                var response = eval(data);\n");
      out.write("                $(\"#pharmacyNotes\").val(\"\");\n");
      out.write("            },\n");
      out.write("            error: function (e) {\n");
      out.write("                alert('Error while request...' + e);\n");
      out.write("            }\n");
      out.write("        });\n");
      out.write("    }\n");
      out.write("    function pageLen(v) {\n");
      out.write("        if ($(\"#tabInfo\").val() == 1) {\n");
      out.write("            $('select[name=\"activeMedicationTb_length\"]').val(v).trigger('change');\n");
      out.write("        } else if ($(\"#tabInfo\").val() == 2) {\n");
      out.write("            //$('#pointsBalanceTb').dataTable().page.len(v).draw();\n");
      out.write("            $('select[name=\"pointsBalanceTb_length\"]').val(v).trigger('change');\n");
      out.write("        } else if ($(\"#tabInfo\").val() == 3) {\n");
      out.write("            //$('#programActivityTb').dataTable().page.len(v).draw();\n");
      out.write("            $('select[name=\"programActivityTb_length\"]').val(v).trigger('change');\n");
      out.write("        }\n");
      out.write("    }\n");
      out.write("</script>\n");
      out.write("</body>\n");
      out.write("</html>\n");
    } catch (java.lang.Throwable t) {
      if (!(t instanceof javax.servlet.jsp.SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          try {
            if (response.isCommitted()) {
              out.flush();
            } else {
              out.clearBuffer();
            }
          } catch (java.io.IOException e) {}
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
        else throw new ServletException(t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }

  private boolean _jspx_meth_form_005fhidden_005f0(javax.servlet.jsp.tagext.JspTag _jspx_th_form_005fform_005f0, javax.servlet.jsp.PageContext _jspx_page_context, int[] _jspx_push_body_count_form_005fform_005f0)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  form:hidden
    org.springframework.web.servlet.tags.form.HiddenInputTag _jspx_th_form_005fhidden_005f0 = (org.springframework.web.servlet.tags.form.HiddenInputTag) _005fjspx_005ftagPool_005fform_005fhidden_0026_005fpath_005fid_005fnobody.get(org.springframework.web.servlet.tags.form.HiddenInputTag.class);
    _jspx_th_form_005fhidden_005f0.setPageContext(_jspx_page_context);
    _jspx_th_form_005fhidden_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_form_005fform_005f0);
    // /pages/patientdetails.jsp(22,16) name = id type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_form_005fhidden_005f0.setId("patientId");
    // /pages/patientdetails.jsp(22,16) name = path type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_form_005fhidden_005f0.setPath("id");
    int[] _jspx_push_body_count_form_005fhidden_005f0 = new int[] { 0 };
    try {
      int _jspx_eval_form_005fhidden_005f0 = _jspx_th_form_005fhidden_005f0.doStartTag();
      if (_jspx_th_form_005fhidden_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        return true;
      }
    } catch (java.lang.Throwable _jspx_exception) {
      while (_jspx_push_body_count_form_005fhidden_005f0[0]-- > 0)
        out = _jspx_page_context.popBody();
      _jspx_th_form_005fhidden_005f0.doCatch(_jspx_exception);
    } finally {
      _jspx_th_form_005fhidden_005f0.doFinally();
      _005fjspx_005ftagPool_005fform_005fhidden_0026_005fpath_005fid_005fnobody.reuse(_jspx_th_form_005fhidden_005f0);
    }
    return false;
  }

  private boolean _jspx_meth_fmt_005fformatDate_005f1(javax.servlet.jsp.tagext.JspTag _jspx_th_form_005fform_005f0, javax.servlet.jsp.PageContext _jspx_page_context, int[] _jspx_push_body_count_form_005fform_005f0)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  fmt:formatDate
    org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag _jspx_th_fmt_005fformatDate_005f1 = (org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag) _005fjspx_005ftagPool_005ffmt_005fformatDate_0026_005fvar_005fvalue_005fpattern_005fnobody.get(org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag.class);
    _jspx_th_fmt_005fformatDate_005f1.setPageContext(_jspx_page_context);
    _jspx_th_fmt_005fformatDate_005f1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_form_005fform_005f0);
    // /pages/patientdetails.jsp(36,36) name = var type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fmt_005fformatDate_005f1.setVar("dobyear");
    // /pages/patientdetails.jsp(36,36) name = pattern type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fmt_005fformatDate_005f1.setPattern("yyyy");
    // /pages/patientdetails.jsp(36,36) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fmt_005fformatDate_005f1.setValue((java.util.Date) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${patientProfile.birthDate}", java.util.Date.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
    int _jspx_eval_fmt_005fformatDate_005f1 = _jspx_th_fmt_005fformatDate_005f1.doStartTag();
    if (_jspx_th_fmt_005fformatDate_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005ffmt_005fformatDate_0026_005fvar_005fvalue_005fpattern_005fnobody.reuse(_jspx_th_fmt_005fformatDate_005f1);
      return true;
    }
    _005fjspx_005ftagPool_005ffmt_005fformatDate_0026_005fvar_005fvalue_005fpattern_005fnobody.reuse(_jspx_th_fmt_005fformatDate_005f1);
    return false;
  }

  private boolean _jspx_meth_fmt_005fformatDate_005f2(javax.servlet.jsp.tagext.JspTag _jspx_th_form_005fform_005f0, javax.servlet.jsp.PageContext _jspx_page_context, int[] _jspx_push_body_count_form_005fform_005f0)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  fmt:formatDate
    org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag _jspx_th_fmt_005fformatDate_005f2 = (org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag) _005fjspx_005ftagPool_005ffmt_005fformatDate_0026_005fvalue_005fpattern_005fnobody.get(org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag.class);
    _jspx_th_fmt_005fformatDate_005f2.setPageContext(_jspx_page_context);
    _jspx_th_fmt_005fformatDate_005f2.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_form_005fform_005f0);
    // /pages/patientdetails.jsp(37,36) name = pattern type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fmt_005fformatDate_005f2.setPattern("MM/dd/yyyy");
    // /pages/patientdetails.jsp(37,36) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fmt_005fformatDate_005f2.setValue((java.util.Date) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${patientProfile.birthDate}", java.util.Date.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
    int _jspx_eval_fmt_005fformatDate_005f2 = _jspx_th_fmt_005fformatDate_005f2.doStartTag();
    if (_jspx_th_fmt_005fformatDate_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005ffmt_005fformatDate_0026_005fvalue_005fpattern_005fnobody.reuse(_jspx_th_fmt_005fformatDate_005f2);
      return true;
    }
    _005fjspx_005ftagPool_005ffmt_005fformatDate_0026_005fvalue_005fpattern_005fnobody.reuse(_jspx_th_fmt_005fformatDate_005f2);
    return false;
  }

  private boolean _jspx_meth_fmt_005fformatDate_005f3(javax.servlet.jsp.tagext.JspTag _jspx_th_form_005fform_005f0, javax.servlet.jsp.PageContext _jspx_page_context, int[] _jspx_push_body_count_form_005fform_005f0)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  fmt:formatDate
    org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag _jspx_th_fmt_005fformatDate_005f3 = (org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag) _005fjspx_005ftagPool_005ffmt_005fformatDate_0026_005fvalue_005fpattern_005fnobody.get(org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag.class);
    _jspx_th_fmt_005fformatDate_005f3.setPageContext(_jspx_page_context);
    _jspx_th_fmt_005fformatDate_005f3.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_form_005fform_005f0);
    // /pages/patientdetails.jsp(39,49) name = pattern type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fmt_005fformatDate_005f3.setPattern("MM/yyyy");
    // /pages/patientdetails.jsp(39,49) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fmt_005fformatDate_005f3.setValue((java.util.Date) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${patientProfile.createdDate}", java.util.Date.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
    int _jspx_eval_fmt_005fformatDate_005f3 = _jspx_th_fmt_005fformatDate_005f3.doStartTag();
    if (_jspx_th_fmt_005fformatDate_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005ffmt_005fformatDate_0026_005fvalue_005fpattern_005fnobody.reuse(_jspx_th_fmt_005fformatDate_005f3);
      return true;
    }
    _005fjspx_005ftagPool_005ffmt_005fformatDate_0026_005fvalue_005fpattern_005fnobody.reuse(_jspx_th_fmt_005fformatDate_005f3);
    return false;
  }

  private boolean _jspx_meth_c_005fchoose_005f0(javax.servlet.jsp.tagext.JspTag _jspx_th_form_005fform_005f0, javax.servlet.jsp.PageContext _jspx_page_context, int[] _jspx_push_body_count_form_005fform_005f0)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:choose
    org.apache.taglibs.standard.tag.common.core.ChooseTag _jspx_th_c_005fchoose_005f0 = (org.apache.taglibs.standard.tag.common.core.ChooseTag) _005fjspx_005ftagPool_005fc_005fchoose.get(org.apache.taglibs.standard.tag.common.core.ChooseTag.class);
    _jspx_th_c_005fchoose_005f0.setPageContext(_jspx_page_context);
    _jspx_th_c_005fchoose_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_form_005fform_005f0);
    int _jspx_eval_c_005fchoose_005f0 = _jspx_th_c_005fchoose_005f0.doStartTag();
    if (_jspx_eval_c_005fchoose_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\n");
        out.write("                                        ");
        if (_jspx_meth_c_005fwhen_005f0(_jspx_th_c_005fchoose_005f0, _jspx_page_context, _jspx_push_body_count_form_005fform_005f0))
          return true;
        out.write("\n");
        out.write("                                        ");
        if (_jspx_meth_c_005fotherwise_005f0(_jspx_th_c_005fchoose_005f0, _jspx_page_context, _jspx_push_body_count_form_005fform_005f0))
          return true;
        out.write("\n");
        out.write("                                    ");
        int evalDoAfterBody = _jspx_th_c_005fchoose_005f0.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fchoose_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fchoose.reuse(_jspx_th_c_005fchoose_005f0);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fchoose.reuse(_jspx_th_c_005fchoose_005f0);
    return false;
  }

  private boolean _jspx_meth_c_005fwhen_005f0(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fchoose_005f0, javax.servlet.jsp.PageContext _jspx_page_context, int[] _jspx_push_body_count_form_005fform_005f0)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:when
    org.apache.taglibs.standard.tag.rt.core.WhenTag _jspx_th_c_005fwhen_005f0 = (org.apache.taglibs.standard.tag.rt.core.WhenTag) _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.WhenTag.class);
    _jspx_th_c_005fwhen_005f0.setPageContext(_jspx_page_context);
    _jspx_th_c_005fwhen_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fchoose_005f0);
    // /pages/patientdetails.jsp(41,40) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fwhen_005f0.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${fn:length(patientProfile.patientProfileMembersList) > 0}", boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, _jspx_fnmap_2)).booleanValue());
    int _jspx_eval_c_005fwhen_005f0 = _jspx_th_c_005fwhen_005f0.doStartTag();
    if (_jspx_eval_c_005fwhen_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\n");
        out.write("                                        <li><a href=\"#\" onclick=\"displayModal(");
        out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${patientProfile.id}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
        out.write(", 'dependentsModal', 'viewDependentWs')\"> ");
        out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${fn:length(patientProfile.patientProfileMembersList)}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, _jspx_fnmap_2));
        out.write(" DEPENDENTS</a></li>\n");
        out.write("                                        ");
        int evalDoAfterBody = _jspx_th_c_005fwhen_005f0.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fwhen_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest.reuse(_jspx_th_c_005fwhen_005f0);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest.reuse(_jspx_th_c_005fwhen_005f0);
    return false;
  }

  private boolean _jspx_meth_c_005fotherwise_005f0(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fchoose_005f0, javax.servlet.jsp.PageContext _jspx_page_context, int[] _jspx_push_body_count_form_005fform_005f0)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:otherwise
    org.apache.taglibs.standard.tag.common.core.OtherwiseTag _jspx_th_c_005fotherwise_005f0 = (org.apache.taglibs.standard.tag.common.core.OtherwiseTag) _005fjspx_005ftagPool_005fc_005fotherwise.get(org.apache.taglibs.standard.tag.common.core.OtherwiseTag.class);
    _jspx_th_c_005fotherwise_005f0.setPageContext(_jspx_page_context);
    _jspx_th_c_005fotherwise_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fchoose_005f0);
    int _jspx_eval_c_005fotherwise_005f0 = _jspx_th_c_005fotherwise_005f0.doStartTag();
    if (_jspx_eval_c_005fotherwise_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\n");
        out.write("                                        <li>");
        out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${fn:length(patientProfile.patientProfileMembersList)}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, _jspx_fnmap_2));
        out.write(" DEPENDENTS</li>\n");
        out.write("                                        ");
        int evalDoAfterBody = _jspx_th_c_005fotherwise_005f0.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fotherwise_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fotherwise.reuse(_jspx_th_c_005fotherwise_005f0);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fotherwise.reuse(_jspx_th_c_005fotherwise_005f0);
    return false;
  }

  private boolean _jspx_meth_c_005fchoose_005f1(javax.servlet.jsp.tagext.JspTag _jspx_th_form_005fform_005f0, javax.servlet.jsp.PageContext _jspx_page_context, int[] _jspx_push_body_count_form_005fform_005f0)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:choose
    org.apache.taglibs.standard.tag.common.core.ChooseTag _jspx_th_c_005fchoose_005f1 = (org.apache.taglibs.standard.tag.common.core.ChooseTag) _005fjspx_005ftagPool_005fc_005fchoose.get(org.apache.taglibs.standard.tag.common.core.ChooseTag.class);
    _jspx_th_c_005fchoose_005f1.setPageContext(_jspx_page_context);
    _jspx_th_c_005fchoose_005f1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_form_005fform_005f0);
    int _jspx_eval_c_005fchoose_005f1 = _jspx_th_c_005fchoose_005f1.doStartTag();
    if (_jspx_eval_c_005fchoose_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\n");
        out.write("                                        ");
        if (_jspx_meth_c_005fwhen_005f1(_jspx_th_c_005fchoose_005f1, _jspx_page_context, _jspx_push_body_count_form_005fform_005f0))
          return true;
        out.write("\n");
        out.write("                                        ");
        if (_jspx_meth_c_005fotherwise_005f1(_jspx_th_c_005fchoose_005f1, _jspx_page_context, _jspx_push_body_count_form_005fform_005f0))
          return true;
        out.write("\n");
        out.write("                                    ");
        int evalDoAfterBody = _jspx_th_c_005fchoose_005f1.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fchoose_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fchoose.reuse(_jspx_th_c_005fchoose_005f1);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fchoose.reuse(_jspx_th_c_005fchoose_005f1);
    return false;
  }

  private boolean _jspx_meth_c_005fwhen_005f1(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fchoose_005f1, javax.servlet.jsp.PageContext _jspx_page_context, int[] _jspx_push_body_count_form_005fform_005f0)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:when
    org.apache.taglibs.standard.tag.rt.core.WhenTag _jspx_th_c_005fwhen_005f1 = (org.apache.taglibs.standard.tag.rt.core.WhenTag) _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.WhenTag.class);
    _jspx_th_c_005fwhen_005f1.setPageContext(_jspx_page_context);
    _jspx_th_c_005fwhen_005f1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fchoose_005f1);
    // /pages/patientdetails.jsp(50,40) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fwhen_005f1.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${totalRxProgram > 0}", boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null)).booleanValue());
    int _jspx_eval_c_005fwhen_005f1 = _jspx_th_c_005fwhen_005f1.doStartTag();
    if (_jspx_eval_c_005fwhen_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\n");
        out.write("                                            <a href=\"#\" onclick=\"displayModal(");
        out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${patientProfile.id}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
        out.write(", 'programRxModal', 'viewProcessedOrdersByPatientIdWs')\">");
        out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${totalRxProgram}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
        out.write(" Program Rx&acute;s</a>\n");
        out.write("                                        ");
        int evalDoAfterBody = _jspx_th_c_005fwhen_005f1.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fwhen_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest.reuse(_jspx_th_c_005fwhen_005f1);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest.reuse(_jspx_th_c_005fwhen_005f1);
    return false;
  }

  private boolean _jspx_meth_c_005fotherwise_005f1(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fchoose_005f1, javax.servlet.jsp.PageContext _jspx_page_context, int[] _jspx_push_body_count_form_005fform_005f0)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:otherwise
    org.apache.taglibs.standard.tag.common.core.OtherwiseTag _jspx_th_c_005fotherwise_005f1 = (org.apache.taglibs.standard.tag.common.core.OtherwiseTag) _005fjspx_005ftagPool_005fc_005fotherwise.get(org.apache.taglibs.standard.tag.common.core.OtherwiseTag.class);
    _jspx_th_c_005fotherwise_005f1.setPageContext(_jspx_page_context);
    _jspx_th_c_005fotherwise_005f1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fchoose_005f1);
    int _jspx_eval_c_005fotherwise_005f1 = _jspx_th_c_005fotherwise_005f1.doStartTag();
    if (_jspx_eval_c_005fotherwise_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\n");
        out.write("                                            0 Program Rx&acute;s\n");
        out.write("                                        ");
        int evalDoAfterBody = _jspx_th_c_005fotherwise_005f1.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fotherwise_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fotherwise.reuse(_jspx_th_c_005fotherwise_005f1);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fotherwise.reuse(_jspx_th_c_005fotherwise_005f1);
    return false;
  }

  private boolean _jspx_meth_c_005fforEach_005f0(javax.servlet.jsp.tagext.JspTag _jspx_th_form_005fform_005f0, javax.servlet.jsp.PageContext _jspx_page_context, int[] _jspx_push_body_count_form_005fform_005f0)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:forEach
    org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_005fforEach_005f0 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class);
    _jspx_th_c_005fforEach_005f0.setPageContext(_jspx_page_context);
    _jspx_th_c_005fforEach_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_form_005fform_005f0);
    // /pages/patientdetails.jsp(69,40) name = var type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fforEach_005f0.setVar("row");
    // /pages/patientdetails.jsp(69,40) name = items type = javax.el.ValueExpression reqTime = true required = false fragment = false deferredValue = true expectedTypeName = java.lang.Object deferredMethod = false methodSignature = null
    _jspx_th_c_005fforEach_005f0.setItems(new org.apache.jasper.el.JspValueExpression("/pages/patientdetails.jsp(69,40) '${rewardLevelList}'",_jsp_getExpressionFactory().createValueExpression(_jspx_page_context.getELContext(),"${rewardLevelList}",java.lang.Object.class)).getValue(_jspx_page_context.getELContext()));
    int[] _jspx_push_body_count_c_005fforEach_005f0 = new int[] { 0 };
    try {
      int _jspx_eval_c_005fforEach_005f0 = _jspx_th_c_005fforEach_005f0.doStartTag();
      if (_jspx_eval_c_005fforEach_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\n");
          out.write("                                            ");
          if (_jspx_meth_c_005fif_005f0(_jspx_th_c_005fforEach_005f0, _jspx_page_context, _jspx_push_body_count_c_005fforEach_005f0))
            return true;
          out.write("\n");
          out.write("                                        ");
          int evalDoAfterBody = _jspx_th_c_005fforEach_005f0.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_c_005fforEach_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        return true;
      }
    } catch (java.lang.Throwable _jspx_exception) {
      while (_jspx_push_body_count_c_005fforEach_005f0[0]-- > 0)
        out = _jspx_page_context.popBody();
      _jspx_th_c_005fforEach_005f0.doCatch(_jspx_exception);
    } finally {
      _jspx_th_c_005fforEach_005f0.doFinally();
      _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems.reuse(_jspx_th_c_005fforEach_005f0);
    }
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f0(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fforEach_005f0, javax.servlet.jsp.PageContext _jspx_page_context, int[] _jspx_push_body_count_c_005fforEach_005f0)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f0 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f0.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fforEach_005f0);
    // /pages/patientdetails.jsp(70,44) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f0.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${patientProfile.totalRewardPoints>row.fromLevel && patientProfile.totalRewardPoints<=row.toLevel}", boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null)).booleanValue());
    int _jspx_eval_c_005fif_005f0 = _jspx_th_c_005fif_005f0.doStartTag();
    if (_jspx_eval_c_005fif_005f0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\n");
        out.write("                                                ");
        out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${row.type}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
        out.write("\n");
        out.write("                                            ");
        int evalDoAfterBody = _jspx_th_c_005fif_005f0.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f0);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f0);
    return false;
  }

  private boolean _jspx_meth_c_005fforEach_005f1(javax.servlet.jsp.tagext.JspTag _jspx_th_form_005fform_005f0, javax.servlet.jsp.PageContext _jspx_page_context, int[] _jspx_push_body_count_form_005fform_005f0)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:forEach
    org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_005fforEach_005f1 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class);
    _jspx_th_c_005fforEach_005f1.setPageContext(_jspx_page_context);
    _jspx_th_c_005fforEach_005f1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_form_005fform_005f0);
    // /pages/patientdetails.jsp(97,36) name = var type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fforEach_005f1.setVar("shippingAddressVar");
    // /pages/patientdetails.jsp(97,36) name = items type = javax.el.ValueExpression reqTime = true required = false fragment = false deferredValue = true expectedTypeName = java.lang.Object deferredMethod = false methodSignature = null
    _jspx_th_c_005fforEach_005f1.setItems(new org.apache.jasper.el.JspValueExpression("/pages/patientdetails.jsp(97,36) '${patientProfile.patientDeliveryAddresses}'",_jsp_getExpressionFactory().createValueExpression(_jspx_page_context.getELContext(),"${patientProfile.patientDeliveryAddresses}",java.lang.Object.class)).getValue(_jspx_page_context.getELContext()));
    int[] _jspx_push_body_count_c_005fforEach_005f1 = new int[] { 0 };
    try {
      int _jspx_eval_c_005fforEach_005f1 = _jspx_th_c_005fforEach_005f1.doStartTag();
      if (_jspx_eval_c_005fforEach_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\n");
          out.write("                                        <li>\n");
          out.write("                                            <span class=\"blueText\">Shipping Address</span>\n");
          out.write("                                            <a href=\"#\" data-toggle=\"modal\"  onclick=\"window.ssaSoftDeliveryAddress.LookupDeliveryAddressById(");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${shippingAddressVar.id}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
          out.write(")\"><i class=\"fa fa-pencil\"></i></a>\n");
          out.write("                                            <br />\n");
          out.write("                                            <strong>");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${shippingAddressVar.description}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
          out.write("</strong>\n");
          out.write("                                            <br />\n");
          out.write("                                            <span>");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${shippingAddressVar.address}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
          out.write(',');
          out.write(' ');
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${shippingAddressVar.apartment}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
          out.write(',');
          out.write(' ');
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${shippingAddressVar.city}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
          out.write(',');
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${shippingAddressVar.state.name}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
          out.write(' ');
          out.write(',');
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${shippingAddressVar.zip}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
          out.write("</span>\n");
          out.write("                                        </li>\n");
          out.write("                                    ");
          int evalDoAfterBody = _jspx_th_c_005fforEach_005f1.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_c_005fforEach_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        return true;
      }
    } catch (java.lang.Throwable _jspx_exception) {
      while (_jspx_push_body_count_c_005fforEach_005f1[0]-- > 0)
        out = _jspx_page_context.popBody();
      _jspx_th_c_005fforEach_005f1.doCatch(_jspx_exception);
    } finally {
      _jspx_th_c_005fforEach_005f1.doFinally();
      _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems.reuse(_jspx_th_c_005fforEach_005f1);
    }
    return false;
  }

  private boolean _jspx_meth_c_005fchoose_005f2(javax.servlet.jsp.tagext.JspTag _jspx_th_form_005fform_005f0, javax.servlet.jsp.PageContext _jspx_page_context, int[] _jspx_push_body_count_form_005fform_005f0)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:choose
    org.apache.taglibs.standard.tag.common.core.ChooseTag _jspx_th_c_005fchoose_005f2 = (org.apache.taglibs.standard.tag.common.core.ChooseTag) _005fjspx_005ftagPool_005fc_005fchoose.get(org.apache.taglibs.standard.tag.common.core.ChooseTag.class);
    _jspx_th_c_005fchoose_005f2.setPageContext(_jspx_page_context);
    _jspx_th_c_005fchoose_005f2.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_form_005fform_005f0);
    int _jspx_eval_c_005fchoose_005f2 = _jspx_th_c_005fchoose_005f2.doStartTag();
    if (_jspx_eval_c_005fchoose_005f2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\n");
        out.write("                                    ");
        if (_jspx_meth_c_005fwhen_005f2(_jspx_th_c_005fchoose_005f2, _jspx_page_context, _jspx_push_body_count_form_005fform_005f0))
          return true;
        out.write("\n");
        out.write("                                    ");
        if (_jspx_meth_c_005fotherwise_005f2(_jspx_th_c_005fchoose_005f2, _jspx_page_context, _jspx_push_body_count_form_005fform_005f0))
          return true;
        out.write("\n");
        out.write("                                ");
        int evalDoAfterBody = _jspx_th_c_005fchoose_005f2.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fchoose_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fchoose.reuse(_jspx_th_c_005fchoose_005f2);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fchoose.reuse(_jspx_th_c_005fchoose_005f2);
    return false;
  }

  private boolean _jspx_meth_c_005fwhen_005f2(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fchoose_005f2, javax.servlet.jsp.PageContext _jspx_page_context, int[] _jspx_push_body_count_form_005fform_005f0)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:when
    org.apache.taglibs.standard.tag.rt.core.WhenTag _jspx_th_c_005fwhen_005f2 = (org.apache.taglibs.standard.tag.rt.core.WhenTag) _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.WhenTag.class);
    _jspx_th_c_005fwhen_005f2.setPageContext(_jspx_page_context);
    _jspx_th_c_005fwhen_005f2.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fchoose_005f2);
    // /pages/patientdetails.jsp(112,36) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fwhen_005f2.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${fn:length(listOfPtInsurances) > 0}", boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, _jspx_fnmap_2)).booleanValue());
    int _jspx_eval_c_005fwhen_005f2 = _jspx_th_c_005fwhen_005f2.doStartTag();
    if (_jspx_eval_c_005fwhen_005f2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\n");
        out.write("                                        ");
        if (_jspx_meth_c_005fforEach_005f2(_jspx_th_c_005fwhen_005f2, _jspx_page_context, _jspx_push_body_count_form_005fform_005f0))
          return true;
        out.write("\n");
        out.write("                                    ");
        int evalDoAfterBody = _jspx_th_c_005fwhen_005f2.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fwhen_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest.reuse(_jspx_th_c_005fwhen_005f2);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fwhen_0026_005ftest.reuse(_jspx_th_c_005fwhen_005f2);
    return false;
  }

  private boolean _jspx_meth_c_005fforEach_005f2(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fwhen_005f2, javax.servlet.jsp.PageContext _jspx_page_context, int[] _jspx_push_body_count_form_005fform_005f0)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:forEach
    org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_005fforEach_005f2 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvarStatus_005fvar_005fitems.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class);
    _jspx_th_c_005fforEach_005f2.setPageContext(_jspx_page_context);
    _jspx_th_c_005fforEach_005f2.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fwhen_005f2);
    // /pages/patientdetails.jsp(113,40) name = var type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fforEach_005f2.setVar("insuranceCard");
    // /pages/patientdetails.jsp(113,40) name = items type = javax.el.ValueExpression reqTime = true required = false fragment = false deferredValue = true expectedTypeName = java.lang.Object deferredMethod = false methodSignature = null
    _jspx_th_c_005fforEach_005f2.setItems(new org.apache.jasper.el.JspValueExpression("/pages/patientdetails.jsp(113,40) '${listOfPtInsurances}'",_jsp_getExpressionFactory().createValueExpression(_jspx_page_context.getELContext(),"${listOfPtInsurances}",java.lang.Object.class)).getValue(_jspx_page_context.getELContext()));
    // /pages/patientdetails.jsp(113,40) name = varStatus type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fforEach_005f2.setVarStatus("loop");
    int[] _jspx_push_body_count_c_005fforEach_005f2 = new int[] { 0 };
    try {
      int _jspx_eval_c_005fforEach_005f2 = _jspx_th_c_005fforEach_005f2.doStartTag();
      if (_jspx_eval_c_005fforEach_005f2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\n");
          out.write("                                            <span class=\"blueText\">");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${loop.index+1}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
          out.write(". Insurance Card</span>\n");
          out.write("                                            <i class=\"fa fa-pencil\" onclick=\"window.patientInfoInsurance.getInsurnaceDetails();\"></i>\n");
          out.write("                                            <div>\n");
          out.write("                                                <input id=\"insuranceDetailId\" type=\"hidden\" value=\"");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${insuranceCard.id}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
          out.write("\"/>\n");
          out.write("<!--                                                <img id=\"frontImage\" src=\"#\" alt=\"insurance card front\" data-toggle=\"modal\" data-target=\"#cardsModal\" height=\"100\" width=\"128\"/>-->\n");
          out.write("                                                <img id=\"frontImage\" src=\"");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${not empty insuranceCard.insuranceFrontCardPath?insuranceCard.insuranceFrontCardPath:'#'}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
          out.write("\" alt=\"insurance card front\" height=\"100\" width=\"128\"/>\n");
          out.write("                                                <img id=\"backImg\" src=\"");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${not empty insuranceCard.insuranceBackCardPath?insuranceCard.insuranceBackCardPath:'#'}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
          out.write("\" alt=\"insurance card back\" width=\"128\" height=\"100\"/>\n");
          out.write("                                            </div>\n");
          out.write("                                        ");
          int evalDoAfterBody = _jspx_th_c_005fforEach_005f2.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_c_005fforEach_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        return true;
      }
    } catch (java.lang.Throwable _jspx_exception) {
      while (_jspx_push_body_count_c_005fforEach_005f2[0]-- > 0)
        out = _jspx_page_context.popBody();
      _jspx_th_c_005fforEach_005f2.doCatch(_jspx_exception);
    } finally {
      _jspx_th_c_005fforEach_005f2.doFinally();
      _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvarStatus_005fvar_005fitems.reuse(_jspx_th_c_005fforEach_005f2);
    }
    return false;
  }

  private boolean _jspx_meth_c_005fotherwise_005f2(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fchoose_005f2, javax.servlet.jsp.PageContext _jspx_page_context, int[] _jspx_push_body_count_form_005fform_005f0)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:otherwise
    org.apache.taglibs.standard.tag.common.core.OtherwiseTag _jspx_th_c_005fotherwise_005f2 = (org.apache.taglibs.standard.tag.common.core.OtherwiseTag) _005fjspx_005ftagPool_005fc_005fotherwise.get(org.apache.taglibs.standard.tag.common.core.OtherwiseTag.class);
    _jspx_th_c_005fotherwise_005f2.setPageContext(_jspx_page_context);
    _jspx_th_c_005fotherwise_005f2.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fchoose_005f2);
    int _jspx_eval_c_005fotherwise_005f2 = _jspx_th_c_005fotherwise_005f2.doStartTag();
    if (_jspx_eval_c_005fotherwise_005f2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\n");
        out.write("                                        <div style=\"height: 50px;\">\n");
        out.write("                                            <span class=\"blueText\">Insurance Card</span>\n");
        out.write("                                            <input id=\"insuranceDetailId\" type=\"hidden\" value=\"0\"/>\n");
        out.write("                                            <span style=\"color: red;\">No Insurance Card Available.</span>\n");
        out.write("                                        </div>\n");
        out.write("                                    ");
        int evalDoAfterBody = _jspx_th_c_005fotherwise_005f2.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fotherwise_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fotherwise.reuse(_jspx_th_c_005fotherwise_005f2);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fotherwise.reuse(_jspx_th_c_005fotherwise_005f2);
    return false;
  }

  private boolean _jspx_meth_c_005fforEach_005f3(javax.servlet.jsp.tagext.JspTag _jspx_th_form_005fform_005f0, javax.servlet.jsp.PageContext _jspx_page_context, int[] _jspx_push_body_count_form_005fform_005f0)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:forEach
    org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_005fforEach_005f3 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class);
    _jspx_th_c_005fforEach_005f3.setPageContext(_jspx_page_context);
    _jspx_th_c_005fforEach_005f3.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_form_005fform_005f0);
    // /pages/patientdetails.jsp(190,52) name = var type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fforEach_005f3.setVar("patientOrderRx");
    // /pages/patientdetails.jsp(190,52) name = items type = javax.el.ValueExpression reqTime = true required = false fragment = false deferredValue = true expectedTypeName = java.lang.Object deferredMethod = false methodSignature = null
    _jspx_th_c_005fforEach_005f3.setItems(new org.apache.jasper.el.JspValueExpression("/pages/patientdetails.jsp(190,52) '${patientProfile.orders}'",_jsp_getExpressionFactory().createValueExpression(_jspx_page_context.getELContext(),"${patientProfile.orders}",java.lang.Object.class)).getValue(_jspx_page_context.getELContext()));
    int[] _jspx_push_body_count_c_005fforEach_005f3 = new int[] { 0 };
    try {
      int _jspx_eval_c_005fforEach_005f3 = _jspx_th_c_005fforEach_005f3.doStartTag();
      if (_jspx_eval_c_005fforEach_005f3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\n");
          out.write("                                                        <tr class=\"row grid-row\">\n");
          out.write("                                                            <td width=\"10%\">");
          if (_jspx_meth_fmt_005fformatDate_005f5(_jspx_th_c_005fforEach_005f3, _jspx_page_context, _jspx_push_body_count_c_005fforEach_005f3))
            return true;
          out.write("</td>\n");
          out.write("                                                            <td width=\"30%\">");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${patientOrderRx.drugName}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
          out.write(' ');
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${patientOrderRx.strength}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
          out.write("\n");
          out.write("                                                                ");
          if (_jspx_meth_c_005fif_005f1(_jspx_th_c_005fforEach_005f3, _jspx_page_context, _jspx_push_body_count_c_005fforEach_005f3))
            return true;
          out.write("\n");
          out.write("                                                            </td>\n");
          out.write("                                                            <td width=\"2%\" align=\"center\">");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${patientOrderRx.qty}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
          out.write("</td>\n");
          out.write("                                                            <td width=\"6%\" align=\"center\">1</td>\n");
          out.write("                                                            <td width=\"6%\">");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${patientOrderRx.orderStatus.name}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
          out.write("</td>\n");
          out.write("                                                            <td width=\"6%\">COM</span></td>\n");
          out.write("                                                            <td width=\"6%\">N/A</td>\n");
          out.write("                                                            <td width=\"6%\">");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${patientOrderRx.handLingFee}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
          out.write("</td>\n");
          out.write("                                                            <td width=\"6%\">");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${patientOrderRx.redeemPoints}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
          out.write("</td>\n");
          out.write("                                                            <td width=\"6%\">N/A</td>\n");
          out.write("                                                            <td width=\"6%\">");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${patientOrderRx.payment}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
          out.write("</td>\n");
          out.write("                                                            <td width=\"10%\">N/A</td>\n");
          out.write("                                                        </tr>\n");
          out.write("                                                    ");
          int evalDoAfterBody = _jspx_th_c_005fforEach_005f3.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_c_005fforEach_005f3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        return true;
      }
    } catch (java.lang.Throwable _jspx_exception) {
      while (_jspx_push_body_count_c_005fforEach_005f3[0]-- > 0)
        out = _jspx_page_context.popBody();
      _jspx_th_c_005fforEach_005f3.doCatch(_jspx_exception);
    } finally {
      _jspx_th_c_005fforEach_005f3.doFinally();
      _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems.reuse(_jspx_th_c_005fforEach_005f3);
    }
    return false;
  }

  private boolean _jspx_meth_fmt_005fformatDate_005f5(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fforEach_005f3, javax.servlet.jsp.PageContext _jspx_page_context, int[] _jspx_push_body_count_c_005fforEach_005f3)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  fmt:formatDate
    org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag _jspx_th_fmt_005fformatDate_005f5 = (org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag) _005fjspx_005ftagPool_005ffmt_005fformatDate_0026_005fvalue_005fpattern_005fnobody.get(org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag.class);
    _jspx_th_fmt_005fformatDate_005f5.setPageContext(_jspx_page_context);
    _jspx_th_fmt_005fformatDate_005f5.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fforEach_005f3);
    // /pages/patientdetails.jsp(192,76) name = pattern type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fmt_005fformatDate_005f5.setPattern("MM/dd/yyyy");
    // /pages/patientdetails.jsp(192,76) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fmt_005fformatDate_005f5.setValue((java.util.Date) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${patientOrderRx.createdOn}", java.util.Date.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
    int _jspx_eval_fmt_005fformatDate_005f5 = _jspx_th_fmt_005fformatDate_005f5.doStartTag();
    if (_jspx_th_fmt_005fformatDate_005f5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005ffmt_005fformatDate_0026_005fvalue_005fpattern_005fnobody.reuse(_jspx_th_fmt_005fformatDate_005f5);
      return true;
    }
    _005fjspx_005ftagPool_005ffmt_005fformatDate_0026_005fvalue_005fpattern_005fnobody.reuse(_jspx_th_fmt_005fformatDate_005f5);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f1(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fforEach_005f3, javax.servlet.jsp.PageContext _jspx_page_context, int[] _jspx_push_body_count_c_005fforEach_005f3)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f1 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f1.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f1.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fforEach_005f3);
    // /pages/patientdetails.jsp(194,64) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f1.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${not empty patientOrderRx.drugType}", boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null)).booleanValue());
    int _jspx_eval_c_005fif_005f1 = _jspx_th_c_005fif_005f1.doStartTag();
    if (_jspx_eval_c_005fif_005f1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\n");
        out.write("                                                                    (");
        out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${patientOrderRx.drugType}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
        out.write(")\n");
        out.write("                                                                ");
        int evalDoAfterBody = _jspx_th_c_005fif_005f1.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f1);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f1);
    return false;
  }

  private boolean _jspx_meth_c_005fforEach_005f4(javax.servlet.jsp.tagext.JspTag _jspx_th_form_005fform_005f0, javax.servlet.jsp.PageContext _jspx_page_context, int[] _jspx_push_body_count_form_005fform_005f0)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:forEach
    org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_005fforEach_005f4 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvarStatus_005fvar_005fitems.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class);
    _jspx_th_c_005fforEach_005f4.setPageContext(_jspx_page_context);
    _jspx_th_c_005fforEach_005f4.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_form_005fform_005f0);
    // /pages/patientdetails.jsp(249,52) name = var type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fforEach_005f4.setVar("reward");
    // /pages/patientdetails.jsp(249,52) name = items type = javax.el.ValueExpression reqTime = true required = false fragment = false deferredValue = true expectedTypeName = java.lang.Object deferredMethod = false methodSignature = null
    _jspx_th_c_005fforEach_005f4.setItems(new org.apache.jasper.el.JspValueExpression("/pages/patientdetails.jsp(249,52) '${reward}'",_jsp_getExpressionFactory().createValueExpression(_jspx_page_context.getELContext(),"${reward}",java.lang.Object.class)).getValue(_jspx_page_context.getELContext()));
    // /pages/patientdetails.jsp(249,52) name = varStatus type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fforEach_005f4.setVarStatus("counter");
    int[] _jspx_push_body_count_c_005fforEach_005f4 = new int[] { 0 };
    try {
      int _jspx_eval_c_005fforEach_005f4 = _jspx_th_c_005fforEach_005f4.doStartTag();
      if (_jspx_eval_c_005fforEach_005f4 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\n");
          out.write("\n");
          out.write("                                                        <tr class=\"row grid-row\">\n");
          out.write("\n");
          out.write("                                                            <td width=\"40%\">");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${reward.description}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
          out.write("</td>\n");
          out.write("                                                            <td width=\"15%\" >");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${reward.redeemedPoints}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
          out.write("</td>  \n");
          out.write("                                                            <td width=\"15%\" >");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${reward.awardedPoints}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
          out.write("</td>  \n");
          out.write("                                                            <td width=\"30%\" >");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${reward.createdDate}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
          out.write("</td>  \n");
          out.write("                                                        </tr>\n");
          out.write("                                                        <!--\n");
          out.write("                                                        \n");
          out.write("                                                                 <tr class=\"row grid-row\">\n");
          out.write("                                                                    <td width=\"50%\" >Points Balance</td>\n");
          out.write("                                                                    <td  >&nbsp;</td> \n");
          out.write("                                                                    <td  >");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${balance}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
          out.write("</td>    \n");
          out.write("                                                                </tr>\n");
          out.write("                                                        -->\n");
          out.write("                                                    ");
          int evalDoAfterBody = _jspx_th_c_005fforEach_005f4.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_c_005fforEach_005f4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        return true;
      }
    } catch (java.lang.Throwable _jspx_exception) {
      while (_jspx_push_body_count_c_005fforEach_005f4[0]-- > 0)
        out = _jspx_page_context.popBody();
      _jspx_th_c_005fforEach_005f4.doCatch(_jspx_exception);
    } finally {
      _jspx_th_c_005fforEach_005f4.doFinally();
      _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvarStatus_005fvar_005fitems.reuse(_jspx_th_c_005fforEach_005f4);
    }
    return false;
  }

  private boolean _jspx_meth_c_005fforEach_005f5(javax.servlet.jsp.tagext.JspTag _jspx_th_form_005fform_005f0, javax.servlet.jsp.PageContext _jspx_page_context, int[] _jspx_push_body_count_form_005fform_005f0)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:forEach
    org.apache.taglibs.standard.tag.rt.core.ForEachTag _jspx_th_c_005fforEach_005f5 = (org.apache.taglibs.standard.tag.rt.core.ForEachTag) _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems.get(org.apache.taglibs.standard.tag.rt.core.ForEachTag.class);
    _jspx_th_c_005fforEach_005f5.setPageContext(_jspx_page_context);
    _jspx_th_c_005fforEach_005f5.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_form_005fform_005f0);
    // /pages/patientdetails.jsp(312,52) name = var type = java.lang.String reqTime = false required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fforEach_005f5.setVar("patientOrderRx");
    // /pages/patientdetails.jsp(312,52) name = items type = javax.el.ValueExpression reqTime = true required = false fragment = false deferredValue = true expectedTypeName = java.lang.Object deferredMethod = false methodSignature = null
    _jspx_th_c_005fforEach_005f5.setItems(new org.apache.jasper.el.JspValueExpression("/pages/patientdetails.jsp(312,52) '${patientProfile.orders}'",_jsp_getExpressionFactory().createValueExpression(_jspx_page_context.getELContext(),"${patientProfile.orders}",java.lang.Object.class)).getValue(_jspx_page_context.getELContext()));
    int[] _jspx_push_body_count_c_005fforEach_005f5 = new int[] { 0 };
    try {
      int _jspx_eval_c_005fforEach_005f5 = _jspx_th_c_005fforEach_005f5.doStartTag();
      if (_jspx_eval_c_005fforEach_005f5 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\n");
          out.write("                                                        <tr class=\"row grid-row\">\n");
          out.write("                                                            <td width=\"10%\">");
          if (_jspx_meth_fmt_005fformatDate_005f6(_jspx_th_c_005fforEach_005f5, _jspx_page_context, _jspx_push_body_count_c_005fforEach_005f5))
            return true;
          out.write("</td>\n");
          out.write("                                                            <td width=\"30%\">");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${patientOrderRx.drugName}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
          out.write(' ');
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${patientOrderRx.strength}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
          out.write(" \n");
          out.write("                                                                ");
          if (_jspx_meth_c_005fif_005f2(_jspx_th_c_005fforEach_005f5, _jspx_page_context, _jspx_push_body_count_c_005fforEach_005f5))
            return true;
          out.write("\n");
          out.write("\n");
          out.write("                                                            </td>\n");
          out.write("                                                            <td width=\"2%\" align=\"center\">");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${patientOrderRx.qty}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
          out.write("</td>\n");
          out.write("                                                            <td width=\"6%\" align=\"center\">1</td>\n");
          out.write("                                                            <td width=\"6%\">");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${patientOrderRx.orderStatus.name}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
          out.write("</td>\n");
          out.write("                                                            <td width=\"6%\">COM</span></td>\n");
          out.write("                                                            <td width=\"6%\">N/A</td>\n");
          out.write("                                                            <td width=\"6%\">");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${patientOrderRx.handLingFee}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
          out.write("</td>\n");
          out.write("                                                            <td width=\"6%\">");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${patientOrderRx.redeemPoints}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
          out.write("</td>\n");
          out.write("                                                            <td width=\"6%\">N/A</td>\n");
          out.write("                                                            <td width=\"6%\">");
          out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${patientOrderRx.payment}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
          out.write("</td>\n");
          out.write("                                                            <td width=\"10%\">N/A</td>\n");
          out.write("                                                        </tr>\n");
          out.write("                                                    ");
          int evalDoAfterBody = _jspx_th_c_005fforEach_005f5.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_c_005fforEach_005f5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
        return true;
      }
    } catch (java.lang.Throwable _jspx_exception) {
      while (_jspx_push_body_count_c_005fforEach_005f5[0]-- > 0)
        out = _jspx_page_context.popBody();
      _jspx_th_c_005fforEach_005f5.doCatch(_jspx_exception);
    } finally {
      _jspx_th_c_005fforEach_005f5.doFinally();
      _005fjspx_005ftagPool_005fc_005fforEach_0026_005fvar_005fitems.reuse(_jspx_th_c_005fforEach_005f5);
    }
    return false;
  }

  private boolean _jspx_meth_fmt_005fformatDate_005f6(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fforEach_005f5, javax.servlet.jsp.PageContext _jspx_page_context, int[] _jspx_push_body_count_c_005fforEach_005f5)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  fmt:formatDate
    org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag _jspx_th_fmt_005fformatDate_005f6 = (org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag) _005fjspx_005ftagPool_005ffmt_005fformatDate_0026_005fvalue_005fpattern_005fnobody.get(org.apache.taglibs.standard.tag.rt.fmt.FormatDateTag.class);
    _jspx_th_fmt_005fformatDate_005f6.setPageContext(_jspx_page_context);
    _jspx_th_fmt_005fformatDate_005f6.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fforEach_005f5);
    // /pages/patientdetails.jsp(314,76) name = pattern type = null reqTime = true required = false fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fmt_005fformatDate_005f6.setPattern("MM/dd/yyyy");
    // /pages/patientdetails.jsp(314,76) name = value type = null reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_fmt_005fformatDate_005f6.setValue((java.util.Date) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${patientOrderRx.createdOn}", java.util.Date.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
    int _jspx_eval_fmt_005fformatDate_005f6 = _jspx_th_fmt_005fformatDate_005f6.doStartTag();
    if (_jspx_th_fmt_005fformatDate_005f6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005ffmt_005fformatDate_0026_005fvalue_005fpattern_005fnobody.reuse(_jspx_th_fmt_005fformatDate_005f6);
      return true;
    }
    _005fjspx_005ftagPool_005ffmt_005fformatDate_0026_005fvalue_005fpattern_005fnobody.reuse(_jspx_th_fmt_005fformatDate_005f6);
    return false;
  }

  private boolean _jspx_meth_c_005fif_005f2(javax.servlet.jsp.tagext.JspTag _jspx_th_c_005fforEach_005f5, javax.servlet.jsp.PageContext _jspx_page_context, int[] _jspx_push_body_count_c_005fforEach_005f5)
          throws java.lang.Throwable {
    javax.servlet.jsp.PageContext pageContext = _jspx_page_context;
    javax.servlet.jsp.JspWriter out = _jspx_page_context.getOut();
    //  c:if
    org.apache.taglibs.standard.tag.rt.core.IfTag _jspx_th_c_005fif_005f2 = (org.apache.taglibs.standard.tag.rt.core.IfTag) _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.get(org.apache.taglibs.standard.tag.rt.core.IfTag.class);
    _jspx_th_c_005fif_005f2.setPageContext(_jspx_page_context);
    _jspx_th_c_005fif_005f2.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_c_005fforEach_005f5);
    // /pages/patientdetails.jsp(316,64) name = test type = boolean reqTime = true required = true fragment = false deferredValue = false expectedTypeName = null deferredMethod = false methodSignature = null
    _jspx_th_c_005fif_005f2.setTest(((java.lang.Boolean) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${not empty patientOrderRx.drugType}", boolean.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null)).booleanValue());
    int _jspx_eval_c_005fif_005f2 = _jspx_th_c_005fif_005f2.doStartTag();
    if (_jspx_eval_c_005fif_005f2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      do {
        out.write("\n");
        out.write("                                                                    (");
        out.write((java.lang.String) org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate("${patientOrderRx.drugType}", java.lang.String.class, (javax.servlet.jsp.PageContext)_jspx_page_context, null));
        out.write(")\n");
        out.write("                                                                ");
        int evalDoAfterBody = _jspx_th_c_005fif_005f2.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
    }
    if (_jspx_th_c_005fif_005f2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE) {
      _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f2);
      return true;
    }
    _005fjspx_005ftagPool_005fc_005fif_0026_005ftest.reuse(_jspx_th_c_005fif_005f2);
    return false;
  }
}
