public PatientDocumentSearchListVo getPatientDocumentSearchListVo(PatientDocumentRefVo patientDocumentId) { if(patientDocumentId == null || !patientDocumentId.getID_PatientDocumentIsNotNull()) { throw new CodingRuntimeException("Cannot get PatientDocument on null PatientDocumentId."); } return PatientDocumentSearchListVoAssembler.create((PatientDocument) getDomainFactory().getDomainObject(PatientDocument.class, patientDocumentId.getID_PatientDocument())); }