public PatientDiagnosisVo getDiagnosisVo(PatientDiagnosisRefVo patdiagrefVo) { if(patdiagrefVo == null) throw new DomainRuntimeException("Cannot get PatientDiagnosisVo for null PatientDiagnosisRefVo"); DomainFactory factory = getDomainFactory(); PatientDiagnosis doPatientDiagnosis = (PatientDiagnosis)factory.getDomainObject(PatientDiagnosis.class,patdiagrefVo.getID_PatientDiagnosis()); return PatientDiagnosisVoAssembler.create(doPatientDiagnosis); }
/** * Get OPDEDVo */ public ims.core.vo.PatientDiagnosisVo getDiagnosisVo(ims.core.clinical.vo.PatientDiagnosisRefVo patdiagrefVo) { if(patdiagrefVo == null) throw new DomainRuntimeException("Cannot get PatientDiagnosisVo for null PatientDiagnosisRefVo"); DomainFactory factory = getDomainFactory(); PatientDiagnosis doPatientDiagnosis = (PatientDiagnosis)factory.getDomainObject(PatientDiagnosis.class,patdiagrefVo.getID_PatientDiagnosis()); return PatientDiagnosisVoAssembler.create(doPatientDiagnosis); }