Search in sources :

Example 1 with ListRelationsForCertificateType

use of se.inera.intyg.clinicalprocess.healthcond.certificate.listrelationsforcertificate.v1.ListRelationsForCertificateType in project webcert by sklintyg.

the class IntygRelationHelperImpl method getRelationsFromIntygstjanst.

private ListRelationsForCertificateResponseType getRelationsFromIntygstjanst(List<String> intygIds) {
    if (intygIds == null || intygIds.size() == 0) {
        return new ListRelationsForCertificateResponseType();
    }
    ListRelationsForCertificateType request = new ListRelationsForCertificateType();
    request.getIntygsId().addAll(intygIds);
    return listRelationsForCertificateResponderInterface.listRelationsForCertificate(logicalAddress, request);
}
Also used : ListRelationsForCertificateResponseType(se.inera.intyg.clinicalprocess.healthcond.certificate.listrelationsforcertificate.v1.ListRelationsForCertificateResponseType) ListRelationsForCertificateType(se.inera.intyg.clinicalprocess.healthcond.certificate.listrelationsforcertificate.v1.ListRelationsForCertificateType)

Aggregations

ListRelationsForCertificateResponseType (se.inera.intyg.clinicalprocess.healthcond.certificate.listrelationsforcertificate.v1.ListRelationsForCertificateResponseType)1 ListRelationsForCertificateType (se.inera.intyg.clinicalprocess.healthcond.certificate.listrelationsforcertificate.v1.ListRelationsForCertificateType)1