PackagesCanonicalsLogsProblems
    Packages
    hl7.cda.us.ccda@4.0.0
    http://hl7.org/cda/us/ccda/StructureDefinition/SensoryStatus
description: 'This template represents a patient''s sensory or speech ability. It may contain an assessment scale observations related to the sensory or speech ability.\n\n#### Templates Used\nAlthough open templates may contain any valid CDA content, the following templates are specifically called out by this template:\n\n**Optional EntryRelationships**: [AssessmentScaleObservation](StructureDefinition-AssessmentScaleObservation.html)'
package_name: hl7.cda.us.ccda
derivation: constraint
name: SensoryStatus
type: http://hl7.org/cda/stds/core/StructureDefinition/Observation
elements:
  entryRelationship:
    index: 16
    slicing:
      rules: open
      discriminator:
      - {path: observation, type: profile}
      min: null
      slices:
        assessmentScaleObservation:
          match: {}
          schema:
            array: true
            index: 17
            elements:
              typeCode:
                pattern: {type: Code, value: SPRT}
                index: 18
              observation: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Observation', index: 19}
            required: [observation]
  value:
    type: http://hl7.org/cda/stds/core/StructureDefinition/CD
    binding: {strength: preferred, valueSet: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.44'}
    index: 14
  classCode:
    pattern: {type: Code, value: OBS}
    index: 4
  author: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Author', index: 15}
  code:
    binding: {strength: preferred, valueSet: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.11.20.9.50'}
    index: 6
  moodCode:
    pattern: {type: Code, value: EVN}
    index: 5
  effectiveTime:
    index: 11
    elements:
      low: {short: The effectiveTime/low (a.k.a. "onset date") asserts when the condition became biologically active., index: 12}
      high: {short: The effectiveTime/high (a.k.a. "resolution date") asserts when the condition became biologically resolved., index: 13}
    required: [low]
  templateId:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: root, type: value}
      min: 1
      slices:
        sensory-status:
          match: {root: 2.16.840.1.113883.10.20.22.4.127}
          schema:
            _required: true
            index: 1
            elements:
              root:
                pattern: {type: String, value: 2.16.840.1.113883.10.20.22.4.127}
                index: 2
              extension: {index: 3}
            required: [root]
            extensions: {}
  statusCode:
    index: 9
    elements:
      code:
        pattern: {type: Code, value: completed}
        index: 10
    required: [code]
  text:
    short: SHOULD reference the portion of section narrative text corresponding to this entry
    index: 7
    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/SensoryStatus', severity: error, expression: value.exists() implies value.startsWith('#')}
        index: 8
package_version: 4.0.0
class: logical
kind: logical
url: http://hl7.org/cda/us/ccda/StructureDefinition/SensoryStatus
base: http://hl7.org/cda/stds/core/StructureDefinition/Observation
version: 4.0.0
required: [effectiveTime, value, statusCode, templateId]