PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.sdc.r4b@3.0.0
    http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire
description: Sets minimum expectations for questionnaire support for SDC-conformant systems, regardless of which SDC capabilities they're making use of.
package_name: hl7.fhir.uv.sdc.r4b
derivation: constraint
name: SDCBaseQuestionnaire
type: Questionnaire
elements:
  extension:
    type: Extension
    mustSupport: false
    url: http://hl7.org/fhir/StructureDefinition/designNote
    index: 0
    slicing:
      slices:
        designNote:
          match: {}
          schema: {type: Extension, mustSupport: false, url: 'http://hl7.org/fhir/StructureDefinition/designNote', index: 0}
          min: 0
          max: 1
        terminologyServer:
          match: {}
          schema: {type: Extension, mustSupport: false, url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer', index: 1}
          min: 0
        performerType:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType', index: 2}
          min: 0
        assemble-expectation:
          match: {}
          schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation', index: 3}
          min: 0
          max: 1
  url: {mustSupport: true, index: 4}
  version: {mustSupport: true, index: 5}
  title: {mustSupport: true, index: 6}
  status: {mustSupport: true, index: 7}
  subjectType: {mustSupport: true, index: 8}
  item:
    constraint:
      sdc-1: {human: An item cannot have an answerExpression if answerOption or answerValueSet is already present., severity: error, expression: 'extension(''http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression'').empty().not() implies (answerOption.empty() and answerValueSet.empty())'}
    mustSupport: true
    index: 9
    extensions:
      designNote: {url: 'http://hl7.org/fhir/StructureDefinition/designNote', min: 0, max: 1, type: Extension, mustSupport: false, index: 10}
      terminologyServer: {url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer', min: 0, type: Extension, mustSupport: false, index: 11}
    elements:
      linkId: {mustSupport: true, index: 12}
      repeats: {mustSupport: true, index: 17}
      item: {mustSupport: true, index: 25}
      type: {mustSupport: true, index: 15}
      answerOption: {mustSupport: true, index: 21}
      prefix: {mustSupport: true, index: 13}
      extension:
        type: Extension
        mustSupport: false
        url: http://hl7.org/fhir/StructureDefinition/designNote
        index: 10
        slicing:
          slices:
            designNote:
              match: {}
              schema: {type: Extension, mustSupport: false, url: 'http://hl7.org/fhir/StructureDefinition/designNote', index: 10}
              min: 0
              max: 1
            terminologyServer:
              match: {}
              schema: {type: Extension, mustSupport: false, url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer', index: 11}
              min: 0
      readOnly: {mustSupport: true, index: 18}
      answerValueSet: {type: canonical, mustSupport: true, index: 20}
      initial:
        mustSupport: true
        array: true
        index: 22
        elements:
          value:
            mustSupport: true
            choices: []
            index: 24
      maxLength: {mustSupport: true, index: 19}
      required: {mustSupport: true, index: 16}
      text: {mustSupport: true, index: 14}
    required: [type, linkId]
package_version: 3.0.0
extensions:
  designNote: {url: 'http://hl7.org/fhir/StructureDefinition/designNote', min: 0, max: 1, type: Extension, mustSupport: false, index: 0}
  terminologyServer: {url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer', min: 0, type: Extension, mustSupport: false, index: 1}
  performerType: {url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType', min: 0, type: Extension, mustSupport: true, index: 2}
  assemble-expectation: {url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation', min: 0, max: 1, type: Extension, mustSupport: true, index: 3}
class: profile
kind: resource
url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire
base: http://hl7.org/fhir/StructureDefinition/Questionnaire
version: 3.0.0
required: [url]