PackagesCanonicalsLogsProblems
    Packages
    hl7.cda.us.ccda@3.0.0-ballot
    http://hl7.org/cda/us/ccda/StructureDefinition/CareTeamMemberAct
description: This template is used to represent a member of the care team. Care team members can include healthcare and community services providers, caregivers, relatives, the patient themselves, etc. A care team member can be another care team or an organization. \nCare team member attributes include the following:\n Care team member status on the care team\n Care team member time (e.g. duration, point-in-time, etc.) on the care team\n Schedule of the care team member describing when the care team member usually participates on the care team\n Care team member function on the care team such as the care team member specialty, relationship to the patient, and also role on the care team\n Care team member name, address, telecom, organization, etc. \n Care team member information (narrative description about the care team member)\n\nThe performer/assignedEntity/id may be set equal to (a pointer to) an id on a performer elsewhere in the document (header or entries) or a new performer can be described here. If the id is pointing to a performer already described elsewhere in the document, assignedEntity/id is sufficient to identify this performer and none of the remaining details of assignedEntity are required to be set. Application Software must be responsible for resolving the identifier back to its original object and then rendering the information in the correct place in the containing section's narrative text.\n\nThis id must be a pointer to another Performer.
package_name: hl7.cda.us.ccda
derivation: constraint
name: CareTeamMemberAct
type: http://hl7.org/cda/stds/core/StructureDefinition/Act
elements:
  entryRelationship:
    index: 37
    slicing:
      rules: open
      discriminator:
      - {path: observation, type: profile}
      - {path: act, type: profile}
      - {path: encounter, type: exists}
      - {path: observation, type: exists}
      - {path: act, type: exists}
      min: null
      slices:
        entryRelationship1:
          match: {}
          schema:
            short: entryRelationship
            array: true
            index: 38
            elements:
              typeCode:
                pattern: {type: Code, value: REFR}
                index: 39
              act: {index: 40}
              encounter:
                constraint:
                  4515-90: {human: 'If the first id does not match an encounter/id from an encounter elsewhere within the same document and the id does not contain @nullFlavor=NA, then this entry SHALL conform to the Encounter Activity (identifier: urn:hl7ii:2.16.840.1.113883.10.20.22.4.49:2015-08-01) (CONF:4515-90).', source: 'http://hl7.org/cda/us/ccda/StructureDefinition/CareTeamMemberAct', severity: error, expression: 'id.first().nullFlavor = ''NA'' or (%resource.descendants().ofType(CDA.Encounter).where(hasTemplateIdOf(''http://hl7.org/cda/us/ccda/StructureDefinition/EncounterActivity'') and id.exists($this.root = %context.id.first().root and $this.extension ~ %context.id.first().extension)))'}
                index: 41
                elements:
                  id: {index: 42}
                required: [id]
              observation: {index: 43}
            required: [encounter]
        entryRelationship2:
          match: {}
          schema:
            short: This is the note activity to naratively describe information about the member on the care team.
            array: true
            index: 44
            elements:
              typeCode:
                pattern: {type: Code, value: REFR}
                index: 45
              act: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Act', index: 46}
              encounter: {index: 47}
              observation: {index: 48}
            required: [act]
        entryRelationship3:
          match: {}
          schema:
            short: This is the schedule of when or how frequently the care team member participates (or provides care to the patient) on the care team.
            index: 49
            elements:
              typeCode:
                pattern: {type: Code, value: REFR}
                index: 50
              act: {index: 51}
              encounter: {index: 52}
              observation: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Observation', index: 53}
            required: [observation]
  participant:
    index: 28
    slicing:
      rules: open
      discriminator:
      - {path: typeCode, type: value}
      min: null
      slices:
        location:
          match: {typeCode: LOC}
          schema:
            short: particThis participant represents the location where the care team member provides the serviceipant
            array: true
            index: 29
            elements:
              typeCode:
                pattern: {type: Code, value: LOC}
                index: 30
              participantRole: {index: 31}
        addl-functions:
          match: {typeCode: IND}
          schema:
            short: This participant is used to express additional care team functions performed by this member of the team. Include additional participant to record additional roles (functionCode) this Care Team member plays.
            array: true
            index: 32
            elements:
              typeCode:
                pattern: {type: Code, value: IND}
                index: 33
              sdtcFunctionCode:
                short: sdtc:functionCode
                binding: {strength: required, valueSet: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.30'}
                index: 34
              participantRole:
                index: 35
                elements:
                  nullFlavor:
                    pattern: {type: Code, value: NA}
                    index: 36
                required: [nullFlavor]
            required: [sdtcFunctionCode]
  classCode:
    pattern: {type: Code, value: PCPR}
    index: 4
  code:
    index: 6
    elements:
      code:
        pattern: {type: Code, value: 85847-2}
        index: 7
      codeSystem:
        pattern: {type: String, value: 2.16.840.1.113883.6.1}
        index: 8
    required: [codeSystem, code]
  moodCode:
    pattern: {type: Code, value: EVN}
    index: 5
  effectiveTime:
    index: 13
    elements:
      low: {index: 14}
      high: {index: 15}
    required: [low]
  templateId:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: root, type: value}
      - {path: extension, type: value}
      min: 1
      slices:
        care-team-member-act:
          match: {root: 2.16.840.1.113883.10.20.22.4.500.1, extension: '2022-06-01'}
          schema:
            _required: true
            index: 1
            elements:
              root:
                pattern: {type: String, value: 2.16.840.1.113883.10.20.22.4.500.1}
                index: 2
              extension:
                pattern: {type: String, value: '2022-06-01'}
                index: 3
            required: [root, extension]
            extensions: {}
  statusCode:
    index: 11
    elements:
      code:
        binding: {strength: required, valueSet: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.15933'}
        index: 12
    required: [code]
  performer:
    index: 16
    elements:
      sdtcFunctionCode:
        short: (USCDI) Care Team Member Role - This sdtc:functionCode represents the function or role of the member on the care team. For example, the care team member roles on the care team can be a caregiver and a professional nurse or a primary care provider and the care coordinator.
        binding: {strength: preferred, valueSet: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113762.1.4.1099.30'}
        index: 17
      assignedEntity:
        constraint:
          4515-180: {human: 'If the assignedEntity/id is not referencing a Performer elsewhere in the document with an assignedPerson populated, this assignedEntity SHALL contain exactly one [1..1] assignedPerson (CONF:4515-180).', source: 'http://hl7.org/cda/us/ccda/StructureDefinition/CareTeamMemberAct', severity: error, expression: assignedPerson.exists() or (%resource.descendants().ofType(CDA.Performer2).where(assignedEntity.assignedPerson.exists() and assignedEntity.id.exists($this.root = %context.id.first().root and $this.extension ~ %context.id.first().extension)))}
          should-addr: {human: SHOULD contain addr, source: 'http://hl7.org/cda/us/ccda/StructureDefinition/CareTeamMemberAct', severity: warning, expression: addr.exists()}
          should-telecom: {human: SHOULD contain telecom, source: 'http://hl7.org/cda/us/ccda/StructureDefinition/CareTeamMemberAct', severity: warning, expression: telecom.exists()}
          should-assignedPerson: {human: SHOULD contain assignedPerson, source: 'http://hl7.org/cda/us/ccda/StructureDefinition/CareTeamMemberAct', severity: warning, expression: assignedPerson.exists()}
        index: 18
        elements:
          id:
            short: (USCDI) Care Team Member Identifier
            index: 19
            elements:
              root:
                constraint:
                  should-npi: {human: SHOULD be NPI, source: 'http://hl7.org/cda/us/ccda/StructureDefinition/CareTeamMemberAct', severity: warning, expression: $this = '2.16.840.1.113883.4.6'}
                index: 20
          addr: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/AD', short: (USCDI) Care Team Member Location, index: 21}
          telecom: {short: (USCDI) Care Team Member Telecom, index: 22}
          assignedPerson:
            short: (USCDI) Care Team Member Name
            index: 23
            elements:
              name: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/PN', index: 24}
            required: [name]
          representedOrganization:
            index: 25
            elements:
              telecom: {index: 26}
              addr: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/AD', index: 27}
            required: [addr, telecom]
  text:
    short: SHOULD reference the portion of section narrative text corresponding to this entry
    index: 9
    elements:
      reference:
        constraint:
          value-starts-octothorpe: {human: 'If reference/@value is present, it SHALL begin with a ''#'' and SHALL point to its corresponding narrative', source: 'http://hl7.org/cda/us/ccda/StructureDefinition/CareTeamMemberAct', severity: error, expression: value.exists() implies value.startsWith('#')}
        index: 10
package_version: 3.0.0-ballot
class: logical
kind: logical
url: http://hl7.org/cda/us/ccda/StructureDefinition/CareTeamMemberAct
base: http://hl7.org/cda/stds/core/StructureDefinition/Act
version: 3.0.0-ballot
required: [effectiveTime, statusCode, templateId, performer]