Java 类ims.core.vo.PatientEWSVo 实例源码

项目:AvoinApotti    文件:Logic.java   
private void populateGridControl(PatientEWSVoCollection voColl)
{
    for (int i = 0; voColl != null && i < voColl.size(); i++)
    {
        PatientEWSVo voPatEWS= voColl.get(i);
        grdEWSRow row = form.grdEWS().getRows().newRow();
        row.setValue(voPatEWS);

        StringBuffer sb = new StringBuffer();
        sb.append(voPatEWS.getSysInfoIsNotNull() ? voPatEWS.getSysInfo().getCreationUser().toString() : "");
        sb.append("  ");
        sb.append(voPatEWS.getSysInfoIsNotNull() ? voPatEWS.getSysInfo().getCreationDateTime().toString() : "");

        row.setColAuthoringInfo(sb.toString());
        row.setColScore(voPatEWS.getSECSScore());
        row.setColDetails(voPatEWS.getScoreDetails());
        row.setTooltip(voPatEWS.getScoreDetails());
        row.setColAssess(form.getImages().Core.Text);
        //  row.setColAssess(voPatEWS.getPatientAssessmentIsNotNull() ? voPatEWS.getPatientAssessment() : null);
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateGridControl(PatientEWSVoCollection voColl)
{
    for (int i = 0; voColl != null && i < voColl.size(); i++)
    {
        PatientEWSVo voPatEWS= voColl.get(i);
        grdEWSRow row = form.grdEWS().getRows().newRow();
        row.setValue(voPatEWS);

        StringBuffer sb = new StringBuffer();
        sb.append(voPatEWS.getSysInfoIsNotNull() ? voPatEWS.getSysInfo().getCreationUser().toString() : "");
        sb.append("  ");
        sb.append(voPatEWS.getSysInfoIsNotNull() ? voPatEWS.getSysInfo().getCreationDateTime().toString() : "");

        row.setColAuthoringInfo(sb.toString());
        row.setColScore(voPatEWS.getSECSScore());
        row.setColDetails(voPatEWS.getScoreDetails());
        row.setTooltip(voPatEWS.getScoreDetails());
        row.setColAssess(form.getImages().Core.Text);
        //  row.setColAssess(voPatEWS.getPatientAssessmentIsNotNull() ? voPatEWS.getPatientAssessment() : null);
    }
}
项目:openMAXIMS    文件:Logic.java   
private void populateGridControl(PatientEWSVoCollection voColl)
{
    for (int i = 0; voColl != null && i < voColl.size(); i++)
    {
        PatientEWSVo voPatEWS= voColl.get(i);
        grdEWSRow row = form.grdEWS().getRows().newRow();
        row.setValue(voPatEWS);

        StringBuffer sb = new StringBuffer();
        sb.append(voPatEWS.getSysInfoIsNotNull() ? voPatEWS.getSysInfo().getCreationUser().toString() : "");
        sb.append("  ");
        sb.append(voPatEWS.getSysInfoIsNotNull() ? voPatEWS.getSysInfo().getCreationDateTime().toString() : "");

        row.setColAuthoringInfo(sb.toString());
        row.setColScore(voPatEWS.getSECSScore());
        row.setColDetails(voPatEWS.getScoreDetails());
        row.setTooltip(voPatEWS.getScoreDetails());
        row.setColAssess(form.getImages().Core.Text);
        //  row.setColAssess(voPatEWS.getPatientAssessmentIsNotNull() ? voPatEWS.getPatientAssessment() : null);
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void populateGridControl(PatientEWSVoCollection voColl)
{
    for (int i = 0; voColl != null && i < voColl.size(); i++)
    {
        PatientEWSVo voPatEWS= voColl.get(i);
        grdEWSRow row = form.grdEWS().getRows().newRow();
        row.setValue(voPatEWS);

        StringBuffer sb = new StringBuffer();
        sb.append(voPatEWS.getSysInfoIsNotNull() ? voPatEWS.getSysInfo().getCreationUser().toString() : "");
        sb.append("  ");
        sb.append(voPatEWS.getSysInfoIsNotNull() ? voPatEWS.getSysInfo().getCreationDateTime().toString() : "");

        row.setColAuthoringInfo(sb.toString());
        row.setColScore(voPatEWS.getSECSScore());
        row.setColDetails(voPatEWS.getScoreDetails());
        row.setTooltip(voPatEWS.getScoreDetails());
        row.setColAssess(form.getImages().Core.Text);
        //  row.setColAssess(voPatEWS.getPatientAssessmentIsNotNull() ? voPatEWS.getPatientAssessment() : null);
    }
}
项目:AvoinApotti    文件:Logic.java   
private void saveEWS()
{
    PatientEWSVo voPatEws = new PatientEWSVo();

    //WDEV-12215
    if(form.getGlobalContext().Core.getPatient_AssessmentFull() != null)
        voPatEws.setPatientAssessment(domain.getPatientAssessmentFull(form.getGlobalContext().Core.getPatient_AssessmentFull()));

    voPatEws.setVitalSign(form.getGlobalContext().Core.getVitalSign());
    voPatEws.setSECSScore(form.getGlobalContext().Core.getVitalSignsEscalationScoreIsNotNull() ? new Integer(form.getGlobalContext().Core.getVitalSignsEscalationScore()) : null);
    voPatEws.setScoreDetails(form.getGlobalContext().Core.getVitalSignsEscalationText());
    voPatEws.setCareContext(form.getGlobalContext().Core.getCurrentCareContext());

    domain.savePatientEws(voPatEws);
}
项目:AvoinApotti    文件:Logic.java   
private void saveEWS()
{
    PatientEWSVo voPatEws = new PatientEWSVo();

    voPatEws.setPatientAssessment(form.getGlobalContext().Core.getPatientAssessmentFull());
    voPatEws.setVitalSign(form.getGlobalContext().Core.getVitalSign());
    voPatEws.setSECSScore(form.getGlobalContext().Core.getVitalSignsEscalationScoreIsNotNull() ? new Integer(form.getGlobalContext().Core.getVitalSignsEscalationScore()) : null);
    voPatEws.setScoreDetails(form.getGlobalContext().Core.getVitalSignsEscalationText());
    voPatEws.setCareContext(form.getGlobalContext().Core.getCurrentCareContext());

    domain.savePatientEws(voPatEws);
}
项目:AvoinApotti    文件:Logic.java   
private void saveEWS()
{
    PatientEWSVo voPatEws = new PatientEWSVo();

    // WDEV-12215
    if (form.getGlobalContext().Core.getPatient_AssessmentFull() != null)
        voPatEws.setPatientAssessment(domain.getPatientAssessmentFull(form.getGlobalContext().Core.getPatient_AssessmentFull()));

    voPatEws.setVitalSign(form.getGlobalContext().Core.getVitalSign());
    voPatEws.setSECSScore(form.getGlobalContext().Core.getVitalSignsEscalationScoreIsNotNull() ? new Integer(form.getGlobalContext().Core.getVitalSignsEscalationScore()) : null);
    voPatEws.setScoreDetails(form.getGlobalContext().Core.getVitalSignsEscalationText());
    voPatEws.setCareContext(form.getGlobalContext().Core.getCurrentCareContext());

    domain.savePatientEws(voPatEws);
}
项目:AvoinApotti    文件:VitalSignsImpl.java   
public void savePatientEws(PatientEWSVo voPatEws)
{
    if(voPatEws == null)
        throw new CodingRuntimeException("parameter voPatEws is null in method savePatientEws");

    try
    {
        getDomainFactory().save( PatientEWSVoAssembler.extractPatientEWS(getDomainFactory(), voPatEws));
    }
    catch (StaleObjectException e)
    {
        //unreachable code - always instantiating this business object - dlaffan
    }
}
项目:AvoinApotti    文件:VitalSignsBaselineAndAllImpl.java   
/**
* savePatientEws
*/
public void savePatientEws(ims.core.vo.PatientEWSVo voPatEws)
{
    if(voPatEws == null)
        throw new CodingRuntimeException("parameter voPatEws is null in method savePatientEws");

    try
    {
        getDomainFactory().save( PatientEWSVoAssembler.extractPatientEWS(getDomainFactory(), voPatEws));
    }
    catch (StaleObjectException e)
    {
        //unreachable code - always instantiating this business object - dlaffan
    }
}
项目:openMAXIMS    文件:Logic.java   
private void saveEWS()
{
    PatientEWSVo voPatEws = new PatientEWSVo();

    //WDEV-12215
    if(form.getGlobalContext().Core.getPatient_AssessmentFull() != null)
        voPatEws.setPatientAssessment(domain.getPatientAssessmentFull(form.getGlobalContext().Core.getPatient_AssessmentFull()));

    voPatEws.setVitalSign(form.getGlobalContext().Core.getVitalSign());
    voPatEws.setSECSScore(form.getGlobalContext().Core.getVitalSignsEscalationScoreIsNotNull() ? new Integer(form.getGlobalContext().Core.getVitalSignsEscalationScore()) : null);
    voPatEws.setScoreDetails(form.getGlobalContext().Core.getVitalSignsEscalationText());
    voPatEws.setCareContext(form.getGlobalContext().Core.getCurrentCareContext());

    domain.savePatientEws(voPatEws);
}
项目:openMAXIMS    文件:Logic.java   
private void saveEWS()
{
    PatientEWSVo voPatEws = new PatientEWSVo();

    voPatEws.setPatientAssessment(form.getGlobalContext().Core.getPatientAssessmentFull());
    voPatEws.setVitalSign(form.getGlobalContext().Core.getVitalSign());
    voPatEws.setSECSScore(form.getGlobalContext().Core.getVitalSignsEscalationScoreIsNotNull() ? new Integer(form.getGlobalContext().Core.getVitalSignsEscalationScore()) : null);
    voPatEws.setScoreDetails(form.getGlobalContext().Core.getVitalSignsEscalationText());
    voPatEws.setCareContext(form.getGlobalContext().Core.getCurrentCareContext());

    domain.savePatientEws(voPatEws);
}
项目:openMAXIMS    文件:Logic.java   
private void saveEWS()
{
    PatientEWSVo voPatEws = new PatientEWSVo();

    // WDEV-12215
    if (form.getGlobalContext().Core.getPatient_AssessmentFull() != null)
        voPatEws.setPatientAssessment(domain.getPatientAssessmentFull(form.getGlobalContext().Core.getPatient_AssessmentFull()));

    voPatEws.setVitalSign(form.getGlobalContext().Core.getVitalSign());
    voPatEws.setSECSScore(form.getGlobalContext().Core.getVitalSignsEscalationScoreIsNotNull() ? new Integer(form.getGlobalContext().Core.getVitalSignsEscalationScore()) : null);
    voPatEws.setScoreDetails(form.getGlobalContext().Core.getVitalSignsEscalationText());
    voPatEws.setCareContext(form.getGlobalContext().Core.getCurrentCareContext());

    domain.savePatientEws(voPatEws);
}
项目:openMAXIMS    文件:VitalSignsImpl.java   
public void savePatientEws(PatientEWSVo voPatEws)
{
    if(voPatEws == null)
        throw new CodingRuntimeException("parameter voPatEws is null in method savePatientEws");

    try
    {
        getDomainFactory().save( PatientEWSVoAssembler.extractPatientEWS(getDomainFactory(), voPatEws));
    }
    catch (StaleObjectException e)
    {
        //unreachable code - always instantiating this business object - dlaffan
    }
}
项目:openMAXIMS    文件:Logic.java   
private void saveEWS()
{
    PatientEWSVo voPatEws = new PatientEWSVo();

    //WDEV-12215
    if(form.getGlobalContext().Core.getPatient_AssessmentFull() != null)
        voPatEws.setPatientAssessment(domain.getPatientAssessmentFull(form.getGlobalContext().Core.getPatient_AssessmentFull()));

    voPatEws.setVitalSign(form.getGlobalContext().Core.getVitalSign());
    voPatEws.setSECSScore(form.getGlobalContext().Core.getVitalSignsEscalationScoreIsNotNull() ? new Integer(form.getGlobalContext().Core.getVitalSignsEscalationScore()) : null);
    voPatEws.setScoreDetails(form.getGlobalContext().Core.getVitalSignsEscalationText());
    voPatEws.setCareContext(form.getGlobalContext().Core.getCurrentCareContext());

    domain.savePatientEws(voPatEws);
}
项目:openMAXIMS    文件:Logic.java   
private void saveEWS()
{
    PatientEWSVo voPatEws = new PatientEWSVo();

    voPatEws.setPatientAssessment(form.getGlobalContext().Core.getPatientAssessmentFull());
    voPatEws.setVitalSign(form.getGlobalContext().Core.getVitalSign());
    voPatEws.setSECSScore(form.getGlobalContext().Core.getVitalSignsEscalationScoreIsNotNull() ? new Integer(form.getGlobalContext().Core.getVitalSignsEscalationScore()) : null);
    voPatEws.setScoreDetails(form.getGlobalContext().Core.getVitalSignsEscalationText());
    voPatEws.setCareContext(form.getGlobalContext().Core.getCurrentCareContext());

    domain.savePatientEws(voPatEws);
}
项目:openMAXIMS    文件:Logic.java   
private void saveEWS()
{
    PatientEWSVo voPatEws = new PatientEWSVo();

    // WDEV-12215
    if (form.getGlobalContext().Core.getPatient_AssessmentFull() != null)
        voPatEws.setPatientAssessment(domain.getPatientAssessmentFull(form.getGlobalContext().Core.getPatient_AssessmentFull()));

    voPatEws.setVitalSign(form.getGlobalContext().Core.getVitalSign());
    voPatEws.setSECSScore(form.getGlobalContext().Core.getVitalSignsEscalationScoreIsNotNull() ? new Integer(form.getGlobalContext().Core.getVitalSignsEscalationScore()) : null);
    voPatEws.setScoreDetails(form.getGlobalContext().Core.getVitalSignsEscalationText());
    voPatEws.setCareContext(form.getGlobalContext().Core.getCurrentCareContext());

    domain.savePatientEws(voPatEws);
}
项目:openMAXIMS    文件:VitalSignsImpl.java   
public void savePatientEws(PatientEWSVo voPatEws)
{
    if(voPatEws == null)
        throw new CodingRuntimeException("parameter voPatEws is null in method savePatientEws");

    try
    {
        getDomainFactory().save( PatientEWSVoAssembler.extractPatientEWS(getDomainFactory(), voPatEws));
    }
    catch (StaleObjectException e)
    {
        //unreachable code - always instantiating this business object - dlaffan
    }
}
项目:openMAXIMS    文件:VitalSignsBaselineAndAllImpl.java   
/**
* savePatientEws
*/
public void savePatientEws(ims.core.vo.PatientEWSVo voPatEws)
{
    if(voPatEws == null)
        throw new CodingRuntimeException("parameter voPatEws is null in method savePatientEws");

    try
    {
        getDomainFactory().save( PatientEWSVoAssembler.extractPatientEWS(getDomainFactory(), voPatEws));
    }
    catch (StaleObjectException e)
    {
        //unreachable code - always instantiating this business object - dlaffan
    }
}
项目:openmaxims-linux    文件:Logic.java   
private void saveEWS()
{
    PatientEWSVo voPatEws = new PatientEWSVo();

    //WDEV-12215
    if(form.getGlobalContext().Core.getPatient_AssessmentFull() != null)
        voPatEws.setPatientAssessment(domain.getPatientAssessmentFull(form.getGlobalContext().Core.getPatient_AssessmentFull()));

    voPatEws.setVitalSign(form.getGlobalContext().Core.getVitalSign());
    voPatEws.setSECSScore(form.getGlobalContext().Core.getVitalSignsEscalationScoreIsNotNull() ? new Integer(form.getGlobalContext().Core.getVitalSignsEscalationScore()) : null);
    voPatEws.setScoreDetails(form.getGlobalContext().Core.getVitalSignsEscalationText());
    voPatEws.setCareContext(form.getGlobalContext().Core.getCurrentCareContext());

    domain.savePatientEws(voPatEws);
}
项目:openmaxims-linux    文件:Logic.java   
private void saveEWS()
{
    PatientEWSVo voPatEws = new PatientEWSVo();

    voPatEws.setPatientAssessment(form.getGlobalContext().Core.getPatientAssessmentFull());
    voPatEws.setVitalSign(form.getGlobalContext().Core.getVitalSign());
    voPatEws.setSECSScore(form.getGlobalContext().Core.getVitalSignsEscalationScoreIsNotNull() ? new Integer(form.getGlobalContext().Core.getVitalSignsEscalationScore()) : null);
    voPatEws.setScoreDetails(form.getGlobalContext().Core.getVitalSignsEscalationText());
    voPatEws.setCareContext(form.getGlobalContext().Core.getCurrentCareContext());

    domain.savePatientEws(voPatEws);
}
项目:openmaxims-linux    文件:Logic.java   
private void saveEWS()
{
    PatientEWSVo voPatEws = new PatientEWSVo();

    // WDEV-12215
    if (form.getGlobalContext().Core.getPatient_AssessmentFull() != null)
        voPatEws.setPatientAssessment(domain.getPatientAssessmentFull(form.getGlobalContext().Core.getPatient_AssessmentFull()));

    voPatEws.setVitalSign(form.getGlobalContext().Core.getVitalSign());
    voPatEws.setSECSScore(form.getGlobalContext().Core.getVitalSignsEscalationScoreIsNotNull() ? new Integer(form.getGlobalContext().Core.getVitalSignsEscalationScore()) : null);
    voPatEws.setScoreDetails(form.getGlobalContext().Core.getVitalSignsEscalationText());
    voPatEws.setCareContext(form.getGlobalContext().Core.getCurrentCareContext());

    domain.savePatientEws(voPatEws);
}
项目:openmaxims-linux    文件:VitalSignsImpl.java   
public void savePatientEws(PatientEWSVo voPatEws)
{
    if(voPatEws == null)
        throw new CodingRuntimeException("parameter voPatEws is null in method savePatientEws");

    try
    {
        getDomainFactory().save( PatientEWSVoAssembler.extractPatientEWS(getDomainFactory(), voPatEws));
    }
    catch (StaleObjectException e)
    {
        //unreachable code - always instantiating this business object - dlaffan
    }
}
项目:openmaxims-linux    文件:VitalSignsBaselineAndAllImpl.java   
/**
* savePatientEws
*/
public void savePatientEws(ims.core.vo.PatientEWSVo voPatEws)
{
    if(voPatEws == null)
        throw new CodingRuntimeException("parameter voPatEws is null in method savePatientEws");

    try
    {
        getDomainFactory().save( PatientEWSVoAssembler.extractPatientEWS(getDomainFactory(), voPatEws));
    }
    catch (StaleObjectException e)
    {
        //unreachable code - always instantiating this business object - dlaffan
    }
}