internal void Add(ValueSet valueset) { AssertNotSealed(); _valueSets.Add(valueset); }
public ValueSet ReadValueSet(XPathNavigator node) { ValueSet valueset = new ValueSet(); XPathNavigator systemnode = node.SelectSingleNode("f:define/f:system/@value", ns); if (systemnode == null) return null; valueset.System = systemnode.ToString(); XPathNodeIterator iterator = node.Select("f:define/f:concept", ns); foreach(XPathNavigator n in iterator) { string s = n.SelectSingleNode("f:code/@value", ns).ToString(); valueset.codes.Add(s); } return valueset; }