NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Wiki Markup
{scrollbar:icons=false}
h1. {page-info:title}
{section}
{column:width=75%}
{panel:title=Contents of this Page}
{toc:minLevel=2}
{panel}
{column}
{column}
{Include:LexEVS Code Pages to Include}
{column}
{section}

h2. LexEVS 6.0 Examples

Differences from the 5.0 examples include:
* The server name points to a different server at NCI where 6.0 is running
* org.LexGrid.concepts.Concept has changed to org.LexGrid.concepts.Entity

h3. Get CodingScheme details

{note:title=Note}This query may not work if the coding scheme in the query is not tagged as the "PRODUCTION" coding scheme.{note}

[http://lexevsapi60.nci.nih.gov/lexevsapi60/GetHTML?query=org.LexGrid.codingSchemes.CodingScheme&org.LexGrid.codingSchemes.CodingScheme&codingSchemeName=Zebrafish]

{code}http://lexevsapi60.nci.nih.gov/lexevsapi60/GetHTML?query=org.LexGrid.codingSchemes.CodingScheme&org.LexGrid.codingSchemes.CodingScheme&codingSchemeName=Zebrafish{code}

Note that you could also add a version to a URL targeting a specific load in LexEVS. The following non-working example show the form to target the 1.2_June_14_2010 version of the Zebrafish terminology.

{code}http://lexevsapi60.nci.nih.gov/lexevsapi60/GetHTML?query=org.LexGrid.codingSchemes.CodingScheme&org.LexGrid.codingSchemes.CodingScheme&codingSchemeName=Zebrafish&codingSchemeVersion=1.2_June_14_2010{code}

h3. Get Concept by Code

[http://lexevsapi60.nci.nih.gov/lexevsapi60/GetHTML?query=org.LexGrid.concepts.Entity&org.LexGrid.concepts.Entity\[@_entityCode=ZFA:0001234\]&codingSchemeName=Zebrafish]

{code}http://lexevsapi60.nci.nih.gov/lexevsapi60/GetHTML?query=org.LexGrid.concepts.Entity&org.LexGrid.concepts.Entity[@_entityCode=ZFA:0001234]&codingSchemeName=Zebrafish{code}

h3. Get Concept by Code with wildcard

[http://lexevsapi60.nci.nih.gov/lexevsapi60/GetHTML?query=org.LexGrid.concepts.Entity&org.LexGrid.concepts.Entity\[@_entityCode=ZFA:000123*\]&codingSchemeName=Zebrafish]

{code}http://lexevsapi60.nci.nih.gov/lexevsapi60/GetHTML?query=org.LexGrid.concepts.Entity&org.LexGrid.concepts.Entity[@_entityCode=ZFA:000123*]&codingSchemeName=Zebrafish{code}

h3. Get Concept by Code by EntityDescription

[http://lexevsapi60.nci.nih.gov/lexevsapi60/GetHTML?query=org.LexGrid.concepts.Entity,org.LexGrid.commonTypes.EntityDescription&org.LexGrid.commonTypes.EntityDescription\[@_content=heart\]&codingSchemeName=Zebrafish]

{code}http://lexevsapi60.nci.nih.gov/lexevsapi60/GetHTML?query=org.LexGrid.concepts.Entity,org.LexGrid.commonTypes.EntityDescription&org.LexGrid.commonTypes.EntityDescription[@_content=heart]&codingSchemeName=Zebrafish{code}

h3. Get Concept by Code by EntityDescription with wildcard

[http://lexevsapi60.nci.nih.gov/lexevsapi60/GetHTML?query=org.LexGrid.concepts.Entity,org.LexGrid.commonTypes.EntityDescription&org.LexGrid.commonTypes.EntityDescription\[@_content=he*rt*\]&codingSchemeName=Zebrafish]

{code}http://lexevsapi60.nci.nih.gov/lexevsapi60/GetHTML?query=org.LexGrid.concepts.Entity,org.LexGrid.commonTypes.EntityDescription&org.LexGrid.commonTypes.EntityDescription[@_content=he*rt*]&codingSchemeName=Zebrafish{code}

h3. Get Concept by Presentation

[http://lexevsapi60.nci.nih.gov/lexevsapi60/GetHTML?query=Concept,Presentation,Text&Text\[@_content=heart\]&codingSchemeName=Zebrafish]

{code}http://lexevsapi60.nci.nih.gov/lexevsapi60/GetHTML?query=Concept,Presentation,Text&Text[@_content=heart]&codingSchemeName=Zebrafish{code}

h3. Get Concept by Presentation with wildcard

[http://lexevsapi60.nci.nih.gov/lexevsapi60/GetHTML?query=Concept,Presentation,Text&Text\[@_content=heart*\]&codingSchemeName=Zebrafish]

{code}http://lexevsapi60.nci.nih.gov/lexevsapi60/GetHTML?query=Concept,Presentation,Text&Text[@_content=heart*]&codingSchemeName=Zebrafish{code}

h3. Get Concept by Definition with wildcard

[http://lexevsapi60.nci.nih.gov/lexevsapi60/GetHTML?query=Concept,Definition,Text&Text\[@_content=Bilateral%20groups%20of%20cells*\]&codingSchemeName=Zebrafish]

{code}http://lexevsapi60.nci.nih.gov/lexevsapi60/GetHTML?query=Concept,Definition,Text&Text[@_content=Bilateral%20groups%20of%20cells*]&codingSchemeName=Zebrafish{code}

h3. Show Presentations of a Concept

[http://lexevsapi60.nci.nih.gov/lexevsapi60/GetHTML?query=org.LexGrid.concepts.Presentation&org.LexGrid.concepts.Entity\[@_entityCode=ZFA:0001234\]&roleName=_presentationList&codingSchemeName=Zebrafish]

{code}http://lexevsapi60.nci.nih.gov/lexevsapi60/GetHTML?query=org.LexGrid.concepts.Presentation&org.LexGrid.concepts.Entity[@_entityCode=ZFA:0001234]&roleName=_presentationList&codingSchemeName=Zebrafish{code}

h3. Show Definitions of a Concept

[http://lexevsapi60.nci.nih.gov/lexevsapi60/GetHTML?query=org.LexGrid.concepts.Definition&org.LexGrid.concepts.Entity\[@_entityCode=ZFA:0001234\]&roleName=_definitionList&codingSchemeName=Zebrafish]

{code}http://lexevsapi60.nci.nih.gov/lexevsapi60/GetHTML?query=org.LexGrid.concepts.Definition&org.LexGrid.concepts.Entity[@_entityCode=ZFA:0001234]&roleName=_definitionList&codingSchemeName=Zebrafish{code}

h3. Show Supported Associations for a CodingScheme

[http://lexevsapi60.nci.nih.gov/lexevsapi60/GetHTML?query=org.LexGrid.naming.SupportedAssociation&org.LexGrid.naming.SupportedAssociation&codingSchemeName=Zebrafish]

{code}http://lexevsapi60.nci.nih.gov/lexevsapi60/GetHTML?query=org.LexGrid.naming.SupportedAssociation&org.LexGrid.naming.SupportedAssociation&codingSchemeName=Zebrafish{code}

h2. LexEVS 5.0 Examples

h3. Get CodingScheme details

[http://lexevsapi.nci.nih.gov/lexevsapi50/GetHTML?query=org.LexGrid.codingSchemes.CodingScheme&org.LexGrid.codingSchemes.CodingScheme&codingSchemeName=Zebrafish]

{code}http://lexevsapi.nci.nih.gov/lexevsapi50/GetHTML?query=org.LexGrid.codingSchemes.CodingScheme&org.LexGrid.codingSchemes.CodingScheme&codingSchemeName=Zebrafish{code}

Note that you could also add a version to a URL targeting a specific load in LexEVS. For example, you might use this if you wanted to target the 1.2_June_14_2010 version of the Zebrafish terminology.

{code}http://lexevsapi.nci.nih.gov/lexevsapi50/GetHTML?query=org.LexGrid.codingSchemes.CodingScheme&org.LexGrid.codingSchemes.CodingScheme&codingSchemeName=Zebrafish&codingSchemeVersion=1.2_June_14_2010{code}

h3. Get Concept by Code

[http://lexevsapi.nci.nih.gov/lexevsapi50/GetHTML?query=org.LexGrid.concepts.Concept&org.LexGrid.concepts.Concept\[@_entityCode=ZFA:0001234\]&codingSchemeName=Zebrafish]

{code}http://lexevsapi.nci.nih.gov/lexevsapi50/GetHTML?query=org.LexGrid.concepts.Concept&org.LexGrid.concepts.Concept[@_entityCode=ZFA:0001234]&codingSchemeName=Zebrafish{code}

h3. Get Concept by Code with wildcard

[http://lexevsapi.nci.nih.gov/lexevsapi50/GetHTML?query=org.LexGrid.concepts.Concept&org.LexGrid.concepts.Concept\[@_entityCode=ZFA:000123*\]&codingSchemeName=Zebrafish]

{code}http://lexevsapi.nci.nih.gov/lexevsapi50/GetHTML?query=org.LexGrid.concepts.Concept&org.LexGrid.concepts.Concept[@_entityCode=ZFA:000123*]&codingSchemeName=Zebrafish{code}

h3. Get Concept by Code by EntityDescription

[http://lexevsapi.nci.nih.gov/lexevsapi50/GetHTML?query=org.LexGrid.concepts.Concept,org.LexGrid.commonTypes.EntityDescription&org.LexGrid.commonTypes.EntityDescription\[@_content=heart\]&codingSchemeName=Zebrafish]

{code}http://lexevsapi.nci.nih.gov/lexevsapi50/GetHTML?query=org.LexGrid.concepts.Concept,org.LexGrid.commonTypes.EntityDescription&org.LexGrid.commonTypes.EntityDescription[@_content=heart]&codingSchemeName=Zebrafish{code}

h3. Get Concept by Code by EntityDescription with wildcard

[http://lexevsapi.nci.nih.gov/lexevsapi50/GetHTML?query=org.LexGrid.concepts.Concept,org.LexGrid.commonTypes.EntityDescription&org.LexGrid.commonTypes.EntityDescription\[@_content=he*rt*\]&codingSchemeName=Zebrafish]

{code}http://lexevsapi.nci.nih.gov/lexevsapi50/GetHTML?query=org.LexGrid.concepts.Concept,org.LexGrid.commonTypes.EntityDescription&org.LexGrid.commonTypes.EntityDescription[@_content=he*rt*]&codingSchemeName=Zebrafish{code}

h3. Get Concept by Presentation

[http://lexevsapi.nci.nih.gov/lexevsapi50/GetHTML?query=Concept,Presentation,Text&Text\[@_content=heart\]&codingSchemeName=Zebrafish]

{code}http://lexevsapi.nci.nih.gov/lexevsapi50/GetHTML?query=Concept,Presentation,Text&Text[@_content=heart]&codingSchemeName=Zebrafish{code}

h3. Get Concept by Presentation with wildcard

[http://lexevsapi.nci.nih.gov/lexevsapi50/GetHTML?query=Concept,Presentation,Text&Text\[@_content=heart*\]&codingSchemeName=Zebrafis]

{code}http://lexevsapi.nci.nih.gov/lexevsapi50/GetHTML?query=Concept,Presentation,Text&Text[@_content=heart*]&codingSchemeName=Zebrafish{code}

h3. Get Concept by Definition with wildcard

[http://lexevsapi.nci.nih.gov/lexevsapi50/GetHTML?query=Concept,Definition,Text&Text\[@_content=Bilateral%20groups%20of%20cells*\]&codingSchemeName=Zebrafish]

{code}http://lexevsapi.nci.nih.gov/lexevsapi50/GetHTML?query=Concept,Definition,Text&Text[@_content=Bilateral%20groups%20of%20cells*]&codingSchemeName=Zebrafish{code}

h3. Show Presentations of a Concept

[http://lexevsapi.nci.nih.gov/lexevsapi50/GetHTML?query=org.LexGrid.concepts.Presentation&org.LexGrid.concepts.Concept\[@_entityCode=ZFA:0001234\]&roleName=_presentationList&codingSchemeName=Zebrafish]

{code}http://lexevsapi.nci.nih.gov/lexevsapi50/GetHTML?query=org.LexGrid.concepts.Presentation&org.LexGrid.concepts.Concept[@_entityCode=ZFA:0001234]&roleName=_presentationList&codingSchemeName=Zebrafish{code}

h3. Show Definitions of a Concept

[http://lexevsapi.nci.nih.gov/lexevsapi50/GetHTML?query=org.LexGrid.concepts.Definition&org.LexGrid.concepts.Concept\[@_entityCode=ZFA:0001234\]&roleName=_definitionList&codingSchemeName=Zebrafish]

{code}http://lexevsapi.nci.nih.gov/lexevsapi50/GetHTML?query=org.LexGrid.concepts.Definition&org.LexGrid.concepts.Concept[@_entityCode=ZFA:0001234]&roleName=_definitionList&codingSchemeName=Zebrafish{code}

h3. Show Supported Associations for a CodingScheme

[http://lexevsapi.nci.nih.gov/lexevsapi50/GetHTML?query=org.LexGrid.naming.SupportedAssociation&org.LexGrid.naming.SupportedAssociation&codingSchemeName=Zebrafish]

{code}http://lexevsapi.nci.nih.gov/lexevsapi50/GetHTML?query=org.LexGrid.naming.SupportedAssociation&org.LexGrid.naming.SupportedAssociation&codingSchemeName=Zebrafish{code}

{scrollbar:icons=false}