description: Defines the Answer condition for an answer option in the questionnaire. package_name: dk.ehealth.sundhed.fhir.ig.core derivation: constraint name: ehealth-answer-Condition type: Extension elements: extension: array: true min: 2 index: 0 slicing: slices: value: match: {} schema: _required: true index: 1 extensions: {} elements: extension: {index: 2} url: pattern: {type: Uri, value: value} index: 3 value: choices: [valueBoolean, valueDecimal, valueInteger, valueString, valueCoding] index: 5 valueBoolean: {type: boolean, choiceOf: value, index: 6} valueDecimal: {type: decimal, choiceOf: value, index: 7} valueInteger: {type: integer, choiceOf: value, index: 8} valueString: {type: string, choiceOf: value, index: 9} valueCoding: {type: Coding, choiceOf: value, index: 10} required: [valueCoding, valueString, valueDecimal, value, valueBoolean, valueInteger] operator: match: {} schema: _required: true index: 11 extensions: {} elements: extension: {index: 12} url: pattern: {type: Uri, value: operator} index: 13 value: choices: [] index: 15 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: valueCode: match: {} schema: choices: [valueCode] index: 17 min: 0 max: 1 valueCode: type: code choiceOf: value index: 18 slicing: slices: valueCode: match: {} schema: {type: code, choiceOf: value, index: 18} min: 0 max: 1 url: pattern: {type: Uri, value: 'http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-answer-Condition'} index: 19 value: choices: [] index: 21 package_version: 3.5.1 extensions: value: url: null _required: true index: 1 extensions: {} elements: extension: {index: 2} url: pattern: {type: Uri, value: value} index: 3 value: choices: [valueBoolean, valueDecimal, valueInteger, valueString, valueCoding] index: 5 valueBoolean: {type: boolean, choiceOf: value, index: 6} valueDecimal: {type: decimal, choiceOf: value, index: 7} valueInteger: {type: integer, choiceOf: value, index: 8} valueString: {type: string, choiceOf: value, index: 9} valueCoding: {type: Coding, choiceOf: value, index: 10} required: [valueCoding, valueString, valueDecimal, value, valueBoolean, valueInteger] operator: url: null _required: true index: 11 extensions: {} elements: extension: {index: 12} url: pattern: {type: Uri, value: operator} index: 13 value: choices: [] index: 15 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: valueCode: match: {} schema: choices: [valueCode] index: 17 min: 0 max: 1 valueCode: type: code choiceOf: value index: 18 slicing: slices: valueCode: match: {} schema: {type: code, choiceOf: value, index: 18} min: 0 max: 1 class: extension kind: complex-type url: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-answer-Condition base: http://hl7.org/fhir/StructureDefinition/Extension version: 3.5.1