Java 类ims.clinical.vo.domain.NotingDetailsVoAssembler 实例源码

项目:AvoinApotti    文件:ClinicalNoteDrawingImpl.java   
public NotingDetailsVo saveNotingDetails(NotingDetailsVo notingDetailVo) throws StaleObjectException 
{
    // Ensure the value object has been validated
    if (!notingDetailVo.isValidated())
        throw new DomainRuntimeException("Noting Details has not been validated");

    DomainFactory factory = getDomainFactory();
    NotingDetails doNoting = NotingDetailsVoAssembler.extractNotingDetails(factory, notingDetailVo);
    CareContext doCarecontext = getCurrentCareContext(notingDetailVo.getCareContext());//WDEV-19027
    doNoting.setCareContext(doCarecontext);//WDEV-19027

    factory.save(doNoting);

    return NotingDetailsVoAssembler.create(doNoting);
}
项目:openMAXIMS    文件:ClinicalNoteDrawingImpl.java   
public NotingDetailsVo saveNotingDetails(NotingDetailsVo notingDetailVo) throws StaleObjectException 
{
    // Ensure the value object has been validated
    if (!notingDetailVo.isValidated())
        throw new DomainRuntimeException("Noting Details has not been validated");

    DomainFactory factory = getDomainFactory();
    NotingDetails doNoting = NotingDetailsVoAssembler.extractNotingDetails(factory, notingDetailVo);
    CareContext doCarecontext = getCurrentCareContext(notingDetailVo.getCareContext());//WDEV-19027
    doNoting.setCareContext(doCarecontext);//WDEV-19027

    factory.save(doNoting);

    return NotingDetailsVoAssembler.create(doNoting);
}
项目:openMAXIMS    文件:ClinicalNoteDrawingImpl.java   
public NotingDetailsVo saveNotingDetails(NotingDetailsVo notingDetailVo) throws StaleObjectException 
{
    // Ensure the value object has been validated
    if (!notingDetailVo.isValidated())
        throw new DomainRuntimeException("Noting Details has not been validated");

    DomainFactory factory = getDomainFactory();
    NotingDetails doNoting = NotingDetailsVoAssembler.extractNotingDetails(factory, notingDetailVo);
    CareContext doCarecontext = getCurrentCareContext(notingDetailVo.getCareContext());//WDEV-19027
    doNoting.setCareContext(doCarecontext);//WDEV-19027

    factory.save(doNoting);

    return NotingDetailsVoAssembler.create(doNoting);
}
项目:openmaxims-linux    文件:ClinicalNoteDrawingImpl.java   
public NotingDetailsVo saveNotingDetails(NotingDetailsVo notingDetailVo) throws StaleObjectException 
{
    // Ensure the value object has been validated
    if (!notingDetailVo.isValidated())
        throw new DomainRuntimeException("Noting Details has not been validated");

    DomainFactory factory = getDomainFactory();
    NotingDetails doNoting = NotingDetailsVoAssembler.extractNotingDetails(factory, notingDetailVo);
    CareContext doCarecontext = getCurrentCareContext(notingDetailVo.getCareContext());//WDEV-19027
    doNoting.setCareContext(doCarecontext);//WDEV-19027

    factory.save(doNoting);

    return NotingDetailsVoAssembler.create(doNoting);
}