PackagesCanonicalsLogsProblems
    Packages
    rs/hl7.cda.us.ccda@4.0.0
    http://hl7.org/cda/us/ccda/StructureDefinition/AverageBloodPressureOrganizer
description: This template represents a single instance of an Average Blood Pressure reading. Average (mean) Blood Pressure (systolic and diastolic) is the average of two or more blood pressure (BP) readings in a specified time period or according to a specified algorithm or protocol determined by the organization collecting the data. This template contains two Vital Sign Observation components for the two parts of the reading.
package_name: rs/hl7.cda.us.ccda
derivation: constraint
name: AverageBloodPressureOrganizer
type: http://hl7.org/cda/stds/core/StructureDefinition/Organizer
elements:
  templateId:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: root, type: value}
      - {path: extension, type: value}
      min: 1
      slices:
        avg-bp-org:
          match: {root: 2.16.840.1.113883.10.20.22.4.512, extension: '2024-05-01'}
          schema:
            _required: true
            index: 1
            elements:
              root:
                pattern: {type: string, value: 2.16.840.1.113883.10.20.22.4.512}
                type: string
                index: 2
              extension:
                pattern: {type: string, value: '2024-05-01'}
                type: string
                index: 3
            required: [extension, root]
            extensions: {}
  classCode:
    pattern: {type: code, value: BATTERY}
    type: code
    index: 4
  code:
    short: Blood pressure panel mean systolic and mean diastolic
    index: 5
    elements:
      code:
        pattern: {type: code, value: 96607-7}
        type: code
        index: 6
      codeSystem:
        short: LOINC
        pattern: {type: string, value: 2.16.840.1.113883.6.1}
        type: string
        index: 7
    required: [code, codeSystem]
  sdtcText:
    short: SHOULD reference the portion of section narrative text corresponding to this entry
    index: 8
    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/AverageBloodPressureOrganizer', severity: error, expression: value.exists() implies value.startsWith('#')}
        index: 9
  statusCode:
    elements:
      code:
        pattern: {type: code, value: completed}
        type: code
        index: 10
    required: [code]
  effectiveTime: {short: Shall match the time of the individual components, index: 11}
  author: {type: 'http://hl7.org/cda/stds/core/StructureDefinition/Author', index: 12}
  component:
    array: true
    min: 2
    index: 13
    slicing:
      rules: open
      discriminator:
      - {path: observation.code.code, type: value}
      min: 2
      slices:
        systolic:
          match:
            observation:
              code: {code: 96608-5}
          schema:
            _required: true
            index: 14
            elements:
              observation:
                index: 15
                elements:
                  code:
                    short: Systolic blood pressure mean
                    index: 16
                    elements:
                      code:
                        pattern: {type: code, value: 96608-5}
                        type: code
                        index: 17
                      codeSystem:
                        short: LOINC
                        pattern: {type: string, value: 2.16.840.1.113883.6.1}
                        type: string
                        index: 18
                    required: [code, codeSystem]
                  value:
                    type: http://hl7.org/cda/stds/core/StructureDefinition/PQ
                    index: 19
                    elements:
                      unit:
                        pattern: {type: code, value: 'mm[Hg]'}
                        type: code
                        index: 20
            required: [observation]
        diastolic:
          match:
            observation:
              code: {code: 96609-3}
          schema:
            _required: true
            index: 21
            elements:
              observation:
                index: 22
                elements:
                  code:
                    short: Diastolic blood pressure mean
                    index: 23
                    elements:
                      code:
                        pattern: {type: code, value: 96609-3}
                        type: code
                        index: 24
                      codeSystem:
                        short: LOINC
                        pattern: {type: string, value: 2.16.840.1.113883.6.1}
                        type: string
                        index: 25
                    required: [code, codeSystem]
                  value:
                    type: http://hl7.org/cda/stds/core/StructureDefinition/PQ
                    index: 26
                    elements:
                      unit:
                        pattern: {type: code, value: 'mm[Hg]'}
                        type: code
                        index: 27
            required: [observation]
package_version: 4.0.0
class: logical
kind: logical
url: http://hl7.org/cda/us/ccda/StructureDefinition/AverageBloodPressureOrganizer
base: http://hl7.org/cda/stds/core/StructureDefinition/Organizer
version: 4.0.0
required: [code, templateId]