oro-sdk-apis 1.30.0-dev1 → 1.32.0-dev1
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/models/consult.d.ts +1 -1
- package/dist/models/practice.d.ts +1 -0
- package/dist/models/workflow.d.ts +1 -0
- package/dist/oro-sdk-apis.cjs.development.js +6 -6
- package/dist/oro-sdk-apis.cjs.development.js.map +1 -1
- package/dist/oro-sdk-apis.cjs.production.min.js +1 -1
- package/dist/oro-sdk-apis.cjs.production.min.js.map +1 -1
- package/dist/oro-sdk-apis.esm.js +6 -6
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/dist/services/consult.d.ts +3 -3
- package/dist/services/teller.d.ts +2 -2
- package/package.json +2 -2
- package/src/models/consult.ts +1 -1
- package/src/models/practice.ts +2 -1
- package/src/models/workflow.ts +3 -1
- package/src/services/consult.ts +5 -5
- package/src/services/teller.ts +4 -4
|
@@ -22,7 +22,7 @@ export declare class ConsultService {
|
|
|
22
22
|
* @param filterAssignee array of practitioner uuids with which you want to filter the consultations
|
|
23
23
|
* @returns a number of consult
|
|
24
24
|
*/
|
|
25
|
-
countConsults(uuidPractice?: Uuid, uuidRequester?: Uuid, statusesMedical?: MedicalStatus[], statusesExclude?: MedicalStatus[], closedReasonTypes?: ClosedReasonType[],
|
|
25
|
+
countConsults(uuidPractice?: Uuid, uuidRequester?: Uuid, statusesMedical?: MedicalStatus[], statusesExclude?: MedicalStatus[], closedReasonTypes?: ClosedReasonType[], closedReasonLogs?: string[], shortId?: string, columnToSortTo?: string[], orderToSortTo?: string[], perPage?: number, indexPage?: number, filterAssignedDoctor?: string, filterCurrentPractitioner?: string, filterIsoLocality?: string[], filterAssignee?: string[]): Promise<number>;
|
|
26
26
|
/**
|
|
27
27
|
* This function get consults using parameters
|
|
28
28
|
* @param uuidPractice the practice uuid
|
|
@@ -39,12 +39,12 @@ export declare class ConsultService {
|
|
|
39
39
|
* @param filterIsoLocality the of isoLocality to filter with
|
|
40
40
|
* @returns a list of consult
|
|
41
41
|
*/
|
|
42
|
-
getConsults(uuidPractice?: Uuid, uuidRequester?: Uuid, statusesMedical?: MedicalStatus[], statusesExclude?: MedicalStatus[], closedReasonTypes?: ClosedReasonType[],
|
|
42
|
+
getConsults(uuidPractice?: Uuid, uuidRequester?: Uuid, statusesMedical?: MedicalStatus[], statusesExclude?: MedicalStatus[], closedReasonTypes?: ClosedReasonType[], closedReasonLogs?: string[], shortId?: string, columnToSortTo?: string[], orderToSortTo?: string[], perPage?: number, indexPage?: number, filterAssignedDoctor?: string, filterCurrentPractitioner?: string, filterIsoLocality?: string[], filterAssignee?: string[]): Promise<Consult[]>;
|
|
43
43
|
getConsultByUUID(uuidConsult: Uuid, uuidPractice?: Uuid): Promise<Consult>;
|
|
44
44
|
updateConsultByUUID(uuidConsult: Uuid, consult: {
|
|
45
45
|
statusMedical?: MedicalStatus;
|
|
46
46
|
closedReasonType?: ClosedReasonType;
|
|
47
|
-
|
|
47
|
+
closedReasonLogs?: string;
|
|
48
48
|
uuidAssignedDoctor?: Uuid;
|
|
49
49
|
neverExpires?: boolean;
|
|
50
50
|
}, uuidPractice?: Uuid, uuidRequester?: Uuid): Promise<Consult>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { APIService } from './api';
|
|
2
|
-
import { Consult, DataCreateResponse, LockboxDataRequest, MedicalStatus,
|
|
2
|
+
import { ClosedReasonType, Consult, DataCreateResponse, LockboxDataRequest, MedicalStatus, ResumeConsultEmailRequest, Uuid } from '../models';
|
|
3
3
|
export declare class TellerService {
|
|
4
4
|
private api;
|
|
5
5
|
private baseURL;
|
|
6
6
|
constructor(api: APIService, baseURL: string);
|
|
7
7
|
lockboxDataStore(lockboxUuid: Uuid, req: LockboxDataRequest, lockboxOwnerUuid?: Uuid, previousDataUuid?: Uuid): Promise<DataCreateResponse>;
|
|
8
|
-
updateConsultByUUID(patientUuid: Uuid, uuidConsult: Uuid, statusMedical: MedicalStatus, closedReasonType?: ClosedReasonType,
|
|
8
|
+
updateConsultByUUID(patientUuid: Uuid, uuidConsult: Uuid, statusMedical: MedicalStatus, closedReasonType?: ClosedReasonType, closedReasonLogs?: string, neverExpires?: boolean): Promise<Consult>;
|
|
9
9
|
/**
|
|
10
10
|
* This function notifies teller that the fax sent for a specific consult did not get through
|
|
11
11
|
* @todo - Make service only exposed route
|
package/package.json
CHANGED
package/src/models/consult.ts
CHANGED
|
@@ -111,7 +111,7 @@ export interface Consult {
|
|
|
111
111
|
uuidCurrentAssigned: string
|
|
112
112
|
statusTask?: TaskStatus
|
|
113
113
|
closedReasonType?: ClosedReasonType
|
|
114
|
-
|
|
114
|
+
closedReasonLogs?: string
|
|
115
115
|
hasTransmissions?: boolean
|
|
116
116
|
assignedAssistant?: ConsultAssignedAssistant[]
|
|
117
117
|
shortId?: string
|
package/src/models/practice.ts
CHANGED
|
@@ -550,6 +550,7 @@ export interface Practice {
|
|
|
550
550
|
keyGoogleTagNonProd: string
|
|
551
551
|
keyGoogleTagProd: string
|
|
552
552
|
txtAddress?: string
|
|
553
|
+
emailBusiness?: string
|
|
553
554
|
phoneBusiness?: string
|
|
554
555
|
urlSupport?: string
|
|
555
556
|
emailSupport?: string
|
|
@@ -595,4 +596,4 @@ export interface PracticeInvoice {
|
|
|
595
596
|
subtotal: number
|
|
596
597
|
currency: string
|
|
597
598
|
discount: number
|
|
598
|
-
}
|
|
599
|
+
}
|
package/src/models/workflow.ts
CHANGED
|
@@ -85,6 +85,8 @@ export interface EntryData {
|
|
|
85
85
|
* This field represents a list of `StateTrigger` that must be fulfilled for this entry to be displayed.
|
|
86
86
|
*/
|
|
87
87
|
stateTriggers?: StateTrigger[]
|
|
88
|
+
// represents the modal that it will be rendered as
|
|
89
|
+
componentKind?: string
|
|
88
90
|
}
|
|
89
91
|
|
|
90
92
|
export interface SlideData {
|
|
@@ -243,4 +245,4 @@ export interface PopulatedWorkflowData {
|
|
|
243
245
|
workflowCreatedAt: string // The workflow version
|
|
244
246
|
locale?: string
|
|
245
247
|
fields: Record<string, PopulatedWorkflowField> // key corresponds to the QuestionData key in the workflow
|
|
246
|
-
}
|
|
248
|
+
}
|
package/src/services/consult.ts
CHANGED
|
@@ -40,7 +40,7 @@ export class ConsultService {
|
|
|
40
40
|
statusesMedical?: MedicalStatus[],
|
|
41
41
|
statusesExclude?: MedicalStatus[],
|
|
42
42
|
closedReasonTypes?: ClosedReasonType[],
|
|
43
|
-
|
|
43
|
+
closedReasonLogs?: string[],
|
|
44
44
|
shortId?: string,
|
|
45
45
|
columnToSortTo?: string[],
|
|
46
46
|
orderToSortTo?: string[],
|
|
@@ -61,7 +61,7 @@ export class ConsultService {
|
|
|
61
61
|
statusesMedical,
|
|
62
62
|
statusesExclude,
|
|
63
63
|
closedReasonTypes,
|
|
64
|
-
|
|
64
|
+
closedReasonLogs,
|
|
65
65
|
shortId,
|
|
66
66
|
perPage,
|
|
67
67
|
page: indexPage,
|
|
@@ -110,7 +110,7 @@ export class ConsultService {
|
|
|
110
110
|
statusesMedical?: MedicalStatus[],
|
|
111
111
|
statusesExclude?: MedicalStatus[],
|
|
112
112
|
closedReasonTypes?: ClosedReasonType[],
|
|
113
|
-
|
|
113
|
+
closedReasonLogs?: string[],
|
|
114
114
|
shortId?: string,
|
|
115
115
|
columnToSortTo?: string[],
|
|
116
116
|
orderToSortTo?: string[],
|
|
@@ -128,7 +128,7 @@ export class ConsultService {
|
|
|
128
128
|
statusesMedical,
|
|
129
129
|
statusesExclude,
|
|
130
130
|
closedReasonTypes,
|
|
131
|
-
|
|
131
|
+
closedReasonLogs,
|
|
132
132
|
shortId,
|
|
133
133
|
perPage,
|
|
134
134
|
page: indexPage,
|
|
@@ -151,7 +151,7 @@ export class ConsultService {
|
|
|
151
151
|
consult: {
|
|
152
152
|
statusMedical?: MedicalStatus
|
|
153
153
|
closedReasonType?: ClosedReasonType
|
|
154
|
-
|
|
154
|
+
closedReasonLogs?: string
|
|
155
155
|
uuidAssignedDoctor?: Uuid
|
|
156
156
|
neverExpires?: boolean
|
|
157
157
|
},
|
package/src/services/teller.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { APIService } from './api'
|
|
2
2
|
import {
|
|
3
|
+
ClosedReasonType,
|
|
3
4
|
Consult,
|
|
4
5
|
DataCreateResponse,
|
|
5
6
|
LockboxDataRequest,
|
|
6
7
|
MedicalStatus,
|
|
7
|
-
Uuid,
|
|
8
8
|
ResumeConsultEmailRequest,
|
|
9
|
-
|
|
9
|
+
Uuid,
|
|
10
10
|
} from '../models'
|
|
11
11
|
export class TellerService {
|
|
12
12
|
constructor(private api: APIService, private baseURL: string) {}
|
|
@@ -30,14 +30,14 @@ export class TellerService {
|
|
|
30
30
|
uuidConsult: Uuid,
|
|
31
31
|
statusMedical: MedicalStatus,
|
|
32
32
|
closedReasonType?: ClosedReasonType,
|
|
33
|
-
|
|
33
|
+
closedReasonLogs?: string,
|
|
34
34
|
neverExpires?: boolean
|
|
35
35
|
): Promise<Consult> {
|
|
36
36
|
return this.api.put<Consult>(`${this.baseURL}/v1/consults/${uuidConsult}`, {
|
|
37
37
|
patientUuid,
|
|
38
38
|
statusMedical,
|
|
39
39
|
closedReasonType,
|
|
40
|
-
|
|
40
|
+
closedReasonLogs,
|
|
41
41
|
neverExpires,
|
|
42
42
|
})
|
|
43
43
|
}
|