description: Specifies how a list of elements is sorted prior to comparison with the matchetype package_name: hl7.fhir.uv.tools.r5 derivation: constraint name: MatchetypeSortRules type: Extension elements: extension: type: Extension short: Which element is to be sorted index: 0 slicing: slices: element: match: {} schema: type: Extension short: Which element is to be sorted _required: true index: 0 extensions: {} elements: extension: {index: 1} url: type: uri pattern: {type: Uri, value: element} index: 2 value: choices: [valueString] index: 4 valueString: {type: string, choiceOf: value, index: 5} expression: match: {} schema: min: 1 short: A FHIRPath expression that provides the value by which the element will be sorted index: 6 type: Extension array: true elements: extension: {index: 7} url: type: uri pattern: {type: Uri, value: expression} index: 8 value: choices: [valueString] index: 10 valueString: {type: string, choiceOf: value, index: 11} _required: true extensions: {} required: [valueString, value] url: type: uri pattern: {type: Uri, value: 'http://hl7.org/fhir/tools/StructureDefinition/matchetype-sort'} index: 12 value: choices: [] index: 14 package_version: 0.4.0 extensions: element: url: null type: Extension short: Which element is to be sorted _required: true index: 0 extensions: {} elements: extension: {index: 1} url: type: uri pattern: {type: Uri, value: element} index: 2 value: choices: [valueString] index: 4 valueString: {type: string, choiceOf: value, index: 5} expression: min: 1 short: A FHIRPath expression that provides the value by which the element will be sorted index: 6 type: Extension array: true elements: extension: {index: 7} url: type: uri pattern: {type: Uri, value: expression} index: 8 value: choices: [valueString] index: 10 valueString: {type: string, choiceOf: value, index: 11} _required: true extensions: {} url: null required: [valueString, value] class: extension kind: complex-type url: http://hl7.org/fhir/tools/StructureDefinition/matchetype-sort base: http://hl7.org/fhir/StructureDefinition/Extension version: 0.4.0 required: [extension]