UNPKG

cla-wrapper

Version:
645 lines 33.7 kB
<!doctype html> <html class="default no-js"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>CodeList | cla-wrapper</title> <meta name="description" content="Documentation for cla-wrapper"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="../assets/css/main.css"> <script async src="../assets/js/search.js" id="search-script"></script> </head> <body> <header> <div class="tsd-page-toolbar"> <div class="container"> <div class="table-wrap"> <div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base=".."> <div class="field"> <label for="tsd-search-field" class="tsd-widget search no-caption">Search</label> <input id="tsd-search-field" type="text" /> </div> <ul class="results"> <li class="state loading">Preparing search index...</li> <li class="state failure">The search index is not available</li> </ul> <a href="../index.html" class="title">cla-wrapper</a> </div> <div class="table-cell" id="tsd-widgets"> <div id="tsd-filter"> <a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a> <div class="tsd-filter-group"> <div class="tsd-select" id="tsd-filter-visibility"> <span class="tsd-select-label">All</span> <ul class="tsd-select-list"> <li data-value="public">Public</li> <li data-value="protected">Public/Protected</li> <li data-value="private" class="selected">All</li> </ul> </div> <input type="checkbox" id="tsd-filter-inherited" checked /> <label class="tsd-widget" for="tsd-filter-inherited">Inherited</label> <input type="checkbox" id="tsd-filter-externals" checked /> <label class="tsd-widget" for="tsd-filter-externals">Externals</label> </div> </div> <a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a> </div> </div> </div> </div> <div class="tsd-page-title"> <div class="container"> <ul class="tsd-breadcrumb"> <li> <a href="../modules.html">cla-wrapper</a> </li> <li> <a href="../modules/claWrapper.html">claWrapper</a> </li> <li> <a href="claWrapper.CodeList.html">CodeList</a> </li> </ul> <h1>Class CodeList</h1> </div> </div> </header> <div class="container container-main"> <div class="row"> <div class="col-8 col-content"> <section class="tsd-panel tsd-comment"> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>CodeList class.</p> </div> </div> </section> <section class="tsd-panel tsd-hierarchy"> <h3>Hierarchy</h3> <ul class="tsd-hierarchy"> <li> <span class="tsd-signature-type">BasicFunctions</span> <ul class="tsd-hierarchy"> <li> <span class="target">CodeList</span> </li> </ul> </li> </ul> </section> <section class="tsd-panel-group tsd-index-group"> <h2>Index</h2> <section class="tsd-panel tsd-index-panel"> <div class="tsd-index-content"> <section class="tsd-index-section "> <h3>Constructors</h3> <ul class="tsd-index-list"> <li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"><a href="claWrapper.CodeList.html#constructor" class="tsd-kind-icon">constructor</a></li> </ul> </section> <section class="tsd-index-section "> <h3>Properties</h3> <ul class="tsd-index-list"> <li class="tsd-kind-property tsd-parent-kind-class"><a href="claWrapper.CodeList.html#conceptId" class="tsd-kind-icon">concept<wbr>Id</a></li> <li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="claWrapper.CodeList.html#coreObject" class="tsd-kind-icon">core<wbr>Object</a></li> <li class="tsd-kind-property tsd-parent-kind-class"><a href="claWrapper.CodeList.html#definition" class="tsd-kind-icon">definition</a></li> <li class="tsd-kind-property tsd-parent-kind-class"><a href="claWrapper.CodeList.html#extensible" class="tsd-kind-icon">extensible</a></li> <li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="claWrapper.CodeList.html#href" class="tsd-kind-icon">href</a></li> <li class="tsd-kind-property tsd-parent-kind-class"><a href="claWrapper.CodeList.html#name" class="tsd-kind-icon">name</a></li> <li class="tsd-kind-property tsd-parent-kind-class"><a href="claWrapper.CodeList.html#preferredTerm" class="tsd-kind-icon">preferred<wbr>Term</a></li> <li class="tsd-kind-property tsd-parent-kind-class"><a href="claWrapper.CodeList.html#submissionValue" class="tsd-kind-icon">submission<wbr>Value</a></li> <li class="tsd-kind-property tsd-parent-kind-class"><a href="claWrapper.CodeList.html#synonyms" class="tsd-kind-icon">synonyms</a></li> <li class="tsd-kind-property tsd-parent-kind-class"><a href="claWrapper.CodeList.html#terms" class="tsd-kind-icon">terms</a></li> </ul> </section> <section class="tsd-index-section "> <h3>Methods</h3> <ul class="tsd-index-list"> <li class="tsd-kind-method tsd-parent-kind-class"><a href="claWrapper.CodeList.html#getFormattedTerms" class="tsd-kind-icon">get<wbr>Formatted<wbr>Terms</a></li> <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="claWrapper.CodeList.html#getRawResponse" class="tsd-kind-icon">get<wbr>Raw<wbr>Response</a></li> <li class="tsd-kind-method tsd-parent-kind-class"><a href="claWrapper.CodeList.html#getVersions" class="tsd-kind-icon">get<wbr>Versions</a></li> <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="claWrapper.CodeList.html#load" class="tsd-kind-icon">load</a></li> <li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a href="claWrapper.CodeList.html#parseResponse" class="tsd-kind-icon">parse<wbr>Response</a></li> <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="claWrapper.CodeList.html#toSimpleObject" class="tsd-kind-icon">to<wbr>Simple<wbr>Object</a></li> </ul> </section> </div> </section> </section> <section class="tsd-panel-group tsd-member-group "> <h2>Constructors</h2> <section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"> <a name="constructor" class="tsd-anchor"></a> <h3>constructor</h3> <ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"> <li class="tsd-signature tsd-kind-icon">new <wbr>Code<wbr>List<span class="tsd-signature-symbol">(</span>__namedParameters<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">CodeListParameters</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="claWrapper.CodeList.html" class="tsd-signature-type" data-tsd-kind="Class">CodeList</a></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <p>Overrides BasicFunctions.constructor</p> <ul> <li>Defined in <a href="https://github.com/defineEditor/cla-wrapper/blob/0723d63/src/classes/claWrapper.ts#L2534">claWrapper.ts:2534</a></li> </ul> </aside> <h4 class="tsd-parameters-title">Parameters</h4> <ul class="tsd-parameters"> <li> <h5>__namedParameters: <span class="tsd-signature-type">CodeListParameters</span><span class="tsd-signature-symbol"> = {}</span></h5> </li> </ul> <h4 class="tsd-returns-title">Returns <a href="claWrapper.CodeList.html" class="tsd-signature-type" data-tsd-kind="Class">CodeList</a></h4> </li> </ul> </section> </section> <section class="tsd-panel-group tsd-member-group "> <h2>Properties</h2> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"> <a name="conceptId" class="tsd-anchor"></a> <h3><span class="tsd-flag ts-flagOptional">Optional</span> concept<wbr>Id</h3> <div class="tsd-signature tsd-kind-icon">concept<wbr>Id<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div> <aside class="tsd-sources"> <ul> <li>Defined in <a href="https://github.com/defineEditor/cla-wrapper/blob/0723d63/src/classes/claWrapper.ts#L2518">claWrapper.ts:2518</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>CDISC Library attribute.</p> </div> </div> </section> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"> <a name="coreObject" class="tsd-anchor"></a> <h3>core<wbr>Object</h3> <div class="tsd-signature tsd-kind-icon">core<wbr>Object<span class="tsd-signature-symbol">:</span> <a href="claWrapper.CoreObject.html" class="tsd-signature-type" data-tsd-kind="Class">CoreObject</a></div> <aside class="tsd-sources"> <p>Inherited from BasicFunctions.coreObject</p> <ul> <li>Defined in <a href="https://github.com/defineEditor/cla-wrapper/blob/0723d63/src/classes/claWrapper.ts#L149">claWrapper.ts:149</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>CLA Wrapper attribute. Object used to send API requests and store technical information. Must be the same object for all classes within an instance of a CdiscLibrary class.</p> </div> </div> </section> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"> <a name="definition" class="tsd-anchor"></a> <h3><span class="tsd-flag ts-flagOptional">Optional</span> definition</h3> <div class="tsd-signature tsd-kind-icon">definition<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div> <aside class="tsd-sources"> <ul> <li>Defined in <a href="https://github.com/defineEditor/cla-wrapper/blob/0723d63/src/classes/claWrapper.ts#L2526">claWrapper.ts:2526</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>CDISC Library attribute.</p> </div> </div> </section> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"> <a name="extensible" class="tsd-anchor"></a> <h3><span class="tsd-flag ts-flagOptional">Optional</span> extensible</h3> <div class="tsd-signature tsd-kind-icon">extensible<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div> <aside class="tsd-sources"> <ul> <li>Defined in <a href="https://github.com/defineEditor/cla-wrapper/blob/0723d63/src/classes/claWrapper.ts#L2522">claWrapper.ts:2522</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>CDISC Library attribute.</p> </div> </div> </section> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited"> <a name="href" class="tsd-anchor"></a> <h3><span class="tsd-flag ts-flagOptional">Optional</span> href</h3> <div class="tsd-signature tsd-kind-icon">href<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div> <aside class="tsd-sources"> <p>Inherited from BasicFunctions.href</p> <ul> <li>Defined in <a href="https://github.com/defineEditor/cla-wrapper/blob/0723d63/src/classes/claWrapper.ts#L147">claWrapper.ts:147</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>CDISC Library API endpoint.</p> </div> </div> </section> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"> <a name="name" class="tsd-anchor"></a> <h3><span class="tsd-flag ts-flagOptional">Optional</span> name</h3> <div class="tsd-signature tsd-kind-icon">name<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div> <aside class="tsd-sources"> <ul> <li>Defined in <a href="https://github.com/defineEditor/cla-wrapper/blob/0723d63/src/classes/claWrapper.ts#L2520">claWrapper.ts:2520</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>CDISC Library attribute.</p> </div> </div> </section> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"> <a name="preferredTerm" class="tsd-anchor"></a> <h3><span class="tsd-flag ts-flagOptional">Optional</span> preferred<wbr>Term</h3> <div class="tsd-signature tsd-kind-icon">preferred<wbr>Term<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div> <aside class="tsd-sources"> <ul> <li>Defined in <a href="https://github.com/defineEditor/cla-wrapper/blob/0723d63/src/classes/claWrapper.ts#L2528">claWrapper.ts:2528</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>CDISC Library attribute.</p> </div> </div> </section> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"> <a name="submissionValue" class="tsd-anchor"></a> <h3><span class="tsd-flag ts-flagOptional">Optional</span> submission<wbr>Value</h3> <div class="tsd-signature tsd-kind-icon">submission<wbr>Value<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div> <aside class="tsd-sources"> <ul> <li>Defined in <a href="https://github.com/defineEditor/cla-wrapper/blob/0723d63/src/classes/claWrapper.ts#L2524">claWrapper.ts:2524</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>CDISC Library attribute.</p> </div> </div> </section> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"> <a name="synonyms" class="tsd-anchor"></a> <h3><span class="tsd-flag ts-flagOptional">Optional</span> synonyms</h3> <div class="tsd-signature tsd-kind-icon">synonyms<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></div> <aside class="tsd-sources"> <ul> <li>Defined in <a href="https://github.com/defineEditor/cla-wrapper/blob/0723d63/src/classes/claWrapper.ts#L2530">claWrapper.ts:2530</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>CDISC Library attribute.</p> </div> </div> </section> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class"> <a name="terms" class="tsd-anchor"></a> <h3><span class="tsd-flag ts-flagOptional">Optional</span> terms</h3> <div class="tsd-signature tsd-kind-icon">terms<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Term</span><span class="tsd-signature-symbol">[]</span></div> <aside class="tsd-sources"> <ul> <li>Defined in <a href="https://github.com/defineEditor/cla-wrapper/blob/0723d63/src/classes/claWrapper.ts#L2532">claWrapper.ts:2532</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>CDISC Library attribute.</p> </div> </div> </section> </section> <section class="tsd-panel-group tsd-member-group "> <h2>Methods</h2> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"> <a name="getFormattedTerms" class="tsd-anchor"></a> <h3>get<wbr>Formatted<wbr>Terms</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"> <li class="tsd-signature tsd-kind-icon">get<wbr>Formatted<wbr>Terms<span class="tsd-signature-symbol">(</span>format<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">&quot;json&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;csv&quot;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Term</span><span class="tsd-signature-symbol">[]</span></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <ul> <li>Defined in <a href="https://github.com/defineEditor/cla-wrapper/blob/0723d63/src/classes/claWrapper.ts#L2620">claWrapper.ts:2620</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>Get codelist terms in a specific format.</p> </div> </div> <h4 class="tsd-parameters-title">Parameters</h4> <ul class="tsd-parameters"> <li> <h5>format: <span class="tsd-signature-type">&quot;json&quot;</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">&quot;csv&quot;</span><span class="tsd-signature-symbol"> = &#x27;json&#x27;</span></h5> </li> </ul> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">Term</span><span class="tsd-signature-symbol">[]</span></h4> <p>Formatted codeList terms.</p> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a name="getRawResponse" class="tsd-anchor"></a> <h3>get<wbr>Raw<wbr>Response</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <li class="tsd-signature tsd-kind-icon">get<wbr>Raw<wbr>Response<span class="tsd-signature-symbol">(</span>href<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">&gt;</span></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <p>Inherited from BasicFunctions.getRawResponse</p> <ul> <li>Defined in <a href="https://github.com/defineEditor/cla-wrapper/blob/0723d63/src/classes/claWrapper.ts#L162">claWrapper.ts:162</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>Get raw API response</p> </div> </div> <h4 class="tsd-parameters-title">Parameters</h4> <ul class="tsd-parameters"> <li> <h5><span class="tsd-flag ts-flagOptional">Optional</span> href: <span class="tsd-signature-type">string</span></h5> <div class="tsd-comment tsd-typography"> <p>CDISC Library API endpoint. If not specified, href attribute of the object is used.</p> </div> </li> </ul> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">&gt;</span></h4> <p>Returns a JSON response if the request was successfull, otherwise returns undefined.</p> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"> <a name="getVersions" class="tsd-anchor"></a> <h3>get<wbr>Versions</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class"> <li class="tsd-signature tsd-kind-icon">get<wbr>Versions<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <ul> <li>Defined in <a href="https://github.com/defineEditor/cla-wrapper/blob/0723d63/src/classes/claWrapper.ts#L2629">claWrapper.ts:2629</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>Get the list of codelist versions.</p> </div> </div> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4> <p>List of CT versions.</p> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a name="load" class="tsd-anchor"></a> <h3>load</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <li class="tsd-signature tsd-kind-icon">load<span class="tsd-signature-symbol">(</span>href<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">&gt;</span></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <p>Inherited from BasicFunctions.load</p> <ul> <li>Defined in <a href="https://github.com/defineEditor/cla-wrapper/blob/0723d63/src/classes/claWrapper.ts#L181">claWrapper.ts:181</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>Load object from the CDISC Library</p> </div> </div> <h4 class="tsd-parameters-title">Parameters</h4> <ul class="tsd-parameters"> <li> <h5><span class="tsd-flag ts-flagOptional">Optional</span> href: <span class="tsd-signature-type">string</span></h5> <div class="tsd-comment tsd-typography"> <p>CDISC Library API endpoint. If not specified, href attribute of the object is used.</p> </div> </li> </ul> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">&gt;</span></h4> <p>Returns true in the object was successfully loaded, false otherwise</p> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"> <a name="parseResponse" class="tsd-anchor"></a> <h3>parse<wbr>Response</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"> <li class="tsd-signature tsd-kind-icon">parse<wbr>Response<span class="tsd-signature-symbol">(</span>clRaw<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span>, nciSiteResponse<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <p>Overrides BasicFunctions.parseResponse</p> <ul> <li>Defined in <a href="https://github.com/defineEditor/cla-wrapper/blob/0723d63/src/classes/claWrapper.ts#L2558">claWrapper.ts:2558</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>Parse API response to codelist.</p> </div> </div> <h4 class="tsd-parameters-title">Parameters</h4> <ul class="tsd-parameters"> <li> <h5>clRaw: <span class="tsd-signature-type">any</span></h5> <div class="tsd-comment tsd-typography"> <p>Raw CDISC API response.</p> </div> </li> <li> <h5>nciSiteResponse: <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> = false</span></h5> <div class="tsd-comment tsd-typography"> <p>Indicates whether the reponse is from the NCI site</p> </div> </li> </ul> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4> </li> </ul> </section> <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a name="toSimpleObject" class="tsd-anchor"></a> <h3>to<wbr>Simple<wbr>Object</h3> <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <li class="tsd-signature tsd-kind-icon">to<wbr>Simple<wbr>Object<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span></li> </ul> <ul class="tsd-descriptions"> <li class="tsd-description"> <aside class="tsd-sources"> <p>Inherited from BasicFunctions.toSimpleObject</p> <ul> <li>Defined in <a href="https://github.com/defineEditor/cla-wrapper/blob/0723d63/src/classes/claWrapper.ts#L196">claWrapper.ts:196</a></li> </ul> </aside> <div class="tsd-comment tsd-typography"> <div class="lead"> <p>Convert class to a simple object, removes methods and technical elements (e.g., coreObject).</p> </div> </div> <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4> <p>A new object</p> </li> </ul> </section> </section> </div> <div class="col-4 col-menu menu-sticky-wrap menu-highlight"> <nav class="tsd-navigation primary"> <ul> <li class=" "> <a href="../modules.html">Modules</a> </li> <li class="current tsd-kind-module"> <a href="../modules/claWrapper.html">cla<wbr>Wrapper</a> </li> <li class=" tsd-kind-module"> <a href="../modules/searchResponse.html">search<wbr>Response</a> </li> </ul> </nav> <nav class="tsd-navigation secondary menu-sticky"> <ul class="before-current"> <li class=" tsd-kind-class tsd-parent-kind-module"> <a href="claWrapper.AnalysisVariableSet.html" class="tsd-kind-icon">Analysis<wbr>Variable<wbr>Set</a> </li> <li class=" tsd-kind-class tsd-parent-kind-module"> <a href="claWrapper.CdiscLibrary.html" class="tsd-kind-icon">Cdisc<wbr>Library</a> </li> </ul> <ul class="current"> <li class="current tsd-kind-class tsd-parent-kind-module"> <a href="claWrapper.CodeList.html" class="tsd-kind-icon">Code<wbr>List</a> <ul> <li class=" tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite"> <a href="claWrapper.CodeList.html#constructor" class="tsd-kind-icon">constructor</a> </li> <li class=" tsd-kind-property tsd-parent-kind-class"> <a href="claWrapper.CodeList.html#conceptId" class="tsd-kind-icon">concept<wbr>Id</a> </li> <li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited"> <a href="claWrapper.CodeList.html#coreObject" class="tsd-kind-icon">core<wbr>Object</a> </li> <li class=" tsd-kind-property tsd-parent-kind-class"> <a href="claWrapper.CodeList.html#definition" class="tsd-kind-icon">definition</a> </li> <li class=" tsd-kind-property tsd-parent-kind-class"> <a href="claWrapper.CodeList.html#extensible" class="tsd-kind-icon">extensible</a> </li> <li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited"> <a href="claWrapper.CodeList.html#href" class="tsd-kind-icon">href</a> </li> <li class=" tsd-kind-property tsd-parent-kind-class"> <a href="claWrapper.CodeList.html#name" class="tsd-kind-icon">name</a> </li> <li class=" tsd-kind-property tsd-parent-kind-class"> <a href="claWrapper.CodeList.html#preferredTerm" class="tsd-kind-icon">preferred<wbr>Term</a> </li> <li class=" tsd-kind-property tsd-parent-kind-class"> <a href="claWrapper.CodeList.html#submissionValue" class="tsd-kind-icon">submission<wbr>Value</a> </li> <li class=" tsd-kind-property tsd-parent-kind-class"> <a href="claWrapper.CodeList.html#synonyms" class="tsd-kind-icon">synonyms</a> </li> <li class=" tsd-kind-property tsd-parent-kind-class"> <a href="claWrapper.CodeList.html#terms" class="tsd-kind-icon">terms</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class"> <a href="claWrapper.CodeList.html#getFormattedTerms" class="tsd-kind-icon">get<wbr>Formatted<wbr>Terms</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a href="claWrapper.CodeList.html#getRawResponse" class="tsd-kind-icon">get<wbr>Raw<wbr>Response</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class"> <a href="claWrapper.CodeList.html#getVersions" class="tsd-kind-icon">get<wbr>Versions</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a href="claWrapper.CodeList.html#load" class="tsd-kind-icon">load</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"> <a href="claWrapper.CodeList.html#parseResponse" class="tsd-kind-icon">parse<wbr>Response</a> </li> <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited"> <a href="claWrapper.CodeList.html#toSimpleObject" class="tsd-kind-icon">to<wbr>Simple<wbr>Object</a> </li> </ul> </li> </ul> <ul class="after-current"> <li class=" tsd-kind-class tsd-parent-kind-module"> <a href="claWrapper.CoreObject.html" class="tsd-kind-icon">Core<wbr>Object</a> </li> <li class=" tsd-kind-class tsd-parent-kind-module"> <a href="claWrapper.DataClass.html" class="tsd-kind-icon">Data<wbr>Class</a> </li> <li class=" tsd-kind-class tsd-parent-kind-module"> <a href="claWrapper.DataStructure.html" class="tsd-kind-icon">Data<wbr>Structure</a> </li> <li class=" tsd-kind-class tsd-parent-kind-module"> <a href="claWrapper.Dataset.html" class="tsd-kind-icon">Dataset</a> </li> <li class=" tsd-kind-class tsd-parent-kind-module"> <a href="claWrapper.Domain.html" class="tsd-kind-icon">Domain</a> </li> <li class=" tsd-kind-class tsd-parent-kind-module"> <a href="claWrapper.Field.html" class="tsd-kind-icon">Field</a> </li> <li class=" tsd-kind-class tsd-parent-kind-module"> <a href="claWrapper.Product.html" class="tsd-kind-icon">Product</a> </li> <li class=" tsd-kind-class tsd-parent-kind-module"> <a href="claWrapper.ProductClass.html" class="tsd-kind-icon">Product<wbr>Class</a> </li> <li class=" tsd-kind-class tsd-parent-kind-module"> <a href="claWrapper.ProductGroup.html" class="tsd-kind-icon">Product<wbr>Group</a> </li> <li class=" tsd-kind-class tsd-parent-kind-module"> <a href="claWrapper.Scenario.html" class="tsd-kind-icon">Scenario</a> </li> <li class=" tsd-kind-class tsd-parent-kind-module"> <a href="claWrapper.Variable.html" class="tsd-kind-icon">Variable</a> </li> <li class=" tsd-kind-type-alias tsd-parent-kind-module"> <a href="../modules/claWrapper.html#ItemType" class="tsd-kind-icon">Item<wbr>Type</a> </li> </ul> </nav> </div> </div> </div> <footer class="with-border-bottom"> <div class="container"> <h2>Legend</h2> <div class="tsd-legend-group"> <ul class="tsd-legend"> <li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li> <li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li> <li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li> <li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li> </ul> <ul class="tsd-legend"> <li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li> <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li> </ul> <ul class="tsd-legend"> <li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li> </ul> </div> </div> </footer> <div class="container tsd-generator"> <p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p> </div> <div class="overlay"></div> <script src="../assets/js/main.js"></script> </body> </html>