onconova.terminology.resolver
resolve_canonical_url
module-attribute
¶
CanonicalUrlResolver
¶
resolve(canonical_url)
¶
Resolve a canonical URL to a URL that can be used to download the corresponding ValueSet or CodeSystem resource.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
|
str
|
The canonical URL to resolve. |
required |
Returns:
Type | Description |
---|---|
str
|
The URL that can be used to download the corresponding ValueSet or CodeSystem resource. |
Source code in onconova/terminology/resolver.py
resolve_CTS_endpoint(canonical_url)
¶
Resolve a CTS canonical URL to a URL that can be used to download the corresponding ValueSet or CodeSystem resource.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
|
str
|
The canonical URL to resolve. |
required |
Returns:
Type | Description |
---|---|
str
|
The URL that can be used to download the corresponding ValueSet or CodeSystem resource. |
Source code in onconova/terminology/resolver.py
resolve_HL7_endpoint(canonical_url)
¶
Resolve a HL7 canonical URL to a URL that can be used to download the corresponding ValueSet or CodeSystem resource.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
|
str
|
The canonical URL to resolve. |
required |
Returns:
Type | Description |
---|---|
str
|
The URL that can be used to download the corresponding ValueSet or CodeSystem resource. |
Source code in onconova/terminology/resolver.py
resolve_LOINC_endpoint(canonical_url)
¶
Resolve a LOINC canonical URL to a URL that can be used to download the corresponding ValueSet resource.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
|
str
|
The canonical URL to resolve. |
required |
Returns:
Type | Description |
---|---|
str
|
The URL that can be used to download the corresponding ValueSet resource. |
Source code in onconova/terminology/resolver.py
resolve_Simplifier_endpoint(canonical_url)
¶
Resolve a Simplifier canonical URL to a URL that can be used to download the corresponding ValueSet resource.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
|
str
|
The canonical URL to resolve. |
required |
Returns:
Type | Description |
---|---|
str
|
The URL that can be used to download the corresponding ValueSet resource. |
Source code in onconova/terminology/resolver.py
resolve_VSAC_endpoint(canonical_url)
¶
Resolve a VSAC canonical URL to a URL that can be used to download the corresponding ValueSet resource.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
|
str
|
The canonical URL to resolve. |
required |
Returns:
Type | Description |
---|---|
str
|
The URL that can be used to download the corresponding ValueSet resource. |