API for cross-cutting API concerns, such as authentication.
API for cross-cutting API concerns, such as authentication and the springboard.
TBD.
- name:patient
- name:patient
description:|-
description:|-
API for retrieving medical dossier data and concerns based on looking up a
API for retrieving medical dossier data and concerns based on looking up a
@ -44,11 +43,44 @@ tags:
As well as a 'config' view where they see _all_ care programs that could possibly be relevant for that customer, where the customer can preview the report (essentially, run the report as normal), favourite something they don't get by default, or unfavourite something they get by default.
As well as a 'config' view where they see _all_ care programs that could possibly be relevant for that customer, where the customer can preview the report (essentially, run the report as normal), favourite something they don't get by default, or unfavourite something they get by default.
paths:
paths:
/springboard/apps:
get:
tags:
- core
summary:Available springboard apps
responses:
'200':
description:List of available apps
content:
application/json:
schema:
type:object
properties:
notifications:
type:string
apps:
type:array
items:
type:string
/patient/base:
/patient/base:
get:
get:
tags:
tags:
- patient
- patient
summary:Get basic personal info not directly related to their medical dossier
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:'#/components/parameters/Authorization'
responses:
responses:
'200':
'200':
description:Basic personal information for the patient is returned.
description:Basic personal information for the patient is returned.
@ -169,13 +201,16 @@ paths:
4digits exactly, 0-left-padded if needed. If unknown or not insured, 4 zeroes.
4digits exactly, 0-left-padded if needed. If unknown or not insured, 4 zeroes.
type:string
type:string
example:3331
example:3331
'400':
description:The request is invalid; for example, it doesn't contain the required `BSN` parameter.
'401':
'401':
$ref:'#/components/responses/NoAuth'
$ref:'#/components/responses/JwtFailure'
'403':
'403':
$ref:'#/components/responses/NoAccess'
description:Indicated practice is known but has not authorized ZOO to share this information with signer.
'404':
'404':
$ref:'#/components/responses/PatNotFound'
$ref:'#/components/responses/PatNotFound'
/qoc/careprogram:
/qoc/careprogram:
get:
get:
tags:
tags:
@ -448,14 +483,58 @@ components:
type:string
type:string
example:ZEL-dm2
example:ZEL-dm2
parameters:
Authorization:
name:Authorization
in:header
description:|-
Single-use signed JWT token with the following mandatory claims:
<ul>
<li><code>kid</code> – <strong>key id</strong>:A string identifying a trusted signer; agreed upon between user and Zorg op Orde beforehand.</li>
<li><code>iat</code> – <strong>Issued at</strong>:Time when this JWT was created and signed. Must be no more than 1 hour ago.
<li><code>jti</code> – <strong>JWT ID</strong>: A unique string used to prevent replay:Any given ID can not be used more than once.
<li><code>agb</code> – <strong>GP AGB</strong>:AGB code (Medical entity identifier); the lookup will be done on the medical dossier data of this practice or entity.
<li><code>exp</code> – <em>OPTIONAL</em> <strong>Expires at</strong>:If included, the request must not be received after this time.
<li><code>nbf</code> – <em>OPTIONAL</em> <strong>Not before</strong>:If included, the request must not be received before this time.