PackagesCanonicalsLogsProblems
    Packages
    ca.on.health.idms@1.0.9
    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: ca.on.health.idms
derivation: constraint
name: IDMSQuestionnaire
type: Questionnaire
elements:
  description: {index: 20}
  subjectType:
    pattern: {type: code, value: Patient}
    type: code
    index: 17
  date: {index: 18}
  publisher: {index: 19}
  approvalDate: {index: 32}
  jurisdiction: {index: 28}
  derivedFrom: {index: 14}
  purpose: {index: 29}
  item:
    elements:
      definition: {index: 65}
      extension:
        index: 66
        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: 67}
              min: 0
              max: 1
            repeatingGroupLabel:
              match: {url: null}
              schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-Repeating-Group-Label', index: 68}
              min: 0
              max: 1
            checkBoxColumnCount:
              match: {url: null}
              schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-Check-Box-Column-Count', index: 69}
              min: 0
              max: 1
            relatedGroup:
              match: {url: null}
              schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-Related-Group', index: 70}
              min: 0
              max: 1
            groupColumnCount:
              match: {url: null}
              schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-Group-Column-Count', index: 71}
              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: 67}
      repeatingGroupLabel: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-Repeating-Group-Label', min: 0, max: 1, type: Extension, index: 68}
      checkBoxColumnCount: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-Check-Box-Column-Count', min: 0, max: 1, type: Extension, index: 69}
      relatedGroup: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-Related-Group', min: 0, max: 1, type: Extension, index: 70}
      groupColumnCount: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-Group-Column-Count', min: 0, max: 1, type: Extension, index: 71}
  copyrightLabel: {index: 31}
  useContext:
    index: 22
    elements:
      code:
        elements:
          system: {index: 23}
          version: {index: 24}
          code: {index: 25}
          display:
            pattern: {type: string, value: Questionnaire}
            type: string
            index: 26
          userSelected: {index: 27}
  copyright: {index: 30}
  versionAlgorithm:
    choices: []
    index: 13
  experimental: {index: 16}
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        externalIndicator:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-Questionnaire-External-Indicator', index: 1}
          min: 0
          max: 1
        moreInformation:
          match: {url: null}
          schema: {type: Extension, url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-Questionniare-MoreInfo', index: 2}
          min: 0
          max: 1
  status: {index: 15}
  url: {index: 3}
  code:
    short: Product and Service Type Codes
    index: 34
    slicing:
      rules: open
      discriminator:
      - {path: code, type: value}
      min: null
      slices:
        RequestCategory:
          match: {code: null}
          schema:
            index: 35
            elements:
              system:
                pattern: {type: uri, value: 'https://health.gov.on.ca/idms/fhir/CodeSystem/IDMS-Internal'}
                type: uri
                index: 36
              version: {index: 37}
              code:
                binding: {strength: required, valueSet: 'https://health.gov.on.ca/idms/fhir/ValueSet/Request-Category'}
                index: 38
              display: {index: 39}
              userSelected: {index: 40}
            required: [code, display, system]
        ProductTypeCode:
          match: {code: null}
          schema:
            index: 41
            elements:
              system:
                pattern: {type: uri, value: 'https://health.gov.on.ca/idms/fhir/CodeSystem/Internal-Product-Types'}
                type: uri
                index: 42
              version: {index: 43}
              code:
                binding: {strength: required, valueSet: 'https://health.gov.on.ca/idms/fhir/ValueSet/IDMS-Product-Types'}
                index: 44
              display: {index: 45}
              userSelected: {index: 46}
            required: [code, display, system]
        SubmissionTypeCode:
          match: {code: null}
          schema:
            index: 47
            elements:
              system:
                pattern: {type: uri, value: 'https://health.gov.on.ca/idms/fhir/CodeSystem/Internal-Submission-Types'}
                type: uri
                index: 48
              version: {index: 49}
              code:
                short: Submission Type Code
                binding: {strength: required, valueSet: 'https://health.gov.on.ca/idms/fhir/ValueSet/IDMS-Submission-Types'}
                index: 50
              display: {index: 51}
              userSelected: {index: 52}
            required: [code, display, system]
        GenericClassification:
          match: {code: null}
          schema:
            index: 53
            elements:
              system:
                pattern: {type: uri, value: 'https://health.gov.on.ca/idms/fhir/CodeSystem/Generic-Classification'}
                type: uri
                index: 54
              version: {index: 55}
              code:
                short: Submission Type Code
                binding: {strength: required, valueSet: 'https://health.gov.on.ca/idms/fhir/ValueSet/IDMS-New-Generic-Classification'}
                index: 56
              display: {index: 57}
              userSelected: {index: 58}
            required: [code, display, system]
        QuestionnaireType:
          match: {code: null}
          schema:
            index: 59
            elements:
              system:
                pattern: {type: uri, value: 'https://health.gov.on.ca/idms/fhir/CodeSystem/Questionnaire-Type'}
                type: uri
                index: 60
              version: {index: 61}
              code:
                short: Submission Type Code
                binding: {strength: required, valueSet: 'https://health.gov.on.ca/idms/fhir/ValueSet/IDMS-Questionnaire-Type'}
                index: 62
              display: {index: 63}
              userSelected: {index: 64}
            required: [code, display, system]
  identifier:
    index: 4
    elements:
      use: {index: 5}
      type: {index: 6}
      system:
        short: Available Questionnaires
        pattern: {type: uri, value: IDMS-QUESTIONNAIRES}
        type: uri
        index: 7
      value:
        short: Code identifying a Questionnaire
        binding: {strength: required, valueSet: 'https://health.gov.on.ca/idms/fhir/ValueSet/IDMS-Questionnaires'}
        index: 8
      period: {index: 9}
      assigner: {index: 10}
    required: [value]
  lastReviewDate: {index: 33}
  version: {index: 11}
  contact: {index: 21}
package_version: 1.0.9
extensions:
  externalIndicator: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-Questionnaire-External-Indicator', min: 0, max: 1, type: Extension, index: 1}
  moreInformation: {url: 'https://health.gov.on.ca/idms/fhir/StructureDefinition/Extension-Questionniare-MoreInfo', min: 0, max: 1, type: Extension, index: 2}
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]