Canadian Core
0.1.0 - CI Build

Canadian Core, published by Canadian FHIR Implementor Working Group. This is not an authorized publication; it is the continuous build for version 0.1.0). This version is based on the current content of https://github.com/scratch-fhir-profiles/CA-Core/ and changes regularly. See the Directory of published versions

Resource Profile: OrganizationAffiliation Profile

Defining URL:http://hl7.org/fhir/ca/core/StructureDefinition/profile-organizationaffiliation
Version:0.1.0
Name:OrganizationAffiliationProfile
Title:OrganizationAffiliation Profile
Status:Draft as of 2019-04-05
Definition:

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

Publisher:Canadian FHIR Implementor Working Group
Source Resource:XML / JSON / Turtle

The official URL for this profile is:

http://hl7.org/fhir/ca/core/StructureDefinition/profile-organizationaffiliation

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:
  • 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

Formal Views of Profile Content

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

This structure is derived from OrganizationAffiliation

NameFlagsCard.TypeDescription & Constraintsdoco
.. OrganizationAffiliation 0..*OrganizationAffiliationOrganizationAffiliation Profile
... period 0..1PeriodThe period during which the participatingOrganization is affiliated with the primary organization
... organization 0..1Reference(Organization Profile)Organization where the role is available
... participatingOrganization 0..1Reference(Organization Profile)Organization that provides/performs the role (e.g. providing services or is a member of)
... location 0..*Reference(Location Profile)The location(s) at which the role occurs

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. OrganizationAffiliation 0..*OrganizationAffiliationOrganizationAffiliation Profile
... id Σ0..1stringLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*IdentifierBusiness identifiers that are specific to this role
... active Σ0..1booleanWhether this organization affiliation record is in active use
... period Σ0..1PeriodThe period during which the participatingOrganization is affiliated with the primary organization
... organization Σ0..1Reference(Organization Profile)Organization where the role is available
... participatingOrganization Σ0..1Reference(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..*CodeableConceptDefinition of the role the participatingOrganization plays
Binding: OrganizationAffiliationRole (example): The role the participating organization providing services to the primary organization.


... specialty Σ0..*CodeableConceptSpecific 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..*ContactPointContact details at the participatingOrganization relevant to this Affiliation
... endpoint 0..*Reference(Endpoint)Technical endpoints providing access to services operated for this role

doco Documentation for this format

Differential View

This structure is derived from OrganizationAffiliation

NameFlagsCard.TypeDescription & Constraintsdoco
.. OrganizationAffiliation 0..*OrganizationAffiliationOrganizationAffiliation Profile
... period 0..1PeriodThe period during which the participatingOrganization is affiliated with the primary organization
... organization 0..1Reference(Organization Profile)Organization where the role is available
... participatingOrganization 0..1Reference(Organization Profile)Organization that provides/performs the role (e.g. providing services or is a member of)
... location 0..*Reference(Location Profile)The location(s) at which the role occurs

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. OrganizationAffiliation 0..*OrganizationAffiliationOrganizationAffiliation Profile
... id Σ0..1stringLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*IdentifierBusiness identifiers that are specific to this role
... active Σ0..1booleanWhether this organization affiliation record is in active use
... period Σ0..1PeriodThe period during which the participatingOrganization is affiliated with the primary organization
... organization Σ0..1Reference(Organization Profile)Organization where the role is available
... participatingOrganization Σ0..1Reference(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..*CodeableConceptDefinition of the role the participatingOrganization plays
Binding: OrganizationAffiliationRole (example): The role the participating organization providing services to the primary organization.


... specialty Σ0..*CodeableConceptSpecific 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..*ContactPointContact details at the participatingOrganization relevant to this Affiliation
... endpoint 0..*Reference(Endpoint)Technical endpoints providing access to services operated for this role

doco Documentation for this format

 

Other representations of profile: Schematron

Terminology Bindings

PathConformanceValueSet
OrganizationAffiliation.languagepreferredCommonLanguages
Max Binding: AllLanguages
OrganizationAffiliation.codeexampleOrganizationAffiliationRole
OrganizationAffiliation.specialtypreferredPracticeSettingCodeValueSet

Constraints

IdPathDetailsRequirements
dom-2OrganizationAffiliationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3OrganizationAffiliationIf 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-4OrganizationAffiliationIf 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-5OrganizationAffiliationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6OrganizationAffiliationA resource should have narrative for robust management
: text.`div`.exists()
ele-1OrganizationAffiliation.metaAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1OrganizationAffiliation.implicitRulesAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1OrganizationAffiliation.languageAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1OrganizationAffiliation.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1OrganizationAffiliation.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1OrganizationAffiliation.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1OrganizationAffiliation.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1OrganizationAffiliation.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1OrganizationAffiliation.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1OrganizationAffiliation.activeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1OrganizationAffiliation.periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1OrganizationAffiliation.organizationAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1OrganizationAffiliation.participatingOrganizationAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1OrganizationAffiliation.networkAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1OrganizationAffiliation.codeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1OrganizationAffiliation.specialtyAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1OrganizationAffiliation.locationAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1OrganizationAffiliation.healthcareServiceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1OrganizationAffiliation.telecomAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1OrganizationAffiliation.endpointAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())