PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.davinci-dtr@2.2.0-ballot
    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: hl7.fhir.us.davinci-dtr
derivation: constraint
name: DTRQuestionnaireResponse
type: QuestionnaireResponse
elements:
  extension:
    array: true
    min: 2
    index: 0
    slicing:
      slices:
        signature:
          match: {}
          schema: {mustSupport: true, index: 1}
        coverage:
          match: {}
          schema: {type: Extension, short: Identifies the coverages associated with the specified QuestionnaireResponse., mustSupport: true, url: 'http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/qr-coverage', index: 2}
          min: 1
        context:
          match: {}
          schema: {type: Extension, short: Identifies the orders and/or other resources associated with the specified QuestionnaireResponse., mustSupport: true, url: 'http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/qr-context', index: 3}
          min: 0
        coverage-information:
          match: {}
          schema: {type: Extension, short: Coverage Info, mustSupport: true, url: 'http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-coverage-information', index: 4}
          min: 0
        intendedUse:
          match: {}
          schema: {type: Extension, short: Indicates how the EHR is to use the information with respect to the associated orders/records., mustSupport: true, url: 'http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/intendedUse', index: 5}
          min: 1
  basedOn: {index: 6}
  partOf: {index: 7}
  subject:
    type: Reference
    refers: ['http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-patient|2.1.0']
    index: 8
  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|2.1.0', 'http://hl7.org/fhir/us/davinci-crd/StructureDefinition/profile-patient|2.1.0', 'http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-practitionerrole']
    index: 9
  item:
    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}
          containedReference: {url: 'http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/containedReference', min: 0, max: 1, type: Extension, short: 'Contain the reference?', mustSupport: true, index: 15}
        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
                containedReference:
                  match: {}
                  schema: {type: Extension, short: 'Contain the reference?', mustSupport: true, url: 'http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/containedReference', index: 15}
                  min: 0
                  max: 1
        required: [extension]
package_version: 2.2.0-ballot
extensions:
  signature: {url: null, mustSupport: true, index: 1}
  coverage: {url: 'http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/qr-coverage', min: 1, type: Extension, short: Identifies the coverages associated with the specified QuestionnaireResponse., mustSupport: true, index: 2}
  context: {url: 'http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/qr-context', min: 0, type: Extension, short: Identifies the orders and/or other resources associated with the specified QuestionnaireResponse., mustSupport: true, index: 3}
  coverage-information: {url: 'http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-coverage-information', min: 0, type: Extension, short: Coverage Info, mustSupport: true, index: 4}
  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., mustSupport: true, index: 5}
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.2.0-ballot
required: [subject]