From 8429c80191a04526ecbfa3debe4e1dbd92964a04 Mon Sep 17 00:00:00 2001 From: Eric Wollesen Date: Thu, 11 Dec 2025 14:32:34 -0700 Subject: [PATCH] add patients count to clinic sites and tags BACK-3797 --- reference/clinic/models/patientTag.v1.yaml | 4 ++++ reference/clinic/models/site.v1.yaml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/reference/clinic/models/patientTag.v1.yaml b/reference/clinic/models/patientTag.v1.yaml index 62efa385..90f57738 100644 --- a/reference/clinic/models/patientTag.v1.yaml +++ b/reference/clinic/models/patientTag.v1.yaml @@ -10,6 +10,10 @@ properties: minLength: 1 maxLength: 20 pattern: '^[\p{L}\p{N}_+><-]{1}[\p{L}\p{N}\s_+><-]*$' + patients: + type: integer + x-go-type-skip-optional-pointer: true + x-omitzero: true required: - id - name diff --git a/reference/clinic/models/site.v1.yaml b/reference/clinic/models/site.v1.yaml index bc5f0227..b4c8ac05 100644 --- a/reference/clinic/models/site.v1.yaml +++ b/reference/clinic/models/site.v1.yaml @@ -6,6 +6,10 @@ properties: $ref: ./siteId.v1.yaml name: $ref: ./siteName.v1.yaml + patients: + type: integer + x-go-type-skip-optional-pointer: true + x-omitzero: true required: - id - name