|
a |
|
b/resources/uts.conf |
|
|
1 |
## uts.conf - UTS is the NIH servcie used to access UMLS |
|
|
2 |
|
|
|
3 |
# the cache stash to limit UTS requests |
|
|
4 |
[uts_request_stash] |
|
|
5 |
class_name = zensols.persist.ShelveStash |
|
|
6 |
path = path: ${uts:cache_file} |
|
|
7 |
|
|
|
8 |
# the client used to access UTS |
|
|
9 |
[uts_client] |
|
|
10 |
class_name = zensols.mednlp.UTSClient |
|
|
11 |
api_key = ${uts:api_key} |
|
|
12 |
request_stash = instance: uts_request_stash |
|
|
13 |
|
|
|
14 |
# make the UTS client available to the medical library |
|
|
15 |
[mednlp_library] |
|
|
16 |
uts_client = instance: uts_client |