PackagesCanonicalsLogsProblems
    Packages
    rs/ca.on.health.idms@1.0.1-beta
    https://health.gov.on.ca/idms/fhir/StructureDefinition/IDMS-Questionnaire
description: This is IDMS's questionnaire definition, it supports the generation of questionnaires on the fly.
package_name: rs/ca.on.health.idms
derivation: constraint
name: IDMSQuestionnaire
type: Questionnaire
elements:
  description: {index: 17}
  subjectType:
    pattern: {type: code, value: Patient}
    type: code
    index: 14
  date: {index: 15}
  publisher: {index: 16}
  approvalDate: {index: 29}
  jurisdiction: {index: 25}
  derivedFrom: {index: 11}
  purpose: {index: 26}
  item:
    elements:
      definition: {index: 50}
      extension:
        index: 51
        slicing:
          rules: open
          discriminator:
          - {path: url, type: value}
          min: 0
          slices:
            requiredLevel:
              match: {url: null}
              schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-Question-Required-Level', index: 52}
              min: 0
              max: 1
    extensions:
      requiredLevel: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-Question-Required-Level', min: 0, max: 1, type: Extension, index: 52}
  copyrightLabel: {index: 28}
  useContext:
    index: 19
    elements:
      code:
        elements:
          system: {index: 20}
          version: {index: 21}
          code: {index: 22}
          display:
            pattern: {type: string, value: Questionnaire}
            type: string
            index: 23
          userSelected: {index: 24}
  copyright: {index: 27}
  versionAlgorithm:
    choices: []
    index: 10
  experimental: {index: 13}
  status: {index: 12}
  url: {index: 0}
  code:
    short: Product and Service Type Codes
    index: 31
    slicing:
      rules: open
      discriminator:
      - {path: code, type: value}
      min: null
      slices:
        RequestCategory:
          match: {code: null}
          schema:
            index: 32
            elements:
              system:
                pattern: {type: uri, value: 'https://health.gov.on.ca/idms/fhir/CodeSystem/IDMS-Internal'}
                type: uri
                index: 33
              version: {index: 34}
              code:
                binding: {strength: required, valueSet: 'https://health.gov.on.ca/idms/fhir/ValueSet/Request-Category'}
                index: 35
              display: {index: 36}
              userSelected: {index: 37}
            required: [code, display, system]
        ProductTypeCode:
          match: {code: null}
          schema:
            index: 38
            elements:
              system:
                pattern: {type: uri, value: 'https://health.gov.on.ca/idms/fhir/CodeSystem/Internal-Product-Types'}
                type: uri
                index: 39
              version: {index: 40}
              code:
                binding: {strength: required, valueSet: 'https://health.gov.on.ca/idms/fhir/ValueSet/IDMS-Product-Types'}
                index: 41
              display: {index: 42}
              userSelected: {index: 43}
            required: [code, display, system]
        SubmissionTypeCode:
          match: {code: null}
          schema:
            index: 44
            elements:
              system:
                pattern: {type: uri, value: 'https://health.gov.on.ca/idms/fhir/CodeSystem/Internal-Submission-Types'}
                type: uri
                index: 45
              version: {index: 46}
              code:
                short: Submission Type Code
                binding: {strength: required, valueSet: 'https://health.gov.on.ca/idms/fhir/ValueSet/IDMS-Submission-Types'}
                index: 47
              display: {index: 48}
              userSelected: {index: 49}
            required: [code, display, system]
  identifier:
    index: 1
    elements:
      use: {index: 2}
      type: {index: 3}
      system:
        short: Available Questionnaires
        pattern: {type: uri, value: IDMS-QUESTIONNAIRES}
        type: uri
        index: 4
      value:
        short: Code identifying a Questionnaire
        binding: {strength: required, valueSet: 'https://health.gov.on.ca/idms/fhir/ValueSet/IDMS-Questionnaires'}
        index: 5
      period: {index: 6}
      assigner: {index: 7}
    required: [value]
  lastReviewDate: {index: 30}
  version: {index: 8}
  contact: {index: 18}
package_version: 1.0.1-beta
class: profile
kind: resource
url: https://health.gov.on.ca/idms/fhir/StructureDefinition/IDMS-Questionnaire
base: http://hl7.org/fhir/StructureDefinition/Questionnaire
version: 1.0.0
required: [description, publisher, purpose]