This page is part of the FHIR Specification (v3.3.0: R4 Ballot 2). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3
Modeling and Methodology Work Group | Maturity Level: N/A | Ballot Status: Informative |
StructureDefinition for DataRequirement
{ "resourceType": "StructureDefinition", "id": "DataRequirement", "meta": { "lastUpdated": "2018-04-03T12:05:46.262+10:00" }, "text": { "status": "generated", "div": "<div>!-- Snipped for Brevity --></div>" }, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-ballot-status", "valueString": "Trial Use" } ], "url": "http://hl7.org/fhir/StructureDefinition/DataRequirement", "name": "DataRequirement", "status": "draft", "date": "2018-04-03T12:05:46+10:00", "publisher": "HL7 FHIR Standard", "contact": [ { "telecom": [ { "system": "url", "value": "http://hl7.org/fhir" } ] } ], "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.", "fhirVersion": "3.3.0", "mapping": [ { "identity": "rim", "uri": "http://hl7.org/v3", "name": "RIM Mapping" } ], "kind": "complex-type", "abstract": false, "type": "DataRequirement", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Element", "derivation": "specialization", "snapshot": { "element": [ { "id": "DataRequirement", "path": "DataRequirement", "short": "Describes a required data item", "definition": "Describes a required data item for evaluation in terms of the type of data, and optional code or date-based filters of the data.", "min": 0, "max": "*", "base": { "path": "DataRequirement", "min": 0, "max": "*" }, "condition": [ "ele-1" ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() | (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isModifier": false, "mapping": [ { "identity": "rim", "map": "n/a" } ] }, { "id": "DataRequirement.id", "path": "DataRequirement.id", "representation": [ "xmlAttr" ], "short": "xml:id (or equivalent in JSON)", "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ], "isModifier": false, "isSummary": false, "mapping": [ { "identity": "rim", "map": "n/a" } ] }, { "id": "DataRequirement.extension", "path": "DataRequirement.extension", "slicing": { "discriminator": [ { "type": "value", "path": "url" } ], "description": "Extensions are always sliced by (at least) url", "rules": "open" }, "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", "user content" ], "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": false, "isSummary": false, "mapping": [ { "identity": "rim", "map": "n/a" } ] }, { "id": "DataRequirement.type", "path": "DataRequirement.type", "short": "The type of the required data", "definition": "The type of the required data, specified as the type name of a resource. For profiles, this value is set to the type of the base resource of the profile.", "min": 1, "max": "1", "base": { "path": "DataRequirement.type", "min": 1, "max": "1" }, "type": [ { "code": "code" } ], "isModifier": false, "isSummary": true, "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "FHIRAllTypes" }, { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", "valueBoolean": true } ], "strength": "required", "description": "A list of all the concrete types defined in this version of the FHIR specification - Abstract Types, Data Types and Resource Types", "valueSetCanonical": "http://hl7.org/fhir/ValueSet/all-types" } }, { "id": "DataRequirement.profile", "path": "DataRequirement.profile", "short": "The profile of the required data", "definition": "The profile of the required data, specified as the uri of the profile definition.", "min": 0, "max": "*", "base": { "path": "DataRequirement.profile", "min": 0, "max": "*" }, "type": [ { "code": "canonical", "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/StructureDefinition" ] } ], "isModifier": false, "isSummary": true }, { "id": "DataRequirement.subject[x]", "path": "DataRequirement.subject[x]", "short": "E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device", "definition": "The intended subjects of the data requirement. If this element is not provided, a Patient subject is assumed.", "comment": "The subject of a data requirement is critical, as the data being specified is determined with respect to a particular subject. This corresponds roughly to the notion of a Compartment in that it limits what data is available based on its relationship to the subject. In CQL, this corresponds to the context declaration.", "min": 0, "max": "1", "base": { "path": "DataRequirement.subject[x]", "min": 0, "max": "1" }, "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Group" ] } ], "meaningWhenMissing": "Patient", "isModifier": false, "isSummary": true, "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "SubjectType" } ], "strength": "extensible", "description": "The possible types of subjects for a data requirement (E.g., Patient, Practitioner, Organization, Location, etc.)", "valueSetCanonical": "http://hl7.org/fhir/ValueSet/subject-type" } }, { "id": "DataRequirement.mustSupport", "path": "DataRequirement.mustSupport", "short": "Indicates that specific structure elements are referenced by the knowledge module", "definition": "Indicates that specific elements of the type are referenced by the knowledge module and must be supported by the consumer in order to obtain an effective evaluation. This does not mean that a value is required for this element, only that the consuming system must understand the element and be able to provide values for it if they are available. Note that the value for this element can be a path to allow references to nested elements. In that case, all the elements along the path must be supported.", "min": 0, "max": "*", "base": { "path": "DataRequirement.mustSupport", "min": 0, "max": "*" }, "type": [ { "code": "string" } ], "isModifier": false, "isSummary": true }, { "id": "DataRequirement.codeFilter", "path": "DataRequirement.codeFilter", "short": "What codes are expected", "definition": "Code filters specify additional constraints on the data, specifying the value set of interest for a particular element of the data. Each code filter defines an additional constraint on the data, i.e. code filters are AND'ed, not OR'ed.", "min": 0, "max": "*", "base": { "path": "DataRequirement.codeFilter", "min": 0, "max": "*" }, "type": [ { "code": "Element" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() | (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isModifier": false, "isSummary": true }, { "id": "DataRequirement.codeFilter.id", "path": "DataRequirement.codeFilter.id", "representation": [ "xmlAttr" ], "short": "xml:id (or equivalent in JSON)", "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ], "isModifier": false, "isSummary": false, "mapping": [ { "identity": "rim", "map": "n/a" } ] }, { "id": "DataRequirement.codeFilter.extension", "path": "DataRequirement.codeFilter.extension", "slicing": { "discriminator": [ { "type": "value", "path": "url" } ], "description": "Extensions are always sliced by (at least) url", "rules": "open" }, "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", "user content" ], "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": false, "isSummary": false, "mapping": [ { "identity": "rim", "map": "n/a" } ] }, { "id": "DataRequirement.codeFilter.path", "path": "DataRequirement.codeFilter.path", "short": "The code-valued attribute of the filter", "definition": "The code-valued attribute of the filter. 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. The path must resolve to an element of type code, Coding, or CodeableConcept.", "comment": "The path attribute contains a [Simple FHIRPath Subset](fhirpath.html#simple) that allows path traversal, but not calculation.", "min": 1, "max": "1", "base": { "path": "DataRequirement.codeFilter.path", "min": 1, "max": "1" }, "type": [ { "code": "string" } ], "isModifier": false, "isSummary": true }, { "id": "DataRequirement.codeFilter.valueSet[x]", "path": "DataRequirement.codeFilter.valueSet[x]", "short": "Valueset for the filter", "definition": "The valueset for the code filter. The valueSet and code elements are additive. If valueSet is specified, the filter will return only those data items for which the value of the code-valued element specified in the path is a member of the specified valueset.", "min": 0, "max": "1", "base": { "path": "DataRequirement.codeFilter.valueSet[x]", "min": 0, "max": "1" }, "type": [ { "code": "uri" }, { "code": "canonical", "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/ValueSet" ] } ], "isModifier": false, "isSummary": true }, { "id": "DataRequirement.codeFilter.code", "path": "DataRequirement.codeFilter.code", "short": "What code is expected", "definition": "The codes for the code filter. If values are given, the filter will return only those data items for which the code-valued attribute specified by the path has a value that is one of the specified codes. If codes are specified in addition to a value set, the filter returns items matching a code in the value set or one of the specified codes.", "min": 0, "max": "*", "base": { "path": "DataRequirement.codeFilter.code", "min": 0, "max": "*" }, "type": [ { "code": "Coding" } ], "isModifier": false, "isSummary": true }, { "id": "DataRequirement.dateFilter", "path": "DataRequirement.dateFilter", "short": "What dates/date ranges are expected", "definition": "Date filters specify additional constraints on the data in terms of the applicable date range for specific elements. Each date filter specifies an additional constraint on the data, i.e. date filters are AND'ed, not OR'ed.", "min": 0, "max": "*", "base": { "path": "DataRequirement.dateFilter", "min": 0, "max": "*" }, "type": [ { "code": "Element" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() | (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isModifier": false, "isSummary": true }, { "id": "DataRequirement.dateFilter.id", "path": "DataRequirement.dateFilter.id", "representation": [ "xmlAttr" ], "short": "xml:id (or equivalent in JSON)", "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ], "isModifier": false, "isSummary": false, "mapping": [ { "identity": "rim", "map": "n/a" } ] }, { "id": "DataRequirement.dateFilter.extension", "path": "DataRequirement.dateFilter.extension", "slicing": { "discriminator": [ { "type": "value", "path": "url" } ], "description": "Extensions are always sliced by (at least) url", "rules": "open" }, "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", "user content" ], "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": false, "isSummary": false, "mapping": [ { "identity": "rim", "map": "n/a" } ] }, { "id": "DataRequirement.dateFilter.path", "path": "DataRequirement.dateFilter.path", "short": "The date-valued attribute of the filter", "definition": "The date-valued attribute of the filter. 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. The path must resolve to an element of type 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": 1, "max": "1", "base": { "path": "DataRequirement.dateFilter.path", "min": 1, "max": "1" }, "type": [ { "code": "string" } ], "isModifier": false, "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", "base": { "path": "DataRequirement.dateFilter.value[x]", "min": 0, "max": "1" }, "type": [ { "code": "dateTime" }, { "code": "Period" }, { "code": "Duration" } ], "isModifier": false, "isSummary": true }, { "id": "DataRequirement.limit", "path": "DataRequirement.limit", "short": "Number of results", "definition": "Specifies a maximum number of results that are required.", "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", "base": { "path": "DataRequirement.limit", "min": 0, "max": "1" }, "type": [ { "code": "positiveInt" } ], "isModifier": false, "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": "*", "base": { "path": "DataRequirement.sort", "min": 0, "max": "*" }, "type": [ { "code": "Element" } ], "constraint": [ { "key": "ele-1", "severity": "error", "human": "All FHIR elements must have a @value or children", "expression": "hasValue() | (children().count() > id.count())", "xpath": "@value|f:*|h:div", "source": "Element" } ], "isModifier": false, "isSummary": true }, { "id": "DataRequirement.sort.id", "path": "DataRequirement.sort.id", "representation": [ "xmlAttr" ], "short": "xml:id (or equivalent in JSON)", "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "min": 0, "max": "1", "base": { "path": "Element.id", "min": 0, "max": "1" }, "type": [ { "code": "string" } ], "isModifier": false, "isSummary": false, "mapping": [ { "identity": "rim", "map": "n/a" } ] }, { "id": "DataRequirement.sort.extension", "path": "DataRequirement.sort.extension", "slicing": { "discriminator": [ { "type": "value", "path": "url" } ], "description": "Extensions are always sliced by (at least) url", "rules": "open" }, "short": "Additional content defined by implementations", "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "alias": [ "extensions", "user content" ], "min": 0, "max": "*", "base": { "path": "Element.extension", "min": 0, "max": "*" }, "type": [ { "code": "Extension" } ], "isModifier": false, "isSummary": false, "mapping": [ { "identity": "rim", "map": "n/a" } ] }, { "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", "base": { "path": "DataRequirement.sort.path", "min": 1, "max": "1" }, "type": [ { "code": "string" } ], "isModifier": false, "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", "base": { "path": "DataRequirement.sort.direction", "min": 1, "max": "1" }, "type": [ { "code": "code" } ], "isModifier": false, "isSummary": true, "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "SortDirection" } ], "strength": "required", "description": "The possible sort directions, ascending or descending", "valueSetCanonical": "http://hl7.org/fhir/ValueSet/sort-direction" } } ] }, "differential": { "element": [ { "id": "DataRequirement", "path": "DataRequirement", "short": "Describes a required data item", "definition": "Describes a required data item for evaluation in terms of the type of data, and optional code or date-based filters of the data.", "min": 0, "max": "*" }, { "id": "DataRequirement.type", "path": "DataRequirement.type", "short": "The type of the required data", "definition": "The type of the required data, specified as the type name of a resource. For profiles, this value is set to the type of the base resource of the profile.", "min": 1, "max": "1", "type": [ { "code": "code" } ], "isSummary": true, "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "FHIRAllTypes" }, { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", "valueBoolean": true } ], "strength": "required", "description": "A list of all the concrete types defined in this version of the FHIR specification - Abstract Types, Data Types and Resource Types", "valueSetCanonical": "http://hl7.org/fhir/ValueSet/all-types" } }, { "id": "DataRequirement.profile", "path": "DataRequirement.profile", "short": "The profile of the required data", "definition": "The profile of the required data, specified as the uri of the profile definition.", "min": 0, "max": "*", "type": [ { "code": "canonical", "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/StructureDefinition" ] } ], "isSummary": true }, { "id": "DataRequirement.subject[x]", "path": "DataRequirement.subject[x]", "short": "E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device", "definition": "The intended subjects of the data requirement. If this element is not provided, a Patient subject is assumed.", "comment": "The subject of a data requirement is critical, as the data being specified is determined with respect to a particular subject. This corresponds roughly to the notion of a Compartment in that it limits what data is available based on its relationship to the subject. In CQL, this corresponds to the context declaration.", "min": 0, "max": "1", "type": [ { "code": "CodeableConcept" }, { "code": "Reference", "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Group" ] } ], "meaningWhenMissing": "Patient", "isSummary": true, "binding": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "SubjectType" } ], "strength": "extensible", "description": "The possible types of subjects for a data requirement (E.g., Patient, Practitioner, Organization, Location, etc.)", "valueSetCanonical": "http://hl7.org/fhir/ValueSet/subject-type" } }, { "id": "DataRequirement.mustSupport", "path": "DataRequirement.mustSupport", "short": "Indicates that specific structure elements are referenced by the knowledge module", "definition": "Indicates that specific elements of the type are referenced by the knowledge module and must be supported by the consumer in order to obtain an effective evaluation. This does not mean that a value is required for this element, only that the consuming system must understand the element and be able to provide values for it if they are available. Note that the value for this element can be a path to allow references to nested elements. In that case, all the elements along the path must be supported.", "min": 0, "max": "*", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "DataRequirement.codeFilter", "path": "DataRequirement.codeFilter", "short": "What codes are expected", "definition": "Code filters specify additional constraints on the data, specifying the value set of interest for a particular element of the data. Each code filter defines an additional constraint on the data, i.e. code filters are AND'ed, not OR'ed.", "min": 0, "max": "*", "type": [ { "code": "Element" } ], "isSummary": true }, { "id": "DataRequirement.codeFilter.path", "path": "DataRequirement.codeFilter.path", "short": "The code-valued attribute of the filter", "definition": "The code-valued attribute of the filter. 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. The path must resolve to an element of type code, Coding, or CodeableConcept.", "comment": "The path attribute contains a [Simple FHIRPath Subset](fhirpath.html#simple) that allows path traversal, but not calculation.", "min": 1, "max": "1", "type": [ { "code": "string" } ], "isSummary": true }, { "id": "DataRequirement.codeFilter.valueSet[x]", "path": "DataRequirement.codeFilter.valueSet[x]", "short": "Valueset for the filter", "definition": "The valueset for the code filter. The valueSet and code elements are additive. If valueSet is specified, the filter will return only those data items for which the value of the code-valued element specified in the path is a member of the specified valueset.", "min": 0, "max": "1", "type": [ { "code": "uri" }, { "code": "canonical", "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/ValueSet" ] } ], "isSummary": true }, { "id": "DataRequirement.codeFilter.code", "path": "DataRequirement.codeFilter.code", "short": "What code is expected", "definition": "The codes for the code filter. If values are given, the filter will return only those data items for which the code-valued attribute specified by the path has a value that is one of the specified codes. If codes are specified in addition to a value set, the filter returns items matching a code in the value set or one of the specified codes.", "min": 0, "max": "*", "type": [ { "code": "Coding" } ], "isSummary": true }, { "id": "DataRequirement.dateFilter", "path": "DataRequirement.dateFilter", "short": "What dates/date ranges are expected", "definition": "Date filters specify additional constraints on the data in terms of the applicable date range for specific elements. Each date filter specifies an additional constraint on the data, i.e. date filters are AND'ed, not OR'ed.", "min": 0, "max": "*", "type": [ { "code": "Element" } ], "isSummary": true }, { "id": "DataRequirement.dateFilter.path", "path": "DataRequirement.dateFilter.path", "short": "The date-valued attribute of the filter", "definition": "The date-valued attribute of the filter. 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. The path must resolve to an element of type 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": 1, "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.", "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", "valueSetCanonical": "http://hl7.org/fhir/ValueSet/sort-direction" } } ] } }
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.