use of org.openehealth.ipf.commons.ihe.xds.core.transform.requests.query.FindFoldersQueryTransformer in project ipf by oehf.
the class FindFoldersQueryTransformerTest method setUp.
@BeforeEach
public void setUp() {
transformer = new FindFoldersQueryTransformer();
query = new FindFoldersQuery();
query.setPatientId(new Identifiable("id1", new AssigningAuthority("uni1", "uniType1")));
query.getLastUpdateTime().setFrom("20150102030405");
query.getLastUpdateTime().setTo("20150102030406");
var codes = new QueryList<Code>();
codes.getOuterList().add(Arrays.asList(new Code("code7", null, "scheme7"), new Code("code8", null, "scheme8")));
codes.getOuterList().add(Collections.singletonList(new Code("code9", null, "scheme9")));
query.setCodes(codes);
query.setStatus(Arrays.asList(AvailabilityStatus.APPROVED, AvailabilityStatus.SUBMITTED));
query.setHomeCommunityId("12.21.41");
ebXML = new EbXMLFactory30().createAdhocQueryRequest();
}
Aggregations