Class GenerationInstructionCoding
Instructions for recodes, derivations from multiple question or variable sources, and derivations based on external sources. Instructions should be listed separately so they can be referenced by variables in the logical product.
Inheritance
Inherited Members
Namespace: Algenta.Colectica.Model.Ddi
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class GenerationInstructionCoding : VersionableBase, IVersionable, IIdentifiable, IVisitable, IHasCustomFields
Constructors
GenerationInstructionCoding()
Initializes a new instance of the GenerationInstructionCoding class.
Declaration
public GenerationInstructionCoding()
Properties
Aggregation
Gets or sets the method used to aggregate several variables.
Declaration
public Aggregation Aggregation { get; set; }
Property Value
| Type | Description |
|---|---|
| Aggregation |
Attachments
Gets a collection of file URIs stored in the File Storage Service attached to this item.
Declaration
public override ObservableCollection<Attachment> Attachments { get; }
Property Value
| Type | Description |
|---|---|
| ObservableCollection<Attachment> |
Overrides
AttachmentTypeExternalInformation
AttachmentType for an ExternalInformation
Declaration
public static string AttachmentTypeExternalInformation { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Command
A machine-actionable command for processing the coding process.
Declaration
public SourceCodeCollection Command { get; set; }
Property Value
| Type | Description |
|---|---|
| SourceCodeCollection |
Description
A human-readable description of the instruction.
Declaration
public MultilingualString Description { get; }
Property Value
| Type | Description |
|---|---|
| MultilingualString |
ExternalInformation
Reference to an external source of information used in the coding process, for example a value from a chart, etc.
Declaration
public ObservableCollection<OtherMaterial> ExternalInformation { get; }
Property Value
| Type | Description |
|---|---|
| ObservableCollection<OtherMaterial> |
IsDerivation
Indicates whether the instruction describes a derivation. When false, the instruction represents a simple recode.
Declaration
public bool IsDerivation { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
ItemType
Gets the universally unique identifier representing the item's type.
Declaration
public override Guid ItemType { get; }
Property Value
| Type | Description |
|---|---|
| Guid | The identifier representing the item's type. |
Overrides
SourceQuestions
Reference to questions used in the coding process.
Declaration
public ObservableCollection<Question> SourceQuestions { get; }
Property Value
| Type | Description |
|---|---|
| ObservableCollection<Question> |
SourceVariables
Reference to variables used in the coding process.
Declaration
public ObservableCollection<Variable> SourceVariables { get; }
Property Value
| Type | Description |
|---|---|
| ObservableCollection<Variable> |
Methods
GetChildren()
Gets the identifiers of the item's children.
Declaration
public override ChildItemCollection GetChildren()
Returns
| Type | Description |
|---|---|
| ChildItemCollection | The identifiers of the item's children. |
Overrides
RemoveChild(IdentifierTriple)
Removes the specified child.
Declaration
public override int RemoveChild(IdentifierTriple child)
Parameters
| Type | Name | Description |
|---|---|---|
| IdentifierTriple | child | The child to be removed. |
Returns
| Type | Description |
|---|---|
| System.Int32 | The number of children removed from the item. |
Overrides
ReplaceChild(IdentifierTriple, IVersionable)
Replaces the child with the specified identifier with the provided item.
Declaration
public override int ReplaceChild(IdentifierTriple toReplace, IVersionable child)
Parameters
| Type | Name | Description |
|---|---|---|
| IdentifierTriple | toReplace | The identifier of the child to replace. |
| IVersionable | child | The new child. |
Returns
| Type | Description |
|---|---|
| System.Int32 | The number of children replaced. |