http://hl7.org/fhir/StructureDefinition/DataRequirement|4.0.1

Base StructureDefinition for DataRequirement Type: Describes a required data item for evaluation in terms of the type of data, and optional code or date-based filters of the data.
description: 'Base StructureDefinition for DataRequirement Type: Describes a required data item for evaluation in terms of the type of data, and optional code or date-based filters of the data.'
derivation: specialization
name: DataRequirement
type: DataRequirement
elements:
  type:
    short: The type of the required data
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/all-types|4.0.1'}
    isSummary: true
    index: 0
  profile: {short: The profile of the required data, array: true, isSummary: true, index: 1}
  subject:
    short: E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device
    choices: []
    meaningWhenMissing: Patient
    isSummary: true
    index: 3
  mustSupport: {short: Indicates specific structure elements that are referenced by the knowledge module, array: true, isSummary: true, index: 4}
  codeFilter:
    constraint:
      drq-1: {human: 'Either a path or a searchParam must be provided, but not both', severity: error, expression: path.exists() xor searchParam.exists()}
    short: What codes are expected
    array: true
    isSummary: true
    index: 5
    elements:
      path: {short: A code-valued attribute to filter on, isSummary: true, index: 6}
      searchParam: {short: A coded (token) parameter to search on, isSummary: true, index: 7}
      valueSet: {short: Valueset for the filter, isSummary: true, index: 8}
      code: {short: What code is expected, array: true, isSummary: true, index: 9}
  dateFilter:
    constraint:
      drq-2: {human: 'Either a path or a searchParam must be provided, but not both', severity: error, expression: path.exists() xor searchParam.exists()}
    short: What dates/date ranges are expected
    array: true
    isSummary: true
    index: 10
    elements:
      path: {short: A date-valued attribute to filter on, isSummary: true, index: 11}
      searchParam: {short: A date valued parameter to search on, isSummary: true, index: 12}
      value:
        short: The value of the filter, as a Period, DateTime, or Duration value
        choices: []
        isSummary: true
        index: 14
  limit: {short: Number of results, isSummary: true, index: 15}
  sort:
    short: Order of the results
    array: true
    isSummary: true
    index: 16
    elements:
      path: {short: The name of the attribute to perform the sort, isSummary: true, index: 17}
      direction:
        short: ascending | descending
        binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/sort-direction|4.0.1'}
        isSummary: true
        index: 18
    required: [path, direction]
class: complex-type
kind: complex-type
url: http://hl7.org/fhir/StructureDefinition/DataRequirement
base: http://hl7.org/fhir/StructureDefinition/Element
version: 4.0.1
required: [type]