Identifier constructor

Identifier({
  1. @JsonKey.new(name: 'ID') String? id,
  2. @JsonKey.new(name: 'Use', unknownEnumValue: IdentifierUseEnum.official) IdentifierUseEnum? use,
  3. @JsonKey.new(name: 'Type') CodeableConcept? type,
  4. @JsonKey.new(name: 'System') String? system,
  5. @JsonKey.new(name: 'Value') String? value,
  6. @JsonKey.new(name: 'Period') Period? period,
  7. @JsonKey.new(name: 'Assigner') Reference? assigner,
})

Implementation

factory Identifier({
  @JsonKey(name: 'ID') String? id,

  /// The purpose of this identifier.
  @JsonKey(name: 'Use', unknownEnumValue: IdentifierUseEnum.official)
      IdentifierUseEnum? use,

  /// A coded type for the identifier that can be used to determine which
  ///  identifier to use for a specific purpose.
  @JsonKey(name: 'Type') CodeableConcept? type,

  /// Establishes the namespace for the value - that is, a URL that describes
  ///  a set values that are unique.
  @JsonKey(name: 'System') String? system,

  /// The portion of the identifier typically relevant to the user and which
  ///  is unique within the context of the system.
  @JsonKey(name: 'Value') String? value,
  @JsonKey(name: 'Period') Period? period,

  /// Organization that issued/manages the identifier.
  @JsonKey(name: 'Assigner') Reference? assigner,
}) = _Identifier;