A comma separated list of patUnid's. For each patUnid the contact details are in the response. On a query string there is no standardized limit, but in practice the list of unid's might be limited to approximate 512 id's.
A comma separated list of patUnid values, as provided by other API endpoints.
For each patUnid the contact details are in the response. If sending lots of patUnids, we suggest you call this API in a POST (which is also allowed, though the semantic intent of this method is GET:It only queries and makes no changes) to avoid HTTP limits on query length.
schema:
type:array
items:
$ref:../schemas/pat-patUnid.yaml
maxItems:512
example:"1234,5678"
- name:fields
in:query
mandatory:true
description:|-
Comma separated list of data fields that shold be returned in the response. Available options are:
bsn - adds CSV column/JSON key 'bsn'.
patPubId - adds CSV column/JSON key 'patPubId'.
patUnid - adds CSV column/JSON key 'patUnid'.
gender - adds CSV column/JSON key 'gender', with values 'O', 'M', or 'F'.
displayName - adds CSV column/JSON key 'displayName' with the full name of the patient as one would write it on an envelope.
fullName - adds CSV columns 'initials', 'firstNames', 'infixOwn', 'ownLastName', 'infixPartner', 'partnerLastName', and JSON key 'name' with as value an object with those keys.
See the descriptions in the JSON output section of this documentation for the formatting of these outputs.
example:"displayName,addressLine,postcode,city"
- name:Accept
in:header
description:|-
CSV (RFC 4180) or JSON is responded depending on the preference set by the callers HTTP Accept header. The Accept header is processed according RFC 9110. If one of media-types below has the most weight, then that type will be the content-type of the response. This is always the case when the header equals one of the enumerated types.
This API is capable of emitting both CSV (RFC 4180) and JSON. If a CSV response is needed, ensure mimetype `text/csv` is
mentioned in the `Accept` header at a higher quality than `application/csv`. If no Accept header is provided, the API
responds with JSON.
schema:
type:string
enum:
@ -26,7 +49,8 @@ get:
- application/json
responses:
'200':
description:A patient contact list for (electronic) mailing or phone contact. The list can be responded as CSV or JSON.
description:|-
A patient contact list for (electronic) mailing or phone contact. Per patient only requested details (via `column`) are provided. Any patient that isn't found isn't included in the output.
headers:
Content-Type:
description:The actual content-type of the response.