QI-Core Implementation Guide
4.1.0 - release

Publication Build: This will be filled in by the publication tooling

## Resource Profile: QICoreCareTeam

Defining URL: | http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-careteam
Version: | 4.1.0
Name: | QICoreCareTeam
Status: | Draft as of 8/22/18
Definition: | Profile of CareTeam for decision support/quality metrics. Defines the core set of elements and extensions for quality rule and measure authors.
Publisher: | http://www.hl7.org/Special/committees/cqi/index.cfm
Source Resource: | XML / JSON / Turtle

The official URL for this profile is:

    http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-careteam

Usage

See the patterns page for implementation and usage patterns.

### Examples

Antenatal Care Team Example

### Formal Views of Profile Content

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

- Text Summary
- Differential Table
- Snapshot Table
- Snapshot Table (Must Support)
- All

This structure is derived from USCoreCareTeam

Summary

Mandatory: 3 elements
Must-Support: 3 elements

Structures

This structure refers to these other structures:

- QICorePatient (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient)
- QICorePractitioner (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-practitioner)
- QICoreOrganization (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-organization)

This structure is derived from USCoreCareTeam

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
CareTeam |  | 0..* | USCoreCareTeam | Planned participants in the coordination and delivery of care for a patient or group
subject | S | 1..1 | Reference(QICorePatient) | Who care team is for
participant | S | 1..* | BackboneElement | Members of the team
member | S | 1..1 | Reference(QICorePatient | QICorePractitioner | QICoreOrganization) | Who is involved
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
CareTeam |  | 0..* | USCoreCareTeam | Planned participants in the coordination and delivery of care for a patient or group
id | Σ | 0..1 | string | 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) Max Binding: AllLanguages: A human language.
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation
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(QICorePatient) | Who care team is for
encounter | Σ | 0..1 | Reference(Encounter) | Encounter created as part of
period | Σ | 0..1 | Period | Time period team covers
participant | S I | 1..* | BackboneElement | Members of the team
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 | Type of involvement Binding: US Core CareTeam Provider Roles (extensible): Indicates specific responsibility of an individual within the care team, such as Primary physician, Team coordinator, Caregiver, etc.
member | S Σ | 1..1 | Reference(QICorePatient | QICorePractitioner | QICoreOrganization) | 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

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
CareTeam |  | 0..* | USCoreCareTeam | Planned participants in the coordination and delivery of care for a patient or group
status | ?!Σ | 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 | Σ | 1..1 | Reference(QICorePatient) | Who care team is for
participant | I | 1..* | BackboneElement | Members of the team
role | Σ | 1..1 | CodeableConcept | Type of involvement Binding: US Core CareTeam Provider Roles (extensible): Indicates specific responsibility of an individual within the care team, such as Primary physician, Team coordinator, Caregiver, etc.
member | Σ | 1..1 | Reference(QICorePatient | QICorePractitioner | QICoreOrganization) | Who is involved
Documentation for this format

This structure is derived from USCoreCareTeam

Summary

Mandatory: 3 elements
Must-Support: 3 elements

Structures

This structure refers to these other structures:

- QICorePatient (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient)
- QICorePractitioner (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-practitioner)
- QICoreOrganization (http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-organization)

Differential View

This structure is derived from USCoreCareTeam

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
CareTeam |  | 0..* | USCoreCareTeam | Planned participants in the coordination and delivery of care for a patient or group
subject | S | 1..1 | Reference(QICorePatient) | Who care team is for
participant | S | 1..* | BackboneElement | Members of the team
member | S | 1..1 | Reference(QICorePatient | QICorePractitioner | QICoreOrganization) | Who is involved
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
CareTeam |  | 0..* | USCoreCareTeam | Planned participants in the coordination and delivery of care for a patient or group
id | Σ | 0..1 | string | 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) Max Binding: AllLanguages: A human language.
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation
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(QICorePatient) | Who care team is for
encounter | Σ | 0..1 | Reference(Encounter) | Encounter created as part of
period | Σ | 0..1 | Period | Time period team covers
participant | S I | 1..* | BackboneElement | Members of the team
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 | Type of involvement Binding: US Core CareTeam Provider Roles (extensible): Indicates specific responsibility of an individual within the care team, such as Primary physician, Team coordinator, Caregiver, etc.
member | S Σ | 1..1 | Reference(QICorePatient | QICorePractitioner | QICoreOrganization) | 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

Other representations of profile: CSV, Excel, Schematron

#### Terminology Bindings

Path | Conformance | ValueSet
CareTeam.language | preferred | CommonLanguages Max Binding: AllLanguages
CareTeam.status | required | CareTeamStatus
CareTeam.category | example | CareTeamCategory
CareTeam.participant.role | extensible | USCoreCareTeamProviderRoles
CareTeam.reasonCode | example | SNOMEDCTClinicalFindings

#### Constraints

Id | Grade | Path | Details | Requirements
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 | CareTeam.meta | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | CareTeam.implicitRules | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | CareTeam.language | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | CareTeam.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | CareTeam.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ext-1 | error | CareTeam.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
ele-1 | error | CareTeam.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ext-1 | error | CareTeam.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
ele-1 | error | CareTeam.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | CareTeam.status | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | CareTeam.category | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | CareTeam.name | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | CareTeam.subject | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | CareTeam.encounter | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | CareTeam.period | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
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())) |
ele-1 | error | CareTeam.participant | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | CareTeam.participant.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ext-1 | error | CareTeam.participant.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
ele-1 | error | CareTeam.participant.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ext-1 | error | CareTeam.participant.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
ele-1 | error | CareTeam.participant.role | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | CareTeam.participant.member | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | CareTeam.participant.onBehalfOf | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | CareTeam.participant.period | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | CareTeam.reasonCode | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | CareTeam.reasonReference | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | CareTeam.managingOrganization | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | CareTeam.telecom | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | error | CareTeam.note | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |