Class Measurement
Represents a measurement or a field used to collect data.
Inheritance
Inherited Members
Namespace: Algenta.Colectica.Model.Ddi
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class Measurement : CaptureBase, IVersionable, IHasCustomFields, IDescribable, ISummaryText, IVisitable, IBindable, IIdentifiable
Remarks
can be used to represent other items that gather data, such as fields in administrative forms.
Constructors
Measurement()
Initializes a new instance of the Measurement class.
Declaration
public Measurement()
Properties
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
AttachmentTypeExternalAid
AttachmentType for an ExternalAid
Declaration
public static string AttachmentTypeExternalAid { get; }
Property Value
Type | Description |
---|---|
System.String |
Concepts
Gets the concepts measured by the Measurement.
Declaration
public ObservableCollection<Concept> Concepts { get; }
Property Value
Type | Description |
---|---|
ObservableCollection<Concept> |
EstimatedTime
Gets or sets the estimated time it will take respondents to respond to the Measurement.
Declaration
public TimeSpan EstimatedTime { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan | The estimated time. |
ExternalAids
Gets a collection of external aids used to help collect data, such as documents, images or movies.
Declaration
public ObservableCollection<OtherMaterial> ExternalAids { get; }
Property Value
Type | Description |
---|---|
ObservableCollection<OtherMaterial> |
HasMultipleResponseDomains
Gets a value indicating whether this instance has multiple response domains.
Declaration
public bool HasMultipleResponseDomains { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
InterviewerInstructions
Gets the interviewer instructions associated with a Measurement.
Declaration
public MultilingualString InterviewerInstructions { get; }
Property Value
Type | Description |
---|---|
MultilingualString |
IsValid
Gets a value indicating whether this instance has an invalid response domain. A Measurement is considered to have an invalid response domain if it has no response domains, or if it has a CodeDomain with no Codes specified.
Declaration
public bool IsValid { get; }
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
MeasureIntent
Gets or sets a description of the purpose of the measure.
Declaration
public MultilingualString MeasureIntent { get; set; }
Property Value
Type | Description |
---|---|
MultilingualString | The Measurement intent. |
MeasurementResponse
Gets the measurement response type.
Declaration
public RepresentationType MeasurementResponse { get; set; }
Property Value
Type | Description |
---|---|
RepresentationType |
MultipleResponseDomainType
Gets or sets the number of ResponseDomains for which an answer is expected when there are multiple ResponseDomains for the Measurement.
Declaration
public MultipleResponseDomainType MultipleResponseDomainType { get; set; }
Property Value
Type | Description |
---|---|
MultipleResponseDomainType | The number of expected ResponseDomains for which an answer is expected |
OtherInterviewerInstruction
Gets or sets an externally-defined interviewer instruction.
Declaration
public InterviewerInstruction OtherInterviewerInstruction { get; set; }
Property Value
Type | Description |
---|---|
InterviewerInstruction |
RepresentedVariables
Gets a collection of represented variables which describe the common data element the Measurement produces.
Declaration
public ObservableCollection<RepresentedVariable> RepresentedVariables { get; }
Property Value
Type | Description |
---|---|
ObservableCollection<RepresentedVariable> |
ResponseDomains
Gets the response domains for the Measurement, determining the type of data to be collected by the Measurement.
Declaration
public ObservableCollection<ResponseDomain> ResponseDomains { get; }
Property Value
Type | Description |
---|---|
ObservableCollection<ResponseDomain> |
Summary
Returns the measurement description.
Declaration
public MultilingualString Summary { get; }
Property Value
Type | Description |
---|---|
MultilingualString |
Implements
TypeOfMeasurement
term defining the type of measurement item
Declaration
public CodeValue TypeOfMeasurement { get; set; }
Property Value
Type | Description |
---|---|
CodeValue |
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. |