Page History
...
- Browser
- Java
- Scala
- Python
- JavaScript
- Unix Command line
- Any platform able to handle REST calls and XML or JSON formatted responses
Browser
Any Browser browser window is a REST client. A User user can type in the REST command and view the resulting XML or otherwise formatted text/JSON. Click on image to expand:
...
We recommend using the free community edition of Intellij
Multiexcerpt include | ||||||
---|---|---|---|---|---|---|
|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
package mayo.edu.cts2.client.rest.scala import java.net.{HttpURLConnection, URL} import io.Source /** * Created with IntelliJ IDEA. */ object CTS2RestClient extends App{ val connection = new URL("http://http://lexevscts2.nci.nih.gov/lexevscts2/valuesets").openConnection().asInstanceOf[HttpURLConnection] val inputStream = connection.getInputStream val src = Source.fromInputStream(inputStream) src.getLines().foreach(println) } |
...
Install Python on your system. Create a text file with the .py extension and run with the "python myrestclient.py" command.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
__author__ = 'sbauer' import urllib2 try: file = urllib2.urlopen('http://lexevscts2.nci.nih.gov/lexevscts2/resolvedvaluesets') except urllib2.URLError, e: if e.code == 404: print("check url") # continue to handle other errors here else: print(file.read()) |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
__author__ = 'sbauer' from restful_lib import Connection conn = Connection("http://http://lexevscts2.nci.nih.gov/lexevscts2") reply = conn.request_get("/valuesets") if reply['headers']['status'] == '200': print reply['body'] conn = Connection("http://http://lexevscts2.nci.nih.gov/lexevscts2") reply = conn.request_get("/valuesets?format=json",headers={'Accept':'application/json;q=1.0'}) if reply['headers']['status'] == '200': print reply['body'] print eval(reply['body']) conn = Connection("http://http://lexevscts2.nci.nih.gov/lexevscts2") print conn.request_get("/valuesets?matchvalue='Sequence'")['body'] |
JavaScript (JQuery and Bootstrap.js)
Warning |
---|
This script example features JSON parsing. The JSON structure in CTS2 1.0 was non-standard and will not be compatible with the standardized JSON in CTS2 1.1. CTS2 XML is standard. CTS2 associated with LexEVS 6.2 will contain the standard version of JSON for CTS 1.1. |
- Download JQuery 1.10.x
and Bootstrap 3.0.xMultiexcerpt include MultiExcerptName ExitDisclaimer nopanel true PageWithExcerpt wikicontent:Exit Disclaimer to Include Multiexcerpt include MultiExcerptName ExitDisclaimer nopanel true PageWithExcerpt wikicontent:Exit Disclaimer to Include - Create a CTSRest directory for your files
- Add directories bootstrap and cts2 to this root
- Add subdirectories js and css to both directories you've just created
- Add bootstrap.js to the bootstrap/js directory
- Add bootstrap.min.css to the bootstrap/css directory
- Add jquery-1.10.2.js to the cts2/js library
- Create a codeSystem.js text file and add the following text (adjust the serviceUrl to point to a convenient CTS2 service)
Unix Command Line
returns XML that can be piped to a file
Code Block | ||||
---|---|---|---|---|
| ||||
$ curl http://lexevscts2.nci.nih.gov/lexevscts2/codesystemversions |
Java Serialization using the CTS2 Framework
CTS2 Framework Serialization snippet
A reference implementation framework in Java includes parsing and marshaling utilities as well as CTS2 model elements in Java to serialize the JSON responses. For example:
Code Block |
---|
JsonConverter converter = new JsonConverter();
ResolvedValueSetDirectory valuesetdir = converter.fromJson(
<JSON>, ResolvedValueSetDirectory.class); |
Getting the Framework
Note | ||
---|---|---|
| ||
You may have handshake errors running maven against the new SSL enabled repository URL. If so try adjusting Maven Options as follows:
|
The CTS2 Framework and its dependencies are easily pulled in to your Java project via maven using the following elements in the pom.xml file:
Code Block | ||||||
---|---|---|---|---|---|---|
<repository>
<id>nci.maven.releases</id> | ||||||
Code Block | ||||||
| ||||||
var CodeSystemListConfig = { serviceUrl: "http://<base url>/codesystemversions?format=json" }; function init() { $(document).ready( function() { <name>NCI Maven Release Repository</name> var url = CodeSystemListConfig.serviceUrl; <url>https://ncimvn.nci.nih.gov/nexus/content/repositories/LexEVSRelease</url> $.getJSON(url + "&callback=?", function (data) {</repository> <dependency> for (var i in data.codeSystemVersionCatalogEntryDirectory.entryList) { <groupId>edu.mayo.cts2.framework</groupId> var entry = data.codeSystemVersionCatalogEntryDirectory.entryList[i];<artifactId>cts2-core</artifactId> var key = entry.formalName; var designation = entry.documentURI; var uri = entry.href; $("ul").append("<li><a href=\"" + uri +"\">" + key + "</a></li>"); } }); }); } |
- when complete add codesystem.js to the cts2/js directory
- Create a new html file containing the following html and add it to the root CTSRest folder
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<!DOCTYPE html>
<html>
<head>
<title>Code System</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap -->
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet" media="screen">
<script src="cts2/js/codeSystem.js"></script>
<script src="cts2/js/jquery-1.10.2.js"></script>
</head>
<body>
<h1>Code Systems</h1>
<script>init()</script>
<ul class="nav nav-pills nav-stacked">
<li class="active"><a href="#">Home</a></li>
</ul>
<script src="bootstrap/js/bootstrap.js"></script>
</body>
</html> |
Open the new HTML file in a browser and you should see code systems displayed on a browser page.
Warning | ||
---|---|---|
| ||
If this page shows errors in your browser's debugging tools, you may have extraneous characters in your text file. Try removing all indentations, save and run again. |
Unix Command Line
returns XML that can be piped to a file
Code Block | ||||
---|---|---|---|---|
| ||||
r0223758:~ m029206$ curl http://lexevscts2.nci.nih.gov/lexevscts2/codesystemversions |
Java Serialization using the CTS2 Framework
CTS2 Framework Serialization snippet
A reference implementation framework in Java includes parsing and marshaling utilities as well as CTS2 model elements in Java to serialize the JSON responses. For example:
Code Block |
---|
JsonConverter converter = new JsonConverter();
ResolvedValueSetDirectory valuesetdir = converter.fromJson(
<JSON>, ResolvedValueSetDirectory.class); |
Getting the Framework
Note | ||
---|---|---|
| ||
You may have handshake errors running maven against the new SSL enabled repository URL. If so try adjusting Maven Options as follows:
|
The CTS2 Framework and its dependencies are easily pulled in to your Java project via maven using the following elements in the pom.xml file:
Code Block |
---|
<repository>
<id>nci.maven.releases</id>
<name>NCI Maven Release Repository</name>
<url>https://ncimvn.nci.nih.gov/nexus/content/repositories/LexEVSRelease</url>
</repository>
<dependency>
<groupId>edu.mayo.cts2.framework</groupId>
<artifactId>cts2-core</artifactId>
<version>1.3.3.FINAL</version>
</dependency> |
A Mapping of CTS2 REST Calls to CTS2 Framework Model Elements
REST call mappings to CTS2 Model elements in Java
Note |
---|
Hint: Resolve as JSON or XML in a browser and use the hierarchy of the document to choose methods to drill down to data on attribute you need. Google Chrome with the JSONView extension installed makes the process for JSON transparent as you can hover over the element and see the call to the object you'll need to make in JavaScript. |
Info |
---|
Generally returned summary lists are returned as Directories and single elements are returned as messages such as "EntryMsg" |
...
<base url>/codesystem/NCI_Thesaurus/version/17.06d
...
CodeSystemVersionCatalogEntryMsg
...
<base url>/resolvedvaluesets?matchvalue=imputation&filtercomponent=resourceName&format=json
...
<base url>/codesystem/NCI_Thesaurus/version/17.06d/entities?format=json
...
<base url>/
codesystem/NCI_Thesaurus/version/17.06d
/entities?matchvalue=swelling&format=json
...
EntityDescriptionMsg
with an instance entity with method calls:
entity.getEntityDescription().getNamedEntity().getParent()
returning an instance of URIAndEntityName[]
...
<base url>/codesystem/NCI_Thesaurus/version//entity/C3399/children
17.06d
?format=json
...
<base url>/codesystem/npo/version/TestForMultiNamespace/entity/GO:NPO_1607/subjectof?format=json
...
<base url>/codesystem/NCI_Thesaurus/version//entity/C3399/targetof
17.06d
?format=json
...
<base url>/mapversions?format=json
...
<base url>/map/MA_to_NCIt_Mapping/version/MA_to_NCIt_Mapping-1.0?format=json
...
<base url>/map/MA_to_NCIt_Mapping/version/MA_to_NCIt_Mapping-1.0/entries?format=json
...
<base url>/mapversions?codesystem=ICD10CM&codesystemsmaprole=MAP_TO_ROLE&format=json
...
<version>1.3.3.FINAL</version>
</dependency> |
A Mapping of CTS2 REST Calls to CTS2 Framework Model Elements
REST call mappings to CTS2 Model elements in Java
Note |
---|
Hint: Resolve as JSON or XML in a browser and use the hierarchy of the document to choose methods to drill down to data on attribute you need. Google Chrome with the JSONView extension installed makes the process for JSON transparent as you can hover over the element and see the call to the object you'll need to make in JavaScript. |
Info |
---|
Generally returned summary lists are returned as Directories and single elements are returned as messages such as "EntryMsg" |
Info |
---|
The following examples show how to have the output formatted to JSON with the "format=json" parameter. When the format is not specified, it will default to XML. |
Description | REST | Model Element Class |
---|---|---|
Code System Versions | <base url>codesystemversions?format=json | CodeSystemVersionCatalogEntryDirectory |
Code System Read | <base url>/codesystem/NCI_Thesaurus/version/17.06d | CodeSystemVersionCatalogEntryMsg |
Code System Version Query | <base url>/codesystemversions?matchvalue=nci_thesaurus&filtercomponent=resourceName&format=json | CodeSystemVersionCatalogEntryDirectory |
Value Sets | <base url>resolvedvaluesets?format=json | ResolvedValueSetDirectory |
Value Set Definition Read | <base url>/cts2/valueset/CDISC ADaM Terminology/definition/5f51c37b?format=json | ValueSetDefinitionMsg |
Value Set Query | <base url>/resolvedvaluesets?matchvalue=imputation&filtercomponent=resourceName&format=json | ResolvedValueSetDirectory |
Value Set Entries | <base url>/valueset/valueset/CDISC Questionnaire Terminology/definition/aa5e7b3f/resolution/1?format=json | IteratableResolvedValueSet |
Entities | <base url>/codesystem/NCI_Thesaurus/version/17.06d/entities?format=json | EntityDirectory |
Entity Read | <base url>/codesystem/NCI_Thesaurus/version/17.06d/entity/C3399?format=json | EntityDescriptionMsg |
Entity Query |
| EntityDirectory |
Association parents | <base url>/codesystem/NCI_Thesaurus/version/ | EntityDescriptionMsg entity.getEntityDescription().getNamedEntity().getParent() returning an instance of URIAndEntityName[] |
Association children | <base url>/codesystem/NCI_Thesaurus/version/ | EntityDirectory |
Association subjectOf | <base url>/codesystem/npo/version/TestForMultiNamespace/entity/GO:NPO_1607/subjectof | AssociationDirectory |
Association targetOf | <base url>/codesystem/NCI_Thesaurus/version/ | AssociationDirectory |
Maps | <base url>/mapversions | MapVersionDirectory |
Map Version Query | <base url>/mapversions?matchvalue=ncit&filtercomponent=resourceSynopsis | MapVersionDirectory |
Map Version Read | <base url>/map/MA_to_NCIt_Mapping/version/MA_to_NCIt_Mapping-1.0?format=json | MapVersionMsg |
Map Entities | <base url>/map/MA_to_NCIt_Mapping/version/MA_to_NCIt_Mapping-1.0/entries?format=json | MapEntryDirectory |
Map Restriction To, From, or Both Role | <base url>/mapversions?codesystem=ICD10CM&codesystemsmaprole=MAP_TO_ROLE&format=json | MapVersionDirectory |
Complete Code Example
Code Block | ||||
---|---|---|---|---|
| ||||
package cts2.mayo.example;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.List;
import edu.mayo.cts2.framework.core.json.JsonConverter;
import edu.mayo.cts2.framework.model.codesystemversion.CodeSystemVersionCatalogEntryDirectory;
import edu.mayo.cts2.framework.model.codesystemversion.CodeSystemVersionCatalogEntrySummary;
import edu.mayo.cts2.framework.model.core.EntitySynopsis;
import edu.mayo.cts2.framework.model.core.URIAndEntityName;
import edu.mayo.cts2.framework.model.entity.EntityDescriptionMsg;
import edu.mayo.cts2.framework.model.entity.EntityDirectory;
import edu.mayo.cts2.framework.model.entity.EntityDirectoryEntry;
import edu.mayo.cts2.framework.model.mapversion.MapVersionDirectory;
import edu.mayo.cts2.framework.model.mapversion.MapVersionDirectoryEntry;
import edu.mayo.cts2.framework.model.valuesetdefinition.IteratableResolvedValueSet;
import edu.mayo.cts2.framework.model.valuesetdefinition.ResolvedValueSetDirectory;
import edu.mayo.cts2.framework.model.valuesetdefinition.ResolvedValueSetDirectoryEntry;
public class RESTFromCTS2Framework {
String baseUri = "http://lexevscts2.nci.nih.gov/lexevscts2/";
String format = "?format=json";
public void getValueSets(){
URL url;
try {
url = new URL(baseUri + "resolvedvaluesets" + format);
HttpURLConnection connection = (HttpURLConnection) url
.openConnection();
connection.setRequestProperty("Accept", "text/json");
if (connection.getResponseCode() != 200) {
throw new RuntimeException("Failed : The HTTP error code is : "
+ connection.getResponseCode());
}
BufferedReader br = new BufferedReader(new InputStreamReader(
(connection.getInputStream())));
String output;
StringBuilder builder = new StringBuilder();
while ((output = br.readLine()) != null) {
builder.append(output);
}
JsonConverter converter = new JsonConverter();
ResolvedValueSetDirectory valuesetdir = converter.fromJson(
builder.toString(), ResolvedValueSetDirectory.class);
List<ResolvedValueSetDirectoryEntry> sum = valuesetdir
.getEntryAsReference();
for (ResolvedValueSetDirectoryEntry s : sum) {
System.out.println(s.getResolvedHeader().getResolutionOf()
.getValueSet().getContent());
}
} catch (Exception e) {
e.printStackTrace();
}
}
public void getValueSetEntries(){
URL url;
try {
|
Complete Code Example
Code Block | ||||
---|---|---|---|---|
| ||||
package cts2.mayo.example; import java.io.BufferedReader; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL; import java.util.List; import edu.mayo.cts2.framework.core.json.JsonConverter; import edu.mayo.cts2.framework.model.codesystemversion.CodeSystemVersionCatalogEntryDirectory; import edu.mayo.cts2.framework.model.codesystemversion.CodeSystemVersionCatalogEntrySummary; import edu.mayo.cts2.framework.model.core.EntitySynopsis; import edu.mayo.cts2.framework.model.core.URIAndEntityName; import edu.mayo.cts2.framework.model.entity.EntityDescriptionMsg; import edu.mayo.cts2.framework.model.entity.EntityDirectory; import edu.mayo.cts2.framework.model.entity.EntityDirectoryEntry; import edu.mayo.cts2.framework.model.mapversion.MapVersionDirectory; import edu.mayo.cts2.framework.model.mapversion.MapVersionDirectoryEntry; import edu.mayo.cts2.framework.model.valuesetdefinition.IteratableResolvedValueSet; import edu.mayo.cts2.framework.model.valuesetdefinition.ResolvedValueSetDirectory; import edu.mayo.cts2.framework.model.valuesetdefinition.ResolvedValueSetDirectoryEntry; public class RESTFromCTS2Framework { String baseUri = "http://lexevscts2.nci.nih.gov/lexevscts2/"; String format = "?format=json"; public void getValueSets(){ URL url; try { url = new URL(baseUri + "resolvedvaluesetsvalueset/NICHD%20Newborn%20Screening%20Terminology/definition/4125c982/resolution/1" + format); HttpURLConnection connection = (HttpURLConnection) url .openConnection(); connection.setRequestProperty("Accept", "text/json"); if (connection.getResponseCode() != 200) { throw new RuntimeException("Failed : The HTTP error code is : " + connection.getResponseCode()); } BufferedReader br = new BufferedReader(new InputStreamReader( (connection.getInputStream()))); String output; StringBuilder builder = new StringBuilder(); while ((output = br.readLine()) != null) { builder.append(output); } JsonConverter converter = new JsonConverter(); ResolvedValueSetDirectoryIteratableResolvedValueSet valuesetdir = converter.fromJson( builder.toString(), ResolvedValueSetDirectoryIteratableResolvedValueSet.class); List<ResolvedValueSetDirectoryEntry>List<EntitySynopsis> sum = valuesetdir .getEntryAsReference(); for (ResolvedValueSetDirectoryEntryEntitySynopsis s : sum) { System.out.println(s.getResolvedHeadergetName().getResolutionOf() .getValueSet().getContent()); } } catch (Exception e) { e.printStackTrace(); } } public void getValueSetEntriesgetCodeSystems(){ URL url; try { url = new URL(baseUri + "valueset/NICHD%20Newborn%20Screening%20Terminology/definition/4125c982/resolution/1codesystemversions" + format); HttpURLConnection connection = (HttpURLConnection) url .openConnection(); connection.setRequestProperty("Accept", "text/json"); if (connection.getResponseCode() != 200) { throw new RuntimeException("Failed : The HTTP error code is : " + connection.getResponseCode()); } BufferedReader br = new BufferedReader(new InputStreamReader( (connection.getInputStream()))); String output; StringBuilder builder = new StringBuilder(); while ((output = br.readLine()) != null) { builder.append(output); } JsonConverter converter = new JsonConverter(); IteratableResolvedValueSetCodeSystemVersionCatalogEntryDirectory valuesetdir = converter.fromJson( builder.toString(), IteratableResolvedValueSetCodeSystemVersionCatalogEntryDirectory.class); List<EntitySynopsis>List<CodeSystemVersionCatalogEntrySummary> sum = valuesetdir .getEntryAsReference(); for (EntitySynopsisCodeSystemVersionCatalogEntrySummary s : sum) { System.out.println(s.getNamegetFormalName()); } } catch (Exception e) { e.printStackTrace(); } } public void getCodeSystemsgetEntities(){ URL url; try { url = new URL(baseUri + "codesystemversions" + formatcodesystem/NCI_Thesaurus/version/10.10a/entities" + format); HttpURLConnection connection = (HttpURLConnection) url .openConnection(); connection.setRequestProperty("Accept", "text/json"); if (connection.getResponseCode() != 200) { throw new RuntimeException("Failed : The HTTP error code is : " + connection.getResponseCode()); } BufferedReader br = new BufferedReader(new InputStreamReader( (connection.getInputStream()))); String output; StringBuilder builder = new StringBuilder(); while ((output = br.readLine()) != null) { builder.append(output); } JsonConverter converter = new JsonConverter(); CodeSystemVersionCatalogEntryDirectoryEntityDirectory valuesetdir = converter.fromJson( builder.toString(), CodeSystemVersionCatalogEntryDirectoryEntityDirectory.class); List<CodeSystemVersionCatalogEntrySummary>List<EntityDirectoryEntry> sum = valuesetdir .getEntryAsReference(); for (CodeSystemVersionCatalogEntrySummaryEntityDirectoryEntry s : sum) { System.out.println(s.getFormalNamegetName()); } } catch (Exception e) { e.printStackTrace(); } } public void getEntitiesentityReadParent(){ URL url; try { url = new URL(baseUri + "codesystem/NCI_Thesaurus/version/10.10a/entity/entitiesC3399" + format); HttpURLConnection connection = (HttpURLConnection) url .openConnection(); connection.setRequestProperty("Accept", "text/json"); if (connection.getResponseCode() != 200) { throw new RuntimeException("Failed : The HTTP error code is : " + connection.getResponseCode()); } BufferedReader br = new BufferedReader(new InputStreamReader( (connection.getInputStream()))); String output; StringBuilder builder = new StringBuilder(); while ((output = br.readLine()) != null) { builder.append(output); } JsonConverter converter = new JsonConverter(); EntityDirectoryEntityDescriptionMsg valuesetdirentity = converter.fromJson( builder.toString(), EntityDirectoryEntityDescriptionMsg.class); List<EntityDirectoryEntry>URIAndEntityName[] sum = valuesetdir .getEntryAsReferenceentity.getEntityDescription().getNamedEntity().getParent(); for (EntityDirectoryEntryURIAndEntityName s : sum) { System.out.println(s.getName()); } } catch (Exception e) { e.printStackTrace(); } } public void entityReadParentgetMaps(){ URL url; try { url = new URL(baseUri + "codesystem/NCI_Thesaurus/version/10.10a/entity/C3399mapversions" + format); HttpURLConnection connection = (HttpURLConnection) url .openConnection(); connection.setRequestProperty("Accept", "text/json"); if (connection.getResponseCode() != 200) { throw new RuntimeException("Failed : The HTTP error code is : " + connection.getResponseCode()); } BufferedReader br = new BufferedReader(new InputStreamReader( (connection.getInputStream()))); String output; StringBuilder builder = new StringBuilder(); while ((output = br.readLine()) != null) { builder.append(output); } JsonConverter converter = new JsonConverter(); EntityDescriptionMsgMapVersionDirectory entitymaps = converter.fromJson( builder.toString(), EntityDescriptionMsgMapVersionDirectory.class); URIAndEntityName[]List<MapVersionDirectoryEntry> sum = entitymaps.getEntityDescriptiongetEntryAsReference().getNamedEntity().getParent(); for (URIAndEntityNameMapVersionDirectoryEntry s : sum) { System.out.println(s.getNamegetFormalName()); } } catch (Exception e) { e.printStackTrace(); } } /** public * void getMaps(){ URL url; try@param args */ public static void main(String[] args) { url = new URL(baseUri + "mapversions" + formatRESTFromCTS2Framework().getCodeSystems(); HttpURLConnection connection = (HttpURLConnection) url .openConnectionnew RESTFromCTS2Framework().getValueSets(); connection.setRequestProperty("Accept", "text/json"new RESTFromCTS2Framework().getEntities(); ifnew RESTFromCTS2Framework(connection).getResponseCodeentityReadParent() != 200) { ; throw new RuntimeException("Failed : The HTTP error code is : " + connection.getResponseCode()RESTFromCTS2Framework().getMaps(); new RESTFromCTS2Framework().getValueSetEntries(); } } BufferedReader br = new BufferedReader(new InputStreamReader( (connection.getInputStream()))); String output; StringBuilder builder = new StringBuilder(); while ((output = br.readLine()) != null) { builder.append(output); } JsonConverter converter = new JsonConverter(); MapVersionDirectory maps = converter.fromJson( builder.toString(), MapVersionDirectory.class); List<MapVersionDirectoryEntry> sum = maps.getEntryAsReference(); for (MapVersionDirectoryEntry s : sum) { System.out.println(s.getFormalName()); } } catch (Exception e) { e.printStackTrace(); } } /** * @param args */ public static void main(String[] args) { new RESTFromCTS2Framework().getCodeSystems(); new RESTFromCTS2Framework().getValueSets(); new RESTFromCTS2Framework().getEntities(); new RESTFromCTS2Framework().entityReadParent(); new RESTFromCTS2Framework().getMaps(); new RESTFromCTS2Framework().getValueSetEntries(); } } |
Other Development Platforms
REST Clients can be built on PHP, Perl and C# as well.
Multiexcerpt include | ||||||
---|---|---|---|---|---|---|
|
Code System
Getting All CodeSystemCatalogVersions Summaries
Returns a set of CodeSystemVersions
Code Block |
---|
http://<base url>/codesystemversions?maxtoreturn=5&format=json |
Output
|
Other Development Platforms
REST Clients can be built on PHP, Perl and C# as well.
Multiexcerpt include | ||||||
---|---|---|---|---|---|---|
|
Code System
Getting All CodeSystemCatalogVersions Summaries
Returns a set of CodeSystemVersions.
Code Block |
---|
http://<base url>/codesystemversions?maxtoreturn=5&format=json |
Output
Code Block | ||
---|---|---|
| ||
{
"CodeSystemVersionCatalogEntryDirectory": {
"entry": [
{
"codeSystemVersionName": "MDR-13.0",
"versionOf": {
| ||
Code Block | ||
| ||
{ "CodeSystemVersionCatalogEntryDirectory": { "entrycontent": [ "MDR", { "codeSystemVersionNameuri": "MDR-13.0", "versionOf": { "content": "MDR", "uri": "urn:oid:2.16.840.1.113883.6.163" }, "documentURI": "urn:oid:2.16.840.1.113883.6.163:13.0", "officialResourceVersionId": "13.0", "about": "urn:oid:2.16.840.1.113883.6.163:13.0", "formalName": "MedDRA (Medical Dictionary for Regulatory Activities Terminology)", "resourceSynopsis": { "value": "MedDRA (Medical Dictionary for Regulatory Activities Terminology)" }, "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/MDR/version/13.0" }, { "codeSystemVersionName": "MDR-13.1", "versionOf": { "content": "MDR", "uri": "urn:oid:2.16.840.1.113883.6.163" }, "documentURI": "urn:oid:2.16.840.1.113883.6.163:13.1", "officialResourceVersionId": "13.1", "about": "urn:oid:2.16.840.1.113883.6.163:13.1", "formalName": "MedDRA (Medical Dictionary for Regulatory Activities Terminology)", "resourceSynopsis": { "value": "MedDRA (Medical Dictionary for Regulatory Activities Terminology)" }, "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/MDR/version/13.1" }, { "codeSystemVersionName": "MDR-15.0", "versionOf": { "content": "MDR", "uri": "urn:oid:2.16.840.1.113883.6.163" }, "documentURI": "urn:oid:2.16.840.1.113883.6.163:15.0", "officialResourceVersionId": "15.0", "about": "urn:oid:2.16.840.1.113883.6.163:15.0", "formalName": "MedDRA (Medical Dictionary for Regulatory Activities Terminology)", "resourceSynopsis": { "value": "MedDRA (Medical Dictionary for Regulatory Activities Terminology)" }, "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/MDR/version/15.0" }, { "codeSystemVersionName": "MDR-14.1", "versionOf": { "content": "MDR", "uri": "urn:oid:2.16.840.1.113883.6.163" }, "documentURI": "urn:oid:2.16.840.1.113883.6.163:14.1", "officialResourceVersionId": "14.1", "about": "urn:oid:2.16.840.1.113883.6.163:14.1", "formalName": "MedDRA (Medical Dictionary for Regulatory Activities Terminology)", "resourceSynopsis": { "value": "MedDRA (Medical Dictionary for Regulatory Activities Terminology)" }, "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/MDR/version/14.1" }, { "codeSystemVersionName": "MDR-15.1", "versionOf": { "content": "MDR", "uri": "urn:oid:2.16.840.1.113883.6.163" }, "documentURI": "urn:oid:2.16.840.1.113883.6.163:15.1", "officialResourceVersionId": "15.1", "about": "urn:oid:2.16.840.1.113883.6.163:15.1", "formalName": "MedDRA (Medical Dictionary for Regulatory Activities Terminology)", "resourceSynopsis": { "value": "MedDRA (Medical Dictionary for Regulatory Activities Terminology)" }, "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/MDR/version/15.1" } ], "complete": "PARTIAL", "numEntries": 5, "next": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystemversions?page=1&format=json&maxtoreturn=5", "heading": { "resourceRoot": "https://lexevscts2.nci.nih.gov/lexevscts2/", "resourceURI": "codesystemversions", "parameter": [ { "arg": "maxtoreturn", "val": "5" }, { "arg": "format", "val": "json" } ], "accessDate": "2017-08-04T16:20:07.172-04:00" } } } |
...
Returns a set of CodeSystemVersions based on a text match.
Code Block |
---|
http://<base url>/codesystemversions?matchvalue=nci_thesaurus&filtercomponent=resourceName&format=json |
Output
Code Block | ||
---|---|---|
| ||
{
"CodeSystemVersionCatalogEntryDirectory": {
"entry": [
{
"codeSystemVersionName": "NCI_Thesaurus-17.02d",
"versionOf": {
"content": "NCI_Thesaurus",
"uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#"
},
"documentURI": "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#17.02d",
"officialResourceVersionId": "17.02d",
"about": "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#17.02d",
"formalName": "NCI Thesaurus",
"resourceSynopsis": {
"value": "NCI Thesaurus"
},
"href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.02d"
},
{
"codeSystemVersionName": "NCI_Thesaurus-17.03d",
"versionOf": {
"content": "NCI_Thesaurus",
"uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#"
},
"documentURI": "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#17.03d",
"officialResourceVersionId": "17.03d",
"about": "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#17.03d",
"formalName": "NCI Thesaurus",
"resourceSynopsis": {
"value": "NCI Thesaurus"
},
"href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.03d"
},
{
"codeSystemVersionName": "NCI_Thesaurus-17.04d",
"versionOf": {
"content": "NCI_Thesaurus",
"uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#"
},
"documentURI": "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#17.04d",
"officialResourceVersionId": "17.04d",
"about": "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#17.04d",
"formalName": "NCI Thesaurus",
"resourceSynopsis": {
"value": "NCI Thesaurus"
},
"href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.04d"
},
{
"codeSystemVersionName": "NCI_Thesaurus-17.06d",
"versionOf": {
"content": "NCI_Thesaurus",
"uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#"
},
"documentURI": "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#17.06d",
"officialResourceVersionId": "17.06d",
"about": "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#17.06d",
"formalName": "NCI Thesaurus",
"resourceSynopsis": {
"value": "NCI Thesaurus"
},
"href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d"
}
],
"complete": "COMPLETE",
"numEntries": 4,
"heading": {
"resourceRoot": "https://lexevscts2.nci.nih.gov/lexevscts2/",
"resourceURI": "codesystemversions",
"parameter": [
{
"arg": "matchvalue",
"val": "nci_thesaurus"
},
{
"arg": "filtercomponent",
"val": "resourceName"
},
{
"arg": "format",
"val": "json"
}
],
"accessDate": "2017-08-04T16:23:29.829-04:00"
}
}
} |
...
Code Block |
---|
http://<base url>/codesystem/NCI_Thesaurus/version/17.06d/entities?maxtoreturn=250&format=json |
Output
Code Block | ||
---|---|---|
| ||
{ "EntityDirectory": { "entry": [ { "about": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#C14722", "name": { "namespace": "NCI_Thesaurus", "name": "C14722" }, "knownEntityDescription": [ { "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/C14722", "describingCodeSystemVersion": { "version": { "content": "NCI_Thesaurus-17.06d", "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d" }, "codeSystem": { "content": "NCI_Thesaurus", "uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#" } }, "designation": "Other Inbred Strains" } ] }, { "about": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#C422", "name": { "namespace": "NCI_Thesaurus", "name": "C422" }, "knownEntityDescription": [ { "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/C422", "describingCodeSystemVersion": { "version": { "content": "NCI_Thesaurus-17.06d", "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d" }, "codeSystem": { "content": "NCI_Thesaurus", "uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#" } }, "designation": "Dexamethasone" } ] } ], "complete": "PARTIAL", "numEntries": 2, "next": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entities?page=1&format=json&maxtoreturn=2", "heading": { "resourceRoot": "https://lexevscts2.nci.nih.gov/lexevscts2/", "resourceURI": "codesystem/NCI_Thesaurus/version/17.06d/entities", "parameter": [ { "arg": "maxtoreturn", "val": "2" }, { "arg": "format", "val": "json" } ], "accessDate": "2017-08-04T16:32:47.760-04:00" } } } |
...
The entity read function automatically returns the parents of the entity.
Code Block |
---|
http://<base url>/codesystem/NCI_Thesaurus/version/17.06d/entity/C3399?format=json |
Output
Code Block |
---|
http://<base url>/codesystem/NCI_Thesaurus/version/17.06d/entity/C3399?format=json |
Output
Code Block | ||
---|---|---|
| ||
{
"EntityDescriptionMsg": {
"entityDescription": {
"namedEntity": {
"entryState": "ACTIVE",
"about": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#C3399",
"entityID": {
"namespace": "NCI_Thesaurus",
"name": "C3399"
},
"describingCodeSystemVersion": {
"version": {
"content": "NCI_Thesaurus-17.06d",
"href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d"
},
"codeSystem": {
"content": "NCI_Thesaurus",
"uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#"
}
},
"designation": [
{
"designationRole": "ALTERNATIVE",
"assertedInCodeSystemVersion": "NCI",
"value": "Swelling",
"language": {
"content": "en"
}
},
{
"designationRole": "ALTERNATIVE",
"assertedInCodeSystemVersion": "FDA",
"value": "Swelling",
"language": {
"content": "en"
}
},
{
"designationRole": "PREFERRED",
"value": "Swelling",
"language": {
"content": "en"
}
}
],
"definition": [
{
"definitionRole": "NORMATIVE",
"value": "Enlargement; expansion in size; sign of inflammation"
}
],
"property": [
{
"predicate": {
"uri": "http://lexgrid.org/definition-preferred",
"namespace": "NCI_Thesaurus",
"name": "DEFINITION"
},
"value": [
{
"literal": {
"value": "Enlargement; expansion in size; sign of inflammation"
}
}
],
"propertyQualifier": [
{
"predicate": {
"uri": "http://lexgrid.org/property-source",
"namespace": "lexgrid",
"name": "property-source"
},
"value": [
{
"literal": {
"value": "NCI"
}
}
]
}
]
},
{
"predicate": {
"uri": "http://lexgrid.org/presentation-alternate",
"namespace": "NCI_Thesaurus",
"name": "FULL_SYN"
},
"value": [
{
"literal": {
"value": "Swelling"
}
}
],
"propertyQualifier": [
{
"predicate": {
"uri": "http://lexgrid.org/representational-form",
"namespace": "lexgrid",
"name": "representational-form"
},
"value": [
{
"literal": {
"value": "PT"
}
}
]
},
{
"predicate": {
"uri": "http://lexgrid.org/property-source",
"namespace": "lexgrid",
"name": "property-source"
},
"value": [
{
"literal": {
"value": "NCI"
}
}
]
}
]
},
{
"predicate": {
"uri": "http://lexgrid.org/presentation-alternate",
"namespace": "NCI_Thesaurus",
"name": "FULL_SYN"
},
"value": [
{
"literal": {
"value": "Swelling"
}
}
],
"propertyQualifier": [
{
"predicate": {
"uri": "http://lexgrid.org/representational-form",
"namespace": "lexgrid",
"name": "representational-form"
},
"value": [
{
"literal": {
"value": "PT"
}
}
]
},
{
"predicate": {
"uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#source-code",
"namespace": "NCI_Thesaurus",
"name": "source-code"
},
"value": [
{
"literal": {
"value": "2091"
}
}
]
},
{
| ||
Code Block | ||
| ||
{ "EntityDescriptionMsg": { "entityDescription": { "namedEntitypredicate": { "entryState": "ACTIVE", "abouturi": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#C3399owl#subsource-name", "entityID": { "namespace": "NCI_Thesaurus", "name": "C3399subsource-name" }, "describingCodeSystemVersionvalue": {[ "version": { { "content": "NCI_Thesaurus-17.06d", "hrefliteral": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d" { }, "codeSystemvalue": { "CDRH" "content": "NCI_Thesaurus", } "uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#" } }, ] "designation": [ {}, "designationRole": "ALTERNATIVE", { "assertedInCodeSystemVersion": "NCI", "predicate": { "valueuri": "Swellinghttp://lexgrid.org/property-source", "language": { "namespace": "lexgrid", "content": "en" }"name": "property-source" }, }, { "designationRolevalue": "ALTERNATIVE",[ "assertedInCodeSystemVersion": "FDA", { "value": "Swelling", "languageliteral": { "content": "en" "value": "FDA" } }, } { "designationRole": "PREFERRED", } "value": "Swelling", ] "language": { } "content": "en" ] }, }{ ], "predicate": { "definition": [ { "uri": "http://lexgrid.org/presentation-preferred", "definitionRolenamespace": "NORMATIVENCI_Thesaurus", "valuename": "Enlargement; expansion in size; sign of inflammation" "Preferred_Name" }, ], "value": [ "property": [ { "literal": { "predicate": { "urivalue": "http://lexgrid.org/definition-preferred",Swelling" "namespace": "NCI_Thesaurus", } "name": "DEFINITION"} },] }, "value": [ { { "predicate": { "literal": { "uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#Contributing_Source", "valuenamespace": "Enlargement; expansion in size; sign of inflammation" NCI_Thesaurus", "name": "Contributing_Source" } }, } "value": [ ], { "propertyQualifier": [ "literal": { { "predicatevalue": {"FDA" } "uri": "http://lexgrid.org/property-source", } "namespace": "lexgrid", ] }, "name": "property-source" { }, "predicate": { "valueuri": [ "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#FDA_Table", "namespace": "NCI_Thesaurus", { "name": "FDA_Table" }, "literal": { "value": [ "value": "NCI" { "literal": { } "value": "Patient Code (Appendix }B)" ]} } ] }, { "predicate": { "uri": "http://lexgrid.org/presentation-alternatencicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#Legacy_Concept_Name", "namespace": "NCI_Thesaurus", "name": "FULLLegacy_Concept_SYNName" }, "value": [ { "literal": { "value": "Swelling" } } ], "propertyQualifier": [ }, { "predicate": { "uri": "http://lexgrid.org/representational-formncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#Semantic_Type", "namespace": "lexgrid", "name": "representational-form" }, NCI_Thesaurus", "value": [ "name": "Semantic_Type" {}, "value": [ "literal": { { "valueliteral": "PT"{ "value": "Sign or }Symptom" } ]} ] }, }, { { "predicate": { "uri": "http://lexgrid.org/property-sourcencicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#UMLS_CUI", "namespace": "lexgridNCI_Thesaurus", "name": "property-sourceUMLS_CUI" }, "value": [ { "literal": { "value": "NCIC0038999" } } ] } ] }, { "predicate": { "uri": "http://lexgrid.org/presentation-alternatencicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#code", "namespace": "NCI_Thesaurus", "name": "FULL_SYNcode" }, "value": [ { "literal": { "value": "SwellingC3399" } } ], "propertyQualifier": [}, { "predicate": { "uri": "http://lexgrid.org/representational-formncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#label", "namespace": "lexgridNCI_Thesaurus", "name": "representational-formlabel" }, "value": [ { { "literal": { "literal": { "value": "Swelling" "value": "PT" } } ] } } ], ] "subjectOf": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/C3399/subjectof", }"targetOf": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/C3399/targetof", "parent": [ { { "predicateuri": {"http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#C53458", "uri"href": "httphttps://ncicblexevscts2.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#source-code", lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/C53458", "namespace": "NCI_Thesaurus", "name": "source-codeC53458" } } ], "children": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/C3399/children", "valueentityType": [ { { "uri": "http://www.w3.org/2002/07/owl#Class", "namespace": "owl", "literal": { "name": "Class" } "value": "2091" ] } }, "heading": { } "resourceRoot": "https://lexevscts2.nci.nih.gov/lexevscts2/", "resourceURI": "codesystem/NCI_Thesaurus/version/17.06d/entity/C3399", "parameter": }[ { ] "arg": "format", },"val": "json" } {], "accessDate": "2017-08-04T17:17:24.701-04:00" } } } |
Associations: Children
Returns all the children of the designated entity.
Code Block |
---|
http://<base url>/codesystem/NCI_Thesaurus/version/17.06d/entity/C3399/children?format=json |
Output
Code Block | ||
---|---|---|
| ||
{ "predicateEntityDirectory": { "entry": [ { "uriabout": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#subsource-nameowl#C34569", "name": { "namespace": "NCI_Thesaurus", "name": "subsource-nameC34569" }, "value"knownEntityDescription": [ { "literal": { "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/C34569", "value": "CDRH" "describingCodeSystemVersion": { } "version": { }"content": "NCI_Thesaurus-17.06d", ]"href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d" }, "codeSystem": { "predicatecontent": { "NCI_Thesaurus", "uri": "http://lexgrid.org/property-source",ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#" } "namespace": "lexgrid", }, "namedesignation": "property-sourceElephantiasis" } }, ] }, { "valueabout": [ "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#C3002", "name": { {"namespace": "NCI_Thesaurus", "name": "C3002" }, "literal": { "knownEntityDescription": [ { "value": "FDA" "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/C3002", "describingCodeSystemVersion": { } "version": { } "content": "NCI_Thesaurus-17.06d", ] "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d" } ]}, }, "codeSystem": { { "predicatecontent": { "NCI_Thesaurus", "uri": "http://lexgrid.org/presentation-preferred",ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#" "namespace": "NCI_Thesaurus",} }, "name": "Preferred_Name" "designation": "Edema" }, } "value": [ ] } {], "complete": "COMPLETE", "numEntries": 2, "literal"heading": { "resourceRoot": "https://lexevscts2.nci.nih.gov/lexevscts2/", "resourceURI": "codesystem/NCI_Thesaurus/version/17.06d/entity/C3399/children", "valueparameter": "Swelling"[ { "arg": "format", } "val": "json" } } ], ] "accessDate": "2017-08-04T17:18:44.257-04:00" } } } |
Associations: SubjectOf
Returns all entities that are the subject of an association with this entity.
Code Block |
---|
http://<base url>/codesystem/NCI_Thesaurus/version/17.06d/entity/C3399/subjectof?format=json |
Output
Code Block | ||
---|---|---|
| ||
{ , "AssociationDirectory": { "entry": [ { { "predicatesubject": { "uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#Contributing_Sourceowl#C3399", "namespace"href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/C3399", "namenamespace": "ContributingNCI_SourceThesaurus", "name": "C3399" }, }, "valuepredicate": [{ "uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#A8", { "name": "Concept_In_Subset" "literal": {}, "target": { "valueentity": "FDA"{ "uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#C62596", } "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/C62596", } "namespace": "NCI_Thesaurus", ] },"name": "C62596" {} }, "predicate": { "assertedBy": { "uriversion": "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#FDA_Table", { "namespacecontent": "NCI_Thesaurus-17.06d", "namehref": "FDA_Table" https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d" }, "valuecodeSystem": [{ { "content": "NCI_Thesaurus", "literal": {"uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#" } "value": "Patient Code (Appendix B)"} }, { } "subject": { } "uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#C62596", "href": ] "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/C62596", }"namespace": "NCI_Thesaurus", {"name": "C62596" }, "predicate": { "predicate": { "uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#Legacy_Concept_Nameowl#A8", "name": "Concept_In_Subset" "namespace": "NCI_Thesaurus" }, "target": { "nameentity": "Legacy_Concept_Name"{ }"uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#C54450", "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/C54450", "value": [ "namespace": "NCI_Thesaurus", { "name": "C54450" "literal": {} }, "valueassertedBy": "Swelling"{ }"version": { "content": "NCI_Thesaurus-17.06d", } ]"href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d" }, "codeSystem": { "predicatecontent": { "NCI_Thesaurus", "uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#Semantic_Typeowl#", "namespace": "NCI_Thesaurus",} } "name": "Semantic_Type"}, },{ "value"subject": [{ { "literal": { "uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#C54450", "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/C54450", "valuenamespace": "Sign or Symptom" "NCI_Thesaurus", "name": "C54450" }, "predicate": { } "uri": "http://www.w3.org/2000/01/rdf-schema#subClassOf", ] "name": "subClassOf" }, "target": { "predicateentity": { "uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#UMLS_CUIowl#C53458", "namespacehref": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/C53458", "namenamespace": "UMLSNCI_CUIThesaurus", },"name": "C53458" } "value": [ }, "assertedBy": { "version": { "literal": { "content": "NCI_Thesaurus-17.06d", "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d" "value": "C0038999" }, } "codeSystem": { } "content": "NCI_Thesaurus", ]"uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#" }, } { } ], "predicatecomplete": {"COMPLETE", "numEntries": 3, "heading": { "uriresourceRoot": "httphttps://ncicblexevscts2.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#codelexevscts2/", "namespace"resourceURI": "codesystem/NCI_Thesaurus/version/17.06d/entity/C3399/subjectof", "parameter": [ "name": "code" { }, "arg": "format", "valueval": ["json" } {], "accessDate": "2017-08-04T17:19:36.589-04:00" } } } |
Associations: TargetOf
Returns all entities that are the target of this entity in an association.
Code Block |
---|
http://<base url>/codesystem/NCI_Thesaurus/version/17.06d/entity/C3399/targetof?maxtoreturn=5&format=json |
Output
Code Block | ||
---|---|---|
| ||
{ "literal"AssociationDirectory": { "entry": [ { "valuesubject": "C3399"{ "uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#C3399", } "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/C3399", } "namespace": "NCI_Thesaurus", ]"name": "C3399" }, { "predicate": { "uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#labelowl#R108", "namespacename": "NCIDisease_Has_ThesaurusFinding", }, "nametarget": "label"{ },"entity": { "valueuri": ["http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#@75fee354830c997d4bc0e128e16aec09", {"href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/@75fee354830c997d4bc0e128e16aec09", "literal"namespace": {"NCI_Thesaurus", "value"name": "Swelling@75fee354830c997d4bc0e128e16aec09" } } }, }"assertedBy": { ]"version": { } "content": "NCI_Thesaurus-17.06d", ], "subjectOfhref": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/C3399/subjectof", "targetOf": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/C3399/targetof" }, "parentcodeSystem": [{ {"content": "NCI_Thesaurus", "uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#C53458owl#", } "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/C53458", } }, "namespace": "NCI_Thesaurus", { "namesubject": "C53458"{ } "uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#@75fee354830c997d4bc0e128e16aec09", ], "childrenhref": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/C3399/children@75fee354830c997d4bc0e128e16aec09", "entityTypenamespace": [ "NCI_Thesaurus", {"name": "@75fee354830c997d4bc0e128e16aec09" }, "uri "predicate": "http://www.w3.org/2002/07/owl#Class",{ "namespaceuri": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#R108", "name": "ClassDisease_Has_Finding" }, } "target": { ] } "entity": { }, "heading": { "resourceRooturi": "httpshttp://lexevscts2ncicb.nci.nih.gov/xml/owl/lexevscts2EVS/NCI_Thesaurus.owl#C27477", "resourceURI "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/C3399C27477", "parameter": [ { "arg": "format", "val": "json" }"namespace": "NCI_Thesaurus", ], "accessDatename": "2017-08-04T17:17:24.701-04:00C27477" } } } |
Associations: Children
Returns all the children of the designated Entity
Code Block |
---|
http://<base url>/codesystem/NCI_Thesaurus/version/17.06d/entity/C3399/children?format=json |
Output
Code Block | ||
---|---|---|
| ||
{ "EntityDirectory": { } "entry": [ {}, "aboutassertedBy": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#C34569",{ "nameversion": { "namespacecontent": "NCI_Thesaurus-17.06d", "namehref": "C34569" https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d" }, "knownEntityDescriptioncodeSystem": [{ {"content": "NCI_Thesaurus", "hrefuri": "httpshttp://lexevscts2ncicb.nci.nih.gov/xml/lexevscts2owl/codesystemEVS/NCI_Thesaurus/version/17.06d/entity/C34569",.owl#" } "describingCodeSystemVersion": { } }, "version": { "subject": { "contenturi": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus-17.06dowl#C27477", "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/C27477", }, "namespace": "NCI_Thesaurus", "codeSystemname": {"C27477" }, "contentpredicate": "NCI_Thesaurus",{ "uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#owl#R108", } "name": "Disease_Has_Finding" }, "designationtarget": "Elephantiasis"{ } ] }, "entity": { { "abouturi": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#C3002owl#@75fee354830c997d4bc0e128e16aec09", "name": { "namespace"href": "NCI_Thesaurus", "name": "C3002"https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/@75fee354830c997d4bc0e128e16aec09", }, "namespace": "NCI_Thesaurus", "knownEntityDescription": [ "name": "@75fee354830c997d4bc0e128e16aec09" { } "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/C3002", }, "describingCodeSystemVersionassertedBy": { "version": { "content": "NCI_Thesaurus-17.06d", "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d" }, "codeSystem": { "content": "NCI_Thesaurus", "uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#" } } }, { }, "subject": { "uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#@75fee354830c997d4bc0e128e16aec09", "designation "href": "Edema" https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/@75fee354830c997d4bc0e128e16aec09", "namespace": "NCI_Thesaurus", } ] "name": "@75fee354830c997d4bc0e128e16aec09" } ]}, "complete": "COMPLETE", "numEntriespredicate": 2,{ "heading": { "resourceRooturi": "httpshttp://lexevscts2ncicb.nci.nih.gov/xml/owl/lexevscts2EVS/NCI_Thesaurus.owl#R108", "resourceURI "name": "codesystem/NCI_Thesaurus/version/17.06d/entity/C3399/children",Disease_Has_Finding" "parameter": [ }, "target": { "argentity": "format",{ "valuri": "json"http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#C27374", } ]"href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/C27374", "accessDate": "2017-08-04T17:18:44.257-04:00" } } } |
Associations: SubjectOf
Returns all entities that are the subject of an association with this entity.
Code Block |
---|
http://<base url>/codesystem/NCI_Thesaurus/version/17.06d/entity/C3399/subjectof?format=json |
Output
Code Block | ||
---|---|---|
| ||
{ "namespace": "NCI_Thesaurus", "AssociationDirectoryname": { "C27374" } "entry": [ }, "assertedBy": { "subjectversion": { "uricontent": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus-17.owl#C339906d", "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/C3399", "namespace": "NCI_Thesaurus"}, "namecodeSystem": "C3399"{ }, "content": "NCI_Thesaurus", "predicate": { "uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#A8owl#", "name": "Concept_In_Subset"} }, }, "target": { { "entitysubject": { "uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#C62596owl#C27374", "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/C62596", .06d/entity/C27374", "namespace": "NCI_Thesaurus", "name": "C27374" }, "namespacepredicate": "NCI_Thesaurus", { "nameuri": "C62596" http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#R108", }"name": "Disease_Has_Finding" }, "assertedBytarget": { "versionentity": { "contenturi": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus-17.06dowl#@75fee354830c997d4bc0e128e16aec09", "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d" }, "codeSystem": {/entity/@75fee354830c997d4bc0e128e16aec09", "contentnamespace": "NCI_Thesaurus", "uriname": "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#@75fee354830c997d4bc0e128e16aec09" } }, }, "assertedBy": { { "subjectversion": { "uricontent": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus-17.owl#C6259606d", "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/C62596", "namespace": "NCI_Thesaurus"}, "namecodeSystem": "C62596"{ }, "content": "NCI_Thesaurus", "predicate": { "uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#A8owl#", "name": "Concept_In_Subset"} }, "target": {} ], "entitycomplete": {"PARTIAL", "numEntries": 5, "uri"next": "httphttps://ncicblexevscts2.nci.nih.gov/xmllexevscts2/owlcodesystem/EVS/NCI_Thesaurus.owl#C54450/version/17.06d/entity/C3399/targetof?page=1&format=json&maxtoreturn=5", "heading": { "hrefresourceRoot": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/C54450", "namespaceresourceURI": "codesystem/NCI_Thesaurus/version/17.06d/entity/C3399/targetof", "name"parameter": "C54450"[ } { }, "assertedBy"arg": {"maxtoreturn", "versionval": {"5" "content": "NCI_Thesaurus-17.06d", }, "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d" { }"arg": "format", "codeSystemval": {"json" } "content": "NCI_Thesaurus" ], "accessDate": "2017-08-04T17:21:47.508-04:00" } } } |
Map
Map Version Summaries
Returns a list of summaries of a all code system maps on page at a time (With the option of choosing page place and moving iteration to the next page).
Code Block |
---|
http://<base url>/mapversions?format=json |
Output
Code Block | ||
---|---|---|
| ||
{ "MapVersionDirectory": {"uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#" "entry": [ }{ } "mapVersionName": "MA_to_NCIt_Mapping-1.0", },"versionOf": { { "content": "MA_to_NCIt_Mapping", "subjecturi": {"MA_to_NCIt_Mapping", "urihref": "httphttps://ncicblexevscts2.nci.nih.gov/xmllexevscts2/owl/EVS/NCI_Thesaurus.owl#C54450", map/MA_to_NCIt_Mapping" }, "hrefdocumentURI": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/C54450MA_to_NCIt_Mapping", "namespaceabout": "NCI_ThesaurusMA_to_NCIt_Mapping", "nameformalName": "C54450"MA_to_NCIt_Mapping", }, "resourceSynopsis": { "predicatevalue": { "MA_to_NCIt_Mapping" }, "uri "href": "httphttps://wwwlexevscts2.nci.w3.org/2000/01/rdf-schema#subClassOf", nih.gov/lexevscts2/map/MA_to_NCIt_Mapping/version/MA_to_NCIt_Mapping-1.0" }, "name": "subClassOf" { }"mapVersionName": "GO_to_NCIt_Mapping-1.1", "targetversionOf": { "entitycontent": { "GO_to_NCIt_Mapping", "uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#C53458GO_to_NCIt_Mapping", "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/C53458", map/GO_to_NCIt_Mapping" "namespace": "NCI_Thesaurus", }, "namedocumentURI": "C53458"GO_to_NCIt_Mapping", "about": "GO_to_NCIt_Mapping", } }"formalName": "GO_to_NCIt_Mapping", "assertedByresourceSynopsis": { "versionvalue": {"GO_to_NCIt_Mapping" "content": "NCI_Thesaurus-17.06d", }, "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurusmap/GO_to_NCIt_Mapping/version/17.06d" GO_to_NCIt_Mapping-1.1" }, "codeSystem": { "contentmapVersionName": "NCI_ThesaurusNCIt_to_ChEBI_Mapping-1.0", "uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#""versionOf": { } }"content": "NCIt_to_ChEBI_Mapping", } ], "complete"uri": "COMPLETE", "numEntries": 3, urn:oid:NCIt_to_ChEBI_Mapping", "heading": { "resourceRoothref": "https://lexevscts2.nci.nih.gov/lexevscts2/map/NCIt_to_ChEBI_Mapping" }, "resourceURIdocumentURI": "codesystem/NCI_Thesaurus/version/17.06d/entity/C3399/subjectofurn:oid:NCIt_to_ChEBI_Mapping", "parameterabout": ["urn:oid:NCIt_to_ChEBI_Mapping", { "formalName": "NCIt_to_ChEBI_Mapping", "argresourceSynopsis": "format",{ "valvalue": "jsonNCIt_to_ChEBI_Mapping" }, ], "accessDate"href": "2017-08-04T17:19:36.589-04:00" https://lexevscts2.nci.nih.gov/lexevscts2/map/NCIt_to_ChEBI_Mapping/version/NCIt_to_ChEBI_Mapping-1.0" }, } } |
Associations: TargetOf
Returns all entities that are the target of this entity in an association
Code Block |
---|
http://<base url>/codesystem/NCI_Thesaurus/version/17.06d/entity/C3399/targetof?maxtoreturn=5&format=json |
Output
Code Block | ||
---|---|---|
| ||
{ { "AssociationDirectory": { "entrymapVersionName": [ "PDQ_2016_07_31_TO_NCI_2016_10E-2016_07_31", "versionOf": { "subjectcontent": {"PDQ_2016_07_31_TO_NCI_2016_10E", "uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#C3399urn:oid:CL512803.PDQ.NCI", "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/C3399",map/PDQ_2016_07_31_TO_NCI_2016_10E" "namespace": "NCI_Thesaurus"}, "namedocumentURI": "C3399"urn:oid:CL512803.PDQ.NCI", }"about": "urn:oid:CL512803.PDQ.NCI", "predicateformalName": { "PDQ_2016_07_31_TO_NCI_2016_10E", "urihref": "httphttps://ncicblexevscts2.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#R108",lexevscts2/map/PDQ_2016_07_31_TO_NCI_2016_10E/version/PDQ_2016_07_31_TO_NCI_2016_10E-2016_07_31" }, "name": "Disease_Has_Finding" { }"mapVersionName": "SNOMEDCT_US_2016_09_01_TO_ICD10_2010-20160901", "targetversionOf": { "entitycontent": { "SNOMEDCT_US_2016_09_01_TO_ICD10_2010", "uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#@75fee354830c997d4bc0e128e16aec09urn:oid:C3645687.SNOMEDCT_US.ICD10", "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/@75fee354830c997d4bc0e128e16aec09", map/SNOMEDCT_US_2016_09_01_TO_ICD10_2010" }, "documentURI": "urn:oid:C3645687.SNOMEDCT_US.ICD10", "namespaceabout": "NCI_Thesaurusurn:oid:C3645687.SNOMEDCT_US.ICD10", "formalName": "SNOMEDCT_US_2016_09_01_TO_ICD10_2010", "namehref": "@75fee354830c997d4bc0e128e16aec09" https://lexevscts2.nci.nih.gov/lexevscts2/map/SNOMEDCT_US_2016_09_01_TO_ICD10_2010/version/SNOMEDCT_US_2016_09_01_TO_ICD10_2010-20160901" }, }{ }"mapVersionName": "SNOMEDCT_US_2016_09_01_TO_ICD10CM_2014-20160901", "assertedByversionOf": { "versioncontent": { "SNOMEDCT_US_2016_09_01_TO_ICD10CM_2014", "contenturi": "NCI_Thesaurus-17.06durn:oid:C3645705.SNOMEDCT_US.ICD10CM", "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06dmap/SNOMEDCT_US_2016_09_01_TO_ICD10CM_2014" }, }, "documentURI": "urn:oid:C3645705.SNOMEDCT_US.ICD10CM", "codeSystem": { "about": "urn:oid:C3645705.SNOMEDCT_US.ICD10CM", "contentformalName": "NCI_ThesaurusSNOMEDCT_US_2016_09_01_TO_ICD10CM_2014", "urihref": "httphttps://ncicblexevscts2.nci.nih.gov/lexevscts2/xml/owl/EVS/Thesaurus.owl#" map/SNOMEDCT_US_2016_09_01_TO_ICD10CM_2014/version/SNOMEDCT_US_2016_09_01_TO_ICD10CM_2014-20160901" }, } { }"mapVersionName": "NCIt_to_HGNC_Mapping-1.0", }, "versionOf": { { "subject": {"content": "NCIt_to_HGNC_Mapping", "uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#@75fee354830c997d4bc0e128e16aec09NCIt_to_HGNC_Mapping", "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/@75fee354830c997d4bc0e128e16aec09",map/NCIt_to_HGNC_Mapping" }, "namespace "documentURI": "NCI_ThesaurusNCIt_to_HGNC_Mapping", "nameabout": "@75fee354830c997d4bc0e128e16aec09" NCIt_to_HGNC_Mapping", }"formalName": "NCIt_to_HGNC_Mapping", "predicateresourceSynopsis": { "urivalue": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#R108", NCIt_to_HGNC_Mapping" }, "namehref": "Disease_Has_Finding" https://lexevscts2.nci.nih.gov/lexevscts2/map/NCIt_to_HGNC_Mapping/version/NCIt_to_HGNC_Mapping-1.0" }, ], "targetcomplete": {"COMPLETE", "numEntries": 7, "entityheading": { "uri"resourceRoot": "httphttps://ncicblexevscts2.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#C27477lexevscts2/", "resourceURI": "mapversions", "parameter": [ "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/C27477", { "namespacearg": "NCI_Thesaurusformat", "nameval": "C27477json" } } ], },"accessDate": "2017-08-04T17:23:10.907-04:00" } } } |
Map Version Read
Returns a specific map version for a given map version resource synopsis.
Code Block |
---|
http://<base url>/map/MA_to_NCIt_Mapping/version/MA_to_NCIt_Mapping-1.0?format=json |
Output
Code Block | ||
---|---|---|
| ||
{ "assertedByMapVersionMsg": { "mapVersion": { "versionmapVersionName": {"MA_to_NCIt_Mapping-1.0", "versionOf": { "content": "NCI_Thesaurus-17.06dMA_to_NCIt_Mapping", "uri": "MA_to_NCIt_Mapping", "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d" map/MA_to_NCIt_Mapping" }, }, "fromCodeSystemVersion": { "codeSystemversion": { "content": "NCI_Thesaurusma-null", "urihref": "httphttps://ncicblexevscts2.nci.nih.gov/lexevscts2/xmlcodesystem/owlma/EVSversion/Thesaurus.owl#null" }, "codeSystem": }{ }, "content": "ma" { } "subject": { }, "uritoCodeSystemVersion": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#C27477",{ "hrefversion": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/C27477",{ "namespacecontent": "NCI_Thesaurus-null", "namehref": "C27477https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/null" }, "predicatecodeSystem": { "uricontent": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#R108", "name": "Disease_Has_Finding" } }, "targetdocumentURI": { "entity": { "MA_to_NCIt_Mapping", "uristate": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#@75fee354830c997d4bc0e128e16aec09FINAL", "sourceAndNotation": { "hrefsourceAndNotationDescription": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/@75fee354830c997d4bc0e128e16aec09",LexEVS" }, "namespaceabout": "NCI_ThesaurusMA_to_NCIt_Mapping", "formalName": "MA_to_NCIt_Mapping", "namekeyword": "@75fee354830c997d4bc0e128e16aec09"[ }"MA_to_NCIt_Mapping" }], "assertedByresourceSynopsis": { "versionvalue": {"MA_to_NCIt_Mapping" }, "contententryState": "NCI_Thesaurus-17.06d", ACTIVE" }, "heading": { "hrefresourceRoot": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d"", "resourceURI": "map/MA_to_NCIt_Mapping/version/MA_to_NCIt_Mapping-1.0", "parameter": [ }, { "codeSystemarg": { "format", "val": "json" "content": "NCI_Thesaurus", } ], "uriaccessDate": "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#2017-08-04T17:25:58.902-04:00" } } } |
Map Entries
Paginated entries of this Map Version
Code Block |
---|
http://<base url>/map/MA_to_NCIt_Mapping/version/MA_to_NCIt_Mapping-1.0/entries?maxtoreturn=3&format=json |
Output
Code Block | ||
---|---|---|
| ||
{ "MapEntryDirectory": { } "entry": [ } { }, "assertedBy": { { "subjectmapVersion": { "uricontent": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#@75fee354830c997d4bc0e128e16aec09MA_to_NCIt_Mapping-1.0", "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_ThesaurusMA_to_NCIt_Mapping/version/17.06d/entity/@75fee354830c997d4bc0e128e16aec09",1.0" "namespace": "NCI_Thesaurus"}, "namemap": "@75fee354830c997d4bc0e128e16aec09"{ }, "content": "MA_to_NCIt_Mapping", "predicate": { "urihref": "httphttps://ncicblexevscts2.nci.nih.gov/xmllexevscts2/owl/EVS/NCI_Thesaurus.owl#R108",map/MA_to_NCIt_Mapping" "name": "Disease_Has_Finding"} }, "targetmapFrom": { "entityuri": {"http://www.w3.org/ns/ma-ont#MA:0000002", "urinamespace": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#C27374MA", "hrefname": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/C27374",MA:0000002" }, "namespacehref": "NCI_Thesaurus", https://lexevscts2.nci.nih.gov/lexevscts2/map/MA_to_NCIt_Mapping/version/MA_to_NCIt_Mapping-1.0/entry/MA:MA%253A0000002", "nameresourceName": "C27374MA:MA%253A0000002" }, },{ "assertedBy": { "versionmapVersion": { "content": "NCI_Thesaurus-17.06dMA_to_NCIt_Mapping-1.0", "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_ThesaurusMA_to_NCIt_Mapping/version/171.06d0" }, "codeSystemmap": { "content": "NCI_ThesaurusMA_to_NCIt_Mapping", "urihref": "httphttps://ncicblexevscts2.nci.nih.gov/xmllexevscts2/owl/EVS/Thesaurus.owl#" map/MA_to_NCIt_Mapping" } } }, {}, "subjectmapFrom": { "uri": "http://ncicbwww.nciw3.nih.govorg/xml/owl/EVS/NCI_Thesaurus.owl#C27374", "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/C27374"ns/ma-ont#MA:0000003", "namespace": "NCI_ThesaurusMA", "name": "C27374MA:0000003" }, "predicatehref": { "uri": "http"https://ncicblexevscts2.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#R108lexevscts2/map/MA_to_NCIt_Mapping/version/MA_to_NCIt_Mapping-1.0/entry/MA:MA%253A0000003", "nameresourceName": "Disease_Has_FindingMA:MA%253A0000003" }, }, { "targetassertedBy": { "entitymapVersion": { "uricontent": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#@75fee354830c997d4bc0e128e16aec09MA_to_NCIt_Mapping-1.0", "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_ThesaurusMA_to_NCIt_Mapping/version/17.06d/entity/@75fee354830c997d4bc0e128e16aec09",1.0" "namespace": "NCI_Thesaurus"}, "namemap": "@75fee354830c997d4bc0e128e16aec09"{ } "content": "MA_to_NCIt_Mapping", }, "assertedByhref": {"https://lexevscts2.nci.nih.gov/lexevscts2/map/MA_to_NCIt_Mapping" "version": { } }, "contentmapFrom": "NCI_Thesaurus-17.06d",{ "hrefuri": "httpshttp://lexevscts2www.nciw3.nih.govorg/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d" ns/ma-ont#MA:0000004", }"namespace": "MA", "codeSystemname": {"MA:0000004" "content": "NCI_Thesaurus"}, "uri"href": "httphttps://ncicblexevscts2.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#"lexevscts2/map/MA_to_NCIt_Mapping/version/MA_to_NCIt_Mapping-1.0/entry/MA:MA%253A0000004", } "resourceName": "MA:MA%253A0000004" } } ], "complete": "PARTIAL", "numEntries": 53, "next": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurusmap/MA_to_NCIt_Mapping/version/17.06d/entity/C3399/targetofMA_to_NCIt_Mapping-1.0/entries?page=1&format=json&maxtoreturn=53", "heading": { "resourceRoot": "https://lexevscts2.nci.nih.gov/lexevscts2/", "resourceURI": "codesystem/NCI_Thesaurusmap/MA_to_NCIt_Mapping/version/17.06d/entity/C3399/targetofMA_to_NCIt_Mapping-1.0/entries", "parameter": [ { "arg": "maxtoreturn", "val": "53" }, { "arg": "format", "val": "json" } ], "accessDate": "2017-08-04T17:2128:4742.508923-04:00" } } } |
Map
...
Entry
Restrict to/from entity code system
Map Version Summaries
Returns a list of summaries of a all code system maps on page at a time (With the option of choosing page place and moving iteration to the next page)
Code Block |
---|
http://<base url>/mapversions/map/MA_to_NCIt_Mapping/version/MA_to_NCIt_Mapping-1.0/entry/MA:MA%253A0000002?format=json |
Output
Code Block | ||
---|---|---|
| ||
{ "MapVersionDirectoryMapEntryMsg": { "entry": [ { "mapVersionNameprocessingRule": "MA_to_NCIt_Mapping-1.0", "versionOf": { "content": "MA_to_NCIt_Mapping", ALL_MATCHES", "uri": "MA_to_NCIt_Mapping", "href": "https://lexevscts2.nci.nih.gov/lexevscts2/map/MA_to_NCIt_Mapping" "assertedBy": { },"mapVersion": { "documentURIcontent": "MA_to_NCIt_Mapping-1.0", "abouthref": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/MA_to_NCIt_Mapping/version/1.0", "formalName": "MA_to_NCIt_Mapping"}, "resourceSynopsismap": { "valuecontent": "MA_to_NCIt_Mapping" , }, "href": "https://lexevscts2.nci.nih.gov/lexevscts2/map/MA_to_NCIt_Mapping/version/MA_to_NCIt_Mapping-1.0" }, {} "mapVersionName": "GO_to_NCIt_Mapping-1.1"}, "versionOfmapFrom": { "contenturi": "GO_to_NCIt_Mappinghttp://www.w3.org/ns/ma-ont#MA:0000002", "urinamespace": "GO_to_NCIt_MappingMA", "hrefname": "https://lexevscts2.nci.nih.gov/lexevscts2/map/GO_to_NCIt_MappingMA:0000002" }, "documentURImapSet": "GO_to_NCIt_Mapping", [ "about": "GO_to_NCIt_Mapping", { "formalNameprocessingRule": "GO_to_NCIt_MappingALL_MATCHES", "resourceSynopsisentryOrder": {1, "valuemapTarget": "GO_to_NCIt_Mapping" [ }, { "href": "https://lexevscts2.nci.nih.gov/lexevscts2/map/GO_to_NCIt_Mapping/version/GO_to_NCIt_Mapping-1.1" "entryOrder": }1, { "mapVersionNamemapTo": "NCIt_to_ChEBI_Mapping-1.0",{ "versionOf": { "contenturi": "NCIt_to_ChEBI_Mapping", http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#C32696", "urinamespace": "urn:oid:NCIt_to_ChEBI_MappingNCI_Thesaurus", "href "name": "https://lexevscts2.nci.nih.gov/lexevscts2/map/NCIt_to_ChEBI_Mapping" C32696" }, } "documentURI": "urn:oid:NCIt_to_ChEBI_Mapping", "about": "urn:oid:NCIt_to_ChEBI_Mapping", } "formalName": "NCIt_to_ChEBI_Mapping", ] "resourceSynopsis": { } ], "valueentryState": "NCIt_to_ChEBI_MappingACTIVE" }, },"heading": { "hrefresourceRoot": "https://lexevscts2.nci.nih.gov/lexevscts2/", "resourceURI": "map/NCItMA_to_ChEBINCIt_Mapping/version/NCItMA_to_ChEBINCIt_Mapping-1.0/entry/MA:MA%3A0000002", },"parameter": [ { "mapVersionNamearg": "PDQ_2016_07_31_TO_NCI_2016_10E-2016_07_31format", "versionOfval": {"json" } "content": "PDQ_2016_07_31_TO_NCI_2016_10E", ], "uriaccessDate": "urn:oid:CL512803.PDQ.NCI",2017-08-07T11:08:54.296-04:00" } } } |
Map Version Query
Returns a range of Maps for a text match on the resourceSynopsis.
Code Block |
---|
http://<base url>/mapversions?matchvalue=ncit&filtercomponent=resourceSynopsis&format=json |
Output
Code Block | ||||
---|---|---|---|---|
| ||||
{ "href": "https://lexevscts2.nci.nih.gov/lexevscts2/map/PDQ_2016_07_31_TO_NCI_2016_10E" "MapVersionDirectory": { },"entry": [ "documentURI": "urn:oid:CL512803.PDQ.NCI",{ "aboutmapVersionName": "urn:oid:CL512803.PDQ.NCIMA_to_NCIt_Mapping-1.0", "formalNameversionOf": "PDQ_2016_07_31_TO_NCI_2016_10E",{ "hrefcontent": "https://lexevscts2.nci.nih.gov/lexevscts2/map/PDQ_2016_07_31_TO_NCI_2016_10E/version/PDQ_2016_07_31_TO_NCI_2016_10E-2016_07_31" }, MA_to_NCIt_Mapping", { "mapVersionNameuri": "SNOMEDCTMA_USto_2016_09_01_TO_ICD10_2010-20160901NCIt_Mapping", "versionOfhref": {"https://lexevscts2.nci.nih.gov/lexevscts2/map/MA_to_NCIt_Mapping" "content": "SNOMEDCT_US_2016_09_01_TO_ICD10_2010"}, "uridocumentURI": "urn:oid:C3645687.SNOMEDCT_US.ICD10MA_to_NCIt_Mapping", "hrefabout": "https://lexevscts2.nci.nih.gov/lexevscts2/map/SNOMEDCT_US_2016_09_01_TO_ICD10_2010"MA_to_NCIt_Mapping", }"formalName": "MA_to_NCIt_Mapping", "documentURIresourceSynopsis": "urn:oid:C3645687.SNOMEDCT_US.ICD10", { "aboutvalue": "urn:oid:C3645687.SNOMEDCT_US.ICD10",MA_to_NCIt_Mapping" "formalName": "SNOMEDCT_US_2016_09_01_TO_ICD10_2010"}, "href": "https://lexevscts2.nci.nih.gov/lexevscts2/map/SNOMEDCTMA_USto_2016_09_01_TO_ICD10_2010NCIt_Mapping/version/SNOMEDCTMA_USto_2016_09_01_TO_ICD10_2010-20160901NCIt_Mapping-1.0" }, { "mapVersionName": "SNOMEDCTGO_USto_2016_09_01_TO_ICD10CM_2014-20160901NCIt_Mapping-1.1", "versionOf": { "content": "SNOMEDCTGO_USto_2016_09_01_TO_ICD10CM_2014NCIt_Mapping", "uri": "urn:oid:C3645705.SNOMEDCT_US.ICD10CMGO_to_NCIt_Mapping", "href": "https://lexevscts2.nci.nih.gov/lexevscts2/map/SNOMEDCTGO_USto_2016_09_01_TO_ICD10CM_2014"NCIt_Mapping" }, "documentURI": "GO_to_NCIt_Mapping", }"about": "GO_to_NCIt_Mapping", "documentURIformalName": "urn:oid:C3645705.SNOMEDCT_US.ICD10CMGO_to_NCIt_Mapping", "aboutresourceSynopsis": "urn:oid:C3645705.SNOMEDCT_US.ICD10CM", { "formalNamevalue": "SNOMEDCTGO_USto_2016_09_01_TO_ICD10CM_2014"NCIt_Mapping" }, "href": "https://lexevscts2.nci.nih.gov/lexevscts2/map/SNOMEDCTGO_USto_2016_09_01_TO_ICD10CM_2014NCIt_Mapping/version/SNOMEDCTGO_USto_2016_09_01_TO_ICD10CM_2014-20160901NCIt_Mapping-1.1" }, { "mapVersionName": "NCIt_to_HGNCChEBI_Mapping-1.0", "versionOf": { "content": "NCIt_to_HGNCChEBI_Mapping", "uri": "urn:oid:NCIt_to_HGNCChEBI_Mapping", "href": "https://lexevscts2.nci.nih.gov/lexevscts2/map/NCIt_to_HGNCChEBI_Mapping" }, "documentURI": "urn:oid:NCIt_to_HGNCChEBI_Mapping", "about": "urn:oid:NCIt_to_HGNCChEBI_Mapping", "formalName": "NCIt_to_HGNCChEBI_Mapping", "resourceSynopsis": { "value": "NCIt_to_HGNCChEBI_Mapping" }, "href": "https://lexevscts2.nci.nih.gov/lexevscts2/map/NCIt_to_HGNCChEBI_Mapping/version/NCIt_to_HGNCChEBI_Mapping-1.0" }, { ], "mapVersionName": "NCIt_to_HGNC_Mapping-1.0", "complete "versionOf": { "content": "COMPLETENCIt_to_HGNC_Mapping", "numEntries "uri": 7"NCIt_to_HGNC_Mapping", "heading": { "resourceRoothref": "https://lexevscts2.nci.nih.gov/lexevscts2/",map/NCIt_to_HGNC_Mapping" "resourceURI": "mapversions", }, "parameter": [ {"documentURI": "NCIt_to_HGNC_Mapping", "argabout": "formatNCIt_to_HGNC_Mapping", "valformalName": "json"NCIt_to_HGNC_Mapping", } "resourceSynopsis": { ], "accessDatevalue": "2017-08-04T17:23:10.907-04:00" NCIt_to_HGNC_Mapping" } } } |
Map Version Read
Returns a specific map version for a given map version resource synopsis
Code Block |
---|
http://<base url>/map/MA_to_NCIt_Mapping/version/MA_to_NCIt_Mapping-1.0?format=json |
Output
Code Block | ||
---|---|---|
| ||
{ "MapVersionMsg": { }, "mapVersion": { "mapVersionNamehref": "MAhttps://lexevscts2.nci.nih.gov/lexevscts2/map/NCIt_to_HGNC_Mapping/version/NCIt_to_HGNC_Mapping-1.0", "versionOf": {} ], "contentcomplete": "MA_to_NCIt_MappingCOMPLETE", "numEntries": 4, "uriheading": "MA_to_NCIt_Mapping",{ "hrefresourceRoot": "https://lexevscts2.nci.nih.gov/lexevscts2/map/MA_to_NCIt_Mapping", }"resourceURI": "mapversions", "fromCodeSystemVersionparameter": {[ "version": { "contentarg": "ma-nullmatchvalue", "hrefval": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/ma/version/nullncit" }, "codeSystem": { "contentarg": "mafiltercomponent", } "val": "resourceSynopsis" }, "toCodeSystemVersion": { "versionarg": {"format", "contentval": "NCI_Thesaurus-null",json" } ], "hrefaccessDate": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/"2017-08-07T11:10:40.849-04:00" } } } |
Map Versions
Of a single code system
Code Block |
---|
http://<base url>/map/GO_to_NCIt_Mapping/versions?format=json |
Output
Code Block | ||
---|---|---|
| ||
{ "MapVersionDirectory": { null" "entry": [ }, { "codeSystemmapVersionName": { "GO_to_NCIt_Mapping-1.1", "contentversionOf": "NCI_Thesaurus"{ } "content": "GO_to_NCIt_Mapping", }, "documentURIuri": "MAGO_to_NCIt_Mapping", "state "href": "FINAL",https://lexevscts2.nci.nih.gov/lexevscts2/map/GO_to_NCIt_Mapping" "sourceAndNotation": { }, "sourceAndNotationDescriptiondocumentURI": "LexEVS" GO_to_NCIt_Mapping", }, "about": "MAGO_to_NCIt_Mapping", "formalName": "MAGO_to_NCIt_Mapping", "keywordresourceSynopsis": [{ "MA "value": "GO_to_NCIt_Mapping" ], "resourceSynopsis": {}, "valuehref": "MAhttps://lexevscts2.nci.nih.gov/lexevscts2/map/GO_to_NCIt_Mapping/version/GO_to_NCIt_Mapping-1.1" }, ], "entryStatecomplete": "ACTIVECOMPLETE", }"numEntries": 1, "heading": { "resourceRoot": "https://lexevscts2.nci.nih.gov/lexevscts2/", "resourceURI": "map/MAGO_to_NCIt_Mapping/version/MA_to_NCIt_Mapping-1.0versions", "parameter": [ { "arg": "format", "val": "json" } ], "accessDate": "2017-08-04T1707T11:2514:5816.902315-04:00" } } } |
Map
...
Restriction to Role
To/From mapping example (Also MAP_FROM_ROLE)
Paginated entries of this Map Version
Code Block |
---|
http://<base url>/map/MA_to_NCIt_Mapping/version/MA_to_NCIt_Mapping-1.0/entries?maxtoreturn=3mapversions?codesystem=ICD10&codesystemsmaprole=MAP_TO_ROLE&format=json |
Output
Code Block | ||
---|---|---|
| ||
{ "MapEntryDirectoryMapVersionDirectory": { "entry": [ { "assertedBymapVersionName": {"SNOMEDCT_US_2016_09_01_TO_ICD10_2010-20160901", "mapVersionversionOf": { "content": "MA_to_NCIt_Mapping-1.0SNOMEDCT_US_2016_09_01_TO_ICD10_2010", "uri": "urn:oid:C3645687.SNOMEDCT_US.ICD10", "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/MA_to_NCIt_Mapping/version/1.0map/SNOMEDCT_US_2016_09_01_TO_ICD10_2010" }, }, "documentURI": "urn:oid:C3645687.SNOMEDCT_US.ICD10", "map": { "about": "urn:oid:C3645687.SNOMEDCT_US.ICD10", "contentformalName": "MA_to_NCIt_MappingSNOMEDCT_US_2016_09_01_TO_ICD10_2010", "href": "https://lexevscts2.nci.nih.gov/lexevscts2/map/MA_to_NCIt_MappingSNOMEDCT_US_2016_09_01_TO_ICD10_2010/version/SNOMEDCT_US_2016_09_01_TO_ICD10_2010-20160901" } }], }, "complete": "COMPLETE", "numEntries": 1, "mapFromheading": { "uri"resourceRoot": "httphttps://wwwlexevscts2.nci.w3nih.orggov/nslexevscts2/ma-ont#MA:0000002", "namespace"resourceURI": "MAmapversions", "nameparameter": "MA:0000002"[ },{ "hrefarg": "https://lexevscts2.nci.nih.gov/lexevscts2/map/MA_to_NCIt_Mapping/version/MA_to_NCIt_Mapping-1.0/entry/MA:MA%253A0000002codesystem", "resourceNameval": "MA:MA%253A0000002ICD10" }, {}, "assertedBy": { "mapVersionarg": { "codesystemsmaprole", "contentval": "MAMAP_to_NCIt_Mapping-1.0",TO_ROLE" }, "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/MA_to_NCIt_Mapping/version/1.0" { }, "arg": "format", "map": { "val": "json" "content": "MA_to_NCIt_Mapping",} ], "hrefaccessDate": "https://lexevscts2.nci.nih.gov/lexevscts2/map/MA_to_NCIt_Mapping2017-08-07T11:23:41.341-04:00" } } } |
Map To/From or Both
Map to or from an entity or use MAP_FROM_BOTH.
Code Block |
---|
http://<base url>/mapversions?entity=22298006&entitiesmaprole=MAP_FROM_ROLE&format=json |
Output
Code Block | ||
---|---|---|
| ||
{ "MapVersionDirectory": { } "entry": [ },{ "mapFrommapVersionName": { "SNOMEDCT_US_2016_09_01_TO_ICD10_2010-20160901", "uriversionOf": "http://www.w3.org/ns/ma-ont#MA:0000003",{ "namespacecontent": "MASNOMEDCT_US_2016_09_01_TO_ICD10_2010", "nameuri": "MA:0000003"urn:oid:C3645687.SNOMEDCT_US.ICD10", }, "href": "https://lexevscts2.nci.nih.gov/lexevscts2/map/MASNOMEDCT_US_to2016_NCIt_Mapping/version/MA_to_NCIt_Mapping-1.0/entry/MA:MA%253A0000003", "resourceName": "MA:MA%253A0000003" 09_01_TO_ICD10_2010" }, { "assertedBydocumentURI": {"urn:oid:C3645687.SNOMEDCT_US.ICD10", "mapVersionabout": { "urn:oid:C3645687.SNOMEDCT_US.ICD10", "content"formalName": "MA_to_NCIt_Mapping-1.0SNOMEDCT_US_2016_09_01_TO_ICD10_2010", "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/MA_to_NCIt_Mapping/version/1.0" map/SNOMEDCT_US_2016_09_01_TO_ICD10_2010/version/SNOMEDCT_US_2016_09_01_TO_ICD10_2010-20160901" }, "map": { "content"mapVersionName": "MA_to_NCIt_MappingSNOMEDCT_US_2016_09_01_TO_ICD10CM_2014-20160901", "href"versionOf": "https://lexevscts2.nci.nih.gov/lexevscts2/map/MA_to_NCIt_Mapping"{ } "content": "SNOMEDCT_US_2016_09_01_TO_ICD10CM_2014", }, "mapFromuri": {"urn:oid:C3645705.SNOMEDCT_US.ICD10CM", "urihref": "httphttps://wwwlexevscts2.nci.w3nih.orggov/lexevscts2/ns/ma-ont#MA:0000004",map/SNOMEDCT_US_2016_09_01_TO_ICD10CM_2014" }, "namespace "documentURI": "MAurn:oid:C3645705.SNOMEDCT_US.ICD10CM", "nameabout": "MA:0000004"urn:oid:C3645705.SNOMEDCT_US.ICD10CM", }"formalName": "SNOMEDCT_US_2016_09_01_TO_ICD10CM_2014", "href": "https://lexevscts2.nci.nih.gov/lexevscts2/map/MA_to_NCIt_Mapping/version/MA_to_NCIt_Mapping-1.0/entry/MA:MA%253A0000004",SNOMEDCT_US_2016_09_01_TO_ICD10CM_2014/version/SNOMEDCT_US_2016_09_01_TO_ICD10CM_2014-20160901" "resourceName": "MA:MA%253A0000004"} ], } ]"complete": "COMPLETE", "completenumEntries": "PARTIAL"2, "numEntriesheading": 3, { "nextresourceRoot": "https://lexevscts2.nci.nih.gov/lexevscts2/map/MA_to_NCIt_Mapping/version/MA_to_NCIt_Mapping-1.0/entries?page=1&format=json&maxtoreturn=3", ", "resourceURI": "mapversions", "headingparameter": [ { "resourceRoot "arg": "https://lexevscts2.nci.nih.gov/lexevscts2/entity", "resourceURI "val": "map/MA_to_NCIt_Mapping/version/MA_to_NCIt_Mapping-1.0/entries", 22298006" "parameter": [ }, { "arg": "maxtoreturnentitiesmaprole", "val": "3MAP_FROM_ROLE" }, { "arg": "format", "val": "json" } ], "accessDate": "2017-08-04T1707T11:2829:4207.923216-04:00" } } } |
Map Entry
ResolvedValueSet Summaries
Returns all resolved value set entries with the option to page. (Place number or iteration are both possible on pagination.)Restrict to/from entity code system
Code Block |
---|
http://<base url>/map/MA_to_NCIt_Mapping/version/MA_to_NCIt_Mapping-1.0/entry/MA:MA%253A0000002?resolvedvaluesets?maxtoreturn=3&format=json |
Output
Code Block | ||
---|---|---|
| ||
{ "MapEntryMsgResolvedValueSetDirectory": { "entry": [ { "processingRulehref": "ALL_MATCHEShttps://lexevscts2.nci.nih.gov/lexevscts2/valueset/CDISC Questionnaire Terminology/definition/aa5e7b3f/resolution/1", "assertedByresolvedValueSetURI": {"http://evs.nci.nih.gov/valueset/C100110", "mapVersionresolvedHeader": { "contentresolutionOf": "MA_to_NCIt_Mapping-1.0", { "hrefvalueSetDefinition": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/MA_to_NCIt_Mapping/version/1.0"{ }, "content": "aa5e7b3f", "map": { "contenturi": "MA_to_NCIt_Mappinghttp://evs.nci.nih.gov/valueset/C100110", "href": "https://lexevscts2.nci.nih.gov/lexevscts2/map/MA_to_NCIt_Mapping" /valueset/CDISC Questionnaire Terminology/definition/aa5e7b3f" }, }, "mapFromvalueSet": { "uricontent": "http://www.w3.org/ns/ma-ont#MA:0000002",CDISC Questionnaire Terminology" "namespace": "MA", } "name": "MA:0000002" }, "mapSet "resolvedUsingCodeSystem": [ { "processingRule": "ALL_MATCHES", "version": { "entryOrder": 1, "mapTargetcontent": [ "NCI_Thesaurus-17.06d" {}, "entryOrdercodeSystem": 1, { "mapTocontent": {"NCI_Thesaurus", "uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#C32696owl#", } "namespace": "NCI_Thesaurus", } "name": "C32696" ] } }, { } "href": "https://lexevscts2.nci.nih.gov/lexevscts2/valueset/CDISC Questionnaire Category Terminology/definition/f8af9058/resolution/1", ] "resolvedValueSetURI": "http://evs.nci.nih.gov/valueset/C100129", } "resolvedHeader": { ], "entryStateresolutionOf": "ACTIVE"{ }, "headingvalueSetDefinition": { "resourceRoot "content": "https://lexevscts2.nci.nih.gov/lexevscts2/f8af9058", "resourceURI "uri": "map/MA_to_NCIt_Mapping/version/MA_to_NCIt_Mapping-1.0/entry/MA:MA%3A0000002", http://evs.nci.nih.gov/valueset/C100129", "parameter": [ "href": "https://lexevscts2.nci.nih.gov/lexevscts2/valueset/CDISC Questionnaire Category Terminology/definition/f8af9058" { }, "arg": "format", "valvalueSet": "json"{ } ], "content": "CDISC Questionnaire Category Terminology" "accessDate": "2017-08-07T11:08:54.296-04:00" } } } |
Map Version Query
Returns a range of Maps for a text match on the resourceSynopsis
Code Block |
---|
http://<base url>/mapversions?matchvalue=ncit&filtercomponent=resourceSynopsis&format=json |
Output
Code Block | ||||
---|---|---|---|---|
| ||||
{ "MapVersionDirectory": { } "entry": [ }, { "mapVersionNameresolvedUsingCodeSystem": "MA_to_NCIt_Mapping-1.0", [ "versionOf": { "content": "MA_to_NCIt_Mapping", "version": { "uri": "MA_to_NCIt_Mapping", "hrefcontent": "https://lexevscts2.nci.nih.gov/lexevscts2/map/MA_to_NCIt_MappingNCI_Thesaurus-17.06d" }, "documentURI": "MA_to_NCIt_Mapping", }, "about": "MA_to_NCIt_Mapping", "formalNamecodeSystem": "MA_to_NCIt_Mapping", { "resourceSynopsis": { "valuecontent": "MA_to_NCIt_Mapping"NCI_Thesaurus", }, "hrefuri": "httpshttp://lexevscts2ncicb.nci.nih.gov/lexevscts2xml/map/MA_to_NCIt_Mapping/version/MA_to_NCIt_Mapping-1.0owl/EVS/Thesaurus.owl#" }, { } "mapVersionName": "GO_to_NCIt_Mapping-1.1", } "versionOf": { ] "content": "GO_to_NCIt_Mapping", } "uri": "GO_to_NCIt_Mapping" }, { "href": "https://lexevscts2.nci.nih.gov/lexevscts2/map/GO_to_NCIt_Mapping"valueset/CDISC SDTM Relationship to Subject Terminology/definition/986819bd/resolution/1", }"resolvedValueSetURI": "http://evs.nci.nih.gov/valueset/C100130", "documentURIresolvedHeader": { "GO_to_NCIt_Mapping", "resolutionOf": { "aboutvalueSetDefinition": "GO_to_NCIt_Mapping", { "formalName": "GO_to_NCIt_Mapping", "content": "986819bd", "resourceSynopsis": { "valueuri": "GO_to_NCIt_Mapping"http://evs.nci.nih.gov/valueset/C100130", }, "href": "https://lexevscts2.nci.nih.gov/lexevscts2/map/GO_to_NCIt_Mapping/version/GO_to_NCIt_Mapping-1.1" valueset/CDISC SDTM Relationship to Subject Terminology/definition/986819bd" }, "valueSet": { "mapVersionNamecontent": "NCIt_to_ChEBI_Mapping-1.0",CDISC SDTM Relationship to Subject Terminology" } "versionOf": { }, "contentresolvedUsingCodeSystem": "NCIt_to_ChEBI_Mapping", [ "uri": "urn:oid:NCIt_to_ChEBI_Mapping", { "hrefversion": "https://lexevscts2.nci.nih.gov/lexevscts2/map/NCIt_to_ChEBI_Mapping"{ }, "documentURIcontent": "urn:oid:NCIt_to_ChEBI_Mapping",NCI_Thesaurus-17.06d" "about": "urn:oid:NCIt_to_ChEBI_Mapping", }, "formalName": "NCIt_to_ChEBI_Mapping", "resourceSynopsiscodeSystem": { "value "content": "NCIt_to_ChEBI_Mapping"NCI_Thesaurus", }, "hrefuri": "httpshttp://lexevscts2ncicb.nci.nih.gov/lexevscts2xml/map/NCIt_to_ChEBI_Mapping/version/NCIt_to_ChEBI_Mapping-1.0" owl/EVS/Thesaurus.owl#" }, {} "mapVersionName": "NCIt_to_HGNC_Mapping-1.0", ] "versionOf": { } } ], "contentcomplete": "NCIt_to_HGNC_MappingPARTIAL", "numEntries": 3, "urinext": "NCIt_to_HGNC_Mappinghttps://lexevscts2.nci.nih.gov/lexevscts2/resolvedvaluesets?page=1&format=json&maxtoreturn=3", "heading": { "hrefresourceRoot": "https://lexevscts2.nci.nih.gov/lexevscts2/map/NCIt_to_HGNC_Mapping", }, "resourceURI": "resolvedvaluesets", "documentURIparameter": "NCIt_to_HGNC_Mapping", [ { "about": "NCIt_to_HGNC_Mapping", "formalNamearg": "NCIt_to_HGNC_Mappingmaxtoreturn", "resourceSynopsisval": {"3" }, "value": "NCIt_to_HGNC_Mapping" { }, "hrefarg": "https://lexevscts2.nci.nih.gov/lexevscts2/map/NCIt_to_HGNC_Mapping/version/NCIt_to_HGNC_Mapping-1.0" format", } ], "val": "json" "complete": "COMPLETE", } "numEntries": 4, "heading": { ], "resourceRootaccessDate": "https://lexevscts2.nci.nih.gov/lexevscts2/",2017-08-07T11:32:07.923-04:00" } "resourceURI": "mapversions", } } |
ResolvedValueSet Query
Returns a set of Resolved Value Sets based on a text match against resourceName component
Code Block |
---|
http://<base url>/resolvedvaluesets?matchvalue=imputation&filtercomponent=resourceName&format=json |
Output
Code Block | ||
---|---|---|
| ||
{ "ResolvedValueSetDirectory": { "parameterentry": [ { "arghref": "matchvalue", https://lexevscts2.nci.nih.gov/lexevscts2/valueset/CDISC ADaM Date Imputation Flag Terminology/definition/2856f3ed/resolution/1", "valresolvedValueSetURI": "ncit" }http://evs.nci.nih.gov/valueset/C81223", { "arg"resolvedHeader": "filtercomponent",{ "valresolutionOf": "resourceSynopsis"{ }, "valueSetDefinition": { { "argcontent": "format2856f3ed", "val": "json" "uri": "http://evs.nci.nih.gov/valueset/C81223", } ], "accessDatehref": "2017-08-07T11:10:40.849-04:00" } } } |
Map Versions
Of a single code system
Code Block |
---|
http://<base url>/map/GO_to_NCIt_Mapping/versions?format=json |
Output
Code Block | ||
---|---|---|
| ||
{ "MapVersionDirectory": { https://lexevscts2.nci.nih.gov/lexevscts2/valueset/CDISC ADaM Date Imputation Flag Terminology/definition/2856f3ed" "entry": [ }, { "mapVersionNamevalueSet": "GO_to_NCIt_Mapping-1.1", { "versionOf": { "content": "CDISC ADaM Date Imputation Flag Terminology" "content": "GO_to_NCIt_Mapping", } "uri": "GO_to_NCIt_Mapping"}, "hrefresolvedUsingCodeSystem": "https://lexevscts2.nci.nih.gov/lexevscts2/map/GO_to_NCIt_Mapping"[ }, { "documentURI": "GO_to_NCIt_Mapping", "aboutversion": "GO_to_NCIt_Mapping",{ "formalName": "GO_to_NCIt_Mapping", "resourceSynopsiscontent": { "NCI_Thesaurus-17.06d" "value": "GO_to_NCIt_Mapping" }, }, "hrefcodeSystem": "https://lexevscts2.nci.nih.gov/lexevscts2/map/GO_to_NCIt_Mapping/version/GO_to_NCIt_Mapping-1.1" { } ], "completecontent": "COMPLETENCI_Thesaurus", "numEntries": 1, "heading": { "resourceRooturi": "httpshttp://lexevscts2ncicb.nci.nih.gov/xml/owl/lexevscts2EVS/Thesaurus.owl#", "resourceURI": "map/GO_to_NCIt_Mapping/versions", "parameter": [ } { } "arg": "format", ] "val": "json" } }, ], { "accessDatehref": "2017-08-07T11:14:16.315-04:00"https://lexevscts2.nci.nih.gov/lexevscts2/valueset/CDISC ADaM Time Imputation Flag Terminology/definition/583c0762/resolution/1", } } } |
Map Restriction to Role
To/From mapping example (Also MAP_FROM_ROLE)
Code Block |
---|
http://<base url>/mapversions?codesystem=ICD10&codesystemsmaprole=MAP_TO_ROLE&format=json |
Output
Code Block | ||
---|---|---|
| ||
{ "MapVersionDirectoryresolvedValueSetURI": {"http://evs.nci.nih.gov/valueset/C81226", "entry": [ "resolvedHeader": { { "mapVersionName": "SNOMEDCT_US_2016_09_01_TO_ICD10_2010-20160901", "resolutionOf": { "versionOf "valueSetDefinition": { "content": "SNOMEDCT_US_2016_09_01_TO_ICD10_2010583c0762", "uri": "urn:oid:C3645687.SNOMEDCT_US.ICD10http://evs.nci.nih.gov/valueset/C81226", "href": "https://lexevscts2.nci.nih.gov/lexevscts2/map/SNOMEDCT_US_2016_09_01_TO_ICD10_2010/valueset/CDISC ADaM Time Imputation Flag Terminology/definition/583c0762" }, }, "documentURI": "urn:oid:C3645687.SNOMEDCT_US.ICD10", "aboutvalueSet": "urn:oid:C3645687.SNOMEDCT_US.ICD10",{ "formalName": "SNOMEDCT_US_2016_09_01_TO_ICD10_2010", "content": "CDISC ADaM Time Imputation "href":Flag "https://lexevscts2.nci.nih.gov/lexevscts2/map/SNOMEDCT_US_2016_09_01_TO_ICD10_2010/version/SNOMEDCT_US_2016_09_01_TO_ICD10_2010-20160901" Terminology" } ],} "complete": "COMPLETE", "numEntries": 1}, "heading": { "resourceRootresolvedUsingCodeSystem": "https://lexevscts2.nci.nih.gov/lexevscts2/",[ "resourceURI": "mapversions", { "parameter": [ { "version": { "arg": "codesystem", "valcontent": "ICD10NCI_Thesaurus-17.06d" }, }, { "argcodeSystem": "codesystemsmaprole", { "val "content": "MAPNCI_TO_ROLEThesaurus", }, {"uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#" "arg": "format", } "val": "json" } } ], "accessDate": "2017-08-07T11:23:41.341-04:00" } } } } |
Map To/From or Both
Map to or from an entity or use MAP_FROM_BOTH
Code Block |
---|
http://<base url>/mapversions?entity=22298006&entitiesmaprole=MAP_FROM_ROLE&format=json |
Output
Code Block | ||
---|---|---|
| ||
{ ], "MapVersionDirectorycomplete": {"COMPLETE", "entrynumEntries": [ 2, "heading": { { "resourceRoot": "https://lexevscts2.nci.nih.gov/lexevscts2/", "mapVersionNameresourceURI": "SNOMEDCT_US_2016_09_01_TO_ICD10_2010-20160901resolvedvaluesets", "versionOfparameter": {[ "content": "SNOMEDCT_US_2016_09_01_TO_ICD10_2010",{ "uriarg": "urn:oid:C3645687.SNOMEDCT_US.ICD10matchvalue", "hrefval": "https://lexevscts2.nci.nih.gov/lexevscts2/map/SNOMEDCT_US_2016_09_01_TO_ICD10_2010imputation" }, "documentURI": "urn:oid:C3645687.SNOMEDCT_US.ICD10",{ "about": "urn:oid:C3645687.SNOMEDCT_US.ICD10", "formalNamearg": "SNOMEDCT_US_2016_09_01_TO_ICD10_2010filtercomponent", "href": "https://lexevscts2.nci.nih.gov/lexevscts2/map/SNOMEDCT_US_2016_09_01_TO_ICD10_2010/version/SNOMEDCT_US_2016_09_01_TO_ICD10_2010-20160901 "val": "resourceName" }, { "mapVersionNamearg": "SNOMEDCT_US_2016_09_01_TO_ICD10CM_2014-20160901format", "versionOfval": {"json" } "content": "SNOMEDCT_US_2016_09_01_TO_ICD10CM_2014", ], "uriaccessDate": "urn:oid:C3645705.SNOMEDCT_US.ICD10CM", 2017-08-07T11:36:37.852-04:00" } } } |
ResolvedValueSetDefinition Resolution
Returns the entries from terminology values in this value set.
Code Block |
---|
http://<base url>/valueset/CDISC ADaM Date Imputation Flag Terminology/definition/2856f3ed/resolution/1?format=json |
Output
Code Block | ||
---|---|---|
| ||
{ "hrefIteratableResolvedValueSet": "https://lexevscts2.nci.nih.gov/lexevscts2/map/SNOMEDCT_US_2016_09_01_TO_ICD10CM_2014"{ "resolutionInfo": { },"resolutionOf": { "documentURIvalueSetDefinition": "urn:oid:C3645705.SNOMEDCT_US.ICD10CM", { "aboutcontent": "urn:oid:C3645705.SNOMEDCT_US.ICD10CM2856f3ed", "formalNameuri": "SNOMEDCT_US_2016_09_01_TO_ICD10CM_2014http://evs.nci.nih.gov/valueset/C81223", "href": "https://lexevscts2.nci.nih.gov/lexevscts2/map/SNOMEDCT_US_2016_09_01_TO_ICD10CM_2014/version/SNOMEDCT_US_2016_09_01_TO_ICD10CM_2014-20160901" valueset/CDISC ADaM Date Imputation Flag Terminology/definition/2856f3ed" }, ], "completevalueSet": "COMPLETE", { "numEntries": 2, "headingcontent": { "CDISC ADaM Date Imputation Flag Terminology" "resourceRoot": "https://lexevscts2.nci.nih.gov/lexevscts2/", } "resourceURI": "mapversions"}, "parameterresolvedUsingCodeSystem": [ { "argversion": "entity", { "valcontent": "22298006NCI_Thesaurus-17.06d" }, {}, "argcodeSystem": "entitiesmaprole",{ "valcontent": "MAPNCI_FROM_ROLEThesaurus", }, "uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#" { } "arg": "format", } ] "val": "json" }, "entry": [ } { ], "accessDateuri": "2017-08-07T11:29:07.216-04:00"http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#C81210", } } } |
ResolvedValueSet Summaries
Returns all resolved value set entries with the option to page. (Place number or iteration are both possible on pagination.)
Code Block |
---|
http://<base url>/resolvedvaluesets?maxtoreturn=3&format=json |
Output
Code Block | ||
---|---|---|
| ||
|
ResolvedValueSet Query
Returns a set of Resolved Value Sets based on a text match against resourceName component
Code Block |
---|
http://<base url>/resolvedvaluesets?matchvalue=imputation&filtercomponent=resourceName |
Output
Code Block | ||
---|---|---|
| ||
<ResolvedValueSetDirectory xmlns="http://schema.omg.org/spec/CTS2/1.0/ValueSetDefinition" xmlns:core="http://schema.omg.org/spec/CTS2/1.0/Core"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schema.omg.org/spec/CTS2/1.0/ValueSetDefinition http://www.omg.org/spec/cts2/201206/valuesetdefinition/ValueSetDefinition.xsd" complete="COMPLETE" numEntries="2"> <core:heading> <core:resourceRoot>resolvedvaluesets</core:resourceRoot> <core:resourceURI>http://<base url>/resolvedvaluesets</core:resourceURI> <core:parameter arg="filtercomponent"> <core:val>resourceName</core:val> </core:parameter> <core:parameter arg="matchvalue"> <core:val>imputation</core:val> </core:parameter> <core:accessDate>2013-09-13T16:28:10.888-05:00</core:accessDate> </core:heading> <entry resolvedValueSetURI="http://ncit:C81223" href="http://<base url>/valueset/CDISC ADaM Date Imputation Flag Terminology/definition/c38261e5/resolution/1"> <resolvedHeader> <resolutionOf> <core:valueSetDefinition uri="http://ncit:C81223" href="http://<base url>/valueset/CDISC ADaM Date Imputation Flag Terminology/definition/c38261e5">c38261e5</core:valueSetDefinition> <core:valueSet>CDISC ADaM Date Imputation Flag Terminology</core:valueSet> </resolutionOf> </resolvedHeader> </entry> <entry resolvedValueSetURI="http://ncit:C81226" href="http://<base url>/valueset/CDISC ADaM Time Imputation Flag Terminology/definition/b3e8956a/resolution/1"> <resolvedHeader> <resolutionOf> <core:valueSetDefinition uri="http://ncit:C81226" href="http://<base url>/valueset/CDISC ADaM Time Imputation Flag Terminology/definition/b3e8956a">b3e8956a</core:valueSetDefinition> <core:valueSet>CDISC ADaM Time Imputation Flag Terminology</core:valueSet> </resolutionOf> </resolvedHeader> </entry> </ResolvedValueSetDirectory> |
ResolvedValueSetDefinition Resolution
Returns the entries from terminology values in this value set
Code Block |
---|
http://<base url>/valueset/NICHD Newborn Screening Terminology/definition/4125c982/resolution/1 |
Output
Code Block | ||
---|---|---|
| ||
<IteratableResolvedValueSet xmlns="http://schema.omg.org/spec/CTS2/1.0/ValueSetDefinition" xmlns:core="http://schema.omg.org/spec/CTS2/1.0/Core"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schema.omg.org/spec/CTS2/1.0/ValueSetDefinition http://www.omg.org/spec/cts2/201206/valuesetdefinition/ValueSetDefinition.xsd" complete="PARTIAL" numEntries="50" next="http://<base url>/valueset/NICHD Newborn Screening Terminology/definition/4125c982/resolution/1?page=1&maxtoreturn=50">
<core:heading>
<core:resourceRoot>
valueset/NICHD Newborn Screening Terminology/definition/4125c982/resolution/1
</core:resourceRoot>
<core:resourceURI>
http://<base url>/valueset/NICHD Newborn Screening Terminology/definition/4125c982/resolution/1
</core:resourceURI>
<core:accessDate>2013-09-13T16:54:52.357-05:00</core:accessDate>
</core:heading>
<resolutionInfo>
<resolutionOf>
<core:valueSetDefinition uri="http://ncit:C89506" href="http://<base url>/valueset/NICHD Newborn Screening Terminology/definition/4125c982">4125c982</core:valueSetDefinition>
<core:valueSet>NICHD Newborn Screening Terminology</core:valueSet>
</resolutionOf>
</resolutionInfo>
<entry uri="http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#C16847" href="http://<base url>/codesystem/NCI_Thesaurus/version/10.07e/entity/NCI_Thesaurus:C16847">
<core:namespace>NCI_Thesaurus</core:namespace>
<core:name>C16847</core:name>
<core:designation>Technique</core:designation>
</entry>
<entry uri="http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#C34816" href="http://<base url>/codesystem/NCI_Thesaurus/version/10.07e/entity/NCI_Thesaurus:C34816">
<core:namespace>NCI_Thesaurus</core:namespace>
<core:name>C34816</core:name>
<core:designation>Congenital Metabolic Disorder</core:designation>
</entry>
<entry uri="http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#C81178" href="http://<base url>/codesystem/NCI_Thesaurus/version/10.07e/entity/NCI_Thesaurus:C81178">
<core:namespace>NCI_Thesaurus</core:namespace>
<core:name>C81178</core:name>
<core:designation>Newborn Screening</core:designation>
</entry>
<entry uri="http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#C50644" href="http://<base url>/codesystem/NCI_Thesaurus/version/10.07e/entity/NCI_Thesaurus:C50644">
<core:namespace>NCI_Thesaurus</core:namespace>
<core:name>C50644</core:name>
<core:designation>Lung Overinflation</core:designation>
</entry>
<entry uri="http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#C13235" href="http://<base url>/codesystem/NCI_Thesaurus/version/10.07e/entity/NCI_Thesaurus:C13235">
<core:namespace>NCI_Thesaurus</core:namespace>
<core:name>C13235</core:name>
<core:designation>Fetus</core:designation>
</entry>
|
"href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/NCI_Thesaurus:C81210",
"namespace": "NCI_Thesaurus",
"name": "C81210",
"designation": "Year Month Day Imputed"
},
{
"uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#C81211",
"href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/NCI_Thesaurus:C81211",
"namespace": "NCI_Thesaurus",
"name": "C81211",
"designation": "Month Day Imputed"
},
{
"uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#C81212",
"href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/NCI_Thesaurus/version/17.06d/entity/NCI_Thesaurus:C81212",
"namespace": "NCI_Thesaurus",
"name": "C81212",
"designation": "Day Imputed"
}
],
"complete": "COMPLETE",
"numEntries": 3,
"heading": {
"resourceRoot": "https://lexevscts2.nci.nih.gov/lexevscts2/",
"resourceURI": "valueset/CDISC ADaM Date Imputation Flag Terminology/definition/2856f3ed/resolution/1",
"parameter": [
{
"arg": "format",
"val": "json"
}
],
"accessDate": "2017-08-07T11:38:21.389-04:00"
}
}
}
|
CTS2 Bulk Term Download Extension
LexEVS 6.1 features a bulk download REST interface that is an extension to the LexEVS CTS2 service. It provides users with the ability to download entire term sets from a given coding scheme or map to a text file
Code Systems Bulk Download
Example
Map Bulk Download
Example
Parameters for Rest Call
URL:
- /lexevscts2/exporter/codingscheme or
- /lexevscts2/exporter/map
Parameters:
codingschemes or map - (Optional) CodingSchemes or map to include (comma-separated). Default: all
fields - (Optional) Content fields to output. Default: [code, namespace, description, codingschemename, codingschemeuri, codingschemeversion]
separator -(Optional) One character field separator. Default: |
filename - (Optional) Output file name. Default: terminology-bulk-download.txt
Scrollbar | ||
---|---|---|
|
Scrollbar