QI-Core Implementation Guide
7.0.2 - STU 7

QI-Core Implementation Guide, published by HL7 International / Clinical Quality Information. This guide is not an authorized publication; it is the continuous build for version 7.0.2 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-qi-core/ and changes regularly. See the Directory of published versions

## Resource Profile: QICore CareTeam

Official URL: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-careteam | Version: 7.0.2
Standards status: Trial-use | Maturity Level: 4 | Computable Name: QICoreCareTeam

Profile of CareTeam for decision support/quality metrics. Defines the core set of elements and extensions for quality rule and measure authors.

"Must Have", "QI Elements" and "primary code path" are defined in the QI-Core Must Support section.
Must Have:

- participant: Members of the team
- subject: (QI) Who the care team is for.

Primary code path: participant.role
(PCPath) This element is the primary code path for this resource CQL Retrieve
Usage

See the patterns page for implementation and usage patterns.

### Examples

Antenatal Care Team Example

Usages:

- Refer to this Profile: QICore CareTeam, QICore Communication, QICore CommunicationRequest, QICore ImagingStudy... Show 3 more, QICore NonPatient Observation, QICore Observation Screening Assessment and QICore Simple Observation

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
--- | --- | --- | --- | ---
CareTeam |  | 0..* | USCoreCareTeam | Planned participants in the coordination and delivery of care for a patient or group
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
status | ?!S Σ | 0..1 | code | proposed | active | suspended | inactive | entered-in-error Binding: CareTeamStatus (required): Indicates whether the team is current , represents future intentions or is now a historical record.
subject | S Σ | 1..1 | Reference(QICore Patient) | (QI) Who the care team is for.
participant | S C | 1..* | BackboneElement | Members of the team Constraints: ctm-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
role | S Σ | 1..1 | CodeableConcept | (QI) Type of involvement Binding: Care Team Member Function (extensible): Indicates specific responsibility of an individual within the care team, such as Primary physician, Team coordinator, Caregiver, etc.
member | S Σ | 1..1 | Reference(QICore Patient | QICore Practitioner | QICore PractitionerRole | QICore Organization | QICore CareTeam | QICore RelatedPerson) | (QI) Who is involved
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
CareTeam.status | Base | required | CareTeamStatus | 📦4.0.1 | FHIR Std.
CareTeam.participant.​role | Base | extensible | Care Team Member Function | 📦20190418 | VSAC v0.18

#### Constraints

Id | Grade | Path(s) | Description | Expression
ctm-1 | error | CareTeam.participant | CareTeam.participant.onBehalfOf can only be populated when CareTeam.participant.member is a Practitioner | `onBehalfOf.exists() implies (member.resolve().iif(empty(), true, ofType(Practitioner).exists()))`
dom-2 | error | CareTeam | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | CareTeam | 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 | CareTeam | 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 | CareTeam | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | CareTeam | 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 USCoreCareTeam

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
CareTeam |  | 0..* | USCoreCareTeam | Planned participants in the coordination and delivery of care for a patient or group
subject |  | 1..1 | Reference(QICore Patient) | (QI) Who the care team is for.
participant |  |  |  |
role | S Σ | 1..1 | CodeableConcept | (QI) Type of involvement Binding: Care Team Member Function (extensible): Indicates specific responsibility of an individual within the care team, such as Primary physician, Team coordinator, Caregiver, etc.
member |  | 1..1 | Reference(QICore Patient | QICore Practitioner | QICore PractitionerRole | QICore Organization | QICore CareTeam | QICore RelatedPerson) | (QI) Who is involved
Documentation for this format

#### Terminology Bindings (Differential)

