ContactPoint constructor

const ContactPoint({
  1. @JsonKey(name: 'id') String? fhirId,
  2. @JsonKey(name: 'extension') List<FhirExtension>? extension_,
  3. @JsonKey(unknownEnumValue: ContactPointSystem.unknown) ContactPointSystem? system,
  4. @JsonKey(name: '_system') Element? systemElement,
  5. String? value,
  6. @JsonKey(name: '_value') Element? valueElement,
  7. @JsonKey(unknownEnumValue: ContactPointUse.unknown) ContactPointUse? use,
  8. @JsonKey(name: '_use') Element? useElement,
  9. FhirPositiveInt? rank,
  10. @JsonKey(name: '_rank') Element? rankElement,
  11. Period? period,
})

ContactPoint Details for all kinds of technology mediated contact points for a person or organization, including telephone, email, etc.

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.

system Telecommunications form for contact point - what communications system is required to make use of the contact.

systemElement Extensions for system

value The actual contact point details, in a form that is meaningful to the designated communication system (i.e. phone number or email address).

valueElement Extensions for value

use Identifies the purpose for the contact point.

useElement Extensions for use

rank Specifies a preferred order in which to use a set of contacts. ContactPoints with lower rank values are more preferred than those with higher rank values.

rankElement Extensions for rank

period Time period when the contact point was/is in use.

Implementation

const factory ContactPoint({
  /// [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_,
  @JsonKey(unknownEnumValue: ContactPointSystem.unknown)

  /// [system] Telecommunications form for contact point - what communications
  ///  system is required to make use of the contact.
  ContactPointSystem? system,

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

  /// [value] The actual contact point details, in a form that is meaningful to
  ///  the designated communication system (i.e. phone number or email address).
  String? value,

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

  /// [use] Identifies the purpose for the contact point.
  @JsonKey(unknownEnumValue: ContactPointUse.unknown) ContactPointUse? use,

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

  /// [rank] Specifies a preferred order in which to use a set of contacts.
  /// ContactPoints with lower rank values are more preferred than those with
  ///  higher rank values.
  FhirPositiveInt? rank,

  /// [rankElement] Extensions for rank
  @JsonKey(name: '_rank') Element? rankElement,

  /// [period] Time period when the contact point was/is in use.
  Period? period,
}) = _ContactPoint;