@rinse-dental/open-dental
v3.1.0
Published
A TypeScript library for easily accessing Open Dental APIs.
Readme
Unofficial Open Dental node sdk.
//Init
const { OpenDental } = require('@rinse-dental/open-dental');
OpenDental.initialize(
OPEN_DENTAL_BASEURL, // your base url
OPEN_DENTAL_API_KEY // your open dental provided api key (ODFHIR ...)
);
//Example
const patients = OpenDental.Patients();
const getPatients = getPatients({
LName: "Smith",
FName: "John",
});
//return getPatients; //Returns array of patients;
const postPatient = patients.createPatient({
LName: "Smith",
FName: "John",
...additionalData,
});
return postPatient; //Returns patient object
