PatientContact class
PatientContact Demographics and other administrative information about an individual or animal receiving care or other health-related services.
- Annotations
-
- @freezed
Constructors
-
PatientContact({@JsonKey(name: 'id') String? fhirId, @JsonKey(name: 'extension') List<
FhirExtension> ? extension_, List<FhirExtension> ? modifierExtension, List<CodeableConcept> ? relationship, HumanName? name, List<ContactPoint> ? telecom, Address? address, FhirCode? gender, @JsonKey(name: '_gender') Element? genderElement, Reference? organization, Period? period}) -
PatientContact Demographics and other administrative information about
an individual or animal receiving care or other health-related services.
constfactory
-
PatientContact.fromJson(Map<
String, dynamic> json) -
Factory constructor, accepts Map<String, dynamic> as an argument
factory
- PatientContact.fromJsonString(String source)
-
Acts like a constructor, returns a PatientContact, accepts a
String as an argument, mostly because I got tired of typing it out
factory
- PatientContact.fromYaml(dynamic yaml)
-
Factory constructor that accepts a String in YAML format as an argument
factory
Properties
- address → Address?
-
address Address for the contact person.
no setterinherited
-
copyWith
→ $PatientContactCopyWith<
PatientContact> -
no setterinherited
-
extension_
→ List<
FhirExtension> ? -
extension_ ("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 managable, 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.
no setterinherited
- fhirId → String?
-
id Unique id for the element within a resource (for internal
references). This may be any string value that does not contain spaces.
no setterinherited
- gender → FhirCode?
-
gender Administrative Gender - the gender that the contact person is
considered to have for administration and record keeping purposes.
no setterinherited
- genderElement → Element?
-
genderElement ("_gender") Extensions for gender
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
modifierExtension
→ List<
FhirExtension> ? -
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 managable, 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).
no setterinherited
- name → HumanName?
-
name A name associated with the contact person.
no setterinherited
- organization → Reference?
-
organization Organization on behalf of which the contact is acting or
for which the contact is working.
no setterinherited
- period → Period?
-
period The period during which this contact person or organization is
valid to be contacted relating to this patient.
no setterinherited
-
relationship
→ List<
CodeableConcept> ? -
relationship The nature of the relationship between the patient and
the contact person.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
telecom
→ List<
ContactPoint> ? -
telecom A contact detail for the person, e.g. a telephone number or
an email address.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toJsonString(
) → String - Another convenience method because more and more I'm transmitting FHIR data as a String and not a Map
-
toString(
) → String -
A string representation of this object.
inherited
-
toYaml(
) → String - Produces a Yaml formatted String version of the object
-
updateAddressCity(
String city) → PatientContact -
updateAddressCountry(
String country) → PatientContact -
updateAddressDistrict(
String district) → PatientContact -
updateAddressLine(
List< String> line) → PatientContact -
updateAddressPeriod(
Period period) → PatientContact -
updateAddressPostalCode(
String postalCode) → PatientContact -
updateAddressState(
String state) → PatientContact -
updateAddressText(
String text) → PatientContact -
updateAddressType(
AddressType type) → PatientContact -
updateAddressUse(
AddressUse use) → PatientContact -
updateContactPointPeriod(
Period period, [int index = 0]) → PatientContact -
updateContactPointRank(
FhirPositiveInt rank, [int index = 0]) → PatientContact -
updateContactPointSystem(
ContactPointSystem system, [int index = 0]) → PatientContact -
updateContactPointUse(
ContactPointUse use, [int index = 0]) → PatientContact -
updateContactPointValue(
String value, [int index = 0]) → PatientContact -
updateHumanNameFamily(
String family) → PatientContact -
updateHumanNameGiven(
List< String> given) → PatientContact -
updateHumanNamePeriod(
Period period) → PatientContact -
updateHumanNamePrefix(
List< String> prefix) → PatientContact -
updateHumanNameSuffix(
List< String> suffix) → PatientContact -
updateHumanNameText(
String text) → PatientContact -
updateHumanNameUse(
HumanNameUse use) → PatientContact
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited