PackagesCanonicalsLogsProblems
    Packages
    de.einwilligungsmanagement@0.0.1-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: de.einwilligungsmanagement
derivation: constraint
name: ConsentManagementTemplateFrame
type: Questionnaire
elements:
  description: {short: Zweckbeschreibung des Consent Modules, mustSupport: true, index: 25}
  name: {short: Name des Template Frames, mustSupport: true, index: 21}
  item:
    mustSupport: true
    index: 29
    slicing:
      rules: closed
      discriminator:
      - {path: type, type: value}
      min: 1
      slices:
        referencedModule:
          match: {type: group}
          schema:
            mustSupport: true
            index: 30
            extensions:
              designNote: {url: 'http://hl7.org/fhir/StructureDefinition/designNote', type: Extension, mustSupport: true, index: 32}
              subQuestionnaire:
                url: http://fhir.de/ConsentManagement/StructureDefinition/SubQuestionnaire
                type: Extension
                mustSupport: true
                index: 33
                elements:
                  value:
                    mustSupport: true
                    choices: []
                    index: 35
                  value[x]:
                    elements:
                      reference: {mustSupport: true, index: 36}
            elements:
              definition: {index: 38}
              linkId: {mustSupport: true, index: 37}
              item: {mustSupport: true, index: 54}
              type:
                pattern: {type: Code, value: group}
                mustSupport: true
                index: 42
              enableWhen:
                mustSupport: true
                index: 43
                extensions:
                  sourceSubQuestionnaire: {url: 'http://fhir.de/ConsentManagement/StructureDefinition/SubQuestionnaire', max: 1, type: Extension, mustSupport: true, index: 45}
                elements:
                  extension:
                    index: 44
                    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: 45}
                          max: 1
                  question: {mustSupport: true, index: 46}
                  operator: {mustSupport: true, index: 47}
                  answer:
                    mustSupport: true
                    choices: []
                    index: 49
              answerOption: {mustSupport: true, index: 52}
              prefix: {index: 40}
              extension:
                index: 31
                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: 32}
                    subQuestionnaire:
                      match: {url: null}
                      schema:
                        type: Extension
                        mustSupport: true
                        url: http://fhir.de/ConsentManagement/StructureDefinition/SubQuestionnaire
                        index: 33
                        elements:
                          value:
                            mustSupport: true
                            choices: []
                            index: 35
                          value[x]:
                            elements:
                              reference: {mustSupport: true, index: 36}
              answerValueSet: {mustSupport: true, index: 51}
              code: {index: 39}
              initial: {mustSupport: true, index: 53}
              required: {mustSupport: true, index: 50}
              text: {index: 41}
        additionalItem:
          match: {type: null}
          schema:
            index: 55
            extensions:
              designNote: {url: 'http://hl7.org/fhir/StructureDefinition/designNote', type: Extension, mustSupport: true, index: 57}
            elements:
              extension:
                index: 56
                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: 57}
              linkId: {mustSupport: true, index: 58}
              code:
                mustSupport: true
                index: 59
                elements:
                  system: {mustSupport: true, index: 60}
                  code: {mustSupport: true, index: 61}
                required: [system, code]
              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]
              type: {mustSupport: true, index: 70}
              required: {mustSupport: true, index: 71}
              item: {mustSupport: true, index: 72}
            required: [text]
        displayItem:
          match: {type: display}
          schema:
            short: anzuzeigendes Item mit statischem Text
            mustSupport: true
            index: 73
            elements:
              linkId: {mustSupport: true, index: 74}
              repeats: {index: 85}
              item: {mustSupport: true, index: 91}
              type:
                pattern: {type: Code, value: display}
                mustSupport: true
                index: 83
              answerOption: {index: 89}
              readOnly: {index: 86}
              answerValueSet: {index: 88}
              initial: {index: 90}
              maxLength: {index: 87}
              required: {index: 84}
              text:
                mustSupport: true
                index: 75
                extensions:
                  renderingMarkdown:
                    url: http://hl7.org/fhir/StructureDefinition/rendering-markdown
                    type: Extension
                    index: 77
                    elements:
                      value:
                        choices: []
                        index: 79
                        slicing:
                          slices:
                            valueMarkdown:
                              match: {}
                              schema:
                                choices: []
                                _required: true
                                index: 79
                              min: 1
                    required: [value]
                  renderingXhtml:
                    url: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
                    type: Extension
                    index: 80
                    elements:
                      value:
                        choices: []
                        index: 82
                        slicing:
                          slices:
                            valueString:
                              match: {}
                              schema:
                                choices: []
                                _required: true
                                index: 82
                              min: 1
                    required: [value]
                elements:
                  extension:
                    index: 76
                    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: 77
                            elements:
                              value:
                                choices: []
                                index: 79
                                slicing:
                                  slices:
                                    valueMarkdown:
                                      match: {}
                                      schema:
                                        choices: []
                                        _required: true
                                        index: 79
                                      min: 1
                            required: [value]
                        renderingXhtml:
                          match: {url: null}
                          schema:
                            type: Extension
                            url: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
                            index: 80
                            elements:
                              value:
                                choices: []
                                index: 82
                                slicing:
                                  slices:
                                    valueString:
                                      match: {}
                                      schema:
                                        choices: []
                                        _required: true
                                        index: 82
                                      min: 1
                            required: [value]
            required: [text]
  title: {short: Anzuzeigender Kurztitel der Einwilligung, mustSupport: true, index: 22}
  extension:
    index: 1
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        domainReference:
          match: {url: null}
          schema:
            type: Extension
            short: Referenz zu einer Domain, in der dieses Modul verwendet wird
            mustSupport: true
            url: http://fhir.de/ConsentManagement/StructureDefinition/DomainReference
            index: 2
            extensions:
              domain: {url: null, mustSupport: true, index: 3}
            elements:
              extension:
                mustSupport: true
                index: 3
                slicing:
                  slices:
                    domain:
                      match: {}
                      schema: {mustSupport: true, index: 3}
              value:
                mustSupport: true
                choices: []
                index: 5
        signatureType:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: http://fhir.de/ConsentManagement/StructureDefinition/SignatureType
            index: 6
            elements:
              value:
                mustSupport: true
                choices: []
                index: 8
              value[x]:
                elements:
                  system: {mustSupport: true, index: 9}
                  code: {mustSupport: true, index: 10}
        sourceDocument:
          match: {url: null}
          schema:
            type: Extension
            mustSupport: true
            url: http://fhir.de/ConsentManagement/StructureDefinition/SourceDocument
            index: 11
            elements:
              value:
                mustSupport: true
                choices: []
                index: 13
              value[x]:
                elements:
                  contentType: {mustSupport: true, index: 14}
                  data: {mustSupport: true, index: 15}
  status: {mustSupport: true, index: 23}
  language: {short: Sprache des Moduls, mustSupport: true, index: 0}
  url: {short: 'Kanonischer, global eindeutiger Name ("Canonical identifier") des Templates Frames', mustSupport: true, index: 16}
  code:
    binding: {strength: extensible, valueSet: 'http://fhir.de/ConsentManagement/ValueSet/TemplateType'}
    mustSupport: true
    index: 26
    elements:
      system: {mustSupport: true, index: 27}
      code: {mustSupport: true, index: 28}
    required: [system, code]
  identifier:
    short: Identifikator eines Template-Frames
    mustSupport: true
    index: 17
    elements:
      system: {mustSupport: true, index: 18}
      value: {mustSupport: true, index: 19}
    required: [value, system]
  version: {short: Versionsangabe des Template Frames, mustSupport: true, index: 20}
  contact: {short: Ansprechpartner, mustSupport: true, index: 24}
