Java 类ims.ocrr.vo.domain.PathologySpecimenVoAssembler 实例源码

项目:AvoinApotti    文件:PathologyDialogImpl.java   
public ims.ocrr.vo.PathologySpecimenVo getSpecimen(ims.ocrr.orderingresults.vo.OrderSpecimenRefVo id)
{
    if(id == null || id.getID_OrderSpecimen() == null)
        throw new DomainRuntimeException("Invalid specimen");

    return PathologySpecimenVoAssembler.create((OrderSpecimen)getDomainFactory().getDomainObject(OrderSpecimen.class, id.getID_OrderSpecimen()));       
}
项目:AvoinApotti    文件:PathologyDialogImpl.java   
public PathologySpecimenVo getSpecimen(OrderInvestigationRefVo orvInvRef)
{
    if(orvInvRef == null || orvInvRef.getID_OrderInvestigation() == null)
        throw new DomainRuntimeException("Invalid orderInvestigation");

    DomainFactory factory = getDomainFactory();
    OrderInvestigation domOrdInv = (OrderInvestigation)factory.getDomainObject(OrderInvestigation.class, orvInvRef.getID_OrderInvestigation());
    if (domOrdInv == null || domOrdInv.getSpecimen() == null || domOrdInv.getSpecimen().size() == 0)//WDEV-16463
        return null;

    return PathologySpecimenVoAssembler.create((OrderSpecimen) domOrdInv.getSpecimen().get(0));     
}
项目:openMAXIMS    文件:PathologyDialogImpl.java   
public ims.ocrr.vo.PathologySpecimenVo getSpecimen(ims.ocrr.orderingresults.vo.OrderSpecimenRefVo id)
{
    if(id == null || id.getID_OrderSpecimen() == null)
        throw new DomainRuntimeException("Invalid specimen");

    return PathologySpecimenVoAssembler.create((OrderSpecimen)getDomainFactory().getDomainObject(OrderSpecimen.class, id.getID_OrderSpecimen()));       
}
项目:openMAXIMS    文件:PathologyDialogImpl.java   
public PathologySpecimenVo getSpecimen(OrderInvestigationRefVo orvInvRef)
{
    if(orvInvRef == null || orvInvRef.getID_OrderInvestigation() == null)
        throw new DomainRuntimeException("Invalid orderInvestigation");

    DomainFactory factory = getDomainFactory();
    OrderInvestigation domOrdInv = (OrderInvestigation)factory.getDomainObject(OrderInvestigation.class, orvInvRef.getID_OrderInvestigation());
    if (domOrdInv == null || domOrdInv.getSpecimen() == null || domOrdInv.getSpecimen().size() == 0)//WDEV-16463
        return null;

    return PathologySpecimenVoAssembler.create((OrderSpecimen) domOrdInv.getSpecimen().get(0));     
}
项目:openMAXIMS    文件:PathologyDialogImpl.java   
public ims.ocrr.vo.PathologySpecimenVo getSpecimen(ims.ocrr.orderingresults.vo.OrderSpecimenRefVo id)
{
    if(id == null || id.getID_OrderSpecimen() == null)
        throw new DomainRuntimeException("Invalid specimen");

    return PathologySpecimenVoAssembler.create((OrderSpecimen)getDomainFactory().getDomainObject(OrderSpecimen.class, id.getID_OrderSpecimen()));       
}
项目:openMAXIMS    文件:PathologyDialogImpl.java   
public PathologySpecimenVo getSpecimen(OrderInvestigationRefVo orvInvRef)
{
    if(orvInvRef == null || orvInvRef.getID_OrderInvestigation() == null)
        throw new DomainRuntimeException("Invalid orderInvestigation");

    DomainFactory factory = getDomainFactory();
    OrderInvestigation domOrdInv = (OrderInvestigation)factory.getDomainObject(OrderInvestigation.class, orvInvRef.getID_OrderInvestigation());
    if (domOrdInv == null || domOrdInv.getSpecimen() == null || domOrdInv.getSpecimen().size() == 0)//WDEV-16463
        return null;

    return PathologySpecimenVoAssembler.create((OrderSpecimen) domOrdInv.getSpecimen().get(0));     
}
项目:openmaxims-linux    文件:PathologyDialogImpl.java   
public ims.ocrr.vo.PathologySpecimenVo getSpecimen(ims.ocrr.orderingresults.vo.OrderSpecimenRefVo id)
{
    if(id == null || id.getID_OrderSpecimen() == null)
        throw new DomainRuntimeException("Invalid specimen");

    return PathologySpecimenVoAssembler.create((OrderSpecimen)getDomainFactory().getDomainObject(OrderSpecimen.class, id.getID_OrderSpecimen()));       
}
项目:openmaxims-linux    文件:PathologyDialogImpl.java   
public PathologySpecimenVo getSpecimen(OrderInvestigationRefVo orvInvRef)
{
    if(orvInvRef == null || orvInvRef.getID_OrderInvestigation() == null)
        throw new DomainRuntimeException("Invalid orderInvestigation");

    DomainFactory factory = getDomainFactory();
    OrderInvestigation domOrdInv = (OrderInvestigation)factory.getDomainObject(OrderInvestigation.class, orvInvRef.getID_OrderInvestigation());
    if (domOrdInv == null || domOrdInv.getSpecimen() == null || domOrdInv.getSpecimen().size() == 0)//WDEV-16463
        return null;

    return PathologySpecimenVoAssembler.create((OrderSpecimen) domOrdInv.getSpecimen().get(0));     
}