DataRequirementCodeFilter class

DataRequirementCodeFilter 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.

Inheritance
Available extensions

Constructors

DataRequirementCodeFilter({FhirString? id, List<FhirExtension>? extension_, FhirString? path, FhirString? searchParam, FhirCanonical? valueSet, List<Coding>? code, bool? disallowExtensions = false})
Primary constructor for DataRequirementCodeFilter
const
DataRequirementCodeFilter.fromJson(Map<String, dynamic> json)
Factory constructor that accepts Map<String, dynamic> as an argument
factory
DataRequirementCodeFilter.fromJsonString(String source)
Factory constructor for DataRequirementCodeFilter that takes in a String Convenience method to avoid the json Encoding/Decoding normally required to get data from a String
factory
DataRequirementCodeFilter.fromYaml(dynamic yaml)
Deserialize DataRequirementCodeFilter from a String or YamlMap object
factory

Properties

code List<Coding>?
code 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.
final
copyWith $DataRequirementCodeFilterCopyWith<DataRequirementCodeFilter>
Copy function for DataRequirementCodeFilter Returns a copy of the current instance with the provided fields modified. If a field is not provided, it will retain its original value. If a null is provided, this will clearn the field, unless the field is required, in which case it will keep its current value.
no setteroverride
copyWith $DataRequirementCodeFilterCopyWith<DataRequirementCodeFilter>

Available on DataRequirementCodeFilter, provided by the DataRequirementCodeFilterCopyWithExtension extension

no setter
disallowExtensions bool?
This is used in the FHIRPath engine to record that no extensions are allowed for this item in the context in which it is used. to do: enforce this....
finalinherited
extension_ List<FhirExtension>?
List of extensions for additional information.
finalinherited
fhirType String
Returns the FHIR type of the object.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
hasId bool
Getter for checking if the element has an id.
no setterinherited
hasPrimitiveValue bool
Checks if the object has a primitive value.
no setterinherited
id FhirString?
Unique id for the element within a resource.
finalinherited
isMetadataBased bool
All Elements are metadata based.
no setterinherited
isPrimitive bool
Checks if the object is primitive.
no setterinherited
path FhirString?
path The code-valued attribute of the filter. The specified path SHALL be a FHIRPath resolvable on the specified type of the DataRequirement, and SHALL consist only of identifiers, constant indexers, and .resolve(). The path is allowed to contain qualifiers (.) to traverse sub-elements, as well as indexers (x) to traverse multiple-cardinality sub-elements (see the Simple FHIRPath Profile for full details). Note that the index must be an integer constant. The path must resolve to an element of type code, Coding, or CodeableConcept.
final
primitiveValue String?
Retrieves the primitive value of the object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
searchParam FhirString?
searchParam A token parameter that refers to a search parameter defined on the specified type of the DataRequirement, and which searches on elements of type code, Coding, or CodeableConcept.
final
valueSet FhirCanonical?
valueSet 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.
final

Methods

addExtension(FhirExtension ext) → void
Method to add an extension.
inherited
clone() DataRequirementCodeFilter
Subclasses must implement the clone method.
override
compareDeepStrings(String? s1, String? s2, bool allowNull) bool
Checks if the object is equal to another object.
inherited
equalsDeep(FhirBase? o) bool
Performs a deep comparison between two instances.
override
equalsShallow(Element other) bool
Method to compare shallow equality of two elements.
inherited
getChildByName(String name) FhirBase?
Retrieves a single field value by its name.
override
getChildrenByName(String fieldName, [bool checkValid = false]) List<FhirBase>
Retrieves all matching child fields by name. Optionally validates the name.
override
getExtensionFirstRep() FhirExtension
Getter for the first extension.
inherited
getExtensionsByUrl(String url) List<FhirExtension>
Getter for the first extension by url.
inherited
hasExtension() bool
Extension handling methods.
inherited
hasExtensionByUrl(String url) bool
Method to check if an extension exists by url.
inherited
hasType(List<String> names) bool
Checks if the object has a given type.
inherited
hasValues() bool
Checks if the object has values.
inherited
isAs<T extends FhirBase>() → T?
Returns an Object cast as a Type if it is that type.
inherited
isEmpty() bool
Checks if the object is empty.
inherited
listChildrenNames() List<String>
Lists the JSON keys for the object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prettyPrint() String
Converts the object to a pretty JSON string.
inherited
removeExtension(String url) → void
Method to remove an extension by url.
inherited
toJson() Map<String, dynamic>
Converts the object to a JSON representation.
override
toJsonString() String
Converts the object to a JSON string.
inherited
toString() String
A string representation of this object.
inherited
toYaml() String
Converts the object to a YAML string.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited