description: Parameters profile for $sqlquery-run at the instance level. The Library is identified by the URL; 'queryReference' and 'queryResource' are not allowed. package_name: io.health-samurai.core.r5 derivation: constraint name: SQLQueryRunInstanceParametersProfile type: Parameters elements: parameter: index: 0 slicing: rules: closed discriminator: - {path: name, type: value} min: 1 slices: _format: match: {name: _format} schema: _required: true index: 1 elements: name: pattern: {type: String, value: _format} index: 2 value: constraint: sqlquery-run-format-1: {human: '_format must be one of: csv, json, ndjson, fhir', severity: error, expression: $this in ('csv' | 'json' | 'ndjson' | 'fhir')} choices: [valueCode] index: 4 valueCode: type: code constraint: sqlquery-run-format-1: {human: '_format must be one of: csv, json, ndjson, fhir', severity: error, expression: $this in ('csv' | 'json' | 'ndjson' | 'fhir')} choiceOf: value index: 5 required: [valueCode, value] header: match: {name: header} schema: index: 6 elements: name: pattern: {type: String, value: header} index: 7 value: choices: [valueBoolean] index: 9 valueBoolean: {type: boolean, choiceOf: value, index: 10} required: [value, valueBoolean] _limit: match: {name: _limit} schema: index: 11 elements: name: pattern: {type: String, value: _limit} index: 12 value: constraint: sqlquery-run-limit-1: {human: _limit must be a positive integer, severity: error, expression: $this > 0} choices: [valueInteger] index: 14 valueInteger: type: integer constraint: sqlquery-run-limit-1: {human: _limit must be a positive integer, severity: error, expression: $this > 0} choiceOf: value index: 15 required: [value, valueInteger] _page: match: {name: _page} schema: index: 16 elements: name: pattern: {type: String, value: _page} index: 17 value: constraint: sqlquery-run-page-1: {human: _page must be a positive integer, severity: error, expression: $this > 0} choices: [valueInteger] index: 19 valueInteger: type: integer constraint: sqlquery-run-page-1: {human: _page must be a positive integer, severity: error, expression: $this > 0} choiceOf: value index: 20 required: [value, valueInteger] parameters: match: {name: parameters} schema: constraint: sqlquery-run-param-value-types: {human: 'Parameter value must be one of: valueBoolean, valueDate, valueDateTime, valueDecimal, valueInteger, valueString', severity: error, expression: resource.ofType(Parameters).parameter.all(value.empty() or value.type().name in ('boolean' | 'date' | 'dateTime' | 'decimal' | 'integer' | 'string'))} index: 21 elements: name: pattern: {type: String, value: parameters} index: 22 resource: {type: Parameters, index: 23} required: [resource] source: match: {name: source} schema: index: 24 elements: name: pattern: {type: String, value: source} index: 25 value: choices: [valueString] index: 27 valueString: {type: string, choiceOf: value, index: 28} required: [valueString, value] package_version: 0.2610.2 class: profile kind: resource url: http://health-samurai.io/fhir/core/StructureDefinition/parameters-sqlQueryRunInstanceParametersProfile base: http://hl7.org/fhir/StructureDefinition/Parameters version: 0.2610.2 required: [parameter]