FhirExpression constructor

const FhirExpression({
  1. @JsonKey(name: 'id') String? fhirId,
  2. @JsonKey(name: 'extension') List<FhirExtension>? extension_,
  3. String? description,
  4. @JsonKey(name: '_description') Element? descriptionElement,
  5. FhirCode? name,
  6. @JsonKey(name: '_name') Element? nameElement,
  7. FhirCode? language,
  8. @JsonKey(name: '_language') Element? languageElement,
  9. String? expression,
  10. @JsonKey(name: '_expression') Element? expressionElement,
  11. FhirUri? reference,
  12. @JsonKey(name: '_reference') Element? referenceElement,
})

FhirExpression A expression that is evaluated in a specified context and returns a value. The context of use of the expression must specify the context in which the expression is evaluated, and how the result of the expression is used.

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.

description A brief, natural language description of the condition that effectively communicates the intended semantics.

descriptionElement ("_description") Extensions for description

name A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.

nameElement ("_name") Extensions for name

language The media type of the language for the expression.

languageElement ("_language") Extensions for language

expression An expression in the specified language that returns a value.

expressionElement ("_expression") Extensions for expression

reference A URI that defines where the expression is found.

referenceElement ("_reference") Extensions for reference

Implementation

const factory FhirExpression({
  /// [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_,

  /// [description] A brief, natural language description of the condition
  ///  that effectively communicates the intended semantics.
  String? description,

  /// [descriptionElement] ("_description") Extensions for description
  @JsonKey(name: '_description') Element? descriptionElement,

  /// [name] A short name assigned to the expression to allow for multiple
  ///  reuse of the expression in the context where it is defined.
  FhirCode? name,

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

  /// [language] The media type of the language for the expression.
  FhirCode? language,

  /// [languageElement] ("_language") Extensions for language
  @JsonKey(name: '_language') Element? languageElement,

  /// [expression] An expression in the specified language that returns a
  ///  value.
  String? expression,

  /// [expressionElement] ("_expression") Extensions for expression
  @JsonKey(name: '_expression') Element? expressionElement,

  /// [reference] A URI that defines where the expression is found.
  FhirUri? reference,

  /// [referenceElement] ("_reference") Extensions for reference
  @JsonKey(name: '_reference') Element? referenceElement,
}) = _FhirExpression;