Skip to content

Commit 062c31e

Browse files
committed
NRL-1053 add to api spec yaml
1 parent e1e280d commit 062c31e

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

swagger/consumer-static/components.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ components:
136136
$ref: "#/components/schemas/RequestQueryCustodian"
137137
type:
138138
$ref: "#/components/schemas/RequestQueryType"
139+
category:
140+
$ref: "#/components/schemas/RequestQueryCategory"
139141
next-page-token:
140142
$ref: "#/components/schemas/NextPageToken"
141143
required:
@@ -156,6 +158,8 @@ components:
156158
example: "https://fhir.nhs.uk/Id/ods-organization-code|Y05868"
157159
RequestQueryType:
158160
type: string
161+
RequestQueryCategory:
162+
type: string
159163
NextPageToken:
160164
type: string
161165
RequestHeaderOdsCode:

swagger/consumer-static/narrative.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -624,6 +624,8 @@ components:
624624
example: "https://fhir.nhs.uk/Id/ods-organization-code|Y05868"
625625
RequestQueryType:
626626
example: "http://snomed.info/sct|736253002"
627+
RequestQueryCategory:
628+
example: "http://snomed.info/sct|734163000"
627629

628630
parameters:
629631
id:

swagger/producer-static/components.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,13 +186,17 @@ components:
186186
$ref: "#/components/schemas/RequestQuerySubject"
187187
type:
188188
$ref: "#/components/schemas/RequestQueryType"
189+
category:
190+
$ref: "#/components/schemas/RequestQueryCategory"
189191
next-page-token:
190192
$ref: "#/components/schemas/NextPageToken"
191193
RequestQuerySubject:
192194
type: string
193195
pattern: ^https\:\/\/fhir\.nhs\.uk\/Id\/nhs-number\|(\d+)$
194196
RequestQueryType:
195197
type: string
198+
RequestQueryCategory:
199+
type: string
196200
NextPageToken:
197201
type: string
198202
RequestHeaderOdsCode:

swagger/producer-static/narrative.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1195,6 +1195,8 @@ components:
11951195
example: "https://fhir.nhs.uk/Id/nhs-number|4409815415"
11961196
RequestQueryType:
11971197
example: "http://snomed.info/sct|736253002"
1198+
RequestQueryCategory:
1199+
example: "http://snomed.info/sct|734163000"
11981200
RequestHeaderRequestId:
11991201
example: 60E0B220-8136-4CA5-AE46-1D97EF59D068
12001202
RequestHeaderCorrelationId:

0 commit comments

Comments
 (0)