Java 类ims.emergency.vo.TrackingAttendanceStatusForTrackingVo 实例源码

项目:openMAXIMS    文件:Logic.java   
private boolean shouldTriageEndDateTimeBeDisplayed()
{
    TriageForTrackingVo triageDetails = form.getLocalContext().getSelectedTrackingPatient().getTriageDetails();
    TrackingAttendanceStatusForTrackingVo currentTrackingStatus = form.getLocalContext().getSelectedTrackingPatient().getCurrentStatus();

    if (triageDetails != null && triageDetails.getTriageStartDateTime() != null && currentTrackingStatus != null && TrackingStatus.WAITING_TO_BE_TRIAGED.equals(currentTrackingStatus.getStatus()))
        return true;

    return false;
}
项目:openMAXIMS    文件:Logic.java   
private boolean changeStatusOnMove()
{
    if (form.getLocalContext().getSelectedTrackingPatient() == null)
        return false;

    TriageForTrackingVo triageDetails = form.getLocalContext().getSelectedTrackingPatient().getTriageDetails();
    TrackingAttendanceStatusForTrackingVo currentTrackingStatus = form.getLocalContext().getSelectedTrackingPatient().getCurrentStatus();

    if (triageDetails != null && triageDetails.getCurrentTriagePriority() != null && currentTrackingStatus != null && TrackingStatus.WAITING_TO_BE_TRIAGED.equals(currentTrackingStatus.getStatus()))
        return true;

    return false;

}