public void ListsAreNotNull() { var feeder = new FeederAudit(); Assert.IsNotNull(feeder.OriginatingSystemItemIds); Assert.IsNotNull(feeder.FeederSystemIds); }
public Action(DvText name, string archetypeNodeId, UidBasedId uid, Link[] links, Archetyped archetypeDetails, FeederAudit feederAudit, CodePhrase language, CodePhrase encoding, PartyProxy subject, PartyProxy proider, Participation[] otherParticipations, ObjectRef workflowId, ItemStructure protocol, ObjectRef guidelineId, DvDateTime time, ItemStructure description, IsmTransition ismTransition, InstructionDetails instructionDetails) : base(name, archetypeNodeId, uid, links, archetypeDetails, feederAudit, language, encoding, subject, proider, otherParticipations, workflowId, protocol, guidelineId) { Check.Require(time != null, "time must not be null"); Check.Require(description != null, "description must not be null"); Check.Require(ismTransition != null, "ismTransition must not be null"); this.time = time; this.description = description; if (this.description != null) { this.description.Parent = this; } this.ismTransition = ismTransition; if (this.ismTransition != null) { this.ismTransition.Parent = this; } this.instructionDetails = instructionDetails; if (this.instructionDetails != null) { this.instructionDetails.Parent = this; } SetAttributeDictionary(); CheckInvariants(); }
public Composition(DvText name, string archetypeNodeId, Support.Identification.UidBasedId uid, Link[] links, Archetyped archetypeDetails, FeederAudit feederAudit, CodePhrase language, CodePhrase territory, DvCodedText category, EventContext context, Content.ContentItem[] content, PartyProxy composer) : base(name, archetypeNodeId, uid, links, archetypeDetails, feederAudit) { Check.Require(language != null, "language must not be null"); Check.Require(territory != null, "territory must not be null"); Check.Require(category != null, "category must not be null"); Check.Require(composer != null, "composer must not be null"); this.language = language; this.territory = territory; this.category = category; this.context = context; if (this.context != null) { this.context.Parent = this; } if (content != null) { this.content = RmFactory.LocatableList <ContentItem>(this, content); } this.composer = composer; SetAttributeDictionary(); this.CheckInvariants(); }
public PointEvent(DvText name, string archetypeNodeId, Support.Identification.UidBasedId uid, Link[] links, Archetyped archetypeDetails, FeederAudit feederAudit, DvDateTime time, T data, ItemStructure.ItemStructure state) : base(name, archetypeNodeId, uid, links, archetypeDetails, feederAudit, time, data, state) { SetAttributeDictionary(); CheckInvariants(); }
public Element(DvText name, string archetypeNodeId, Support.Identification.UidBasedId uid, Link[] links, Archetyped archetypeDetails, FeederAudit feederAudit, DataValue value, DvCodedText nullFlavour) : base(name, archetypeNodeId, uid, links, archetypeDetails, feederAudit) { this.value = value; this.nullFlavour = nullFlavour; SetAttributeDictionary(); CheckInvariants(); }
public ItemTable(DvText name, string archetypeNodeId, Support.Identification.UidBasedId uid, Link[] links, Archetyped archetypeDetails, FeederAudit feederAudit, Cluster[] rows) : base(name, archetypeNodeId, uid, links, archetypeDetails, feederAudit) { if (rows != null) { this.rows = RmFactory.LocatableList <Cluster>(this, rows); } SetAttributeDictionary(); CheckInvariants(); }
public Section(DvText name, string archetypeNodeId, Support.Identification.UidBasedId uid, Link[] links, Archetyped archetypeDetails, FeederAudit feederAudit, ContentItem[] items) : base(name, archetypeNodeId, uid, links, archetypeDetails, feederAudit) { if (items != null) { this.items = RmFactory.LocatableList <ContentItem>(this, items); } SetAttributeDictionary(); CheckInvariants(); }
public ItemSingle(DvText name, string archetypeNodeId, Support.Identification.UidBasedId uid, Link[] links, Archetyped archetypeDetails, FeederAudit feederAudit, Element item) : base(name, archetypeNodeId, uid, links, archetypeDetails, feederAudit) { Check.Require(item != null, "item must not be null"); this.item = item; if (this.item != null) { this.item.Parent = this; } SetAttributeDictionary(); CheckInvariants(); }
protected CareEntry(DvText name, string archetypeNodeId, Support.Identification.UidBasedId uid, Link[] links, Archetyped archetypeDetails, FeederAudit feederAudit, CodePhrase language, CodePhrase encoding, PartyProxy subject, PartyProxy proider, Participation[] otherParticipations, ObjectRef workflowId, ItemStructure protocol, ObjectRef guidelineId) : base(name, archetypeNodeId, uid, links, archetypeDetails, feederAudit, language, encoding, subject, proider, otherParticipations, workflowId) { this.protocol = protocol; if (this.protocol != null) { this.protocol.Parent = this; } this.guidelineId = guidelineId; }
public AdminEntry(DvText name, string archetypeNodeId, Support.Identification.UidBasedId uid, Link[] links, Archetyped archetypeDetails, FeederAudit feederAudit, CodePhrase language, CodePhrase encoding, PartyProxy subject, PartyProxy proider, Participation[] otherParticipations, ObjectRef workflowId, ItemStructure data) : base(name, archetypeNodeId, uid, links, archetypeDetails, feederAudit, language, encoding, subject, proider, otherParticipations, workflowId) { Check.Require(data != null, "data must not be null"); this.data = data; this.data.Parent = this; SetAttributeDictionary(); this.CheckInvariants(); }
public Activity(DvText name, string archetypeNodeId, UidBasedId uid, Link[] links, Archetyped archetypeDetails, FeederAudit feederAudit, ItemStructure description, DvParsable timing, string actionArchetypeId) : base(name, archetypeNodeId, uid, links, archetypeDetails, feederAudit) { Check.Require(description != null, "description must not be null"); Check.Require(timing != null, "timing must not be null"); Check.Require(!string.IsNullOrEmpty(actionArchetypeId), "action_archetype_id must not be null or empty"); this.description = description; this.description.Parent = this; this.timing = timing; this.actionArchetypeId = actionArchetypeId; SetAttributeDictionary(); CheckInvariants(); }
public Folder(DvText name, string archetypeNodeId, UidBasedId uid, List <Link> links, Archetyped.Impl.Archetyped archetypeDetails, FeederAudit feederAudit, System.Collections.Generic.IEnumerable <Folder> folders, System.Collections.Generic.IEnumerable <ObjectRef> items) : base(name, archetypeNodeId, uid, links, archetypeDetails, feederAudit) { if (folders != null) { this.folders = RmFactory.List <Folder>(this, folders) as LocatableList <Folder>; } if (items != null) { this.items = new List <ObjectRef>(items); } SetAttributeDictionary(); }
public Evaluation(DvText name, string archetypeNodeId, UidBasedId uid, Link[] links, Archetyped archetypeDetails, FeederAudit feederAudit, CodePhrase language, CodePhrase encoding, PartyProxy subject, PartyProxy proider, Participation[] otherParticipations, ObjectRef workflowId, ItemStructure protocol, ObjectRef guidelineId, ItemStructure data) : base(name, archetypeNodeId, uid, links, archetypeDetails, feederAudit, language, encoding, subject, proider, otherParticipations, workflowId, protocol, guidelineId) { Check.Require(data != null, "data must not be null"); this.data = data; if (this.data != null) { this.data.Parent = this; } SetAttributeDictionary(); CheckInvariants(); }
protected Entry(DvText name, string archetypeNodeId, Support.Identification.UidBasedId uid, Link[] links, Archetyped archetypeDetails, FeederAudit feederAudit, CodePhrase language, CodePhrase encoding, PartyProxy subject, PartyProxy proider, Participation[] otherParticipations, ObjectRef workflowId) : base(name, archetypeNodeId, uid, links, archetypeDetails, feederAudit) { Check.Require(language != null, "language must not be null"); Check.Require(encoding != null, "encoding must not be null"); Check.Require(subject != null, "subject must not be null"); this.language = language; this.encoding = encoding; this.subject = subject; this.provider = proider; if (otherParticipations != null) { this.otherParticipations = new OpenEhr.AssumedTypes.List <Participation>(otherParticipations); } this.workflowId = workflowId; }
protected Event(DvText name, string archetypeNodeId, Support.Identification.UidBasedId uid, Link[] links, Archetyped archetypeDetails, FeederAudit feederAudit, DvDateTime time, T data, ItemStructure.ItemStructure state) : base(name, archetypeNodeId, uid, links, archetypeDetails, feederAudit) { Check.Require(time != null, "time must not be null"); this.time = time; this.data = data; if (this.data != null) { this.data.Parent = this; } this.state = state; if (this.state != null) { this.state.Parent = this; } }
public Instruction(DvText name, string archetypeNodeId, UidBasedId uid, Link[] links, Archetyped archetypeDetails, FeederAudit feederAudit, CodePhrase language, CodePhrase encoding, PartyProxy subject, PartyProxy proider, Participation[] otherParticipations, ObjectRef workflowId, ItemStructure protocol, ObjectRef guidelineId, DvText narrative, DvDateTime expiryTime, Activity[] activities, DvParsable wfDefinition) : base(name, archetypeNodeId, uid, links, archetypeDetails, feederAudit, language, encoding, subject, proider, otherParticipations, workflowId, protocol, guidelineId) { Check.Require(narrative != null, "narrative must not be null"); this.narrative = narrative; this.expiryTime = expiryTime; if (activities != null) { this.activities = RmFactory.LocatableList <Activity>(this, activities); } this.wfDefinition = wfDefinition; SetAttributeDictionary(); CheckInvariants(); }
public History(DvText name, string archetypeNodeId, Support.Identification.UidBasedId uid, Link[] links, Archetyped archetypeDetails, FeederAudit feederAudit, DvDateTime origin, DvDuration period, DvDuration duration, Event <T>[] events, ItemStructure.ItemStructure summary) : base(name, archetypeNodeId, uid, links, archetypeDetails, feederAudit) { this.period = period; this.duration = duration; this.summary = summary; if (this.summary != null) { this.summary.Parent = this; } if (events != null) { this.events = RmFactory.LocatableList <Event <T> >(this, events); } this.origin = origin; SetAttributeDictionary(); CheckInvariants(); }
public IntervalEvent(DvText name, string archetypeNodeId, Support.Identification.UidBasedId uid, Link[] links, Archetyped archetypeDetails, FeederAudit feederAudit, DvDateTime time, T data, ItemStructure.ItemStructure state, DvDuration width, int?sampleCount, DvCodedText mathFunction) : base(name, archetypeNodeId, uid, links, archetypeDetails, feederAudit, time, data, state) { Check.Require(width != null, "width must not be null"); Check.Require(mathFunction != null, "math_function must not be null"); this.width = width; if (sampleCount != null) { this.sampleCount = (int)sampleCount; this.sampleCountSet = true; } this.mathFunction = mathFunction; SetAttributeDictionary(); CheckInvariants(); }
protected Item(DvText name, string archetypeNodeId, Support.Identification.UidBasedId uid, Link[] links, Archetyped archetypeDetails, FeederAudit feederAudit) : base(name, archetypeNodeId, uid, links, archetypeDetails, feederAudit) { }
public Folder(DvText name, string archetypeNodeId, UidBasedId uid, List <Link> links, Archetyped.Impl.Archetyped archetypeDetails, FeederAudit feederAudit, List <Folder> folders, List <ObjectRef> items) : base(name, archetypeNodeId, uid, links, archetypeDetails, feederAudit) { LocatableList <Folder> locatableList = folders as LocatableList <Folder>; // LocatableList can not be constructed without a parent, hence will not have a parent of this object is it is yet to be constructed Check.Require(locatableList == null, "folders must not be of type LocatableList with another parent"); if (folders != null) { this.folders = RmFactory.List <Folder>(this, folders) as LocatableList <Folder>; } this.items = items; SetAttributeDictionary(); }