Show / Hide Table of Contents

Class QualityStatement

A QualityStatement is used to describe how a study conforms to certain quality concepts.

Inheritance
object
NotificationObject
IdentifiableBase
VersionableBase
DescribableBase
QualityStatement
Implements
INotifyPropertyChanged
IVersionable
IIdentifiable
IHasCustomFields
IVisitable
IDescribable
Inherited Members
DescribableBase.ItemName
DescribableBase.Label
DescribableBase.Description
DescribableBase.DisplayLabel
VersionableBase.Accept(IVersionableVisitor)
VersionableBase.IsDirty
VersionableBase.IsPublished
VersionableBase.ChildrenDereferenced
VersionableBase.IsPopulated
VersionableBase.Version
VersionableBase.VersionDate
VersionableBase.VersionResponsibility
VersionableBase.VersionRationale
VersionableBase.CompositeId
VersionableBase.OtherMaterials
VersionableBase.BasedOn
VersionableBase.SucceededBy
VersionableBase.ThumbnailImageUri
VersionableBase.BannerImageUri
VersionableBase.DisableChangeTracking
VersionableBase.RemoveChildHelper(IVersionable, params IList[])
VersionableBase.ChildTypesAccepted
VersionableBase.TryReplaceChild<T>(Func<T>, Action<T>, IdentifierTriple, IVersionable)
VersionableBase.ToString()
IdentifiableBase.DefaultAgencyId
IdentifiableBase.AgencyId
IdentifiableBase.Identifier
IdentifiableBase.UserIds
IdentifiableBase.CustomFields
IdentifiableBase.UserAttributes
IdentifiableBase.GetUserIdValue(string)
IdentifiableBase.RemoveChildHelper(IdentifierTriple, params IList[])
NotificationObject.PropertyChanged
NotificationObject.RaisePropertyChanged(string)
NotificationObject.OnPropertyChanged(string)
NotificationObject.ResumePropertyEvents()
NotificationObject.SuspendPropertyEvents()
NotificationObject.PropertyEventsSuspended
NotificationObject.PropagateChildChanges(INotifyCollectionChanged, string)
NotificationObject.WatchProperty(INotifyPropertyChanged, string)
NotificationObject.WatchCollection(INotifyCollectionChanged, string)
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: Algenta.Colectica.Model.Ddi
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class QualityStatement : DescribableBase, INotifyPropertyChanged, IVersionable, IIdentifiable, IHasCustomFields, IVisitable, IDescribable
Examples

// Create the QualityStatement object and give it a label. QualityStatement statement = new QualityStatement(); statement.Label.Current = "Sample Quality Statement";

// A QualityStatement is made up of QualityStatementItems. // QualityStatementItems have two important pieces of information: // a defining Concept, and some content. // The defining Concept specifies the type of information recorded // by the item. For example, "Contact organization". // The content is the actual information.

// First, let's create the Concepts. Concept concept1 = new Concept(); concept1.Label.Current = "Contact organization";

Concept concept2 = new Concept(); concept2.Label.Current = "Statistical Unit";

Concept concept3 = new Concept(); concept3.Label.Current = "Statitistical Population";

// Now let's create the QualityStatementItems, and assign the appropriate // Concepts and some information. QualityStatementItem item1 = new QualityStatementItem(); item1.ComplianceConcept = concept1; item1.ComplianceDescription.Current = "Statistics Denmark";

QualityStatementItem item2 = new QualityStatementItem(); item2.ComplianceConcept = concept2; item2.ComplianceDescription.Current = "Person";

QualityStatementItem item3 = new QualityStatementItem(); item3.ComplianceConcept = concept3; item3.ComplianceDescription.Current = "Denmark";

// Add each of the items to the QualityStatement. statement.Items.Add(item1); statement.Items.Add(item2); statement.Items.Add(item3);

// Add the QualityStatement and the Concepts to the Repository. var client = RepositoryIntro.GetClient(); CommitOptions options = new CommitOptions(); client.RegisterItem(statement, options); client.RegisterItem(concept1, options); client.RegisterItem(concept2, options); client.RegisterItem(concept3, options)

Constructors

QualityStatement()

Initializes a new instance of the QualityStatement class.

Declaration
public QualityStatement()

Properties

AttachmentTypeExternalStandardDefinition

AttachmentType for an ExternalInformation

Declaration
[UIHint("skip")]
public static string AttachmentTypeExternalStandardDefinition { get; }
Property Value
Type Description
string

