PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.us.davinci-dtr@2.2.0-ballot
    http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/DTRMetricData
description: A logical model describing the information that should be captured by DTR implementers about every DTR invocation to support measures evaluating DTR implementation.
package_name: hl7.fhir.us.davinci-dtr
derivation: specialization
name: DTRMetricData
type: http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/DTRMetricData
elements:
  providerId:
    type: Identifier
    short: Identifier for the user initiating DTR
    index: 2
    elements:
      system:
        pattern: {type: uri, value: 'http://hl7.org/fhir/sid/us-npi'}
        type: uri
        index: 3
      value: {index: 4}
    required: [system, value]
  groupId:
    type: Identifier
    short: Identifier for the healthcare organization initiating DTR
    index: 5
    elements:
      system:
        pattern: {type: uri, value: 'http://hl7.org/fhir/sid/us-npi'}
        type: uri
        index: 6
      value: {index: 7}
    required: [system, value]
  questionnaire:
    type: BackboneElement
    short: Questionnaire
    array: true
    index: 28
    elements:
      populated: {type: boolean, short: Whether a pre-populated response was provided from payer, meaningWhenMissing: No population occurred, index: 31}
      autoPopulated: {short: Number of questions autopopulated, type: positiveInt, meaningWhenMissing: No questions had their answers auto-populated, index: 35}
      adaptive: {type: boolean, short: True if adaptive form, meaningWhenMissing: Questionnaire was a standard (non-adaptive) Questionnaire, index: 30}
      elapsedTime: {type: time, short: Cumulative user response time that questionnaire was active in session, index: 40}
      failure:
        type: CodeableConcept
        short: Questionnaire errors logged to payer
        binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/issue-type'}
        array: true
        index: 32
      enabledQuestions: {type: positiveInt, short: Number of enabled questions, index: 34}
      reviewPrior: {type: boolean, short: True if user reviewed answers prior to final save, meaningWhenMissing: User did not review the QuestionnaireRepsonse in this session, index: 33}
      reference: {type: canonical, short: This is the URL for the canonical questionnaire, index: 29}
      roleInteraction:
        type: BackboneElement
        short: Role specific interactions
        array: true
        index: 36
        elements:
          role:
            type: CodeableConcept
            short: Role of information contributor
            binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/us/core/ValueSet/us-core-provider-role|3.1.1'}
            index: 37
          roleAction:
            type: code
            short: override | manual
            binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/us/davinci-dtr/ValueSet/MetricsinformationOrigins'}
            index: 38
          count: {type: positiveInt, short: Count of combination of role and roleInteraction, index: 39}
        required: [count, role, roleAction]
    required: [elapsedTime, reference]
  assertionId: {short: Unique ID for order item, type: string, array: true, index: 11}
  source:
    type: code
    short: provider-src | payer-src | DTRApp-src
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/davinci-dtr/ValueSet/metric-Source'}
    index: 0
  docReason:
    short: withpa | withclaim | withorder | retain-doc | OTH
    type: code
    array: true
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/davinci-crd/ValueSet/DocReason|2.1.0'}
    index: 12
  coverageInfo:
    type: BackboneElement
    short: Coverage information
    array: true
    index: 41
    elements:
      covered:
        type: code
        short: covered | not-covered | conditional
        binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/davinci-crd/ValueSet/coverageInfo|2.1.0'}
        index: 42
      paNeeded:
        type: code
        short: auth-needed | no-auth | satisfied | performpa | conditional
        binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/davinci-crd/ValueSet/coveragePaDetail|2.1.0'}
        index: 43
      docNeeded:
        type: code
        short: clinical | admin | both | conditional
        binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/davinci-crd/ValueSet/AdditionalDocumentation|2.1.0'}
        index: 44
      infoNeeded:
        type: code
        short: performer | location | timeframe | OTH
        binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/davinci-crd/ValueSet/informationNeeded|2.1.0'}
        index: 45
      questionnaire:
        type: BackboneElement
        short: Questionnaire(s) returned
        array: true
        index: 46
        elements:
          reference: {type: canonical, short: Questionnaire url & version, index: 47}
          adaptive: {type: boolean, short: 'Is questionnaire adaptive?', index: 48}
          response: {type: boolean, short: 'Pre-pop response provided?', index: 49}
        required: [adaptive, reference, response]
      assertionId: {type: string, short: Id for coverage assertion, index: 50}
      satisfiedId: {type: string, short: Id if PA is satisfied, index: 51}
      businessLine: {type: CodeableConcept, short: 'e.g., MedicareAdvantage', index: 52}
    required: [assertionId]
  orderItem:
    type: CodeableConcept
    short: What was ordered
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/us/davinci-crd/ValueSet/orderDetail|2.1.0'}
    array: true
    min: 1
    index: 14
  payerId:
    type: Identifier
    short: Payer receiving DTR request
    index: 8
    elements:
      system: {index: 9}
      value: {index: 10}
    required: [system, value]
  action:
    type: BackboneElement
    short: Actions the reporting system engaged in as part of the DTR session.
    array: true
    min: 1
    index: 15
    elements:
      actionDetail:
        type: code
        short: launch | qpackage | mrquery | userresponse | nextq | storeqr
        binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/davinci-dtr/ValueSet/metric-Action'}
        index: 16
      requestTime: {type: instant, short: Time action initiated, index: 17}
      responseTime: {type: instant, short: Time of action response, index: 18}
      httpResponse: {type: integer, short: HTTP response status code, index: 19}
      questionnaire: {type: canonical, short: Associated Questionnaire, index: 20}
      issue:
        type: BackboneElement
        short: OperationOutcome info
        array: true
        index: 21
        elements:
          code:
            type: code
            short: Error code
            binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/issue-type'}
            index: 22
          details:
            type: CodeableConcept
            short: More detailed error code
            binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/operation-outcome'}
            index: 23
        required: [code]
    required: [actionDetail, requestTime]
  sofApp: {type: url, short: URL of SMART on FHIR application, index: 1}
  launchMode:
    type: code
    short: crdlaunch | relaunch | salaunch | cdexlaunch
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/us/davinci-dtr/ValueSet/metric-launchmode'}
    index: 13
  resources:
    type: BackboneElement
    short: Resource types accessed
    array: true
    index: 24
    elements:
      type:
        type: code
        short: Kind of resource
        binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/resource-types'}
        index: 25
      profile: {type: canonical, short: Solicited profile, index: 26}
      count: {type: positiveInt, short: Number retrieved, index: 27}
    required: [count, type]
package_version: 2.2.0-ballot
class: logical
kind: logical
url: http://hl7.org/fhir/us/davinci-dtr/StructureDefinition/DTRMetricData
base: http://hl7.org/fhir/StructureDefinition/Base
version: 2.2.0-ballot
required: [action, groupId, orderItem, payerId, providerId, source]