PatientContact constructor

const PatientContact({
  1. @JsonKey(name: 'id') String? fhirId,
  2. @JsonKey(name: 'extension') List<FhirExtension>? extension_,
  3. List<FhirExtension>? modifierExtension,
  4. List<CodeableConcept>? relationship,
  5. HumanName? name,
  6. List<ContactPoint>? telecom,
  7. Address? address,
  8. FhirCode? gender,
  9. @JsonKey(name: '_gender') Element? genderElement,
  10. Reference? organization,
  11. Period? period,
})

PatientContact Demographics and other administrative information about an individual or animal receiving care or other health-related services.

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.

modifierExtension May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. 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. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

relationship The nature of the relationship between the patient and the contact person.

name A name associated with the contact person.

telecom A contact detail for the person, e.g. a telephone number or an email address.

address Address for the contact person.

gender Administrative Gender - the gender that the contact person is considered to have for administration and record keeping purposes.

genderElement Extensions for gender

organization Organization on behalf of which the contact is acting or for which the contact is working.

period The period during which this contact person or organization is valid to be contacted relating to this patient.

Implementation

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

  /// [modifierExtension] May be used to represent additional information that
  /// is not part of the basic definition of the element and that modifies the
  /// understanding of the element in which it is contained and/or the
  /// understanding of the containing element's descendants. Usually modifier
  /// elements provide negation or qualification. 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. Applications processing a resource are
  ///  required to check for modifier extensions.
  /// Modifier extensions SHALL NOT change the meaning of any elements on
  /// Resource or DomainResource (including cannot change the meaning of
  ///  modifierExtension itself).
  List<FhirExtension>? modifierExtension,

  /// [relationship] The nature of the relationship between the patient and the
  ///  contact person.
  List<CodeableConcept>? relationship,

  /// [name] A name associated with the contact person.
  HumanName? name,

  /// [telecom] A contact detail for the person, e.g. a telephone number or an
  ///  email address.
  List<ContactPoint>? telecom,

  /// [address] Address for the contact person.
  Address? address,

  /// [gender] Administrative Gender - the gender that the contact person is
  ///  considered to have for administration and record keeping purposes.
  FhirCode? gender,

  /// [genderElement] Extensions for gender
  @JsonKey(name: '_gender') Element? genderElement,

  /// [organization] Organization on behalf of which the contact is acting or
  ///  for which the contact is working.
  Reference? organization,

  /// [period] The period during which this contact person or organization is
  ///  valid to be contacted relating to this patient.
  Period? period,
}) = _PatientContact;