# DTR Next Question Output Parameters - Da Vinci - Documentation Templates and Rules v2.2.0

## Resource Profile: DTR Next Question Output Parameters 

 
Profile used to validate the parameters that are the output of the 'next question' adaptive questionnaire operation 

**Usages:**

* Examples for this Profile: [Parameters/NextQuestionOutputParamsExample](Parameters-NextQuestionOutputParamsExample.md)

You can also check for [usages in the FHIR IG Statistics](https://packages2.fhir.org/xig/hl7.fhir.us.davinci-dtr|current/StructureDefinition/dtr-next-question-output-parameters)

### Formal Views of Profile Content

 [Description Differentials, Snapshots, and other representations](http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#structure-definitions). 

 

Other representations of profile: [CSV](../StructureDefinition-dtr-next-question-output-parameters.csv), [Excel](../StructureDefinition-dtr-next-question-output-parameters.xlsx), [Schematron](../StructureDefinition-dtr-next-question-output-parameters.sch) 



## Resource Content

```json
{
  "resourceType" : "StructureDefinition",
  "id" : "dtr-next-question-output-parameters",
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
    "valueInteger" : 3,
    "_valueInteger" : {
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical" : "http://hl7.org/fhir/uv/sdc/ImplementationGuide/hl7.fhir.uv.sdc|4.0.0"
      }]
    }
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "cds"
  },
  {
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
    "valueCode" : "trial-use",
    "_valueCode" : {
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
        "valueCanonical" : "http://hl7.org/fhir/us/davinci-dtr/ImplementationGuide/hl7.fhir.us.davinci-dtr"
      }]
    }
  }],
  "url" : "http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-next-question-output-parameters",
  "version" : "2.2.0",
  "name" : "DTRQuestionnaireNextQuestionnaireOutputParameters",
  "title" : "DTR Next Question Output Parameters",
  "status" : "active",
  "date" : "2026-03-27T15:13:55+00:00",
  "publisher" : "HL7 International / Clinical Decision Support",
  "contact" : [{
    "name" : "HL7 International / Clinical Decision Support",
    "telecom" : [{
      "system" : "url",
      "value" : "http://www.hl7.org/Special/committees/dss"
    }]
  }],
  "description" : "Profile used to validate the parameters that are the output of the 'next question' adaptive questionnaire operation",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "urn:iso:std:iso:3166",
      "code" : "US"
    }]
  }],
  "fhirVersion" : "4.0.1",
  "mapping" : [{
    "identity" : "v2",
    "uri" : "http://hl7.org/v2",
    "name" : "HL7 v2 Mapping"
  },
  {
    "identity" : "rim",
    "uri" : "http://hl7.org/v3",
    "name" : "RIM Mapping"
  }],
  "kind" : "resource",
  "abstract" : false,
  "type" : "Parameters",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Parameters",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "id" : "Parameters",
      "path" : "Parameters"
    },
    {
      "id" : "Parameters.parameter",
      "path" : "Parameters.parameter",
      "slicing" : {
        "discriminator" : [{
          "type" : "value",
          "path" : "name"
        }],
        "rules" : "open"
      },
      "min" : 1
    },
    {
      "id" : "Parameters.parameter:QuestionnaireResponse",
      "path" : "Parameters.parameter",
      "sliceName" : "QuestionnaireResponse",
      "min" : 1,
      "max" : "1"
    },
    {
      "id" : "Parameters.parameter:QuestionnaireResponse.name",
      "path" : "Parameters.parameter.name",
      "fixedString" : "return"
    },
    {
      "id" : "Parameters.parameter:QuestionnaireResponse.value[x]",
      "path" : "Parameters.parameter.value[x]",
      "max" : "0"
    },
    {
      "id" : "Parameters.parameter:QuestionnaireResponse.resource",
      "path" : "Parameters.parameter.resource",
      "type" : [{
        "code" : "QuestionnaireResponse",
        "profile" : ["http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-questionnaireresponse-adapt"]
      }]
    },
    {
      "id" : "Parameters.parameter:QuestionnaireResponse.part",
      "path" : "Parameters.parameter.part",
      "max" : "0"
    }]
  }
}

```
