After you successfully search and locate patient records at a given organization, you can request patient documents. There are two options for this step.

- Use Redox to request the latest patient summary: Typically, the simplest option is to request a generic patient summary directly via Redox.
- Pick your own docs: If you can select documents of interest within your own UI, you can retrieve a full list of available documents and select the specific documents that are of interest.
The returned documents from either option follow a standard format (Consolidated-Clinical Document Architecture, or C-CDA) and include several sections of information related to the patient’s demographics, encounters, medications, diagnoses, allergies, and more. Check out required C-CDA elements.
Choose this option if you only want CDA documents, and you want to automatically get the most recent CDA for a patient. You receive the data back in a nice Redox-parsed view.
Using Postman or curl, send a ClinicalSummary.PatientQuery request with the relevant metadata:
- For production queries, set the Test value to false.
- The destination ID changes based on environment type:
- Development destination ID: ec745338-8849-43ad-a7ce-4bc5bf1d8b89
- Production destination ID: 628cbf79-1156-4923-b9d0-285906160ed6
- The FacilityCode represents the OID of the Carequality participant to query.
- For a broad search, use the Organization.Identifiers.ID from the PatientSearch.LocationQuery response.
- For a narrow search, use the Organization.Identifiers.ID from the Organization.Query response.
- The example below represents Redox.
- Use the Patient.Identifiers.ID and Patient.Identifiers.IDType from the PatientSearch.Query response (from whichever patient search option you used).
If the request is successful, you receive a synchronous ClinicalSummary.PatientQueryResponse with the latest patient summary document (i.e., a snapshot of the patient’s current chart).
Choose this option if you want to receive a full list of documents related to the patient. Then, query for any document from the list. You receive the document in both raw XML—which is useful if you have your own document renderer—and in a Redox-parsed view for any data that we can parse.
For this option, use the DocumentQuery and DocumentGet event types of ClinicalSummary. The response returns PDFs or any other documents that are attached to the patient record.
Using Postman or curl, send the ClinicalSummary.DocumentQuery request with the relevant metadata:
- The destination ID changes based on environment type:
- Development destination ID: ec745338-8849-43ad-a7ce-4bc5bf1d8b89
- Production destination ID: 628cbf79-1156-4923-b9d0-285906160ed6
- The FacilityCode represents the OID of the Carequality participant to query.
- For a broad search, use the Organization.Identifiers.ID from the PatientSearch.LocationQuery response.
- For a narrow search, use the Organization.Identifiers.ID from the Organization.Query response.
- The example below represents Redox.
- Use the Patient.Identifiers.ID and Patient.Identifiers.IDType from the PatientSearch.Query response (from whichever patient search option you used).
If the request is successful, you receive a synchronous ClinicalSummary.DocumentQueryResponse with a document list with an identifier, type, and date for each document so that you can identify the most relevant documents.
Using Postman or curl, send the ClinicalSummary.DocumentGet request with the relevant metadata:
- The destination ID changes based on environment type:
- Development destination ID: ec745338-8849-43ad-a7ce-4bc5bf1d8b89
- Production destination ID: 628cbf79-1156-4923-b9d0-285906160ed6
- The FacilityCode represents the OID of the Carequality participant to query.
- For a broad search, use the Organization.Identifiers.ID from the PatientSearch.LocationQuery response.
- For a narrow search, use the Organization.Identifiers.ID from the Organization.Query response.
- The example below represents Redox.
- Use a Document.ID from the step 2 response.Less is more
If the request is successful, you receive a synchronous ClinicalSummary.DocumentGetResponse with the relevant document of interest.
The raw content is present in the Data field and the type of content in FileType field.
- For CDA content, FileType is always text/xml, and Data is UTF-8 text content. In this case, we translate the JSON to match the ClinicalSummary.VisitQueryResponse data model (see the response format).
- For non-CDA content, FileType is whatever the clinical network sends, and Data is always base64-encoded content. This is to support file types like application/pdf or XML content that isn’t CDA.