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

项目:AvoinApotti    文件:TriageProtocolAssessmentImpl.java   
public TriageProtocolAssessmentVo getTriageProtocolAssessment(TriageProtocolAssessmentRefVo triageProtocol)
{
    if (triageProtocol == null || triageProtocol.getID_TriageProtocolAssessment() == null)
        return null;

    return TriageProtocolAssessmentVoAssembler.create((TriageProtocolAssessment) getDomainFactory().getDomainObject(TriageProtocolAssessment.class, triageProtocol.getID_TriageProtocolAssessment()));
}
项目:openMAXIMS    文件:TriageProtocolAssessmentImpl.java   
public TriageProtocolAssessmentVo getTriageProtocolAssessment(TriageProtocolAssessmentRefVo triageProtocol)
{
    if (triageProtocol == null || triageProtocol.getID_TriageProtocolAssessment() == null)
        return null;

    return TriageProtocolAssessmentVoAssembler.create((TriageProtocolAssessment) getDomainFactory().getDomainObject(TriageProtocolAssessment.class, triageProtocol.getID_TriageProtocolAssessment()));
}
项目:openMAXIMS    文件:TriageHistoryImpl.java   
private TriageProtocolAssessmentShortVo getPreviousProtocolAssessment(CareContextRefVo careContext, DateTime assessmentDateTime, TriageProtocolAssessmentRefVo currentTriageProtocol)
{
    String query = "SELECT tp FROM TriageProtocolAssessment AS tp LEFT JOIN tp.attendance AS attend WHERE (tp.isRIE is null OR tp.isRIE = 0) AND tp.isMain = 1 AND tp.id <> :PROTOCOL_ID AND attend.id = :CONTEXT_ID AND tp.assessmentDateTime <= :PROT_DATETIME ORDER BY tp.assessmentDateTime DESC";

    ArrayList<String> paramNames = new ArrayList<String>();
    ArrayList<Object> paramValues = new ArrayList<Object>();
    paramNames.add("PROTOCOL_ID");          paramValues.add(currentTriageProtocol.getID_TriageProtocolAssessment());
    paramNames.add("CONTEXT_ID");           paramValues.add(careContext.getID_CareContext());
    paramNames.add("PROT_DATETIME");        paramValues.add(assessmentDateTime.getJavaDate());

    return TriageProtocolAssessmentShortVoAssembler.create((TriageProtocolAssessment) getDomainFactory().findFirst(query, paramNames, paramValues));
}
项目:openMAXIMS    文件:TriageProtocolAssessmentImpl.java   
public TriageProtocolAssessmentVo getTriageProtocolAssessment(TriageProtocolAssessmentRefVo triageProtocol)
{
    if (triageProtocol == null || triageProtocol.getID_TriageProtocolAssessment() == null)
        return null;

    return TriageProtocolAssessmentVoAssembler.create((TriageProtocolAssessment) getDomainFactory().getDomainObject(TriageProtocolAssessment.class, triageProtocol.getID_TriageProtocolAssessment()));
}
项目:openmaxims-linux    文件:TriageProtocolAssessmentImpl.java   
public TriageProtocolAssessmentVo getTriageProtocolAssessment(TriageProtocolAssessmentRefVo triageProtocol)
{
    if (triageProtocol == null || triageProtocol.getID_TriageProtocolAssessment() == null)
        return null;

    return TriageProtocolAssessmentVoAssembler.create((TriageProtocolAssessment) getDomainFactory().getDomainObject(TriageProtocolAssessment.class, triageProtocol.getID_TriageProtocolAssessment()));
}