Contributor constructor

const Contributor({
  1. @JsonKey(name: 'id') String? fhirId,
  2. @JsonKey(name: 'extension') List<FhirExtension>? extension_,
  3. @JsonKey(unknownEnumValue: ContributorType.unknown) ContributorType? type,
  4. @JsonKey(name: '_type') Element? typeElement,
  5. String? name,
  6. @JsonKey(name: '_name') Element? nameElement,
  7. List<ContactDetail>? contact,
})

Contributor A contributor to the content of a knowledge asset, including authors, editors, reviewers, and endorsers.

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.

type The type of contributor.

typeElement Extensions for type

name The name of the individual or organization responsible for the contribution.

nameElement Extensions for name

contact Contact details to assist a user in finding and communicating with the contributor.

Implementation

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

  /// [type] The type of contributor.
  @JsonKey(unknownEnumValue: ContributorType.unknown) ContributorType? type,

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

  /// [name] The name of the individual or organization responsible for the
  ///  contribution.
  String? name,

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

  /// [contact] Contact details to assist a user in finding and communicating
  ///  with the contributor.
  List<ContactDetail>? contact,
}) = _Contributor;