HealthcareElement class

Available extensions

Constructors

HealthcareElement({String? id, List<Identifier> identifiers = const [], String? rev, int? created, int? modified, String? author, String? responsible, String? medicalLocationId, Set<CodingReference> labels = const {}, Set<CodingReference> codes = const {}, int? endOfLife, int? deletionDate, String? healthcareElementId, int? valueDate, int? openingDate, int? closingDate, String? description, String? note, SystemMetaDataEncrypted? systemMetaData})
Returns a new HealthcareElement instance.

Properties

author String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
closingDate int?
The date (unix epoch in ms) marking the end of the healthcare element.
getter/setter pair
codes Set<CodingReference>
getter/setter pair
created int?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
deletionDate int?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
description String?
Description of the healthcare element.
getter/setter pair
endOfLife int?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
healthcareElementId String?
The logical id of the healthcare element, used to link together different versions of the same healthcare element. We encourage using either a v4 UUID or a HL7 Id.
getter/setter pair
id String?
The Id of the healthcare element. We encourage using either a v4 UUID or a HL7 Id.
getter/setter pair
identifiers List<Identifier>
getter/setter pair
labels Set<CodingReference>
getter/setter pair
medicalLocationId String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
modified int?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
note String?
A text note (can be confidential, encrypted by default).
getter/setter pair
openingDate int?
The date (unix epoch in ms) of the start of the healthcare element.
getter/setter pair
responsible String?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
rev String?
The revision of the healthcare element in the database, used for conflict management / optimistic locking.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
systemMetaData SystemMetaDataEncrypted?
Please note: This property should have been non-nullable! Since the specification file does not include a default value (using the "default:" property), however, the generated source code must fall back to having a nullable type. Consider adding a "default:" property in the specification file to hide this note.
getter/setter pair
valueDate int?
The date (unix epoch in ms) when the healthcare element is noted to have started and also closes on the same date
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toHealthElementDto() → DecryptedHealthElementDto

Available on HealthcareElement, provided by the HealthcareElementMapper extension

toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Static Methods

fromJson(dynamic value) HealthcareElement?
Returns a new HealthcareElement instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<HealthcareElement>?
mapFromJson(dynamic json) Map<String, HealthcareElement>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<HealthcareElement>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.