Netherlands - Generic Functions for data exchange Implementation Guide
0.2.0 - ci-build

Netherlands - Generic Functions for data exchange Implementation Guide, published by Stichting Nuts. This guide is not an authorized publication; it is the continuous build for version 0.2.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/nuts-foundation/nl-generic-functions-ig/ and changes regularly. See the Directory of published versions

## Resource Profile: NL Generic Functions OrganizationAffiliation Profile

Official URL: http://nuts-foundation.github.io/nl-generic-functions-ig/StructureDefinition/nl-gf-organizationaffiliation | Version: 0.2.0
Draft as of 2025-11-14 | Computable Name: NlGfOrganizationAffiliation

The details of an affiliation/relationship between two organizations, such as a healthcare provider and a software vendor.

Usages:

- CapabilityStatements using this Profile: Administration Directory for Administration Client, Administration Directory for Update Client and Query Directory for Query Client
- This Profile is not used by any profiles in this Implementation Guide

You can also check for usages in the FHIR IG Statistics

### Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

- Key Elements Table
- Differential Table
- Snapshot Table
- Statistics/References
- All

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
OrganizationAffiliation |  | 0..* | OrganizationAffiliation | Defines an affiliation/assotiation/relationship between 2 distinct oganizations, that is not a part-of relationship/sub-division relationship
Slices for identifier | Σ | 1..* | Identifier | Business identifiers that are specific to this role Slice: Unordered, Open by value:$this
identifier:fhirUrl | Σ | 1..1 | Identifier | Business identifiers that are specific to this role Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
use |  | 0..1 | code | usual | official | temp | secondary | old (If known)
type |  | 0..1 | CodeableConcept | Description of identifier
system |  | 1..1 | uri | The namespace for the identifier value Fixed Value: http://fhir.nl/fhir/NamingSystem/url/fhir
value |  | 0..1 | string | The value that is unique
period |  | 0..1 | Period | Time period when id is/was valid for use
assigner |  | 0..1 | Reference(Organization) | Organization that issued id (may be just text)
active | Σ | 1..1 | boolean | Whether this organization affiliation record is in active use
organization | Σ | 1..1 | Reference(Organization) | Organization where the role is available
participatingOrganization | Σ | 1..1 | Reference(Organization) | Organization that provides/performs the role (e.g. providing services or is a member of)
code | Σ | 1..* | CodeableConcept | Definition of the role the participatingOrganization plays Binding: OrganizationAffiliationRole (example): The role the participating organization providing services to the primary organization.
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
OrganizationAffiliation.​code | Base | example | Organization Affiliation Role | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
dom-2 | error | OrganizationAffiliation | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | OrganizationAffiliation | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource | `contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()`
dom-4 | error | OrganizationAffiliation | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated | `contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()`
dom-5 | error | OrganizationAffiliation | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | OrganizationAffiliation | A resource should have narrative for robust management | `text.`div`.exists()`
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`

This structure is derived from OrganizationAffiliation

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
OrganizationAffiliation |  | 0..* | OrganizationAffiliation | Defines an affiliation/assotiation/relationship between 2 distinct oganizations, that is not a part-of relationship/sub-division relationship
implicitRules |  | 0..0 |  | A set of rules under which this content was created
modifierExtension |  | 0..0 |  | Extension
Slices for identifier |  | 1..* | Identifier | Business identifiers that are specific to this role Slice: Unordered, Open by value:$this
identifier:fhirUrl |  | 1..1 | Identifier | Business identifiers that are specific to this role Required Pattern: At least the following
system |  | 1..1 | uri | The namespace for the identifier value Fixed Value: http://fhir.nl/fhir/NamingSystem/url/fhir
active |  | 1..1 | boolean | Whether this organization affiliation record is in active use
organization |  | 1..1 | Reference(Organization) | Organization where the role is available
participatingOrganization |  | 1..1 | Reference(Organization) | Organization that provides/performs the role (e.g. providing services or is a member of)
code |  | 1..* | CodeableConcept | Definition of the role the participatingOrganization plays
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
OrganizationAffiliation |  | 0..* | OrganizationAffiliation | Defines an affiliation/assotiation/relationship between 2 distinct oganizations, that is not a part-of relationship/sub-division relationship
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional content defined by implementations
Slices for identifier | Σ | 1..* | Identifier | Business identifiers that are specific to this role Slice: Unordered, Open by value:$this
identifier:fhirUrl | Σ | 1..1 | Identifier | Business identifiers that are specific to this role Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
use |  | 0..1 | code | usual | official | temp | secondary | old (If known)
type |  | 0..1 | CodeableConcept | Description of identifier
system |  | 1..1 | uri | The namespace for the identifier value Fixed Value: http://fhir.nl/fhir/NamingSystem/url/fhir
value |  | 0..1 | string | The value that is unique
period |  | 0..1 | Period | Time period when id is/was valid for use
assigner |  | 0..1 | Reference(Organization) | Organization that issued id (may be just text)
active | Σ | 1..1 | boolean | Whether this organization affiliation record is in active use
period | Σ | 0..1 | Period | The period during which the participatingOrganization is affiliated with the primary organization
organization | Σ | 1..1 | Reference(Organization) | Organization where the role is available
participatingOrganization | Σ | 1..1 | Reference(Organization) | Organization that provides/performs the role (e.g. providing services or is a member of)
network | Σ | 0..* | Reference(Organization) | Health insurance provider network in which the participatingOrganization provides the role's services (if defined) at the indicated locations (if defined)
code | Σ | 1..* | CodeableConcept | Definition of the role the participatingOrganization plays Binding: OrganizationAffiliationRole (example): The role the participating organization providing services to the primary organization.
specialty | Σ | 0..* | CodeableConcept | Specific specialty of the participatingOrganization in the context of the role Binding: PracticeSettingCodeValueSet (preferred): Specific specialty associated with the participating organization.
location | Σ | 0..* | Reference(Location) | The location(s) at which the role occurs
healthcareService |  | 0..* | Reference(HealthcareService) | Healthcare services provided through the role
telecom | Σ | 0..* | ContactPoint | Contact details at the participatingOrganization relevant to this Affiliation
endpoint |  | 0..* | Reference(Endpoint) | Technical endpoints providing access to services operated for this role
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
OrganizationAffiliation.​language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std.
OrganizationAffiliation.​code | Base | example | Organization Affiliation Role | 📍4.0.1 | FHIR Std.
OrganizationAffiliation.​specialty | Base | preferred | Practice Setting Code Value Set | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
dom-2 | error | OrganizationAffiliation | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | OrganizationAffiliation | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource | `contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()`
dom-4 | error | OrganizationAffiliation | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated | `contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()`
dom-5 | error | OrganizationAffiliation | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | OrganizationAffiliation | A resource should have narrative for robust management | `text.`div`.exists()`
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`

