ITI-18 get associations api call

ITI-18: Registry Stored Query

ITI-18 includes a series of queries that can be performed to find back documents in iCure. The supported query types are:

  • FindDocuments: Find all documents that match a set of criteria : the patient id, the creation date, ...

  • FindSubmissionSets: Find a specific submission set by patient id, author or date along with submitted documents

  • FindFolders: ITI-18 supports a hierarchical structure of folders that can be queried by patient, date, status or codes.

  • Get... requests: allow you to retrieve metadata of Folders, SubmissionSets, Documents identified by their ids.

ℹ️ITI TF-2a section 3.18 for the detailed definition of the transaction.

Iti-18 find documents api call example.

POST call

POST /services/iti18Service HTTP/1.1
Host: xds.icure.dev
Content-Type: text/xml
Content-Length: 1215

<?xml version='1.0' encoding='UTF-8'?>
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
    <soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
        <wsa:To soapenv:mustUnderstand="true">http://host.docker.internal:8080/services/iti18Service</wsa:To>
        <wsa:MessageID soapenv:mustUnderstand="true">urn:uuid:794DCA5792EF38FB971624632082655</wsa:MessageID>
        <wsa:Action soapenv:mustUnderstand="true">urn:ihe:iti:2007:RegistryStoredQuery</wsa:Action>
    </soapenv:Header>
    <soapenv:Body>
        <query:AdhocQueryRequest xmlns:query="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0">
            <query:ResponseOption returnComposedObjects="true" returnType="LeafClass" />
            <tag0:AdhocQuery xmlns:tag0="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" id="urn:uuid:a7ae438b-4bc2-4642-93e9-be891f7bb155">
                <tag0:Slot name="$uuid">
                    <tag0:ValueList>
                        <tag0:Value>('urn:uuid:48fb671b-2fc9-413b-8883-e80a0dcf8b2a')</tag0:Value>
                    </tag0:ValueList>
                </tag0:Slot>
            </tag0:AdhocQuery>
        </query:AdhocQueryRequest>
    </soapenv:Body>
</soapenv:Envelope>

Response

Last updated

Was this helpful?