PackagesCanonicalsLogsProblems
    Packages
    rs/de.einwilligungsmanagement@1.1.0-alpha.1
    http://fhir.de/ConsentManagement/StructureDefinition/TemplateModule
description: Wiederverwendbares Modul innerhalb eines Gesamt-Questionnaires.\r\nWird i.d.R. im Kontext des Gesamtsystems erstellt/definiert und in einem oder mehreren Questionnaires verwendet/eingebunden (TemplateFrames).
package_name: rs/de.einwilligungsmanagement
derivation: constraint
name: ConsentManagementTemplateModule
type: Questionnaire
elements:
  description: {short: Kurzzusammenfassung des Inhaltes, mustSupport: true, index: 8}
  purpose: {short: Zweckbeschreibung des Consent Modules, mustSupport: true, index: 17}
  name: {short: Name des Consent Moduls, mustSupport: true, index: 5}
  item:
    mustSupport: true
    index: 18
    extensions:
      xacmlTemplate:
        url: http://fhir.de/ConsentManagement/StructureDefinition/XacmlTemplate
        type: Extension
        mustSupport: true
        index: 20
        elements:
          value:
            mustSupport: true
            choices: []
            index: 22
      designNote: {url: 'http://hl7.org/fhir/StructureDefinition/designNote', type: Extension, mustSupport: true, index: 23}
    elements:
      extension:
        index: 19
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            xacmlTemplate:
              match: {url: null}
              schema:
                type: Extension
                mustSupport: true
                url: http://fhir.de/ConsentManagement/StructureDefinition/XacmlTemplate
                index: 20
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 22
            designNote:
              match: {url: null}
              schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/designNote', index: 23}
      linkId: {mustSupport: true, index: 24}
      text:
        short: Vollständiger Text des Moduls aus dem Einwilligungsdokument
        constraint:
          cm-1: {human: 'Wenn der Text im Markdown-Format angegeben ist, muss er auch als Klartext angegeben sein.', source: Questionnaire, severity: error, expression: 'extension(''http://hl7.org/fhir/StructureDefinition/rendering-markdown'').empty() or hasValue()'}
        mustSupport: true
        index: 25
        extensions:
          renderingMarkdown:
            url: http://hl7.org/fhir/StructureDefinition/rendering-markdown
            type: Extension
            short: Text als Markdown
            index: 27
            elements:
              value:
                choices: []
                index: 29
                slicing:
                  slices:
                    valueMarkdown:
                      match: {}
                      schema:
                        choices: []
                        _required: true
                        index: 29
                      min: 1
            required: [value]
          renderingXhtml:
            url: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
            type: Extension
            index: 30
            elements:
              value:
                choices: []
                index: 32
                slicing:
                  slices:
                    valueString:
                      match: {}
                      schema:
                        choices: []
                        _required: true
                        index: 32
                      min: 1
            required: [value]
        elements:
          extension:
            index: 26
            slicing:
              rules: open
              discriminator:
              - {path: url, type: value}
              min: null
              slices:
                renderingMarkdown:
                  match: {url: null}
                  schema:
                    type: Extension
                    short: Text als Markdown
                    url: http://hl7.org/fhir/StructureDefinition/rendering-markdown
                    index: 27
                    elements:
                      value:
                        choices: []
                        index: 29
                        slicing:
                          slices:
                            valueMarkdown:
                              match: {}
                              schema:
                                choices: []
                                _required: true
                                index: 29
                              min: 1
                    required: [value]
                renderingXhtml:
                  match: {url: null}
                  schema:
                    type: Extension
                    url: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
                    index: 30
                    elements:
                      value:
                        choices: []
                        index: 32
                        slicing:
                          slices:
                            valueString:
                              match: {}
                              schema:
                                choices: []
                                _required: true
                                index: 32
                              min: 1
                    required: [value]
      type: {mustSupport: true, index: 33}
      item: {index: 34}
  useContext:
    mustSupport: true
    index: 9
    elements:
      code:
        binding: {strength: required, valueSet: 'http://fhir.de/ConsentManagement/ValueSet/QuestionnaireComponents', bindingName: UsageContextType}
        index: 10
        elements:
          system: {index: 11}
          code: {index: 12}
        required: [code, system]
      value:
        mustSupport: true
        choices: [valueReference]
        index: 14
      valueReference:
        type: Reference
        mustSupport: true
        choiceOf: value
        refers: ['http://fhir.de/ConsentManagement/StructureDefinition/Domain/Organization', 'http://fhir.de/ConsentManagement/StructureDefinition/Domain/ResearchStudy']
        index: 15
      value[x]:
        elements:
          reference: {mustSupport: true, index: 16}
        required: [reference]
  title: {short: Titel des Consent Moduls zur Darstellung auf dem späteren Consent Template, mustSupport: true, index: 6}
  status: {mustSupport: true, index: 7}
  language: {short: Sprache des Moduls, mustSupport: true, index: 0}
  identifier:
    short: Identifikator eines Moduls
    mustSupport: true
    index: 1
    elements:
      system: {mustSupport: true, index: 2}
      value: {mustSupport: true, index: 3}
    required: [system, value]
  version: {short: Versionsangabe des Moduls, mustSupport: true, index: 4}
package_version: 1.1.0-alpha.1
class: profile
kind: resource
url: http://fhir.de/ConsentManagement/StructureDefinition/TemplateModule
base: http://hl7.org/fhir/StructureDefinition/Questionnaire
version: 1.0.1
required: [item, name, useContext, version]