//public IEnumerable<Structure> GetStructures(Uri uri) //{ // Structure structure = GetStructure(uri); // yield return structure; //} //public IEnumerable<Structure> GetStructures(string uri) //{ // return GetStructures(new Uri(uri)); //} //public IEnumerable<Structure> GetStructures(TypeRef typeref) //{ // Uri uri = typeref.Uri; // return GetStructures(uri); //} public ValueSet GetValueSet(Uri uri) { var valueset = source.LoadConformanceResourceByUrl(uri.ToString()) as Model.ValueSet; if (valueset != null) { ValueSet target = ValueSet.HarvestValueSet(valueset); return(target); } return(null); }