Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 37 additions & 1 deletion reference/clinic.v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -989,6 +989,42 @@ paths:
$ref: ./clinic/models/patient.v1.yaml
tags:
- Clinics
'/v1/clinics/{clinicId}/patient_counts/patient_tags':
parameters:
- $ref: '#/components/parameters/clinicId'
get:
summary: List A Clinic's Patient Tags With Patient Counts
operationId: ListClinicPatientTagsWithPatientCounts
responses:
'200':
description: |
A summary of the clinic's patient tags with patient counts.
content:
application/json:
schema:
type: array
items:
$ref: ./clinic/models/patientTagWithPatientCount.v1.yaml
tags:
- Clinics
'/v1/clinics/{clinicId}/patient_counts/sites':
parameters:
- $ref: '#/components/parameters/clinicId'
get:
summary: List A Clinic's Sites With Patient Counts
operationId: ListClinicSitesWithPatientCounts
responses:
'200':
description: |
A summary of the clinic's sites with patient counts.
content:
application/json:
schema:
type: array
items:
$ref: ./clinic/models/siteWithPatientCount.v1.yaml
tags:
- Clinics
'/v1/clinics/{clinicId}/patient_tags':
parameters:
- $ref: '#/components/parameters/clinicId'
Expand Down Expand Up @@ -1067,7 +1103,7 @@ paths:
- $ref: '#/components/parameters/clinicId'
- $ref: '#/components/parameters/siteId'
post:
summary: Merge two sites
summary: Merge Two Sites
operationId: MergeSite
responses:
'200':
Expand Down
9 changes: 9 additions & 0 deletions reference/clinic/models/patientTagWithPatientCount.v1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
allOf:
- $ref: ./patientTag.v1.yaml
- type: object
properties:
patients:
type: integer
x-go-type-skip-optional-pointer: true
required:
- patients
9 changes: 9 additions & 0 deletions reference/clinic/models/siteWithPatientCount.v1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
allOf:
- $ref: ./site.v1.yaml
- type: object
properties:
patients:
type: integer
x-go-type-skip-optional-pointer: true
required:
- patients