type: datatypedatatype: DataRequirement
DataRequirement
Elements
- DataRequirement.type [1..1]: code 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
- DataRequirement.profile [0..*]: canonical(StructureDefinition) The profile of the required data, specified as the uri of the profile definition
- DataRequirement.subject[x] [0..1]: CodeableConcept | Reference(Group) The intended subjects of the data requirement. If this element is not provided, a Patient subject is assumed
- DataRequirement.mustSupport [0..*]: string 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. The value of mustSupport SHALL be a FHIRPath resolvable on the type of the DataRequirement. The path SHALL consist only of identifiers, constant indexers, and .resolve() (see the Simple FHIRPath Profile for full details)
- DataRequirement.codeFilter [0..*]: - 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
- DataRequirement.dateFilter [0..*]: - 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
- DataRequirement.valueFilter [0..*]: - Value filters specify additional constraints on the data for elements other than code-valued or date-valued. Each value filter specifies an additional constraint on the data (i.e. valueFilters are AND'ed, not OR'ed).
- DataRequirement.limit [0..1]: positiveInt Specifies a maximum number of results that are required (uses the _count search parameter)
- DataRequirement.sort [0..*]: - Specifies the order of the results to be returned
Bindings
- DataRequirement.type:
FHIRTypes - DataRequirement.subject[x]:
SubjectType| strength: value set | reference: http://hl7.org/fhir/ValueSet/participant-resource-types
Requirements
- DataRequirement.limit: Enables the requirement "most recent 5 results" to be expressed
- DataRequirement.sort: Enables the requirement "most recent 5 results" to be expressed
Comments
- DataRequirement.subject[x]: 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
- DataRequirement.limit: 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"
- DataRequirement.sort: 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
Order and Missing Meaning
- DataRequirement.subject[x]: Missing: Patient