ParameterDefinition class
ParameterDefinition The parameters to the module. This collection specifies both the input and output parameters. Input parameters are provided by the caller as part of the $evaluate operation. Output parameters are included in the GuidanceResponse.
- Annotations
-
- @freezed
Constructors
-
ParameterDefinition({@JsonKey(name: 'id') String? fhirId, @JsonKey(name: 'extension') List<
FhirExtension> ? extension_, FhirCode? name, @JsonKey(name: '_name') Element? nameElement, FhirCode? use, @JsonKey(name: '_use') Element? useElement, FhirInteger? min, @JsonKey(name: '_min') Element? minElement, String? max, @JsonKey(name: '_max') Element? maxElement, String? documentation, @JsonKey(name: '_documentation') Element? documentationElement, FhirCode? type, @JsonKey(name: '_type') Element? typeElement, FhirCanonical? profile}) -
ParameterDefinition The parameters to the module. This collection
specifies both the input and output parameters. Input parameters are
provided by the caller as part of the $evaluate operation. Output
parameters are included in the GuidanceResponse.
constfactory
-
ParameterDefinition.fromJson(Map<
String, dynamic> json) -
Factory constructor, accepts Map<String, dynamic> as an argument
factory
- ParameterDefinition.fromJsonString(String source)
-
Acts like a constructor, returns a ParameterDefinition, accepts a
String as an argument, mostly because I got tired of typing it out
factory
- ParameterDefinition.fromYaml(dynamic yaml)
-
Factory constructor that accepts a String in YAML format as an argument
factory
Properties
-
copyWith
→ $ParameterDefinitionCopyWith<
ParameterDefinition> -
no setterinherited
- documentation → String?
-
documentation A brief discussion of what the parameter is for and how
it is used by the module.
no setterinherited
- documentationElement → Element?
-
documentationElement ("_documentation") Extensions for documentation
no setterinherited
-
extension_
→ List<
FhirExtension> ? -
extension_ ("extension") 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 managable, 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.
no setterinherited
- fhirId → String?
-
id Unique id for the element within a resource (for internal
references). This may be any string value that does not contain spaces.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- max → String?
-
max The maximum number of times this element is permitted to appear
in the request or response.
no setterinherited
- maxElement → Element?
-
maxElement ("_max") Extensions for max
no setterinherited
- min → FhirInteger?
-
min The minimum number of times this parameter SHALL appear in the
request or response.
no setterinherited
- minElement → Element?
-
minElement ("_min") Extensions for min
no setterinherited
- name → FhirCode?
-
name The name of the parameter used to allow access to the value of
the parameter in evaluation contexts.
no setterinherited
- nameElement → Element?
-
nameElement ("_name") Extensions for name
no setterinherited
- profile → FhirCanonical?
-
profile If specified, this indicates a profile that the input data
must conform to, or that the output data will conform to.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → FhirCode?
-
type The type of the parameter.
no setterinherited
- typeElement → Element?
-
typeElement ("_type") Extensions for type
no setterinherited
- use → FhirCode?
-
use Whether the parameter is input or output for the module.
no setterinherited
- useElement → Element?
-
useElement ("_use") Extensions for use
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toJsonString(
) → String - Another convenience method because more and more I'm transmitting FHIR data as a String and not a Map
-
toString(
) → String -
A string representation of this object.
inherited
-
toYaml(
) → String - Produces a Yaml formatted String version of the object
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited