(abstract) new VersionedEntityData(copyData)
Represents versioned based data
In SanteDB, certain objects are not actually updated or deleted, rather they are subsequent versions of the data appended to the previous. This class represents the base class of all objects which are versioned objects
Parameters:
Name | Type | Description |
---|---|---|
copyData |
VersionedEntityData | Copy constructor (if present) |
Properties:
Name | Type | Description |
---|---|---|
previousVersion |
string | Gets or sets the UUID of the previous version of this record |
version |
string | Gets or sets the UUID of the current version of this object |
sequence |
number | The sequence number of the version (for ordering) |
creationTimeModel |
Date | [Delay loaded from creationTime], Gets or sets the time at which the data was created |
creationTime |
Date | Gets or sets the creation time as an ISO date format |
obsoletionTimeModel |
Date | [Delay loaded from obsoletionTime], Gets or sets the time when the data is or will become invalid |
obsoletionTime |
Date | Gets or sets the time that the data is no longer valid (was deleted/obsoleted) in ISO format |
createdByModel |
SecurityProvenance | [Delay loaded from createdBy], Gets or sets the user that created this base data |
modifiedOn |
Date | Gets the time that the object was last modified (from base data, default to CreationTime) |
obsoletedByModel |
SecurityProvenance | [Delay loaded from obsoletedBy], Gets or sets the user that obsoleted this base data |
createdBy |
string | Gets or sets the security provenance object which represents the creation of this object |
obsoletedBy |
string | Gets or sets the security provenance object which represents the obsoletion of this data |
id |
string | Gets or sets the primary identifying UUID of this object |
operation |
BatchOperationType | Gets or sets the operation(see: BatchOperationType for values) |
$type |
string | Gets the type registration of this object |
- Source:
Extends
Members
createdBy :string
Gets or sets the security provenance object which represents the creation of this object
Type:
- string
- Overrides:
- Source:
createdByModel :SecurityProvenance
Type:
- Overrides:
- Source:
creationTime :Date
Gets or sets the creation time as an ISO date format
Type:
- Date
- Overrides:
- Source:
creationTimeModel :Date
Type:
- Date
- Overrides:
- Source:
id :string
Gets or sets the primary identifying UUID of this object
Type:
- string
- Overrides:
- Source:
modifiedOn :Date
Gets the time that the object was last modified (from base data, default to CreationTime)
Type:
- Date
- Overrides:
- Source:
obsoletedBy :string
Gets or sets the security provenance object which represents the obsoletion of this data
Type:
- string
- Overrides:
- Source:
obsoletedByModel :SecurityProvenance
Type:
- Overrides:
- Source:
obsoletionTime :Date
Gets or sets the time that the data is no longer valid (was deleted/obsoleted) in ISO format
Type:
- Date
- Overrides:
- Source:
obsoletionTimeModel :Date
Type:
- Date
- Overrides:
- Source:
operation :BatchOperationType
Gets or sets the operation
Type:
- Overrides:
- Source:
previousVersion :string
Gets or sets the UUID of the previous version of this record
Type:
- string
- Source:
sequence :number
The sequence number of the version (for ordering)
Type:
- number
- Source:
version :string
Gets or sets the UUID of the current version of this object
Type:
- string
- Source: