Healthcare: Cross-Enterprise Document Sharing Consumer pattern

Use the Healthcare: Cross-Enterprise Document Sharing Consumer pattern to help you to create an integration solution that complies with the Integrating the Healthcare Enterprise (IHE) Cross-Enterprise Document Sharing (XDS) profile. Cross-Enterprise Document Sharing allows the sharing of documents through a document registry and a document repository. Patient documents are stored in the document repository. The document registry stores document metadata, including UUIDs and patient identifiers. You can use the pattern to find universal unique identifiers (UUIDs) for documents from your document registry and then retrieve the associated documents from your document repository.

Solution

The Healthcare: Cross-Enterprise Document Sharing Consumer pattern contains two flows, the FindDocuments flow and the RetrieveDocumentSet flow. You must provide the HTTP or HTTPS endpoint of your document registry as a pattern parameter. You must also provide the local directories for input and output files for each flow.

Use the FindDocuments flow to query the document registry for document UUIDs:

Use the RetrieveDocumentSet flow to retrieve documents:

Because the output from the FindDocuments flow is the same as the input required for the RetrieveDocumentSet, the two flows can be used together to identify and retrieve all files related to specific patient IDs. To use the two flows together, set the output directory of the FindDocuments flow to be the same as the input directory of the RetrieveDocumentSet flow.

Tasks to complete before applying the pattern
Parameters for the pattern