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 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 Cluster(DvText name, string archetypeNodeId, Support.Identification.UidBasedId uid, Link[] links, Archetyped archetypeDetails, FeederAudit feederAudit, Item[] items) : base(name, archetypeNodeId, uid, links, archetypeDetails, feederAudit) { if (items != null) { this.items = RmFactory.LocatableList<Item>(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(); }
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(); }
protected Locatable(DvText name, string archetypeNodeId, Support.Identification.UidBasedId uid, AssumedTypes.List<Link> links, Archetyped archetypeDetails, FeederAudit feederAudit) : this() { Check.Require(name != null, "name must not be null"); Check.Require(!string.IsNullOrEmpty(archetypeNodeId), "archetype_node_id must not be null or empty"); this.name = name; this.archetypeNodeId = archetypeNodeId; this.uid = uid; this.links = links; this.archetypeDetails = archetypeDetails; this.feederAudit = 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(); }
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 override bool Equals(object obj) { DvText textValue = obj as DvText; if (textValue == null) { return(false); } if (textValue.GetType() != this.GetType()) { return(false); } return(this.Value.Equals(textValue.Value)); }
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 EhrStatus(ArchetypeId archetypeId, DvText name, ObjectVersionId uid, PartySelf subject, bool isQueryable, bool isModifiable, ItemStructure otherDetails) { if (uid != null) this.Uid = uid; this.subject = subject; this.isQueryable = isQueryable; this.isQueryableSet = true; this.isModifiable = isModifiable; this.isModifiableSet = true; this.otherDetails = otherDetails; base.SetBaseData(archetypeId.Value, name); }
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; }
public Observation(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, History<ItemStructure> data, History<ItemStructure> state) : 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; this.state = state; if (this.state != null) this.state.Parent = this; SetAttributeDictionary(); CheckInvariants(); }
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(); }
protected Contact(string archetypeNodeId, DvText name, OpenEhr.RM.Demographic.Address[] addresses) : base(archetypeNodeId, name) { Addresses = new PathableList<Address>(this, addresses); }
public Contact(string archetypeNodeId, DvText name, OpenEhr.RM.Demographic.Address[] addresses) : base(archetypeNodeId, name, addresses) { }
public XmlSerializableExtract(string archetypeNodeId, DvText name, HierObjectId systemId, ExtractChapter[] chapters) : base(archetypeNodeId, name, systemId) { foreach (ExtractChapter chapter in chapters) this.Chapters.Add(chapter); }
protected Actor(string archetypeNodeId, DvText name) : base(archetypeNodeId, name) { }
protected void SetBaseData(string archetypeNodeId, DvText name) { Check.Invariant(attributesDictionary != null, "Attributes diction must not be null"); Check.Require(!string.IsNullOrEmpty(archetypeNodeId), "archetype node id must not be null or empty"); Check.Require(name != null, "name must not be null"); Check.Require(!string.IsNullOrEmpty(name.Value), "name value must not be null or empty"); Check.Assert(this.archetypeNodeId == null, "archetype node id attribute must be null"); //Check.Assert(base.attributesDictionary["name"] == null, "archetype node id attributes item must be null"); this.archetypeNodeId = archetypeNodeId; Check.Assert(this.name == null, "name attribute must be null"); //Check.Assert(attributesDictionary["name"] == null, "name attributes item must be null"); this.name = name; SetAttributeDictionary(); CheckInvariants(); }
protected PartyRelationship(string archetypeNodeId, DvText name, PartyRef target) : base(archetypeNodeId, name) { Target = target; }
public PartyRelationship(string archetypeNodeId, DvText name, PartyRef target) : base(archetypeNodeId, name, target) { }
protected Capability(string archetypeNodeId, DvText name, ItemStructure credentials) : base(archetypeNodeId, name) { Credentials = credentials; }
protected PartyIdentity(string archetypeNodeId, DvText name, ItemStructure details) : base(archetypeNodeId, name) { Details = details; }
protected DataStructure(DvText name, string archetypeNodeId, Support.Identification.UidBasedId uid, Link[] links, Archetyped archetypeDetails, FeederAudit feederAudit) : base(name, archetypeNodeId, uid, links, archetypeDetails, feederAudit) { }
public Capability(string archetypeNodeId, DvText name, ItemStructure credentials) : base(archetypeNodeId, name, credentials) { }
public XmlSerializableExtract(string archetypeNodeId, DvText name, HierObjectId systemId) : base(archetypeNodeId, name, systemId) { }
protected Role(string archetypeNodeId, DvText name, PartyRef performer) : base(archetypeNodeId, name) { Performer = performer; }
protected Party(string archetypeNodeId, DvText name) : base(archetypeNodeId, name) { }
public Contact(string archetypeNodeId, DvText name) : base(archetypeNodeId, name, new OpenEhr.RM.Demographic.Address[] { }) { }
public PartyIdentity(string archetypeNodeId, DvText name, ItemStructure details) : base(archetypeNodeId, name, details) { }
public Role(string archetypeNodeId, DvText name, PartyRef performer) : base(archetypeNodeId, name, performer) { }