HumanName class
HumanName A name, normally of a human, that can be used for other living entities (e.g. animals but not organizations) that have been assigned names by a human and may need the use of name parts or the need for usage information.
- Implemented types
- Annotations
-
- @freezed
Constructors
-
HumanName.new({String? id, @JsonKey(name: 'extension') List<
FhirExtension> ? extension_, HumanNameUse? use, @JsonKey(name: '_use') PrimitiveElement? useElement, String? text, @JsonKey(name: '_text') PrimitiveElement? textElement, String? family, @JsonKey(name: '_family') PrimitiveElement? familyElement, List<String> ? given, @JsonKey(name: '_given') List<PrimitiveElement> ? givenElement, List<String> ? prefix, @JsonKey(name: '_prefix') List<PrimitiveElement> ? prefixElement, List<String> ? suffix, @JsonKey(name: '_suffix') List<PrimitiveElement> ? suffixElement, Period? period}) -
HumanName A name, normally of a human, that can be used for other living
entities (e.g. animals but not organizations) that have been assigned
names by a human and may need the use of name parts or the need for usage
information.
constfactory
-
HumanName.fromJson(Map<
String, dynamic> json) -
Factory constructor, accepts Map<String, dynamic> as an argument
factory
- HumanName.fromJsonString(String source)
-
Acts like a constructor, returns a HumanName, accepts a
String as an argument, mostly because I got tired of typing it out
factory
- HumanName.fromYaml(dynamic yaml)
-
Factory constructor that accepts a String in YAML format as an argument
factory
Properties
-
children
→ List<
FhirBase> -
no setterinherited
-
copyWith
→ $HumanNameCopyWith<
HumanName> -
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 - family → String?
-
family
The part of a name that links to the genealogy. In some cultures (e.g. Eritrea) the family name of a son is the first name of his father.no setterinherited - familyElement → PrimitiveElement?
-
familyElement
("_family") Extensions for familyno setterinherited - fhirType → String
-
no setteroverride
-
formatCommentsPost
→ List<
String> -
no setterinherited
-
formatCommentsPre
→ List<
String> -
no setterinherited
-
given
→ List<
String> ? -
given
Given name.no setterinherited -
givenElement
→ List<
PrimitiveElement> ? -
givenElement
("_given") Extensions for givenno setterinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- id → 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 - isPrimitive → bool
-
no setterinherited
-
namedChildren
→ Map<
String, FhirBase> -
no setterinherited
- period → Period?
-
period
Indicates the period of time when this name was valid for the named person.no setterinherited -
prefix
→ List<
String> ? -
prefix
Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the start of the name.no setterinherited -
prefixElement
→ List<
PrimitiveElement> ? -
prefixElement
("_prefix") Extensions for prefixno setterinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
suffix
→ List<
String> ? -
suffix
Part of the name that is acquired as a title due to academic, legal, employment or nobility status, etc. and that appears at the end of the name.no setterinherited -
suffixElement
→ List<
PrimitiveElement> ? -
suffixElement
("_suffix") Extensions for suffixno setterinherited - text → String?
-
text
Specifies the entire name as it should be displayed e.g. on an application UI. This may be provided instead of or as well as the specific parts.no setterinherited - textElement → PrimitiveElement?
-
textElement
("_text") Extensions for textno setterinherited - use → HumanNameUse?
-
use
Identifies the purpose for this name.no setterinherited - useElement → PrimitiveElement?
-
useElement
("_use") Extensions for useno setterinherited
Methods
-
addAnnotation(
dynamic annotation) → void -
inherited
-
addPropertyChangedListener(
String property, void listener()) → void -
inherited
-
annotations(
Type type) → Iterable -
inherited
-
clearUserData(
String name) → void -
inherited
-
clone(
) → FhirBase -
inherited
-
deepCopy(
) → FhirBase -
inherited
-
getUserData(
String name) → dynamic -
inherited
-
getUserInt(
String name) → int -
inherited
-
getUserString(
String name) → String? -
inherited
-
hasFormatComment(
) → bool -
inherited
-
hasUserData(
String name) → bool -
inherited
-
isEmpty(
) → bool -
inherited
-
isExactly(
FhirBase other) → bool -
inherited
-
matches(
FhirBase other) → bool -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyPropertyChanged(
String property) → void -
inherited
-
primitiveValue(
) → String? -
inherited
-
removeAnnotations(
Type type) → void -
inherited
-
removePropertyChangedListener(
String property, void listener()) → void -
inherited
-
setUserData(
String name, dynamic value) → void -
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toJsonString(
) → String -
override
-
toJsonWithType(
) → dynamic -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
toYaml(
) → String -
Returns a YAML representation of the FHIR primitive.
override
-
tryGetValue(
String key, dynamic value) → bool -
inherited
-
validate(
) → List< String> -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited