### ----------------------------------------------------
### -- FHIR
### -- Licenses: Artistic-2.0
### -- Authors: Hugh Simpson
### -- File: t/resources/structureDefinition/DataRequirement.json
### ----------------------------------------------------
### -- Chunk 6 of 6
 path must resolve to an element of type date, dateTime, Period, Schedule, or Timing.",
      "comment" : "The path attribute contains a [Simple FHIR Subset](fhirpath.html#simple) that allows path traversal, but not calculation.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "isSummary" : true
    },
    {
      "id" : "DataRequirement.dateFilter.searchParam",
      "path" : "DataRequirement.dateFilter.searchParam",
      "short" : "A date valued parameter to search on",
      "definition" : "A date parameter that refers to a search parameter defined on the specified type of the DataRequirement, and which searches on elements of type date, dateTime, Period, Schedule, or Timing.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "isSummary" : true
    },
    {
      "id" : "DataRequirement.dateFilter.value[x]",
      "path" : "DataRequirement.dateFilter.value[x]",
      "short" : "The value of the filter, as a Period, DateTime, or Duration value",
      "definition" : "The value of the filter. If period is specified, the filter will return only those data items that fall within the bounds determined by the Period, inclusive of the period boundaries. If dateTime is specified, the filter will return only those data items that are equal to the specified dateTime. If a Duration is specified, the filter will return only those data items that fall within Duration before now.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "dateTime"
      },
      {
        "code" : "Period"
      },
      {
        "code" : "Duration"
      }],
      "isSummary" : true
    },
    {
      "id" : "DataRequirement.limit",
      "path" : "DataRequirement.limit",
      "short" : "Number of results",
      "definition" : "Specifies a maximum number of results that are required (uses the _count search parameter).",
      "comment" : "This element can be used in combination with the sort element to specify quota requirements such as \"the most recent 5\" or \"the highest 5\".",
      "requirements" : "Enables the requirement \"most recent 5 results\" to be expressed.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "positiveInt"
      }],
      "isSummary" : true
    },
    {
      "id" : "DataRequirement.sort",
      "path" : "DataRequirement.sort",
      "short" : "Order of the results",
      "definition" : "Specifies the order of the results to be returned.",
      "comment" : "This element can be used in combination with the sort element to specify quota requirements such as \"the most recent 5\" or \"the highest 5\". When multiple sorts are specified, they are applied in the order they appear in the resource.",
      "requirements" : "Enables the requirement \"most recent 5 results\" to be expressed.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Element"
      }],
      "isSummary" : true
    },
    {
      "id" : "DataRequirement.sort.path",
      "path" : "DataRequirement.sort.path",
      "short" : "The name of the attribute to perform the sort",
      "definition" : "The attribute of the sort. The specified path must be resolvable from the type of the required data. The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers ([x]) to traverse multiple-cardinality sub-elements. Note that the index must be an integer constant.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "isSummary" : true
    },
    {
      "id" : "DataRequirement.sort.direction",
      "path" : "DataRequirement.sort.direction",
      "short" : "ascending | descending",
      "definition" : "The direction of the sort, ascending or descending.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "code"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "SortDirection"
        }],
        "strength" : "required",
        "description" : "The possible sort directions, ascending or descending.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/sort-direction|4.0.0"
      }
    }]
  }
}


