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

项目:AvoinApotti    文件:Logic.java   
private void populateSurgeonCombo()
{
    SurgicalAuditProcedureDetailsVo currentSurgicalAuditProcDet = form.getGlobalContext().Clinical.getCurrentSurgicalAuditProcedureDetail();
    if (currentSurgicalAuditProcDet==null )
        return;
    if (currentSurgicalAuditProcDet.getOpPerformedBy()==null)
        return;
    MedicLiteVoCollection collSurgeon = currentSurgicalAuditProcDet.getOpPerformedBy();
    collSurgeon.sort(new MedicComparator(SortOrder.ASCENDING));
    for (int i=0;i<collSurgeon.size();i++)
    {
        form.cmbSurgeon().newRow(collSurgeon.get(i), collSurgeon.get(i).getName().toString());
    }

}
项目:AvoinApotti    文件:SurgicalAuditProcedureDetailsImpl.java   
public SurgicalAuditProcedureDetailsVo saveProcedureDetails(SurgicalAuditProcedureDetailsVo surgAuditProcDetailsToSave) throws StaleObjectException
{
    if (surgAuditProcDetailsToSave == null )
    {
        throw new CodingRuntimeException("Cannot get SurgicalAuditProcedureDetailsVo on null Id ");
    }

    DomainFactory factory = getDomainFactory();

     SurgicalAuditProcedureDetails domainSurgicalAuditProcDet = SurgicalAuditProcedureDetailsVoAssembler.extractSurgicalAuditProcedureDetails(factory, surgAuditProcDetailsToSave);
    factory.save(domainSurgicalAuditProcDet);
    return SurgicalAuditProcedureDetailsVoAssembler.create(domainSurgicalAuditProcDet);
}
项目:AvoinApotti    文件:SurgicalAuditProcedureDetailsImpl.java   
public SurgicalAuditOperationDetailVo saveAndMarkAsRIE(SurgicalAuditOperationDetailVo surgAuditToSave, SurgicalAuditProcedureDetailsVo surgAuditProcedureDetails, FormName form, Integer patId, Integer careContextId, String comment) throws StaleObjectException
{
    if (surgAuditToSave == null || surgAuditProcedureDetails==null)
    {
        throw new CodingRuntimeException("Cannot get SurgicalAuditOperationDetailVo on null Id ");
    }

    DomainFactory factory = getDomainFactory();

    SurgicalAuditOperationDetail domainSurgicalAudit = SurgicalAuditOperationDetailVoAssembler.extractSurgicalAuditOperationDetail(factory, surgAuditToSave);
    factory.save(domainSurgicalAudit);
    factory.markAsRie(SurgicalAuditProcedureDetails.class, surgAuditProcedureDetails.getID_SurgicalAuditProcedureDetails(), form, patId, null, careContextId, comment);
    return SurgicalAuditOperationDetailVoAssembler.create(domainSurgicalAudit);
}
项目:openMAXIMS    文件:Logic.java   
private void populateSurgeonCombo()
{
    SurgicalAuditProcedureDetailsVo currentSurgicalAuditProcDet = form.getGlobalContext().Clinical.getCurrentSurgicalAuditProcedureDetail();
    if (currentSurgicalAuditProcDet==null )
        return;
    if (currentSurgicalAuditProcDet.getOpPerformedBy()==null)
        return;
    MedicLiteVoCollection collSurgeon = currentSurgicalAuditProcDet.getOpPerformedBy();
    collSurgeon.sort(new MedicComparator(SortOrder.ASCENDING));
    for (int i=0;i<collSurgeon.size();i++)
    {
        form.cmbSurgeon().newRow(collSurgeon.get(i), collSurgeon.get(i).getName().toString());
    }

}
项目:openMAXIMS    文件:SurgicalAuditProcedureDetailsImpl.java   
public SurgicalAuditProcedureDetailsVo saveProcedureDetails(SurgicalAuditProcedureDetailsVo surgAuditProcDetailsToSave) throws StaleObjectException
{
    if (surgAuditProcDetailsToSave == null )
    {
        throw new CodingRuntimeException("Cannot get SurgicalAuditProcedureDetailsVo on null Id ");
    }

    DomainFactory factory = getDomainFactory();

     SurgicalAuditProcedureDetails domainSurgicalAuditProcDet = SurgicalAuditProcedureDetailsVoAssembler.extractSurgicalAuditProcedureDetails(factory, surgAuditProcDetailsToSave);
    factory.save(domainSurgicalAuditProcDet);
    return SurgicalAuditProcedureDetailsVoAssembler.create(domainSurgicalAuditProcDet);
}
项目:openMAXIMS    文件:SurgicalAuditProcedureDetailsImpl.java   
public SurgicalAuditOperationDetailVo saveAndMarkAsRIE(SurgicalAuditOperationDetailVo surgAuditToSave, SurgicalAuditProcedureDetailsVo surgAuditProcedureDetails, FormName form, Integer patId, Integer careContextId, String comment) throws StaleObjectException
{
    if (surgAuditToSave == null || surgAuditProcedureDetails==null)
    {
        throw new CodingRuntimeException("Cannot get SurgicalAuditOperationDetailVo on null Id ");
    }

    DomainFactory factory = getDomainFactory();

    SurgicalAuditOperationDetail domainSurgicalAudit = SurgicalAuditOperationDetailVoAssembler.extractSurgicalAuditOperationDetail(factory, surgAuditToSave);
    factory.save(domainSurgicalAudit);
    factory.markAsRie(SurgicalAuditProcedureDetails.class, surgAuditProcedureDetails.getID_SurgicalAuditProcedureDetails(), form, patId, null, careContextId, comment);
    return SurgicalAuditOperationDetailVoAssembler.create(domainSurgicalAudit);
}
项目:openMAXIMS    文件:Logic.java   
private void populateSurgeonCombo()
{
    SurgicalAuditProcedureDetailsVo currentSurgicalAuditProcDet = form.getGlobalContext().Clinical.getCurrentSurgicalAuditProcedureDetail();
    if (currentSurgicalAuditProcDet==null )
        return;
    if (currentSurgicalAuditProcDet.getOpPerformedBy()==null)
        return;
    MedicLiteVoCollection collSurgeon = currentSurgicalAuditProcDet.getOpPerformedBy();
    collSurgeon.sort(new MedicComparator(SortOrder.ASCENDING));
    for (int i=0;i<collSurgeon.size();i++)
    {
        form.cmbSurgeon().newRow(collSurgeon.get(i), collSurgeon.get(i).getName().toString());
    }

}
项目:openMAXIMS    文件:SurgicalAuditProcedureDetailsImpl.java   
public SurgicalAuditProcedureDetailsVo saveProcedureDetails(SurgicalAuditProcedureDetailsVo surgAuditProcDetailsToSave) throws StaleObjectException
{
    if (surgAuditProcDetailsToSave == null )
    {
        throw new CodingRuntimeException("Cannot get SurgicalAuditProcedureDetailsVo on null Id ");
    }

    DomainFactory factory = getDomainFactory();

     SurgicalAuditProcedureDetails domainSurgicalAuditProcDet = SurgicalAuditProcedureDetailsVoAssembler.extractSurgicalAuditProcedureDetails(factory, surgAuditProcDetailsToSave);
    factory.save(domainSurgicalAuditProcDet);
    return SurgicalAuditProcedureDetailsVoAssembler.create(domainSurgicalAuditProcDet);
}
项目:openMAXIMS    文件:SurgicalAuditProcedureDetailsImpl.java   
public SurgicalAuditOperationDetailVo saveAndMarkAsRIE(SurgicalAuditOperationDetailVo surgAuditToSave, SurgicalAuditProcedureDetailsVo surgAuditProcedureDetails, FormName form, Integer patId, Integer careContextId, String comment) throws StaleObjectException
{
    if (surgAuditToSave == null || surgAuditProcedureDetails==null)
    {
        throw new CodingRuntimeException("Cannot get SurgicalAuditOperationDetailVo on null Id ");
    }

    DomainFactory factory = getDomainFactory();

    SurgicalAuditOperationDetail domainSurgicalAudit = SurgicalAuditOperationDetailVoAssembler.extractSurgicalAuditOperationDetail(factory, surgAuditToSave);
    factory.save(domainSurgicalAudit);
    factory.markAsRie(SurgicalAuditProcedureDetails.class, surgAuditProcedureDetails.getID_SurgicalAuditProcedureDetails(), form, patId, null, careContextId, comment);
    return SurgicalAuditOperationDetailVoAssembler.create(domainSurgicalAudit);
}
项目:openmaxims-linux    文件:Logic.java   
private void populateSurgeonCombo()
{
    SurgicalAuditProcedureDetailsVo currentSurgicalAuditProcDet = form.getGlobalContext().Clinical.getCurrentSurgicalAuditProcedureDetail();
    if (currentSurgicalAuditProcDet==null )
        return;
    if (currentSurgicalAuditProcDet.getOpPerformedBy()==null)
        return;
    MedicLiteVoCollection collSurgeon = currentSurgicalAuditProcDet.getOpPerformedBy();
    collSurgeon.sort(new MedicComparator(SortOrder.ASCENDING));
    for (int i=0;i<collSurgeon.size();i++)
    {
        form.cmbSurgeon().newRow(collSurgeon.get(i), collSurgeon.get(i).getName().toString());
    }

}
项目:openmaxims-linux    文件:SurgicalAuditProcedureDetailsImpl.java   
public SurgicalAuditProcedureDetailsVo saveProcedureDetails(SurgicalAuditProcedureDetailsVo surgAuditProcDetailsToSave) throws StaleObjectException
{
    if (surgAuditProcDetailsToSave == null )
    {
        throw new CodingRuntimeException("Cannot get SurgicalAuditProcedureDetailsVo on null Id ");
    }

    DomainFactory factory = getDomainFactory();

     SurgicalAuditProcedureDetails domainSurgicalAuditProcDet = SurgicalAuditProcedureDetailsVoAssembler.extractSurgicalAuditProcedureDetails(factory, surgAuditProcDetailsToSave);
    factory.save(domainSurgicalAuditProcDet);
    return SurgicalAuditProcedureDetailsVoAssembler.create(domainSurgicalAuditProcDet);
}
项目:openmaxims-linux    文件:SurgicalAuditProcedureDetailsImpl.java   
public SurgicalAuditOperationDetailVo saveAndMarkAsRIE(SurgicalAuditOperationDetailVo surgAuditToSave, SurgicalAuditProcedureDetailsVo surgAuditProcedureDetails, FormName form, Integer patId, Integer careContextId, String comment) throws StaleObjectException
{
    if (surgAuditToSave == null || surgAuditProcedureDetails==null)
    {
        throw new CodingRuntimeException("Cannot get SurgicalAuditOperationDetailVo on null Id ");
    }

    DomainFactory factory = getDomainFactory();

    SurgicalAuditOperationDetail domainSurgicalAudit = SurgicalAuditOperationDetailVoAssembler.extractSurgicalAuditOperationDetail(factory, surgAuditToSave);
    factory.save(domainSurgicalAudit);
    factory.markAsRie(SurgicalAuditProcedureDetails.class, surgAuditProcedureDetails.getID_SurgicalAuditProcedureDetails(), form, patId, null, careContextId, comment);
    return SurgicalAuditOperationDetailVoAssembler.create(domainSurgicalAudit);
}