@rinse-dental/open-dental 3.3.1 → 3.4.0
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/dist/api/accountModules.d.ts +29 -0
- package/dist/api/accountModules.d.ts.map +1 -0
- package/dist/api/accountModules.js +49 -0
- package/dist/api/appointments.d.ts +4 -0
- package/dist/api/appointments.d.ts.map +1 -1
- package/dist/api/appointments.js +4 -0
- package/dist/types/accountModuleTypes.d.ts +44 -0
- package/dist/types/accountModuleTypes.d.ts.map +1 -0
- package/dist/types/accountModuleTypes.js +2 -0
- package/dist/types/appointmentTypes.d.ts +6 -0
- package/dist/types/appointmentTypes.d.ts.map +1 -1
- package/dist/types/patientTypes.d.ts +27 -0
- package/dist/types/patientTypes.d.ts.map +1 -1
- package/package.json +1 -1
- package/release.sh +1 -1
- package/src/api/accountModules.ts +61 -0
- package/src/api/appointments.ts +4 -0
- package/src/types/accountModuleTypes.ts +46 -0
- package/src/types/appointmentTypes.ts +6 -0
- package/src/types/patientTypes.ts +27 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import HttpClient from "../utils/httpClient";
|
|
2
|
+
import { ServiceDateView, PatientBalance, Aging } from "../types/accountModuleTypes";
|
|
3
|
+
export default class AccountModules {
|
|
4
|
+
private httpClient;
|
|
5
|
+
constructor(httpClient: HttpClient);
|
|
6
|
+
/**
|
|
7
|
+
* Fetch a patient's ServiceDateView by their ID.
|
|
8
|
+
* @param {number} PatNum - Required in the URL, patient.PatNum.
|
|
9
|
+
* @param {"true" | "false"} isFamily - Optional. Either "true" or "false". Return data for the entire patient's family. Default "false".
|
|
10
|
+
* @returns {Promise<ServiceDateView[]>} - The ServiceDateView return object.
|
|
11
|
+
* @throws {Error} - If `ServiceDateView` is not valid or the API returns an error.
|
|
12
|
+
*/
|
|
13
|
+
getServiceDateView(PatNum: number, isFamily?: "true" | "false"): Promise<ServiceDateView[]>;
|
|
14
|
+
/**
|
|
15
|
+
* Fetch a patient's balance and family balances by their ID.
|
|
16
|
+
* @param {number} PatNum - Required in the URL, patient.PatNum.
|
|
17
|
+
* @returns {Promise<PatientBalance[]>} - The PatientBalance return object.
|
|
18
|
+
* @throws {Error} - If `PatNum` is not valid or the API returns an error.
|
|
19
|
+
*/
|
|
20
|
+
getPatientBalance(PatNum: number): Promise<PatientBalance[]>;
|
|
21
|
+
/**
|
|
22
|
+
* Fetch a patient's aging information by their ID.
|
|
23
|
+
* @param {number} PatNum - Required in the URL, patient.PatNum.
|
|
24
|
+
* @returns {Promise<Aging>} - The Aging return object.
|
|
25
|
+
* @throws {Error} - If `PatNum` is not valid or the API returns an error.
|
|
26
|
+
*/
|
|
27
|
+
getAging(PatNum: number): Promise<Aging>;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=accountModules.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountModules.d.ts","sourceRoot":"","sources":["../../src/api/accountModules.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EACL,eAAe,EACf,cAAc,EACd,KAAK,EACN,MAAM,6BAA6B,CAAC;AAErC,MAAM,CAAC,OAAO,OAAO,cAAc;IACjC,OAAO,CAAC,UAAU,CAAa;gBAEnB,UAAU,EAAE,UAAU;IAIlC;;;;;;OAMG;IACU,kBAAkB,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,OAAO,CAAC,eAAe,EAAE,CAAC;IAYxG;;;;;OAKG;IACU,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,cAAc,EAAE,CAAC;IAQzE;;;;;OAKG;IACU,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC;CAOtD"}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
class AccountModules {
|
|
4
|
+
httpClient;
|
|
5
|
+
constructor(httpClient) {
|
|
6
|
+
this.httpClient = httpClient;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Fetch a patient's ServiceDateView by their ID.
|
|
10
|
+
* @param {number} PatNum - Required in the URL, patient.PatNum.
|
|
11
|
+
* @param {"true" | "false"} isFamily - Optional. Either "true" or "false". Return data for the entire patient's family. Default "false".
|
|
12
|
+
* @returns {Promise<ServiceDateView[]>} - The ServiceDateView return object.
|
|
13
|
+
* @throws {Error} - If `ServiceDateView` is not valid or the API returns an error.
|
|
14
|
+
*/
|
|
15
|
+
async getServiceDateView(PatNum, isFamily) {
|
|
16
|
+
if (!PatNum || typeof PatNum !== "number") {
|
|
17
|
+
throw new Error("Invalid parameter: PatNum must be a valid number.");
|
|
18
|
+
}
|
|
19
|
+
const params = {
|
|
20
|
+
isFamily,
|
|
21
|
+
};
|
|
22
|
+
return await this.httpClient.get(`/accountmodules/${PatNum}/ServiceDateView`, params);
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Fetch a patient's balance and family balances by their ID.
|
|
26
|
+
* @param {number} PatNum - Required in the URL, patient.PatNum.
|
|
27
|
+
* @returns {Promise<PatientBalance[]>} - The PatientBalance return object.
|
|
28
|
+
* @throws {Error} - If `PatNum` is not valid or the API returns an error.
|
|
29
|
+
*/
|
|
30
|
+
async getPatientBalance(PatNum) {
|
|
31
|
+
if (!PatNum || typeof PatNum !== "number") {
|
|
32
|
+
throw new Error("Invalid parameter: PatNum must be a valid number.");
|
|
33
|
+
}
|
|
34
|
+
return await this.httpClient.get(`/accountmodules/${PatNum}/PatientBalances`);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Fetch a patient's aging information by their ID.
|
|
38
|
+
* @param {number} PatNum - Required in the URL, patient.PatNum.
|
|
39
|
+
* @returns {Promise<Aging>} - The Aging return object.
|
|
40
|
+
* @throws {Error} - If `PatNum` is not valid or the API returns an error.
|
|
41
|
+
*/
|
|
42
|
+
async getAging(PatNum) {
|
|
43
|
+
if (!PatNum || typeof PatNum !== "number") {
|
|
44
|
+
throw new Error("Invalid parameter: PatNum must be a valid number.");
|
|
45
|
+
}
|
|
46
|
+
return await this.httpClient.get(`/accountmodules/${PatNum}/Aging`);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
exports.default = AccountModules;
|
|
@@ -83,6 +83,7 @@ export default class Appointments {
|
|
|
83
83
|
* @param {string} [data.Note] - Optional: Appointment notes.
|
|
84
84
|
* @param {number} [data.ProvNum] - Optional: Provider number.
|
|
85
85
|
* @param {number} [data.ProvHyg=0] - Optional: Hygienist provider number. Default is 0.
|
|
86
|
+
* @param {number} [data.Assistant] - Optional: FK to employee.EmployeeNum. Default 0.
|
|
86
87
|
* @param {number} [data.ClinicNum] - Optional: Clinic number.
|
|
87
88
|
* @param {"true" | "false"} [data.IsHygiene="false"] - Optional: Indicates if the appointment is for hygiene. Default is "false".
|
|
88
89
|
* @param {"true" | "false"} [data.IsNewPatient="false"] - Optional: Indicates if the patient is new. Default is "false".
|
|
@@ -90,6 +91,7 @@ export default class Appointments {
|
|
|
90
91
|
* @param {number} [data.AppointmentTypeNum=0] - Optional: Appointment type number. Default is 0.
|
|
91
92
|
* @param {string} [data.colorOverride] - Optional: Custom color in "R,G,B" format.
|
|
92
93
|
* @param {string} [data.PatternSecondary] - Optional: Secondary time pattern.
|
|
94
|
+
* @param {"true" | "false"} [data.IsMirrored] - Optional: Either "true" or "false". If true, then this appointment will show a duplicate mirrored on the secondary provider's operatory. The mirrored appointments can be set to show/hide using the preference "ShowMirroredAppts". Default "false" if "ShowMirroredAppts" is not set.
|
|
93
95
|
* @returns {Promise<Appointment>} - The created appointment.
|
|
94
96
|
* @throws {Error} - If required fields are missing.
|
|
95
97
|
*/
|
|
@@ -151,6 +153,7 @@ export default class Appointments {
|
|
|
151
153
|
* @param {string} [data.Note] - Optional: Updated notes for the appointment. Will overwrite existing notes.
|
|
152
154
|
* @param {number} [data.ProvNum] - Optional: Updated provider number.
|
|
153
155
|
* @param {number} [data.ProvHyg] - Optional: Updated hygienist provider number.
|
|
156
|
+
* @param {number} [data.Assistant] - Optional: FK to employee.EmployeeNum. Default 0.
|
|
154
157
|
* @param {string} [data.AptDateTime] - Optional: Updated appointment start time in "yyyy-MM-dd HH:mm:ss" format.
|
|
155
158
|
* @param {number} [data.ClinicNum] - Optional: Updated clinic number.
|
|
156
159
|
* @param {"true" | "false"} [data.IsHygiene] - Optional: Indicates if the appointment is for hygiene.
|
|
@@ -160,6 +163,7 @@ export default class Appointments {
|
|
|
160
163
|
* @param {number} [data.UnschedStatus] - Optional: Updated unscheduled status definition number.
|
|
161
164
|
* @param {string} [data.colorOverride] - Optional: Updated custom color in "R,G,B" format.
|
|
162
165
|
* @param {string} [data.PatternSecondary] - Optional: Updated secondary time pattern.
|
|
166
|
+
* @param {"true" | "false"} [data.IsMirrored] - Optional: Either "true" or "false". If true, then this appointment will show a duplicate mirrored on the secondary provider's operatory. The mirrored appointments can be set to show/hide using the preference "ShowMirroredAppts". Default "false" if "ShowMirroredAppts" is not set.
|
|
163
167
|
* @returns {Promise<Appointment>} - The updated appointment.
|
|
164
168
|
* @throws {Error} - If `AptNum` is missing.
|
|
165
169
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appointments.d.ts","sourceRoot":"","sources":["../../src/api/appointments.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EACL,WAAW,EACX,eAAe,EACf,oBAAoB,EACpB,aAAa,EACb,cAAc,EACd,sBAAsB,EACtB,6BAA6B,EAC7B,0BAA0B,EAC1B,8BAA8B,EAC9B,gCAAgC,EAChC,iCAAiC,EACjC,uBAAuB,EACvB,sBAAsB,EACtB,wBAAwB,EACzB,MAAM,2BAA2B,CAAC;AAEnC,MAAM,CAAC,OAAO,OAAO,YAAY;IAC/B,OAAO,CAAC,UAAU,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AAG,OAAO,CAAC,IAAI,CAAC;IAQ1E;;;;;;OAMG;IACU,qBAAqB,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAQ/E;;;;;;;;OAQG;IACU,kBAAkB,CAAC,IAAI,EAAE,wBAAwB,GAAG,OAAO,CAAC,IAAI,CAAC;CAO/E"}
|
package/dist/api/appointments.js
CHANGED
|
@@ -118,6 +118,7 @@ class Appointments {
|
|
|
118
118
|
* @param {string} [data.Note] - Optional: Appointment notes.
|
|
119
119
|
* @param {number} [data.ProvNum] - Optional: Provider number.
|
|
120
120
|
* @param {number} [data.ProvHyg=0] - Optional: Hygienist provider number. Default is 0.
|
|
121
|
+
* @param {number} [data.Assistant] - Optional: FK to employee.EmployeeNum. Default 0.
|
|
121
122
|
* @param {number} [data.ClinicNum] - Optional: Clinic number.
|
|
122
123
|
* @param {"true" | "false"} [data.IsHygiene="false"] - Optional: Indicates if the appointment is for hygiene. Default is "false".
|
|
123
124
|
* @param {"true" | "false"} [data.IsNewPatient="false"] - Optional: Indicates if the patient is new. Default is "false".
|
|
@@ -125,6 +126,7 @@ class Appointments {
|
|
|
125
126
|
* @param {number} [data.AppointmentTypeNum=0] - Optional: Appointment type number. Default is 0.
|
|
126
127
|
* @param {string} [data.colorOverride] - Optional: Custom color in "R,G,B" format.
|
|
127
128
|
* @param {string} [data.PatternSecondary] - Optional: Secondary time pattern.
|
|
129
|
+
* @param {"true" | "false"} [data.IsMirrored] - Optional: Either "true" or "false". If true, then this appointment will show a duplicate mirrored on the secondary provider's operatory. The mirrored appointments can be set to show/hide using the preference "ShowMirroredAppts". Default "false" if "ShowMirroredAppts" is not set.
|
|
128
130
|
* @returns {Promise<Appointment>} - The created appointment.
|
|
129
131
|
* @throws {Error} - If required fields are missing.
|
|
130
132
|
*/
|
|
@@ -211,6 +213,7 @@ class Appointments {
|
|
|
211
213
|
* @param {string} [data.Note] - Optional: Updated notes for the appointment. Will overwrite existing notes.
|
|
212
214
|
* @param {number} [data.ProvNum] - Optional: Updated provider number.
|
|
213
215
|
* @param {number} [data.ProvHyg] - Optional: Updated hygienist provider number.
|
|
216
|
+
* @param {number} [data.Assistant] - Optional: FK to employee.EmployeeNum. Default 0.
|
|
214
217
|
* @param {string} [data.AptDateTime] - Optional: Updated appointment start time in "yyyy-MM-dd HH:mm:ss" format.
|
|
215
218
|
* @param {number} [data.ClinicNum] - Optional: Updated clinic number.
|
|
216
219
|
* @param {"true" | "false"} [data.IsHygiene] - Optional: Indicates if the appointment is for hygiene.
|
|
@@ -220,6 +223,7 @@ class Appointments {
|
|
|
220
223
|
* @param {number} [data.UnschedStatus] - Optional: Updated unscheduled status definition number.
|
|
221
224
|
* @param {string} [data.colorOverride] - Optional: Updated custom color in "R,G,B" format.
|
|
222
225
|
* @param {string} [data.PatternSecondary] - Optional: Updated secondary time pattern.
|
|
226
|
+
* @param {"true" | "false"} [data.IsMirrored] - Optional: Either "true" or "false". If true, then this appointment will show a duplicate mirrored on the secondary provider's operatory. The mirrored appointments can be set to show/hide using the preference "ShowMirroredAppts". Default "false" if "ShowMirroredAppts" is not set.
|
|
223
227
|
* @returns {Promise<Appointment>} - The updated appointment.
|
|
224
228
|
* @throws {Error} - If `AptNum` is missing.
|
|
225
229
|
*/
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @see https://www.opendental.com/site/apiaccountmodules.html
|
|
3
|
+
* Gets a list of all charges and credits to the account for a patient and their family, similarly to how it shows in the Service Date View.
|
|
4
|
+
*/
|
|
5
|
+
export interface ServiceDateView {
|
|
6
|
+
ObjectType?: string;
|
|
7
|
+
PrimaryKey?: string;
|
|
8
|
+
Type?: 'Proc' | 'Adj-Att.' | 'PatPay Att.' | 'WriteOff-Att.' | 'InsPay-Att.' | 'PayPlan Charge Att.' | 'PatPay Att. PayPlan' | 'Unallocated' | 'PatPay' | 'WriteOff' | 'Adj' | 'InsPay' | 'PayPlan Credit' | 'Dynamic PayPlan Credit' | 'PayPlan Charge' | 'PatPay PayPlan' | 'Day Total' | 'Overall Total';
|
|
9
|
+
ServiceDate?: string;
|
|
10
|
+
TransDate?: string;
|
|
11
|
+
Patient?: string;
|
|
12
|
+
PatNum?: string;
|
|
13
|
+
Reference?: string;
|
|
14
|
+
Charge?: string;
|
|
15
|
+
Credit?: string;
|
|
16
|
+
Provider?: string;
|
|
17
|
+
InsBal?: string;
|
|
18
|
+
AcctBal?: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @see https://www.opendental.com/site/apiaccountmodules.html
|
|
22
|
+
* Gets the patient portion for a patient's family, similarly to how it shows in the Account Module's Select Patient grid.
|
|
23
|
+
*/
|
|
24
|
+
export interface PatientBalance {
|
|
25
|
+
PatNum?: number;
|
|
26
|
+
Name?: string;
|
|
27
|
+
Balance?: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* @see https://www.opendental.com/site/apiaccountmodules.html
|
|
31
|
+
* Gets the Aging information for a patient and their family, similarly to how it shows in the Account Module Aging grid.
|
|
32
|
+
*/
|
|
33
|
+
export interface Aging {
|
|
34
|
+
Bal_0_30?: number;
|
|
35
|
+
Bal_31_60?: number;
|
|
36
|
+
Bal_61_90?: number;
|
|
37
|
+
BalOver90?: number;
|
|
38
|
+
Total?: number;
|
|
39
|
+
InsEst?: number;
|
|
40
|
+
EstBal?: number;
|
|
41
|
+
PatEstBal?: number;
|
|
42
|
+
Unearned?: number;
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=accountModuleTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountModuleTypes.d.ts","sourceRoot":"","sources":["../../src/types/accountModuleTypes.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MA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;
|
|
20
|
+
Assistant?: number;
|
|
20
21
|
AptDateTime: string;
|
|
21
22
|
NextAptNum?: number;
|
|
22
23
|
UnschedStatus?: number;
|
|
@@ -39,6 +40,7 @@ export interface Appointment {
|
|
|
39
40
|
Priority?: Priority;
|
|
40
41
|
PatternSecondary?: string;
|
|
41
42
|
ItemOrderPlanned?: number;
|
|
43
|
+
IsMirrored?: "true" | "false";
|
|
42
44
|
}
|
|
43
45
|
/**
|
|
44
46
|
* Parameters for GET Appointments.
|
|
@@ -123,6 +125,7 @@ export interface CreateNewAppointmentParams {
|
|
|
123
125
|
Note?: string;
|
|
124
126
|
ProvNum?: number;
|
|
125
127
|
ProvHyg?: number;
|
|
128
|
+
Assistant?: number;
|
|
126
129
|
ClinicNum?: number;
|
|
127
130
|
IsHygiene?: 'true' | 'false';
|
|
128
131
|
IsNewPatient?: 'true' | 'false';
|
|
@@ -130,6 +133,7 @@ export interface CreateNewAppointmentParams {
|
|
|
130
133
|
AppointmentTypeNum?: number;
|
|
131
134
|
colorOverride?: string;
|
|
132
135
|
PatternSecondary?: string;
|
|
136
|
+
IsMirrored?: 'true' | 'false';
|
|
133
137
|
}
|
|
134
138
|
/**
|
|
135
139
|
* Parameters for creating a planned appointment.
|
|
@@ -187,6 +191,7 @@ export interface UpdateAppointmentParams {
|
|
|
187
191
|
Note?: string;
|
|
188
192
|
ProvNum?: number;
|
|
189
193
|
ProvHyg?: number;
|
|
194
|
+
Assistant?: number;
|
|
190
195
|
AptDateTime?: string;
|
|
191
196
|
ClinicNum?: number;
|
|
192
197
|
IsHygiene?: 'true' | 'false';
|
|
@@ -196,6 +201,7 @@ export interface UpdateAppointmentParams {
|
|
|
196
201
|
UnschedStatus?: number;
|
|
197
202
|
colorOverride?: string;
|
|
198
203
|
PatternSecondary?: string;
|
|
204
|
+
IsMirrored?: 'true' | 'false';
|
|
199
205
|
}
|
|
200
206
|
/**
|
|
201
207
|
* Breaks an appointment. Only appointments with an AptStatus of Scheduled can be broken. Creates a CommLog entry if the office has that preference turned on. To reschedule a broken appointment, use Appointments PUT (update) to update the Status, AptDateTime, and Op of the broken appointment.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appointmentTypes.d.ts","sourceRoot":"","sources":["../../src/types/appointmentTypes.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,WAAW,WAAW;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,SAAS,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAChC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC7B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qBAAq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M,SAAS,GACjB,WAAW,GACX,UAAU,GACV,aAAa,GACb,MAAM,GACN,QAAQ,GACR,SAAS,GACT,QAAQ,GACR,iBAAiB,CAAC;AAEtB;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,QAAQ,GAAG,MAAM,CAAC"}
|
|
@@ -40,6 +40,11 @@ export interface GetPatientsSimpleParams extends GetPatientsParams {
|
|
|
40
40
|
Position?: 'Single' | 'Married' | 'Child' | 'Widowed' | 'Divorced';
|
|
41
41
|
Guarantor?: number;
|
|
42
42
|
SuperFamily?: number;
|
|
43
|
+
EmployerNum?: number;
|
|
44
|
+
FeeSched?: number;
|
|
45
|
+
HmPhone?: string;
|
|
46
|
+
WkPhone?: string;
|
|
47
|
+
WirelessPhone?: string;
|
|
43
48
|
Offset?: number;
|
|
44
49
|
}
|
|
45
50
|
/**
|
|
@@ -71,9 +76,14 @@ export interface CreatePatientParams {
|
|
|
71
76
|
SecProv?: number;
|
|
72
77
|
BillingType?: string;
|
|
73
78
|
FamFinUrgNote?: string;
|
|
79
|
+
MedUrgNote?: string;
|
|
80
|
+
ApptModNote?: string;
|
|
74
81
|
ChartNumber?: string;
|
|
82
|
+
MedicaidID?: string;
|
|
83
|
+
EmployerNum?: number;
|
|
75
84
|
DateFirstVisit?: string;
|
|
76
85
|
ClinicNum?: number;
|
|
86
|
+
Premed?: 'true' | 'false';
|
|
77
87
|
Ward?: string;
|
|
78
88
|
PreferConfirmMethod?: 'None' | 'Email' | 'TextMessage' | 'PhoneCall';
|
|
79
89
|
PreferContactMethod?: 'None' | 'Email' | 'TextMessage' | 'PhoneCall' | 'Mail';
|
|
@@ -107,9 +117,14 @@ export interface UpdatePatientParams {
|
|
|
107
117
|
SecProv?: number;
|
|
108
118
|
BillingType?: string;
|
|
109
119
|
FamFinUrgNote?: string;
|
|
120
|
+
MedUrgNote?: string;
|
|
121
|
+
ApptModNote?: string;
|
|
110
122
|
ChartNumber?: string;
|
|
123
|
+
MedicaidID?: string;
|
|
124
|
+
EmployerNum?: number;
|
|
111
125
|
DateFirstVisit?: string;
|
|
112
126
|
ClinicNum?: number;
|
|
127
|
+
Premed?: 'true' | 'false';
|
|
113
128
|
Ward?: string;
|
|
114
129
|
PreferConfirmMethod?: 'None' | 'Email' | 'TextMessage' | 'PhoneCall';
|
|
115
130
|
PreferContactMethod?: 'None' | 'Email' | 'TextMessage' | 'PhoneCall' | 'Mail';
|
|
@@ -153,22 +168,34 @@ export interface Patient {
|
|
|
153
168
|
BillingType?: string;
|
|
154
169
|
ImageFolder?: string;
|
|
155
170
|
FamFinUrgNote?: string;
|
|
171
|
+
MedUrgNote?: string;
|
|
172
|
+
ApptModNote?: string;
|
|
156
173
|
ChartNumber?: string;
|
|
157
174
|
MedicaidID?: string;
|
|
175
|
+
Bal_0_30?: number;
|
|
176
|
+
Bal_31_60?: number;
|
|
177
|
+
Bal_61_90?: number;
|
|
178
|
+
BalOver90?: number;
|
|
179
|
+
InsEst?: number;
|
|
158
180
|
BalTotal?: number;
|
|
181
|
+
dateTimeLastAging?: string;
|
|
182
|
+
EmployerNum?: number;
|
|
159
183
|
DateFirstVisit?: string;
|
|
160
184
|
ClinicNum?: number;
|
|
161
185
|
clinicAbbr?: string;
|
|
186
|
+
Premed?: 'true' | 'false';
|
|
162
187
|
Ward?: string;
|
|
163
188
|
PreferConfirmMethod?: 'None' | 'Email' | 'TextMessage' | 'PhoneCall';
|
|
164
189
|
PreferContactMethod?: 'None' | 'Email' | 'TextMessage' | 'PhoneCall' | 'Mail';
|
|
165
190
|
PreferRecallMethod?: 'None' | 'Email' | 'TextMessage' | 'PhoneCall' | 'Mail';
|
|
166
191
|
Language?: string;
|
|
167
192
|
AdmitDate?: string;
|
|
193
|
+
SiteNum?: number;
|
|
168
194
|
siteDesc?: string;
|
|
169
195
|
DateTStamp?: string;
|
|
170
196
|
SuperFamily?: number;
|
|
171
197
|
TxtMsgOk?: 'Unknown' | 'Yes' | 'No';
|
|
198
|
+
SecUserNumEntry?: number;
|
|
172
199
|
SecDateEntry?: string;
|
|
173
200
|
}
|
|
174
201
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patientTypes.d.ts","sourceRoot":"","sources":["../../src/types/patientTypes.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC5B,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAEH;;;GAGG;AACH,MAAM,WAAW,uBAAwB,SAAQ,iBAAiB;IAC9D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,SAAS,GAAG,YAAY,GAAG,UAAU,GAAG,UAAU,GAAG,UAAU,G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QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,GAAG,KAAK,GAAG,IAAI,CAAC;CACrC"}
|
package/package.json
CHANGED
package/release.sh
CHANGED
|
@@ -41,7 +41,7 @@ gh release create "$NEW_TAG" --title "Release $NEW_TAG" --notes "$COMMIT_MSG"
|
|
|
41
41
|
|
|
42
42
|
|
|
43
43
|
#example ./release.sh "updated axios error return" patch
|
|
44
|
-
#example ./release.sh "Added
|
|
44
|
+
#example ./release.sh "Added PayPlans API" minor
|
|
45
45
|
#example ./release.sh "Some commit message" major
|
|
46
46
|
|
|
47
47
|
#./release.sh "Added readme" patch
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import HttpClient from "../utils/httpClient";
|
|
2
|
+
import {
|
|
3
|
+
ServiceDateView,
|
|
4
|
+
PatientBalance,
|
|
5
|
+
Aging,
|
|
6
|
+
} from "../types/accountModuleTypes";
|
|
7
|
+
|
|
8
|
+
export default class AccountModules {
|
|
9
|
+
private httpClient: HttpClient;
|
|
10
|
+
|
|
11
|
+
constructor(httpClient: HttpClient) {
|
|
12
|
+
this.httpClient = httpClient;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Fetch a patient's ServiceDateView by their ID.
|
|
17
|
+
* @param {number} PatNum - Required in the URL, patient.PatNum.
|
|
18
|
+
* @param {"true" | "false"} isFamily - Optional. Either "true" or "false". Return data for the entire patient's family. Default "false".
|
|
19
|
+
* @returns {Promise<ServiceDateView[]>} - The ServiceDateView return object.
|
|
20
|
+
* @throws {Error} - If `ServiceDateView` is not valid or the API returns an error.
|
|
21
|
+
*/
|
|
22
|
+
public async getServiceDateView(PatNum: number, isFamily?: "true" | "false"): Promise<ServiceDateView[]> {
|
|
23
|
+
if (!PatNum || typeof PatNum !== "number") {
|
|
24
|
+
throw new Error("Invalid parameter: PatNum must be a valid number.");
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
const params = {
|
|
28
|
+
isFamily,
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
return await this.httpClient.get<ServiceDateView[]>(`/accountmodules/${PatNum}/ServiceDateView`, params);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Fetch a patient's balance and family balances by their ID.
|
|
36
|
+
* @param {number} PatNum - Required in the URL, patient.PatNum.
|
|
37
|
+
* @returns {Promise<PatientBalance[]>} - The PatientBalance return object.
|
|
38
|
+
* @throws {Error} - If `PatNum` is not valid or the API returns an error.
|
|
39
|
+
*/
|
|
40
|
+
public async getPatientBalance(PatNum: number): Promise<PatientBalance[]> {
|
|
41
|
+
if (!PatNum || typeof PatNum !== "number") {
|
|
42
|
+
throw new Error("Invalid parameter: PatNum must be a valid number.");
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
return await this.httpClient.get<PatientBalance[]>(`/accountmodules/${PatNum}/PatientBalances`);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Fetch a patient's aging information by their ID.
|
|
50
|
+
* @param {number} PatNum - Required in the URL, patient.PatNum.
|
|
51
|
+
* @returns {Promise<Aging>} - The Aging return object.
|
|
52
|
+
* @throws {Error} - If `PatNum` is not valid or the API returns an error.
|
|
53
|
+
*/
|
|
54
|
+
public async getAging(PatNum: number): Promise<Aging> {
|
|
55
|
+
if (!PatNum || typeof PatNum !== "number") {
|
|
56
|
+
throw new Error("Invalid parameter: PatNum must be a valid number.");
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
return await this.httpClient.get<Aging>(`/accountmodules/${PatNum}/Aging`);
|
|
60
|
+
}
|
|
61
|
+
}
|
package/src/api/appointments.ts
CHANGED
|
@@ -156,6 +156,7 @@ public async getAppointments({
|
|
|
156
156
|
* @param {string} [data.Note] - Optional: Appointment notes.
|
|
157
157
|
* @param {number} [data.ProvNum] - Optional: Provider number.
|
|
158
158
|
* @param {number} [data.ProvHyg=0] - Optional: Hygienist provider number. Default is 0.
|
|
159
|
+
* @param {number} [data.Assistant] - Optional: FK to employee.EmployeeNum. Default 0.
|
|
159
160
|
* @param {number} [data.ClinicNum] - Optional: Clinic number.
|
|
160
161
|
* @param {"true" | "false"} [data.IsHygiene="false"] - Optional: Indicates if the appointment is for hygiene. Default is "false".
|
|
161
162
|
* @param {"true" | "false"} [data.IsNewPatient="false"] - Optional: Indicates if the patient is new. Default is "false".
|
|
@@ -163,6 +164,7 @@ public async getAppointments({
|
|
|
163
164
|
* @param {number} [data.AppointmentTypeNum=0] - Optional: Appointment type number. Default is 0.
|
|
164
165
|
* @param {string} [data.colorOverride] - Optional: Custom color in "R,G,B" format.
|
|
165
166
|
* @param {string} [data.PatternSecondary] - Optional: Secondary time pattern.
|
|
167
|
+
* @param {"true" | "false"} [data.IsMirrored] - Optional: Either "true" or "false". If true, then this appointment will show a duplicate mirrored on the secondary provider's operatory. The mirrored appointments can be set to show/hide using the preference "ShowMirroredAppts". Default "false" if "ShowMirroredAppts" is not set.
|
|
166
168
|
* @returns {Promise<Appointment>} - The created appointment.
|
|
167
169
|
* @throws {Error} - If required fields are missing.
|
|
168
170
|
*/
|
|
@@ -267,6 +269,7 @@ public async getAppointments({
|
|
|
267
269
|
* @param {string} [data.Note] - Optional: Updated notes for the appointment. Will overwrite existing notes.
|
|
268
270
|
* @param {number} [data.ProvNum] - Optional: Updated provider number.
|
|
269
271
|
* @param {number} [data.ProvHyg] - Optional: Updated hygienist provider number.
|
|
272
|
+
* @param {number} [data.Assistant] - Optional: FK to employee.EmployeeNum. Default 0.
|
|
270
273
|
* @param {string} [data.AptDateTime] - Optional: Updated appointment start time in "yyyy-MM-dd HH:mm:ss" format.
|
|
271
274
|
* @param {number} [data.ClinicNum] - Optional: Updated clinic number.
|
|
272
275
|
* @param {"true" | "false"} [data.IsHygiene] - Optional: Indicates if the appointment is for hygiene.
|
|
@@ -276,6 +279,7 @@ public async getAppointments({
|
|
|
276
279
|
* @param {number} [data.UnschedStatus] - Optional: Updated unscheduled status definition number.
|
|
277
280
|
* @param {string} [data.colorOverride] - Optional: Updated custom color in "R,G,B" format.
|
|
278
281
|
* @param {string} [data.PatternSecondary] - Optional: Updated secondary time pattern.
|
|
282
|
+
* @param {"true" | "false"} [data.IsMirrored] - Optional: Either "true" or "false". If true, then this appointment will show a duplicate mirrored on the secondary provider's operatory. The mirrored appointments can be set to show/hide using the preference "ShowMirroredAppts". Default "false" if "ShowMirroredAppts" is not set.
|
|
279
283
|
* @returns {Promise<Appointment>} - The updated appointment.
|
|
280
284
|
* @throws {Error} - If `AptNum` is missing.
|
|
281
285
|
*/
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @see https://www.opendental.com/site/apiaccountmodules.html
|
|
3
|
+
* Gets a list of all charges and credits to the account for a patient and their family, similarly to how it shows in the Service Date View.
|
|
4
|
+
*/
|
|
5
|
+
export interface ServiceDateView {
|
|
6
|
+
ObjectType?: string; // The type of object being returned. Either ProcedureLog, Adjustment, PaySplit, ClaimProc, PayPlanCharge, or PayPlan. Otherwise blank.
|
|
7
|
+
PrimaryKey?: string; // Primary Key corresponding to the ObjectType. Example: procedure.ProcNum=985.
|
|
8
|
+
Type?: 'Proc' | 'Adj-Att.' | 'PatPay Att.' | 'WriteOff-Att.' | 'InsPay-Att.' | 'PayPlan Charge Att.' | 'PatPay Att. PayPlan' | 'Unallocated' | 'PatPay' | 'WriteOff' | 'Adj' | 'InsPay' | 'PayPlan Credit' | 'Dynamic PayPlan Credit' | 'PayPlan Charge' | 'PatPay PayPlan' | 'Day Total' | 'Overall Total'; // Further details of the ObjectType being displayed: 'Proc', 'Adj-Att.', 'PatPay Att.', 'WriteOff-Att.', 'InsPay-Att.', 'PayPlan Charge Att.', 'PatPay Att. PayPlan', 'Unallocated', 'PatPay', 'WriteOff', 'Adj', 'InsPay', 'PayPlan Credit', 'Dynamic PayPlan Credit', 'PayPlan Charge', 'PatPay PayPlan', 'Day Total', 'Overall Total'. Att. indicates Attached.
|
|
9
|
+
ServiceDate?: string; // Date service was provided.
|
|
10
|
+
TransDate?: string; // Date transaction was posted.
|
|
11
|
+
Patient?: string; // patient.FName.
|
|
12
|
+
PatNum?: string; // patient.PatNum.
|
|
13
|
+
Reference?: string; // Description of the of the returned object.
|
|
14
|
+
Charge?: string; // Amount that was charged.
|
|
15
|
+
Credit?: string; // Amount that was paid.
|
|
16
|
+
Provider?: string; // provider.Abbr.
|
|
17
|
+
InsBal?: string; // Balance of estimated insurance payment.
|
|
18
|
+
AcctBal?: string; // The remaining patient portion balance.
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* @see https://www.opendental.com/site/apiaccountmodules.html
|
|
23
|
+
* Gets the patient portion for a patient's family, similarly to how it shows in the Account Module's Select Patient grid.
|
|
24
|
+
*/
|
|
25
|
+
export interface PatientBalance {
|
|
26
|
+
PatNum?: number; // The patient's PatNum / family guarantor's PatNum.
|
|
27
|
+
Name?: string; // The first and last name of the patient, or "Entire Family" when regarding the total patient portion of the family.
|
|
28
|
+
Balance?: string; // The balance of the patient/entire family.
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @see https://www.opendental.com/site/apiaccountmodules.html
|
|
33
|
+
* Gets the Aging information for a patient and their family, similarly to how it shows in the Account Module Aging grid.
|
|
34
|
+
*/
|
|
35
|
+
export interface Aging {
|
|
36
|
+
Bal_0_30?: number; // Aged balance from 0 to 30 days old for the entire family.
|
|
37
|
+
Bal_31_60?: number; // Aged balance from 31 to 60 days old for the entire family.
|
|
38
|
+
Bal_61_90?: number; // Aged balance from 61 to 90 days old for the entire family.
|
|
39
|
+
BalOver90?: number; // Aged balance over 90 days old for the entire family.
|
|
40
|
+
Total?: number; // Total balance for entire family before insurance estimate.
|
|
41
|
+
InsEst?: number; // Insurance Estimate for entire family.
|
|
42
|
+
EstBal?: number; // The total remaining balance for the family after subtracting pending insurance amounts and write-offs.
|
|
43
|
+
PatEstBal?: number; // The patient balance after subtracting pending insurance amounts and write-offs.
|
|
44
|
+
Unearned?: number; // The total Unearned / Prepayment balance for the family.
|
|
45
|
+
}
|
|
46
|
+
|
|
@@ -17,6 +17,7 @@ export interface Appointment {
|
|
|
17
17
|
ProvNum?: number; // Provider number associated with the appointment
|
|
18
18
|
provAbbr?: string; // Abbreviation of the provider's name
|
|
19
19
|
ProvHyg?: number; // Hygienist provider number
|
|
20
|
+
Assistant?: number; // (Added in version 25.4.28) Optional. FK to employee.EmployeeNum. Default 0.
|
|
20
21
|
AptDateTime: string; // Appointment start time in "yyyy-MM-dd HH:mm:ss" format
|
|
21
22
|
NextAptNum?: number; // Appointment number of the next scheduled appointment
|
|
22
23
|
UnschedStatus?: number; // Status of an unscheduled appointment
|
|
@@ -39,6 +40,7 @@ export interface Appointment {
|
|
|
39
40
|
Priority?: Priority; // Priority of the appointment (Normal, ASAP)
|
|
40
41
|
PatternSecondary?: string; // Secondary time pattern in 5-minute increments
|
|
41
42
|
ItemOrderPlanned?: number; // Order of the item in planned appointments
|
|
43
|
+
IsMirrored?: "true" | "false"; // (Added in version 25.4.28) Optional. Either "true" or "false". If true, then this appointment will show a duplicate mirrored on the secondary provider's operatory. The mirrored appointments can be set to show/hide using the preference "ShowMirroredAppts". Default "false" if "ShowMirroredAppts" is not set.
|
|
42
44
|
}
|
|
43
45
|
|
|
44
46
|
/**
|
|
@@ -130,6 +132,7 @@ export interface Appointment {
|
|
|
130
132
|
Note?: string; // Optional: Notes for the appointment
|
|
131
133
|
ProvNum?: number; // Optional: Provider number
|
|
132
134
|
ProvHyg?: number; // Optional: Hygienist provider number
|
|
135
|
+
Assistant?: number; // (Added in version 25.4.28) Optional. FK to employee.EmployeeNum. Default 0.
|
|
133
136
|
ClinicNum?: number; // Optional: Clinic number
|
|
134
137
|
IsHygiene?: 'true' | 'false'; // Optional: Indicates a hygiene appointment. Default false.
|
|
135
138
|
IsNewPatient?: 'true' | 'false'; // Optional: Indicates a new patient appointment. Default false.
|
|
@@ -137,6 +140,7 @@ export interface Appointment {
|
|
|
137
140
|
AppointmentTypeNum?: number; // Optional: Appointment type number
|
|
138
141
|
colorOverride?: string; // Optional: Custom color in "R,G,B" format
|
|
139
142
|
PatternSecondary?: string; // Optional: Secondary time pattern
|
|
143
|
+
IsMirrored?: 'true' | 'false'; // (Added in version 25.4.28) Optional. Either "true" or "false". If true, then this appointment will show a duplicate mirrored on the secondary provider's operatory. The mirrored appointments can be set to show/hide using the preference "ShowMirroredAppts". Default "false" if "ShowMirroredAppts" is not set.
|
|
140
144
|
}
|
|
141
145
|
|
|
142
146
|
/**
|
|
@@ -198,6 +202,7 @@ export interface Appointment {
|
|
|
198
202
|
Note?: string; // Optional: Updated notes
|
|
199
203
|
ProvNum?: number; // Optional: Updated provider number
|
|
200
204
|
ProvHyg?: number; // Optional: Updated hygienist provider number
|
|
205
|
+
Assistant?: number; // (Added in version 25.4.28) Optional. FK to employee.EmployeeNum. Default 0.
|
|
201
206
|
AptDateTime?: string; // Optional: Updated start time
|
|
202
207
|
ClinicNum?: number; // Optional: Updated clinic number
|
|
203
208
|
IsHygiene?: 'true' | 'false'; // Optional: Indicates a hygiene appointment
|
|
@@ -207,6 +212,7 @@ export interface Appointment {
|
|
|
207
212
|
UnschedStatus?: number; // Optional: Unscheduled status
|
|
208
213
|
colorOverride?: string; // Optional: Updated custom color in "R,G,B" format
|
|
209
214
|
PatternSecondary?: string; // Optional: Updated secondary time pattern
|
|
215
|
+
IsMirrored?: 'true' | 'false'; // (Added in version 25.4.28) Optional. Either "true" or "false". If true, then this appointment will show a duplicate mirrored on the secondary provider's operatory. The mirrored appointments can be set to show/hide using the preference "ShowMirroredAppts". Default "false" if "ShowMirroredAppts" is not set.
|
|
210
216
|
}
|
|
211
217
|
|
|
212
218
|
/**
|
|
@@ -41,6 +41,11 @@ export interface GetPatientsSimpleParams extends GetPatientsParams {
|
|
|
41
41
|
Position?: 'Single' | 'Married' | 'Child' | 'Widowed' | 'Divorced'; // Marital status
|
|
42
42
|
Guarantor?: number; // Guarantor's PatNum
|
|
43
43
|
SuperFamily?: number; // Super family number
|
|
44
|
+
EmployerNum?: number; // (Added in version 24.3.30) FK to employer.EmployerNum.
|
|
45
|
+
FeeSched?: number; // (Added in version 25.2.19) FK to feesched.FeeSchedNum.
|
|
46
|
+
HmPhone?: string; // (Added in version 25.4.29) Patient's home phone number.
|
|
47
|
+
WkPhone?: string; // (Added in version 25.4.29) Patient's work phone number.
|
|
48
|
+
WirelessPhone?: string; // (Added in version 25.4.29) Patient's wireless phone number.
|
|
44
49
|
Offset?: number; // Pagination offset
|
|
45
50
|
}
|
|
46
51
|
|
|
@@ -73,9 +78,14 @@ export interface CreatePatientParams {
|
|
|
73
78
|
SecProv?: number; // Secondary provider number
|
|
74
79
|
BillingType?: string; // Billing type description
|
|
75
80
|
FamFinUrgNote?: string; // Family financial urgent note
|
|
81
|
+
MedUrgNote?: string; // (Added in version 25.4.29) Urgent medical note for patient. Default empty string.
|
|
82
|
+
ApptModNote?: string; // (Added in version 25.4.29) Appointment module note for patient. Default empty string.
|
|
76
83
|
ChartNumber?: string; // Chart number
|
|
84
|
+
MedicaidID?: string; // The Medicaid ID for this patient.
|
|
85
|
+
EmployerNum?: number; // FK to employer.EmployerNum. Default 0.
|
|
77
86
|
DateFirstVisit?: string; // Date of first visit in 'yyyy-MM-dd' format
|
|
78
87
|
ClinicNum?: number; // Clinic number
|
|
88
|
+
Premed?: 'true' | 'false'; // Set to true if patient needs to be premedicated for appointment. Default is false.
|
|
79
89
|
Ward?: string; // Ward, hospital feature must be enabled
|
|
80
90
|
PreferConfirmMethod?: 'None' | 'Email' | 'TextMessage' | 'PhoneCall'; // Preferred confirmation method
|
|
81
91
|
PreferContactMethod?: 'None' | 'Email' | 'TextMessage' | 'PhoneCall' | 'Mail'; // Preferred contact method
|
|
@@ -110,9 +120,14 @@ export interface CreatePatientParams {
|
|
|
110
120
|
SecProv?: number; // Secondary provider number
|
|
111
121
|
BillingType?: string; // Billing type description
|
|
112
122
|
FamFinUrgNote?: string; // Family financial urgent note
|
|
123
|
+
MedUrgNote?: string; // (Added in version 25.4.29) Urgent medical note for patient. Default empty string.
|
|
124
|
+
ApptModNote?: string; // (Added in version 25.4.29) Appointment module note for patient. Default empty string.
|
|
113
125
|
ChartNumber?: string; // Chart number
|
|
126
|
+
MedicaidID?: string; // The Medicaid ID for this patient.
|
|
127
|
+
EmployerNum?: number; // FK to employer.EmployerNum. Default 0.
|
|
114
128
|
DateFirstVisit?: string; // Date of first visit in 'yyyy-MM-dd' format
|
|
115
129
|
ClinicNum?: number; // Clinic number
|
|
130
|
+
Premed?: 'true' | 'false'; // Set to true if patient needs to be premedicated for appointment. Default is false.
|
|
116
131
|
Ward?: string; // Ward, hospital feature must be enabled
|
|
117
132
|
PreferConfirmMethod?: 'None' | 'Email' | 'TextMessage' | 'PhoneCall'; // Preferred confirmation method
|
|
118
133
|
PreferContactMethod?: 'None' | 'Email' | 'TextMessage' | 'PhoneCall' | 'Mail'; // Preferred contact method
|
|
@@ -157,22 +172,34 @@ export interface Patient {
|
|
|
157
172
|
BillingType?: string; // Billing type description
|
|
158
173
|
ImageFolder?: string; // Image folder name
|
|
159
174
|
FamFinUrgNote?: string; // Family financial urgent note
|
|
175
|
+
MedUrgNote?: string; //
|
|
176
|
+
ApptModNote?: string; //
|
|
160
177
|
ChartNumber?: string; // Chart number
|
|
161
178
|
MedicaidID?: string; // Medicaid ID
|
|
179
|
+
Bal_0_30?: number; //
|
|
180
|
+
Bal_31_60?: number; //
|
|
181
|
+
Bal_61_90?: number; //
|
|
182
|
+
BalOver90?: number; //
|
|
183
|
+
InsEst?: number; //
|
|
162
184
|
BalTotal?: number; // Total balance
|
|
185
|
+
dateTimeLastAging?: string; //
|
|
186
|
+
EmployerNum?: number; //
|
|
163
187
|
DateFirstVisit?: string; // Date of first visit in 'yyyy-MM-dd' format
|
|
164
188
|
ClinicNum?: number; // Clinic number
|
|
165
189
|
clinicAbbr?: string; // Clinic abbreviation
|
|
190
|
+
Premed?: 'true' | 'false'; //
|
|
166
191
|
Ward?: string; // Ward
|
|
167
192
|
PreferConfirmMethod?: 'None' | 'Email' | 'TextMessage' | 'PhoneCall'; // Preferred confirmation method
|
|
168
193
|
PreferContactMethod?: 'None' | 'Email' | 'TextMessage' | 'PhoneCall' | 'Mail'; // Preferred contact method
|
|
169
194
|
PreferRecallMethod?: 'None' | 'Email' | 'TextMessage' | 'PhoneCall' | 'Mail'; // Preferred recall method
|
|
170
195
|
Language?: string; // Language code (ISO 639-2 format)
|
|
171
196
|
AdmitDate?: string; // Admission date in 'yyyy-MM-dd' format
|
|
197
|
+
SiteNum?: number; // Site number
|
|
172
198
|
siteDesc?: string; // Site description
|
|
173
199
|
DateTStamp?: string; // Timestamp of the last update in 'yyyy-MM-dd HH:mm:ss' format
|
|
174
200
|
SuperFamily?: number; // Super family number
|
|
175
201
|
TxtMsgOk?: 'Unknown' | 'Yes' | 'No'; // Text message consent
|
|
202
|
+
SecUserNumEntry?: number; // employee num
|
|
176
203
|
SecDateEntry?: string; // Secondary date entry in 'yyyy-MM-dd' format
|
|
177
204
|
}
|
|
178
205
|
|