PackagesCanonicalsLogsProblems
    Packages
    colonoscopyreport.no@0.2.0-beta1
    http://kreftregisteret.no/fhir/StructureDefinition/colonoscopyreport-bostonbowelpreparationscale
description: Represents the Boston Bowel Preparation Scale, needed for colonoscopy reports
package_name: colonoscopyreport.no
derivation: constraint
name: BostonBowelPreparationScale
abstract: true
type: Observation
elements:
  code:
    elements:
      coding:
        index: 0
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: value}
          min: 1
          slices:
            SNOMED-CT:
              match: {code: '722818007', system: 'http://snomed.info/sct'}
              schema:
                pattern:
                  type: Coding
                  value: {code: '722818007', system: 'http://snomed.info/sct'}
                _required: true
                index: 1
              min: 1
              max: 1
    required: [coding]
  component:
    index: 2
    slicing:
      rules: open
      discriminator:
      - {path: code, type: value}
      min: null
      slices:
        rightColon:
          match: {code: null}
          schema:
            mustSupport: true
            index: 3
            elements:
              code:
                mustSupport: true
                index: 4
                elements:
                  coding:
                    index: 5
                    slicing:
                      rules: open
                      discriminator:
                      - {path: $this, type: value}
                      min: null
                      slices:
                        SNOMED-CT:
                          match: {code: '8901000202102', system: 'http://snomed.info/sct'}
                          schema:
                            pattern:
                              type: Coding
                              value: {code: '8901000202102', system: 'http://snomed.info/sct'}
                            index: 6
                          max: 1
              value:
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 8
              valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 9}
        transversum:
          match: {code: null}
          schema:
            mustSupport: true
            index: 10
            elements:
              code:
                mustSupport: true
                index: 11
                elements:
                  coding:
                    index: 12
                    slicing:
                      rules: open
                      discriminator:
                      - {path: $this, type: value}
                      min: null
                      slices:
                        SNOMED-CT:
                          match: {code: '8911000202100', system: 'http://snomed.info/sct'}
                          schema:
                            pattern:
                              type: Coding
                              value: {code: '8911000202100', system: 'http://snomed.info/sct'}
                            index: 13
                          max: 1
              value:
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 15
              valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 16}
        leftColon:
          match: {code: null}
          schema:
            mustSupport: true
            index: 17
            elements:
              code:
                mustSupport: true
                index: 18
                elements:
                  coding:
                    index: 19
                    slicing:
                      rules: open
                      discriminator:
                      - {path: $this, type: value}
                      min: null
                      slices:
                        SNOMED-CT:
                          match: {code: '8891000202103', system: 'http://snomed.info/sct'}
                          schema:
                            pattern:
                              type: Coding
                              value: {code: '8891000202103', system: 'http://snomed.info/sct'}
                            index: 20
                          max: 1
              value:
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 22
              valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 23}
package_version: 0.2.0-beta1
class: profile
kind: resource
url: http://kreftregisteret.no/fhir/StructureDefinition/colonoscopyreport-bostonbowelpreparationscale
base: http://hl7.org/fhir/StructureDefinition/Observation
version: null