PackagesCanonicalsLogsProblems
    Packages
    medatixx.healthhub@1.5.0
    https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_PredictionGuideline
description: Guideline recommendation for a risk prediction. Complex extension on RiskAssessment.prediction (0..1 per prediction element). Carries the recommendation text as Markdown (sub-extension text, 1..1) and optional laboratory-value references (sub-extension labValue, 0..*; complex, with sub-sub-extensions value/unit/date).
package_name: medatixx.healthhub
derivation: constraint
name: Mxx_HealthHub_PredictionGuideline
type: Extension
elements:
  extension:
    index: 0
    slicing:
      rules: closed
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        text:
          match: {url: text}
          schema:
            short: Guideline recommendation text (Markdown)
            _required: true
            index: 1
            extensions: {}
            elements:
              extension: {index: 2}
              url:
                pattern: {type: Uri, value: text}
                index: 3
              value:
                choices: [valueMarkdown]
                index: 5
              valueMarkdown: {type: markdown, choiceOf: value, index: 6}
            required: [valueMarkdown, value]
        labValue:
          match: {url: labValue}
          schema:
            short: Laboratory value reference
            array: true
            index: 7
            extensions:
              value:
                url: value
                short: Laboratory value
                _required: true
                index: 9
                extensions: {}
                elements:
                  extension: {index: 10}
                  url:
                    pattern: {type: Uri, value: value}
                    index: 11
                  value:
                    choices: [valueString]
                    index: 13
                  valueString: {type: string, choiceOf: value, index: 14}
                required: [valueString, value]
              unit:
                url: unit
                short: Unit of the laboratory value
                index: 15
                extensions: {}
                elements:
                  extension: {index: 16}
                  url:
                    pattern: {type: Uri, value: unit}
                    index: 17
                  value:
                    choices: [valueString]
                    index: 19
                  valueString: {type: string, choiceOf: value, index: 20}
                required: [valueString, value]
              date:
                url: date
                short: Date of the laboratory value reference
                index: 21
                extensions: {}
                elements:
                  extension: {index: 22}
                  url:
                    pattern: {type: Uri, value: date}
                    index: 23
                  value:
                    choices: [valueDate]
                    index: 25
                  valueDate: {type: date, choiceOf: value, index: 26}
                required: [value, valueDate]
            elements:
              extension:
                index: 8
                slicing:
                  rules: closed
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    value:
                      match: {url: value}
                      schema:
                        short: Laboratory value
                        _required: true
                        index: 9
                        extensions: {}
                        elements:
                          extension: {index: 10}
                          url:
                            pattern: {type: Uri, value: value}
                            index: 11
                          value:
                            choices: [valueString]
                            index: 13
                          valueString: {type: string, choiceOf: value, index: 14}
                        required: [valueString, value]
                    unit:
                      match: {url: unit}
                      schema:
                        short: Unit of the laboratory value
                        index: 15
                        extensions: {}
                        elements:
                          extension: {index: 16}
                          url:
                            pattern: {type: Uri, value: unit}
                            index: 17
                          value:
                            choices: [valueString]
                            index: 19
                          valueString: {type: string, choiceOf: value, index: 20}
                        required: [valueString, value]
                    date:
                      match: {url: date}
                      schema:
                        short: Date of the laboratory value reference
                        index: 21
                        extensions: {}
                        elements:
                          extension: {index: 22}
                          url:
                            pattern: {type: Uri, value: date}
                            index: 23
                          value:
                            choices: [valueDate]
                            index: 25
                          valueDate: {type: date, choiceOf: value, index: 26}
                        required: [value, valueDate]
              url:
                pattern: {type: Uri, value: labValue}
                index: 27
              value:
                choices: []
                index: 29
  url:
    pattern: {type: Uri, value: 'https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_PredictionGuideline'}
    index: 30
  value:
    choices: []
    index: 32
package_version: 1.5.0
extensions:
  text:
    url: text
    short: Guideline recommendation text (Markdown)
    _required: true
    index: 1
    extensions: {}
    elements:
      extension: {index: 2}
      url:
        pattern: {type: Uri, value: text}
        index: 3
      value:
        choices: [valueMarkdown]
        index: 5
      valueMarkdown: {type: markdown, choiceOf: value, index: 6}
    required: [valueMarkdown, value]
  labValue:
    url: labValue
    short: Laboratory value reference
    array: true
    index: 7
    extensions:
      value:
        url: value
        short: Laboratory value
        _required: true
        index: 9
        extensions: {}
        elements:
          extension: {index: 10}
          url:
            pattern: {type: Uri, value: value}
            index: 11
          value:
            choices: [valueString]
            index: 13
          valueString: {type: string, choiceOf: value, index: 14}
        required: [valueString, value]
      unit:
        url: unit
        short: Unit of the laboratory value
        index: 15
        extensions: {}
        elements:
          extension: {index: 16}
          url:
            pattern: {type: Uri, value: unit}
            index: 17
          value:
            choices: [valueString]
            index: 19
          valueString: {type: string, choiceOf: value, index: 20}
        required: [valueString, value]
      date:
        url: date
        short: Date of the laboratory value reference
        index: 21
        extensions: {}
        elements:
          extension: {index: 22}
          url:
            pattern: {type: Uri, value: date}
            index: 23
          value:
            choices: [valueDate]
            index: 25
          valueDate: {type: date, choiceOf: value, index: 26}
        required: [value, valueDate]
    elements:
      extension:
        index: 8
        slicing:
          rules: closed
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            value:
              match: {url: value}
              schema:
                short: Laboratory value
                _required: true
                index: 9
                extensions: {}
                elements:
                  extension: {index: 10}
                  url:
                    pattern: {type: Uri, value: value}
                    index: 11
                  value:
                    choices: [valueString]
                    index: 13
                  valueString: {type: string, choiceOf: value, index: 14}
                required: [valueString, value]
            unit:
              match: {url: unit}
              schema:
                short: Unit of the laboratory value
                index: 15
                extensions: {}
                elements:
                  extension: {index: 16}
                  url:
                    pattern: {type: Uri, value: unit}
                    index: 17
                  value:
                    choices: [valueString]
                    index: 19
                  valueString: {type: string, choiceOf: value, index: 20}
                required: [valueString, value]
            date:
              match: {url: date}
              schema:
                short: Date of the laboratory value reference
                index: 21
                extensions: {}
                elements:
                  extension: {index: 22}
                  url:
                    pattern: {type: Uri, value: date}
                    index: 23
                  value:
                    choices: [valueDate]
                    index: 25
                  valueDate: {type: date, choiceOf: value, index: 26}
                required: [value, valueDate]
      url:
        pattern: {type: Uri, value: labValue}
        index: 27
      value:
        choices: []
        index: 29
class: extension
kind: complex-type
url: https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_PredictionGuideline
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 1.5.0