PackagesCanonicalsLogsProblems
    Packages
    hl7.cda.us.ccda@4.0.0-ballot
    http://hl7.org/cda/us/ccda/StructureDefinition/CareTeamMemberScheduleObservation
description: 'This template represents the schedule of when the care team member participates on the care team. Examples include: \n An oncologist who participated on the care team for one week.\n A primary care provider who participated on a care team during one summer (e.g. in the case of patients who are snow-birds).\n A crisis team who participated on the care team for the patient during an inpatient stay (e.g. in the case of children with special needs).'
package_name: hl7.cda.us.ccda
derivation: constraint
name: CareTeamMemberScheduleObservation
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-member-schedule-obs:
          match: {root: 2.16.840.1.113883.10.20.22.4.500.3, 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.3}
                index: 2
              extension:
                pattern: {type: String, value: '2022-06-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: 57203-2}
        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/CareTeamMemberScheduleObservation', severity: error, expression: value.exists() implies value.startsWith('#')}
        index: 10
        elements:
          value: {index: 11}
        required: [value]
    required: [reference]
  statusCode:
    index: 12
    elements:
      code:
        pattern: {type: Code, value: completed}
        index: 13
    required: [code]
  value:
    type: http://hl7.org/cda/stds/core/StructureDefinition/IVL-TS
    short: Observation/value Interval Time Stamp holds the time range the Care Team Member participated on the Care Team of the patient.
    constraint:
      should-high: {human: SHOULD contain high, source: 'http://hl7.org/cda/us/ccda/StructureDefinition/CareTeamMemberScheduleObservation', severity: warning, expression: high.exists()}
    index: 14
    elements:
      low: {index: 15}
      high: {index: 16}
    required: [low]
package_version: 4.0.0-ballot
class: logical
kind: logical
url: http://hl7.org/cda/us/ccda/StructureDefinition/CareTeamMemberScheduleObservation
base: http://hl7.org/cda/stds/core/StructureDefinition/Observation
version: 4.0.0-ballot
required: [value, statusCode, text, templateId]