1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// SPDX-FileCopyrightText: Cadasto B.V.
// SPDX-License-Identifier: BUSL-1.1
//! The Netherlands Generic Functions for data exchange (the Nuts
//! `nl-generic-functions-ig`, package `fhir.nl.gf` 0.3.0), one feature per
//! function:
//!
//! - `nvi`: GF-Localization through the national index (NVI): which care
//! providers hold data for a patient, asked on a pseudonymised BSN.
//! - `mitz`: GF-Consent through Mitz: the closed authorization question,
//! whether a data holder may make a patient's data available to a data
//! user, asked on the BSN.
//! - `lrza`: GF-Addressing through the national address book (LRZa): the
//! care provider identifier (URA) of an NL-GF `Organization`.
//! - `nuts-auth`: GF-Authentication on the Nuts profile: a `DPoP`-bound
//! access token for a Verifiable Presentation of the holder's credentials
//! (Nuts RFC021), its authorization server held to RFC 8414 on the issuer
//! rule and metadata location of `ferrohealth-smart`.
//! - `authorizer`: the authorizer a data user supplies to authenticate each
//! request to a Generic Function (the IG's GFI-005), with no FHIR model;
//! `nvi` turns it on.
//!
//! The identifier systems the functions share, GF-Identification, are in
//! the `identification` module, built whenever `nvi`, `lrza` or `mitz` is on.
//!
//! The implementation guide is published at
//! <https://build.fhir.org/ig/nuts-foundation/nl-generic-functions-ig/>. The
//! crate depends on no application. Its home is FerroHEALTH/FerroPIX, the
//! FerroHEALTH Master Patient Index, since identification and localization
//! are a patient index's own functions in the Netherlands.