# DTR Questionnaire Response - Da Vinci - Documentation Templates and Rules v2.2.0

## Resource Profile: DTR Questionnaire Response 

 
Enforces DTR requirements on a completed or partially completed QuestionnaireResponse, including allowing the response to be linked to the relevant order, coverage, etc. and enforcing constraints applicable to the DTR context. 

**Usages:**

* Derived from this Profile: [DTR Questionnaire Response for adaptive form](StructureDefinition-dtr-questionnaireresponse-adapt.md)
* Use this Profile: [DTR Questionnaire Package Bundle](StructureDefinition-DTR-QPackageBundle.md), [DTR Questionnaire Response Bundle](StructureDefinition-DTR-QRBundle.md), [DTR Next Question Input Parameters](http://hl7.org/fhir/us/davinci-dtr/STU2.1/StructureDefinition-dtr-next-question-input-parameters.html) and [DTR Next Question Output Parameters](http://hl7.org/fhir/us/davinci-dtr/STU2.1/StructureDefinition-dtr-next-question-output-parameters.html)
* Examples for this Profile: [QuestionnaireResponse/home-o2-questionnaireresponse](QuestionnaireResponse-home-o2-questionnaireresponse.md)
* CapabilityStatements using this Profile: [Light DTR EHR](CapabilityStatement-light-dtr-ehr-311.md), [Light DTR EHR](CapabilityStatement-light-dtr-ehr-700.md), [SMART on FHIR DTR Client](CapabilityStatement-smart-dtr-client.md), [Light DTR EHR](http://hl7.org/fhir/us/davinci-dtr/STU2.1/CapabilityStatement-light-dtr-ehr-311.html)... Show 2 more, [Light DTR EHR](http://hl7.org/fhir/us/davinci-dtr/STU2.1/CapabilityStatement-light-dtr-ehr-700.html) and [SMART on FHIR DTR Client](http://hl7.org/fhir/us/davinci-dtr/STU2.1/CapabilityStatement-smart-dtr-client.html)

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

### 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-questionnaireresponse.csv), [Excel](../StructureDefinition-dtr-questionnaireresponse.xlsx), [Schematron](../StructureDefinition-dtr-questionnaireresponse.sch) 



## Resource Content

```json
{
  "resourceType" : "StructureDefinition",
  "id" : "dtr-questionnaireresponse",
  "meta" : {
    "versionId" : "10",
    "lastUpdated" : "2023-08-21T11:10:05.000-07:00"
  },
  "extension" : [{
    "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
    "valueCode" : "cds"
  }],
  "url" : "http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-questionnaireresponse",
  "version" : "2.2.0",
  "name" : "DTRQuestionnaireResponse",
  "title" : "DTR Questionnaire Response",
  "status" : "active",
  "date" : "2023-08-21T02:27:35+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" : "Enforces DTR requirements on a completed or partially completed QuestionnaireResponse, including allowing the response to be linked to the relevant order, coverage, etc. and enforcing constraints applicable to the DTR context.",
  "jurisdiction" : [{
    "coding" : [{
      "system" : "urn:iso:std:iso:3166",
      "code" : "US"
    }]
  }],
  "fhirVersion" : "4.0.1",
  "mapping" : [{
    "identity" : "workflow",
    "uri" : "http://hl7.org/fhir/workflow",
    "name" : "Workflow Pattern"
  },
  {
    "identity" : "rim",
    "uri" : "http://hl7.org/v3",
    "name" : "RIM Mapping"
  },
  {
    "identity" : "w5",
    "uri" : "http://hl7.org/fhir/fivews",
    "name" : "FiveWs Pattern Mapping"
  }],
  "kind" : "resource",
  "abstract" : false,
  "type" : "QuestionnaireResponse",
  "baseDefinition" : "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "id" : "QuestionnaireResponse.extension",
      "path" : "QuestionnaireResponse.extension",
      "min" : 2
    },
    {
      "id" : "QuestionnaireResponse.extension:signature",
      "path" : "QuestionnaireResponse.extension",
      "sliceName" : "signature",
      "mustSupport" : true
    },
    {
      "id" : "QuestionnaireResponse.extension:coverage",
      "path" : "QuestionnaireResponse.extension",
      "sliceName" : "coverage",
      "short" : "Identifies the coverages associated with the specified QuestionnaireResponse.",
      "min" : 1,
      "max" : "*",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/qr-coverage"]
      }],
      "mustSupport" : true
    },
    {
      "id" : "QuestionnaireResponse.extension:context",
      "path" : "QuestionnaireResponse.extension",
      "sliceName" : "context",
      "short" : "Identifies the orders and/or other resources associated with the specified QuestionnaireResponse.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/qr-context"]
      }],
      "mustSupport" : true
    },
    {
      "id" : "QuestionnaireResponse.extension:coverage-information",
      "path" : "QuestionnaireResponse.extension",
      "sliceName" : "coverage-information",
      "short" : "Coverage Info",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-coverage-information"]
      }],
      "mustSupport" : true
    },
    {
      "id" : "QuestionnaireResponse.extension:intendedUse",
      "path" : "QuestionnaireResponse.extension",
      "sliceName" : "intendedUse",
      "short" : "Indicates how the EHR is to use the information with respect to the associated orders/records.",
      "min" : 1,
      "max" : "*",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/intendedUse"]
      }],
      "mustSupport" : true
    },
    {
      "id" : "QuestionnaireResponse.basedOn",
      "path" : "QuestionnaireResponse.basedOn",
      "max" : "0"
    },
    {
      "id" : "QuestionnaireResponse.partOf",
      "path" : "QuestionnaireResponse.partOf",
      "max" : "0"
    },
    {
      "id" : "QuestionnaireResponse.subject",
      "path" : "QuestionnaireResponse.subject",
      "min" : 1,
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-patient"]
      }]
    },
    {
      "id" : "QuestionnaireResponse.author",
      "path" : "QuestionnaireResponse.author",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Device",
        "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-patient",
        "http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner",
        "http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-practitionerrole",
        "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-organization",
        "http://hl7.org/fhir/StructureDefinition/RelatedPerson"]
      }]
    },
    {
      "id" : "QuestionnaireResponse.item.extension:ItemSignature",
      "path" : "QuestionnaireResponse.item.extension",
      "sliceName" : "ItemSignature",
      "mustSupport" : true
    },
    {
      "id" : "QuestionnaireResponse.item.answer.extension",
      "path" : "QuestionnaireResponse.item.answer.extension",
      "min" : 1
    },
    {
      "id" : "QuestionnaireResponse.item.answer.extension:itemAnswerMedia",
      "path" : "QuestionnaireResponse.item.answer.extension",
      "sliceName" : "itemAnswerMedia",
      "mustSupport" : true
    },
    {
      "id" : "QuestionnaireResponse.item.answer.extension:itemWeight",
      "path" : "QuestionnaireResponse.item.answer.extension",
      "sliceName" : "itemWeight",
      "mustSupport" : true
    },
    {
      "id" : "QuestionnaireResponse.item.answer.extension:origin",
      "path" : "QuestionnaireResponse.item.answer.extension",
      "sliceName" : "origin",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/information-origin"]
      }],
      "mustSupport" : true
    },
    {
      "id" : "QuestionnaireResponse.item.answer.extension:containedReference",
      "path" : "QuestionnaireResponse.item.answer.extension",
      "sliceName" : "containedReference",
      "short" : "Contain the reference?",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Extension",
        "profile" : ["http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/containedReference"]
      }],
      "mustSupport" : true
    }]
  }
}

```
