Skip to main content
Draft - pending technical reviewOwner PDR Engineering (owner to be confirmed)

PDR Gateway guide

A client authenticates, queries for a patient's documents, interprets the matched aliases and FHIR DocumentReference results, and retrieves each clinical document.

EnvironmentTest data only
02
DOCUMENT QUERY

Query the PDR

Send QE, assigning authority, MRN, document types, and the Part 2 flag to the Document Query endpoint.

POST /api/v1/documents/query

Find documents for a patient. Read the full details in the Query & retrieve guide.

Illustrative walkthrough using synthetic data. Real API execution happens in Swagger, not on this site.

The steps​

  1. Prepare access: IP allowlisting, TLS trust and onboarding credentials.
  2. Authenticate: sign a client assertion and exchange it with Okta for an access token.
  3. Query and retrieve: send a Document Query, then use attachment.url as the documentUri for Retrieve.
  4. Resolve aliases and handle Part 2: interpret multiple result rows and sensitivity labels.

Once the flow is clear, validate your integration against the QA scenarios.

Execute in Swagger

This site generates requests and shows synthetic responses. Actual API execution remains in the Gateway Swagger UI. See the API reference.