Search in sources :

Example 1 with EbXMLSubmitObjectsRequest

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

the class Iti80AuditStrategy method enrichAuditDatasetFromRequest.

@Override
public XdsSubmitAuditDataset enrichAuditDatasetFromRequest(XdsSubmitAuditDataset auditDataset, Object pojo, Map<String, Object> parameters) {
    var request = (ProvideAndRegisterDocumentSetRequestType) pojo;
    var submitObjectsRequest = request.getSubmitObjectsRequest();
    if (submitObjectsRequest != null) {
        EbXMLSubmitObjectsRequest ebXML = new EbXMLSubmitObjectsRequest30(submitObjectsRequest);
        enrichDatasetFromSubmitObjectsRequest(auditDataset, ebXML);
    }
    return auditDataset;
}
Also used : EbXMLSubmitObjectsRequest(org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLSubmitObjectsRequest) EbXMLSubmitObjectsRequest30(org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.EbXMLSubmitObjectsRequest30) ProvideAndRegisterDocumentSetRequestType(org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.ProvideAndRegisterDocumentSetRequestType)

Example 2 with EbXMLSubmitObjectsRequest

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

the class XdsSubmitAuditStrategy30 method enrichAuditDatasetFromRequest.

@Override
public XdsSubmitAuditDataset enrichAuditDatasetFromRequest(XdsSubmitAuditDataset auditDataset, Object pojo, Map<String, Object> parameters) {
    if (pojo instanceof SubmitObjectsRequest) {
        var submitObjectsRequest = (SubmitObjectsRequest) pojo;
        EbXMLSubmitObjectsRequest ebXML = new EbXMLSubmitObjectsRequest30(submitObjectsRequest);
        enrichDatasetFromSubmitObjectsRequest(auditDataset, ebXML);
    }
    return auditDataset;
}
Also used : EbXMLSubmitObjectsRequest(org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLSubmitObjectsRequest) EbXMLSubmitObjectsRequest30(org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.EbXMLSubmitObjectsRequest30) SubmitObjectsRequest(org.openehealth.ipf.commons.ihe.xds.core.stub.ebrs30.lcm.SubmitObjectsRequest) EbXMLSubmitObjectsRequest(org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLSubmitObjectsRequest)

Example 3 with EbXMLSubmitObjectsRequest

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

the class Iti41AuditStrategy method enrichAuditDatasetFromRequest.

@Override
public XdsSubmitAuditDataset enrichAuditDatasetFromRequest(XdsSubmitAuditDataset auditDataset, Object pojo, Map<String, Object> parameters) {
    var request = (ProvideAndRegisterDocumentSetRequestType) pojo;
    var submitObjectsRequest = request.getSubmitObjectsRequest();
    if (submitObjectsRequest != null) {
        EbXMLSubmitObjectsRequest ebXML = new EbXMLSubmitObjectsRequest30(submitObjectsRequest);
        enrichDatasetFromSubmitObjectsRequest(auditDataset, ebXML);
    }
    return auditDataset;
}
Also used : EbXMLSubmitObjectsRequest(org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLSubmitObjectsRequest) EbXMLSubmitObjectsRequest30(org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.EbXMLSubmitObjectsRequest30) ProvideAndRegisterDocumentSetRequestType(org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.ProvideAndRegisterDocumentSetRequestType)

Aggregations

EbXMLSubmitObjectsRequest (org.openehealth.ipf.commons.ihe.xds.core.ebxml.EbXMLSubmitObjectsRequest)3 EbXMLSubmitObjectsRequest30 (org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.EbXMLSubmitObjectsRequest30)3 ProvideAndRegisterDocumentSetRequestType (org.openehealth.ipf.commons.ihe.xds.core.ebxml.ebxml30.ProvideAndRegisterDocumentSetRequestType)2 SubmitObjectsRequest (org.openehealth.ipf.commons.ihe.xds.core.stub.ebrs30.lcm.SubmitObjectsRequest)1