NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
http://bmidev4:5555/cts2/codesystem/NCI_Thesaurus/version/10.10a/entities?matchvalue=swelling

Output

 

Code Block
<EntityDirectory xmlns="http://schema.omg.org/spec/CTS2/1.0/Entity" 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/Entity http://www.omg.org/spec/cts2/201206/entity/Entity.xsd" complete="COMPLETE" numEntries="4">  <core:heading> <core:resourceRoot>codesystem/NCI_Thesaurus/version/10.10a/entities</core:resourceRoot>  <core:resourceURI>http://bmidev4:5555/cts2/codesystem/NCI_Thesaurus/version/10.10a/entities</core:resourceURI>  <core:parameter arg="matchvalue"> <core:val>swelling</core:val> </core:parameter> <core:accessDate>2013-09-24T09:17:05.203-05:00</core:accessDate> </core:heading>  <entry about="http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#C3399">  <core:name> <core:namespace>NCI_Thesaurus</core:namespace> <core:name>C3399</core:name> </core:name>  <core:knownEntityDescription href="http://bmidev4:5555/cts2/codesystem/NCI_Thesaurus/version/10.10a/entity/C3399">  <core:describingCodeSystemVersion> <core:version href="http://bmidev4:5555/cts2/codesystem/NCI_Thesaurus/version/10.10a">NCI_Thesaurus-10.10a</core:version> <core:codeSystem uri="http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#">NCI_Thesaurus</core:codeSystem> </core:describingCodeSystemVersion> <core:designation>Swelling</core:designation> </core:knownEntityDescription> </entry>  <entry about="http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#C50627">  <core:name> <core:namespace>NCI_Thesaurus</core:namespace> <core:name>C50627</core:name> </core:name>  <core:knownEntityDescription href="http://bmidev4:5555/cts2/codesystem/NCI_Thesaurus/version/10.10a/entity/C50627">  <core:describingCodeSystemVersion> <core:version href="http://bmidev4:5555/cts2/codesystem/NCI_Thesaurus/version/10.10a">NCI_Thesaurus-10.10a</core:version> <core:codeSystem uri="http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#">NCI_Thesaurus</core:codeSystem> </core:describingCodeSystemVersion> <core:designation>Joint Swelling</core:designation> </core:knownEntityDescription> </entry>  <entry about="http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#C34437">  <core:name> <core:namespace>NCI_Thesaurus</core:namespace> <core:name>C34437</core:name> </core:name>  <core:knownEntityDescription href="http://bmidev4:5555/cts2/codesystem/NCI_Thesaurus/version/10.10a/entity/C34437">  <core:describingCodeSystemVersion> <core:version href="http://bmidev4:5555/cts2/codesystem/NCI_Thesaurus/version/10.10a">NCI_Thesaurus-10.10a</core:version> <core:codeSystem uri="http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#">NCI_Thesaurus</core:codeSystem> </core:describingCodeSystemVersion> <core:designation>Breast Swelling</core:designation> </core:knownEntityDescription> </entry>  <entry about="http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#C20914">  <core:name> <core:namespace>NCI_Thesaurus</core:namespace> <core:name>C20914</core:name> </core:name>  <core:knownEntityDescription href="http://bmidev4:5555/cts2/codesystem/NCI_Thesaurus/version/10.10a/entity/C20914">  <core:describingCodeSystemVersion> <core:version href="http://bmidev4:5555/cts2/codesystem/NCI_Thesaurus/version/10.10a">NCI_Thesaurus-10.10a</core:version> <core:codeSystem uri="http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#">NCI_Thesaurus</core:codeSystem> </core:describingCodeSystemVersion> <core:designation>Uterine Swelling</core:designation> </core:knownEntityDescription> </entry> </EntityDirectory>

 

Other Entity Queries

  • all codesystems
    http://<Rest Service base URL>/entities?matchvalue=tree
  • restrict by codesystem
    http://<Rest Service base URL>/codesystem/LOINC/version/232/entities?matchvalue=finger
    http://<Rest Service base URL>/entities?matchvalue=finger&codesystemversion=LOINC-232
  • filter 'startsWith'
    http://<Rest Service base URL>/codesystem/LOINC/version/232/entities?matchvalue=finger&matchalgorithm=startsWith
  • filter 'startsWith', restriction to 'CURRENT' version
    http://<Rest Service base URL>/codesystem/LOINC/entities?matchvalue=heart&matchalgorithm=startsWith
  • filter 'contains'
    http://<Rest Service base URL>/entities?matchvalue=heart&matchalgorithm=contains
    http://<Rest Service base URL>/codesystem/LOINC/version/232/entities?matchvalue=finger&matchalgorithm=contains
  • filter 'exactMatch'
    http://<Rest Service base URL>/codesystem/NCI_Thesaurus/version/10.10a/entities?matchvalue=swelling&matchalgorithm=exactMatch

Associations: Parents

The entity read function automatically returns the parents of the entity. 

...