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/queryFind 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
- Prepare access: IP allowlisting, TLS trust and onboarding credentials.
- Authenticate: sign a client assertion and exchange it with Okta for an access token.
- Query and retrieve: send a Document Query, then use
attachment.urlas thedocumentUrifor Retrieve. - 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.