0.0.2 • Published 4 years ago
node-nextech v0.0.2
node-nextech
nodejs module for the Nextech's API
Installation
npm install node-nextech
Documentation
var Nextech = require('node-nextech')
var nxt = new Nextech( practiceId,
application_id,
username,
password,
access_token,
refresh_token);
let patient = nxt.getPatient('patientId');
Query
Filters
Sorting
Pagination
Counts
Public Api
Nextech(practiceId, application_id, username, password, access_token, refresh_token)
Arguments
practiceId
- The company ID provided by Nextechapplication_id
- The application ID provided by Nextechusername
- The application's usernamepassword
- The application's passwordaccess_token
- The user's generated tokenrefresh_token
- The user's generated refresh token.
Create
Read
createPatient(object)
Creates the Patient in Nextech
Arguments
object
- The unsaved patient, to be persisted in Nextech
getPatient(id)
Retrieves the Patient from Nextech
Arguments
id
- The Id of persistent Patient