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.r4 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] 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: 11 elements: name: pattern: {type: String, value: parameters} index: 12 resource: {type: Parameters, index: 13} required: [resource] source: match: {name: source} schema: index: 14 elements: name: pattern: {type: String, value: source} index: 15 value: choices: [valueString] index: 17 valueString: {type: string, choiceOf: value, index: 18} required: [valueString, value] package_version: 0.2605.0 class: profile kind: resource url: http://health-samurai.io/fhir/core/StructureDefinition/parameters-sqlQueryRunInstanceParametersProfile base: http://hl7.org/fhir/StructureDefinition/Parameters version: 0.2605.0 required: [parameter]