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; */ }
public ValueSet(Uri system, Hl7.Fhir.Model.ValueSet inner) { this.valueset = inner; this.System = system; }
public ValueSet(Hl7.Fhir.Model.ValueSet inner) { Original = inner; }