Path | Status | Usage | ValueSet | Version | Source
CareTeam.participant.​role | Base | extensible | Care Team Member Function | 📦20190418 | VSAC v0.18

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
CareTeam |  | 0..* | USCoreCareTeam | Planned participants in the coordination and delivery of care for a patient or group
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 | External Ids for this team
status | ?!S Σ | 0..1 | code | proposed | active | suspended | inactive | entered-in-error Binding: CareTeamStatus (required): Indicates whether the team is current , represents future intentions or is now a historical record.
category | Σ | 0..* | CodeableConcept | Type of team Binding: CareTeamCategory (example): Indicates the type of care team.
name | Σ | 0..1 | string | Name of the team, such as crisis assessment team
subject | S Σ | 1..1 | Reference(QICore Patient) | (QI) Who the care team is for.
encounter | Σ | 0..1 | Reference(Encounter) | Encounter created as part of
period | Σ | 0..1 | Period | Time period team covers
participant | S C | 1..* | BackboneElement | Members of the team Constraints: ctm-1
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
role | S Σ | 1..1 | CodeableConcept | (QI) Type of involvement Binding: Care Team Member Function (extensible): Indicates specific responsibility of an individual within the care team, such as Primary physician, Team coordinator, Caregiver, etc.
member | S Σ | 1..1 | Reference(QICore Patient | QICore Practitioner | QICore PractitionerRole | QICore Organization | QICore CareTeam | QICore RelatedPerson) | (QI) Who is involved
onBehalfOf | Σ | 0..1 | Reference(Organization) | Organization of the practitioner
period |  | 0..1 | Period | Time period of participant
reasonCode |  | 0..* | CodeableConcept | Why the care team exists Binding: SNOMEDCTClinicalFindings (example): Indicates the reason for the care team.
reasonReference |  | 0..* | Reference(Condition) | Why the care team exists
managingOrganization | Σ | 0..* | Reference(Organization) | Organization responsible for the care team
telecom |  | 0..* | ContactPoint | A contact detail for the care team (that applies to all members)
note |  | 0..* | Annotation | Comments made about the CareTeam
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
CareTeam.language | Base | preferred | Common Languages | 📦4.0.1 | FHIR Std.
CareTeam.status | Base | required | CareTeamStatus | 📦4.0.1 | FHIR Std.
CareTeam.category | Base | example | Care Team category | 📦4.0.1 | FHIR Std.
CareTeam.participant.​role | Base | extensible | Care Team Member Function | 📦20190418 | VSAC v0.18
CareTeam.reasonCode | Base | example | SNOMED CT Clinical Findings | 📦4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
ctm-1 | error | CareTeam.participant | CareTeam.participant.onBehalfOf can only be populated when CareTeam.participant.member is a Practitioner | `onBehalfOf.exists() implies (member.resolve().iif(empty(), true, ofType(Practitioner).exists()))`
dom-2 | error | CareTeam | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | CareTeam | 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 | CareTeam | 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 | CareTeam | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | CareTeam | 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 USCoreCareTeam

Summary

Mandatory: 1 element
Must-Support: 1 element

Structures

This structure refers to these other structures:

- QICore Patient (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient)
- QICore Practitioner (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-practitioner)
- QICore PractitionerRole (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-practitionerrole)
- QICore Organization (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-organization)
- QICore CareTeam (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-careteam)
- QICore RelatedPerson (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-relatedperson)

Maturity: 4

Key Elements View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
CareTeam |  | 0..* | USCoreCareTeam | Planned participants in the coordination and delivery of care for a patient or group
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
status | ?!S Σ | 0..1 | code | proposed | active | suspended | inactive | entered-in-error Binding: CareTeamStatus (required): Indicates whether the team is current , represents future intentions or is now a historical record.
subject | S Σ | 1..1 | Reference(QICore Patient) | (QI) Who the care team is for.
participant | S C | 1..* | BackboneElement | Members of the team Constraints: ctm-1
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
role | S Σ | 1..1 | CodeableConcept | (QI) Type of involvement Binding: Care Team Member Function (extensible): Indicates specific responsibility of an individual within the care team, such as Primary physician, Team coordinator, Caregiver, etc.
member | S Σ | 1..1 | Reference(QICore Patient | QICore Practitioner | QICore PractitionerRole | QICore Organization | QICore CareTeam | QICore RelatedPerson) | (QI) Who is involved
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
CareTeam.status | Base | required | CareTeamStatus | 📦4.0.1 | FHIR Std.
CareTeam.participant.​role | Base | extensible | Care Team Member Function | 📦20190418 | VSAC v0.18

#### Constraints

