public PatientDocumentforDocumentWorklistVo getPatientDocumentforDocumentWorklist(PatientDocumentRefVo patientDocumentRef) { if (patientDocumentRef == null || patientDocumentRef.getID_PatientDocument() == null) { throw new CodingRuntimeException("Cannot get PatientDocument on null Id "); } DomainObject domainObject = getDomainFactory().getDomainObject(PatientDocument.class, patientDocumentRef.getID_PatientDocument()); return PatientDocumentforDocumentWorklistVoAssembler.create((PatientDocument) domainObject); }