PackagesCanonicalsLogsProblems
    Packages
    hl7.cda.us.ccda@3.0.0
    http://hl7.org/cda/us/ccda/StructureDefinition/CareTeamTypeObservation
description: 'This template is used to express the care team type. A care team can have multiple care team types. Examples include but are not limited to: \n* Condition focused, longitudinal care team\n* Event focused, Home & Community Based Services care team\n* Condition focused, clinical research care team \n* Public health focused, Longitudinal care-coordination care team\n'
package_name: hl7.cda.us.ccda
derivation: constraint
name: CareTeamTypeObservation
type: http://hl7.org/cda/stds/core/StructureDefinition/Observation
elements:
  templateId:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: root, type: value}
      - {path: extension, type: value}
      min: 1
      slices:
        care-team-type-obs:
          match: {root: 2.16.840.1.113883.10.20.22.4.500.2, extension: '2019-07-01'}
          schema:
            _required: true
            index: 1
            elements:
              root:
                pattern: {type: String, value: 2.16.840.1.113883.10.20.22.4.500.2}
                index: 2
              extension:
                pattern: {type: String, value: '2019-07-01'}
                index: 3
            required: [root, extension]
            extensions: {}
  classCode:
    pattern: {type: Code, value: OBS}
    index: 4
  moodCode:
    pattern: {type: Code, value: EVN}
    index: 5
  code:
    index: 6
    elements:
      code:
        pattern: {type: Code, value: 86744-0}
        index: 7
      codeSystem:
        pattern: {type: String, value: 2.16.840.1.113883.6.1}
        index: 8
    required: [codeSystem, code]
  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/CareTeamTypeObservation', severity: error, expression: value.exists() implies value.startsWith('#')}
        index: 10
  statusCode:
    index: 11
    elements:
      code:
        pattern: {type: Code, value: completed}
        index: 12
    required: [code]
  value:
    type: http://hl7.org/cda/stds/core/StructureDefinition/CD
    short: value
    index: 13
    elements:
      nullFlavor: {index: 14}
      code:
        binding: {strength: required, valueSet: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.4.642.3.155'}
        index: 15
    required: [code]
package_version: 3.0.0
class: logical
kind: logical
url: http://hl7.org/cda/us/ccda/StructureDefinition/CareTeamTypeObservation
base: http://hl7.org/cda/stds/core/StructureDefinition/Observation
version: 3.0.0
required: [value, statusCode, templateId]