Page History
...
Example 20 - Retrieve a caDSR Form with All Its Collections
The following caDSR II example retrieves examples retrieve a caDSR form with all its collections, or "flattened". This means for a given form, the system returns all Modules, Questions, Valid Values and related instructions in one call. The system returns results as a JSON file. You must specify a version.
The following example retrieves a form without specifying a protocol:
Code Block |
---|
https://cadsrapi.cancer.gov/invoke/form.test/getJSON?query=Form[@publicId=7203785,@version=1] |
The following example specifies a protocol:
Code Block |
---|
https://cadsrapi.cancer.gov/invoke/ctsuform.test/getJSON?query=Form[Protocol[@preferredName=C3D%20ADOPTER%20TEMPLATES],@publicId=38134162392775,@version=1] |
Can you retrieve all Data Elements using a common EVS concept code or name, but restrict results to only those where the concept is “Primary” in the CDE’s Object Class?
...