description: Profile on QuestionnaireResponse for CH-ORF package_name: ch.fhir.ig.ch derivation: constraint name: ORFQuestionnaireResponse type: QuestionnaireResponse elements: questionnaire: {short: Form being answered, type: canonical, isSummary: true, index: 3} encounter: short: Encounter created as part of refers: ['http://hl7.org/fhir/StructureDefinition/Encounter'] type: Reference isSummary: true index: 6 item: constraint: qrs-1: {human: Nested item can't be beneath both item and answer, severity: error, expression: (answer.exists() and item.exists()).not()} short: Groups and questions type: BackboneElement array: true index: 10 elements: linkId: {short: Pointer to specific item from Questionnaire, type: string, index: 11} definition: {short: ElementDefinition - details for the item, type: uri, index: 12} text: {short: Name for group or question text, type: string, index: 13} answer: short: The response(s) to the question type: BackboneElement array: true index: 14 elements: valueReference: short: Single-valued answer to the question refers: ['http://hl7.org/fhir/StructureDefinition/Resource'] type: Reference choiceOf: value index: 28 valueUri: {short: Single-valued answer to the question, type: uri, choiceOf: value, index: 24} valueTime: {short: Single-valued answer to the question, type: time, choiceOf: value, index: 22} valueDecimal: {short: Single-valued answer to the question, type: decimal, choiceOf: value, index: 18} valueQuantity: {short: Single-valued answer to the question, type: Quantity, choiceOf: value, index: 27} value: short: Single-valued answer to the question choices: [valueBoolean, valueDecimal, valueInteger, valueDate, valueDateTime, valueTime, valueString, valueUri, valueAttachment, valueCoding, valueQuantity, valueReference] index: 16 item: elementReference: ['http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-questionnaireresponse', elements, item] short: Nested groups and questions array: true index: 29 valueString: {short: Single-valued answer to the question, type: string, choiceOf: value, index: 23} valueBoolean: {short: Single-valued answer to the question, type: boolean, choiceOf: value, index: 17} valueDateTime: {short: Single-valued answer to the question, type: dateTime, choiceOf: value, index: 21} valueDate: {short: Single-valued answer to the question, type: date, choiceOf: value, index: 20} valueCoding: {short: Single-valued answer to the question, type: Coding, choiceOf: value, index: 26} valueInteger: {short: Single-valued answer to the question, type: integer, choiceOf: value, index: 19} valueAttachment: {short: Single-valued answer to the question, type: Attachment, choiceOf: value, index: 25} item: elementReference: ['http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-questionnaireresponse', elements, item] short: Nested questionnaire response items array: true index: 30 required: [linkId] source: short: The person who answered the questions refers: ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'] type: Reference isSummary: true index: 9 author: short: Person who received and recorded the answers refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Organization', 'http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/StructureDefinition/Practitioner', 'http://hl7.org/fhir/StructureDefinition/PractitionerRole', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson'] type: Reference isSummary: true index: 8 status: isModifier: true short: in-progress | completed | amended | entered-in-error | stopped type: code binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/questionnaire-answers-status|4.0.1'} isModifierReason: This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid isSummary: true index: 4 identifier: {short: Unique id for this set of answers, type: Identifier, isSummary: true, index: 0} basedOn: short: Request fulfilled by this QuestionnaireResponse refers: ['http://hl7.org/fhir/StructureDefinition/CarePlan', 'http://hl7.org/fhir/StructureDefinition/ServiceRequest'] type: Reference array: true isSummary: true index: 1 authored: {short: Date the answers were gathered, type: dateTime, isSummary: true, index: 7} partOf: short: Part of this action refers: ['http://hl7.org/fhir/StructureDefinition/Observation', 'http://hl7.org/fhir/StructureDefinition/Procedure'] type: Reference array: true isSummary: true index: 2 subject: short: The subject of the questions refers: ['http://hl7.org/fhir/StructureDefinition/Resource'] type: Reference isSummary: true index: 5 package_version: orf-0.9.1 class: profile kind: resource url: http://fhir.ch/ig/ch-orf/StructureDefinition/ch-orf-questionnaireresponse base: http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse version: 0.9.1 required: [status]