rmisjs
RMIS javascript libraries
Last updated 10 months ago by raviolin .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install rmisjs 
SYNC missed versions from official npm registry.

JS-обертка для работы с RMIS

Начиная с версии 0.1.1 требуется node.js версии 8.0.0 и выше

Как использовать:

  1. npm install rmisjs
  2. Создать конфигурацию:
var config = {
    rmis: {
        auth: {
            username: "username",
            password: "password"
        },
        path: "https://dev.is-mis.ru/",
        clinicId: clinicId,
        allowedServices: [
            "departments-ws/departments",
            "individuals-ws/individuals",
            "locations-ws/resources"
        ]
    }
}
  1. Подключить модули и установить конфигурацию:
const rmisjs = require('rmisjs')(config);
const rmis = rmisjs.rmis;
const composer = rmisjs.composer;
  1. Вызвать необходимый модуль:
rmis.resource()
    .then(r => {
        return r.getLocations({ clinic: config.rmis.clinicId });
    })
    .then(r => {
        console.log(r);
    })
    .catch(e => {
        console.error(e);
    });

composer.getLocationsWithPortal()
    .then(r => {
        console.log(r);
    })
    .catch(e => { console.error(e); });

Current Tags

  • 0.8.1                                ...           latest (10 months ago)

82 Versions

  • 0.8.1                                ...           10 months ago
  • 0.8.0                                ...           a year ago
  • 0.7.0                                ...           a year ago
  • 0.6.12                                ...           2 years ago
  • 0.6.11                                ...           2 years ago
  • 0.6.10                                ...           2 years ago
  • 0.6.9                                ...           2 years ago
  • 0.6.8                                ...           2 years ago
  • 0.6.7                                ...           2 years ago
  • 0.6.6                                ...           2 years ago
  • 0.6.5                                ...           2 years ago
  • 0.6.4                                ...           2 years ago
  • 0.6.3                                ...           2 years ago
  • 0.6.2                                ...           2 years ago
  • 0.6.1                                ...           2 years ago
  • 0.6.0                                ...           2 years ago
  • 0.5.14                                ...           2 years ago
  • 0.5.13                                ...           2 years ago
  • 0.5.12                                ...           2 years ago
  • 0.5.11                                ...           2 years ago
  • 0.5.10                                ...           2 years ago
  • 0.5.9                                ...           2 years ago
  • 0.5.8                                ...           2 years ago
  • 0.5.7                                ...           2 years ago
  • 0.5.6                                ...           2 years ago
  • 0.5.5                                ...           2 years ago
  • 0.5.4                                ...           2 years ago
  • 0.5.3                                ...           2 years ago
  • 0.5.2                                ...           2 years ago
  • 0.5.1                                ...           2 years ago
  • 0.5.0                                ...           2 years ago
  • 0.4.52                                ...           2 years ago
  • 0.4.51                                ...           2 years ago
  • 0.4.50                                ...           2 years ago
  • 0.4.49                                ...           2 years ago
  • 0.4.48                                ...           2 years ago
  • 0.4.47                                ...           2 years ago
  • 0.4.46                                ...           2 years ago
  • 0.4.43                                ...           2 years ago
  • 0.4.42                                ...           2 years ago
  • 0.4.41                                ...           2 years ago
  • 0.4.39                                ...           2 years ago
  • 0.4.38                                ...           2 years ago
  • 0.4.37                                ...           2 years ago
  • 0.4.36                                ...           2 years ago
  • 0.4.35                                ...           2 years ago
  • 0.4.34                                ...           2 years ago
  • 0.4.33                                ...           2 years ago
  • 0.4.32                                ...           2 years ago
  • 0.4.31                                ...           2 years ago
  • 0.4.30                                ...           2 years ago
  • 0.4.29                                ...           2 years ago
  • 0.4.27                                ...           2 years ago
  • 0.4.26                                ...           2 years ago
  • 0.4.25                                ...           2 years ago
  • 0.4.24                                ...           2 years ago
  • 0.4.23                                ...           2 years ago
  • 0.4.22                                ...           2 years ago
  • 0.4.21                                ...           2 years ago
  • 0.4.20                                ...           3 years ago
  • 0.4.19                                ...           3 years ago
  • 0.4.18                                ...           3 years ago
  • 0.4.17                                ...           3 years ago
  • 0.4.15                                ...           3 years ago
  • 0.4.14                                ...           3 years ago
  • 0.4.13                                ...           3 years ago
  • 0.4.12                                ...           3 years ago
  • 0.4.11                                ...           3 years ago
  • 0.4.10                                ...           3 years ago
  • 0.4.9                                ...           3 years ago
  • 0.4.7                                ...           3 years ago
  • 0.4.6                                ...           3 years ago
  • 0.4.5                                ...           3 years ago
  • 0.4.4                                ...           3 years ago
  • 0.4.3                                ...           3 years ago
  • 0.4.2                                ...           3 years ago
  • 0.4.1                                ...           3 years ago
  • 0.1.3-b                                ...           3 years ago
  • 0.1.3                                ...           3 years ago
  • 0.1.1                                ...           3 years ago
  • 0.0.2                                ...           3 years ago
  • 0.0.1                                ...           3 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 84
Dependencies (11)
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |