PackagesCanonicalsLogsProblems
    Packages
    de.medizininformatikinitiative.kerndatensatz.pros@2027.0.0-ballot.2
    https://www.medizininformatik-initiative.de/fhir/ext/modul-pro/StructureDefinition/mii-pr-pro-questionnaire
description: MII PR PRO Questionnaire, based on the FHIR Structure Data Capture Specification
package_name: de.medizininformatikinitiative.kerndatensatz.pros
derivation: constraint
name: MII_PR_PRO_Questionnaire
type: Questionnaire
elements:
  extension:
    index: 0
    slicing:
      slices:
        capabilities:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'https://www.medizininformatik-initiative.de/fhir/ext/modul-pro/StructureDefinition/mii-ex-pro-questionnaire-capabilities', index: 1}
          min: 1
          max: 1
  version: {index: 2}
  derivedFrom: {mustSupport: true, index: 3}
  copyright: {mustSupport: true, index: 4}
  code:
    mustSupport: true
    index: 5
    slicing:
      rules: open
      ordered: false
      description: Different code systems for the same questionnaire
      discriminator:
      - {path: system, type: value}
      min: 1
      slices:
        snomed:
          match: {system: 'http://snomed.info/sct'}
          schema:
            index: 6
            elements:
              system:
                pattern: {type: Uri, value: 'http://snomed.info/sct'}
                mustSupport: true
                index: 7
              code: {mustSupport: true, index: 8}
            required: [system, code]
        loinc:
          match: {system: 'http://loinc.org'}
          schema:
            index: 9
            elements:
              system:
                pattern: {type: Uri, value: 'http://loinc.org'}
                mustSupport: true
                index: 10
              code: {mustSupport: true, index: 11}
            required: [system, code]
        mii:
          match: {system: 'https://www.medizininformatik-initiative.de/fhir/ext/modul-pro/CodeSystem/mii-cs-pro-questionnaire-catalogue'}
          schema:
            index: 12
            elements:
              system:
                pattern: {type: Uri, value: 'https://www.medizininformatik-initiative.de/fhir/ext/modul-pro/CodeSystem/mii-cs-pro-questionnaire-catalogue'}
                mustSupport: true
                index: 13
              code: {mustSupport: true, index: 14}
            required: [system, code]
  item:
    elements:
      answerOption:
        extensions:
          itemWeight: {url: 'http://hl7.org/fhir/StructureDefinition/itemWeight', min: 0, max: 1, type: Extension, short: Scoring weight of this option (SDC .weight()), mustSupport: true, index: 16}
        elements:
          extension:
            index: 15
            slicing:
              rules: open
              ordered: false
              discriminator:
              - {path: url, type: value}
              min: null
              slices:
                itemWeight:
                  match: {url: null}
                  schema: {type: Extension, short: Scoring weight of this option (SDC .weight()), mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/itemWeight', index: 16}
                  min: 0
                  max: 1
          value:
            choices: [valueCoding]
            index: 18
            slicing:
              slices:
                valueCoding:
                  match: {}
                  schema:
                    choices: [valueCoding]
                    index: 18
          valueCoding:
            type: Coding
            choiceOf: value
            index: 19
            slicing:
              slices:
                valueCoding:
                  match: {}
                  schema: {type: Coding, choiceOf: value, index: 19}
          value[x]:
            extensions:
              itemWeightOnCoding: {url: 'http://hl7.org/fhir/StructureDefinition/itemWeight', min: 0, max: 0, type: Extension, short: 'Not allowed here: put itemWeight on the answerOption, not on its Coding', index: 20}
            elements:
              extension:
                type: Extension
                short: 'Not allowed here: put itemWeight on the answerOption, not on its Coding'
                url: http://hl7.org/fhir/StructureDefinition/itemWeight
                index: 20
                slicing:
                  slices:
                    itemWeightOnCoding:
                      match: {}
                      schema: {type: Extension, short: 'Not allowed here: put itemWeight on the answerOption, not on its Coding', url: 'http://hl7.org/fhir/StructureDefinition/itemWeight', index: 20}
                      min: 0
                      max: 0
package_version: 2027.0.0-ballot.2
extensions:
  capabilities: {url: 'https://www.medizininformatik-initiative.de/fhir/ext/modul-pro/StructureDefinition/mii-ex-pro-questionnaire-capabilities', min: 1, max: 1, type: Extension, mustSupport: true, index: 1}
class: profile
kind: resource
url: https://www.medizininformatik-initiative.de/fhir/ext/modul-pro/StructureDefinition/mii-pr-pro-questionnaire
base: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire
version: 2027.0.0-ballot.2
required: [extension, version, code]