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: SDCQuestionnaireResponseAdapt type: QuestionnaireResponse elements: contained: {mustSupport: true, array: true, min: 1, index: 0} questionnaire: {type: canonical, mustSupport: true, index: 1} status: {mustSupport: true, index: 2} subject: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/StructureDefinition/Patient'] index: 3 authored: {mustSupport: true, index: 4} author: {mustSupport: true, index: 5} item: mustSupport: true index: 6 elements: linkId: {mustSupport: true, index: 7} answer: mustSupport: true array: true index: 8 elements: valueReference: {type: Reference, mustSupport: true, choiceOf: value, index: 22} valueUri: {type: uri, mustSupport: true, choiceOf: value, index: 19} valueTime: {type: time, mustSupport: true, choiceOf: value, index: 14} valueDecimal: {type: decimal, mustSupport: true, choiceOf: value, index: 15} valueQuantity: {type: Quantity, mustSupport: true, choiceOf: value, index: 20} value: mustSupport: true choices: [valueBoolean, valueDate, valueDateTime, valueTime, valueDecimal, valueInteger, valueString, valueCoding, valueUri, valueQuantity, valueAttachment, valueReference] index: 10 item: mustSupport: true elementReference: ['http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse-adapt', elements, org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse, elements, item] array: true index: 23 valueString: {type: string, mustSupport: true, choiceOf: value, index: 17} valueBoolean: {type: boolean, mustSupport: true, choiceOf: value, index: 11} valueDateTime: {type: dateTime, mustSupport: true, choiceOf: value, index: 13} valueDate: {type: date, mustSupport: true, choiceOf: value, index: 12} valueCoding: {type: Coding, mustSupport: true, choiceOf: value, index: 18} valueInteger: {type: integer, mustSupport: true, choiceOf: value, index: 16} valueAttachment: {type: Attachment, mustSupport: true, choiceOf: value, index: 21} item: mustSupport: true elementReference: ['http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse-adapt', elements, org/fhir/StructureDefinition/QuestionnaireResponse#QuestionnaireResponse, elements, item] index: 24 required: [linkId] package_version: 3.0.0 class: profile kind: resource url: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse-adapt base: http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse version: 3.0.0 required: [authored, subject, questionnaire, contained]