Skip to content

Commit

Permalink
Merge pull request #93 from tidepool-org/direct-connect-filters
Browse files Browse the repository at this point in the history
[BACK-2660] Add ability to filter patients in multiple workspaces
  • Loading branch information
toddkazakov committed Dec 6, 2023
2 parents 05a86d0 + 0646c81 commit bbd692f
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions reference/clinic.v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1474,6 +1474,44 @@ paths:
- Internal
x-internal: true
parameters: []
/v1/patients:
get:
summary: Find Patients
tags:
- Clinics
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/PatientClinicRelationships'
operationId: FindPatients
description: Returns all patients to which the clinician has access to
parameters:
- schema:
type: string
in: query
name: mrn
- schema:
type: string
in: query
name: birthDate
- schema:
type: string
in: query
name: workspaceId
description: The identifier of the workspace
- schema:
type: string
enum:
- clinicId
- ehrSourceId
in: query
name: workspaceIdType
description: The type of the workspace identifier
- $ref: '#/components/parameters/offset'
- $ref: '#/components/parameters/limit'
components:
schemas:
Error:
Expand Down

0 comments on commit bbd692f

Please sign in to comment.