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

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: '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:
  valueFilter:
    short: What values are expected
    array: true
    isSummary: true
    index: 15
    elements:
      path: {short: An attribute to filter on, isSummary: true, index: 16}
      searchParam: {short: A parameter to search on, isSummary: true, index: 17}
      comparator:
        short: eq | gt | lt | ge | le | sa | eb
        binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/value-filter-comparator|5.0.0'}
        isSummary: true
        index: 18
      value:
        short: The value of the filter, as a Period, DateTime, or Duration value
        choices: []
        isSummary: true
        index: 20
  limit: {short: Number of results, isSummary: true, index: 21}
  type:
    short: The type of the required data
    binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/fhir-types|5.0.0'}
    isSummary: true
    index: 0
  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', source: 'http://hl7.org/fhir/StructureDefinition/DataRequirement', 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}
  subject:
    short: E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device
    choices: []
    meaningWhenMissing: Patient
    isSummary: true
    index: 3
  dateFilter:
    constraint:
      drq-2: {human: 'Either a path or a searchParam must be provided, but not both', source: 'http://hl7.org/fhir/StructureDefinition/DataRequirement', 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
  sort:
    short: Order of the results
    array: true
    isSummary: true
    index: 22
    elements:
      path: {short: The name of the attribute to perform the sort, isSummary: true, index: 23}
      direction:
        short: ascending | descending
        binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/sort-direction|5.0.0'}
        isSummary: true
        index: 24
    required: [path, direction]
  profile: {short: The profile of the required data, array: true, isSummary: true, index: 1}
class: complex-type
kind: complex-type
url: http://hl7.org/fhir/StructureDefinition/DataRequirement
base: http://hl7.org/fhir/StructureDefinition/DataType
version: 5.0.0
required: [type]