# flux_notes_treatment_options_rest_client

> FluxNotes_Treatment_Options_Rest_Client

Latest version **1.1.2** (published 2018-10-17) · Unlicense license · 0 weekly downloads

## Install

```sh
npm install flux_notes_treatment_options_rest_client
pnpm add flux_notes_treatment_options_rest_client
yarn add flux_notes_treatment_options_rest_client
bun add flux_notes_treatment_options_rest_client
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.2 |
| Published | 2018-10-17 |
| First published | 2018-08-20 |
| Weekly downloads | 0 |
| License | Unlicense |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 50.9 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | dtphelan1, kzheung |

## Links

- npm: https://www.npmjs.com/package/flux_notes_treatment_options_rest_client
- npm.io page: https://npm.io/package/flux_notes_treatment_options_rest_client

## Dependencies (1)

- [superagent](https://npm.io/package/superagent.md) 3.5.2

## Recent versions

- 1.1.2 (latest) — 2018-10-17
- 1.1.1 — 2018-10-16
- 1.1.0 — 2018-10-09
- 1.0.1 — 2018-08-27
- 1.0.0 — 2018-08-20

## README

# flux_notes_treatment_options_rest_client

FluxNotesTreatmentOptionsRestClient - JavaScript client for flux_notes_treatment_options_rest_client
FluxNotes Treatment Options Rest Client
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:

- API version: 1.0.1
- Package version: 1.0.1
- Build package: io.swagger.codegen.languages.JavascriptClientCodegen

## Installation

### For [Node.js](https://nodejs.org/)

#### npm

To publish the library as a [npm](https://www.npmjs.com/),
please follow the procedure in ["Publishing npm packages"](https://docs.npmjs.com/getting-started/publishing-npm-packages).

Then install it via:

```shell
npm install flux_notes_treatment_options_rest_client --save
```

##### Local development

To use the library locally without publishing to a remote npm registry, first install the dependencies by changing 
into the directory containing `package.json` (and this README). Let's call this `JAVASCRIPT_CLIENT_DIR`. Then run:

```shell
npm install
```

Next, [link](https://docs.npmjs.com/cli/link) it globally in npm with the following, also from `JAVASCRIPT_CLIENT_DIR`:

```shell
npm link
```

Finally, switch to the directory you want to use your flux_notes_treatment_options_rest_client from, and run:

```shell
npm link /path/to/<JAVASCRIPT_CLIENT_DIR>
```

You should now be able to `require('flux_notes_treatment_options_rest_client')` in javascript files from the directory you ran the last 
command above from.

#### git
#
If the library is hosted at a git repository, e.g.
https://github.com/YOUR_USERNAME/flux_notes_treatment_options_rest_client
then install it via:

```shell
    npm install YOUR_USERNAME/flux_notes_treatment_options_rest_client --save
```

### For browser

The library also works in the browser environment via npm and [browserify](http://browserify.org/). After following
the above steps with Node.js and installing browserify with `npm install -g browserify`,
perform the following (assuming *main.js* is your entry file, that's to say your javascript file where you actually 
use this library):

```shell
browserify main.js > bundle.js
```

Then include *bundle.js* in the HTML pages.

### Webpack Configuration

Using Webpack you may encounter the following error: "Module not found: Error:
Cannot resolve module", most certainly you should disable AMD loader. Add/merge
the following section to your webpack config:

```javascript
module: {
  rules: [
    {
      parser: {
        amd: false
      }
    }
  ]
}
```

## Getting Started

Please follow the [installation](#installation) instruction and execute the following JS code:

```javascript
var FluxNotesTreatmentOptionsRestClient = require('flux_notes_treatment_options_rest_client');

var api = new FluxNotesTreatmentOptionsRestClient.DefaultApi()

var disease = "disease_example"; // {String} disease filter

var opts = { 
  'Race': "race_example", // {String} race filter
  'Dx-Grade': "dxGrade_example", // {String} grade of disease filter
  'ageAtDiagnosis': "ageAtDiagnosis_example", // {String} age at diagnosis filter
  'gender': "gender_example", // {String} patient gender filter
  'stageAtDiagnosis': "stageAtDiagnosis_example", // {String} stage at diagnosis filter
  'mitosisCount': "mitosisCount_example", // {String} mitosis count filter
  'cancerSite': "cancerSite_example", // {String} cancer site filer
  'surgery': "surgery_example", // {String} surgery recieved filter
  'pastTreatments': ["pastTreatments_example"], // {[String]} Treatments recieved in past
  'hemoglobin': "hemoglobin_example", // {String} lab result for hemoglobin filter
  'albumin': "albumin_example", // {String} lab result for albumin filter
  'cD117KIT': "cD117KIT_example", // {String} immunohistochemical finding
  'cD34': "cD34_example", // {String} immunohistochemical finding
  'smoothMuscleActin': "smoothMuscleActin_example", // {String} immunohistochemical finding
  'desmin': "desmin_example", // {String} immunohistochemical finding
  's100': "s100_example", // {String} immunohistochemical finding
  'ki67Index': "ki67Index_example" // {String} immunohistochemical finding
};

api.findTreatmentOptionsByPatientStats(disease, opts, callback).then((res) => { 
	console.log('API Called successfully with response: ', res);
}).catch((error) => { 
	console.log(error);
});

```

## Documentation for API Endpoints

All URIs are relative to *http://localhost:3001/api*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*FluxNotesTreatmentOptionsRestClient.DefaultApi* | [**findTreatmentOptionsByPatientStats**](docs/DefaultApi.md#findTreatmentOptionsByPatientStats) | **GET** /treatmentOptions | Get treatment options given filters
*FluxNotesTreatmentOptionsRestClient.DefaultApi* | [**treatmentOptionsOptions**](docs/DefaultApi.md#treatmentOptionsOptions) | **OPTIONS** /treatmentOptions | 


## Documentation for Models

 - [FluxNotesTreatmentOptionsRestClient.TreatmentOptions](docs/TreatmentOptions.md)


## Documentation for Authorization

 All endpoints do not require authorization.

---
_Source: https://npm.io/package/flux_notes_treatment_options_rest_client · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
