ParameterDefinition constructor

const ParameterDefinition({
  1. @JsonKey(name: 'id') String? fhirId,
  2. @JsonKey(name: 'extension') List<FhirExtension>? extension_,
  3. FhirCode? name,
  4. @JsonKey(name: '_name') Element? nameElement,
  5. FhirCode? use,
  6. @JsonKey(name: '_use') Element? useElement,
  7. FhirInteger? min,
  8. @JsonKey(name: '_min') Element? minElement,
  9. String? max,
  10. @JsonKey(name: '_max') Element? maxElement,
  11. String? documentation,
  12. @JsonKey(name: '_documentation') Element? documentationElement,
  13. FhirCode? type,
  14. @JsonKey(name: '_type') Element? typeElement,
  15. 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.

id Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

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.

name The name of the parameter used to allow access to the value of the parameter in evaluation contexts.

nameElement ("_name") Extensions for name

use Whether the parameter is input or output for the module.

useElement ("_use") Extensions for use

min The minimum number of times this parameter SHALL appear in the request or response.

minElement ("_min") Extensions for min

max The maximum number of times this element is permitted to appear in the request or response.

maxElement ("_max") Extensions for max

documentation A brief discussion of what the parameter is for and how it is used by the module.

documentationElement ("_documentation") Extensions for documentation

type The type of the parameter.

typeElement ("_type") Extensions for type

profile If specified, this indicates a profile that the input data must conform to, or that the output data will conform to.

Implementation

const factory ParameterDefinition({
  /// [id] Unique id for the element within a resource (for internal
  ///  references). This may be any string value that does not contain spaces.
  @JsonKey(name: 'id') String? fhirId,

  /// [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.
  @JsonKey(name: 'extension') List<FhirExtension>? extension_,

  /// [name] The name of the parameter used to allow access to the value of
  ///  the parameter in evaluation contexts.
  FhirCode? name,

  /// [nameElement] ("_name") Extensions for name
  @JsonKey(name: '_name') Element? nameElement,

  /// [use] Whether the parameter is input or output for the module.
  FhirCode? use,

  /// [useElement] ("_use") Extensions for use
  @JsonKey(name: '_use') Element? useElement,

  /// [min] The minimum number of times this parameter SHALL appear in the
  ///  request or response.
  FhirInteger? min,

  /// [minElement] ("_min") Extensions for min
  @JsonKey(name: '_min') Element? minElement,

  /// [max] The maximum number of times this element is permitted to appear
  ///  in the request or response.
  String? max,

  /// [maxElement] ("_max") Extensions for max
  @JsonKey(name: '_max') Element? maxElement,

  /// [documentation] A brief discussion of what the parameter is for and how
  ///  it is used by the module.
  String? documentation,

  /// [documentationElement] ("_documentation") Extensions for documentation
  @JsonKey(name: '_documentation') Element? documentationElement,

  /// [type] The type of the parameter.
  FhirCode? type,

  /// [typeElement] ("_type") Extensions for type
  @JsonKey(name: '_type') Element? typeElement,

  /// [profile] If specified, this indicates a profile that the input data
  ///  must conform to, or that the output data will conform to.
  FhirCanonical? profile,
}) = _ParameterDefinition;