use of org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.EbXMLFactory30 in project ipf by oehf.
the class GetFolderAndContentsQueryTransformerTest method setUp.
@BeforeEach
public void setUp() {
transformer = new GetFolderAndContentsQueryTransformer();
query = new GetFolderAndContentsQuery();
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(Collections.singletonList(DocumentEntryType.STABLE));
ebXML = new EbXMLFactory30().createAdhocQueryRequest();
}
use of org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.EbXMLFactory30 in project ipf by oehf.
the class GetFoldersForDocumentQueryTransformerTest method setUp.
@BeforeEach
public void setUp() {
transformer = new GetFoldersForDocumentQueryTransformer();
query = new GetFoldersForDocumentQuery();
query.setUuid("uuid1");
query.setUniqueId("uniqueId1");
query.setHomeCommunityId("home");
ebXML = new EbXMLFactory30().createAdhocQueryRequest();
}
use of org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.EbXMLFactory30 in project ipf by oehf.
the class GetFoldersQueryTransformerTest method setUp.
@BeforeEach
public void setUp() {
transformer = new GetFoldersQueryTransformer();
query = new GetFoldersQuery();
query.setUuids(Arrays.asList("uuid1", "uuid2"));
query.setUniqueIds(Arrays.asList("uniqueId1", "uniqueId2"));
query.setHomeCommunityId("home");
ebXML = new EbXMLFactory30().createAdhocQueryRequest();
}
use of org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.EbXMLFactory30 in project ipf by oehf.
the class GetAllQueryTransformerTest method setUp.
@BeforeEach
public void setUp() {
transformer = new GetAllQueryTransformer();
query = new GetAllQuery();
query.setPatientId(new Identifiable("id1", new AssigningAuthority("uni1", "uniType1")));
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.setStatusDocuments(Arrays.asList(AvailabilityStatus.APPROVED, AvailabilityStatus.SUBMITTED));
query.setStatusFolders(Collections.singletonList(AvailabilityStatus.DEPRECATED));
query.setStatusSubmissionSets(Collections.singletonList(AvailabilityStatus.SUBMITTED));
query.setHomeCommunityId("12.21.41");
query.setDocumentEntryTypes(Collections.singletonList(DocumentEntryType.STABLE));
ebXML = new EbXMLFactory30().createAdhocQueryRequest();
}
use of org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.EbXMLFactory30 in project ipf by oehf.
the class GetAssociationsQueryTransformerTest method setUp.
@BeforeEach
public void setUp() {
transformer = new GetAssociationsQueryTransformer();
query = new GetAssociationsQuery();
query.setUuids(Arrays.asList("uuid1", "uuid2"));
query.setHomeCommunityId("home");
ebXML = new EbXMLFactory30().createAdhocQueryRequest();
}
Aggregations