Class ApplicationScript
Presents the application script information in the system.
The location of the script file is not stored in the system.
Implements
Inherited Members
Namespace: VMS.TPS.Common.Model.API
Assembly: VMS.TPS.Common.Model.API.dll
Syntax
public class ApplicationScript : ApiDataObject, IXmlSerializable
Properties
ApprovalStatus
The status of the script.
Declaration
public ApplicationScriptApprovalStatus ApprovalStatus { get; }
Property Value
Type | Description |
---|---|
ApplicationScriptApprovalStatus |
ApprovalStatusDisplayText
The display text of the approval status.
Declaration
public string ApprovalStatusDisplayText { get; }
Property Value
Type | Description |
---|---|
System.String |
AssemblyName
The full name of the script assembly.
Declaration
public AssemblyName AssemblyName { get; }
Property Value
Type | Description |
---|---|
System.Reflection.AssemblyName |
ExpirationDate
An optional expiration date of the script. The script cannot be executed after expiration date. The date is presented in UTC.
Declaration
public DateTime? ExpirationDate { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
IsReadOnlyScript
Returns true if the script is intended only to read patient data.
Declaration
public bool IsReadOnlyScript { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsWriteableScript
Returns true if the script is intended to modify persistent data.
Declaration
public bool IsWriteableScript { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
PublisherName
The name of the organization or author that created the script. This is a free text that can be set by the approver.
Declaration
public string PublisherName { get; }
Property Value
Type | Description |
---|---|
System.String |
ScriptType
The type of the application script.
Declaration
public ApplicationScriptType ScriptType { get; }
Property Value
Type | Description |
---|---|
ApplicationScriptType |
StatusDate
A timestamp of the last approval status modification.
Declaration
public DateTime? StatusDate { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> |
StatusUserIdentity
The identity of the user who last modified the approval status.
Declaration
public UserIdentity StatusUserIdentity { get; }
Property Value
Type | Description |
---|---|
UserIdentity |
Methods
WriteXml(XmlWriter)
Converts an object into its XML representation. For more information on how to serialize an object into an XML document, see System.Xml.Serialization.XmlSerializer.
Declaration
public override void WriteXml(XmlWriter writer)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlWriter | writer | The System.Xml.XmlWriter stream, to which the object is serialized. |