Java 类ims.ocrr.vo.InvestigationIndexVo 实例源码

项目:AvoinApotti    文件:Logic.java   
private boolean validateInput(InvestigationIndexVo mainRecord)
{
    boolean bInactiveCheckSucceded = true;
    if (mainRecord.getIsProfileIsNotNull() && mainRecord.getIsProfile().booleanValue())
    {
        if (mainRecord.getActiveStatusIsNotNull() && mainRecord.getActiveStatus().equals(PreActiveActiveInactiveStatus.INACTIVE))
            bInactiveCheckSucceded = false;

        if (mainRecord.getInvestigations() == null || mainRecord.getInvestigationsIsNotNull() && mainRecord.getInvestigations().size() == 0)
            bInactiveCheckSucceded = false;
        else
        {
            for (int i = 0; i < mainRecord.getInvestigations().size(); i++)
            {
                if (mainRecord.getInvestigations().get(i).getAssocInvestigationsIsNotNull() && mainRecord.getInvestigations().get(i).getAssocInvestigations().size() > 0)
                {
                    bInactiveCheckSucceded = true;
                    break;
                }
            }
        }

    }
    return bInactiveCheckSucceded;
}
项目:AvoinApotti    文件:TestEditImpl.java   
private void checkTemplatesAndProfiles(Integer idInvestigation, InvestigationIndexVo voInvestigationIndex, DomainFactory factory) throws DomainInterfaceException
{
    // a new investigation provider record
    if (idInvestigation == null)
        return;

    // get investigation provider from collection
    InvestigationShortVo voInv = null;
    for (int i = 0; i < voInvestigationIndex.getInvestigations().size(); i++)
    {
        if (voInvestigationIndex.getInvestigations().get(i).getID_InvestigationIsNotNull() && voInvestigationIndex.getInvestigations().get(i).getID_Investigation().equals(idInvestigation))
            voInv = voInvestigationIndex.getInvestigations().get(i);
    }

    if (voInv.getActiveStatusIsNotNull() && voInv.getActiveStatus().equals(PreActiveActiveInactiveStatus.INACTIVE))
    {
        Investigation doInvRecord = (Investigation) factory.getDomainObject(Investigation.class, voInv.getID_Investigation());
        if (doInvRecord.getActiveStatus().equals(getDomLookup(PreActiveActiveInactiveStatus.ACTIVE)))
        {
            // check if this record is associated with an active
            // templates\profiles\ordersets
            List items = getAssociatedItems(factory, doInvRecord.getId());
            handleErrors(items);
        }
    }
}
项目:AvoinApotti    文件:TestListImpl.java   
public InvestigationIndexVo getInvestigationIndex(Integer recordId)
{
    if(recordId == null)
        return null;

    DomainFactory factory = getDomainFactory();
    InvestigationIndexVo voInvestigationIndex = InvestigationIndexVoAssembler.create((InvestigationIndex) factory.getDomainObject(InvestigationIndex.class,recordId));

    //WDEV-16994
    if (voInvestigationIndex == null)
        return null;

    if(voInvestigationIndex.getSynonymsIsNotNull() && voInvestigationIndex.getSynonyms().size() > 0)
    {
        InvSynonymVoCollection coll = new InvSynonymVoCollection();
        for(int i = 0; i < voInvestigationIndex.getSynonyms().size(); i++)
        {
            InvSynonymVo syn = voInvestigationIndex.getSynonyms().get(i);
            if(syn.getActiveStatusIsNotNull() && syn.getActiveStatus().equals(Boolean.TRUE))
                coll.add(syn);
        }
        voInvestigationIndex.setSynonyms(coll);
    }
    return voInvestigationIndex;    
}
项目:openMAXIMS    文件:Logic.java   
private boolean validateInput(InvestigationIndexVo mainRecord)
{
    boolean bInactiveCheckSucceded = true;
    if (mainRecord.getIsProfileIsNotNull() && mainRecord.getIsProfile().booleanValue())
    {
        if (mainRecord.getActiveStatusIsNotNull() && mainRecord.getActiveStatus().equals(PreActiveActiveInactiveStatus.INACTIVE))
            bInactiveCheckSucceded = false;

        if (mainRecord.getInvestigations() == null || mainRecord.getInvestigationsIsNotNull() && mainRecord.getInvestigations().size() == 0)
            bInactiveCheckSucceded = false;
        else
        {
            for (int i = 0; i < mainRecord.getInvestigations().size(); i++)
            {
                if (mainRecord.getInvestigations().get(i).getAssocInvestigationsIsNotNull() && mainRecord.getInvestigations().get(i).getAssocInvestigations().size() > 0)
                {
                    bInactiveCheckSucceded = true;
                    break;
                }
            }
        }

    }
    return bInactiveCheckSucceded;
}
项目:openMAXIMS    文件:TestEditImpl.java   
private void checkTemplatesAndProfiles(Integer idInvestigation, InvestigationIndexVo voInvestigationIndex, DomainFactory factory) throws DomainInterfaceException
{
    // a new investigation provider record
    if (idInvestigation == null)
        return;

    // get investigation provider from collection
    InvestigationShortVo voInv = null;
    for (int i = 0; i < voInvestigationIndex.getInvestigations().size(); i++)
    {
        if (voInvestigationIndex.getInvestigations().get(i).getID_InvestigationIsNotNull() && voInvestigationIndex.getInvestigations().get(i).getID_Investigation().equals(idInvestigation))
            voInv = voInvestigationIndex.getInvestigations().get(i);
    }

    if (voInv.getActiveStatusIsNotNull() && voInv.getActiveStatus().equals(PreActiveActiveInactiveStatus.INACTIVE))
    {
        Investigation doInvRecord = (Investigation) factory.getDomainObject(Investigation.class, voInv.getID_Investigation());
        if (doInvRecord.getActiveStatus().equals(getDomLookup(PreActiveActiveInactiveStatus.ACTIVE)))
        {
            // check if this record is associated with an active
            // templates\profiles\ordersets
            List items = getAssociatedItems(factory, doInvRecord.getId());
            handleErrors(items);
        }
    }
}
项目:openMAXIMS    文件:TestListImpl.java   
public InvestigationIndexVo getInvestigationIndex(Integer recordId)
{
    if(recordId == null)
        return null;

    DomainFactory factory = getDomainFactory();
    InvestigationIndexVo voInvestigationIndex = InvestigationIndexVoAssembler.create((InvestigationIndex) factory.getDomainObject(InvestigationIndex.class,recordId));

    //WDEV-16994
    if (voInvestigationIndex == null)
        return null;

    if(voInvestigationIndex.getSynonymsIsNotNull() && voInvestigationIndex.getSynonyms().size() > 0)
    {
        InvSynonymVoCollection coll = new InvSynonymVoCollection();
        for(int i = 0; i < voInvestigationIndex.getSynonyms().size(); i++)
        {
            InvSynonymVo syn = voInvestigationIndex.getSynonyms().get(i);
            if(syn.getActiveStatusIsNotNull() && syn.getActiveStatus().equals(Boolean.TRUE))
                coll.add(syn);
        }
        voInvestigationIndex.setSynonyms(coll);
    }
    return voInvestigationIndex;    
}
项目:openMAXIMS    文件:Logic.java   
private boolean validateInput(InvestigationIndexVo mainRecord)
{
    boolean bInactiveCheckSucceded = true;
    if (mainRecord.getIsProfileIsNotNull() && mainRecord.getIsProfile().booleanValue())
    {
        if (mainRecord.getActiveStatusIsNotNull() && mainRecord.getActiveStatus().equals(PreActiveActiveInactiveStatus.INACTIVE))
            bInactiveCheckSucceded = false;

        if (mainRecord.getInvestigations() == null || mainRecord.getInvestigationsIsNotNull() && mainRecord.getInvestigations().size() == 0)
            bInactiveCheckSucceded = false;
        else
        {
            for (int i = 0; i < mainRecord.getInvestigations().size(); i++)
            {
                if (mainRecord.getInvestigations().get(i).getAssocInvestigationsIsNotNull() && mainRecord.getInvestigations().get(i).getAssocInvestigations().size() > 0)
                {
                    bInactiveCheckSucceded = true;
                    break;
                }
            }
        }

    }
    return bInactiveCheckSucceded;
}
项目:openMAXIMS    文件:TestEditImpl.java   
private void checkTemplatesAndProfiles(Integer idInvestigation, InvestigationIndexVo voInvestigationIndex, DomainFactory factory) throws DomainInterfaceException
{
    // a new investigation provider record
    if (idInvestigation == null)
        return;

    // get investigation provider from collection
    InvestigationShortVo voInv = null;
    for (int i = 0; i < voInvestigationIndex.getInvestigations().size(); i++)
    {
        if (voInvestigationIndex.getInvestigations().get(i).getID_InvestigationIsNotNull() && voInvestigationIndex.getInvestigations().get(i).getID_Investigation().equals(idInvestigation))
            voInv = voInvestigationIndex.getInvestigations().get(i);
    }

    if (voInv.getActiveStatusIsNotNull() && voInv.getActiveStatus().equals(PreActiveActiveInactiveStatus.INACTIVE))
    {
        Investigation doInvRecord = (Investigation) factory.getDomainObject(Investigation.class, voInv.getID_Investigation());
        if (doInvRecord.getActiveStatus().equals(getDomLookup(PreActiveActiveInactiveStatus.ACTIVE)))
        {
            // check if this record is associated with an active
            // templates\profiles\ordersets
            List items = getAssociatedItems(factory, doInvRecord.getId());
            handleErrors(items);
        }
    }
}
项目:openMAXIMS    文件:TestListImpl.java   
public InvestigationIndexVo getInvestigationIndex(Integer recordId)
{
    if(recordId == null)
        return null;

    DomainFactory factory = getDomainFactory();
    InvestigationIndexVo voInvestigationIndex = InvestigationIndexVoAssembler.create((InvestigationIndex) factory.getDomainObject(InvestigationIndex.class,recordId));

    //WDEV-16994
    if (voInvestigationIndex == null)
        return null;

    if(voInvestigationIndex.getSynonymsIsNotNull() && voInvestigationIndex.getSynonyms().size() > 0)
    {
        InvSynonymVoCollection coll = new InvSynonymVoCollection();
        for(int i = 0; i < voInvestigationIndex.getSynonyms().size(); i++)
        {
            InvSynonymVo syn = voInvestigationIndex.getSynonyms().get(i);
            if(syn.getActiveStatusIsNotNull() && syn.getActiveStatus().equals(Boolean.TRUE))
                coll.add(syn);
        }
        voInvestigationIndex.setSynonyms(coll);
    }
    return voInvestigationIndex;    
}
项目:openmaxims-linux    文件:Logic.java   
private boolean validateInput(InvestigationIndexVo mainRecord)
{
    boolean bInactiveCheckSucceded = true;
    if (mainRecord.getIsProfileIsNotNull() && mainRecord.getIsProfile().booleanValue())
    {
        if (mainRecord.getActiveStatusIsNotNull() && mainRecord.getActiveStatus().equals(PreActiveActiveInactiveStatus.INACTIVE))
            bInactiveCheckSucceded = false;

        if (mainRecord.getInvestigations() == null || mainRecord.getInvestigationsIsNotNull() && mainRecord.getInvestigations().size() == 0)
            bInactiveCheckSucceded = false;
        else
        {
            for (int i = 0; i < mainRecord.getInvestigations().size(); i++)
            {
                if (mainRecord.getInvestigations().get(i).getAssocInvestigationsIsNotNull() && mainRecord.getInvestigations().get(i).getAssocInvestigations().size() > 0)
                {
                    bInactiveCheckSucceded = true;
                    break;
                }
            }
        }

    }
    return bInactiveCheckSucceded;
}
项目:openmaxims-linux    文件:TestEditImpl.java   
private void checkTemplatesAndProfiles(Integer idInvestigation, InvestigationIndexVo voInvestigationIndex, DomainFactory factory) throws DomainInterfaceException
{
    // a new investigation provider record
    if (idInvestigation == null)
        return;

    // get investigation provider from collection
    InvestigationShortVo voInv = null;
    for (int i = 0; i < voInvestigationIndex.getInvestigations().size(); i++)
    {
        if (voInvestigationIndex.getInvestigations().get(i).getID_InvestigationIsNotNull() && voInvestigationIndex.getInvestigations().get(i).getID_Investigation().equals(idInvestigation))
            voInv = voInvestigationIndex.getInvestigations().get(i);
    }

    if (voInv.getActiveStatusIsNotNull() && voInv.getActiveStatus().equals(PreActiveActiveInactiveStatus.INACTIVE))
    {
        Investigation doInvRecord = (Investigation) factory.getDomainObject(Investigation.class, voInv.getID_Investigation());
        if (doInvRecord.getActiveStatus().equals(getDomLookup(PreActiveActiveInactiveStatus.ACTIVE)))
        {
            // check if this record is associated with an active
            // templates\profiles\ordersets
            List items = getAssociatedItems(factory, doInvRecord.getId());
            handleErrors(items);
        }
    }
}
项目:openmaxims-linux    文件:TestListImpl.java   
public InvestigationIndexVo getInvestigationIndex(Integer recordId)
{
    if(recordId == null)
        return null;

    DomainFactory factory = getDomainFactory();
    InvestigationIndexVo voInvestigationIndex = InvestigationIndexVoAssembler.create((InvestigationIndex) factory.getDomainObject(InvestigationIndex.class,recordId));

    //WDEV-16994
    if (voInvestigationIndex == null)
        return null;

    if(voInvestigationIndex.getSynonymsIsNotNull() && voInvestigationIndex.getSynonyms().size() > 0)
    {
        InvSynonymVoCollection coll = new InvSynonymVoCollection();
        for(int i = 0; i < voInvestigationIndex.getSynonyms().size(); i++)
        {
            InvSynonymVo syn = voInvestigationIndex.getSynonyms().get(i);
            if(syn.getActiveStatusIsNotNull() && syn.getActiveStatus().equals(Boolean.TRUE))
                coll.add(syn);
        }
        voInvestigationIndex.setSynonyms(coll);
    }
    return voInvestigationIndex;    
}
项目:AvoinApotti    文件:Logic.java   
private boolean hasPreActiveInvestigations(InvestigationIndexVo voInvIndex) {
    if (voInvIndex.getInvestigationsIsNotNull())
    {
        for (int i = 0 ; i < voInvIndex.getInvestigations().size() ; i++)
        {
            if (PreActiveActiveInactiveStatus.PREACTIVE.equals(voInvIndex.getInvestigations().get(i).getActiveStatus()))
                {
                    return true;
                }
        }
    }
    return false;
}
项目:AvoinApotti    文件:Logic.java   
private boolean isStatusProgressingFromActiveToInactive(InvestigationIndexVo mainRecord)
{
    if (mainRecord.getInvestigationsIsNotNull() && mainRecord.getActiveStatusIsNotNull() && mainRecord.getActiveStatus().equals(PreActiveActiveInactiveStatus.INACTIVE) && mainRecord.getID_InvestigationIndexIsNotNull())
    {
        for (int i = 0; i < mainRecord.getInvestigations().size(); i++)
        {
            if (mainRecord.getInvestigations().get(i).getActiveStatusIsNotNull() && mainRecord.getInvestigations().get(i).getActiveStatus().equals(PreActiveActiveInactiveStatus.ACTIVE))
                return true;
        }
    }
    return false;
}
项目:AvoinApotti    文件:Logic.java   
private boolean isAnyComponentInvAdded(InvestigationIndexVo mainRecord)
{
    if (mainRecord == null)
        throw new CodingRuntimeException("mainRecord is null in method isAnyComponentInvAdded");

    for (int i = 0; i < mainRecord.getInvestigations().size(); i++)
    {
        InvestigationVo voInvest = mainRecord.getInvestigations().get(i);
        if (voInvest.getAssocInvestigationsIsNotNull() && voInvest.getAssocInvestigations().size() > 0)
            return true;
    }

    return false;
}
项目:openMAXIMS    文件:Logic.java   
private boolean hasPreActiveInvestigations(InvestigationIndexVo voInvIndex) {
    if (voInvIndex.getInvestigationsIsNotNull())
    {
        for (int i = 0 ; i < voInvIndex.getInvestigations().size() ; i++)
        {
            if (PreActiveActiveInactiveStatus.PREACTIVE.equals(voInvIndex.getInvestigations().get(i).getActiveStatus()))
                {
                    return true;
                }
        }
    }
    return false;
}
项目:openMAXIMS    文件:Logic.java   
private boolean isStatusProgressingFromActiveToInactive(InvestigationIndexVo mainRecord)
{
    if (mainRecord.getInvestigationsIsNotNull() && mainRecord.getActiveStatusIsNotNull() && mainRecord.getActiveStatus().equals(PreActiveActiveInactiveStatus.INACTIVE) && mainRecord.getID_InvestigationIndexIsNotNull())
    {
        for (int i = 0; i < mainRecord.getInvestigations().size(); i++)
        {
            if (mainRecord.getInvestigations().get(i).getActiveStatusIsNotNull() && mainRecord.getInvestigations().get(i).getActiveStatus().equals(PreActiveActiveInactiveStatus.ACTIVE))
                return true;
        }
    }
    return false;
}
项目:openMAXIMS    文件:Logic.java   
private boolean isAnyComponentInvAdded(InvestigationIndexVo mainRecord)
{
    if (mainRecord == null)
        throw new CodingRuntimeException("mainRecord is null in method isAnyComponentInvAdded");

    for (int i = 0; i < mainRecord.getInvestigations().size(); i++)
    {
        InvestigationVo voInvest = mainRecord.getInvestigations().get(i);
        if (voInvest.getAssocInvestigationsIsNotNull() && voInvest.getAssocInvestigations().size() > 0)
            return true;
    }

    return false;
}
项目:openMAXIMS    文件:Logic.java   
private boolean hasPreActiveInvestigations(InvestigationIndexVo voInvIndex) {
    if (voInvIndex.getInvestigationsIsNotNull())
    {
        for (int i = 0 ; i < voInvIndex.getInvestigations().size() ; i++)
        {
            if (PreActiveActiveInactiveStatus.PREACTIVE.equals(voInvIndex.getInvestigations().get(i).getActiveStatus()))
                {
                    return true;
                }
        }
    }
    return false;
}
项目:openMAXIMS    文件:Logic.java   
private boolean isStatusProgressingFromActiveToInactive(InvestigationIndexVo mainRecord)
{
    if (mainRecord.getInvestigationsIsNotNull() && mainRecord.getActiveStatusIsNotNull() && mainRecord.getActiveStatus().equals(PreActiveActiveInactiveStatus.INACTIVE) && mainRecord.getID_InvestigationIndexIsNotNull())
    {
        for (int i = 0; i < mainRecord.getInvestigations().size(); i++)
        {
            if (mainRecord.getInvestigations().get(i).getActiveStatusIsNotNull() && mainRecord.getInvestigations().get(i).getActiveStatus().equals(PreActiveActiveInactiveStatus.ACTIVE))
                return true;
        }
    }
    return false;
}
项目:openMAXIMS    文件:Logic.java   
private boolean isAnyComponentInvAdded(InvestigationIndexVo mainRecord)
{
    if (mainRecord == null)
        throw new CodingRuntimeException("mainRecord is null in method isAnyComponentInvAdded");

    for (int i = 0; i < mainRecord.getInvestigations().size(); i++)
    {
        InvestigationVo voInvest = mainRecord.getInvestigations().get(i);
        if (voInvest.getAssocInvestigationsIsNotNull() && voInvest.getAssocInvestigations().size() > 0)
            return true;
    }

    return false;
}
项目:openmaxims-linux    文件:Logic.java   
private boolean hasPreActiveInvestigations(InvestigationIndexVo voInvIndex) {
    if (voInvIndex.getInvestigationsIsNotNull())
    {
        for (int i = 0 ; i < voInvIndex.getInvestigations().size() ; i++)
        {
            if (PreActiveActiveInactiveStatus.PREACTIVE.equals(voInvIndex.getInvestigations().get(i).getActiveStatus()))
                {
                    return true;
                }
        }
    }
    return false;
}
项目:openmaxims-linux    文件:Logic.java   
private boolean isStatusProgressingFromActiveToInactive(InvestigationIndexVo mainRecord)
{
    if (mainRecord.getInvestigationsIsNotNull() && mainRecord.getActiveStatusIsNotNull() && mainRecord.getActiveStatus().equals(PreActiveActiveInactiveStatus.INACTIVE) && mainRecord.getID_InvestigationIndexIsNotNull())
    {
        for (int i = 0; i < mainRecord.getInvestigations().size(); i++)
        {
            if (mainRecord.getInvestigations().get(i).getActiveStatusIsNotNull() && mainRecord.getInvestigations().get(i).getActiveStatus().equals(PreActiveActiveInactiveStatus.ACTIVE))
                return true;
        }
    }
    return false;
}
项目:openmaxims-linux    文件:Logic.java   
private boolean isAnyComponentInvAdded(InvestigationIndexVo mainRecord)
{
    if (mainRecord == null)
        throw new CodingRuntimeException("mainRecord is null in method isAnyComponentInvAdded");

    for (int i = 0; i < mainRecord.getInvestigations().size(); i++)
    {
        InvestigationVo voInvest = mainRecord.getInvestigations().get(i);
        if (voInvest.getAssocInvestigationsIsNotNull() && voInvest.getAssocInvestigations().size() > 0)
            return true;
    }

    return false;
}
项目:AvoinApotti    文件:TestEditImpl.java   
public InvestigationIndexVo getInvestigationIndex(Integer recordId)
{
    TestList impl = (TestList) getDomainImpl(TestListImpl.class);
    return impl.getInvestigationIndex(recordId);
}
项目:openMAXIMS    文件:TestEditImpl.java   
public InvestigationIndexVo getInvestigationIndex(Integer recordId)
{
    TestList impl = (TestList) getDomainImpl(TestListImpl.class);
    return impl.getInvestigationIndex(recordId);
}
项目:openMAXIMS    文件:Logic.java   
private void addInvestigationToDynGrid(OrderInvestigationLiteVo investigation, String stringICD10, String stringOPCS4, LateralityLRB lateralityLRB, DynamicGridRow newRow, DynamicGridCell cellName, DynamicGridCell cellICD10, DynamicGridCell cellOPCS4, DynamicGridCell cellLaterality)
{

    cellName.setValue(investigation.getInvestigation() != null && investigation.getInvestigation().getInvestigationIndex() != null ? investigation.getInvestigation().getInvestigationIndex().getName() : "");
    cellName.setTooltip(investigation.getInvestigation() != null && investigation.getInvestigation().getInvestigationIndex() != null ? investigation.getInvestigation().getInvestigationIndex().getName() : "");

    if (investigation.getInvestigation() != null && investigation.getInvestigation().getInvestigationIndex() != null && investigation.getInvestigation().getInvestigationIndex().getID_InvestigationIndex() != null)
    {

        InvestigationIndexVo voInvWithMappings = domain.getInvestigationWithTaxonomyMappings(investigation.getInvestigation().getInvestigationIndex());

        cellICD10.setValue(stringICD10 == "" ? findICD10(voInvWithMappings.getTaxonomyMap()) : stringICD10);
        cellICD10.setTooltip(stringICD10 == "" ? findICD10(voInvWithMappings.getTaxonomyMap()) : stringICD10);

        cellOPCS4.setValue(stringOPCS4 == "" ? findOPCS4(voInvWithMappings.getTaxonomyMap()) : stringOPCS4);
        cellOPCS4.setTooltip(stringOPCS4 == "" ? findOPCS4(voInvWithMappings.getTaxonomyMap()) : stringOPCS4);
    }


    cellLaterality.setReadOnly(true);

    newRow.setBackColor(Color.LightYellow);
}
项目:openMAXIMS    文件:ViewPatientCodingRecordsImpl.java   
public InvestigationIndexVo getInvestigationWithTaxonomyMappings(InvestigationIndexRefVo investigationRef)
{
    DomainFactory factory = getDomainFactory();
    InvestigationIndex inv = (InvestigationIndex) factory.getDomainObject(InvestigationIndex.class, investigationRef.getID_InvestigationIndex());
    return InvestigationIndexVoAssembler.create(inv);
}
项目:openMAXIMS    文件:Logic.java   
private void addInvestigationToOutpatientCodingGrid(OrderInvestigationLiteVo investigation, String stringICD10, String stringOPCS4, LateralityLRB lateralityLRB, boolean bSavedRecord)
{
    grdOutpatientCodingRow rowCoding = form.lyrTabs().tabOutpatientCoding().grdOutpatientCoding().getRows().newRow();

    rowCoding.setColDiagProcInv(investigation.getInvestigation() != null && investigation.getInvestigation().getInvestigationIndex() != null ? investigation.getInvestigation().getInvestigationIndex().getName() : "");
    rowCoding.setTooltipForColDiagProcInv(rowCoding.getColDiagProcInv());

    if (investigation.getInvestigation() != null && investigation.getInvestigation().getInvestigationIndex() != null && investigation.getInvestigation().getInvestigationIndex().getID_InvestigationIndex() != null)
    {

        InvestigationIndexVo voInvWithMappings = domain.getInvestigationWithTaxonomyMappings(investigation.getInvestigation().getInvestigationIndex());
        rowCoding.setColInvVo(investigation);
        rowCoding.setColICD10(stringICD10 == "" ? findICD10(voInvWithMappings.getTaxonomyMap()) : stringICD10);
        if (stringOPCS4.equals(""))
        {
            // WDEV-19730 
            // For investigations, we could have multiple OPCS4 codes.  These need to be output
            // to multiple lines
            ArrayList<String> opcsCodes = findOPCS4List(voInvWithMappings.getTaxonomyMap()) ;
            if (opcsCodes != null && opcsCodes.size() > 0)
            {
                rowCoding.setColOPCS4(opcsCodes.get(0));
                for (int i=1; i<opcsCodes.size(); i++)
                {
                    grdOutpatientCodingRow opcsCodingRow = form.lyrTabs().tabOutpatientCoding().grdOutpatientCoding().getRows().newRow();
                    opcsCodingRow.setColOPCS4(opcsCodes.get(i));
                }

            }
            else
                rowCoding.setColOPCS4("");
        }
        else
            rowCoding.setColOPCS4(stringOPCS4);
    }

    rowCoding.setColEditICDReadOnly(true);
    rowCoding.setColEditOPCSReadOnly(true);
    rowCoding.setColLateralityReadOnly(true);

    rowCoding.setBackColor(Color.LightYellow);
    rowCoding.setValue(null);

    form.lyrTabs().tabOutpatientCoding().grdInv().setValue(null);

    if (form.getLocalContext().getCurrentRCVo() == null)
    {
        form.lyrTabs().tabOutpatientCoding().chkOutpatientActive().setValue(true);
        form.lyrTabs().tabOutpatientCoding().dtimRecording().setValue(new DateTime());

        if (engine.getLoggedInUser() != null && engine.getLoggedInUser().getUserRealName() != null)
            form.lyrTabs().tabOutpatientCoding().txtRecUser().setValue(engine.getLoggedInUser().getUserRealName().toString());
    }
}
项目:openMAXIMS    文件:ReferralCodingImpl.java   
public InvestigationIndexVo getInvestigationWithTaxonomyMappings(InvestigationIndexRefVo investigationRef)
{
    DomainFactory factory = getDomainFactory();
    InvestigationIndex inv = (InvestigationIndex) factory.getDomainObject(InvestigationIndex.class, investigationRef.getID_InvestigationIndex());
    return InvestigationIndexVoAssembler.create(inv);
}
项目:openMAXIMS    文件:TestEditImpl.java   
public InvestigationIndexVo getInvestigationIndex(Integer recordId)
{
    TestList impl = (TestList) getDomainImpl(TestListImpl.class);
    return impl.getInvestigationIndex(recordId);
}
项目:openmaxims-linux    文件:TestEditImpl.java   
public InvestigationIndexVo getInvestigationIndex(Integer recordId)
{
    TestList impl = (TestList) getDomainImpl(TestListImpl.class);
    return impl.getInvestigationIndex(recordId);
}