NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

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

...

The URL for the results from the caDSR 4.1.x REST API is

Code Block
titleExample 1b URL for Results
http://cadsrapi.nci.nih.gov/cadsrapi4/GetXML?query=DataElement[@publicId=2178693][@version=2.1]

...

The URL for the results from the caDSR 4.1.x REST API is

Code Block
titleExample 2 URL for Results
http://cadsrapi.nci.nih.gov/cadsrapi4/GetXML?query=DataElement[@publicId=2178693]

...

The URL for the results from the caDSR 4.1.x REST API is

Code Block
titleExample 3 URL for Results
http://cadsrapi.nci.nih.gov/cadsrapi4/GetXML?query=DataElement&DataElement[@publicId=2178693]&returnHeavyXML=true

...

The URL for the results from the caDSR 4.1.x REST API is

Code Block
titleExample 5 URL for Results
http://cadsrapi.nci.nih.gov/cadsrapi4/GetXML?query=DataElement&DataElementConcept[@publicId=2178546][@version=2.1]

...

The following examples find a Form where Public Id = 2392775 and Version=1.0 and display the basic metadata attributes. Either the Form Builder or the caDSR 4.1.x REST-like API can be used to satisfy this query and results from both are shown below.

...

The URL for the results from the caDSR 4.1.x REST API is

Code Block
titleExample 6b URL for Results
http://cadsrapi.nci.nih.gov/cadsrapi4/GetXML?query=Form[@publicId=2392775][@version=1.0]

...

The URL for the results from the caDSR 4.1.x REST API is

Code Block
titleExample 7 URL for Results
http://cadsrapi.nci.nih.gov/cadsrapi4/GetXML?query=Form[@publicId=2392775]

...

The URL for the results from the caDSR 4.1.x REST API is

Code Block
titleExample 8 URL for Results
http://cadsrapi.nci.nih.gov/cadsrapi4/GetXML?query=Form&Form[@publicId=2392775]&returnHeavyXML=true

...

The URL for the results from the caDSR 4.1.x REST API is

Code Block
titleExample 9 URL for Results
http://cadsrapi.nci.nih.gov/cadsrapi4/GetXML?query=Form&Module&Question&DataElement[@publicId=2183364][@version=1.0]

...

The URL for the results from the caDSR 4.1.x REST API is

Code Block
titleExample 10 URL for Results
http://cadsrapi.nci.nih.gov/cadsrapi4/GetXML?query=gov.nih.nci.cadsr.domain.Module&gov.nih.nci.cadsr.domain.Form[@version=1.0][@publicID=2392775]

...

The URL for the results from the caDSR 4.1.x REST API is

Code Block
titleExample 11 URL for Results
http://cadsrapi.nci.nih.gov/cadsrapi4/GetXML?query=gov.nih.nci.cadsr.domain.Question&gov.nih.nci.cadsr.domain.Module[@version=1.0][@publicID=2392777]

...

The URL for the results from the caDSR 4.1.x REST API is

Code Block
titleExample 12 URL for Results
http://cadsrapi.nci.nih.gov/cadsrapi4/GetXML?query=gov.nih.nci.cadsr.domain.DataElement&gov.nih.nci.cadsr.domain.Question[@version=1.0][@publicID=2392779]

...

The URL for the results from the caDSR 4.1.x REST API is

Code Block
titleExample 13 URL for Results
http://cadsrapi.nci.nih.gov/cadsrapi4/GetXML?query=AdministeredComponent,AdministeredComponentClassSchemeItem,ClassSchemeClassSchemeItem&ClassSchemeClassSchemeItem[@ID=A55C551C-1866-5ED1-E034-080020C9C0E0]

...

The URL for the results from the caDSR 4.1.x REST API is

Code Block
titleExample 14 URL for Results
http://cadsrapi.nci.nih.gov/cadsrapi4/GetHTML?query=ClassSchemeClassSchemeItem&ClassSchemeClassSchemeItem[ClassificationScheme[@preferredName=NMDP*]]\ClassificationSchemeItem[@longName=2014r1*]

...

Examples 15-17 show how to retrieve data elements using either the concept code or the concept name where the concept is the Primary concept of the related caDSR item. In these examples, results are returned in HTML. All URL's are using the caDSR 4.1.x API.

Example 15 - Find all Data Elements where associated concept is the Primary Concept of the Data Element's Object Class

...