description: The QI Core QuestionnaireResponse Profile is based upon the US Core QuestionnaireResponse Profile and sets minimum expectations for the QuestionnaireResponse resource to record, search, and fetch retrieve captures the responses to form/survey and defines the core set of elements and extensions for quality rule and measure authors. package_name: hl7.fhir.us.qicore derivation: constraint name: QICoreQuestionnaireResponse type: QuestionnaireResponse elements: subject: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient'] index: 0 encounter: constraint: ele-1: {human: All FHIR elements must have a @value or children, source: 'http://hl7.org/fhir/StructureDefinition/Element', severity: error, expression: hasValue() or (children().count() > id.count())} isModifier: false short: Encounter created as part of index: 1 refers: ['http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-encounter'] type: Reference mustSupport: true base: {max: '1', min: 0, path: QuestionnaireResponse.encounter} isSummary: true author: type: Reference mustSupport: true refers: ['http://hl7.org/fhir/us/core/StructureDefinition/us-core-implantable-device', 'http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-device', 'http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-organization', 'http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient', 'http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-practitioner', 'http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-practitionerrole', 'http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-relatedperson'] index: 2 source: constraint: ele-1: {human: All FHIR elements must have a @value or children, source: 'http://hl7.org/fhir/StructureDefinition/Element', severity: error, expression: hasValue() or (children().count() > id.count())} isModifier: false short: The person who answered the questions index: 3 refers: ['http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-patient', 'http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-practitioner', 'http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-practitionerrole', 'http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-relatedperson'] type: Reference mustSupport: true base: {max: '1', min: 0, path: QuestionnaireResponse.source} isSummary: true item: mustSupport: true index: 4 elements: linkId: {mustSupport: true, index: 5} answer: elements: valueReference: {type: Reference, mustSupport: true, choiceOf: value, index: 19} valueUri: {type: uri, mustSupport: true, choiceOf: value, index: 16} valueTime: {type: time, mustSupport: true, choiceOf: value, index: 11} valueDecimal: {type: decimal, mustSupport: true, choiceOf: value, index: 12} valueQuantity: {type: Quantity, mustSupport: true, choiceOf: value, index: 17} value: mustSupport: true choices: [valueBoolean, valueDate, valueDateTime, valueTime, valueDecimal, valueInteger, valueString, valueCoding, valueUri, valueQuantity, valueAttachment, valueReference] index: 7 valueString: {type: string, mustSupport: true, choiceOf: value, index: 14} valueBoolean: {type: boolean, mustSupport: true, choiceOf: value, index: 8} valueDateTime: {type: dateTime, mustSupport: true, choiceOf: value, index: 10} valueDate: {type: date, mustSupport: true, choiceOf: value, index: 9} valueCoding: {type: Coding, mustSupport: true, choiceOf: value, index: 15} valueInteger: {type: integer, mustSupport: true, choiceOf: value, index: 13} valueAttachment: {type: Attachment, mustSupport: true, choiceOf: value, index: 18} package_version: 5.0.0 class: profile kind: resource url: http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-questionnaireresponse base: http://hl7.org/fhir/us/core/StructureDefinition/us-core-questionnaireresponse version: 5.0.0 required: [subject]