description: Defines a scoring rule, used by the scoring system. See [scoring documentation](scoring-documentation.html) for further information. package_name: hl7.fhir.uv.tools.r5 derivation: constraint name: ScoringRule type: Extension elements: extension: type: Extension short: The key by which this rule is identified. it's not an error for more than one rules to have the same key - that just means they are reported together. But they do need to have the same value index: 0 slicing: slices: key: match: {} schema: type: Extension short: The key by which this rule is identified. it's not an error for more than one rules to have the same key - that just means they are reported together. But they do need to have the same value _required: true index: 0 extensions: {} elements: extension: {index: 1} url: type: uri pattern: {type: Uri, value: key} index: 2 value: choices: [valueId] index: 4 valueId: {type: id, choiceOf: value, index: 5} required: [value, valueId] value: match: {} schema: type: Extension short: The value associated with this rule. Defaults to 1 index: 6 extensions: {} elements: extension: {index: 7} url: type: uri pattern: {type: Uri, value: value} index: 8 value: choices: [valueInteger, valueDecimal] index: 10 valueInteger: {type: integer, choiceOf: value, index: 11} valueDecimal: {type: decimal, choiceOf: value, index: 12} required: [valueDecimal, value, valueInteger] rule: match: {} schema: type: Extension short: Zero or more named rules associated with this scoring rule. See [scoring documentation](scoring-documentation.html) for further information. array: true index: 13 extensions: {} elements: extension: {index: 14} url: type: uri pattern: {type: Uri, value: rule} index: 15 value: choices: [valueString] index: 17 valueString: {type: string, choiceOf: value, index: 18} required: [valueString, value] condition: match: {} schema: type: Extension short: A FHIRPath statement that must be true for this rule to apply index: 19 extensions: {} elements: extension: {index: 20} url: type: uri pattern: {type: Uri, value: condition} index: 21 value: choices: [valueString] index: 23 valueString: {type: string, choiceOf: value, index: 24} required: [valueString, value] url: pattern: {type: Uri, value: 'http://hl7.org/fhir/tools/StructureDefinition/scoring-rule'} index: 25 value: choices: [] index: 27 package_version: 0.9.0 extensions: key: url: null type: Extension short: The key by which this rule is identified. it's not an error for more than one rules to have the same key - that just means they are reported together. But they do need to have the same value _required: true index: 0 extensions: {} elements: extension: {index: 1} url: type: uri pattern: {type: Uri, value: key} index: 2 value: choices: [valueId] index: 4 valueId: {type: id, choiceOf: value, index: 5} required: [value, valueId] value: url: null type: Extension short: The value associated with this rule. Defaults to 1 index: 6 extensions: {} elements: extension: {index: 7} url: type: uri pattern: {type: Uri, value: value} index: 8 value: choices: [valueInteger, valueDecimal] index: 10 valueInteger: {type: integer, choiceOf: value, index: 11} valueDecimal: {type: decimal, choiceOf: value, index: 12} required: [valueDecimal, value, valueInteger] rule: url: null type: Extension short: Zero or more named rules associated with this scoring rule. See [scoring documentation](scoring-documentation.html) for further information. array: true index: 13 extensions: {} elements: extension: {index: 14} url: type: uri pattern: {type: Uri, value: rule} index: 15 value: choices: [valueString] index: 17 valueString: {type: string, choiceOf: value, index: 18} required: [valueString, value] condition: url: null type: Extension short: A FHIRPath statement that must be true for this rule to apply index: 19 extensions: {} elements: extension: {index: 20} url: type: uri pattern: {type: Uri, value: condition} index: 21 value: choices: [valueString] index: 23 valueString: {type: string, choiceOf: value, index: 24} required: [valueString, value] class: extension kind: complex-type url: http://hl7.org/fhir/tools/StructureDefinition/scoring-rule base: http://hl7.org/fhir/StructureDefinition/Extension version: 0.9.0 required: [extension]