Id | Grade | Path(s) | Description | Expression
ctm-1 | error | CareTeam.participant | CareTeam.participant.onBehalfOf can only be populated when CareTeam.participant.member is a Practitioner | `onBehalfOf.exists() implies (member.resolve().iif(empty(), true, ofType(Practitioner).exists()))`
dom-2 | error | CareTeam | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | CareTeam | 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 | CareTeam | 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 | CareTeam | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | CareTeam | 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 USCoreCareTeam

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
CareTeam |  | 0..* | USCoreCareTeam | Planned participants in the coordination and delivery of care for a patient or group
subject |  | 1..1 | Reference(QICore Patient) | (QI) Who the care team is for.
participant |  |  |  |
role | S Σ | 1..1 | CodeableConcept | (QI) Type of involvement Binding: Care Team Member Function (extensible): Indicates specific responsibility of an individual within the care team, such as Primary physician, Team coordinator, Caregiver, etc.
member |  | 1..1 | Reference(QICore Patient | QICore Practitioner | QICore PractitionerRole | QICore Organization | QICore CareTeam | QICore RelatedPerson) | (QI) Who is involved
Documentation for this format

#### Terminology Bindings (Differential)

Path | Status | Usage | ValueSet | Version | Source
CareTeam.participant.​role | Base | extensible | Care Team Member Function | 📦20190418 | VSAC v0.18

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
CareTeam |  | 0..* | USCoreCareTeam | Planned participants in the coordination and delivery of care for a patient or group
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 | External Ids for this team
status | ?!S Σ | 0..1 | code | proposed | active | suspended | inactive | entered-in-error Binding: CareTeamStatus (required): Indicates whether the team is current , represents future intentions or is now a historical record.
category | Σ | 0..* | CodeableConcept | Type of team Binding: CareTeamCategory (example): Indicates the type of care team.
name | Σ | 0..1 | string | Name of the team, such as crisis assessment team
subject | S Σ | 1..1 | Reference(QICore Patient) | (QI) Who the care team is for.
encounter | Σ | 0..1 | Reference(Encounter) | Encounter created as part of
period | Σ | 0..1 | Period | Time period team covers
participant | S C | 1..* | BackboneElement | Members of the team Constraints: ctm-1
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
role | S Σ | 1..1 | CodeableConcept | (QI) Type of involvement Binding: Care Team Member Function (extensible): Indicates specific responsibility of an individual within the care team, such as Primary physician, Team coordinator, Caregiver, etc.
member | S Σ | 1..1 | Reference(QICore Patient | QICore Practitioner | QICore PractitionerRole | QICore Organization | QICore CareTeam | QICore RelatedPerson) | (QI) Who is involved
onBehalfOf | Σ | 0..1 | Reference(Organization) | Organization of the practitioner
period |  | 0..1 | Period | Time period of participant
reasonCode |  | 0..* | CodeableConcept | Why the care team exists Binding: SNOMEDCTClinicalFindings (example): Indicates the reason for the care team.
reasonReference |  | 0..* | Reference(Condition) | Why the care team exists
managingOrganization | Σ | 0..* | Reference(Organization) | Organization responsible for the care team
telecom |  | 0..* | ContactPoint | A contact detail for the care team (that applies to all members)
note |  | 0..* | Annotation | Comments made about the CareTeam
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
CareTeam.language | Base | preferred | Common Languages | 📦4.0.1 | FHIR Std.
CareTeam.status | Base | required | CareTeamStatus | 📦4.0.1 | FHIR Std.
CareTeam.category | Base | example | Care Team category | 📦4.0.1 | FHIR Std.
CareTeam.participant.​role | Base | extensible | Care Team Member Function | 📦20190418 | VSAC v0.18
CareTeam.reasonCode | Base | example | SNOMED CT Clinical Findings | 📦4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
ctm-1 | error | CareTeam.participant | CareTeam.participant.onBehalfOf can only be populated when CareTeam.participant.member is a Practitioner | `onBehalfOf.exists() implies (member.resolve().iif(empty(), true, ofType(Practitioner).exists()))`
dom-2 | error | CareTeam | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | CareTeam | 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 | CareTeam | 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 | CareTeam | If a resource is contained in another resource, it SHALL NOT have a security label | `contained.meta.security.empty()`
dom-6 | best practice | CareTeam | 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 USCoreCareTeam

Summary

Mandatory: 1 element
Must-Support: 1 element

Structures

This structure refers to these other structures:

- QICore Patient (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient)
- QICore Practitioner (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-practitioner)
- QICore PractitionerRole (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-practitionerrole)
- QICore Organization (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-organization)
- QICore CareTeam (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-careteam)
- QICore RelatedPerson (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-relatedperson)

Maturity: 4

Other representations of profile: CSV, Excel, Schematron