PackagesCanonicalsLogsProblems
    Packages
    ca.on.health.sadie@0.1.36-beta
    http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse
description: Defines how the questionnaire response resource is used to reflect form data within the ONC's Structured Data Capture standard.
package_name: ca.on.health.sadie
derivation: constraint
name: QuestionnaireResponse
type: QuestionnaireResponse
elements:
  questionnaire:
    type: canonical
    isModifier: false
    mustSupport: true
    index: 4
    extensions:
      questionnaireDisplay: {url: 'http://hl7.org/fhir/StructureDefinition/display', min: 1, max: 1, isModifier: false, type: Extension, mustSupport: true, index: 5}
    elements:
      extension:
        isModifier: false
        type: Extension
        mustSupport: true
        url: http://hl7.org/fhir/StructureDefinition/display
        index: 5
        slicing:
          slices:
            questionnaireDisplay:
              match: {}
              schema: {isModifier: false, type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/StructureDefinition/display', index: 5}
              min: 1
              max: 1
  encounter: {isModifier: false, mustSupport: false, index: 8}
  item:
    isModifier: false
    mustSupport: true
    index: 12
    extensions:
      ItemSignature: {url: 'http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature', min: 0, type: Extension, isModifier: false, mustSupport: false, index: 13}
    elements:
      extension:
        type: Extension
        isModifier: false
        mustSupport: false
        url: http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature
        index: 13
        slicing:
          slices:
            ItemSignature:
              match: {}
              schema: {type: Extension, isModifier: false, mustSupport: false, url: 'http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature', index: 13}
              min: 0
      linkId: {isModifier: false, mustSupport: true, index: 14}
      text: {isModifier: false, mustSupport: true, index: 15}
      answer:
        isModifier: false
        mustSupport: true
        array: true
        index: 16
        elements:
          valueReference: {type: Reference, isModifier: false, mustSupport: true, choiceOf: value, index: 30}
          valueUri: {type: uri, isModifier: false, mustSupport: true, choiceOf: value, index: 27}
          valueTime: {type: time, isModifier: false, mustSupport: true, choiceOf: value, index: 22}
          valueDecimal: {type: decimal, isModifier: false, mustSupport: true, choiceOf: value, index: 23}
          valueQuantity: {type: Quantity, isModifier: false, mustSupport: true, choiceOf: value, index: 28}
          value:
            isModifier: false
            mustSupport: true
            choices: [valueBoolean, valueDate, valueDateTime, valueTime, valueDecimal, valueInteger, valueString, valueCoding, valueUri, valueQuantity, valueAttachment, valueReference]
            index: 18
          item:
            isModifier: false
            mustSupport: true
            elementReference: ['http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse', elements, item]
            array: true
            index: 33
          valueString: {type: string, isModifier: false, mustSupport: true, choiceOf: value, index: 25}
          valueBoolean: {type: boolean, isModifier: false, mustSupport: true, choiceOf: value, index: 19}
          valueDateTime: {type: dateTime, isModifier: false, mustSupport: true, choiceOf: value, index: 21}
          valueDate: {type: date, isModifier: false, mustSupport: true, choiceOf: value, index: 20}
          valueCoding:
            isModifier: false
            mustSupport: true
            index: 31
            extensions:
              ordinalValue: {url: 'http://hl7.org/fhir/StructureDefinition/ordinalValue', min: 0, max: 1, type: Extension, isModifier: false, mustSupport: false, index: 32}
            elements:
              extension:
                type: Extension
                isModifier: false
                mustSupport: false
                url: http://hl7.org/fhir/StructureDefinition/ordinalValue
                index: 32
                slicing:
                  slices:
                    ordinalValue:
                      match: {}
                      schema: {type: Extension, isModifier: false, mustSupport: false, url: 'http://hl7.org/fhir/StructureDefinition/ordinalValue', index: 32}
                      min: 0
                      max: 1
          valueInteger: {type: integer, isModifier: false, mustSupport: true, choiceOf: value, index: 24}
          valueAttachment: {type: Attachment, isModifier: false, mustSupport: true, choiceOf: value, index: 29}
      item:
        isModifier: false
        mustSupport: true
        elementReference: ['http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse', elements, item]
        index: 34
    required: [linkId]
  source: {isModifier: false, mustSupport: false, index: 11}
  author: {isModifier: false, mustSupport: true, index: 10}
  extension:
    type: Extension
    isModifier: false
    mustSupport: false
    url: http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature
    index: 0
    slicing:
      slices:
        signature:
          match: {}
          schema: {type: Extension, isModifier: false, mustSupport: false, url: 'http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature', index: 0}
          min: 0
  status: {isModifier: false, mustSupport: true, index: 6}
  identifier: {isModifier: false, mustSupport: true, index: 1}
  basedOn: {isModifier: false, mustSupport: false, index: 2}
  authored: {isModifier: false, mustSupport: true, index: 9}
  partOf: {isModifier: false, mustSupport: false, index: 3}
  subject:
    type: Reference
    isModifier: false
    mustSupport: true
    refers: ['http://hl7.org/fhir/StructureDefinition/Patient']
    index: 7
package_version: 0.1.36-beta
extensions:
  signature: {url: 'http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature', min: 0, type: Extension, isModifier: false, mustSupport: false, index: 0}
class: profile
kind: resource
url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse
base: http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse
version: 2.7.0
required: [authored, subject, questionnaire]