internal void Add(ValueSet valueset) { AssertNotSealed(); _valueSets.Add(valueset); }
public ValueSet HarvestValueSet(Hl7.Fhir.Model.ValueSet source, Uri system) { ValueSet valueset = new ValueSet(system, source); return valueset; /* // todo: This now only works with "defines". valueset.System = system.ToString(); if (source.Define != null) { foreach (var concept in source.Define.Concept) { valueset.codes.Add(concept.Code); } } return valueset; */ }