PackagesCanonicalsLogsProblems
    Packages
    colonoscopyreport.no@0.7.5
    http://kreftregisteret.no/fhir/StructureDefinition/colonoscopyreport-lesion
description: null
package_name: colonoscopyreport.no
derivation: constraint
name: Lesion
abstract: true
type: Observation
elements:
  identifier:
    mustSupport: true
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: 1
      slices:
        LesionNumber:
          match: {system: 'http://kreftregisteret.no/fhir/NamingSystem/lesion-number'}
          schema:
            _required: true
            index: 1
            elements:
              system:
                pattern: {type: Uri, value: 'http://kreftregisteret.no/fhir/NamingSystem/lesion-number'}
                index: 2
              value: {index: 3}
            required: [value, system]
  code:
    mustSupport: true
    index: 4
    elements:
      coding:
        mustSupport: true
        index: 5
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: value}
          min: 1
          slices:
            SNOMED-CT:
              match: {code: '300577008', system: 'http://snomed.info/sct'}
              schema:
                pattern:
                  type: Coding
                  value: {code: '300577008', system: 'http://snomed.info/sct'}
                _required: true
                index: 6
              min: 1
              max: 1
    required: [coding]
  bodySite:
    binding: {strength: required, valueSet: 'http://ehelse.no/fhir/ValueSet/no-colonoscopy-segment-lesion'}
    mustSupport: true
    index: 7
  component:
    mustSupport: true
    array: true
    max: 6
    index: 8
    slicing:
      rules: open
      discriminator:
      - {path: code.coding, type: value}
      min: null
      max: 6
      slices:
        Morphology:
          match:
            code: {coding: null}
          schema:
            mustSupport: true
            index: 9
            elements:
              code:
                elements:
                  coding:
                    index: 10
                    slicing:
                      rules: open
                      discriminator:
                      - {path: $this, type: value}
                      min: 1
                      slices:
                        SNOMED-CT:
                          match: {code: '8961000202103', system: 'http://snomed.info/sct'}
                          schema:
                            pattern:
                              type: Coding
                              value: {code: '8961000202103', system: 'http://snomed.info/sct'}
                            _required: true
                            index: 11
                          min: 1
                          max: 1
                required: [coding]
              value:
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 13
              valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 14}
        TissueRemovingMethod:
          match:
            code: {coding: null}
          schema:
            mustSupport: true
            index: 15
            elements:
              code:
                elements:
                  coding:
                    index: 16
                    slicing:
                      rules: open
                      discriminator:
                      - {path: $this, type: value}
                      min: 1
                      slices:
                        Model-specific:
                          match: {code: metode-fjerning-vevsprove, system: 'http://ehelse.no/fhir/CodeSystem/colonoscopy-model-specific-codes'}
                          schema:
                            pattern:
                              type: Coding
                              value: {code: metode-fjerning-vevsprove, system: 'http://ehelse.no/fhir/CodeSystem/colonoscopy-model-specific-codes'}
                            _required: true
                            index: 17
                          min: 1
                          max: 1
                required: [coding]
              value:
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 19
              valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 20}
        EndoscopicalRemoved:
          match:
            code: {coding: null}
          schema:
            mustSupport: true
            index: 21
            elements:
              code:
                elements:
                  coding:
                    index: 22
                    slicing:
                      rules: open
                      discriminator:
                      - {path: $this, type: value}
                      min: 1
                      slices:
                        SNOMED-CT:
                          match: {code: '10741000202101', system: 'http://snomed.info/sct'}
                          schema:
                            pattern:
                              type: Coding
                              value: {code: '10741000202101', system: 'http://snomed.info/sct'}
                            _required: true
                            index: 23
                          min: 1
                          max: 1
                required: [coding]
              value:
                mustSupport: true
                choices: [valueCodeableConcept]
                index: 25
              valueCodeableConcept: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 26}
        SentToPathologist:
          match:
            code: {coding: null}
          schema:
            mustSupport: true
            index: 27
            elements:
              code:
                elements:
                  coding:
                    index: 28
                    slicing:
                      rules: open
                      discriminator:
                      - {path: $this, type: value}
                      min: 1
                      slices:
                        SNOMED-CT:
                          match: {code: '168395004', system: 'http://snomed.info/sct'}
                          schema:
                            pattern:
                              type: Coding
                              value: {code: '168395004', system: 'http://snomed.info/sct'}
                            _required: true
                            index: 29
                          min: 1
                          max: 1
                required: [coding]
              value:
                mustSupport: true
                choices: [valueBoolean]
                index: 31
              valueBoolean: {type: boolean, mustSupport: true, choiceOf: value, index: 32}
        Size:
          match:
            code: {coding: null}
          schema:
            index: 33
            elements:
              code:
                mustSupport: true
                index: 34
                elements:
                  coding:
                    index: 35
                    slicing:
                      rules: open
                      discriminator:
                      - {path: $this, type: value}
                      min: 1
                      slices:
                        SNOMED-CT:
                          match: {code: '10291000202102', system: 'http://snomed.info/sct'}
                          schema:
                            mustSupport: true
                            pattern:
                              type: Coding
                              value: {code: '10291000202102', system: 'http://snomed.info/sct'}
                            _required: true
                            index: 36
                          min: 1
                          max: 1
                required: [coding]
              value:
                mustSupport: true
                choices: [valueQuantity]
                index: 38
              valueQuantity: {type: Quantity, mustSupport: true, choiceOf: value, index: 39}
        SuspectOfMalignancy:
          match:
            code: {coding: null}
          schema:
            index: 40
            elements:
              code:
                mustSupport: true
                index: 41
                elements:
                  coding:
                    mustSupport: true
                    index: 42
                    slicing:
                      rules: open
                      discriminator:
                      - {path: $this, type: value}
                      min: 1
                      slices:
                        SNOMED-CT:
                          match: {code: '9971000202100', system: 'http://snomed.info/sct'}
                          schema:
                            mustSupport: true
                            pattern:
                              type: Coding
                              value: {code: '9971000202100', system: 'http://snomed.info/sct'}
                            _required: true
                            index: 43
                          min: 1
                          max: 1
                required: [coding]
              value:
                mustSupport: true
                choices: [valueBoolean]
                index: 45
              valueBoolean: {type: boolean, mustSupport: true, choiceOf: value, index: 46}
package_version: 0.7.5
class: profile
kind: resource
url: http://kreftregisteret.no/fhir/StructureDefinition/colonoscopyreport-lesion
base: http://hl7.org/fhir/StructureDefinition/Observation
version: null
required: [identifier]