PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.davinci@dtr-2.1.0-preview
    http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-log-errors-input-parameters
description: The Parameters profile used to define the inputs to the [$log-questionnaire-errors](OperationDefinition-log-questionnaire-errors.html) operation.
package_name: hl7.fhir.us.davinci
derivation: constraint
name: DTRLogErrorsInputParameters
type: Parameters
elements:
  parameter:
    mustSupport: true
    index: 0
    slicing:
      rules: open
      description: Slice based on $this pattern
      discriminator:
      - {path: name, type: pattern}
      min: 1
      slices:
        questionnaire:
          match: {name: questionnaire}
          schema:
            short: The Questionnaire generating the errors (The reference SHOULD be version-specific)
            array: true
            index: 1
            elements:
              name:
                pattern: {type: String, value: questionnaire}
                index: 2
              value:
                mustSupport: true
                choices: [valueCanonical]
                index: 4
              valueCanonical: {type: canonical, mustSupport: true, choiceOf: value, index: 5}
            required: [valueCanonical, value]
        outcome:
          match: {name: operationOutcome}
          schema:
            short: Operation Outcome associated with the Questionnaire/CQL
            array: true
            index: 6
            elements:
              name:
                pattern: {type: String, value: operationOutcome}
                index: 7
              resource: {type: OperationOutcome, mustSupport: true, index: 8}
            required: [resource]
package_version: dtr-2.1.0-preview
class: profile
kind: resource
url: http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-log-errors-input-parameters
base: http://hl7.org/fhir/StructureDefinition/Parameters
version: 2.1.0-preview
required: [parameter]