NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

Versions Compared

Key

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

...

  • restrict by codesystem
    http://<Rest Service base URL>/codesystem/LOINCNCI_Thesaurus/version/23217.06d/entities?matchvalue=finger&format=json
    http://<Rest Service base URL>/entities?matchvalue=finger&codesystemversion=LOINC-232NCI_Thesaurus-17.06d&format=json
  • filter 'startsWith'
    http://<Rest Service base URL>/codesystem/LOINCNCI_Thesaurus/version/23217.06d/entities?matchvalue=fingerheart&matchalgorithm=startsWith&format=json
  • filter 'startsWith', restriction to 'CURRENT' version
    http:// <Rest Service base URL> /codesystem/LOINCNCI_Thesaurus/entities?matchalgorithm=startsWith&matchvalue=heartGentamicin&matchalgorithmformat=startsWithjson
  • filter 'contains'
    http://<Rest Service base URL>/entities?matchvalue=heart&matchalgorithm=contains&format=json
    http://<Rest Service base URL>/codesystem/LOINCNCI_Thesaurus/version/232NCI_Thesaurus-17.06d/entities?matchalgorithm=contains&matchvalue=fingerGentamicin&matchalgorithmformat=containsjson
  • filter 'exactMatch'
    http:// <Rest Service base URL> /codesystem/NCI_Thesaurus/version/10.10aNCI_Thesaurus-17.06d/entities?matchalgorithm=exactMatch&matchvalue=swelling&matchalgorithmformat=exactMatchjson

Associations

Associations: Parents

...

Code Block
http://<base url>/map/NCItMA_to_ICD9CMNCIt_Mapping/version/NCItMA_to_ICD9CMNCIt_Mapping-1.0/entry/NCI_Thesaurus:C26913MA:MA%253A0000002?format=json

Output

Code Block
collapsetrue
<MapEntryMsg xmlns="http://schema.omg.org/spec/CTS2/1.0/MapVersion" 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/MapVersion http://www.omg.org/spec/cts2/201206/mapversion/MapVersion.xsd">
<core:heading>
<core:resourceRoot>
map/NCIt_to_ICD9CM_Mapping/version/NCIt_to_ICD9CM_Mapping-1.0/entry/NCI_Thesaurus:C26913
</core:resourceRoot>


<core:resourceURI>
http://<base url>/map/NCIt_to_ICD9CM_Mapping/version/NCIt_to_ICD9CM_Mapping-1.0/entry/NCI_Thesaurus:C26913
</core:resourceURI>


<core:accessDate>2013-09-20T16:23:22.120-05:00</core:accessDate>

</core:heading>


<entry entryState="ACTIVE" processingRule="ALL_MATCHES">
<assertedBy>
<core:mapVersion href="http://<base url>/codesystem/NCIt_to_ICD9CM{
    "MapEntryMsg": {
        "entry": {
            "processingRule": "ALL_MATCHES",
            "assertedBy": {
                "mapVersion": {
                    "content": "MA_to_NCIt_Mapping-1.0",
                    "href": "https://lexevscts2.nci.nih.gov/lexevscts2/codesystem/MA_to_NCIt_Mapping/version/1.0">NCIt_to_ICD9CM_Mapping-1.0</core:mapVersion>
<core:map href="http://<base url>/map/NCIt_to_ICD9CM_Mapping">NCIt_to_ICD9CM_Mapping</core:map>

</assertedBy>


<mapFrom uri="http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#C26913">
<core:namespace>NCI_Thesaurus</core:namespace>
<core:name>C26913</core:name>

</mapFrom>


<mapSet processingRule="ALL_MATCHES" entryOrder="1">
<mapTarget entryOrder="1">
<mapTo uri="ICD_9_CM/78.12">
<core:namespace>ICD_9_CM</core:namespace>
<core:name>78.12</core:name>

</mapTo>



</mapTarget>



</mapSet>



</entry>



</MapEntryMsg>
                },
                "map": {
                    "content": "MA_to_NCIt_Mapping",
                    "href": "https://lexevscts2.nci.nih.gov/lexevscts2/map/MA_to_NCIt_Mapping"
                }
            },
            "mapFrom": {
                "uri": "http://www.w3.org/ns/ma-ont#MA:0000002",
                "namespace": "MA",
                "name": "MA:0000002"
            },
            "mapSet": [
                {
                    "processingRule": "ALL_MATCHES",
                    "entryOrder": 1,
                    "mapTarget": [
                        {
                            "entryOrder": 1,
                            "mapTo": {
                                "uri": "http://ncicb.nci.nih.gov/xml/owl/EVS/NCI_Thesaurus.owl#C32696",
                                "namespace": "NCI_Thesaurus",
                                "name": "C32696"
                            }
                        }
                    ]
                }
            ],
            "entryState": "ACTIVE"
        },
        "heading": {
            "resourceRoot": "https://lexevscts2.nci.nih.gov/lexevscts2/",
            "resourceURI": "map/MA_to_NCIt_Mapping/version/MA_to_NCIt_Mapping-1.0/entry/MA:MA%3A0000002",
            "parameter": [
                {
                    "arg": "format",
                    "val": "json"
                }
            ],
            "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
languagehtml/xml
collapsetrue
<MapVersionDirectory xmlns="http://schema.omg.org/spec/CTS2/1.0/MapVersion" 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/MapVersion http://www.omg.org/spec/cts2/201206/mapversion/MapVersion.xsd" complete="COMPLETE" numEntries="1">
<core:heading>
<core:resourceRoot>mapversions</core:resourceRoot>
<core:resourceURI>http://<base url>/mapversions</core:resourceURI>
<core:parameter arg="filtercomponent">
<core:val>resourceSynopsis</core:val>

</core:parameter>


<core:parameter arg="matchvalue">
<core:val>ncit</core:val>

</core:parameter>


<core:accessDate>2013-09-13T16:42:40.861-05:00</core:accessDate>

</core:heading>


<entry href="http://<base url>/map/NCIt_to_ICD9CM_Mapping/version/NCIt_to_ICD9CM_Mapping-1.0" about="urn:oid:NCIt_to_ICD9CM_Mapping" formalName="NCIt to ICD9CM Mapping"documentURI="urn:oid:NCIt_to_ICD9CM_Mapping" mapVersionName="NCIt_to_ICD9CM_Mapping-1.0">
<core:resourceSynopsis>
<core:value>NCIt_to_ICD9CM_Mapping</core:value>

</core:resourceSynopsis>


<versionOf uri="urn:oid:NCIt_to_ICD9CM_Mapping" href="http://<base url>/map/NCIt_to_ICD9CM_Mapping">NCIt_to_ICD9CM_Mapping</versionOf>

</entry>



</MapVersionDirectory>

...