public void addDocumentParticipantObject ( String documentUniqueId , String repositoryUniqueId , String homeCommunityId ) { List < TypeValuePairType > tvp = new LinkedList <> ( ) ; //SEK - 10/19/2011 - added check for empty or null, RE: Issue Tracker artifact artf2295 (was Issue 135) if ( ! EventUtils . isEmptyOrNull ( repositoryUniqueId ) ) { tvp . add ( getTypeValuePair ( "Repository Unique Id" , repositoryUniqueId . getBytes ( ) ) ) ; } if ( ! EventUtils . isEmptyOrNull ( homeCommunityId ) ) { tvp . add ( getTypeValuePair ( "ihe:homeCommunityID" , homeCommunityId . getBytes ( ) ) ) ; } addParticipantObjectIdentification ( new RFC3881ParticipantObjectCodes . RFC3881ParticipantObjectIDTypeCodes . ReportNumber ( ) , null , null , tvp , documentUniqueId , RFC3881ParticipantObjectTypeCodes . SYSTEM , RFC3881ParticipantObjectTypeRoleCodes . REPORT , null , null ) ; }
Adds a Participant Object representing a document for XDS Exports