Canadian Baseline
1.2.0 - CI Build

Canadian Baseline, published by HL7 Canada - FHIR Implementation Work Group. This guide is not an authorized publication; it is the continuous build for version 1.2.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7-Canada/ca-baseline/ and changes regularly. See the Directory of published versions

## Resource Profile: OrganizationAffiliation Profile

Official URL: http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-organizationaffiliation | Version: 1.2.0
Draft as of 2024-08-09 | Computable Name: OrganizationAffiliationProfile

Proposed constraints and extensions on the OrganizationAffiliation Resource. Generated as a first step toward creating a set of Canadian Baseline FHIR profiles.

This profile was generated from HL7 StructureDefinition on 2019-03-28 and constrained during a review of US Core against Canadian sources.

Note: This profile has been added to meet requirements met by ppr-ext-location-affiliation extension used in the ON PPR guide.

Intended use:

- Resource Use
  - a Location is place
  - an Organization is a group of people
  - an Organization may have one or more location
- ppr-ext-location-affiliation was used to add an element to a Location used identify an affiliated organization, including:
  - .type of affiliation ppr-provider-role-affiliation-type
  - .period of affiliation
  - .with affiliated Organization
- OrganizationAffiliation associates two Organizations and allows the location of the ParticipatingOrganization to be specified where:
  - OrganizationAffiliation.organization points to affiliated organization above
  - OrganizationAffiliation.participationOrganization points to the Organization that performs a role (Location.managingOrganization)
  - OrganizationAffiliation.code specifies the role the participatingOrganization plays (similar to Type above)
  - OrganizationAffiliation.location points to the Location where the role is performed

Usages:

- 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 | OrganizationAffiliation Profile
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
period | Σ | 0..1 | Period | The period during which the participatingOrganization is affiliated with the primary organization
organization | Σ | 0..1 | Reference(Organization Profile) | Organization where the role is available
participatingOrganization | Σ | 0..1 | Reference(Organization Profile) | Organization that provides/performs the role (e.g. providing services or is a member of)
code | Σ | 0..* | CodeableConcept | Definition of the role the participatingOrganization plays Binding: OrganizationAffiliationRole (example): The role the participating organization providing services to the primary organization.
location | Σ | 0..* | Reference(Location Profile) | The location(s) at which the role occurs
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())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`

This structure is derived from OrganizationAffiliation

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
OrganizationAffiliation |  | 0..* | OrganizationAffiliation | OrganizationAffiliation Profile
period |  | 0..1 | Period | The period during which the participatingOrganization is affiliated with the primary organization
organization |  | 0..1 | Reference(Organization Profile) | Organization where the role is available
participatingOrganization |  | 0..1 | Reference(Organization Profile) | Organization that provides/performs the role (e.g. providing services or is a member of)
code |  | 0..* | CodeableConcept | Definition of the role the participatingOrganization plays Binding: OrganizationAffiliationRole (example): The role the participating organization providing services to the primary organization.
location |  | 0..* | Reference(Location Profile) | The location(s) at which the role occurs
Documentation for this format

#### Terminology Bindings (Differential)

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

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
OrganizationAffiliation |  | 0..* | OrganizationAffiliation | OrganizationAffiliation Profile
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
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
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | Σ | 0..* | Identifier | Business identifiers that are specific to this role
active | Σ | 0..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 | Σ | 0..1 | Reference(Organization Profile) | Organization where the role is available
participatingOrganization | Σ | 0..1 | Reference(Organization Profile) | 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 | Σ | 0..* | 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 Profile) | 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

Structures

This structure refers to these other structures:

- Organization Profile (http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-organization)
- Location Profile (http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-location)

Key Elements View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
OrganizationAffiliation |  | 0..* | OrganizationAffiliation | OrganizationAffiliation Profile
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
period | Σ | 0..1 | Period | The period during which the participatingOrganization is affiliated with the primary organization
organization | Σ | 0..1 | Reference(Organization Profile) | Organization where the role is available
participatingOrganization | Σ | 0..1 | Reference(Organization Profile) | Organization that provides/performs the role (e.g. providing services or is a member of)
code | Σ | 0..* | CodeableConcept | Definition of the role the participatingOrganization plays Binding: OrganizationAffiliationRole (example): The role the participating organization providing services to the primary organization.
location | Σ | 0..* | Reference(Location Profile) | The location(s) at which the role occurs
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())`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`

Differential View

This structure is derived from OrganizationAffiliation

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
OrganizationAffiliation |  | 0..* | OrganizationAffiliation | OrganizationAffiliation Profile
period |  | 0..1 | Period | The period during which the participatingOrganization is affiliated with the primary organization
organization |  | 0..1 | Reference(Organization Profile) | Organization where the role is available
participatingOrganization |  | 0..1 | Reference(Organization Profile) | Organization that provides/performs the role (e.g. providing services or is a member of)
code |  | 0..* | CodeableConcept | Definition of the role the participatingOrganization plays Binding: OrganizationAffiliationRole (example): The role the participating organization providing services to the primary organization.
location |  | 0..* | Reference(Location Profile) | The location(s) at which the role occurs
Documentation for this format

#### Terminology Bindings (Differential)

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

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
OrganizationAffiliation |  | 0..* | OrganizationAffiliation | OrganizationAffiliation Profile
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
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
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | Σ | 0..* | Identifier | Business identifiers that are specific to this role
active | Σ | 0..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 | Σ | 0..1 | Reference(Organization Profile) | Organization where the role is available
participatingOrganization | Σ | 0..1 | Reference(Organization Profile) | 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 | Σ | 0..* | 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 Profile) | 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

Structures

This structure refers to these other structures:

- Organization Profile (http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-organization)
- Location Profile (http://hl7.org/fhir/ca/baseline/StructureDefinition/profile-location)

Other representations of profile: CSV, Excel, Schematron