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

项目:AvoinApotti    文件:ChemotherapyDetailsImpl.java   
/**
 * list Chemotherapies for Care Context
 */
public ChemotherapyDetailsListVoCollection listChemotherapies(CareSpellRefVo voCareSpellRef) 
{
    if (voCareSpellRef == null)
        throw new RuntimeException("Cannot list Chemotherapy Details for null Care Spell");

    StringBuilder query = new StringBuilder();
    String careSpellId = "CARE_SPELL_ID";
    query.append("from ChemotherapyDetails as c1_1 where c1_1.careContext.episodeOfCare.careSpell.id = :" + careSpellId);
    List list = getDomainFactory().find(query.toString(), careSpellId, voCareSpellRef.getID_CareSpell());

    return ChemotherapyDetailsListVoAssembler.createChemotherapyDetailsListVoCollectionFromChemotherapyDetails(list);
}
项目:openMAXIMS    文件:ChemotherapyDetailsImpl.java   
/**
 * list Chemotherapies for Care Context
 */
public ChemotherapyDetailsListVoCollection listChemotherapies(CareSpellRefVo voCareSpellRef) 
{
    if (voCareSpellRef == null)
        throw new RuntimeException("Cannot list Chemotherapy Details for null Care Spell");

    StringBuilder query = new StringBuilder();
    String careSpellId = "CARE_SPELL_ID";
    query.append("from ChemotherapyDetails as c1_1 where c1_1.careContext.episodeOfCare.careSpell.id = :" + careSpellId);
    List list = getDomainFactory().find(query.toString(), careSpellId, voCareSpellRef.getID_CareSpell());

    return ChemotherapyDetailsListVoAssembler.createChemotherapyDetailsListVoCollectionFromChemotherapyDetails(list);
}
项目:openMAXIMS    文件:ChemotherapyDetailsImpl.java   
/**
 * list Chemotherapies for Care Context
 */
public ChemotherapyDetailsListVoCollection listChemotherapies(CareSpellRefVo voCareSpellRef) 
{
    if (voCareSpellRef == null)
        throw new RuntimeException("Cannot list Chemotherapy Details for null Care Spell");

    StringBuilder query = new StringBuilder();
    String careSpellId = "CARE_SPELL_ID";
    query.append("from ChemotherapyDetails as c1_1 where c1_1.careContext.episodeOfCare.careSpell.id = :" + careSpellId);
    List list = getDomainFactory().find(query.toString(), careSpellId, voCareSpellRef.getID_CareSpell());

    return ChemotherapyDetailsListVoAssembler.createChemotherapyDetailsListVoCollectionFromChemotherapyDetails(list);
}
项目:openmaxims-linux    文件:ChemotherapyDetailsImpl.java   
/**
 * list Chemotherapies for Care Context
 */
public ChemotherapyDetailsListVoCollection listChemotherapies(CareSpellRefVo voCareSpellRef) 
{
    if (voCareSpellRef == null)
        throw new RuntimeException("Cannot list Chemotherapy Details for null Care Spell");

    StringBuilder query = new StringBuilder();
    String careSpellId = "CARE_SPELL_ID";
    query.append("from ChemotherapyDetails as c1_1 where c1_1.careContext.episodeOfCare.careSpell.id = :" + careSpellId);
    List list = getDomainFactory().find(query.toString(), careSpellId, voCareSpellRef.getID_CareSpell());

    return ChemotherapyDetailsListVoAssembler.createChemotherapyDetailsListVoCollectionFromChemotherapyDetails(list);
}