> I have a question concerning how to provide and register a new
> document via ITI-41 and ITI-42 to a document registry (PXS).
Do you want to use both these transactions in parallel?
Actually, ITI-41 should be enough.
> I found the classes
> org.openehealth.ipf.commons.ihe.xds.core.requests.ProvideAndRegisterDocumentSet
> and �RegisterDocumentSet but I am not sure how to use them correctly.
> I didn't found examples for them:\
See method createProvideAndRegisterDocumentSet() in https://github.com/krasserm/ipf/blob/master/commons/ihe/xds/src/test/java/org/openehealth/ipf/commons/ihe/xds/core/SampleData.java
> I found a setter for submission
> sets and getter for associations(getAssociations) and documents
> (getDocuments). But I am missing the setter for these lists.
You can insert elements into these lists using their add() methods.
> As far as I understood I have to crate a Document-object with my CDA
> data.
Exactly.
> But how do I put these informations into the
> ProvideAndRegistyDocumentSet-object?
Document cdaDocument = ...;
ProvideAndRegistyDocumentSet request = ...;
request.getDocuments().add(cdaDocument);
In IPF 2.2.2 and earlier, you must manually prepare the DataHandler in the Document object. Since IPF 2.2.3/2.3-m1, XDS document objects represent content maps and support type conversion (this feature is currently an "early draft" and therefore not yet documented in our Wiki). A small set of pre-defined converters is available in the package org.openehealth.ipf.platform.camel.ihe.continua.hrn.converters, see examples of their usage in the unit tests of the module platform-camel-ihe-continua and their Spring context descriptors.
> Id would be nice if you could give me some code snippets how to add my
> Document-object data (that contain the CDA data) to a
> ProvideAndRegistryDocumentSet-object to add it via XDS ITI-41 (and XDS
> ITI-42) to a document repository. Thank you in advance.
Regards,
Dmytro
when an XDS repository receives an ITI-41 request, it stores
the documents contained there, and then sends document's
metadata to the XDS registry by means of ITI-42 transaction.
See also: IHE IT Infrastructure Technical Framework,
Volume 2b, Section 3.42.
Regards,
Dmytro
2011/6/1 Sven Siekmann <sven.s...@web.de>:
here you are:
<dependency>
<groupId>org.openehealth.ipf.commons</groupId>
<artifactId>commons-ihe-ws</artifactId>
<version>${ipf-version}</version>
<!--scope>test</scope-->
<type>test-jar</type>
<dependency>
Best Regards,
Dmytro
I hope that your question will be answered by PXS developers
which are reading this mailing list...
--
You received this message because you are subscribed to the Google Groups "ipf-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ipf-user+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<Document>
Etc
</soap:Body>