SubContactDto class

Constructors

SubContactDto({String? id, int? created, int? modified, String? author, String? responsible, String? medicalLocationId, Set<CodeStubDto> tags = const {}, Set<CodeStubDto> codes = const {}, int? endOfLife, String? descr, String? protocol, int? status, String? formId, String? planOfActionId, String? healthElementId, String? classificationId, List<ServiceLinkDto> services = const [], String? encryptedSelf})
Returns a new SubContactDto instance.

Properties

author String?
The id of the User that has created this entity, will be filled automatically if missing. Not enforced by the application server.
getter/setter pair
classificationId 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
codes Set<CodeStubDto>
A code is an item from a codification system that qualifies the content of this entity. SNOMED-CT, ICPC-2 or ICD-10 codifications systems can be used for codes
getter/setter pair
created int?
The timestamp (unix epoch in ms) of creation of this entity, will be filled automatically if missing. Not enforced by the application server.
getter/setter pair
descr String?
Description of the sub-contact
getter/setter pair
encryptedSelf String?
The base64 encoded data of this object, formatted as JSON and encrypted in AES using the random master key from encryptionKeys.
getter/setter pair
endOfLife int?
Soft delete (unix epoch in ms) timestamp of the object.
getter/setter pair
formId String?
Id of the form used in the sub-contact. Several sub-contacts with the same form ID can coexist as long as they are in different contacts or they relate to a different planOfActionID
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
healthElementId String?
Id of the healthcare element that is linked by the sub-contact to a service
getter/setter pair
id String?
The Id of the sub-contact. We encourage using either a v4 UUID or a HL7 Id.
getter/setter pair
medicalLocationId String?
The id of the medical location where this entity was created.
getter/setter pair
modified int?
The date (unix epoch in ms) of the latest modification of this entity, will be filled automatically if missing. Not enforced by the application server.
getter/setter pair
planOfActionId String?
Id of the plan of action (healthcare approach) that is linked by the sub-contact to a service.
getter/setter pair
protocol String?
Protocol based on which the sub-contact was used for linking services to structuring elements
getter/setter pair
responsible String?
The id of the HealthcareParty that is responsible for this entity, will be filled automatically if missing. Not enforced by the application server.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
services List<ServiceLinkDto>
List of all services provided to the patient under a given contact which is linked by this sub-contact to other structuring elements.
getter/setter pair
status 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
tags Set<CodeStubDto>
A tag is an item from a codification system that qualifies an entity as being member of a certain class, whatever the value it might have taken. If the tag qualifies the content of a field, it means that whatever the content of the field, the tag will always apply. For example, the label of a field is qualified using a tag. LOINC is a codification system typically used for tags.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
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) SubContactDto?
Returns a new SubContactDto instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<SubContactDto>?
mapFromJson(dynamic json) Map<String, SubContactDto>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<SubContactDto>>

Constants

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