OperationDefinitionParameter constructor

const OperationDefinitionParameter({
  1. @JsonKey(name: 'id') FhirId? fhirId,
  2. @JsonKey(name: 'extension') List<FhirExtension>? extension_,
  3. List<FhirExtension>? modifierExtension,
  4. FhirCode? name,
  5. @JsonKey(name: '_name') Element? nameElement,
  6. FhirCode? use,
  7. @JsonKey(name: '_use') Element? useElement,
  8. FhirInteger? min,
  9. @JsonKey(name: '_min') Element? minElement,
  10. String? max,
  11. @JsonKey(name: '_max') Element? maxElement,
  12. String? documentation,
  13. @JsonKey(name: '_documentation') Element? documentationElement,
  14. FhirCode? type,
  15. @JsonKey(name: '_type') Element? typeElement,
  16. List<FhirCanonical>? targetProfile,
  17. FhirCode? searchType,
  18. @JsonKey(name: '_searchType') Element? searchTypeElement,
  19. OperationDefinitionBinding? binding,
  20. List<OperationDefinitionReferencedFrom>? referencedFrom,
  21. @JsonKey(name: 'part') List<OperationDefinitionParameter>? part_,
})

OperationDefinitionParameter A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction).

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

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

modifierExtension May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

name The name of used to identify the parameter.

nameElement Extensions for name

use Whether this is an input or an output parameter.

useElement Extensions for use

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

minElement Extensions for min

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

maxElement Extensions for max

documentation Describes the meaning or use of this parameter.

documentationElement Extensions for documentation

type The type for this parameter.

typeElement Extensions for type

targetProfile Used when the type is "Reference" or "canonical", and identifies a profile structure or implementation Guide that applies to the target of the reference this parameter refers to. If any profiles are specified, then the content must conform to at least one of them. The URL can be a local reference - to a contained StructureDefinition, or a reference to another StructureDefinition or Implementation Guide by a canonical URL. When an implementation guide is specified, the target resource SHALL conform to at least one profile defined in the implementation guide.

searchType How the parameter is understood as a search parameter. This is only used if the parameter type is 'string'.

searchTypeElement Extensions for searchType

binding Binds to a value set if this parameter is coded (code, Coding, CodeableConcept).

referencedFrom Identifies other resource parameters within the operation invocation that are expected to resolve to this resource.

part The parts of a nested Parameter.

Implementation

const factory OperationDefinitionParameter({
  /// [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') FhirId? fhirId,

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

  /// [modifierExtension] May be used to represent additional information that
  /// is not part of the basic definition of the element and that modifies the
  /// understanding of the element in which it is contained and/or the
  /// understanding of the containing element's descendants. Usually modifier
  /// elements provide negation or qualification. 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. Applications processing a resource are
  ///  required to check for modifier extensions.
  /// Modifier extensions SHALL NOT change the meaning of any elements on
  /// Resource or DomainResource (including cannot change the meaning of
  ///  modifierExtension itself).
  List<FhirExtension>? modifierExtension,

  /// [name] The name of used to identify the parameter.
  FhirCode? name,

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

  /// [use] Whether this is an input or an output parameter.
  FhirCode? use,

  /// [useElement] 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] 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] Extensions for max
  @JsonKey(name: '_max') Element? maxElement,

  /// [documentation] Describes the meaning or use of this parameter.
  String? documentation,

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

  /// [type] The type for this parameter.
  FhirCode? type,

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

  /// [targetProfile] Used when the type is "Reference" or "canonical", and
  /// identifies a profile structure or implementation Guide that applies to the
  /// target of the reference this parameter refers to. If any profiles are
  /// specified, then the content must conform to at least one of them. The URL
  /// can be a local reference - to a contained StructureDefinition, or a
  /// reference to another StructureDefinition or Implementation Guide by a
  /// canonical URL. When an implementation guide is specified, the target
  /// resource SHALL conform to at least one profile defined in the
  ///  implementation guide.
  List<FhirCanonical>? targetProfile,

  /// [searchType] How the parameter is understood as a search parameter. This
  ///  is only used if the parameter type is 'string'.
  FhirCode? searchType,

  /// [searchTypeElement] Extensions for searchType
  @JsonKey(name: '_searchType') Element? searchTypeElement,

  /// [binding] Binds to a value set if this parameter is coded (code, Coding,
  ///  CodeableConcept).
  OperationDefinitionBinding? binding,

  /// [referencedFrom] Identifies other resource parameters within the
  ///  operation invocation that are expected to resolve to this resource.
  List<OperationDefinitionReferencedFrom>? referencedFrom,

  /// [part] The parts of a nested Parameter.
  @JsonKey(name: 'part') List<OperationDefinitionParameter>? part_,
}) = _OperationDefinitionParameter;