HealthConnected has been supplying `bsn` via header instead of param and expect that to work

EH/population-statistics-authorisation
Reinier Zwitserloot 2 years ago
parent 4b34dcd5c2
commit 2c869970e0
No known key found for this signature in database
GPG Key ID: DADEDCAA42950296

@ -8,7 +8,16 @@ get:
in: query
description: |-
The SSN (dutch: _BSN_) of a patient to look up. May only contain digits, cannot contain more than 9 digits, and cannot be 0.
required: true
schema:
type: integer
format: int32
minimum: 1
maximum: 999999999
example: 123456789
- name: bsn
in: header
description: |-
An alternate location for the `bsn` parameter.
schema:
type: integer
format: int32

@ -18,7 +18,17 @@ get:
in: query
description: |-
The SSN (dutch: _BSN_) of a patient to look up. May only contain digits, cannot contain more than 9 digits, and cannot be 0.
Either `bsn` or `pu` must be present.
Either `bsn` or `pu` must be present. Note that `bsn` can also be sent via header (not recommended).
schema:
type: integer
format: int32
minimum: 1
maximum: 999999999
example: 123456789
- name: bsn
in: header
description: |-
An alternate location for the `bsn` parameter.
schema:
type: integer
format: int32

Loading…
Cancel
Save