Java 类ims.clinical.vo.SurgicalOperationSummaryVoCollection 实例源码

项目:AvoinApotti    文件:SurgicalOPNotesPostOpInstructionsCCImpl.java   
public SurgicalOperationSummaryVo getSurgicalOperationSUmmary(CareContextRefVo careContextRef) 
{
    if( careContextRef == null )
        return null;

    DomainFactory factory = getDomainFactory();
    List surgicalOpSummary =   factory.find(" select s1_1 from SurgicalOperationSummary as s1_1 left join s1_1.careContext as c1_1 where (c1_1.id = :idCC)  )",
            new String[]{"idCC" },
            new Object[]{ careContextRef.getID_CareContext()});

    if( surgicalOpSummary!= null && surgicalOpSummary.size() > 0 )
    {
        SurgicalOperationSummaryVoCollection tempColl = SurgicalOperationSummaryVoAssembler.createSurgicalOperationSummaryVoCollectionFromSurgicalOperationSummary(surgicalOpSummary);

        if( tempColl != null && tempColl.size() > 0 )
            return tempColl.get(0);

    }
    return null;
}
项目:AvoinApotti    文件:SurgicalOperationNotesImpl.java   
public SurgicalOperationSummaryVo getSurgicalOperationSummary(CareContextRefVo careContextRef) 
{
    if( careContextRef == null )
        return null;

    DomainFactory factory = getDomainFactory();
    List surgicalOpSummary =   factory.find(" select s1_1 from SurgicalOperationSummary as s1_1 left join s1_1.careContext as c1_1 where (c1_1.id = :idCC)  )",
            new String[]{"idCC" },
            new Object[]{ careContextRef.getID_CareContext()});

    if( surgicalOpSummary!= null && surgicalOpSummary.size() > 0 )
    {
        SurgicalOperationSummaryVoCollection tempColl = SurgicalOperationSummaryVoAssembler.createSurgicalOperationSummaryVoCollectionFromSurgicalOperationSummary(surgicalOpSummary);

        if( tempColl != null && tempColl.size() > 0 )
            return tempColl.get(0);

    }
    return null;

}
项目:openMAXIMS    文件:SurgicalOPNotesPostOpInstructionsCCImpl.java   
public SurgicalOperationSummaryVo getSurgicalOperationSUmmary(CareContextRefVo careContextRef) 
{
    if( careContextRef == null )
        return null;

    DomainFactory factory = getDomainFactory();
    List surgicalOpSummary =   factory.find(" select s1_1 from SurgicalOperationSummary as s1_1 left join s1_1.careContext as c1_1 where (c1_1.id = :idCC)  )",
            new String[]{"idCC" },
            new Object[]{ careContextRef.getID_CareContext()});

    if( surgicalOpSummary!= null && surgicalOpSummary.size() > 0 )
    {
        SurgicalOperationSummaryVoCollection tempColl = SurgicalOperationSummaryVoAssembler.createSurgicalOperationSummaryVoCollectionFromSurgicalOperationSummary(surgicalOpSummary);

        if( tempColl != null && tempColl.size() > 0 )
            return tempColl.get(0);

    }
    return null;
}
项目:openMAXIMS    文件:SurgicalOperationNotesImpl.java   
public SurgicalOperationSummaryVo getSurgicalOperationSummary(CareContextRefVo careContextRef) 
{
    if( careContextRef == null )
        return null;

    DomainFactory factory = getDomainFactory();
    List surgicalOpSummary =   factory.find(" select s1_1 from SurgicalOperationSummary as s1_1 left join s1_1.careContext as c1_1 where (c1_1.id = :idCC)  )",
            new String[]{"idCC" },
            new Object[]{ careContextRef.getID_CareContext()});

    if( surgicalOpSummary!= null && surgicalOpSummary.size() > 0 )
    {
        SurgicalOperationSummaryVoCollection tempColl = SurgicalOperationSummaryVoAssembler.createSurgicalOperationSummaryVoCollectionFromSurgicalOperationSummary(surgicalOpSummary);

        if( tempColl != null && tempColl.size() > 0 )
            return tempColl.get(0);

    }
    return null;

}
项目:openMAXIMS    文件:SurgicalOPNotesPostOpInstructionsCCImpl.java   
public SurgicalOperationSummaryVo getSurgicalOperationSUmmary(CareContextRefVo careContextRef) 
{
    if( careContextRef == null )
        return null;

    DomainFactory factory = getDomainFactory();
    List surgicalOpSummary =   factory.find(" select s1_1 from SurgicalOperationSummary as s1_1 left join s1_1.careContext as c1_1 where (c1_1.id = :idCC)  )",
            new String[]{"idCC" },
            new Object[]{ careContextRef.getID_CareContext()});

    if( surgicalOpSummary!= null && surgicalOpSummary.size() > 0 )
    {
        SurgicalOperationSummaryVoCollection tempColl = SurgicalOperationSummaryVoAssembler.createSurgicalOperationSummaryVoCollectionFromSurgicalOperationSummary(surgicalOpSummary);

        if( tempColl != null && tempColl.size() > 0 )
            return tempColl.get(0);

    }
    return null;
}
项目:openMAXIMS    文件:SurgicalOperationNotesImpl.java   
public SurgicalOperationSummaryVo getSurgicalOperationSummary(CareContextRefVo careContextRef) 
{
    if( careContextRef == null )
        return null;

    DomainFactory factory = getDomainFactory();
    List surgicalOpSummary =   factory.find(" select s1_1 from SurgicalOperationSummary as s1_1 left join s1_1.careContext as c1_1 where (c1_1.id = :idCC)  )",
            new String[]{"idCC" },
            new Object[]{ careContextRef.getID_CareContext()});

    if( surgicalOpSummary!= null && surgicalOpSummary.size() > 0 )
    {
        SurgicalOperationSummaryVoCollection tempColl = SurgicalOperationSummaryVoAssembler.createSurgicalOperationSummaryVoCollectionFromSurgicalOperationSummary(surgicalOpSummary);

        if( tempColl != null && tempColl.size() > 0 )
            return tempColl.get(0);

    }
    return null;

}
项目:openmaxims-linux    文件:SurgicalOPNotesPostOpInstructionsCCImpl.java   
public SurgicalOperationSummaryVo getSurgicalOperationSUmmary(CareContextRefVo careContextRef) 
{
    if( careContextRef == null )
        return null;

    DomainFactory factory = getDomainFactory();
    List surgicalOpSummary =   factory.find(" select s1_1 from SurgicalOperationSummary as s1_1 left join s1_1.careContext as c1_1 where (c1_1.id = :idCC)  )",
            new String[]{"idCC" },
            new Object[]{ careContextRef.getID_CareContext()});

    if( surgicalOpSummary!= null && surgicalOpSummary.size() > 0 )
    {
        SurgicalOperationSummaryVoCollection tempColl = SurgicalOperationSummaryVoAssembler.createSurgicalOperationSummaryVoCollectionFromSurgicalOperationSummary(surgicalOpSummary);

        if( tempColl != null && tempColl.size() > 0 )
            return tempColl.get(0);

    }
    return null;
}
项目:openmaxims-linux    文件:SurgicalOperationNotesImpl.java   
public SurgicalOperationSummaryVo getSurgicalOperationSummary(CareContextRefVo careContextRef) 
{
    if( careContextRef == null )
        return null;

    DomainFactory factory = getDomainFactory();
    List surgicalOpSummary =   factory.find(" select s1_1 from SurgicalOperationSummary as s1_1 left join s1_1.careContext as c1_1 where (c1_1.id = :idCC)  )",
            new String[]{"idCC" },
            new Object[]{ careContextRef.getID_CareContext()});

    if( surgicalOpSummary!= null && surgicalOpSummary.size() > 0 )
    {
        SurgicalOperationSummaryVoCollection tempColl = SurgicalOperationSummaryVoAssembler.createSurgicalOperationSummaryVoCollectionFromSurgicalOperationSummary(surgicalOpSummary);

        if( tempColl != null && tempColl.size() > 0 )
            return tempColl.get(0);

    }
    return null;

}