Java 类ims.nursing.vo.PlanOfCareRefVo 实例源码

项目:AvoinApotti    文件:PlanOfCareImpl.java   
public PlanOfCareVo getPlanOfCare(PlanOfCareRefVo voPlanOfCareRef) 
{
    if(voPlanOfCareRef == null || voPlanOfCareRef.getID_PlanOfCare() == null)
    {
        throw new DomainRuntimeException("Invalid record");
    }

    DomainFactory factory = getDomainFactory();
    PlanOfCare domainObject = (PlanOfCare)factory.getDomainObject(voPlanOfCareRef);

    return PlanOfCareVoAssembler.create(domainObject);
}
项目:openMAXIMS    文件:PlanOfCareImpl.java   
public PlanOfCareVo getPlanOfCare(PlanOfCareRefVo voPlanOfCareRef) 
{
    if(voPlanOfCareRef == null || voPlanOfCareRef.getID_PlanOfCare() == null)
    {
        throw new DomainRuntimeException("Invalid record");
    }

    DomainFactory factory = getDomainFactory();
    PlanOfCare domainObject = (PlanOfCare)factory.getDomainObject(voPlanOfCareRef);

    return PlanOfCareVoAssembler.create(domainObject);
}
项目:openMAXIMS    文件:PlanOfCareImpl.java   
public PlanOfCareVo getPlanOfCare(PlanOfCareRefVo voPlanOfCareRef) 
{
    if(voPlanOfCareRef == null || voPlanOfCareRef.getID_PlanOfCare() == null)
    {
        throw new DomainRuntimeException("Invalid record");
    }

    DomainFactory factory = getDomainFactory();
    PlanOfCare domainObject = (PlanOfCare)factory.getDomainObject(voPlanOfCareRef);

    return PlanOfCareVoAssembler.create(domainObject);
}
项目:openmaxims-linux    文件:PlanOfCareImpl.java   
public PlanOfCareVo getPlanOfCare(PlanOfCareRefVo voPlanOfCareRef) 
{
    if(voPlanOfCareRef == null || voPlanOfCareRef.getID_PlanOfCare() == null)
    {
        throw new DomainRuntimeException("Invalid record");
    }

    DomainFactory factory = getDomainFactory();
    PlanOfCare domainObject = (PlanOfCare)factory.getDomainObject(voPlanOfCareRef);

    return PlanOfCareVoAssembler.create(domainObject);
}
项目:AvoinApotti    文件:PlanOfCareImpl.java   
public PlanOfCareHistoryVoCollection listDailyPatientProgressHistory(CareContextRefVo voCareContextRef, PlanOfCareRefVo record)
{
    return PlanOfCareHistoryVoAssembler.createPlanOfCareHistoryVoCollectionFromPlanOfCareHistory(
            getDomainFactory().find("select answerHistory from PlanOfCare poc where poc.careContext.id = :careContext and poc.id = :pocID", new String[] {"careContext","pocID"}, new Object[] {voCareContextRef.getID_CareContext(), record.getID_PlanOfCare()})); 
}
项目:AvoinApotti    文件:PlanOfCareImpl.java   
public PlanOfCareActionsVoCollection listPocActions(CareContextRefVo voCareContextRef, PlanOfCareRefVo record) 
{
    return PlanOfCareActionsVoAssembler.createPlanOfCareActionsVoCollectionFromPlanOfCareActions(
            getDomainFactory().find("select actions from PlanOfCare poc where poc.careContext.id = :careContext and poc.id = :pocID", new String[] {"careContext","pocID"}, new Object[] {voCareContextRef.getID_CareContext(), record.getID_PlanOfCare()}));
}
项目:openMAXIMS    文件:PlanOfCareImpl.java   
public PlanOfCareHistoryVoCollection listDailyPatientProgressHistory(CareContextRefVo voCareContextRef, PlanOfCareRefVo record)
{
    return PlanOfCareHistoryVoAssembler.createPlanOfCareHistoryVoCollectionFromPlanOfCareHistory(
            getDomainFactory().find("select answerHistory from PlanOfCare poc where poc.careContext.id = :careContext and poc.id = :pocID", new String[] {"careContext","pocID"}, new Object[] {voCareContextRef.getID_CareContext(), record.getID_PlanOfCare()})); 
}
项目:openMAXIMS    文件:PlanOfCareImpl.java   
public PlanOfCareActionsVoCollection listPocActions(CareContextRefVo voCareContextRef, PlanOfCareRefVo record) 
{
    return PlanOfCareActionsVoAssembler.createPlanOfCareActionsVoCollectionFromPlanOfCareActions(
            getDomainFactory().find("select actions from PlanOfCare poc where poc.careContext.id = :careContext and poc.id = :pocID", new String[] {"careContext","pocID"}, new Object[] {voCareContextRef.getID_CareContext(), record.getID_PlanOfCare()}));
}
项目:openMAXIMS    文件:PlanOfCareImpl.java   
public PlanOfCareHistoryVoCollection listDailyPatientProgressHistory(CareContextRefVo voCareContextRef, PlanOfCareRefVo record)
{
    return PlanOfCareHistoryVoAssembler.createPlanOfCareHistoryVoCollectionFromPlanOfCareHistory(
            getDomainFactory().find("select answerHistory from PlanOfCare poc where poc.careContext.id = :careContext and poc.id = :pocID", new String[] {"careContext","pocID"}, new Object[] {voCareContextRef.getID_CareContext(), record.getID_PlanOfCare()})); 
}
项目:openMAXIMS    文件:PlanOfCareImpl.java   
public PlanOfCareActionsVoCollection listPocActions(CareContextRefVo voCareContextRef, PlanOfCareRefVo record) 
{
    return PlanOfCareActionsVoAssembler.createPlanOfCareActionsVoCollectionFromPlanOfCareActions(
            getDomainFactory().find("select actions from PlanOfCare poc where poc.careContext.id = :careContext and poc.id = :pocID", new String[] {"careContext","pocID"}, new Object[] {voCareContextRef.getID_CareContext(), record.getID_PlanOfCare()}));
}
项目:openmaxims-linux    文件:PlanOfCareImpl.java   
public PlanOfCareHistoryVoCollection listDailyPatientProgressHistory(CareContextRefVo voCareContextRef, PlanOfCareRefVo record)
{
    return PlanOfCareHistoryVoAssembler.createPlanOfCareHistoryVoCollectionFromPlanOfCareHistory(
            getDomainFactory().find("select answerHistory from PlanOfCare poc where poc.careContext.id = :careContext and poc.id = :pocID", new String[] {"careContext","pocID"}, new Object[] {voCareContextRef.getID_CareContext(), record.getID_PlanOfCare()})); 
}
项目:openmaxims-linux    文件:PlanOfCareImpl.java   
public PlanOfCareActionsVoCollection listPocActions(CareContextRefVo voCareContextRef, PlanOfCareRefVo record) 
{
    return PlanOfCareActionsVoAssembler.createPlanOfCareActionsVoCollectionFromPlanOfCareActions(
            getDomainFactory().find("select actions from PlanOfCare poc where poc.careContext.id = :careContext and poc.id = :pocID", new String[] {"careContext","pocID"}, new Object[] {voCareContextRef.getID_CareContext(), record.getID_PlanOfCare()}));
}