PackagesCanonicalsLogsProblems
    Packages
    hl7.cda.us.ccda@4.0.0-ballot
    http://hl7.org/cda/us/ccda/StructureDefinition/HealthStatusObservation
description: This template represents information about the overall health status of the patient. To represent the impact of a specific problem or concern related to the patient's expected health outcome use the Prognosis Observation template 2.16.840.1.113883.10.20.22.4.113.
package_name: hl7.cda.us.ccda
derivation: constraint
name: HealthStatusObservation
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:
        health-status-obs:
          match: {root: 2.16.840.1.113883.10.20.22.4.5, extension: '2014-06-09'}
          schema:
            _required: true
            index: 1
            elements:
              root:
                pattern: {type: String, value: 2.16.840.1.113883.10.20.22.4.5}
                index: 2
              extension:
                pattern: {type: String, value: '2014-06-09'}
                index: 3
            required: [root, extension]
            extensions: {}
  classCode:
    pattern: {type: Code, value: OBS}
    index: 4
  moodCode:
    pattern: {type: Code, value: EVN}
    index: 5
  id: {index: 6}
  code:
    index: 7
    elements:
      code:
        pattern: {type: Code, value: 11323-3}
        index: 8
      codeSystem:
        pattern: {type: String, value: 2.16.840.1.113883.6.1}
        index: 9
    required: [codeSystem, code]
  text:
    short: SHOULD reference the portion of section narrative text corresponding to this entry
    index: 10
    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/HealthStatusObservation', severity: error, expression: value.exists() implies value.startsWith('#')}
        index: 11
  statusCode:
    index: 12
    elements:
      code:
        pattern: {type: Code, value: completed}
        index: 13
    required: [code]
  value:
    type: http://hl7.org/cda/stds/core/StructureDefinition/CD
    binding: {strength: required, valueSet: 'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.20.12'}
    index: 14
package_version: 4.0.0-ballot
class: logical
kind: logical
url: http://hl7.org/cda/us/ccda/StructureDefinition/HealthStatusObservation
base: http://hl7.org/cda/stds/core/StructureDefinition/Observation
version: 4.0.0-ballot
required: [id, value, statusCode, templateId]