private void populategrdTriageWorklist(TrackingForDisplayClinicianAndTriageWorklistVoCollection patientsWaiting)//WDEV-18001 { deletePatientImages(); if( patientsWaiting == null || patientsWaiting.size() < 1) return; patientsWaiting.sort(new TriageLOSComparator(SortOrder.DESCENDING)); for(int i = 0; i < patientsWaiting.size();i++) { TrackingForDisplayClinicianAndTriageWorklistVo tempVo = patientsWaiting.get(i);//WDEV-18001 if( tempVo != null) { addRowToTriageDyngrd(tempVo); } } }
private void populategrdClinicianWorklist(TrackingForDisplayClinicianAndTriageWorklistVoCollection patientsWaiting)//WDEV-18001 { deletePatientImages(); if( patientsWaiting == null || patientsWaiting.size() < 1) return; patientsWaiting.sort(new TrackingComparator()); for(int i = 0; i < patientsWaiting.size();i++) { TrackingForDisplayClinicianAndTriageWorklistVo tempVo = patientsWaiting.get(i);//WDEV-18001 if( tempVo != null) { addRowToClinicianDyngrd(tempVo);//WDEV-17131 } } }
protected void onCmbTrackingStatusValueChanged() throws PresentationLogicException { clearcontrols(); //WDEV-18293 TrackingForDisplayClinicianAndTriageWorklistVoCollection patientsWaiting = domain.listTrackingPatients(form.lyrWorklist().tabClinicianWorklist().cmbAreas().getValue(),form.lyrWorklist().tabClinicianWorklist().cmbTrackingStatus().getValue() , domain.getCurrentLocation()); if( form.lyrWorklist().tabClinicianWorklist().cmbAreas().getValue() != null && form.lyrWorklist().tabClinicianWorklist().cmbTrackingStatus().getValue() != null) //wdev-17326 { searchCriteriaForClinicianWorklistVo tempVo = form.getGlobalContext().Emergency.getClinicianWorklistSearchCriteria(); if( tempVo == null ) tempVo = new searchCriteriaForClinicianWorklistVo(); tempVo.setCurrentStatus(form.lyrWorklist().tabClinicianWorklist().cmbTrackingStatus().getValue()); tempVo.setTrackingArea(form.lyrWorklist().tabClinicianWorklist().cmbAreas().getValue()); form.getGlobalContext().Emergency.setClinicianWorklistSearchCriteria(tempVo); } populategrdClinicianWorklist(patientsWaiting); }
protected void onCmbAreasValueChanged() throws PresentationLogicException { clearcontrols(); TrackingForDisplayClinicianAndTriageWorklistVoCollection patientsWaiting = domain.listTrackingPatients(form.lyrWorklist().tabClinicianWorklist().cmbAreas().getValue(),form.lyrWorklist().tabClinicianWorklist().cmbTrackingStatus().getValue() , null); //WDEV-18001 if( form.lyrWorklist().tabClinicianWorklist().cmbAreas().getValue() != null && form.lyrWorklist().tabClinicianWorklist().cmbTrackingStatus().getValue() != null) //wdev-17326 { searchCriteriaForClinicianWorklistVo tempVo = form.getGlobalContext().Emergency.getClinicianWorklistSearchCriteria(); if( tempVo == null ) tempVo = new searchCriteriaForClinicianWorklistVo(); tempVo.setCurrentStatus(form.lyrWorklist().tabClinicianWorklist().cmbTrackingStatus().getValue()); tempVo.setTrackingArea(form.lyrWorklist().tabClinicianWorklist().cmbAreas().getValue()); form.getGlobalContext().Emergency.setClinicianWorklistSearchCriteria(tempVo); } populategrdClinicianWorklist(patientsWaiting); }
private void populategrdTriageWorklist(TrackingForDisplayClinicianAndTriageWorklistVoCollection patientsWaiting)//WDEV-18001 { deletePatientImages(); if( patientsWaiting == null || patientsWaiting.size() < 1) return; if( form.lyrWorklist().tabTriageWorklist().GroupTriageSort().getValue().equals(GroupTriageSortEnumeration.rdoPriorityTriage)) //wdev-19374 patientsWaiting.sort(new TriagePriorityComparator(SortOrder.ASCENDING)); else patientsWaiting.sort(new TriageLOSComparator(SortOrder.DESCENDING)); for(int i = 0; i < patientsWaiting.size();i++) { TrackingForDisplayClinicianAndTriageWorklistVo tempVo = patientsWaiting.get(i);//WDEV-18001 if( tempVo != null) { addRowToTriageDyngrd(tempVo); } } Integer total = patientsWaiting.size(); //wdev-19374 form.lyrWorklist().tabTriageWorklist().lblTotalTriageValue().setValue(total.toString()); //wdev-19374 }
private void populategrdClinicianWorklist(TrackingForDisplayClinicianAndTriageWorklistVoCollection patientsWaiting)//WDEV-18001 { deletePatientImages(); if( patientsWaiting == null || patientsWaiting.size() < 1) return; //patientsWaiting.sort(new TrackingComparator()); if( form.lyrWorklist().tabClinicianWorklist().GroupClinicianSort().getValue().equals(GroupClinicianSortEnumeration.rdoPriorityClinician)) //wdev-19374 patientsWaiting.sort(new ClinicianPriorityComparator(SortOrder.ASCENDING)); else patientsWaiting.sort(new ClinicianLOSComparator(SortOrder.DESCENDING)); for(int i = 0; i < patientsWaiting.size();i++) { TrackingForDisplayClinicianAndTriageWorklistVo tempVo = patientsWaiting.get(i);//WDEV-18001 if( tempVo != null) { addRowToClinicianDyngrd(tempVo);//WDEV-17131 } } Integer total = patientsWaiting.size(); //wdev-19374 form.lyrWorklist().tabClinicianWorklist().lblTotalClinicianValue().setValue(total.toString()); //wdev-19374 }
protected void onCmbTrackingStatusValueChanged() throws PresentationLogicException { clearcontrols(); //WDEV-18293 HcpRefVo hcp = null; if (form.getLocalContext().getLoggedHcp() != null && GroupClinicianWorklistFilterEnumeration.rdoClinicianMyAllocated.equals(form.lyrWorklist().tabClinicianWorklist().GroupClinicianWorklistFilter().getValue())) { hcp = form.getLocalContext().getLoggedHcp(); } TrackingForDisplayClinicianAndTriageWorklistVoCollection patientsWaiting = domain.listTrackingPatients(hcp, form.lyrWorklist().tabClinicianWorklist().cmbAreas().getValue(),form.lyrWorklist().tabClinicianWorklist().cmbTrackingStatus().getValue() , domain.getCurrentLocation()); if( form.lyrWorklist().tabClinicianWorklist().cmbAreas().getValue() != null) //wdev-17326 { getClinicianSearchCriteria(); } populategrdClinicianWorklist(patientsWaiting); }
protected void onCmbAreasValueChanged() throws PresentationLogicException { clearcontrols(); HcpRefVo hcp = null; if (form.getLocalContext().getLoggedHcp() != null && GroupClinicianWorklistFilterEnumeration.rdoClinicianMyAllocated.equals(form.lyrWorklist().tabClinicianWorklist().GroupClinicianWorklistFilter().getValue())) { hcp = form.getLocalContext().getLoggedHcp(); } TrackingForDisplayClinicianAndTriageWorklistVoCollection patientsWaiting = domain.listTrackingPatients(hcp, form.lyrWorklist().tabClinicianWorklist().cmbAreas().getValue(),form.lyrWorklist().tabClinicianWorklist().cmbTrackingStatus().getValue() , null); //WDEV-18001 if( form.lyrWorklist().tabClinicianWorklist().cmbAreas().getValue() != null && form.lyrWorklist().tabClinicianWorklist().cmbTrackingStatus().getValue() != null) //wdev-17326 { getClinicianSearchCriteria(); } populategrdClinicianWorklist(patientsWaiting); }