# Patiënt opzoeken

De meeste FHIR-zoekopdrachten zijn op basis van de zoekquery `?patient=[id]`. De volgende zoekopdracht kan gebruikt worden om op basis van een BSN de patiënt-id te achterhalen

```
POST [fhir-base-url]/Patient/_search

    Header: 
        Content-Type = x-www-form-urlencoded (zie https://www.hl7.org/fhir/http.html#search-post)
    
    Body: 
        identifier=http://fhir.nl/fhir/NamingSystem/bsn|[bsn-van-patient]

```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://viplive-interop.gitbook.io/viplive-notified-pull/direct-pull/data/patient-opzoeken.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
