Java 类ims.core.vo.OutPatientListSearchCriteriaVo 实例源码
项目:AvoinApotti
文件:Logic.java
private void search()
{
clearOutPatientList();
if ((form.dteApptDateTo().getValue() == null)
|| (form.dteApptDateTo().getValue()!= null && (form.qmbClinic().getValue() == null && form.cmbClinic().getValue()== null))
&&(form.dteApptDateTo().getValue() != null && (form.qmbConsultant().getValue() == null && form.cmbConsultant().getValue()== null)))
{
engine.showMessage("Valid search criteria must be specified - Please enter a Appt. To Date and a Clinic and/or Consultant");
return;
}
OutPatientListSearchCriteriaVo filter = populateSearchCriteria();
if(filter==null)
return;
populateOutPatientList(domain.listOutpatients(filter, false));
enableBatchUpdateMenuItems();
}
项目:AvoinApotti
文件:Logic.java
private OutPatientListSearchCriteriaVo populateSearchCriteria()
{
if(form.dteApptDateFrom().getValue()!=null && form.dteApptDateTo().getValue()!=null &&
(form.dteApptDateTo().getValue().getDate().before(form.dteApptDateFrom().getValue().getDate())
|| form.dteApptDateTo().getValue().getDate().equals(form.dteApptDateFrom().getValue().getDate()))){
engine.showMessage("'Appt. Date To' must be later than 'Appt. Date From'.");
return null;
}
OutPatientListSearchCriteriaVo voFilter = new OutPatientListSearchCriteriaVo();
voFilter.setClinic(form.qmbClinic().getValue());
voFilter.setSpecialty(form.cmbSpecialty().getValue());
if(form.getLocalContext().getUserAccessVoIsNotNull())
voFilter.setConsultant(form.qmbConsultant().getValue());
else
voFilter.setConsultant(form.qmbConsultant().getValue());
voFilter.setDictatedBy(form.qmbDictatedBy().getValue());
voFilter.setDocumentStatus(form.cmbStatusOfLetter().getValue());
voFilter.setDateFrom(form.dteApptDateFrom().getValue());
voFilter.setDateTo(form.dteApptDateTo().getValue());
return voFilter;
}
项目:AvoinApotti
文件:Logic.java
private void storeSearchCriteria()
{
OutPatientListSearchCriteriaVo voOutPatSearch = new OutPatientListSearchCriteriaVo();
if(form.getLocalContext().getUserAccessVoIsNotNull()){
voOutPatSearch.setClinic(form.cmbClinic().getValue());
voOutPatSearch.setConsultant(form.cmbConsultant().getValue());
}
else{
voOutPatSearch.setClinic(form.qmbClinic().getValue());
voOutPatSearch.setConsultant(form.qmbConsultant().getValue());
}
voOutPatSearch.setLocation(form.cmbLocation().getValue());
voOutPatSearch.setSpecialty(form.cmbSpecialty().getValue());
form.getGlobalContext().Core.setOutPatientSearchCriteria(voOutPatSearch);
}
项目:AvoinApotti
文件:Logic.java
private void initialise() {
PatientListsFilterVo voPatientListsFilter = form.getGlobalContext().Correspondence.getPatientListSearchCriteria();
OutPatientListSearchCriteriaVo voOutPatientList = form.getGlobalContext().Core.getOutPatientSearchCriteria();
DocumentStatus newDocumentStatus = form.getGlobalContext().Correspondence.getPatientListsBatchUpdateType();
if(newDocumentStatus == DocumentStatus.DICTATED)
form.pnlBatchUpdate().setValue("Batch Update Of Status To 'Dictated'");
else if(newDocumentStatus == DocumentStatus.NOLETTERREQUIRED)
form.pnlBatchUpdate().setValue("Batch Update Of Status To 'No Letter Required'");
else if(newDocumentStatus == DocumentStatus.SIGNED)
form.pnlBatchUpdate().setValue("Batch Update Of Status To 'Signed'");
if(voPatientListsFilter!=null)
populateListControl(domain.listInPatients(voPatientListsFilter,(newDocumentStatus==DocumentStatus.DICTATED)));
else if(voOutPatientList!=null)
populateListControl(domain.listOutpatients(voOutPatientList, (newDocumentStatus==DocumentStatus.DICTATED)));
}
项目:AvoinApotti
文件:Logic.java
private void storeSearchCriteria()
{
OutPatientListSearchCriteriaVo voOutPatSearch = new OutPatientListSearchCriteriaVo();
if(form.getLocalContext().getUserAccessVoIsNotNull()){
voOutPatSearch.setClinic(form.cmbClinic().getValue());
voOutPatSearch.setConsultant(form.cmbConsultant().getValue());
}
else{
voOutPatSearch.setClinic(form.qmbClinic().getValue());
voOutPatSearch.setConsultant(form.qmbConsultant().getValue());
}
voOutPatSearch.setClinicDate(form.dteClinic().getValue());
voOutPatSearch.setLocation(form.cmbLocation().getValue());
voOutPatSearch.setSpecialty(form.cmbSpecialty().getValue());
form.getGlobalContext().Core.setOutPatientSearchCriteria(voOutPatSearch);
}
项目:openMAXIMS
文件:Logic.java
private void search()
{
clearOutPatientList();
if ((form.dteApptDateTo().getValue() == null)
|| (form.dteApptDateTo().getValue()!= null && (form.qmbClinic().getValue() == null && form.cmbClinic().getValue()== null))
&&(form.dteApptDateTo().getValue() != null && (form.qmbConsultant().getValue() == null && form.cmbConsultant().getValue()== null)))
{
engine.showMessage("Valid search criteria must be specified - Please enter a Appt. To Date and a Clinic and/or Consultant");
return;
}
OutPatientListSearchCriteriaVo filter = populateSearchCriteria();
if(filter==null)
return;
populateOutPatientList(domain.listOutpatients(filter, false));
enableBatchUpdateMenuItems();
}
项目:openMAXIMS
文件:Logic.java
private OutPatientListSearchCriteriaVo populateSearchCriteria()
{
if(form.dteApptDateFrom().getValue()!=null && form.dteApptDateTo().getValue()!=null &&
(form.dteApptDateTo().getValue().getDate().before(form.dteApptDateFrom().getValue().getDate())
|| form.dteApptDateTo().getValue().getDate().equals(form.dteApptDateFrom().getValue().getDate()))){
engine.showMessage("'Appt. Date To' must be later than 'Appt. Date From'.");
return null;
}
OutPatientListSearchCriteriaVo voFilter = new OutPatientListSearchCriteriaVo();
voFilter.setClinic(form.qmbClinic().getValue());
voFilter.setSpecialty(form.cmbSpecialty().getValue());
if(form.getLocalContext().getUserAccessVoIsNotNull())
voFilter.setConsultant(form.qmbConsultant().getValue());
else
voFilter.setConsultant(form.qmbConsultant().getValue());
voFilter.setDictatedBy(form.qmbDictatedBy().getValue());
voFilter.setDocumentStatus(form.cmbStatusOfLetter().getValue());
voFilter.setDateFrom(form.dteApptDateFrom().getValue());
voFilter.setDateTo(form.dteApptDateTo().getValue());
return voFilter;
}
项目:openMAXIMS
文件:Logic.java
private void storeSearchCriteria()
{
OutPatientListSearchCriteriaVo voOutPatSearch = new OutPatientListSearchCriteriaVo();
if(form.getLocalContext().getUserAccessVoIsNotNull()){
voOutPatSearch.setClinic(form.cmbClinic().getValue());
voOutPatSearch.setConsultant(form.cmbConsultant().getValue());
}
else{
voOutPatSearch.setClinic(form.qmbClinic().getValue());
voOutPatSearch.setConsultant(form.qmbConsultant().getValue());
}
voOutPatSearch.setLocation(form.cmbLocation().getValue());
voOutPatSearch.setSpecialty(form.cmbSpecialty().getValue());
if(form.getLocalContext().getUserAccessVoIsNotNull())
voOutPatSearch.setConsultant(form.qmbConsultant().getValue());
else
voOutPatSearch.setConsultant(form.qmbConsultant().getValue());
voOutPatSearch.setDictatedBy(form.qmbDictatedBy().getValue());
voOutPatSearch.setDocumentStatus(form.cmbStatusOfLetter().getValue());
voOutPatSearch.setDateFrom(form.dteApptDateFrom().getValue());
voOutPatSearch.setDateTo(form.dteApptDateTo().getValue());
form.getGlobalContext().Core.setOutPatientSearchCriteria(voOutPatSearch);
}
项目:openMAXIMS
文件:Logic.java
private void initialise() {
PatientListsFilterVo voPatientListsFilter = form.getGlobalContext().Correspondence.getPatientListSearchCriteria();
OutPatientListSearchCriteriaVo voOutPatientList = form.getGlobalContext().Core.getOutPatientSearchCriteria();
DocumentStatus newDocumentStatus = form.getGlobalContext().Correspondence.getPatientListsBatchUpdateType();
if(newDocumentStatus == DocumentStatus.DICTATED)
form.pnlBatchUpdate().setValue("Batch Update Of Status To 'Dictated'");
else if(newDocumentStatus == DocumentStatus.NOLETTERREQUIRED)
form.pnlBatchUpdate().setValue("Batch Update Of Status To 'No Letter Required'");
else if(newDocumentStatus == DocumentStatus.SIGNED)
form.pnlBatchUpdate().setValue("Batch Update Of Status To 'Signed'");
if(voPatientListsFilter!=null)
populateListControl(domain.listInPatients(voPatientListsFilter,(newDocumentStatus==DocumentStatus.DICTATED)));
else if(voOutPatientList!=null)
populateListControl(domain.listOutpatients(voOutPatientList, (newDocumentStatus==DocumentStatus.DICTATED)));
}
项目:openMAXIMS
文件:Logic.java
private void search()
{
form.getGlobalContext().Core.setOutPatientSearchCriteria(null);
form.grdOPAttendences().getRows().clear();
String[] errors = validateSearch();
if(errors != null && errors.length > 0)
{
engine.showErrors(errors);
return;
}
OutPatientListSearchCriteriaVo voOutPatSearch = new OutPatientListSearchCriteriaVo();
voOutPatSearch.setClinic(form.qmbClinic().getValue());
voOutPatSearch.setLocation(form.cmbLocation().getValue());
voOutPatSearch.setDateFrom(form.dteFromDate().getValue());
voOutPatSearch.setDateTo(form.dteToDate().getValue());
populateOutPatientList(domain.listOutpatients(voOutPatSearch, false));
}
项目:openMAXIMS
文件:Logic.java
private void search()
{
clearOutPatientList();
if ((form.dteApptDateTo().getValue() == null)
|| (form.dteApptDateTo().getValue()!= null && (form.qmbClinic().getValue() == null && form.cmbClinic().getValue()== null))
&&(form.dteApptDateTo().getValue() != null && (form.qmbConsultant().getValue() == null && form.cmbConsultant().getValue()== null)))
{
engine.showMessage("Valid search criteria must be specified - Please enter a Appt. To Date and a Clinic and/or Consultant");
return;
}
OutPatientListSearchCriteriaVo filter = populateSearchCriteria();
if(filter==null)
return;
populateOutPatientList(domain.listOutpatients(filter, false));
enableBatchUpdateMenuItems();
}
项目:openMAXIMS
文件:Logic.java
private OutPatientListSearchCriteriaVo populateSearchCriteria()
{
if(form.dteApptDateFrom().getValue()!=null && form.dteApptDateTo().getValue()!=null &&
(form.dteApptDateTo().getValue().getDate().before(form.dteApptDateFrom().getValue().getDate())
|| form.dteApptDateTo().getValue().getDate().equals(form.dteApptDateFrom().getValue().getDate()))){
engine.showMessage("'Appt. Date To' must be later than 'Appt. Date From'.");
return null;
}
OutPatientListSearchCriteriaVo voFilter = new OutPatientListSearchCriteriaVo();
voFilter.setClinic(form.qmbClinic().getValue());
voFilter.setSpecialty(form.cmbSpecialty().getValue());
if(form.getLocalContext().getUserAccessVoIsNotNull())
voFilter.setConsultant(form.qmbConsultant().getValue());
else
voFilter.setConsultant(form.qmbConsultant().getValue());
voFilter.setDictatedBy(form.qmbDictatedBy().getValue());
voFilter.setDocumentStatus(form.cmbStatusOfLetter().getValue());
voFilter.setDateFrom(form.dteApptDateFrom().getValue());
voFilter.setDateTo(form.dteApptDateTo().getValue());
return voFilter;
}
项目:openMAXIMS
文件:Logic.java
private void storeSearchCriteria()
{
OutPatientListSearchCriteriaVo voOutPatSearch = new OutPatientListSearchCriteriaVo();
if(form.getLocalContext().getUserAccessVoIsNotNull()){
voOutPatSearch.setClinic(form.cmbClinic().getValue());
voOutPatSearch.setConsultant(form.cmbConsultant().getValue());
}
else{
voOutPatSearch.setClinic(form.qmbClinic().getValue());
voOutPatSearch.setConsultant(form.qmbConsultant().getValue());
}
voOutPatSearch.setLocation(form.cmbLocation().getValue());
voOutPatSearch.setSpecialty(form.cmbSpecialty().getValue());
form.getGlobalContext().Core.setOutPatientSearchCriteria(voOutPatSearch);
}
项目:openMAXIMS
文件:Logic.java
private void initialise() {
PatientListsFilterVo voPatientListsFilter = form.getGlobalContext().Correspondence.getPatientListSearchCriteria();
OutPatientListSearchCriteriaVo voOutPatientList = form.getGlobalContext().Core.getOutPatientSearchCriteria();
DocumentStatus newDocumentStatus = form.getGlobalContext().Correspondence.getPatientListsBatchUpdateType();
if(newDocumentStatus == DocumentStatus.DICTATED)
form.pnlBatchUpdate().setValue("Batch Update Of Status To 'Dictated'");
else if(newDocumentStatus == DocumentStatus.NOLETTERREQUIRED)
form.pnlBatchUpdate().setValue("Batch Update Of Status To 'No Letter Required'");
else if(newDocumentStatus == DocumentStatus.SIGNED)
form.pnlBatchUpdate().setValue("Batch Update Of Status To 'Signed'");
if(voPatientListsFilter!=null)
populateListControl(domain.listInPatients(voPatientListsFilter,(newDocumentStatus==DocumentStatus.DICTATED)));
else if(voOutPatientList!=null)
populateListControl(domain.listOutpatients(voOutPatientList, (newDocumentStatus==DocumentStatus.DICTATED)));
}
项目:openMAXIMS
文件:Logic.java
private void storeSearchCriteria()
{
OutPatientListSearchCriteriaVo voOutPatSearch = new OutPatientListSearchCriteriaVo();
if(form.getLocalContext().getUserAccessVoIsNotNull()){
voOutPatSearch.setClinic(form.cmbClinic().getValue());
voOutPatSearch.setConsultant(form.cmbConsultant().getValue());
}
else{
voOutPatSearch.setClinic(form.qmbClinic().getValue());
voOutPatSearch.setConsultant(form.qmbConsultant().getValue());
}
voOutPatSearch.setClinicDate(form.dteClinic().getValue());
voOutPatSearch.setLocation(form.cmbLocation().getValue());
voOutPatSearch.setSpecialty(form.cmbSpecialty().getValue());
form.getGlobalContext().Core.setOutPatientSearchCriteria(voOutPatSearch);
}
项目:openmaxims-linux
文件:Logic.java
private void search()
{
clearOutPatientList();
if ((form.dteApptDateTo().getValue() == null)
|| (form.dteApptDateTo().getValue()!= null && (form.qmbClinic().getValue() == null && form.cmbClinic().getValue()== null))
&&(form.dteApptDateTo().getValue() != null && (form.qmbConsultant().getValue() == null && form.cmbConsultant().getValue()== null)))
{
engine.showMessage("Valid search criteria must be specified - Please enter a Appt. To Date and a Clinic and/or Consultant");
return;
}
OutPatientListSearchCriteriaVo filter = populateSearchCriteria();
if(filter==null)
return;
populateOutPatientList(domain.listOutpatients(filter, false));
enableBatchUpdateMenuItems();
}
项目:openmaxims-linux
文件:Logic.java
private OutPatientListSearchCriteriaVo populateSearchCriteria()
{
if(form.dteApptDateFrom().getValue()!=null && form.dteApptDateTo().getValue()!=null &&
(form.dteApptDateTo().getValue().getDate().before(form.dteApptDateFrom().getValue().getDate())
|| form.dteApptDateTo().getValue().getDate().equals(form.dteApptDateFrom().getValue().getDate()))){
engine.showMessage("'Appt. Date To' must be later than 'Appt. Date From'.");
return null;
}
OutPatientListSearchCriteriaVo voFilter = new OutPatientListSearchCriteriaVo();
voFilter.setClinic(form.qmbClinic().getValue());
voFilter.setSpecialty(form.cmbSpecialty().getValue());
if(form.getLocalContext().getUserAccessVoIsNotNull())
voFilter.setConsultant(form.qmbConsultant().getValue());
else
voFilter.setConsultant(form.qmbConsultant().getValue());
voFilter.setDictatedBy(form.qmbDictatedBy().getValue());
voFilter.setDocumentStatus(form.cmbStatusOfLetter().getValue());
voFilter.setDateFrom(form.dteApptDateFrom().getValue());
voFilter.setDateTo(form.dteApptDateTo().getValue());
return voFilter;
}
项目:openmaxims-linux
文件:Logic.java
private void storeSearchCriteria()
{
OutPatientListSearchCriteriaVo voOutPatSearch = new OutPatientListSearchCriteriaVo();
if(form.getLocalContext().getUserAccessVoIsNotNull()){
voOutPatSearch.setClinic(form.cmbClinic().getValue());
voOutPatSearch.setConsultant(form.cmbConsultant().getValue());
}
else{
voOutPatSearch.setClinic(form.qmbClinic().getValue());
voOutPatSearch.setConsultant(form.qmbConsultant().getValue());
}
voOutPatSearch.setLocation(form.cmbLocation().getValue());
voOutPatSearch.setSpecialty(form.cmbSpecialty().getValue());
form.getGlobalContext().Core.setOutPatientSearchCriteria(voOutPatSearch);
}
项目:openmaxims-linux
文件:Logic.java
private void initialise() {
PatientListsFilterVo voPatientListsFilter = form.getGlobalContext().Correspondence.getPatientListSearchCriteria();
OutPatientListSearchCriteriaVo voOutPatientList = form.getGlobalContext().Core.getOutPatientSearchCriteria();
DocumentStatus newDocumentStatus = form.getGlobalContext().Correspondence.getPatientListsBatchUpdateType();
if(newDocumentStatus == DocumentStatus.DICTATED)
form.pnlBatchUpdate().setValue("Batch Update Of Status To 'Dictated'");
else if(newDocumentStatus == DocumentStatus.NOLETTERREQUIRED)
form.pnlBatchUpdate().setValue("Batch Update Of Status To 'No Letter Required'");
else if(newDocumentStatus == DocumentStatus.SIGNED)
form.pnlBatchUpdate().setValue("Batch Update Of Status To 'Signed'");
if(voPatientListsFilter!=null)
populateListControl(domain.listInPatients(voPatientListsFilter,(newDocumentStatus==DocumentStatus.DICTATED)));
else if(voOutPatientList!=null)
populateListControl(domain.listOutpatients(voOutPatientList, (newDocumentStatus==DocumentStatus.DICTATED)));
}
项目:openmaxims-linux
文件:Logic.java
private void storeSearchCriteria()
{
OutPatientListSearchCriteriaVo voOutPatSearch = new OutPatientListSearchCriteriaVo();
if(form.getLocalContext().getUserAccessVoIsNotNull()){
voOutPatSearch.setClinic(form.cmbClinic().getValue());
voOutPatSearch.setConsultant(form.cmbConsultant().getValue());
}
else{
voOutPatSearch.setClinic(form.qmbClinic().getValue());
voOutPatSearch.setConsultant(form.qmbConsultant().getValue());
}
voOutPatSearch.setClinicDate(form.dteClinic().getValue());
voOutPatSearch.setLocation(form.cmbLocation().getValue());
voOutPatSearch.setSpecialty(form.cmbSpecialty().getValue());
form.getGlobalContext().Core.setOutPatientSearchCriteria(voOutPatSearch);
}
项目:AvoinApotti
文件:Logic.java
private void batchUpdateOfStatusToDictated() {
OutPatientListSearchCriteriaVo voOutPatientSearchCriteria = populateSearchCriteria();
form.getGlobalContext().Core.setOutPatientSearchCriteria(voOutPatientSearchCriteria);
form.getGlobalContext().Correspondence.setPatientListSearchCriteria(null);
form.getGlobalContext().Correspondence.setPatientListsBatchUpdateType(DocumentStatus.DICTATED);
engine.setCaption(form.getForms().Correspondence.BatchUpdatePatientLists, "Batch Update Of Status To 'Dictated'");
engine.open(form.getForms().Correspondence.BatchUpdatePatientLists);
}
项目:AvoinApotti
文件:Logic.java
private void batchUpdateOfStatusToNoLetterRequired() {
OutPatientListSearchCriteriaVo voOutPatientSearchCriteria = populateSearchCriteria();
voOutPatientSearchCriteria.setDocumentStatus(DocumentStatus.LETTERREQUIRED);
form.getGlobalContext().Correspondence.setPatientListsBatchUpdateType(DocumentStatus.NOLETTERREQUIRED);
engine.setCaption(form.getForms().Correspondence.BatchUpdatePatientLists, "Batch Update Of Status To 'No Letter Required'");
form.getGlobalContext().Core.setOutPatientSearchCriteria(voOutPatientSearchCriteria);
form.getGlobalContext().Correspondence.setPatientListSearchCriteria(null);
engine.open(form.getForms().Correspondence.BatchUpdatePatientLists);
}
项目:AvoinApotti
文件:Logic.java
private void batchUpdateOfStatusToSigned() {
OutPatientListSearchCriteriaVo voOutPatientSearchCriteria = populateSearchCriteria();
voOutPatientSearchCriteria.setDocumentStatus(DocumentStatus.PRINTEDNOSIGNATURE);
form.getGlobalContext().Correspondence.setPatientListsBatchUpdateType(DocumentStatus.SIGNED);
engine.setCaption(form.getForms().Correspondence.BatchUpdatePatientLists, "Batch Update Of Status To 'Signed'");
form.getGlobalContext().Core.setOutPatientSearchCriteria(voOutPatientSearchCriteria);
form.getGlobalContext().Correspondence.setPatientListSearchCriteria(null);
engine.open(form.getForms().Correspondence.BatchUpdatePatientLists);
}
项目:openMAXIMS
文件:Logic.java
private void batchUpdateOfStatusToDictated() {
OutPatientListSearchCriteriaVo voOutPatientSearchCriteria = populateSearchCriteria();
form.getGlobalContext().Core.setOutPatientSearchCriteria(voOutPatientSearchCriteria);
form.getGlobalContext().Correspondence.setPatientListSearchCriteria(null);
form.getGlobalContext().Correspondence.setPatientListsBatchUpdateType(DocumentStatus.DICTATED);
engine.setCaption(form.getForms().Correspondence.BatchUpdatePatientLists, "Batch Update Of Status To 'Dictated'");
engine.open(form.getForms().Correspondence.BatchUpdatePatientLists);
}
项目:openMAXIMS
文件:Logic.java
private void batchUpdateOfStatusToNoLetterRequired() {
OutPatientListSearchCriteriaVo voOutPatientSearchCriteria = populateSearchCriteria();
voOutPatientSearchCriteria.setDocumentStatus(DocumentStatus.LETTERREQUIRED);
form.getGlobalContext().Correspondence.setPatientListsBatchUpdateType(DocumentStatus.NOLETTERREQUIRED);
engine.setCaption(form.getForms().Correspondence.BatchUpdatePatientLists, "Batch Update Of Status To 'No Letter Required'");
form.getGlobalContext().Core.setOutPatientSearchCriteria(voOutPatientSearchCriteria);
form.getGlobalContext().Correspondence.setPatientListSearchCriteria(null);
engine.open(form.getForms().Correspondence.BatchUpdatePatientLists);
}
项目:openMAXIMS
文件:Logic.java
private void batchUpdateOfStatusToSigned() {
OutPatientListSearchCriteriaVo voOutPatientSearchCriteria = populateSearchCriteria();
voOutPatientSearchCriteria.setDocumentStatus(DocumentStatus.PRINTEDNOSIGNATURE);
form.getGlobalContext().Correspondence.setPatientListsBatchUpdateType(DocumentStatus.SIGNED);
engine.setCaption(form.getForms().Correspondence.BatchUpdatePatientLists, "Batch Update Of Status To 'Signed'");
form.getGlobalContext().Core.setOutPatientSearchCriteria(voOutPatientSearchCriteria);
form.getGlobalContext().Correspondence.setPatientListSearchCriteria(null);
engine.open(form.getForms().Correspondence.BatchUpdatePatientLists);
}
项目:openMAXIMS
文件:Logic.java
private void storeSearchCriteria()
{
OutPatientListSearchCriteriaVo voOutPatSearch = new OutPatientListSearchCriteriaVo();
voOutPatSearch.setClinic(form.qmbClinic().getValue());
voOutPatSearch.setLocation(form.cmbLocation().getValue());
voOutPatSearch.setDateFrom(form.dteFromDate().getValue());
voOutPatSearch.setDateTo(form.dteToDate().getValue());
form.getGlobalContext().Core.setOutPatientSearchCriteria(voOutPatSearch);
}
项目:openMAXIMS
文件:Logic.java
private void search()
{
clearOutPatientList();
if (form.dteClinic().getValue() == null || (form.qmbClinic().getValue() == null && form.qmbConsultant().getValue() == null))
{
engine.showMessage("Valid search criteria must be specified - Please enter a Clinic Date and a Clinic and/or Consultant");
return;
}
OutPatientListVoCollection outpatientAttendances = domain.listOutpatients(form.qmbClinic().getValue(), form.qmbConsultant().getValue(), form.cmbSpecialty().getValue(), form.dteClinic().getValue());
if (outpatientAttendances == null || outpatientAttendances.size() == 0)
{
engine.showMessage("No matching patients found.");
clearOutPatientList();
return;
}
populateOutPatientList(outpatientAttendances);
OutPatientListSearchCriteriaVo searchCriteria = form.getGlobalContext().Core.getOutPatientSearchCriteria();
if (searchCriteria != null && searchCriteria.getColumnSortOrder() != null)
{
setSortOrderForColumn(searchCriteria.getColumnSortOrder().getColumnId(), searchCriteria.getColumnSortOrder().getSortOrder());
}
}
项目:openMAXIMS
文件:Logic.java
private void batchUpdateOfStatusToDictated() {
OutPatientListSearchCriteriaVo voOutPatientSearchCriteria = populateSearchCriteria();
form.getGlobalContext().Core.setOutPatientSearchCriteria(voOutPatientSearchCriteria);
form.getGlobalContext().Correspondence.setPatientListSearchCriteria(null);
form.getGlobalContext().Correspondence.setPatientListsBatchUpdateType(DocumentStatus.DICTATED);
engine.setCaption(form.getForms().Correspondence.BatchUpdatePatientLists, "Batch Update Of Status To 'Dictated'");
engine.open(form.getForms().Correspondence.BatchUpdatePatientLists);
}
项目:openMAXIMS
文件:Logic.java
private void batchUpdateOfStatusToNoLetterRequired() {
OutPatientListSearchCriteriaVo voOutPatientSearchCriteria = populateSearchCriteria();
voOutPatientSearchCriteria.setDocumentStatus(DocumentStatus.LETTERREQUIRED);
form.getGlobalContext().Correspondence.setPatientListsBatchUpdateType(DocumentStatus.NOLETTERREQUIRED);
engine.setCaption(form.getForms().Correspondence.BatchUpdatePatientLists, "Batch Update Of Status To 'No Letter Required'");
form.getGlobalContext().Core.setOutPatientSearchCriteria(voOutPatientSearchCriteria);
form.getGlobalContext().Correspondence.setPatientListSearchCriteria(null);
engine.open(form.getForms().Correspondence.BatchUpdatePatientLists);
}
项目:openMAXIMS
文件:Logic.java
private void batchUpdateOfStatusToSigned() {
OutPatientListSearchCriteriaVo voOutPatientSearchCriteria = populateSearchCriteria();
voOutPatientSearchCriteria.setDocumentStatus(DocumentStatus.PRINTEDNOSIGNATURE);
form.getGlobalContext().Correspondence.setPatientListsBatchUpdateType(DocumentStatus.SIGNED);
engine.setCaption(form.getForms().Correspondence.BatchUpdatePatientLists, "Batch Update Of Status To 'Signed'");
form.getGlobalContext().Core.setOutPatientSearchCriteria(voOutPatientSearchCriteria);
form.getGlobalContext().Correspondence.setPatientListSearchCriteria(null);
engine.open(form.getForms().Correspondence.BatchUpdatePatientLists);
}
项目:openmaxims-linux
文件:Logic.java
private void batchUpdateOfStatusToDictated() {
OutPatientListSearchCriteriaVo voOutPatientSearchCriteria = populateSearchCriteria();
form.getGlobalContext().Core.setOutPatientSearchCriteria(voOutPatientSearchCriteria);
form.getGlobalContext().Correspondence.setPatientListSearchCriteria(null);
form.getGlobalContext().Correspondence.setPatientListsBatchUpdateType(DocumentStatus.DICTATED);
engine.setCaption(form.getForms().Correspondence.BatchUpdatePatientLists, "Batch Update Of Status To 'Dictated'");
engine.open(form.getForms().Correspondence.BatchUpdatePatientLists);
}
项目:openmaxims-linux
文件:Logic.java
private void batchUpdateOfStatusToNoLetterRequired() {
OutPatientListSearchCriteriaVo voOutPatientSearchCriteria = populateSearchCriteria();
voOutPatientSearchCriteria.setDocumentStatus(DocumentStatus.LETTERREQUIRED);
form.getGlobalContext().Correspondence.setPatientListsBatchUpdateType(DocumentStatus.NOLETTERREQUIRED);
engine.setCaption(form.getForms().Correspondence.BatchUpdatePatientLists, "Batch Update Of Status To 'No Letter Required'");
form.getGlobalContext().Core.setOutPatientSearchCriteria(voOutPatientSearchCriteria);
form.getGlobalContext().Correspondence.setPatientListSearchCriteria(null);
engine.open(form.getForms().Correspondence.BatchUpdatePatientLists);
}
项目:openmaxims-linux
文件:Logic.java
private void batchUpdateOfStatusToSigned() {
OutPatientListSearchCriteriaVo voOutPatientSearchCriteria = populateSearchCriteria();
voOutPatientSearchCriteria.setDocumentStatus(DocumentStatus.PRINTEDNOSIGNATURE);
form.getGlobalContext().Correspondence.setPatientListsBatchUpdateType(DocumentStatus.SIGNED);
engine.setCaption(form.getForms().Correspondence.BatchUpdatePatientLists, "Batch Update Of Status To 'Signed'");
form.getGlobalContext().Core.setOutPatientSearchCriteria(voOutPatientSearchCriteria);
form.getGlobalContext().Correspondence.setPatientListSearchCriteria(null);
engine.open(form.getForms().Correspondence.BatchUpdatePatientLists);
}
项目:AvoinApotti
文件:BatchUpdatePatientListsImpl.java
public CorrespondencePatientListsVoCollection listOutpatients(OutPatientListSearchCriteriaVo filter, Boolean listByReqAndNotReqStatus) {
CorrespondenceOutpatientList outpatientList = (CorrespondenceOutpatientList)getDomainImpl(CorrespondenceOutpatientListImpl.class);
return outpatientList.listOutpatients(filter, listByReqAndNotReqStatus);
}
项目:openMAXIMS
文件:BatchUpdatePatientListsImpl.java
public CorrespondencePatientListsVoCollection listOutpatients(OutPatientListSearchCriteriaVo filter, Boolean listByReqAndNotReqStatus) {
CorrespondenceOutpatientList outpatientList = (CorrespondenceOutpatientList)getDomainImpl(CorrespondenceOutpatientListImpl.class);
return outpatientList.listOutpatients(filter, listByReqAndNotReqStatus);
}
项目:openMAXIMS
文件:BatchUpdatePatientListsImpl.java
public CorrespondencePatientListsVoCollection listOutpatients(OutPatientListSearchCriteriaVo filter, Boolean listByReqAndNotReqStatus) {
CorrespondenceOutpatientList outpatientList = (CorrespondenceOutpatientList)getDomainImpl(CorrespondenceOutpatientListImpl.class);
return outpatientList.listOutpatients(filter, listByReqAndNotReqStatus);
}
项目:openmaxims-linux
文件:BatchUpdatePatientListsImpl.java
public CorrespondencePatientListsVoCollection listOutpatients(OutPatientListSearchCriteriaVo filter, Boolean listByReqAndNotReqStatus) {
CorrespondenceOutpatientList outpatientList = (CorrespondenceOutpatientList)getDomainImpl(CorrespondenceOutpatientListImpl.class);
return outpatientList.listOutpatients(filter, listByReqAndNotReqStatus);
}