@rinse-dental/open-dental 2.5.4 → 2.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -1
- package/package.json +1 -1
- package/release.sh +1 -2
package/README.md
CHANGED
|
@@ -1 +1,30 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
# Unofficial Open Dental node sdk.
|
|
4
|
+
|
|
5
|
+
// Init
|
|
6
|
+
|
|
7
|
+
const { OpenDental } = require('@rinse-dental/open-dental');
|
|
8
|
+
|
|
9
|
+
OpenDental.initialize(
|
|
10
|
+
OPEN_DENTAL_BASEURL, // your base url
|
|
11
|
+
OPEN_DENTAL_API_KEY // your open dental provided api key (ODFHIR ...)
|
|
12
|
+
);
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
//Example
|
|
16
|
+
const patients = OpenDental.Patients();
|
|
17
|
+
const getPatients = getPatients({
|
|
18
|
+
LName: "Smith",
|
|
19
|
+
FName: "John",
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
//return getPatients; //Returns array of patients;
|
|
23
|
+
|
|
24
|
+
const postPatient = patients.createPatient({
|
|
25
|
+
LName: "Smith",
|
|
26
|
+
FName: "John",
|
|
27
|
+
...additionalData,
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
return postPatient; //Returns patient object
|
package/package.json
CHANGED
package/release.sh
CHANGED
|
@@ -43,6 +43,5 @@ gh release create "$NEW_TAG" --title "Release $NEW_TAG" --notes "$COMMIT_MSG"
|
|
|
43
43
|
#example ./release.sh "updated axios error return" patch
|
|
44
44
|
#example ./release.sh "Added procedure codes" minor
|
|
45
45
|
#example ./release.sh "Some commit message" major
|
|
46
|
-
#npm token: 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
|
|
47
46
|
|
|
48
|
-
#./release.sh "
|
|
47
|
+
#./release.sh "Added readme" patch
|