PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.mcc.r4b@1.0.0
    http://hl7.org/fhir/us/mcc/StructureDefinition/MCCCareTeam
description: This profile constrains [US Core Care team](http://hl7.org/fhir/us/core/STU6.1/StructureDefinition-us-core-careteam.html) for use in the MCC FHIR Care Plan or other FHIR Care Plans. It features a requirement for Patient and at least one caregiver to be part of the members of the team.
package_name: hl7.fhir.us.mcc.r4b
derivation: constraint
name: MCCCareTeam
type: CareTeam
elements:
  extension:
    mustSupport: false
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        resource-pertainsToGoal:
          match: {url: null}
          schema: {type: Extension, short: 'The resource-pertainsToGoal relates the resource to the goal(s) that pertain to it. Whenever there is a goal associated with a health concern or problem, this extension should be present and populated in activity (event or intent) resources.', mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal', index: 1}
  participant:
    index: 2
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: role.coding.code, type: value}
      - {path: $this.member.resolve(), type: profile}
      - {path: role.coding.system, type: value}
      min: null
      slices:
        patient-as-team-member:
          match:
            role:
              coding: {code: null, system: null}
          schema:
            label: patient-as-careTeam-member
            short: patient-as-careTeam-member
            mustSupport: true
            index: 3
            elements:
              role:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: '116154003', system: 'http://snomed.info/sct', display: Patient (person)}
                index: 4
              member:
                type: Reference
                refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient']
                index: 5
              onBehalfOf: {index: 6}
        caregiver:
          match:
            role:
              coding: {code: null, system: null}
          schema:
            label: caregiver
            short: caregiver
            mustSupport: true
            array: true
            index: 7
            elements:
              role:
                pattern:
                  type: CodeableConcept
                  value:
                    coding:
                    - {code: '133932002', system: 'http://snomed.info/sct', display: Caregiver (person)}
                index: 8
              member:
                type: Reference
                refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-relatedperson']
                index: 9
package_version: 1.0.0
extensions:
  resource-pertainsToGoal: {url: 'http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal', type: Extension, short: 'The resource-pertainsToGoal relates the resource to the goal(s) that pertain to it. Whenever there is a goal associated with a health concern or problem, this extension should be present and populated in activity (event or intent) resources.', mustSupport: true, index: 1}
class: profile
kind: resource
url: http://hl7.org/fhir/us/mcc/StructureDefinition/MCCCareTeam
base: http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam
version: 1.0.0