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

项目:openMAXIMS    文件:SECSImpl.java   
public PatientSECSVo savePatientSECS(PatientSECSVo patientSecs) throws StaleObjectException {
    if(!patientSecs.isValidated())
        throw new DomainRuntimeException("This MUST has not been validated");

    DomainFactory factory = getDomainFactory();
    PatientSECS doPatientSECS = PatientSECSVoAssembler.extractPatientSECS(factory, patientSecs);
    factory.save(doPatientSECS);
    //WDEV-22205 code temporarily removed
    /**if (patientSecs.getOBSProtocolTypeIsNotNull())
    {
        InpatientEpisode curentInpatEpDO = getCurrentInpatientEpisode(factory, doPatientSECS.getCareContext());

        if (curentInpatEpDO != null)
        {
            curentInpatEpDO.setLatestSECSScore(doPatientSECS);
            factory.save(curentInpatEpDO);
        }
    }*/
    return PatientSECSVoAssembler.create(doPatientSECS);
}
项目:AvoinApotti    文件:SECSImpl.java   
public PatientSECSVo savePatientSECS(PatientSECSVo patientSecs) throws StaleObjectException {
    if(!patientSecs.isValidated())
        throw new DomainRuntimeException("This MUST has not been validated");

    DomainFactory factory = getDomainFactory();
    PatientSECS doPatientSECS = PatientSECSVoAssembler.extractPatientSECS(factory, patientSecs);
    factory.save(doPatientSECS);
    return PatientSECSVoAssembler.create(doPatientSECS);
}
项目:openMAXIMS    文件:SECSImpl.java   
public PatientSECSVo savePatientSECS(PatientSECSVo patientSecs) throws StaleObjectException {
    if(!patientSecs.isValidated())
        throw new DomainRuntimeException("This MUST has not been validated");

    DomainFactory factory = getDomainFactory();
    PatientSECS doPatientSECS = PatientSECSVoAssembler.extractPatientSECS(factory, patientSecs);
    factory.save(doPatientSECS);
    return PatientSECSVoAssembler.create(doPatientSECS);
}
项目:openmaxims-linux    文件:SECSImpl.java   
public PatientSECSVo savePatientSECS(PatientSECSVo patientSecs) throws StaleObjectException {
    if(!patientSecs.isValidated())
        throw new DomainRuntimeException("This MUST has not been validated");

    DomainFactory factory = getDomainFactory();
    PatientSECS doPatientSECS = PatientSECSVoAssembler.extractPatientSECS(factory, patientSecs);
    factory.save(doPatientSECS);
    return PatientSECSVoAssembler.create(doPatientSECS);
}