capabilities.work

Patient Document Retrieval

A 5-step recipe with Metriport. We can help you get access.

Recipe · 5 steps

Patient Document Retrieval

with Metriport · Healthcare Interoperability Operations

Create a patient, run an IHE document query, then list and download the retrieved documents.

  1. Register the patient under the given facility so document queries can resolve against the networks.
  2. Start an IHE document query that fans the patient out to the connected health information networks.
  3. Poll the document query until the download progress reports complete.
  4. List the retrieved FHIR R4 DocumentReferences available for the patient.
  5. Request a signed download URL for a specific retrieved document.
What you'll need to have ready
  • facilityId: Identifier of the facility the patient is registered under.
  • patient: Patient demographic packet used to create the Metriport patient.
  • fileName: File name of the retrieved document to request a download URL for.
  • conversionType: Desired conversion type for the downloaded document (e.g. pdf, html).
For your developer

Arazzo workflow metriport:patient-document-retrieval, 5 operations: createPatient → startDocumentQuery → getDocumentQueryStatus → listDocuments → getDocumentUrl. Specs on APIs.io.