get:
operationId: exportsAvailable
tags:
- HIS exports
summary: List available exports
responses:
'200':
description: |-
Lists all available HIS export snapshots.
A HIS export snapshot contains parts of medical dossier info for a subset of all patients in a GP practice. Exactly which filters are applied,
which data is provided, and how it is formatted is arranged between Zorg op Orde and a party using the ZOO API.
content:
application/json:
schema:
type: object
properties:
exportSources:
type: array
items:
type: object
properties:
agb:
$ref: ../schemas/agb.yaml
name:
type: string
description: Name of the GP practice
available:
type: array
items:
type: object
properties:
filename:
type: string
description: |-
This filename can be used in the `/agb/filename` endpoint to fetch this data.
timestamp:
type: string
format: date-time
description: |-
The export contains data sourced from an EPD system at this time; it will not
contain any medical dossier data later than this timestamp.
tables:
type: array
description: |-
Lists the names of all tables that are provided as part of this export.
If using the fetch as zip endpoint, the zip will contain an entry named that_name.csv.
If using the fetch each table individually endpoint, this name represents a table name you can ask for.
items:
type: string
required:
- filename
- timestamp
- tables
required:
- agb
- name
- available
'401':
$ref: '../zoo-api.yaml/#/components/responses/NoAuth'
'403':
$ref: '../zoo-api.yaml/#/components/responses/NoAccess'