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

项目:AvoinApotti    文件:Logic.java   
@Override
protected void clearScreen() 
{
    super.clearScreen();
    form.ctnDetails().lyrDetails().tabPage1().intDTRTT().setValue(null);   //wdev-13616
    ArrayList<?> values = form.ctnDetails().lyrDetails().tabPage1().cmbOrganisation().getValues();  //wdev-13616
    if (values != null && values.size() > 0)
    {
        for (int i = values.size()-1 ; i >= 0 ; i--)
        {
            if (values.get(i) instanceof OrganisationLiteVo)
            {
                OrganisationLiteVo org = (OrganisationLiteVo) values.get(i);
                if (!Boolean.TRUE.equals(org.getIsActive()))
                {
                    form.ctnDetails().lyrDetails().tabPage1().cmbOrganisation().removeRow(org);   //wdev-13616
                }
            }
        }
    }
    //wdev-12676
    form.ctnDetails().lyrDetails().tabPage1().cmbContractType().setValue(null);  //wdev-13616
    //------------
}
项目:AvoinApotti    文件:Logic.java   
private void initOrganisationsCombos() throws FormOpenException {
    form.cmbSOrganisation().getValues().clear();
    form.ctnDetails().lyrDetails().tabPage1().cmbOrganisation().clear(); //wdev-13616
    OrganisationLiteVoCollection orgs = domain.listActiveOrganisations();
    if (orgs == null || orgs.size() == 0)
        throw new FormOpenException("At least one active organisation must exist.");
    for (int i = 0 ; i < orgs.size() ; i++)
    {
        OrganisationLiteVo org = orgs.get(i);
        if (org==null)
            continue;
        form.cmbSOrganisation().newRow(org, org.getName());
        form.ctnDetails().lyrDetails().tabPage1().cmbOrganisation().newRow(org, org.getName()); //wdev-13616

    }
}
项目:openMAXIMS    文件:Logic.java   
private void initOrganisationsCombos() throws FormOpenException {
    form.cmbSOrganisation().getValues().clear();
    form.ctnDetails().lyrDetails().tabPage1().cmbOrganisation().clear(); //wdev-13616
    OrganisationLiteVoCollection orgs = domain.listActiveOrganisations();
    if (orgs == null || orgs.size() == 0)
        throw new FormOpenException("At least one active organisation must exist.");
    for (int i = 0 ; i < orgs.size() ; i++)
    {
        OrganisationLiteVo org = orgs.get(i);
        if (org==null)
            continue;
        form.cmbSOrganisation().newRow(org, org.getName());
        form.ctnDetails().lyrDetails().tabPage1().cmbOrganisation().newRow(org, org.getName()); //wdev-13616

    }
}
项目:openMAXIMS    文件:Logic.java   
@Override
protected void clearScreen() 
{
    super.clearScreen();
    form.ctnDetails().lyrDetails().tabPage1().intDTRTT().setValue(null);   //wdev-13616
    ArrayList<?> values = form.ctnDetails().lyrDetails().tabPage1().cmbOrganisation().getValues();  //wdev-13616
    if (values != null && values.size() > 0)
    {
        for (int i = values.size()-1 ; i >= 0 ; i--)
        {
            if (values.get(i) instanceof OrganisationLiteVo)
            {
                OrganisationLiteVo org = (OrganisationLiteVo) values.get(i);
                if (!Boolean.TRUE.equals(org.getIsActive()))
                {
                    form.ctnDetails().lyrDetails().tabPage1().cmbOrganisation().removeRow(org);   //wdev-13616
                }
            }
        }
    }
    //wdev-12676
    form.ctnDetails().lyrDetails().tabPage1().cmbContractType().setValue(null);  //wdev-13616
    //------------
}
项目:openMAXIMS    文件:Logic.java   
private void initOrganisationsCombos() throws FormOpenException {
    form.cmbSOrganisation().getValues().clear();
    form.ctnDetails().lyrDetails().tabPage1().cmbOrganisation().clear(); //wdev-13616
    OrganisationLiteVoCollection orgs = domain.listActiveOrganisations();
    if (orgs == null || orgs.size() == 0)
        throw new FormOpenException("At least one active organisation must exist.");
    for (int i = 0 ; i < orgs.size() ; i++)
    {
        OrganisationLiteVo org = orgs.get(i);
        if (org==null)
            continue;
        form.cmbSOrganisation().newRow(org, org.getName());
        form.ctnDetails().lyrDetails().tabPage1().cmbOrganisation().newRow(org, org.getName()); //wdev-13616

    }
}
项目:AvoinApotti    文件:Logic.java   
protected void onFormOpen(Object[] args) throws ims.framework.exceptions.PresentationLogicException
{
    form.getLocalContext().setService(null);
    if(args != null )
    {
        if(args[0] != null && args[0] instanceof OrganisationLiteVo)
        {
            OrganisationLiteVo tempVo = (OrganisationLiteVo) args[0];
            form.qmbOrganisation().newRow(tempVo, tempVo.getName());
            form.qmbOrganisation().setValue(tempVo);
        }

    }

}
项目:AvoinApotti    文件:Logic.java   
private void setContractForSelectedSite() 
{
    if(!engine.hasRight(AppRight.CAN_VIEW_CLINICS_ACROSS_ALL_CONTRACTS))
    {
        OrganisationLiteVo rootOrg = null;

        if(form.cmbSite().getValue() instanceof ILocation)
        {
            rootOrg = domain.getOrganisationByLocation(form.cmbSite().getValue().getID());
            form.cmbContract().newRow(rootOrg, rootOrg.getName());
        }

        form.cmbContract().setValue(rootOrg);
    }
}
项目:AvoinApotti    文件:Logic.java   
@Override
protected void onCmbContractValueChanged() throws PresentationLogicException 
{
    form.cmbSite().clear();
    form.cmbProfile().clear();
    form.cmbSessions().clear();

    if(form.cmbContract().getValue() instanceof OrganisationLiteVo)
    {
        loadLocations(domain.listLocationByOrganisation(form.cmbContract().getValue()));
    }
}
项目:AvoinApotti    文件:ClinicListImpl.java   
public OrganisationLiteVo getOrganisationByLocation(Integer locationId) 
{
    if(locationId == null)
        throw new CodingRuntimeException("Cannot get Organisation by null location id.");

    Integer parentLocationId = getParentLocation(locationId);

    Organisation org = getOrganisationFromLoc(parentLocationId);

    return org != null ? OrganisationLiteVoAssembler.create(org) : null;
}
项目:openMAXIMS    文件:Logic.java   
protected void onFormOpen(Object[] args) throws ims.framework.exceptions.PresentationLogicException
{
    form.getLocalContext().setService(null);
    if(args != null )
    {
        if(args[0] != null && args[0] instanceof OrganisationLiteVo)
        {
            OrganisationLiteVo tempVo = (OrganisationLiteVo) args[0];
            form.qmbOrganisation().newRow(tempVo, tempVo.getName());
            form.qmbOrganisation().setValue(tempVo);
        }

    }

}
项目:openMAXIMS    文件:Logic.java   
@Override
protected void clearScreen() 
{
    super.clearScreen();
    form.ctnDetails().lyrDetails().tabPage1().intDTRTT().setValue(null);   //wdev-13616
    ArrayList<?> values = form.ctnDetails().lyrDetails().tabPage1().cmbOrganisation().getValues();  //wdev-13616
    if (values != null && values.size() > 0)
    {
        for (int i = values.size()-1 ; i >= 0 ; i--)
        {
            if (values.get(i) instanceof OrganisationLiteVo)
            {
                OrganisationLiteVo org = (OrganisationLiteVo) values.get(i);
                if (!Boolean.TRUE.equals(org.getIsActive()))
                {
                    form.ctnDetails().lyrDetails().tabPage1().cmbOrganisation().removeRow(org);   //wdev-13616
                }
            }
        }
    }
    //wdev-12676
    form.ctnDetails().lyrDetails().tabPage1().cmbContractType().setValue(null);  //wdev-13616
    //------------

    // WDEV-18797 - start
    form.ctnDetails().lyrDetails().tabPage2().dyngrdService().getRows().clear(); //WDEV-20181
    form.ctnDetails().lyrDetails().tabPageCCG().grdCCG().getRows().clear();
    // WDEV-18797 - end
}
项目:openMAXIMS    文件:Logic.java   
private void setContractForSelectedSite() 
{
    if(!engine.hasRight(AppRight.CAN_VIEW_CLINICS_ACROSS_ALL_CONTRACTS))
    {
        OrganisationLiteVo rootOrg = null;

        if(form.cmbSite().getValue() instanceof ILocation)
        {
            rootOrg = domain.getOrganisationByLocation(form.cmbSite().getValue().getID());
            form.cmbContract().newRow(rootOrg, rootOrg.getName());
        }

        form.cmbContract().setValue(rootOrg);
    }
}
项目:openMAXIMS    文件:Logic.java   
@Override
protected void onCmbContractValueChanged() throws PresentationLogicException 
{
    form.cmbSite().clear();
    form.cmbProfile().clear();
    form.cmbSessions().clear();

    if(form.cmbContract().getValue() instanceof OrganisationLiteVo)
    {
        loadLocations(domain.listLocationByOrganisation(form.cmbContract().getValue()));
    }
}
项目:openMAXIMS    文件:ClinicListImpl.java   
public OrganisationLiteVo getOrganisationByLocation(Integer locationId) 
{
    if(locationId == null)
        throw new CodingRuntimeException("Cannot get Organisation by null location id.");

    Integer parentLocationId = getParentLocation(locationId);

    Organisation org = getOrganisationFromLoc(parentLocationId);

    return org != null ? OrganisationLiteVoAssembler.create(org) : null;
}
项目:openMAXIMS    文件:Logic.java   
protected void onFormOpen(Object[] args) throws ims.framework.exceptions.PresentationLogicException
{
    form.getLocalContext().setService(null);
    if(args != null )
    {
        if(args[0] != null && args[0] instanceof OrganisationLiteVo)
        {
            OrganisationLiteVo tempVo = (OrganisationLiteVo) args[0];
            form.qmbOrganisation().newRow(tempVo, tempVo.getName());
            form.qmbOrganisation().setValue(tempVo);
        }

    }

}
项目:openMAXIMS    文件:Logic.java   
private void setContractForSelectedSite() 
{
    if(!engine.hasRight(AppRight.CAN_VIEW_CLINICS_ACROSS_ALL_CONTRACTS))
    {
        OrganisationLiteVo rootOrg = null;

        if(form.cmbSite().getValue() instanceof ILocation)
        {
            rootOrg = domain.getOrganisationByLocation(form.cmbSite().getValue().getID());
            form.cmbContract().newRow(rootOrg, rootOrg.getName());
        }

        form.cmbContract().setValue(rootOrg);
    }
}
项目:openMAXIMS    文件:Logic.java   
@Override
protected void onCmbContractValueChanged() throws PresentationLogicException 
{
    form.cmbSite().clear();
    form.cmbProfile().clear();
    form.cmbSessions().clear();

    if(form.cmbContract().getValue() instanceof OrganisationLiteVo)
    {
        loadLocations(domain.listLocationByOrganisation(form.cmbContract().getValue()));
    }
}
项目:openMAXIMS    文件:ClinicListImpl.java   
public OrganisationLiteVo getOrganisationByLocation(Integer locationId) 
{
    if(locationId == null)
        throw new CodingRuntimeException("Cannot get Organisation by null location id.");

    Integer parentLocationId = getParentLocation(locationId);

    Organisation org = getOrganisationFromLoc(parentLocationId);

    return org != null ? OrganisationLiteVoAssembler.create(org) : null;
}
项目:openmaxims-linux    文件:Logic.java   
protected void onFormOpen(Object[] args) throws ims.framework.exceptions.PresentationLogicException
{
    form.getLocalContext().setService(null);
    if(args != null )
    {
        if(args[0] != null && args[0] instanceof OrganisationLiteVo)
        {
            OrganisationLiteVo tempVo = (OrganisationLiteVo) args[0];
            form.qmbOrganisation().newRow(tempVo, tempVo.getName());
            form.qmbOrganisation().setValue(tempVo);
        }

    }

}
项目:AvoinApotti    文件:Logic.java   
protected void onFormOpen(Object[] args) throws PresentationLogicException
{
    if(userIsNotMOS())
    {
        engine.showMessage("Logged on user must be a Member of Staff.");
        setFormReadOnly(true);
        return;
    }

    initialize();

    form.btnCancel().setEnabled(false);
    form.btnCancelSlot().setEnabled(false);
    form.btnSearch().setEnabled(true);

    form.getGlobalContext().RefMan.setCatsReferral(null);
    form.getGlobalContext().RefMan.setReferralContractTypeForPatient(null);//wdev-12682

    updateContextMenus();

    if (form.getGlobalContext().RefMan.getClinicListFilterIsNotNull())
    {
        if(!engine.hasRight(AppRight.CAN_VIEW_CLINICS_ACROSS_ALL_CONTRACTS) && form.getGlobalContext().RefMan.getClinicListFilter().getContract() != null)
        {
            form.cmbContract().newRow(form.getGlobalContext().RefMan.getClinicListFilter().getContract(), form.getGlobalContext().RefMan.getClinicListFilter().getContract().getName());
        }

        form.cmbContract().setValue(form.getGlobalContext().RefMan.getClinicListFilter().getContract());
        if(form.cmbContract().getValue() instanceof OrganisationLiteVo && engine.hasRight(AppRight.CAN_VIEW_CLINICS_ACROSS_ALL_CONTRACTS))
        {
            loadLocations(domain.listLocationByOrganisation(form.cmbContract().getValue()));
        }

        form.cmbSite().setValue(form.getGlobalContext().RefMan.getClinicListFilter().getLocation());
        /*if (form.cmbSite().getValue() == null && form.getGlobalContext().RefMan.getClinicListFilter().getLocationIsNotNull())
        {
            form.cmbSite().newRow(form.getGlobalContext().RefMan.getClinicListFilter().getLocation(), form.getGlobalContext().RefMan.getClinicListFilter().getLocation().getName());
            form.cmbSite().setValue(form.getGlobalContext().RefMan.getClinicListFilter().getLocation());
        }*/

        form.dteSessionDate().setValue(form.getGlobalContext().RefMan.getClinicListFilter().getClinicDateIsNotNull() ? form.getGlobalContext().RefMan.getClinicListFilter().getClinicDate() : null);
        siteOrDateChanged(false);

        form.cmbProfile().setValue(form.getGlobalContext().RefMan.getClinicListFilter().getProfileIsNotNull() ? form.getGlobalContext().RefMan.getClinicListFilter().getProfile() : null);

        if(form.cmbProfile().getValue() != null && form.dteSessionDate().getValue() != null)
            search();

        if (form.getGlobalContext().RefMan.getClinicListFilter().getSessionIsNotNull())
        {
            for(int i = 0 ; i < form.cmbSessions().size() ; i ++)
            {
                SessionShortVo voSession = (ims.scheduling.vo.SessionShortVo)form.cmbSessions().getValues().get(i);
                if (voSession.getID_Sch_Session().equals(form.getGlobalContext().RefMan.getClinicListFilter().getSession().getID_Sch_Session()))
                    form.cmbSessions().setValue(voSession);
            }
        }
        form.cmbStatus().setValue(form.getGlobalContext().RefMan.getClinicListFilter().getStatusIsNotNull() ? form.getGlobalContext().RefMan.getClinicListFilter().getStatus() : null);

        //  WDEV-13622
        if(form.getGlobalContext().RefMan.getClinicListFilter().getWasTimerOnIsNotNull() && form.getGlobalContext().RefMan.getClinicListFilter().getWasTimerOn())
        {
            form.getLocalContext().setWasTimerOn(true);
            toggleTimer(false);
        }

        performSearch();
    }
}
项目:AvoinApotti    文件:ReferralDetailsComponentImpl.java   
public OrganisationLiteVo getOrganisationByLocation(Integer locationId) 
{
    ClinicList impl = (ClinicList) getDomainImpl(ClinicListImpl.class);
    return impl.getOrganisationByLocation(locationId);
}
项目:AvoinApotti    文件:ReferralStatusListImpl.java   
public OrganisationLiteVo getOrganisationByLocation(Integer locationId) 
{
    ClinicList impl = (ClinicList) getDomainImpl(ClinicListImpl.class);
    return impl.getOrganisationByLocation(locationId);
}
项目:openMAXIMS    文件:Logic.java   
protected void onFormOpen(Object[] args) throws PresentationLogicException
{
    if(userIsNotMOS())
    {
        engine.showMessage("Logged on user must be a Member of Staff.");
        setFormReadOnly(true);
        return;
    }

    initialize();

    form.btnCancel().setEnabled(false);
    form.btnCancelSlot().setEnabled(false);
    form.btnSearch().setEnabled(true);

    form.getGlobalContext().RefMan.setCatsReferral(null);
    form.getGlobalContext().RefMan.setReferralContractTypeForPatient(null);//wdev-12682

    form.getGlobalContext().RefMan.setLinkedAppointmentsCollection(null);//WDEV-19543

    updateContextMenus();

    if (form.getGlobalContext().RefMan.getClinicListFilterIsNotNull())
    {
        if(!engine.hasRight(AppRight.CAN_VIEW_CLINICS_ACROSS_ALL_CONTRACTS) && form.getGlobalContext().RefMan.getClinicListFilter().getContract() != null)
        {
            form.cmbContract().newRow(form.getGlobalContext().RefMan.getClinicListFilter().getContract(), form.getGlobalContext().RefMan.getClinicListFilter().getContract().getName());
        }

        form.cmbContract().setValue(form.getGlobalContext().RefMan.getClinicListFilter().getContract());
        if(form.cmbContract().getValue() instanceof OrganisationLiteVo && engine.hasRight(AppRight.CAN_VIEW_CLINICS_ACROSS_ALL_CONTRACTS))
        {
            loadLocations(domain.listLocationByOrganisation(form.cmbContract().getValue()));
        }

        form.cmbSite().setValue(form.getGlobalContext().RefMan.getClinicListFilter().getLocation());
        /*if (form.cmbSite().getValue() == null && form.getGlobalContext().RefMan.getClinicListFilter().getLocationIsNotNull())
        {
            form.cmbSite().newRow(form.getGlobalContext().RefMan.getClinicListFilter().getLocation(), form.getGlobalContext().RefMan.getClinicListFilter().getLocation().getName());
            form.cmbSite().setValue(form.getGlobalContext().RefMan.getClinicListFilter().getLocation());
        }*/
        form.cmbListType().setValue(form.getGlobalContext().RefMan.getClinicListFilter().getListType());    //wdev-19419

        form.dteSessionDate().setValue(form.getGlobalContext().RefMan.getClinicListFilter().getClinicDateIsNotNull() ? form.getGlobalContext().RefMan.getClinicListFilter().getClinicDate() : null);
        siteOrDateChanged(false);

        form.cmbProfile().setValue(form.getGlobalContext().RefMan.getClinicListFilter().getProfileIsNotNull() ? form.getGlobalContext().RefMan.getClinicListFilter().getProfile() : null);

        if(form.cmbProfile().getValue() != null && form.dteSessionDate().getValue() != null)
            search();

        if (form.getGlobalContext().RefMan.getClinicListFilter().getSessionIsNotNull())
        {
            for(int i = 0 ; i < form.cmbSessions().size() ; i ++)
            {
                SessionShortVo voSession = (ims.scheduling.vo.SessionShortVo)form.cmbSessions().getValues().get(i);
                if (voSession.getID_Sch_Session().equals(form.getGlobalContext().RefMan.getClinicListFilter().getSession().getID_Sch_Session()))
                    form.cmbSessions().setValue(voSession);
            }
        }
        form.cmbStatus().setValue(form.getGlobalContext().RefMan.getClinicListFilter().getStatusIsNotNull() ? form.getGlobalContext().RefMan.getClinicListFilter().getStatus() : null);

        //  WDEV-13622
        if(form.getGlobalContext().RefMan.getClinicListFilter().getWasTimerOnIsNotNull() && form.getGlobalContext().RefMan.getClinicListFilter().getWasTimerOn())
        {
            form.getLocalContext().setWasTimerOn(true);
            toggleTimer(false);
        }

        performSearch();
    }
}
项目:openMAXIMS    文件:ReferralDetailsComponentImpl.java   
public OrganisationLiteVo getOrganisationByLocation(Integer locationId) 
{
    ClinicList impl = (ClinicList) getDomainImpl(ClinicListImpl.class);
    return impl.getOrganisationByLocation(locationId);
}
项目:openMAXIMS    文件:ReferralStatusListImpl.java   
public OrganisationLiteVo getOrganisationByLocation(Integer locationId) 
{
    ClinicList impl = (ClinicList) getDomainImpl(ClinicListImpl.class);
    return impl.getOrganisationByLocation(locationId);
}
项目:openMAXIMS    文件:Logic.java   
protected void onFormOpen(Object[] args) throws PresentationLogicException
{
    if(userIsNotMOS())
    {
        engine.showMessage("Logged on user must be a Member of Staff.");
        setFormReadOnly(true);
        return;
    }

    initialize();

    form.btnCancel().setEnabled(false);
    form.btnCancelSlot().setEnabled(false);
    form.btnSearch().setEnabled(true);

    form.getGlobalContext().RefMan.setCatsReferral(null);
    form.getGlobalContext().RefMan.setReferralContractTypeForPatient(null);//wdev-12682

    updateContextMenus();

    if (form.getGlobalContext().RefMan.getClinicListFilterIsNotNull())
    {
        if(!engine.hasRight(AppRight.CAN_VIEW_CLINICS_ACROSS_ALL_CONTRACTS) && form.getGlobalContext().RefMan.getClinicListFilter().getContract() != null)
        {
            form.cmbContract().newRow(form.getGlobalContext().RefMan.getClinicListFilter().getContract(), form.getGlobalContext().RefMan.getClinicListFilter().getContract().getName());
        }

        form.cmbContract().setValue(form.getGlobalContext().RefMan.getClinicListFilter().getContract());
        if(form.cmbContract().getValue() instanceof OrganisationLiteVo && engine.hasRight(AppRight.CAN_VIEW_CLINICS_ACROSS_ALL_CONTRACTS))
        {
            loadLocations(domain.listLocationByOrganisation(form.cmbContract().getValue()));
        }

        form.cmbSite().setValue(form.getGlobalContext().RefMan.getClinicListFilter().getLocation());
        /*if (form.cmbSite().getValue() == null && form.getGlobalContext().RefMan.getClinicListFilter().getLocationIsNotNull())
        {
            form.cmbSite().newRow(form.getGlobalContext().RefMan.getClinicListFilter().getLocation(), form.getGlobalContext().RefMan.getClinicListFilter().getLocation().getName());
            form.cmbSite().setValue(form.getGlobalContext().RefMan.getClinicListFilter().getLocation());
        }*/

        form.dteSessionDate().setValue(form.getGlobalContext().RefMan.getClinicListFilter().getClinicDateIsNotNull() ? form.getGlobalContext().RefMan.getClinicListFilter().getClinicDate() : null);
        siteOrDateChanged(false);

        form.cmbProfile().setValue(form.getGlobalContext().RefMan.getClinicListFilter().getProfileIsNotNull() ? form.getGlobalContext().RefMan.getClinicListFilter().getProfile() : null);

        if(form.cmbProfile().getValue() != null && form.dteSessionDate().getValue() != null)
            search();

        if (form.getGlobalContext().RefMan.getClinicListFilter().getSessionIsNotNull())
        {
            for(int i = 0 ; i < form.cmbSessions().size() ; i ++)
            {
                SessionShortVo voSession = (ims.scheduling.vo.SessionShortVo)form.cmbSessions().getValues().get(i);
                if (voSession.getID_Sch_Session().equals(form.getGlobalContext().RefMan.getClinicListFilter().getSession().getID_Sch_Session()))
                    form.cmbSessions().setValue(voSession);
            }
        }
        form.cmbStatus().setValue(form.getGlobalContext().RefMan.getClinicListFilter().getStatusIsNotNull() ? form.getGlobalContext().RefMan.getClinicListFilter().getStatus() : null);

        //  WDEV-13622
        if(form.getGlobalContext().RefMan.getClinicListFilter().getWasTimerOnIsNotNull() && form.getGlobalContext().RefMan.getClinicListFilter().getWasTimerOn())
        {
            form.getLocalContext().setWasTimerOn(true);
            toggleTimer(false);
        }

        performSearch();
    }
}
项目:openMAXIMS    文件:ReferralDetailsComponentImpl.java   
public OrganisationLiteVo getOrganisationByLocation(Integer locationId) 
{
    ClinicList impl = (ClinicList) getDomainImpl(ClinicListImpl.class);
    return impl.getOrganisationByLocation(locationId);
}
项目:openMAXIMS    文件:ReferralStatusListImpl.java   
public OrganisationLiteVo getOrganisationByLocation(Integer locationId) 
{
    ClinicList impl = (ClinicList) getDomainImpl(ClinicListImpl.class);
    return impl.getOrganisationByLocation(locationId);
}