public class DefaultCodeStoreRegistry extends Object implements CodeStoreRegistry
CodeStoreRegistry
Constructor and Description |
---|
DefaultCodeStoreRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
addCodeStore(CodeStore store)
Registers a code store for use with all profiles.
|
void |
addCodeStore(CodeStore store,
String profileID)
Registers a code store for use with certain profiles.
|
CodeStore |
getCodeStore(String profileID,
String codeSystem)
Returns the first code store that knows the codes in the given code system (as per
CodeStore.knowsCodes) and is registered for the given profile.
|
public DefaultCodeStoreRegistry()
public void addCodeStore(CodeStore store)
CodeStoreRegistry
addCodeStore
in interface CodeStoreRegistry
public void addCodeStore(CodeStore store, String profileID)
CodeStoreRegistry
addCodeStore
in interface CodeStoreRegistry
public CodeStore getCodeStore(String profileID, String codeSystem)
CodeStoreRegistry
getCodeStore
in interface CodeStoreRegistry
Copyright © 2001–2017 University Health Network. All rights reserved.