oro-sdk-apis 3.3.0 → 3.4.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/models/diagnosis.d.ts +2 -1
- package/dist/oro-sdk-apis.cjs.development.js +427 -1309
- 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 +428 -1344
- package/dist/oro-sdk-apis.esm.js.map +1 -1
- package/dist/services/teller.d.ts +3 -1
- package/package.json +1 -1
- package/src/models/diagnosis.ts +2 -1
- package/src/services/teller.ts +6 -2
- package/LICENSE +0 -21
@@ -4,7 +4,9 @@ export declare class TellerService {
|
|
4
4
|
private api;
|
5
5
|
private baseURL;
|
6
6
|
constructor(api: APIService, baseURL: string);
|
7
|
-
lockboxDataStore(lockboxUuid: Uuid, req: LockboxDataRequest, lockboxOwnerUuid?: Uuid, previousDataUuid?: Uuid
|
7
|
+
lockboxDataStore(lockboxUuid: Uuid, req: LockboxDataRequest, lockboxOwnerUuid?: Uuid, previousDataUuid?: Uuid, options?: {
|
8
|
+
updateMedicalStatus: boolean;
|
9
|
+
}): Promise<DataCreateResponse>;
|
8
10
|
updateConsultByUUID(patientUuid: Uuid, uuidConsult: Uuid, statusMedical: MedicalStatus, closedReasonType?: ClosedReasonType, closedReasonDescription?: string, neverExpires?: boolean): Promise<Consult>;
|
9
11
|
/**
|
10
12
|
* This function notifies teller that the fax sent for a specific consult did not get through
|
package/package.json
CHANGED
package/src/models/diagnosis.ts
CHANGED
@@ -97,6 +97,7 @@ export enum PlanStatus {
|
|
97
97
|
Pending = 'Pending',
|
98
98
|
Accepted = 'Accepted',
|
99
99
|
Rejected = 'Rejected',
|
100
|
+
PreviouslyAccepted = 'PreviouslyAccepted'
|
100
101
|
}
|
101
102
|
|
102
103
|
export interface TreatmentPlan {
|
@@ -182,4 +183,4 @@ export interface TreatmentPlansResponseEntry {
|
|
182
183
|
treatmentPlan: TreatmentPlan
|
183
184
|
}
|
184
185
|
|
185
|
-
export interface TreatmentPlansResponse extends Array<TreatmentPlansResponseEntry> {}
|
186
|
+
export interface TreatmentPlansResponse extends Array<TreatmentPlansResponseEntry> { }
|
package/src/services/teller.ts
CHANGED
@@ -9,18 +9,22 @@ import {
|
|
9
9
|
Uuid,
|
10
10
|
} from '../models'
|
11
11
|
export class TellerService {
|
12
|
-
constructor(private api: APIService, private baseURL: string) {}
|
12
|
+
constructor(private api: APIService, private baseURL: string) { }
|
13
13
|
|
14
14
|
public async lockboxDataStore(
|
15
15
|
lockboxUuid: Uuid,
|
16
16
|
req: LockboxDataRequest,
|
17
17
|
lockboxOwnerUuid?: Uuid,
|
18
|
-
previousDataUuid?: Uuid
|
18
|
+
previousDataUuid?: Uuid,
|
19
|
+
options: {
|
20
|
+
updateMedicalStatus: boolean
|
21
|
+
} = { updateMedicalStatus: true },
|
19
22
|
): Promise<DataCreateResponse> {
|
20
23
|
return this.api.post<DataCreateResponse>(`${this.baseURL}/v1/lockboxes/${lockboxUuid}/data`, req, {
|
21
24
|
params: {
|
22
25
|
lockbox_owner_uuid: lockboxOwnerUuid,
|
23
26
|
data_uuid: previousDataUuid,
|
27
|
+
update_medical_status: options.updateMedicalStatus,
|
24
28
|
},
|
25
29
|
})
|
26
30
|
}
|
package/LICENSE
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
MIT License
|
2
|
-
|
3
|
-
Copyright (c) 2021 ORO Health Inc.
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
13
|
-
copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
-
SOFTWARE.
|