private static VocabularyItemCollection CreateVocabularyItemCollectionFromResponse( string methodNSSuffix, HealthServiceResponseData response) { XPathNavigator infoNav = response.InfoNavigator.SelectSingleNode( Vocabulary.GetInfoXPathExpression( methodNSSuffix, response.InfoNavigator)); XPathNavigator vocabNav = infoNav.SelectSingleNode("code-set-result"); VocabularyItemCollection itemCollection = new VocabularyItemCollection(); itemCollection.PopulateFromXml(vocabNav); return(itemCollection); }
public VocabularySearchResult(VocabularyItemCollection matchingVocabulary) { MatchingVocabulary = matchingVocabulary; }