PackagesCanonicalsLogsProblems
    Packages
    hl7.cda.us.ccda@3.0.0-ballot
    http://hl7.org/cda/us/ccda/StructureDefinition/EncountersSection
description: 'This section lists and describes any healthcare encounters pertinent to the patient''s current health status or historical health history. An encounter is an interaction, regardless of the setting, between a patient and a practitioner who is vested with primary responsibility for diagnosing, evaluating, or treating the patient''s condition. It may include visits, appointments, as well as non-face-to-face interactions. It is also a contact between a patient and a practitioner who has primary responsibility (exercising independent judgment) for assessing and treating the patient at a given contact. This section may contain all encounters for the time period being summarized, but should include notable encounters.  NOTE: Since the EncounterActivity entry template has a moodCode of EVN, it is not possible to use it for planned encounters.  The PlannedEncounter entry template should be used if future encounters are being included in this section.'
package_name: hl7.cda.us.ccda
derivation: constraint
name: EncountersSection
type: http://hl7.org/cda/stds/core/StructureDefinition/Section
elements:
  nullFlavor: {short: 'If a required section contains no information, the @nullFlavor MAY be set to NI', index: 0}
  templateId:
    index: 1
    slicing:
      rules: open
      discriminator:
      - {path: root, type: value}
      - {path: extension, type: value}
      min: 1
      slices:
        section:
          match: {root: 2.16.840.1.113883.10.20.22.2.22.1, extension: '2015-08-01'}
          schema:
            _required: true
            index: 2
            elements:
              root:
                pattern: {type: String, value: 2.16.840.1.113883.10.20.22.2.22.1}
                index: 3
              extension:
                pattern: {type: String, value: '2015-08-01'}
                index: 4
            required: [root, extension]
            extensions: {}
  code:
    short: Encounters
    index: 5
    elements:
      code:
        pattern: {type: Code, value: 46240-8}
        index: 6
      codeSystem:
        pattern: {type: String, value: 2.16.840.1.113883.6.1}
        index: 7
    required: [codeSystem, code]
  title: {index: 8}
  text: {index: 9}
  entry:
    short: 'If section/@nullFlavor is not present:'
    index: 10
    slicing:
      rules: open
      discriminator:
      - {path: encounter, type: profile}
      min: null
      slices:
        encounter:
          match: {}
          schema:
            array: true
            index: 11
            elements:
              encounter: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Encounter', index: 12}
            required: [encounter]
package_version: 3.0.0-ballot
class: logical
kind: logical
url: http://hl7.org/cda/us/ccda/StructureDefinition/EncountersSection
base: http://hl7.org/cda/stds/core/StructureDefinition/Section
version: 3.0.0-ballot
required: [text, title, templateId, code]