This structure is derived from OrganizationAffiliation

Summary

Mandatory: 6 elements
Prohibited: 2 elements

Slices

This structure defines the following Slices:

- The element 1 is sliced based on the value of OrganizationAffiliation.identifier

Key Elements View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
OrganizationAffiliation |  | 0..* | OrganizationAffiliation | Defines an affiliation/assotiation/relationship between 2 distinct oganizations, that is not a part-of relationship/sub-division relationship
Slices for identifier | Σ | 1..* | Identifier | Business identifiers that are specific to this role Slice: Unordered, Open by value:$this
identifier:fhirUrl | Σ | 1..1 | Identifier | Business identifiers that are specific to this role Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
use |  | 0..1 | code | usual | official | temp | secondary | old (If known)
type |  | 0..1 | CodeableConcept | Description of identifier
system |  | 1..1 | uri | The namespace for the identifier value Fixed Value: http://fhir.nl/fhir/NamingSystem/url/fhir
value |  | 0..1 | string | The value that is unique
period |  | 0..1 | Period | Time period when id is/was valid for use
assigner |  | 0..1 | Reference(Organization) | Organization that issued id (may be just text)
active | Σ | 1..1 | boolean | Whether this organization affiliation record is in active use
organization | Σ | 1..1 | Reference(Organization) | Organization where the role is available
participatingOrganization | Σ | 1..1 | Reference(Organization) | Organization that provides/performs the role (e.g. providing services or is a member of)
code | Σ | 1..* | CodeableConcept | Definition of the role the participatingOrganization plays Binding: OrganizationAffiliationRole (example): The role the participating organization providing services to the primary organization.
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
OrganizationAffiliation.​code | Base | example | Organization Affiliation Role | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
dom-2 | error | OrganizationAffiliation | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | OrganizationAffiliation | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource | `contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()`
dom-4 | error | OrganizationAffiliation | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated | `contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()`
dom-5 | error | OrganizationAffiliation | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | OrganizationAffiliation | A resource should have narrative for robust management | `text.`div`.exists()`
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`

Differential View

This structure is derived from OrganizationAffiliation

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
OrganizationAffiliation |  | 0..* | OrganizationAffiliation | Defines an affiliation/assotiation/relationship between 2 distinct oganizations, that is not a part-of relationship/sub-division relationship
implicitRules |  | 0..0 |  | A set of rules under which this content was created
modifierExtension |  | 0..0 |  | Extension
Slices for identifier |  | 1..* | Identifier | Business identifiers that are specific to this role Slice: Unordered, Open by value:$this
identifier:fhirUrl |  | 1..1 | Identifier | Business identifiers that are specific to this role Required Pattern: At least the following
system |  | 1..1 | uri | The namespace for the identifier value Fixed Value: http://fhir.nl/fhir/NamingSystem/url/fhir
active |  | 1..1 | boolean | Whether this organization affiliation record is in active use
organization |  | 1..1 | Reference(Organization) | Organization where the role is available
participatingOrganization |  | 1..1 | Reference(Organization) | Organization that provides/performs the role (e.g. providing services or is a member of)
code |  | 1..* | CodeableConcept | Definition of the role the participatingOrganization plays
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
OrganizationAffiliation |  | 0..* | OrganizationAffiliation | Defines an affiliation/assotiation/relationship between 2 distinct oganizations, that is not a part-of relationship/sub-division relationship
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional content defined by implementations
Slices for identifier | Σ | 1..* | Identifier | Business identifiers that are specific to this role Slice: Unordered, Open by value:$this
identifier:fhirUrl | Σ | 1..1 | Identifier | Business identifiers that are specific to this role Required Pattern: At least the following
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
use |  | 0..1 | code | usual | official | temp | secondary | old (If known)
type |  | 0..1 | CodeableConcept | Description of identifier
system |  | 1..1 | uri | The namespace for the identifier value Fixed Value: http://fhir.nl/fhir/NamingSystem/url/fhir
value |  | 0..1 | string | The value that is unique
period |  | 0..1 | Period | Time period when id is/was valid for use
assigner |  | 0..1 | Reference(Organization) | Organization that issued id (may be just text)
active | Σ | 1..1 | boolean | Whether this organization affiliation record is in active use
period | Σ | 0..1 | Period | The period during which the participatingOrganization is affiliated with the primary organization
organization | Σ | 1..1 | Reference(Organization) | Organization where the role is available
participatingOrganization | Σ | 1..1 | Reference(Organization) | Organization that provides/performs the role (e.g. providing services or is a member of)
network | Σ | 0..* | Reference(Organization) | Health insurance provider network in which the participatingOrganization provides the role's services (if defined) at the indicated locations (if defined)
code | Σ | 1..* | CodeableConcept | Definition of the role the participatingOrganization plays Binding: OrganizationAffiliationRole (example): The role the participating organization providing services to the primary organization.
specialty | Σ | 0..* | CodeableConcept | Specific specialty of the participatingOrganization in the context of the role Binding: PracticeSettingCodeValueSet (preferred): Specific specialty associated with the participating organization.
location | Σ | 0..* | Reference(Location) | The location(s) at which the role occurs
healthcareService |  | 0..* | Reference(HealthcareService) | Healthcare services provided through the role
telecom | Σ | 0..* | ContactPoint | Contact details at the participatingOrganization relevant to this Affiliation
endpoint |  | 0..* | Reference(Endpoint) | Technical endpoints providing access to services operated for this role
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
OrganizationAffiliation.​language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std.
OrganizationAffiliation.​code | Base | example | Organization Affiliation Role | 📍4.0.1 | FHIR Std.
OrganizationAffiliation.​specialty | Base | preferred | Practice Setting Code Value Set | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
dom-2 | error | OrganizationAffiliation | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | OrganizationAffiliation | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource | `contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()`
dom-4 | error | OrganizationAffiliation | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated | `contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()`
dom-5 | error | OrganizationAffiliation | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | OrganizationAffiliation | A resource should have narrative for robust management | `text.`div`.exists()`
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`

This structure is derived from OrganizationAffiliation

Summary

Mandatory: 6 elements
Prohibited: 2 elements

Slices

This structure defines the following Slices:

- The element 1 is sliced based on the value of OrganizationAffiliation.identifier

Other representations of profile: CSV, Excel, Schematron