Class: VersionedEntityData

(abstract) VersionedEntityData(copyData)

(abstract) new VersionedEntityData(copyData)

Represents versioned based data

In the SanteDB model, certain objects (like Concepts, Entities, and Acts) aren't ever updated or deleted. Rather, the updating or deletion of an object will result in a new version

The P:ObsoletionTime property is used to indicate the version of the object is obsolete, rather than the object itself. This means that a series of these VersionedEntityData`1 compose a single logical instance of the object.

The previous versions (representations of this object) can be retrieved using the P:PreviousVersion property

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 Int64 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 :Int64

The sequence number of the version (for ordering)

Type:
  • Int64
Source:

version :string

Gets or sets the UUID of the current version of this object

Type:
  • string
Source: