use of org.openehealth.ipf.commons.ihe.xds.core.transform.requests.query.GetSubmissionSetAndContentsQueryTransformer in project ipf by oehf.
the class GetSubmissionSetAndContentsQueryTransformerTest method setUp.
@BeforeEach
public void setUp() {
transformer = new GetSubmissionSetAndContentsQueryTransformer();
query = new GetSubmissionSetAndContentsQuery();
query.setUuid("uuid1");
query.setUniqueId("uniqueId1");
query.setHomeCommunityId("home");
var confidentialityCodes = new QueryList<Code>();
confidentialityCodes.getOuterList().add(Arrays.asList(new Code("code10", null, "scheme10"), new Code("code11", null, "scheme11")));
confidentialityCodes.getOuterList().add(Collections.singletonList(new Code("code12", null, "scheme12")));
query.setConfidentialityCodes(confidentialityCodes);
query.setFormatCodes(Arrays.asList(new Code("code13", null, "scheme13"), new Code("code14", null, "scheme14")));
query.setDocumentEntryTypes(Arrays.asList(DocumentEntryType.STABLE, DocumentEntryType.ON_DEMAND));
ebXML = new EbXMLFactory30().createAdhocQueryRequest();
}
Aggregations