PackagesCanonicalsLogsProblems
    Packages
    rs/de.einwilligungsmanagement@0.0.4-snapshot
    http://fhir.de/ConsentManagement/StructureDefinition/TemplateFrame
description: Gesamtdefinition eines Questionnaires mit Verweis auf einzubindende Unter-Questionnaires sowie Freitext-Erfassung.\r\nWird i.d.R. im Kontext der Domäne definiert/erstellt.
package_name: rs/de.einwilligungsmanagement
derivation: constraint
name: ConsentManagementTemplateFrame
type: Questionnaire
elements:
  description: {short: Zweckbeschreibung des Consent Modules, mustSupport: true, index: 22}
  name: {short: Name des Template Frames, mustSupport: true, index: 18}
  item:
    mustSupport: true
    index: 34
    slicing:
      rules: closed
      discriminator:
      - {path: type, type: value}
      min: 1
      slices:
        referencedModule:
          match: {type: group}
          schema:
            mustSupport: true
            index: 35
            extensions:
              designNote: {url: 'http://hl7.org/fhir/StructureDefinition/designNote', type: Extension, mustSupport: true, index: 37}
              subQuestionnaire:
                url: http://fhir.de/ConsentManagement/StructureDefinition/SubQuestionnaire
                type: Extension
                mustSupport: true
                index: 38
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 40
                  value[x]:
                    elements:
                      reference: {mustSupport: true, index: 41}
            elements:
              definition: {index: 43}
              linkId: {mustSupport: true, index: 42}
              item: {mustSupport: true, index: 59}
              type:
                pattern: {type: code, value: group}
                mustSupport: true
                type: code
                index: 47
              enableWhen:
                mustSupport: true
                index: 48
                extensions:
                  sourceSubQuestionnaire: {url: 'http://fhir.de/ConsentManagement/StructureDefinition/SubQuestionnaire', max: 1, type: Extension, mustSupport: true, index: 50}
                elements:
                  extension:
                    index: 49
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        sourceSubQuestionnaire:
                          match: {url: null}
                          schema: {type: Extension, mustSupport: true, url: 'http://fhir.de/ConsentManagement/StructureDefinition/SubQuestionnaire', index: 50}
                          max: 1
                  question: {mustSupport: true, index: 51}
                  operator: {mustSupport: true, index: 52}
                  answer:
                    mustSupport: true
                    choices: []
                    index: 54
              answerOption: {mustSupport: true, index: 57}
              prefix: {index: 45}
              extension:
                index: 36
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    designNote:
                      match: {url: null}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/designNote', index: 37}
                    subQuestionnaire:
                      match: {url: null}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://fhir.de/ConsentManagement/StructureDefinition/SubQuestionnaire
                        index: 38
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 40
                          value[x]:
                            elements:
                              reference: {mustSupport: true, index: 41}
              answerValueSet: {mustSupport: true, index: 56}
              code: {index: 44}
              initial: {mustSupport: true, index: 58}
              required: {mustSupport: true, index: 55}
              text: {index: 46}
        displayItem:
          match: {type: display}
          schema:
            short: anzuzeigendes Item mit statischem Text
            mustSupport: true
            index: 60
            elements:
              linkId: {mustSupport: true, index: 61}
              repeats: {index: 72}
              item: {mustSupport: true, index: 78}
              type:
                pattern: {type: code, value: display}
                mustSupport: true
                type: code
                index: 70
              answerOption: {index: 76}
              readOnly: {index: 73}
              answerValueSet: {index: 75}
              initial: {index: 77}
              maxLength: {index: 74}
              required: {index: 71}
              text:
                mustSupport: true
                index: 62
                extensions:
                  renderingMarkdown:
                    url: http://hl7.org/fhir/StructureDefinition/rendering-markdown
                    type: Extension
                    index: 64
                    elements:
                      value:
                        choices: []
                        index: 66
                        slicing:
                          slices:
                            valueMarkdown:
                              match: {}
                              schema:
                                choices: []
                                _required: true
                                index: 66
                              min: 1
                    required: [value]
                  renderingXhtml:
                    url: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
                    type: Extension
                    index: 67
                    elements:
                      value:
                        choices: []
                        index: 69
                        slicing:
                          slices:
                            valueString:
                              match: {}
                              schema:
                                choices: []
                                _required: true
                                index: 69
                              min: 1
                    required: [value]
                elements:
                  extension:
                    index: 63
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        renderingMarkdown:
                          match: {url: null}
                          schema:
                            type: Extension
                            url: http://hl7.org/fhir/StructureDefinition/rendering-markdown
                            index: 64
                            elements:
                              value:
                                choices: []
                                index: 66
                                slicing:
                                  slices:
                                    valueMarkdown:
                                      match: {}
                                      schema:
                                        choices: []
                                        _required: true
                                        index: 66
                                      min: 1
                            required: [value]
                        renderingXhtml:
                          match: {url: null}
                          schema:
                            type: Extension
                            url: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
                            index: 67
                            elements:
                              value:
                                choices: []
                                index: 69
                                slicing:
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        choices: []
                                        _required: true
                                        index: 69
                                      min: 1
                            required: [value]
            required: [text]
        '@default':
          match: {type: null}
          schema:
            index: 79
            extensions:
              designNote: {url: 'http://hl7.org/fhir/StructureDefinition/designNote', type: Extension, mustSupport: true, index: 81}
            elements:
              extension:
                index: 80
                slicing:
                  rules: open
                  discriminator:
                  - {path: url, type: value}
                  min: null
                  slices:
                    designNote:
                      match: {url: null}
                      schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/designNote', index: 81}
              linkId: {mustSupport: true, index: 82}
              code:
                mustSupport: true
                index: 83
                elements:
                  system: {mustSupport: true, index: 84}
                  code: {mustSupport: true, index: 85}
                required: [code, system]
              text:
                mustSupport: true
                index: 86
                extensions:
                  renderingMarkdown:
                    url: http://hl7.org/fhir/StructureDefinition/rendering-markdown
                    type: Extension
                    index: 88
                    elements:
                      value:
                        choices: []
                        index: 90
                        slicing:
                          slices:
                            valueMarkdown:
                              match: {}
                              schema:
                                choices: []
                                _required: true
                                index: 90
                              min: 1
                    required: [value]
                  renderingXhtml:
                    url: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
                    type: Extension
                    index: 91
                    elements:
                      value:
                        choices: []
                        index: 93
                        slicing:
                          slices:
                            valueString:
                              match: {}
                              schema:
                                choices: []
                                _required: true
                                index: 93
                              min: 1
                    required: [value]
                elements:
                  extension:
                    index: 87
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        renderingMarkdown:
                          match: {url: null}
                          schema:
                            type: Extension
                            url: http://hl7.org/fhir/StructureDefinition/rendering-markdown
                            index: 88
                            elements:
                              value:
                                choices: []
                                index: 90
                                slicing:
                                  slices:
                                    valueMarkdown:
                                      match: {}
                                      schema:
                                        choices: []
                                        _required: true
                                        index: 90
                                      min: 1
                            required: [value]
                        renderingXhtml:
                          match: {url: null}
                          schema:
                            type: Extension
                            url: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
                            index: 91
                            elements:
                              value:
                                choices: []
                                index: 93
                                slicing:
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        choices: []
                                        _required: true
                                        index: 93
                                      min: 1
                            required: [value]
              type: {mustSupport: true, index: 94}
              required: {mustSupport: true, index: 95}
              item: {mustSupport: true, index: 96}
            required: [text]
  useContext:
    mustSupport: true
    index: 23
    elements:
      code:
        binding: {strength: required, valueSet: 'http://fhir.de/ConsentManagement/ValueSet/QuestionnaireComponents', bindingName: UsageContextType}
        index: 24
        elements:
          system: {index: 25}
          code: {index: 26}
        required: [code, system]
      value:
        mustSupport: true
        choices: [valueReference]
        index: 28
      valueReference:
        type: Reference
        mustSupport: true
        choiceOf: value
        refers: ['http://fhir.de/ConsentManagement/StructureDefinition/Domain/Organization', 'http://fhir.de/ConsentManagement/StructureDefinition/Domain/ResearchStudy']
        index: 29
      value[x]:
        elements:
          reference: {mustSupport: true, index: 30}
        required: [reference]
  title: {short: Anzuzeigender Kurztitel der Einwilligung, mustSupport: true, index: 19}
  extension:
    index: 1
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        sourceDocument:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: http://fhir.de/ConsentManagement/StructureDefinition/SourceDocument
            index: 2
            elements:
              value:
                mustSupport: true
                choices: []
                index: 4
              value[x]:
                elements:
                  contentType: {mustSupport: true, index: 5}
                  data: {mustSupport: true, index: 6}
        signatureRequired:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired
            index: 7
            elements:
              value:
                choices: []
                index: 9
              value[x]:
                elements:
                  coding:
                    index: 10
                    elements:
                      system: {index: 11}
                      code: {index: 12}
                    required: [code, system]
                required: [coding]
  status: {mustSupport: true, index: 20}
  language: {short: Sprache des Moduls, mustSupport: true, index: 0}
  url: {short: 'Kanonischer, global eindeutiger Name ("Canonical identifier") des Templates Frames', mustSupport: true, index: 13}
  code:
    binding: {strength: extensible, valueSet: 'http://fhir.de/ConsentManagement/ValueSet/TemplateType'}
    mustSupport: true
    index: 31
    elements:
      system: {mustSupport: true, index: 32}
      code: {mustSupport: true, index: 33}
    required: [code, system]
  identifier:
    short: Identifikator eines Template-Frames
    mustSupport: true
    index: 14
    elements:
      system: {mustSupport: true, index: 15}
      value: {mustSupport: true, index: 16}
    required: [system, value]
  version: {short: Versionsangabe des Template Frames, mustSupport: true, index: 17}
  contact: {short: Ansprechpartner, mustSupport: true, index: 21}
package_version: 0.0.4-snapshot
extensions:
  sourceDocument:
    url: http://fhir.de/ConsentManagement/StructureDefinition/SourceDocument
    type: Extension
    mustSupport: true
    index: 2
    elements:
      value:
        mustSupport: true
        choices: []
        index: 4
      value[x]:
        elements:
          contentType: {mustSupport: true, index: 5}
          data: {mustSupport: true, index: 6}
  signatureRequired:
    url: http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired
    type: Extension
    mustSupport: true
    index: 7
    elements:
      value:
        choices: []
        index: 9
      value[x]:
        elements:
          coding:
            index: 10
            elements:
              system: {index: 11}
              code: {index: 12}
            required: [code, system]
        required: [coding]
class: profile
kind: resource
url: http://fhir.de/ConsentManagement/StructureDefinition/TemplateFrame
base: http://hl7.org/fhir/StructureDefinition/Questionnaire
version: '0.1'
required: [code, item, name, url, useContext, version]