Java 类ims.core.vo.PatientProcedureShortListVoCollection 实例源码

项目:AvoinApotti    文件:Logic.java   
private void populatePatientProcedures(ProcedureListVoCollection voColl, PatientProcedureShortListVoCollection collPatientProcedureShort) 
{
    form.getLocalContext().setPatientProcedureShortListVoCollection(collPatientProcedureShort);

    for (int i=0; i < voColl.size(); i++)
    {
        populatePatientProceduresControls(voColl.get(i), collPatientProcedureShort);
    }
}
项目:AvoinApotti    文件:Logic.java   
private PatientProcedureVo searchExistingProcedures(grdChecklistRow row) 
{
    PatientProcedureShortListVoCollection collPatientProcedureShortListVo = form.getLocalContext().getPatientProcedureShortListVoCollection();

    if(collPatientProcedureShortListVo!=null)
        for(int i=0; i<collPatientProcedureShortListVo.size(); i++)
        {
            //if was linked
            if(collPatientProcedureShortListVo.get(i).getProcedureIsNotNull() && 
                    collPatientProcedureShortListVo.get(i).getProcedure().getProcedureName().equals(row.getColProcedure()) &&
                            collPatientProcedureShortListVo.get(i).getClinicalContact().getID_ClinicalContact().equals(form.getGlobalContext().Core.getCurrentClinicalContact().getID_ClinicalContact()))
            {
                return new PatientProcedureVo();
            }
            else
            {
                PatientProcedureVo procedureVo = domain.getProcedure(collPatientProcedureShortListVo.get(i));

                if(collPatientProcedureShortListVo.get(i).getProcedureIsNotNull() &&
                        (!(collPatientProcedureShortListVo.get(i).getProcedureIsNotNull() && 
                        collPatientProcedureShortListVo.get(i).getProcedure().getProcedureName().equals(row.getColProcedure()) &&
                            row.getColProcedure().equals((procedureVo.getProcedure().getProcedureName())))))
                {
                    return procedureVo;
                }
                else if (collPatientProcedureShortListVo.get(i).getProcedureIsNotNull() &&
                        ((collPatientProcedureShortListVo.get(i).getProcedureIsNotNull() && 
                        collPatientProcedureShortListVo.get(i).getProcedure().getProcedureName().equals(row.getColProcedure()) &&
                            row.getColProcedure().equals((procedureVo.getProcedure().getProcedureName()))) &&
                                !collPatientProcedureShortListVo.get(i).getClinicalContact().getID_ClinicalContact().equals(form.getGlobalContext().Core.getCurrentClinicalContact().getID_ClinicalContact())))
                {
                    return procedureVo; 
                }
            }   
        }

    return new PatientProcedureVo();            
}
项目:AvoinApotti    文件:PlannedProcedureImpl.java   
public PatientProcedureShortListVoCollection listProceduresByCareContext(CareContextRefVo careContextRefVo) 
{
    if(careContextRefVo == null)
        throw new DomainRuntimeException("Invalid Care Context Ref");

    DomainFactory factory = getDomainFactory();
    StringBuffer hql = new StringBuffer("from PatientProcedure p ");
    hql.append(" where p.careContext.id = " + careContextRefVo.getID_CareContext());
    return PatientProcedureShortListVoAssembler.createPatientProcedureShortListVoCollectionFromPatientProcedure(factory.find(hql.toString()));
}
项目:AvoinApotti    文件:PlannedProcedureImpl.java   
public PatientProcedureShortListVoCollection listProceduresByEpisodeOfCareShortList(EpisodeOfCareRefVo episodeOfCareRefVo) 
{
    if(episodeOfCareRefVo == null)
        throw new DomainRuntimeException("Invalid Care Context Ref");

    DomainFactory factory = getDomainFactory();
    StringBuffer hql = new StringBuffer("from PatientProcedure p ");
    hql.append(" where p.careContext.episodeOfCare.id = " + episodeOfCareRefVo.getID_EpisodeOfCare());
    return PatientProcedureShortListVoAssembler.createPatientProcedureShortListVoCollectionFromPatientProcedure(factory.find(hql.toString()));
}
项目:openMAXIMS    文件:Logic.java   
private void populatePatientProcedures(ProcedureListVoCollection voColl, PatientProcedureShortListVoCollection collPatientProcedureShort) 
{
    form.getLocalContext().setPatientProcedureShortListVoCollection(collPatientProcedureShort);

    for (int i=0; i < voColl.size(); i++)
    {
        populatePatientProceduresControls(voColl.get(i), collPatientProcedureShort);
    }
}
项目:openMAXIMS    文件:Logic.java   
private PatientProcedureVo searchExistingProcedures(grdChecklistRow row) 
{
    PatientProcedureShortListVoCollection collPatientProcedureShortListVo = form.getLocalContext().getPatientProcedureShortListVoCollection();

    if(collPatientProcedureShortListVo!=null)
        for(int i=0; i<collPatientProcedureShortListVo.size(); i++)
        {
            //if was linked
            if(collPatientProcedureShortListVo.get(i).getProcedureIsNotNull() && 
                    collPatientProcedureShortListVo.get(i).getProcedure().getProcedureName().equals(row.getColProcedure()) &&
                            collPatientProcedureShortListVo.get(i).getClinicalContact().getID_ClinicalContact().equals(form.getGlobalContext().Core.getCurrentClinicalContact().getID_ClinicalContact()))
            {
                return new PatientProcedureVo();
            }
            else
            {
                PatientProcedureVo procedureVo = domain.getProcedure(collPatientProcedureShortListVo.get(i));

                if(collPatientProcedureShortListVo.get(i).getProcedureIsNotNull() &&
                        (!(collPatientProcedureShortListVo.get(i).getProcedureIsNotNull() && 
                        collPatientProcedureShortListVo.get(i).getProcedure().getProcedureName().equals(row.getColProcedure()) &&
                            row.getColProcedure().equals((procedureVo.getProcedure().getProcedureName())))))
                {
                    return procedureVo;
                }
                else if (collPatientProcedureShortListVo.get(i).getProcedureIsNotNull() &&
                        ((collPatientProcedureShortListVo.get(i).getProcedureIsNotNull() && 
                        collPatientProcedureShortListVo.get(i).getProcedure().getProcedureName().equals(row.getColProcedure()) &&
                            row.getColProcedure().equals((procedureVo.getProcedure().getProcedureName()))) &&
                                !collPatientProcedureShortListVo.get(i).getClinicalContact().getID_ClinicalContact().equals(form.getGlobalContext().Core.getCurrentClinicalContact().getID_ClinicalContact())))
                {
                    return procedureVo; 
                }
            }   
        }

    return new PatientProcedureVo();            
}
项目:openMAXIMS    文件:PlannedProcedureImpl.java   
public PatientProcedureShortListVoCollection listProceduresByCareContext(CareContextRefVo careContextRefVo) 
{
    if(careContextRefVo == null)
        throw new DomainRuntimeException("Invalid Care Context Ref");

    DomainFactory factory = getDomainFactory();
    StringBuffer hql = new StringBuffer("from PatientProcedure p ");
    hql.append(" where p.careContext.id = " + careContextRefVo.getID_CareContext());
    return PatientProcedureShortListVoAssembler.createPatientProcedureShortListVoCollectionFromPatientProcedure(factory.find(hql.toString()));
}
项目:openMAXIMS    文件:PlannedProcedureImpl.java   
public PatientProcedureShortListVoCollection listProceduresByEpisodeOfCareShortList(EpisodeOfCareRefVo episodeOfCareRefVo) 
{
    if(episodeOfCareRefVo == null)
        throw new DomainRuntimeException("Invalid Care Context Ref");

    DomainFactory factory = getDomainFactory();
    StringBuffer hql = new StringBuffer("from PatientProcedure p ");
    hql.append(" where p.careContext.episodeOfCare.id = " + episodeOfCareRefVo.getID_EpisodeOfCare());
    return PatientProcedureShortListVoAssembler.createPatientProcedureShortListVoCollectionFromPatientProcedure(factory.find(hql.toString()));
}
项目:openMAXIMS    文件:Logic.java   
private void populatePatientProcedures(ProcedureListVoCollection voColl, PatientProcedureShortListVoCollection collPatientProcedureShort) 
{
    form.getLocalContext().setPatientProcedureShortListVoCollection(collPatientProcedureShort);

    for (int i=0; i < voColl.size(); i++)
    {
        populatePatientProceduresControls(voColl.get(i), collPatientProcedureShort);
    }
}
项目:openMAXIMS    文件:Logic.java   
private PatientProcedureVo searchExistingProcedures(grdChecklistRow row) 
{
    PatientProcedureShortListVoCollection collPatientProcedureShortListVo = form.getLocalContext().getPatientProcedureShortListVoCollection();

    if(collPatientProcedureShortListVo!=null)
        for(int i=0; i<collPatientProcedureShortListVo.size(); i++)
        {
            //if was linked
            if(collPatientProcedureShortListVo.get(i).getProcedureIsNotNull() && 
                    collPatientProcedureShortListVo.get(i).getProcedure().getProcedureName().equals(row.getColProcedure()) &&
                            collPatientProcedureShortListVo.get(i).getClinicalContact().getID_ClinicalContact().equals(form.getGlobalContext().Core.getCurrentClinicalContact().getID_ClinicalContact()))
            {
                return new PatientProcedureVo();
            }
            else
            {
                PatientProcedureVo procedureVo = domain.getProcedure(collPatientProcedureShortListVo.get(i));

                if(collPatientProcedureShortListVo.get(i).getProcedureIsNotNull() &&
                        (!(collPatientProcedureShortListVo.get(i).getProcedureIsNotNull() && 
                        collPatientProcedureShortListVo.get(i).getProcedure().getProcedureName().equals(row.getColProcedure()) &&
                            row.getColProcedure().equals((procedureVo.getProcedure().getProcedureName())))))
                {
                    return procedureVo;
                }
                else if (collPatientProcedureShortListVo.get(i).getProcedureIsNotNull() &&
                        ((collPatientProcedureShortListVo.get(i).getProcedureIsNotNull() && 
                        collPatientProcedureShortListVo.get(i).getProcedure().getProcedureName().equals(row.getColProcedure()) &&
                            row.getColProcedure().equals((procedureVo.getProcedure().getProcedureName()))) &&
                                !collPatientProcedureShortListVo.get(i).getClinicalContact().getID_ClinicalContact().equals(form.getGlobalContext().Core.getCurrentClinicalContact().getID_ClinicalContact())))
                {
                    return procedureVo; 
                }
            }   
        }

    return new PatientProcedureVo();            
}
项目:openMAXIMS    文件:PlannedProcedureImpl.java   
public PatientProcedureShortListVoCollection listProceduresByCareContext(CareContextRefVo careContextRefVo) 
{
    if(careContextRefVo == null)
        throw new DomainRuntimeException("Invalid Care Context Ref");

    DomainFactory factory = getDomainFactory();
    StringBuffer hql = new StringBuffer("from PatientProcedure p ");
    hql.append(" where p.careContext.id = " + careContextRefVo.getID_CareContext());
    return PatientProcedureShortListVoAssembler.createPatientProcedureShortListVoCollectionFromPatientProcedure(factory.find(hql.toString()));
}
项目:openMAXIMS    文件:PlannedProcedureImpl.java   
public PatientProcedureShortListVoCollection listProceduresByEpisodeOfCareShortList(EpisodeOfCareRefVo episodeOfCareRefVo) 
{
    if(episodeOfCareRefVo == null)
        throw new DomainRuntimeException("Invalid Care Context Ref");

    DomainFactory factory = getDomainFactory();
    StringBuffer hql = new StringBuffer("from PatientProcedure p ");
    hql.append(" where p.careContext.episodeOfCare.id = " + episodeOfCareRefVo.getID_EpisodeOfCare());
    return PatientProcedureShortListVoAssembler.createPatientProcedureShortListVoCollectionFromPatientProcedure(factory.find(hql.toString()));
}
项目:openmaxims-linux    文件:Logic.java   
private void populatePatientProcedures(ProcedureListVoCollection voColl, PatientProcedureShortListVoCollection collPatientProcedureShort) 
{
    form.getLocalContext().setPatientProcedureShortListVoCollection(collPatientProcedureShort);

    for (int i=0; i < voColl.size(); i++)
    {
        populatePatientProceduresControls(voColl.get(i), collPatientProcedureShort);
    }
}
项目:openmaxims-linux    文件:Logic.java   
private PatientProcedureVo searchExistingProcedures(grdChecklistRow row) 
{
    PatientProcedureShortListVoCollection collPatientProcedureShortListVo = form.getLocalContext().getPatientProcedureShortListVoCollection();

    if(collPatientProcedureShortListVo!=null)
        for(int i=0; i<collPatientProcedureShortListVo.size(); i++)
        {
            //if was linked
            if(collPatientProcedureShortListVo.get(i).getProcedureIsNotNull() && 
                    collPatientProcedureShortListVo.get(i).getProcedure().getProcedureName().equals(row.getColProcedure()) &&
                            collPatientProcedureShortListVo.get(i).getClinicalContact().getID_ClinicalContact().equals(form.getGlobalContext().Core.getCurrentClinicalContact().getID_ClinicalContact()))
            {
                return new PatientProcedureVo();
            }
            else
            {
                PatientProcedureVo procedureVo = domain.getProcedure(collPatientProcedureShortListVo.get(i));

                if(collPatientProcedureShortListVo.get(i).getProcedureIsNotNull() &&
                        (!(collPatientProcedureShortListVo.get(i).getProcedureIsNotNull() && 
                        collPatientProcedureShortListVo.get(i).getProcedure().getProcedureName().equals(row.getColProcedure()) &&
                            row.getColProcedure().equals((procedureVo.getProcedure().getProcedureName())))))
                {
                    return procedureVo;
                }
                else if (collPatientProcedureShortListVo.get(i).getProcedureIsNotNull() &&
                        ((collPatientProcedureShortListVo.get(i).getProcedureIsNotNull() && 
                        collPatientProcedureShortListVo.get(i).getProcedure().getProcedureName().equals(row.getColProcedure()) &&
                            row.getColProcedure().equals((procedureVo.getProcedure().getProcedureName()))) &&
                                !collPatientProcedureShortListVo.get(i).getClinicalContact().getID_ClinicalContact().equals(form.getGlobalContext().Core.getCurrentClinicalContact().getID_ClinicalContact())))
                {
                    return procedureVo; 
                }
            }   
        }

    return new PatientProcedureVo();            
}
项目:openmaxims-linux    文件:PlannedProcedureImpl.java   
public PatientProcedureShortListVoCollection listProceduresByCareContext(CareContextRefVo careContextRefVo) 
{
    if(careContextRefVo == null)
        throw new DomainRuntimeException("Invalid Care Context Ref");

    DomainFactory factory = getDomainFactory();
    StringBuffer hql = new StringBuffer("from PatientProcedure p ");
    hql.append(" where p.careContext.id = " + careContextRefVo.getID_CareContext());
    return PatientProcedureShortListVoAssembler.createPatientProcedureShortListVoCollectionFromPatientProcedure(factory.find(hql.toString()));
}
项目:openmaxims-linux    文件:PlannedProcedureImpl.java   
public PatientProcedureShortListVoCollection listProceduresByEpisodeOfCareShortList(EpisodeOfCareRefVo episodeOfCareRefVo) 
{
    if(episodeOfCareRefVo == null)
        throw new DomainRuntimeException("Invalid Care Context Ref");

    DomainFactory factory = getDomainFactory();
    StringBuffer hql = new StringBuffer("from PatientProcedure p ");
    hql.append(" where p.careContext.episodeOfCare.id = " + episodeOfCareRefVo.getID_EpisodeOfCare());
    return PatientProcedureShortListVoAssembler.createPatientProcedureShortListVoCollectionFromPatientProcedure(factory.find(hql.toString()));
}
项目:AvoinApotti    文件:PatientProcedureChecklistImpl.java   
public PatientProcedureShortListVoCollection listProcedureShortListVoByPatient(PatientRefVo patient) {
    Procedures impl = (Procedures) getDomainImpl(PlannedProcedureImpl.class);
    return impl.listProcedureShortListVoByPatient(patient);
}
项目:AvoinApotti    文件:PlannedProcedureImpl.java   
/**
* listProcedure by clinical contact
*/
public ims.core.vo.PatientProcedureShortListVoCollection listProcedure(ims.core.admin.vo.ClinicalContactRefVo clinicalContactRefVo)
{
    List list = listProcedures(clinicalContactRefVo, null);
    return PatientProcedureShortListVoAssembler.createPatientProcedureShortListVoCollectionFromPatientProcedure(list);
}
项目:AvoinApotti    文件:PlannedProcedureImpl.java   
public PatientProcedureShortListVoCollection listProcedureShortListVoByPatient(PatientRefVo patient)
{
    List list = listProcedures(null, patient, null);
    return PatientProcedureShortListVoAssembler.createPatientProcedureShortListVoCollectionFromPatientProcedure(list);
}
项目:openMAXIMS    文件:PatientProcedureChecklistImpl.java   
public PatientProcedureShortListVoCollection listProcedureShortListVoByPatient(PatientRefVo patient) {
    Procedures impl = (Procedures) getDomainImpl(PlannedProcedureImpl.class);
    return impl.listProcedureShortListVoByPatient(patient);
}
项目:openMAXIMS    文件:PlannedProcedureImpl.java   
/**
* listProcedure by clinical contact
*/
public ims.core.vo.PatientProcedureShortListVoCollection listProcedure(ims.core.admin.vo.ClinicalContactRefVo clinicalContactRefVo)
{
    List list = listProcedures(clinicalContactRefVo, null);
    return PatientProcedureShortListVoAssembler.createPatientProcedureShortListVoCollectionFromPatientProcedure(list);
}
项目:openMAXIMS    文件:PlannedProcedureImpl.java   
public PatientProcedureShortListVoCollection listProcedureShortListVoByPatient(PatientRefVo patient)
{
    List list = listProcedures(null, patient, null);
    return PatientProcedureShortListVoAssembler.createPatientProcedureShortListVoCollectionFromPatientProcedure(list);
}
项目:openMAXIMS    文件:PatientProcedureChecklistImpl.java   
public PatientProcedureShortListVoCollection listProcedureShortListVoByPatient(PatientRefVo patient) {
    Procedures impl = (Procedures) getDomainImpl(PlannedProcedureImpl.class);
    return impl.listProcedureShortListVoByPatient(patient);
}
项目:openMAXIMS    文件:PlannedProcedureImpl.java   
/**
* listProcedure by clinical contact
*/
public ims.core.vo.PatientProcedureShortListVoCollection listProcedure(ims.core.admin.vo.ClinicalContactRefVo clinicalContactRefVo)
{
    List list = listProcedures(clinicalContactRefVo, null);
    return PatientProcedureShortListVoAssembler.createPatientProcedureShortListVoCollectionFromPatientProcedure(list);
}
项目:openMAXIMS    文件:PlannedProcedureImpl.java   
public PatientProcedureShortListVoCollection listProcedureShortListVoByPatient(PatientRefVo patient)
{
    List list = listProcedures(null, patient, null);
    return PatientProcedureShortListVoAssembler.createPatientProcedureShortListVoCollectionFromPatientProcedure(list);
}
项目:openmaxims-linux    文件:PatientProcedureChecklistImpl.java   
public PatientProcedureShortListVoCollection listProcedureShortListVoByPatient(PatientRefVo patient) {
    Procedures impl = (Procedures) getDomainImpl(PlannedProcedureImpl.class);
    return impl.listProcedureShortListVoByPatient(patient);
}
项目:openmaxims-linux    文件:PlannedProcedureImpl.java   
/**
* listProcedure by clinical contact
*/
public ims.core.vo.PatientProcedureShortListVoCollection listProcedure(ims.core.admin.vo.ClinicalContactRefVo clinicalContactRefVo)
{
    List list = listProcedures(clinicalContactRefVo, null);
    return PatientProcedureShortListVoAssembler.createPatientProcedureShortListVoCollectionFromPatientProcedure(list);
}
项目:openmaxims-linux    文件:PlannedProcedureImpl.java   
public PatientProcedureShortListVoCollection listProcedureShortListVoByPatient(PatientRefVo patient)
{
    List list = listProcedures(null, patient, null);
    return PatientProcedureShortListVoAssembler.createPatientProcedureShortListVoCollectionFromPatientProcedure(list);
}