DecryptedServiceDto class

Constructors

DecryptedServiceDto({required String id, String? transactionId, List<IdentifierDto> identifier = const [], String? contactId, Set<String> subContactIds = const {}, Set<String> plansOfActionIds = const {}, Set<String> healthElementsIds = const {}, Set<String> formIds = const {}, Set<String> secretForeignKeys = const {}, Map<String, Set<DelegationDto>> cryptedForeignKeys = const {}, Map<String, Set<DelegationDto>> delegations = const {}, Map<String, Set<DelegationDto>> encryptionKeys = const {}, String? label, int? index, Map<String, DecryptedContentDto> content = const {}, String? encryptedContent, Map<String, String> textIndexes = const {}, int? valueDate, int? openingDate, int? closingDate, String? formId, int? created, int? modified, int? endOfLife, String? author, String? responsible, String? medicalLocationId, String? comment, int? status, Set<String> invoicingCodes = const {}, List<AnnotationDto> notes = const [], Map<String, Map<String, String>> qualifiedLinks = const {}, Set<CodeStubDto> codes = const {}, Set<CodeStubDto> tags = const {}, String? encryptedSelf})
Returns a new DecryptedServiceDto 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
closingDate int?
The date (YYYYMMDDhhmmss) marking the end of the Service
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
comment String?
Text, comments on the Service provided
getter/setter pair
contactId String?
Id of the contact during which the service is provided
getter/setter pair
content Map<String, DecryptedContentDto>
Information contained in the service. Content is localized, using ISO language code as key
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
cryptedForeignKeys Map<String, Set<DelegationDto>>
The public patient key, encrypted here for separate Crypto Actors.
getter/setter pair
delegations Map<String, Set<DelegationDto>>
The delegations giving access to connected healthcare information.
getter/setter pair
encryptedContent 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
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
encryptionKeys Map<String, Set<DelegationDto>>
The contact secret encryption key used to encrypt the secured properties (like services for example), encrypted for separate Crypto Actors.
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 during the Service
getter/setter pair
formIds Set<String>
List of Ids of all forms linked to the Service. Only used when the Service is emitted outside of its contact.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
healthElementsIds Set<String>
List of IDs of all healthcare elements for which the service is provided. Only used when the Service is emitted outside of its contact
getter/setter pair
id String
The Id of the Service. We encourage using either a v4 UUID or a HL7 Id.
getter/setter pair
identifier List<IdentifierDto>
getter/setter pair
index int?
Used for sorting services inside an upper object (A contact, a transaction, a FHIR bundle, ...)
getter/setter pair
invoicingCodes Set<String>
List of invoicing codes
getter/setter pair
label String?
Description / Unambiguous qualification (LOINC code) of the type of information contained in the service. Could be a code to qualify temperature, complaint, diagnostic, ...
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
notes List<AnnotationDto>
Comments - Notes recorded by a HCP about this service
getter/setter pair
openingDate int?
The date (YYYYMMDDhhmmss) of the start of the Service
getter/setter pair
plansOfActionIds Set<String>
List of IDs of all plans of actions (healthcare approaches) as a part of which the Service is provided. Only used when the Service is emitted outside of its contact
getter/setter pair
Links towards related services (possibly in other contacts)
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
secretForeignKeys Set<String>
The secret patient key, encrypted in the patient document, in clear here.
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
subContactIds Set<String>
List of IDs of all sub-contacts that link the service to structural elements. Only used when the Service is emitted outside of its contact
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
textIndexes Map<String, String>
getter/setter pair
transactionId String?
The transactionId is used when a single service had to be split into parts for technical reasons. Several services with the same non null transaction id form one single service
getter/setter pair
valueDate int?
The date (YYYYMMDDhhmmss) when the Service 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
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) DecryptedServiceDto?
Returns a new DecryptedServiceDto instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<DecryptedServiceDto>?
mapFromJson(dynamic json) Map<String, DecryptedServiceDto>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<DecryptedServiceDto>>

Constants

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