File tree Expand file tree Collapse file tree 9 files changed +98
-1
lines changed
Expand file tree Collapse file tree 9 files changed +98
-1
lines changed Original file line number Diff line number Diff line change @@ -959,6 +959,17 @@ paths:
959959 description : Comma-separated list of clinic site IDs
960960 style : form
961961 explode : false
962+ - name : omitNonStandardRanges
963+ description : |
964+ Whether patients whose glycemic ranges selection is *not*
965+ the ADA standard ranges (e.g. as used by the TIDE report)
966+ should be omitted.
967+ schema :
968+ type : boolean
969+ in : query
970+ # Skipping the pointer here ran afoul of https://github.com/oapi-codegen/oapi-codegen/issues/1263
971+ # x-go-type-skip-optional-pointer: true
972+
962973 description : Retrieve a list of patients of a clinic
963974 post :
964975 summary : Create Patient Account
@@ -2398,6 +2409,10 @@ components:
23982409 x-omitzero : true
23992410 items :
24002411 $ref : ./clinic/models/site.v1.yaml
2412+ glycemicRanges :
2413+ $ref : ./clinic/models/glycemicRanges.v1.yaml
2414+ diagnosisType :
2415+ $ref : ./metadata/models/diagnosisType.v1.yaml
24012416 associateClinicianToUser.v1 :
24022417 title : Associate Clinician
24032418 type : object
@@ -2596,6 +2611,10 @@ components:
25962611 x-omitzero : true
25972612 items :
25982613 $ref : ./clinic/models/site.v1.yaml
2614+ glycemicRanges :
2615+ $ref : ./clinic/models/glycemicRanges.v1.yaml
2616+ diagnosisType :
2617+ $ref : ./metadata/models/diagnosisType.v1.yaml
25992618 addServiceAccount.v1 :
26002619 title : AddServiceAccount
26012620 x-stoplight :
Original file line number Diff line number Diff line change 1+ properties :
2+ type :
3+ type : string
4+ enum :
5+ - preset
6+ - custom
7+ default : preset
8+ custom :
9+ $ref : ./glycemicRangesCustom.v1.yaml
10+ preset :
11+ $ref : ./glycemicRangesPreset.v1.yaml
12+ required :
13+ - type
Original file line number Diff line number Diff line change 1+ type : object
2+ properties :
3+ name :
4+ type : string
5+ minLength : 1
6+ thresholds :
7+ type : array
8+ items :
9+ $ref : ./glycemicRangesThreshold.v1.yaml
10+ minLength : 4
11+ maxLength : 5
12+ required :
13+ - name
14+ - thresholds
15+ x-go-type-skip-optional-pointer : true
16+ x-omitzero : true
Original file line number Diff line number Diff line change 1+ type : string
2+ minLength : 1
3+ enum :
4+ - adaStandard
5+ - adaPregnancyType1
6+ - adaPregnancyType2
7+ - adaHighRisk
8+ x-enum-varnames :
9+ - ADAStandard
10+ - ADAPregnancyType1
11+ - ADAPregnancyType2
12+ - ADAHighRisk
13+ default : adaStandard
14+ x-go-type-skip-optional-pointer : true
15+ x-omitzero : true
Original file line number Diff line number Diff line change 1+ type : object
2+ properties :
3+ name :
4+ type : string
5+ minLength : 1
6+ upperBound :
7+ $ref : ./glycemicRangesThresholdUpperBound.v1.yaml
8+ inclusive :
9+ type : boolean
10+ default : false
11+ x-go-type-skip-optional-pointer : true
12+ required :
13+ - name
14+ - upperBound
Original file line number Diff line number Diff line change 1+ type : object
2+ properties :
3+ value :
4+ type : number
5+ format : float
6+ units :
7+ type : string
8+ enum :
9+ - mg/dL
10+ - mmol/L
11+ required :
12+ - value
13+ - units
Original file line number Diff line number Diff line change @@ -68,6 +68,10 @@ properties:
6868 x-omitzero : true
6969 items :
7070 $ref : ./site.v1.yaml
71+ glycemicRanges :
72+ $ref : ./glycemicRanges.v1.yaml
73+ diagnosisType :
74+ $ref : ../../metadata/models/diagnosisType.v1.yaml
7175required :
7276 - id
7377 - fullName
Original file line number Diff line number Diff line change @@ -3,9 +3,12 @@ type: string
33enum :
44 - type1
55 - type2
6+ - type3c
67 - gestational
78 - prediabetes
89 - lada
910 - mody
1011 - other
12+ - notApplicable
13+ - " " # used to clear out an existing value
1114example : ' type1'
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ properties:
99 type : object
1010 properties :
1111 diagnosisType :
12- $ref : ' ./diagnosistype .v1.yaml'
12+ $ref : ' ./diagnosisType .v1.yaml'
1313 diagnosisDate :
1414 $ref : ' ../../common/models/diagnosisdate.v1.yaml'
1515 birthday :
You can’t perform that action at this time.
0 commit comments