use of org.openehealth.ipf.commons.ihe.xds.core.transform.requests.query.FindSubmissionSetsQueryTransformer in project ipf by oehf.
the class FindSubmissionSetsQueryTransformerTest method setUp.
@BeforeEach
public void setUp() {
transformer = new FindSubmissionSetsQueryTransformer();
query = new FindSubmissionSetsQuery();
query.setPatientId(new Identifiable("id1", new AssigningAuthority("uni1", "uniType1")));
query.setContentTypeCodes(Arrays.asList(new Code("code1", null, "system1"), new Code("code2", null, "system2")));
query.getSubmissionTime().setFrom("20150102030405");
query.getSubmissionTime().setTo("20150102030406");
query.setAuthorPerson("per'son1");
query.setStatus(Arrays.asList(AvailabilityStatus.APPROVED, AvailabilityStatus.SUBMITTED));
query.setHomeCommunityId("12.21.41");
ebXML = new EbXMLFactory30().createAdhocQueryRequest();
}
Aggregations