Skip to content

ITI-18

The ITI-18 (Registry Stored Query) transaction allows a Document Consumer to query a Document Registry, using Registry Stored Queries.

This transaction has been implemented in order to respect the Swiss EPR regulation. However, it is very generic, and CH:PHARM-1 should be favored, as it offers emedication-specific query parameters.

See also EPD by example’s Registry Stored Query page.

Stored queries

Generic rules

  • Folders option not supported
  • The only [association]https://profiles.ihe.net/ITI/TF/Volume3/ch-4.1.html#4.1.2.2) supported is RPLC (replace)
  • Documents with deletionStatus=deletionRequested are ignored

Common query parameters

  • $MetadataLevel: If present, the attribute shall equal to 1, as per Nationale Anpassungen der Integrationsprofile nach Artikel 5 Absatz 1 Buchstabe b EPDV-EDI.
  • $XDSDocumentEntryPatientId, $patientId: The patient XAD-PID.
  • homeCommunityId: If present, it shall be CARA’s community root OID.

FindDocuments

This stored query allows to search for APPC and CH-EMED-EPR documents. CH-EMED-EPR documents could also be searched through the PHARM-1 transaction (it’s a specialized ITI-18 transaction).

When processing requests, the following rules are applied:

  • $XDSDocumentEntryClassCode: N/A
  • $XDSDocumentEntryTypeCode: N/A
  • $XDSDocumentEntryCreationTimeFrom: see dates processing.
  • $XDSDocumentEntryCreationTimeTo: see dates processing.
  • $XDSDocumentEntryServiceStartTimeFrom: not considered for APPC documents
  • $XDSDocumentEntryServiceStartTimeTo: not considered for APPC documents
  • $XDSDocumentEntryServiceStopTimeFrom: not considered for APPC documents
  • $XDSDocumentEntryServiceStopTimeTo: not considered for APPC documents
  • $XDSDocumentEntryFormatCode: N/A
  • $XDSDocumentEntryDocumentAvailability: if specified, anything else than Online will yield no result.

FindSubmissionSets

FindFolders

The response is empty, as folders are not implemented.

GetAll

The response won’t contain folders, as they’re not implemented.

GetDocuments

GetFolders

The response is empty, as folders are not implemented. A warning is added to the response.

GetAssociations

GetDocumentsAndAssociations

GetSubmissionSets

GetSubmissionSetAndContents

GetFolderAndContents

The response is empty, as folders are not implemented. A warning is added to the response.

GetFoldersForDocument

The response is empty, as folders are not implemented. A warning is added to the response.

GetRelatedDocuments

FindDocumentsByReferenceId

The response is empty, as this option is not implemented. A warning is added to the response.

Error codes

Specific codes not covered by generic codes.

XDS error code Details
XDSStoredQueryMissingParam If a required search parameter is missing
XDSStoredQueryParamNumber If too many/too much search parameters are provided
XDSUnknownStoredQuery If the search query is unknown
XDSRegistryError If the search query is known but unsupported
XDSRegistryMetadataError If $MetadataLevel is not “1”

This page was updated 2024-02-28