1.0.68 • Published 5 years ago

rrhet_quality_star_api v1.0.68

Weekly downloads
1
License
Unlicense
Repository
-
Last release
5 years ago

rrhet_quality_star_api

RrhetQualityStarApi - JavaScript client for rrhet_quality_star_api Analyses MDS data and generates reports This SDK is automatically generated by the Swagger Codegen project:

  • API version: 1.0.0
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.languages.JavascriptClientCodegen

Installation

For Node.js

npm

To publish the library as a npm, please follow the procedure in "Publishing npm packages".

Then install it via:

npm install rrhet_quality_star_api --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:

npm install

Next, link it globally in npm with the following, also from JAVASCRIPT_CLIENT_DIR:

npm link

Finally, switch to the directory you want to use your rrhet_quality_star_api from, and run:

npm link /path/to/<JAVASCRIPT_CLIENT_DIR>

You should now be able to require('rrhet_quality_star_api') 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/rrhet_quality_star_api then install it via:

    npm install YOUR_USERNAME/rrhet_quality_star_api --save

For browser

The library also works in the browser environment via npm and browserify. 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):

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:

module: {
  rules: [
    {
      parser: {
        amd: false
      }
    }
  ]
}

Getting Started

Please follow the installation instruction and execute the following JS code:

var RrhetQualityStarApi = require('rrhet_quality_star_api');

var api = new RrhetQualityStarApi.DefaultApi()

var location = "location_example"; // {String} facility ID

var type = "type_example"; // {String} Type of chart (qm/4q/qm-gap/qm-risk)

var start = "start_example"; // {String} Start date in the format yyyy-MM-dd

var end = "end_example"; // {String} End date in the format yyyy-MM-dd

var token = "token_example"; // {String} The authorization token

var opts = { 
  'measure': "all", // {String} Quality measure
  'calculationType': "average" // {String} Type of calculation(Average/Predicitve)
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.chartLocationTypeStartEndGet(location, type, start, end, token, opts, callback);

Documentation for API Endpoints

All URIs are relative to https://localhost:8079/v1

ClassMethodHTTP requestDescription
RrhetQualityStarApi.DefaultApichartLocationTypeStartEndGetGET /chart/{location}/{type}/{start}/{end}Returns array of measures for individual quarters in the specified period.
RrhetQualityStarApi.DefaultApifileDownloadGetGET /file-downloaddownload file
RrhetQualityStarApi.DefaultApifileUploadPostPOST /file-uploadupload a file
RrhetQualityStarApi.DefaultApigetDummyGraphDataGetGET /getDummyGraphDataReturns dummy data for homepage graph
RrhetQualityStarApi.DefaultApiimprovementPlanGetGET /improvement-planImprovement Plan
RrhetQualityStarApi.DefaultApiimprovementPlanIdDeleteDELETE /improvement-plan/{id}Deleting improvement plan
RrhetQualityStarApi.DefaultApiimprovementPlanIdGetGET /improvement-plan/{id}Improvement Plan
RrhetQualityStarApi.DefaultApiimprovementPlanIdPutPUT /improvement-plan/{id}Updating improvement plan
RrhetQualityStarApi.DefaultApiimprovementPlanPostPOST /improvement-planAdding improcement plan
RrhetQualityStarApi.DefaultApimeasurePostPOST /measureMeasure
RrhetQualityStarApi.DefaultApiqualityMeasureGetGET /quality-measureQuality Measure
RrhetQualityStarApi.DefaultApiqualityMeasureIdGetGET /quality-measure/{id}Quality Measure
RrhetQualityStarApi.DefaultApiquickTipsLocationGetGET /quick-tips/{location}Returns an array of quick tips
RrhetQualityStarApi.DefaultApireportPostPOST /reportQM report
RrhetQualityStarApi.DefaultApiuploadMDSGetGET /uploadMDSGetting all MDS upload history
RrhetQualityStarApi.DefaultApiuploadMDSLocationYearQuarterPostPOST /uploadMDS/{location}/{year}/{quarter}upload MDS zip file
RrhetQualityStarApi.DefaultApiusersGetGET /usersreturns users

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.

1.0.68

5 years ago

1.0.67

5 years ago

1.0.66

5 years ago

1.0.65

5 years ago

1.0.63

6 years ago

1.0.62

6 years ago

1.0.61

6 years ago

1.0.60

6 years ago

1.0.59

6 years ago

1.0.58

6 years ago

1.0.57

6 years ago

1.0.56

6 years ago

1.0.55

6 years ago

1.0.54

6 years ago

1.0.53

6 years ago

1.0.52

6 years ago

1.0.51

6 years ago

1.0.50

6 years ago

1.0.49

6 years ago

1.0.48

6 years ago

1.0.47

6 years ago

1.0.46

6 years ago

1.0.43

6 years ago

1.0.42

6 years ago

1.0.41

6 years ago

1.0.40

6 years ago

1.0.39

6 years ago

1.0.38

6 years ago

1.0.37

6 years ago

1.0.36

6 years ago

1.0.35

6 years ago

1.0.34

6 years ago

1.0.33

6 years ago

1.0.32

6 years ago

1.0.31

6 years ago

1.0.30

6 years ago

1.0.29

6 years ago

1.0.28

6 years ago

1.0.26

6 years ago

1.0.25

6 years ago

1.0.24

6 years ago

1.0.23

6 years ago

1.0.22

6 years ago

1.0.21

6 years ago

1.0.20

6 years ago

1.0.19

6 years ago

1.0.18

6 years ago

1.0.17

6 years ago

1.0.16

6 years ago

1.0.15

6 years ago

1.0.14

6 years ago

1.0.13

6 years ago

1.0.12

6 years ago

1.0.11

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.45

6 years ago

1.0.44

6 years ago