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

项目:AvoinApotti    文件:ADTImpl.java   
private PendingEmergencyAdmissionVoCollection listPendingEmergencyAdmissions(DomainFactory factory, PatientShort patVo, PasEventVo pasEvent)
{
    String hql = "from PendingEmergencyAdmission pea " + 
                " where pea.pasEvent.patient.id = :pat " + 
                " and pea.pasEvent.id = :eventId ";

    ArrayList<String> labels = new ArrayList<String>();
    labels.add("pat");
    labels.add("eventId");

    ArrayList<Object> values = new ArrayList<Object>();
    values.add(patVo.getID_Patient());
    values.add(pasEvent.getID_PASEvent());

    return PendingEmergencyAdmissionVoAssembler.createPendingEmergencyAdmissionVoCollectionFromPendingEmergencyAdmission(getDomainFactory().find(hql.toString(), labels, values));
}
项目:openMAXIMS    文件:ADTImpl.java   
private PendingEmergencyAdmissionVoCollection listPendingEmergencyAdmissions(DomainFactory factory, PatientShort patVo, PasEventVo pasEvent)
{
    String hql = "from PendingEmergencyAdmission pea " + 
                " where pea.pasEvent.patient.id = :pat " + 
                " and pea.pasEvent.id = :eventId ";

    ArrayList<String> labels = new ArrayList<String>();
    labels.add("pat");
    labels.add("eventId");

    ArrayList<Object> values = new ArrayList<Object>();
    values.add(patVo.getID_Patient());
    values.add(pasEvent.getID_PASEvent());

    return PendingEmergencyAdmissionVoAssembler.createPendingEmergencyAdmissionVoCollectionFromPendingEmergencyAdmission(getDomainFactory().find(hql.toString(), labels, values));
}
项目:openMAXIMS    文件:ADTImpl.java   
private PendingEmergencyAdmissionVoCollection listPendingEmergencyAdmissions(DomainFactory factory, PatientShort patVo, PasEventVo pasEvent)
{
    String hql = "from PendingEmergencyAdmission pea " + 
                " where pea.pasEvent.patient.id = :pat " + 
                " and pea.pasEvent.id = :eventId ";

    ArrayList<String> labels = new ArrayList<String>();
    labels.add("pat");
    labels.add("eventId");

    ArrayList<Object> values = new ArrayList<Object>();
    values.add(patVo.getID_Patient());
    values.add(pasEvent.getID_PASEvent());

    return PendingEmergencyAdmissionVoAssembler.createPendingEmergencyAdmissionVoCollectionFromPendingEmergencyAdmission(getDomainFactory().find(hql.toString(), labels, values));
}
项目:openmaxims-linux    文件:ADTImpl.java   
private PendingEmergencyAdmissionVoCollection listPendingEmergencyAdmissions(DomainFactory factory, PatientShort patVo, PasEventVo pasEvent)
{
    String hql = "from PendingEmergencyAdmission pea " + 
                " where pea.pasEvent.patient.id = :pat " + 
                " and pea.pasEvent.id = :eventId ";

    ArrayList<String> labels = new ArrayList<String>();
    labels.add("pat");
    labels.add("eventId");

    ArrayList<Object> values = new ArrayList<Object>();
    values.add(patVo.getID_Patient());
    values.add(pasEvent.getID_PASEvent());

    return PendingEmergencyAdmissionVoAssembler.createPendingEmergencyAdmissionVoCollectionFromPendingEmergencyAdmission(getDomainFactory().find(hql.toString(), labels, values));
}