public void Set(aECGOrganization mo) { this.Id.Root = mo.Id.Root; this.Id.Extension = mo.Id.Extension; this.name = mo.name; if ((this.Identification != null) && (mo.Identification != null)) { this.Identification.Id.Root = mo.Identification.Id.Root; this.Identification.Id.Extension = mo.Identification.Id.Extension; } }
public aECGAuthor(string name) : base("author") { _InnerName = name; if (string.Compare(name, "seriesAuthor") == 0) { Device = new aECGDevice(); Organization = new aECGOrganization(); } else if (string.Compare(name, "assignedEntity") == 0) { AssignedAuthorType = new aECGAssignedAuthorType(); Organization = new aECGOrganization("representedAuthoringOrganization"); } }