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