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)
CodeStoreRegistryaddCodeStore in interface CodeStoreRegistrypublic void addCodeStore(CodeStore store, String profileID)
CodeStoreRegistryaddCodeStore in interface CodeStoreRegistrypublic CodeStore getCodeStore(String profileID, String codeSystem)
CodeStoreRegistrygetCodeStore in interface CodeStoreRegistryCopyright © 2001–2017 University Health Network. All rights reserved.