package_version: 0.0.1-snapshot
extensions:
  domainReference:
    url: http://fhir.de/ConsentManagement/StructureDefinition/DomainReference
    type: Extension
    short: Referenz zu einer Domain, in der dieses Modul verwendet wird
    mustSupport: true
    index: 2
    extensions:
      domain: {url: null, mustSupport: true, index: 3}
    elements:
      extension:
        mustSupport: true
        index: 3
        slicing:
          slices:
            domain:
              match: {}
              schema: {mustSupport: true, index: 3}
      value:
        mustSupport: true
        choices: []
        index: 5
  signatureType:
    url: http://fhir.de/ConsentManagement/StructureDefinition/SignatureType
    type: Extension
    mustSupport: true
    index: 6
    elements:
      value:
        mustSupport: true
        choices: []
        index: 8
      value[x]:
        elements:
          system: {mustSupport: true, index: 9}
          code: {mustSupport: true, index: 10}
  sourceDocument:
    url: http://fhir.de/ConsentManagement/StructureDefinition/SourceDocument
    type: Extension
    mustSupport: true
    index: 11
    elements:
      value:
        mustSupport: true
        choices: []
        index: 13
      value[x]:
        elements:
          contentType: {mustSupport: true, index: 14}
          data: {mustSupport: true, index: 15}
class: profile
kind: resource
url: http://fhir.de/ConsentManagement/StructureDefinition/TemplateFrame
base: http://hl7.org/fhir/StructureDefinition/Questionnaire
version: '0.1'
required: [url, name, item, version, code]