Identifier constructor

const Identifier({
  1. @JsonKey(name: 'id') String? fhirId,
  2. @JsonKey(name: 'extension') List<FhirExtension>? extension_,
  3. @JsonKey(unknownEnumValue: IdentifierUse.unknown) IdentifierUse? use,
  4. @JsonKey(name: '_use') Element? useElement,
  5. CodeableConcept? type,
  6. FhirUri? system,
  7. @JsonKey(name: '_system') Element? systemElement,
  8. String? value,
  9. @JsonKey(name: '_value') Element? valueElement,
  10. Period? period,
  11. Reference? assigner,
})

Identifier An identifier - identifies some entity uniquely and unambiguously. Typically this is used for business identifiers.

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.

use The purpose of this identifier.

useElement Extensions for use

type A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.

system Establishes the namespace for the value - that is, a URL that describes a set values that are unique.

systemElement Extensions for system

value The portion of the identifier typically relevant to the user and which is unique within the context of the system.

valueElement Extensions for value

period Time period during which identifier is/was valid for use.

assigner Organization that issued/manages the identifier.

Implementation

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

  /// [use] The purpose of this identifier.
  @JsonKey(unknownEnumValue: IdentifierUse.unknown) IdentifierUse? use,

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

  /// [type] A coded type for the identifier that can be used to determine
  ///  which identifier to use for a specific purpose.
  CodeableConcept? type,

  /// [system] Establishes the namespace for the value - that is, a URL that
  ///  describes a set values that are unique.
  FhirUri? system,

  /// [systemElement] Extensions for system
  @JsonKey(name: '_system') Element? systemElement,

  /// [value] The portion of the identifier typically relevant to the user and
  ///  which is unique within the context of the system.
  String? value,

  /// [valueElement] Extensions for value
  @JsonKey(name: '_value') Element? valueElement,

  /// [period] Time period during which identifier is/was valid for use.
  Period? period,

  /// [assigner] Organization that issued/manages the identifier.
  Reference? assigner,
}) = _Identifier;