Attachments

Gets a collection of file URIs stored in the File Storage Service attached to this item.

Declaration
[UIHint("skip")]
public override ObservableCollection<Attachment> Attachments { get; }
Property Value
Type Description
ObservableCollection<Attachment>
Overrides
VersionableBase.Attachments

GatheredQualityConceptIds

Gets a collection of identifiers of quality concepts for which content was automatically gathered by a IQualityStatementInformationGatherer addin.

Declaration
[UIHint("skip")]
public ObservableCollection<IdentifierTriple> GatheredQualityConceptIds { get; }
Property Value
Type Description
ObservableCollection<IdentifierTriple>

IncludedStatisticalConceptIds

Gets a list of identifiers of concepts used for the "Statistical concepts and definitions" quality statement item.

Declaration
[UIHint("skip")]
public ObservableCollection<IdentifierTriple> IncludedStatisticalConceptIds { get; }
Property Value
Type Description
ObservableCollection<IdentifierTriple>

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
VersionableBase.ItemType

Items

Gets a collection of individual statements of quality.

Declaration
[UIHint("skip")]
public ObservableCollection<QualityStatementItem> Items { get; set; }
Property Value
Type Description
ObservableCollection<QualityStatementItem>

OtherQualityStatement

Gets a generic description of quality, if the Items collection is not used.

Declaration
[UIHint("skip")]
public MultilingualString OtherQualityStatement { get; }
Property Value
Type Description
MultilingualString

Standard

Gets or sets the quality standard being implemented.

Declaration
public QualityStandard Standard { get; set; }
Property Value
Type Description
QualityStandard

StandardUsed

Gets a description of the quality standard being used. In 3.3 and later, use Standard instead

Declaration
[UIHint("skip")]
public OtherMaterial StandardUsed { get; set; }
Property Value
Type Description
OtherMaterial

Methods

AddChild(IVersionable)

Adds the provided child to this item.

Declaration
public override void AddChild(IVersionable child)
Parameters
Type Name Description
IVersionable child

The item to be added as a child of this item.

Overrides
VersionableBase.AddChild(IVersionable)
Exceptions
Type Condition
ArgumentNullException

child

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
VersionableBase.GetChildren()

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
int

The number of children removed from the item.

Overrides
VersionableBase.RemoveChild(IdentifierTriple)
Exceptions
Type Condition
ArgumentNullException

child

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
int

The number of children replaced.

Overrides
VersionableBase.ReplaceChild(IdentifierTriple, IVersionable)
Exceptions
Type Condition
ArgumentNullException

child

WatchProperties()

Watch for property changed events

Declaration
protected override void WatchProperties()
Overrides
DescribableBase.WatchProperties()

Implements

INotifyPropertyChanged
IVersionable
IIdentifiable
IHasCustomFields
IVisitable
IDescribable

Extension Methods

VersionableCustomFieldExtensions.GetCustomFieldMultilingualStringValue(IHasCustomFields, string)
VersionableCustomFieldExtensions.GetCustomFieldStringValue(IHasCustomFields, string)
VersionableCustomFieldExtensions.GetCustomFieldUriValue(IHasCustomFields, string)
VersionableCustomFieldExtensions.SetCustomField(IHasCustomFields, MultilingualString, IVersionable)
VersionableCustomFieldExtensions.SetCustomField(IHasCustomFields, MultilingualString, string)
VersionableCustomFieldExtensions.SetCustomField(IHasCustomFields, string, IVersionable)
VersionableCustomFieldExtensions.SetCustomField(IHasCustomFields, string, string)
Extensions.GetDdi32FragmentRepresentation(IVersionable, Ddi32Serializer)
Extensions.GetDdi33FragmentRepresentation(IVersionable, Ddi33Serializer)
Extensions.GetDdiFragmentRepresentation(IVersionable, DDIWorkflowSerializer, XmlDocument)
Extensions.GetMultilingualStrings(IVersionable)
NamingHelper.GetBaseFileNameForItem(IVersionable)
VersionableExtensions.GetHeader(IVersionable, bool)
VersionableExtensions.GetMetadata(IVersionable)
VersionableExtensions.GetUserAttribute(IVersionable, string)
VersionableExtensions.GetUserAttributeInt(IVersionable, string)
VersionableExtensions.SetUserAttribute(IVersionable, string, string)
VersionableUserIdExtensions.SetUserId(IVersionable, string, string)
In this article
Back to top Generated by DocFX