       update=":#{p:resolveFirstComponentWithId('tblCals',view).clientId} :#{p:resolveFirstComponentWithId('tblFlags',view).clientId} :#{p:resolveFirstComponentWithId('divPrint',view).clientId}"  
                                    value="Calculate" 
                                    action="#{patientReportController.calculate}">
                                </p:commandButton>
                                <p:commandButton 
                                    id="btnApprove"  
                      