@arbol-ai/sdk 5.50.0 → 5.51.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/visoft/client.d.ts +2 -0
- package/dist/visoft/client.js +5 -0
- package/dist/visoft/index.d.ts +1 -1
- package/dist/visoft/models.d.ts +16 -0
- package/dist/visoft/patientNameEncodings/client.d.ts +24 -0
- package/dist/visoft/patientNameEncodings/client.js +18 -0
- package/dist/visoft/patientNameEncodings/index.d.ts +5 -0
- package/dist/visoft/patientNameEncodings/index.js +4 -0
- package/dist/visoft/patientNameEncodings/models.d.ts +56 -0
- package/dist/visoft/patientNameEncodings/models.js +3 -0
- package/dist/visoft/patients/index.d.ts +1 -1
- package/dist/visoft/patients/models.d.ts +0 -16
- package/package.json +3 -3
package/dist/visoft/client.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { type Client as ClinicClient } from "./clinic/client.js";
|
|
|
6
6
|
import { type Client as ClinicsClient } from "./clinics/client.js";
|
|
7
7
|
import { type Client as ConnectionsClient } from "./connections/client.js";
|
|
8
8
|
import { type Client as ContractsClient } from "./contracts/client.js";
|
|
9
|
+
import { type Client as PatientNameEncodingsClient } from "./patientNameEncodings/client.js";
|
|
9
10
|
import { type Client as PatientsClient } from "./patients/client.js";
|
|
10
11
|
import { type Client as ProfessionalsClient } from "./professionals/client.js";
|
|
11
12
|
import { type Client as ServiceCatalogsClient } from "./serviceCatalogs/client.js";
|
|
@@ -24,6 +25,7 @@ export interface Client {
|
|
|
24
25
|
readonly clinics: ClinicsClient;
|
|
25
26
|
readonly connections: ConnectionsClient;
|
|
26
27
|
readonly contracts: ContractsClient;
|
|
28
|
+
readonly patientNameEncodings: PatientNameEncodingsClient;
|
|
27
29
|
readonly patients: PatientsClient;
|
|
28
30
|
readonly professionals: ProfessionalsClient;
|
|
29
31
|
readonly serviceCatalogs: ServiceCatalogsClient;
|
package/dist/visoft/client.js
CHANGED
|
@@ -8,6 +8,7 @@ import { bind as bindClinic, } from "./clinic/client.js";
|
|
|
8
8
|
import { bind as bindClinics, } from "./clinics/client.js";
|
|
9
9
|
import { bind as bindConnections, } from "./connections/client.js";
|
|
10
10
|
import { bind as bindContracts, } from "./contracts/client.js";
|
|
11
|
+
import { bind as bindPatientNameEncodings, } from "./patientNameEncodings/client.js";
|
|
11
12
|
import { bind as bindPatients, } from "./patients/client.js";
|
|
12
13
|
import { bind as bindProfessionals, } from "./professionals/client.js";
|
|
13
14
|
import { bind as bindServiceCatalogs, } from "./serviceCatalogs/client.js";
|
|
@@ -23,6 +24,7 @@ export function bind(transport) {
|
|
|
23
24
|
let clinicsClient;
|
|
24
25
|
let connectionsClient;
|
|
25
26
|
let contractsClient;
|
|
27
|
+
let patientNameEncodingsClient;
|
|
26
28
|
let patientsClient;
|
|
27
29
|
let professionalsClient;
|
|
28
30
|
let serviceCatalogsClient;
|
|
@@ -49,6 +51,9 @@ export function bind(transport) {
|
|
|
49
51
|
get contracts() {
|
|
50
52
|
return (contractsClient ??= bindContracts(transport));
|
|
51
53
|
},
|
|
54
|
+
get patientNameEncodings() {
|
|
55
|
+
return (patientNameEncodingsClient ??= bindPatientNameEncodings(transport));
|
|
56
|
+
},
|
|
52
57
|
get patients() {
|
|
53
58
|
return (patientsClient ??= bindPatients(transport));
|
|
54
59
|
},
|
package/dist/visoft/index.d.ts
CHANGED
|
@@ -2,4 +2,4 @@ export { ApiError } from "../_/index.js";
|
|
|
2
2
|
export type { RequestOptions } from "../_/index.js";
|
|
3
3
|
export { createClient } from "./client.js";
|
|
4
4
|
export type { Client, ClientOptions, } from "./client.js";
|
|
5
|
-
export type { VisoftAgencyNotServedFailure, VisoftClinic, VisoftClinicAgency, VisoftConnectionNotConfiguredError, VisoftConnectionNotConfiguredFailure, VisoftContractNotFoundFailure, VisoftContractService, VisoftCredentialsRejectedFailure, VisoftProfessional, VisoftProviderUnavailableFailure, } from "./models.js";
|
|
5
|
+
export type { VisoftAgencyNotServedFailure, VisoftClinic, VisoftClinicAgency, VisoftConnectionNotConfiguredError, VisoftConnectionNotConfiguredFailure, VisoftContractNotFoundFailure, VisoftContractService, VisoftCredentialsRejectedError, VisoftCredentialsRejectedFailure, VisoftProfessional, VisoftProviderUnavailableFailure, } from "./models.js";
|
package/dist/visoft/models.d.ts
CHANGED
|
@@ -141,6 +141,22 @@ export interface VisoftContractService {
|
|
|
141
141
|
*/
|
|
142
142
|
price: number | null;
|
|
143
143
|
}
|
|
144
|
+
/**
|
|
145
|
+
* A failed answer.
|
|
146
|
+
*/
|
|
147
|
+
export interface VisoftCredentialsRejectedError {
|
|
148
|
+
data: null;
|
|
149
|
+
/**
|
|
150
|
+
* The clinical system rejected the username or password, or the user is
|
|
151
|
+
* blocked.
|
|
152
|
+
*/
|
|
153
|
+
error: VisoftCredentialsRejectedFailure;
|
|
154
|
+
/**
|
|
155
|
+
* What every answer carries besides its data or error.
|
|
156
|
+
*/
|
|
157
|
+
metadata: ResponseMetadata;
|
|
158
|
+
success: false;
|
|
159
|
+
}
|
|
144
160
|
/**
|
|
145
161
|
* The clinical system rejected the username or password, or the user is
|
|
146
162
|
* blocked.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { type BaseClientOptions, type RequestOptions, Transport } from "../../_/index.js";
|
|
2
|
+
import type { VisoftLookupPatientNameEncodingBody, VisoftPatientNameEncodingAuditResponse } from "./models.js";
|
|
3
|
+
export interface ClientOptions extends BaseClientOptions {
|
|
4
|
+
/**
|
|
5
|
+
* The URL the paths of the API are relative to.
|
|
6
|
+
*/
|
|
7
|
+
baseUrl: string;
|
|
8
|
+
}
|
|
9
|
+
export interface Client {
|
|
10
|
+
/**
|
|
11
|
+
* Audit stored patient name encoding
|
|
12
|
+
*
|
|
13
|
+
* Read the current SIIPS records of the supplied patients and identify name
|
|
14
|
+
* fields with recognizable misdecoded Spanish accents. Returns only the
|
|
15
|
+
* affected field names and document type, without the names or document
|
|
16
|
+
* numbers. Requires the permission to correct patient records. This operation
|
|
17
|
+
* only reads records.
|
|
18
|
+
*/
|
|
19
|
+
lookup(request: LookupRequest, options?: RequestOptions): Promise<LookupResponse>;
|
|
20
|
+
}
|
|
21
|
+
export declare function createClient(options: ClientOptions): Client;
|
|
22
|
+
export declare function bind(transport: Transport): Client;
|
|
23
|
+
export type LookupRequest = VisoftLookupPatientNameEncodingBody;
|
|
24
|
+
export type LookupResponse = VisoftPatientNameEncodingAuditResponse;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// Code generated by forge. DO NOT EDIT.
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
import { Transport, } from "../../_/index.js";
|
|
4
|
+
export function createClient(options) {
|
|
5
|
+
return bind(new Transport(options));
|
|
6
|
+
}
|
|
7
|
+
export function bind(transport) {
|
|
8
|
+
return {
|
|
9
|
+
lookup: (request, options) => transport.send(LookupOperation, request, options),
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
const LookupOperation = {
|
|
13
|
+
method: "POST",
|
|
14
|
+
route: "/v1/visoft/patient-name-encodings/lookup",
|
|
15
|
+
body: "flat",
|
|
16
|
+
response: null,
|
|
17
|
+
errors: { "400": true, "401": true, "403": true, "404": true, "409": true, "413": true, "415": true, "422": true, "429": true, "500": true, "502": true, "503": true, "504": true },
|
|
18
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { ApiError } from "../../_/index.js";
|
|
2
|
+
export type { RequestOptions } from "../../_/index.js";
|
|
3
|
+
export { createClient } from "./client.js";
|
|
4
|
+
export type { Client, ClientOptions, LookupRequest, LookupResponse, } from "./client.js";
|
|
5
|
+
export type { VisoftLookupPatientNameEncodingBadGatewayError, VisoftLookupPatientNameEncodingBadGatewayFailure, VisoftLookupPatientNameEncodingBody, VisoftPatientNameEncodingAudit, VisoftPatientNameEncodingAuditResponse, VisoftPatientNameEncodingResult, } from "./models.js";
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { OutcomeUnknownFailure, ResponseMetadata } from "../../models.js";
|
|
2
|
+
import type { VisoftProviderUnavailableFailure } from "../models.js";
|
|
3
|
+
/**
|
|
4
|
+
* A failed answer.
|
|
5
|
+
*/
|
|
6
|
+
export interface VisoftLookupPatientNameEncodingBadGatewayError {
|
|
7
|
+
data: null;
|
|
8
|
+
error: VisoftLookupPatientNameEncodingBadGatewayFailure;
|
|
9
|
+
/**
|
|
10
|
+
* What every answer carries besides its data or error.
|
|
11
|
+
*/
|
|
12
|
+
metadata: ResponseMetadata;
|
|
13
|
+
success: false;
|
|
14
|
+
}
|
|
15
|
+
export type VisoftLookupPatientNameEncodingBadGatewayFailure = OutcomeUnknownFailure | VisoftProviderUnavailableFailure;
|
|
16
|
+
export interface VisoftLookupPatientNameEncodingBody {
|
|
17
|
+
/**
|
|
18
|
+
* The connection to run on. Optional when the organization has one Visoft
|
|
19
|
+
* connection; required when it has several. Another organization's connection
|
|
20
|
+
* is CONNECTION_NOT_FOUND.
|
|
21
|
+
*/
|
|
22
|
+
connectionId?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Distinct patient document numbers from an authorized source.
|
|
25
|
+
*/
|
|
26
|
+
documentNumbers: string[];
|
|
27
|
+
}
|
|
28
|
+
export interface VisoftPatientNameEncodingAudit {
|
|
29
|
+
/**
|
|
30
|
+
* One result per supplied document number, in the same order.
|
|
31
|
+
*/
|
|
32
|
+
results: VisoftPatientNameEncodingResult[];
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* A successful answer.
|
|
36
|
+
*/
|
|
37
|
+
export interface VisoftPatientNameEncodingAuditResponse {
|
|
38
|
+
data: VisoftPatientNameEncodingAudit;
|
|
39
|
+
error: null;
|
|
40
|
+
/**
|
|
41
|
+
* What every answer carries besides its data or error.
|
|
42
|
+
*/
|
|
43
|
+
metadata: ResponseMetadata;
|
|
44
|
+
success: true;
|
|
45
|
+
}
|
|
46
|
+
export interface VisoftPatientNameEncodingResult {
|
|
47
|
+
/**
|
|
48
|
+
* Stored name fields containing a recognizable misdecoded Spanish accent.
|
|
49
|
+
*/
|
|
50
|
+
affectedFields: ("firstName1" | "firstName2" | "lastName1" | "lastName2")[];
|
|
51
|
+
/**
|
|
52
|
+
* The SIIPS document type for an affected patient, or null.
|
|
53
|
+
*/
|
|
54
|
+
documentType: string | null;
|
|
55
|
+
found: boolean;
|
|
56
|
+
}
|
|
@@ -2,4 +2,4 @@ export { ApiError } from "../../_/index.js";
|
|
|
2
2
|
export type { RequestOptions } from "../../_/index.js";
|
|
3
3
|
export { createClient } from "./client.js";
|
|
4
4
|
export type { Client, ClientOptions, CorrectRequest, CorrectResponse, CreateRequest, CreateResponse, LookupRequest, LookupResponse, } from "./client.js";
|
|
5
|
-
export type { VisoftAdmission, VisoftAppointment, VisoftCorrectPatientBadGatewayError, VisoftCorrectPatientBadGatewayFailure, VisoftCorrectPatientBody, VisoftCorrectPatientNotFoundError, VisoftCorrectPatientNotFoundFailure, VisoftCorrectPatientUnprocessableContentError, VisoftCorrectPatientUnprocessableContentFailure, VisoftCreatePatientBadGatewayError, VisoftCreatePatientBadGatewayFailure, VisoftCreatePatientBody, VisoftCreatePatientUnprocessableContentError, VisoftCreatePatientUnprocessableContentFailure,
|
|
5
|
+
export type { VisoftAdmission, VisoftAppointment, VisoftCorrectPatientBadGatewayError, VisoftCorrectPatientBadGatewayFailure, VisoftCorrectPatientBody, VisoftCorrectPatientNotFoundError, VisoftCorrectPatientNotFoundFailure, VisoftCorrectPatientUnprocessableContentError, VisoftCorrectPatientUnprocessableContentFailure, VisoftCreatePatientBadGatewayError, VisoftCreatePatientBadGatewayFailure, VisoftCreatePatientBody, VisoftCreatePatientUnprocessableContentError, VisoftCreatePatientUnprocessableContentFailure, VisoftLookupPatientBadGatewayError, VisoftLookupPatientBadGatewayFailure, VisoftLookupPatientBody, VisoftPatient, VisoftPatientHistory, VisoftPatientLookup, VisoftPatientLookupResponse, VisoftPatientNotFoundFailure, VisoftPatientNotSavedFailure, VisoftPatientRegistration, VisoftPatientRegistrationResponse, VisoftPatientResponse, } from "./models.js";
|
|
@@ -390,22 +390,6 @@ export interface VisoftCreatePatientUnprocessableContentError {
|
|
|
390
390
|
success: false;
|
|
391
391
|
}
|
|
392
392
|
export type VisoftCreatePatientUnprocessableContentFailure = VisoftCredentialsRejectedFailure | VisoftAgencyNotServedFailure;
|
|
393
|
-
/**
|
|
394
|
-
* A failed answer.
|
|
395
|
-
*/
|
|
396
|
-
export interface VisoftCredentialsRejectedError {
|
|
397
|
-
data: null;
|
|
398
|
-
/**
|
|
399
|
-
* The clinical system rejected the username or password, or the user is
|
|
400
|
-
* blocked.
|
|
401
|
-
*/
|
|
402
|
-
error: VisoftCredentialsRejectedFailure;
|
|
403
|
-
/**
|
|
404
|
-
* What every answer carries besides its data or error.
|
|
405
|
-
*/
|
|
406
|
-
metadata: ResponseMetadata;
|
|
407
|
-
success: false;
|
|
408
|
-
}
|
|
409
393
|
/**
|
|
410
394
|
* A failed answer.
|
|
411
395
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbol-ai/sdk",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.51.0",
|
|
4
4
|
"description": "The Arbol API for TypeScript and JavaScript, generated by Cloudflare Forge from the platform's public OpenAPI.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"arbol",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"packageManager": "bun@1.4.3",
|
|
59
59
|
"arbol": {
|
|
60
60
|
"openapi": {
|
|
61
|
-
"release": "1.20261111.
|
|
62
|
-
"sha256": "
|
|
61
|
+
"release": "1.20261111.142422",
|
|
62
|
+
"sha256": "bb24b083f82d419f963d51b86095e2271dc564389e6bcae1c93d50795e2c0595"
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
}
|