PackagesCanonicalsLogsProblems
    Packages
    rs/hl7.fhir.us.davinci@dtr-2.1.0-preview
    http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-questionnaireresponse
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.
package_name: rs/hl7.fhir.us.davinci
derivation: constraint
name: DTRQuestionnaireResponse
type: QuestionnaireResponse
elements:
  extension:
    array: true
    min: 3
    index: 0
    slicing:
      slices:
        signature:
          match: {}
          schema: {mustSupport: true, index: 1}
        context:
          match: {}
          schema: {type: Extension, short: 'Identifies the orders, coverages, and or other resources associated with the specified QuestionnaireResponse. The QuestionnaireResponse SHALL have at least one context that refers to a patient Coverage AND at least one context that refers to a Request resource or Encounter', url: 'http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/qr-context', index: 2}
          min: 2
          _required: true
        coverage-information:
          match: {}
          schema: {type: Extension, short: Coverage Info, mustSupport: true, url: 'http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-coverage-information', index: 3}
          min: 0
        intendedUse:
          match: {}
          schema: {type: Extension, short: Indicates how the EHR is to use the information with respect to the associated orders/records., url: 'http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/intendedUse', index: 4}
          min: 1
  basedOn: {index: 5}
  partOf: {index: 6}
  subject:
    type: Reference
    refers: ['http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-patient']
    index: 7
  author:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/RelatedPerson', 'http://hl7.org/fhir/us/core/StructureDefinition/us-core-practitioner', 'http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-organization', 'http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-patient', 'http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-practitionerrole']
    index: 8
  item:
    index: 9
    extensions:
      ItemSignature: {url: null, mustSupport: true, index: 10}
    elements:
      extension:
        mustSupport: true
        index: 10
        slicing:
          slices:
            ItemSignature:
              match: {}
              schema: {mustSupport: true, index: 10}
      answer:
        extensions:
          itemAnswerMedia: {url: null, mustSupport: true, index: 12}
          ordinalValue: {url: null, mustSupport: true, index: 13}
          origin: {url: 'http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/information-origin', min: 1, max: 1, type: Extension, mustSupport: true, index: 14}
        elements:
          extension:
            index: 11
            slicing:
              slices:
                itemAnswerMedia:
                  match: {}
                  schema: {mustSupport: true, index: 12}
                ordinalValue:
                  match: {}
                  schema: {mustSupport: true, index: 13}
                origin:
                  match: {}
                  schema: {type: Extension, mustSupport: true, url: 'http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/information-origin', index: 14}
                  min: 1
                  max: 1
        required: [extension]
package_version: dtr-2.1.0-preview
extensions:
  signature: {url: null, mustSupport: true, index: 1}
  context: {url: 'http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/qr-context', min: 2, _required: true, type: Extension, short: 'Identifies the orders, coverages, and or other resources associated with the specified QuestionnaireResponse. The QuestionnaireResponse SHALL have at least one context that refers to a patient Coverage AND at least one context that refers to a Request resource or Encounter', index: 2}
  coverage-information: {url: 'http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-coverage-information', min: 0, type: Extension, short: Coverage Info, mustSupport: true, index: 3}
  intendedUse: {url: 'http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/intendedUse', min: 1, type: Extension, short: Indicates how the EHR is to use the information with respect to the associated orders/records., index: 4}
class: profile
kind: resource
url: http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/dtr-questionnaireresponse
base: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse
version: 2.1.0-preview
required: [item, subject]