Search in sources :

Example 1 with EbXMLFactory30

use of org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.EbXMLFactory30 in project ipf by oehf.

the class RegistryResponseValidatorTest method setUp.

@BeforeEach
public void setUp() {
    validator = new RegistryResponseValidator();
    EbXMLFactory factory = new EbXMLFactory30();
    transformer = new ResponseTransformer(factory);
    response = SampleData.createResponse();
}
Also used : EbXMLFactory30(org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.EbXMLFactory30) ResponseTransformer(org.openehealth.ipf.commons.ihe.xds.core.transform.responses.ResponseTransformer) EbXMLFactory(org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLFactory) BeforeEach(org.junit.jupiter.api.BeforeEach)

Example 2 with EbXMLFactory30

use of org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.EbXMLFactory30 in project ipf by oehf.

the class RetrieveImagingDocumentSetRequestValidatorTest method setUp.

@BeforeEach
public void setUp() {
    validator = new RetrieveImagingDocumentSetRequestValidator();
    EbXMLFactory factory = new EbXMLFactory30();
    transformer = new RetrieveImagingDocumentSetRequestTransformer(factory);
    request = SampleData.createRetrieveImagingDocumentSet();
}
Also used : EbXMLFactory30(org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.EbXMLFactory30) RetrieveImagingDocumentSetRequestTransformer(org.openehealth.ipf.commons.ihe.xds.core.transform.requests.RetrieveImagingDocumentSetRequestTransformer) EbXMLFactory(org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLFactory) BeforeEach(org.junit.jupiter.api.BeforeEach)

Example 3 with EbXMLFactory30

use of org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.EbXMLFactory30 in project ipf by oehf.

the class XcdrRequestTest method before.

@BeforeEach
public void before() {
    validator = new ProvideAndRegisterDocumentSetRequestValidator();
    transformer = new ProvideAndRegisterDocumentSetTransformer(new EbXMLFactory30());
}
Also used : EbXMLFactory30(org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.EbXMLFactory30) ProvideAndRegisterDocumentSetTransformer(org.openehealth.ipf.commons.ihe.xds.core.transform.requests.ProvideAndRegisterDocumentSetTransformer) BeforeEach(org.junit.jupiter.api.BeforeEach)

Example 4 with EbXMLFactory30

use of org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.EbXMLFactory30 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();
}
Also used : EbXMLFactory30(org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.EbXMLFactory30) GetSubmissionSetAndContentsQueryTransformer(org.openehealth.ipf.commons.ihe.xds.core.transform.requests.query.GetSubmissionSetAndContentsQueryTransformer) GetSubmissionSetAndContentsQuery(org.openehealth.ipf.commons.ihe.xds.core.requests.query.GetSubmissionSetAndContentsQuery) QueryList(org.openehealth.ipf.commons.ihe.xds.core.requests.query.QueryList) Code(org.openehealth.ipf.commons.ihe.xds.core.metadata.Code) BeforeEach(org.junit.jupiter.api.BeforeEach)

Example 5 with EbXMLFactory30

use of org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.EbXMLFactory30 in project ipf by oehf.

the class GetSubmissionSetsQueryTransformerTest method setUp.

@BeforeEach
public void setUp() {
    transformer = new GetSubmissionSetsQueryTransformer();
    query = new GetSubmissionSetsQuery();
    query.setUuids(Arrays.asList("uuid1", "uuid2"));
    query.setHomeCommunityId("home");
    ebXML = new EbXMLFactory30().createAdhocQueryRequest();
}
Also used : GetSubmissionSetsQuery(org.openehealth.ipf.commons.ihe.xds.core.requests.query.GetSubmissionSetsQuery) EbXMLFactory30(org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.EbXMLFactory30) GetSubmissionSetsQueryTransformer(org.openehealth.ipf.commons.ihe.xds.core.transform.requests.query.GetSubmissionSetsQueryTransformer) BeforeEach(org.junit.jupiter.api.BeforeEach)

Aggregations

EbXMLFactory30 (org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.EbXMLFactory30)36 BeforeEach (org.junit.jupiter.api.BeforeEach)34 Code (org.openehealth.ipf.commons.ihe.xds.core.metadata.Code)11 EbXMLFactory (org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLFactory)10 AssigningAuthority (org.openehealth.ipf.commons.ihe.xds.core.metadata.AssigningAuthority)9 Identifiable (org.openehealth.ipf.commons.ihe.xds.core.metadata.Identifiable)9 QueryList (org.openehealth.ipf.commons.ihe.xds.core.requests.query.QueryList)6 ProvideAndRegisterDocumentSetTransformer (org.openehealth.ipf.commons.ihe.xds.core.transform.requests.ProvideAndRegisterDocumentSetTransformer)4 RetrieveDocumentSetRequestTransformer (org.openehealth.ipf.commons.ihe.xds.core.transform.requests.RetrieveDocumentSetRequestTransformer)2 RetrieveImagingDocumentSetRequestTransformer (org.openehealth.ipf.commons.ihe.xds.core.transform.requests.RetrieveImagingDocumentSetRequestTransformer)2 RetrieveDocumentSetResponseTransformer (org.openehealth.ipf.commons.ihe.xds.core.transform.responses.RetrieveDocumentSetResponseTransformer)2 Test (org.junit.jupiter.api.Test)1 EbXMLExtrinsicObject30 (org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.EbXMLExtrinsicObject30)1 FindDispensesQuery (org.openehealth.ipf.commons.ihe.xds.core.requests.query.FindDispensesQuery)1 FindFoldersForMultiplePatientsQuery (org.openehealth.ipf.commons.ihe.xds.core.requests.query.FindFoldersForMultiplePatientsQuery)1 FindFoldersQuery (org.openehealth.ipf.commons.ihe.xds.core.requests.query.FindFoldersQuery)1 FindMedicationAdministrationsQuery (org.openehealth.ipf.commons.ihe.xds.core.requests.query.FindMedicationAdministrationsQuery)1 FindMedicationListQuery (org.openehealth.ipf.commons.ihe.xds.core.requests.query.FindMedicationListQuery)1 FindMedicationTreatmentPlansQuery (org.openehealth.ipf.commons.ihe.xds.core.requests.query.FindMedicationTreatmentPlansQuery)1 FindPrescriptionsForDispenseQuery (org.openehealth.ipf.commons.ihe.xds.core.requests.query.FindPrescriptionsForDispenseQuery)1