PackagesCanonicalsLogsProblems
    Packages
    rs/de.einwilligungsmanagement@1.0.0
    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
    extensions:
      designNote: {url: 'http://hl7.org/fhir/StructureDefinition/designNote', type: Extension, mustSupport: true, index: 36}
      subQuestionnaire:
        url: http://fhir.de/ConsentManagement/StructureDefinition/SubQuestionnaire
        type: Extension
        mustSupport: true
        index: 37
        elements:
          value:
            mustSupport: true
            choices: []
            index: 39
          value[x]:
            elements:
              reference: {mustSupport: true, index: 40}
    elements:
      linkId: {mustSupport: true, index: 41}
      item: {mustSupport: true, index: 68}
      type: {mustSupport: true, index: 53}
      enableWhen:
        mustSupport: true
        index: 54
        extensions:
          sourceSubQuestionnaire:
            url: http://fhir.de/ConsentManagement/StructureDefinition/SubQuestionnaire
            type: Extension
            mustSupport: true
            index: 56
            elements:
              value:
                mustSupport: true
                choices: []
                index: 58
              value[x]:
                elements:
                  reference: {mustSupport: true, index: 59}
        elements:
          extension:
            index: 55
            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: 56
                    elements:
                      value:
                        mustSupport: true
                        choices: []
                        index: 58
                      value[x]:
                        elements:
                          reference: {mustSupport: true, index: 59}
          question: {mustSupport: true, index: 60}
          operator: {mustSupport: true, index: 61}
          answer:
            mustSupport: true
            choices: []
            index: 63
      answerOption: {mustSupport: true, index: 66}
      extension:
        index: 35
        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: 36}
            subQuestionnaire:
              match: {url: null}
              schema:
                type: Extension
                mustSupport: true
                url: http://fhir.de/ConsentManagement/StructureDefinition/SubQuestionnaire
                index: 37
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 39
                  value[x]:
                    elements:
                      reference: {mustSupport: true, index: 40}
      answerValueSet: {mustSupport: true, index: 65}
      code:
        mustSupport: true
        index: 42
        elements:
          system: {mustSupport: true, index: 43}
          code: {mustSupport: true, index: 44}
        required: [code, system]
      initial: {mustSupport: true, index: 67}
      required: {mustSupport: true, index: 64}
      text:
        mustSupport: true
        index: 45
        extensions:
          renderingMarkdown:
            url: http://hl7.org/fhir/StructureDefinition/rendering-markdown
            type: Extension
            index: 47
            elements:
              value:
                choices: []
                index: 49
                slicing:
                  slices:
                    valueMarkdown:
                      match: {}
                      schema:
                        choices: []
                        _required: true
                        index: 49
                      min: 1
            required: [value]
          renderingXhtml:
            url: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
            type: Extension
            index: 50
            elements:
              value:
                choices: []
                index: 52
                slicing:
                  slices:
                    valueString:
                      match: {}
                      schema:
                        choices: []
                        _required: true
                        index: 52
                      min: 1
            required: [value]
        elements:
          extension:
            index: 46
            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: 47
                    elements:
                      value:
                        choices: []
                        index: 49
                        slicing:
                          slices:
                            valueMarkdown:
                              match: {}
                              schema:
                                choices: []
                                _required: true
                                index: 49
                              min: 1
                    required: [value]
                renderingXhtml:
                  match: {url: null}
                  schema:
                    type: Extension
                    url: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
                    index: 50
                    elements:
                      value:
                        choices: []
                        index: 52
                        slicing:
                          slices:
                            valueString:
                              match: {}
                              schema:
                                choices: []
                                _required: true
                                index: 52
                              min: 1
                    required: [value]
  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: 1.0.0
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: 1.0.0
required: [code, item, name, url, useContext, version]