You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zoo-api/paths/patient_base.yaml

68 lines
2.4 KiB
YAML

get:
tags:
- patient
summary: Get basic personal info not directly related to their medical dossier
parameters:
- name: bsn
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: string
example: 123456789
- $ref: '../zoo-api.yaml#/components/parameters/Authorization'
responses:
'200':
description: Basic personal information for the patient is returned.
content:
application/json:
schema:
type: object
required:
- bsn
- name
- gender
- contact
- patid
- pat_unid
- category
- start_date
properties:
bsn:
$ref: '../schemas/PatIdentity.yaml#/bsn'
name:
$ref: '../schemas/PatIdentity.yaml#/name'
gender:
$ref: '../schemas/PatIdentity.yaml#/gender'
dob:
$ref: '../schemas/PatIdentity.yaml#/dob'
category:
$ref: '../schemas/PatIdentity.yaml#/category'
doctor:
$ref: '../schemas/PatIdentity.yaml#/doctor'
address:
$ref: '../schemas/PatIdentity.yaml#/address'
contact:
$ref: '../schemas/PatIdentity.yaml#/contact'
insurance:
$ref: '../schemas/PatIdentity.yaml#/insurance'
patid:
$ref: '../schemas/PatIdentity.yaml#/patid'
pat_unid:
$ref: '../schemas/PatIdentity.yaml#/pat_unid'
start_date:
$ref: '../schemas/PatIdentity.yaml#/start_date'
end_date:
$ref: '../schemas/PatIdentity.yaml#/end_date'
end_reason:
$ref: '../schemas/PatIdentity.yaml#/end_reason'
'400':
description: The request is invalid; for example, it doesn't contain the required `BSN` parameter.
'401':
$ref: '../zoo-api.yaml#/components/responses/JwtFailure'
'403':
description: Indicated practice is known but has not authorized ZOO to share this information with signer.
'404':
$ref: '../zoo-api.yaml#/components/responses/PatNotFound'