@metriport/commonwell-sdk 8.3.0 → 8.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/client/commonwell-member-api.d.ts +8 -0
- package/dist/client/commonwell-member-api.d.ts.map +1 -1
- package/dist/client/commonwell-member.d.ts +15 -1
- package/dist/client/commonwell-member.d.ts.map +1 -1
- package/dist/client/commonwell-member.js +46 -0
- package/dist/client/commonwell-member.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/models/organization.d.ts +202 -62
- package/dist/models/organization.d.ts.map +1 -1
- package/dist/models/organization.js +27 -12
- package/dist/models/organization.js.map +1 -1
- package/package.json +3 -3
|
@@ -5,8 +5,16 @@ export type BaseOptions = {
|
|
|
5
5
|
meta?: MemberRequestMetadata;
|
|
6
6
|
};
|
|
7
7
|
export type MemberRequestMetadata = BaseRequestMetadata;
|
|
8
|
+
export type GetDirectoryParams = {
|
|
9
|
+
orgName?: string;
|
|
10
|
+
orgId?: string;
|
|
11
|
+
offset?: number;
|
|
12
|
+
limit?: number;
|
|
13
|
+
sort?: string;
|
|
14
|
+
};
|
|
8
15
|
export interface CommonWellMemberAPI {
|
|
9
16
|
get lastTransactionId(): string | undefined;
|
|
17
|
+
listOrganizations(params?: GetDirectoryParams, options?: BaseOptions): Promise<OrganizationList>;
|
|
10
18
|
createOrg(organization: Organization, options?: BaseOptions): Promise<Organization>;
|
|
11
19
|
updateOrg(organization: Organization, options?: BaseOptions): Promise<Organization>;
|
|
12
20
|
getAllOrgs(summary?: boolean, offset?: number, limit?: number, sort?: string, options?: BaseOptions): Promise<OrganizationList>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commonwell-member-api.d.ts","sourceRoot":"","sources":["../../src/client/commonwell-member-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,wB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EAAE,MAAM,EACV,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,WAAW,GACpB,OAAO,CAAC,eAAe,CAAC,CAAC;IAC5B,4CAA4C,CAC1C,EAAE,EAAE,MAAM,EACV,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,WAAW,GACpB,OAAO,CAAC,eAAe,CAAC,CAAC;CAC7B"}
|
|
@@ -2,7 +2,7 @@ import { CertificateParam, CertificateResp } from "../models/certificates";
|
|
|
2
2
|
import { Organization, OrganizationList } from "../models/organization";
|
|
3
3
|
import { APIMode, CommonWellOptions } from "./common";
|
|
4
4
|
import { CommonWellBase } from "./commonwell-base";
|
|
5
|
-
import { BaseOptions, CommonWellMemberAPI } from "./commonwell-member-api";
|
|
5
|
+
import { BaseOptions, CommonWellMemberAPI, GetDirectoryParams } from "./commonwell-member-api";
|
|
6
6
|
/**
|
|
7
7
|
* Implementation of the CommonWell API, v4.
|
|
8
8
|
* @see https://www.commonwellalliance.org/specification/
|
|
@@ -36,6 +36,20 @@ export declare class CommonWellMember extends CommonWellBase implements CommonWe
|
|
|
36
36
|
options?: CommonWellOptions;
|
|
37
37
|
});
|
|
38
38
|
get memberId(): string;
|
|
39
|
+
/**
|
|
40
|
+
* Lists organizations from the CommonWell Directory.
|
|
41
|
+
*
|
|
42
|
+
* @param params Optional parameters.
|
|
43
|
+
* @param params.orgName Optional, the name of the organization to fetch.
|
|
44
|
+
* @param params.orgId Optional, the ID of the organization to fetch.
|
|
45
|
+
* @param params.offset Optional, the offset of the organizations to fetch.
|
|
46
|
+
* @param params.limit Optional, the limit of the organizations to fetch.
|
|
47
|
+
* @param params.sort Optional, the sort of the organizations to fetch.
|
|
48
|
+
* @param options Optional parameters.
|
|
49
|
+
* @param options.meta Metadata about the request. Defaults to the data used to initialize the client.
|
|
50
|
+
* @returns
|
|
51
|
+
*/
|
|
52
|
+
listOrganizations(params?: GetDirectoryParams, options?: BaseOptions): Promise<OrganizationList>;
|
|
39
53
|
/**
|
|
40
54
|
* Create an org.
|
|
41
55
|
* See: https://commonwellalliance.sharepoint.com/sites/ServiceAdopter/SitePages/Organization-Management-API---Overview-and-Summary.aspx#post-a-new-organization
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commonwell-member.d.ts","sourceRoot":"","sources":["../../src/client/commonwell-member.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAyB,MAAM,wBAAwB,CAAC;AAClG,OAAO,EACL,YAAY,EACZ,gBAAgB,EAGjB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,
|
|
1
|
+
{"version":3,"file":"commonwell-member.d.ts","sourceRoot":"","sources":["../../src/client/commonwell-member.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAyB,MAAM,wBAAwB,CAAC;AAClG,OAAO,EACL,YAAY,EACZ,gBAAgB,EAGjB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EACL,WAAW,EACX,mBAAmB,EACnB,kBAAkB,EAEnB,MAAM,yBAAyB,CAAC;AAEjC;;;;;;GAMG;AACH,qBAAa,gBAAiB,SAAQ,cAAe,YAAW,mBAAmB;IACjF,MAAM,CAAC,YAAY,SAAa;IAChC,MAAM,CAAC,eAAe,SAAgB;IAEtC,OAAO,CAAC,UAAU,CAAS;IAC3B,OAAO,CAAC,SAAS,CAAS;IAE1B;;;;;;;;;;;OAWG;gBACS,EACV,OAAO,EACP,aAAa,EACb,UAAU,EACV,QAAQ,EACR,OAAO,EACP,OA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AAC;IAkB3B;;;;;;;;;;OAUG;IACG,wBAAwB,CAC5B,EAAE,EAAE,MAAM,EACV,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,WAAW,GACpB,OAAO,CAAC,MAAM,CAAC;IAYlB;;;;;;;;;;OAUG;IACG,sBAAsB,CAC1B,EAAE,EAAE,MAAM,EACV,UAAU,CAAC,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,WAAW,GACpB,OAAO,CAAC,eAAe,CAAC;IAa3B;;;;;;;;;;OAUG;IACG,kCAAkC,CACtC,EAAE,EAAE,MAAM,EACV,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,WAAW,GACpB,OAAO,CAAC,eAAe,CAAC;IAa3B;;;;;;;;;;OAUG;IACG,4CAA4C,CAChD,EAAE,EAAE,MAAM,EACV,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,WAAW,GACpB,OAAO,CAAC,eAAe,CAAC;IAY3B,OAAO,CAAC,iBAAiB;IAYzB,OAAO,CAAC,mBAAmB;CAiB5B"}
|
|
@@ -46,6 +46,52 @@ class CommonWellMember extends commonwell_base_1.CommonWellBase {
|
|
|
46
46
|
get memberId() {
|
|
47
47
|
return this._memberId;
|
|
48
48
|
}
|
|
49
|
+
/**
|
|
50
|
+
* Lists organizations from the CommonWell Directory.
|
|
51
|
+
*
|
|
52
|
+
* @param params Optional parameters.
|
|
53
|
+
* @param params.orgName Optional, the name of the organization to fetch.
|
|
54
|
+
* @param params.orgId Optional, the ID of the organization to fetch.
|
|
55
|
+
* @param params.offset Optional, the offset of the organizations to fetch.
|
|
56
|
+
* @param params.limit Optional, the limit of the organizations to fetch.
|
|
57
|
+
* @param params.sort Optional, the sort of the organizations to fetch.
|
|
58
|
+
* @param options Optional parameters.
|
|
59
|
+
* @param options.meta Metadata about the request. Defaults to the data used to initialize the client.
|
|
60
|
+
* @returns
|
|
61
|
+
*/
|
|
62
|
+
async listOrganizations(params = {}, options) {
|
|
63
|
+
const meta = options?.meta ?? (0, util_1.buildBaseQueryMeta)(this.memberName);
|
|
64
|
+
const headers = this.buildQueryHeaders(meta);
|
|
65
|
+
if (params.limit && params.limit > 100) {
|
|
66
|
+
throw new shared_1.BadRequestError("Limit must be less than 100");
|
|
67
|
+
}
|
|
68
|
+
const query = new URLSearchParams();
|
|
69
|
+
if (params.orgName !== undefined)
|
|
70
|
+
query.append("orgName", params.orgName);
|
|
71
|
+
if (params.orgId !== undefined)
|
|
72
|
+
query.append("orgId", params.orgId);
|
|
73
|
+
if (params.offset !== undefined)
|
|
74
|
+
query.append("offset", params.offset.toString());
|
|
75
|
+
if (params.limit !== undefined)
|
|
76
|
+
query.append("limit", params.limit.toString());
|
|
77
|
+
if (params.sort !== undefined)
|
|
78
|
+
query.append("sort", params.sort);
|
|
79
|
+
const url = `${CommonWellMember.MEMBER_ENDPOINT}/${this.memberId}/network/CommonWell?${query.toString()}`;
|
|
80
|
+
try {
|
|
81
|
+
const resp = await this.executeWithRetriesOn500IfEnabled(() => {
|
|
82
|
+
return this.api.get(url, {
|
|
83
|
+
headers,
|
|
84
|
+
});
|
|
85
|
+
});
|
|
86
|
+
return organization_1.organizationListSchema.parse(resp.data);
|
|
87
|
+
}
|
|
88
|
+
catch (error) {
|
|
89
|
+
if ((0, axios_1.isAxiosError)(error) && error.response?.status === http_status_1.default.NOT_FOUND) {
|
|
90
|
+
return { count: 0, from: 0, to: 0, organizations: [] };
|
|
91
|
+
}
|
|
92
|
+
throw this.getDescriptiveError(error, "Failed to get CW directory");
|
|
93
|
+
}
|
|
94
|
+
}
|
|
49
95
|
// TODO: #322 handle errors in API calls as per
|
|
50
96
|
// https://specification.commonwellalliance.org/services/rest-api-reference (8.6.1 Error)
|
|
51
97
|
// Note that also sometimes these calls 404 when things aren't found and etc
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"commonwell-member.js","sourceRoot":"","sources":["../../src/client/commonwell-member.ts"],"names":[],"mappings":";;;;;;AAAA,8CAAmF;AACnF,iCAAqC;AACrC,8DAAqC;AACrC,uDAA6D;AAC7D,iDAA6C;AAC7C,yCAAoD;AACpD,yDAAkG;AAClG,yDAKgC;AAEhC,uDAAmD;
|
|
1
|
+
{"version":3,"file":"commonwell-member.js","sourceRoot":"","sources":["../../src/client/commonwell-member.ts"],"names":[],"mappings":";;;;;;AAAA,8CAAmF;AACnF,iCAAqC;AACrC,8DAAqC;AACrC,uDAA6D;AAC7D,iDAA6C;AAC7C,yCAAoD;AACpD,yDAAkG;AAClG,yDAKgC;AAEhC,uDAAmD;AAQnD;;;;;;GAMG;AACH,MAAa,gBAAiB,SAAQ,gCAAc;IAOlD;;;;;;;;;;;OAWG;IACH,YAAY,EACV,OAAO,EACP,aAAa,EACb,UAAU,EACV,QAAQ,EACR,OAAO,EACP,OAAO,GAAG,EAAE,GAQb;QACC,KAAK,CAAC;YACJ,OAAO;YACP,aAAa;YACb,OAAO;YACP,OAAO;SACR,CAAC,CAAC;QACH,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAC;IAC5B,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,KAAK,CAAC,iBAAiB,CACrB,SAA6B,EAAE,EAC/B,OAAqB;QAErB,MAAM,IAAI,GAAG,OAAO,EAAE,IAAI,IAAI,IAAA,yBAAkB,EAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAClE,MAAM,OAAO,GAAG,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC,CAAC;QAE7C,IAAI,MAAM,CAAC,KAAK,IAAI,MAAM,CAAC,KAAK,GAAG,GAAG,EAAE;YACtC,MAAM,IAAI,wBAAe,CAAC,6BAA6B,CAA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AAK,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,YAAY,EAAE,CAAC,CAAC;aACjF;YACD,IAAI,MAAM,KAAK,qBAAU,CAAC,SAAS,EAAE;gBACnC,OAAO,IAAI,sBAAa,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,YAAY,EAAE,CAAC,CAAC;aAC/E;YACD,OAAO,IAAI,uBAAc,CAAC,KAAK,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,YAAY,EAAE,CAAC,CAAC;SAChF;QACD,OAAO,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,uBAAc,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IAC3E,CAAC;;AAxaH,4CAyaC;AAxaQ,6BAAY,GAAG,SAAS,CAAC;AACzB,gCAAe,GAAG,YAAY,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export { CommonwellError } from "./common/commonwell-error";
|
|
|
7
7
|
export { makeJwt } from "./common/make-jwt";
|
|
8
8
|
export { buildBaseQueryMeta, decodeCwPatientIdV2, encodeCwPatientId, encodePatientIdForDocumentExchange, getCwPatientIdFromLinks, } from "./common/util";
|
|
9
9
|
export { validateNPI } from "./common/validate-npi";
|
|
10
|
+
export { GetDirectoryParams } from "./client/commonwell-member-api";
|
|
10
11
|
export * from "./models/address";
|
|
11
12
|
export * from "./models/certificates";
|
|
12
13
|
export * from "./models/contact";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,2BAA2B,EAAE,MAAM,yBAAyB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AAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC"}
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,0CAA6D;AAApD,iGAAA,OAAO,OAAA;AAChB,kDAAiD;AAAxC,wGAAA,UAAU,OAAA;AAEnB,gEAA8D;AAArD,qHAAA,gBAAgB,OAAA;AAEzB,8DAA4D;AAAnD,mHAAA,eAAe,OAAA;AACxB,8CAA4C;AAAnC,mGAAA,OAAO,OAAA;AAChB,sCAMuB;AALrB,0GAAA,kBAAkB,OAAA;AAClB,2GAAA,mBAAmB,OAAA;AACnB,yGAAA,iBAAiB,OAAA;AACjB,0HAAA,kCAAkC,OAAA;AAClC,+GAAA,uBAAuB,OAAA;AAEzB,sDAAoD;AAA3C,2GAAA,WAAW,OAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,0CAA6D;AAApD,iGAAA,OAAO,OAAA;AAChB,kDAAiD;AAAxC,wGAAA,UAAU,OAAA;AAEnB,gEAA8D;AAArD,qHAAA,gBAAgB,OAAA;AAEzB,8DAA4D;AAAnD,mHAAA,eAAe,OAAA;AACxB,8CAA4C;AAAnC,mGAAA,OAAO,OAAA;AAChB,sCAMuB;AALrB,0GAAA,kBAAkB,OAAA;AAClB,2GAAA,mBAAmB,OAAA;AACnB,yGAAA,iBAAiB,OAAA;AACjB,0HAAA,kCAAkC,OAAA;AAClC,+GAAA,uBAAuB,OAAA;AAEzB,sDAAoD;AAA3C,2GAAA,WAAW,OAAA;AAEpB,mDAAiC;AACjC,wDAAsC;AACtC,mDAAiC;AACjC,wDAAsC;AACtC,oDAAkC;AAClC,sDAAoC;AACpC,sDAAoC;AACpC,wDAAsC;AACtC,mDAAiC"}
|
|
@@ -3,7 +3,7 @@ declare const organizationBaseSchema: z.ZodObject<{
|
|
|
3
3
|
organizationId: z.ZodString;
|
|
4
4
|
homeCommunityId: z.ZodString;
|
|
5
5
|
name: z.ZodString;
|
|
6
|
-
displayName: z.ZodString
|
|
6
|
+
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
7
|
memberName: z.ZodString;
|
|
8
8
|
type: z.ZodString;
|
|
9
9
|
npiType1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -36,11 +36,11 @@ declare const organizationBaseSchema: z.ZodObject<{
|
|
|
36
36
|
universalIdType?: string | null | undefined;
|
|
37
37
|
}>>>;
|
|
38
38
|
isActive: z.ZodBoolean;
|
|
39
|
-
locations: z.ZodArray<z.ZodObject<{
|
|
39
|
+
locations: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
40
40
|
address1: z.ZodString;
|
|
41
41
|
address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
42
|
city: z.ZodString;
|
|
43
|
-
state: z.ZodEffects<z.ZodString
|
|
43
|
+
state: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
44
44
|
postalCode: z.ZodString;
|
|
45
45
|
country: z.ZodString;
|
|
46
46
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -50,8 +50,8 @@ declare const organizationBaseSchema: z.ZodObject<{
|
|
|
50
50
|
city: string;
|
|
51
51
|
country: string;
|
|
52
52
|
postalCode: string;
|
|
53
|
-
state: string;
|
|
54
53
|
address1: string;
|
|
54
|
+
state?: string | null | undefined;
|
|
55
55
|
address2?: string | null | undefined;
|
|
56
56
|
phone?: string | null | undefined;
|
|
57
57
|
fax?: string | null | undefined;
|
|
@@ -66,7 +66,27 @@ declare const organizationBaseSchema: z.ZodObject<{
|
|
|
66
66
|
phone?: string | null | undefined;
|
|
67
67
|
fax?: string | null | undefined;
|
|
68
68
|
email?: string | null | undefined;
|
|
69
|
-
}>, "many"
|
|
69
|
+
}>, "many">, {
|
|
70
|
+
city: string;
|
|
71
|
+
country: string;
|
|
72
|
+
postalCode: string;
|
|
73
|
+
address1: string;
|
|
74
|
+
state?: string | null | undefined;
|
|
75
|
+
address2?: string | null | undefined;
|
|
76
|
+
phone?: string | null | undefined;
|
|
77
|
+
fax?: string | null | undefined;
|
|
78
|
+
email?: string | null | undefined;
|
|
79
|
+
}[], {
|
|
80
|
+
city: string;
|
|
81
|
+
country: string;
|
|
82
|
+
postalCode: string;
|
|
83
|
+
address1: string;
|
|
84
|
+
state?: unknown;
|
|
85
|
+
address2?: string | null | undefined;
|
|
86
|
+
phone?: string | null | undefined;
|
|
87
|
+
fax?: string | null | undefined;
|
|
88
|
+
email?: string | null | undefined;
|
|
89
|
+
}[]>;
|
|
70
90
|
/** Gateway search radius in miles. One of: 50, 100, 150 */
|
|
71
91
|
searchRadius: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
72
92
|
technicalContacts: z.ZodArray<z.ZodObject<{
|
|
@@ -91,7 +111,6 @@ declare const organizationBaseSchema: z.ZodObject<{
|
|
|
91
111
|
type: string;
|
|
92
112
|
name: string;
|
|
93
113
|
organizationId: string;
|
|
94
|
-
displayName: string;
|
|
95
114
|
memberName: string;
|
|
96
115
|
patientIdAssignAuthority: string;
|
|
97
116
|
isActive: boolean;
|
|
@@ -99,8 +118,8 @@ declare const organizationBaseSchema: z.ZodObject<{
|
|
|
99
118
|
city: string;
|
|
100
119
|
country: string;
|
|
101
120
|
postalCode: string;
|
|
102
|
-
state: string;
|
|
103
121
|
address1: string;
|
|
122
|
+
state?: string | null | undefined;
|
|
104
123
|
address2?: string | null | undefined;
|
|
105
124
|
phone?: string | null | undefined;
|
|
106
125
|
fax?: string | null | undefined;
|
|
@@ -112,6 +131,7 @@ declare const organizationBaseSchema: z.ZodObject<{
|
|
|
112
131
|
phone: string;
|
|
113
132
|
email: string;
|
|
114
133
|
}[];
|
|
134
|
+
displayName?: string | null | undefined;
|
|
115
135
|
npiType1?: string | null | undefined;
|
|
116
136
|
npiType2?: string | null | undefined;
|
|
117
137
|
sendingFacility?: {
|
|
@@ -131,7 +151,6 @@ declare const organizationBaseSchema: z.ZodObject<{
|
|
|
131
151
|
type: string;
|
|
132
152
|
name: string;
|
|
133
153
|
organizationId: string;
|
|
134
|
-
displayName: string;
|
|
135
154
|
memberName: string;
|
|
136
155
|
patientIdAssignAuthority: string;
|
|
137
156
|
isActive: boolean;
|
|
@@ -152,6 +171,7 @@ declare const organizationBaseSchema: z.ZodObject<{
|
|
|
152
171
|
phone: string;
|
|
153
172
|
email: string;
|
|
154
173
|
}[];
|
|
174
|
+
displayName?: string | null | undefined;
|
|
155
175
|
npiType1?: string | null | undefined;
|
|
156
176
|
npiType2?: string | null | undefined;
|
|
157
177
|
sendingFacility?: {
|
|
@@ -172,7 +192,7 @@ export declare const organizationSchemaWithNetworkInfo: z.ZodObject<z.objectUtil
|
|
|
172
192
|
organizationId: z.ZodString;
|
|
173
193
|
homeCommunityId: z.ZodString;
|
|
174
194
|
name: z.ZodString;
|
|
175
|
-
displayName: z.ZodString
|
|
195
|
+
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
176
196
|
memberName: z.ZodString;
|
|
177
197
|
type: z.ZodString;
|
|
178
198
|
npiType1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -205,11 +225,11 @@ export declare const organizationSchemaWithNetworkInfo: z.ZodObject<z.objectUtil
|
|
|
205
225
|
universalIdType?: string | null | undefined;
|
|
206
226
|
}>>>;
|
|
207
227
|
isActive: z.ZodBoolean;
|
|
208
|
-
locations: z.ZodArray<z.ZodObject<{
|
|
228
|
+
locations: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
209
229
|
address1: z.ZodString;
|
|
210
230
|
address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
211
231
|
city: z.ZodString;
|
|
212
|
-
state: z.ZodEffects<z.ZodString
|
|
232
|
+
state: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
213
233
|
postalCode: z.ZodString;
|
|
214
234
|
country: z.ZodString;
|
|
215
235
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -219,8 +239,8 @@ export declare const organizationSchemaWithNetworkInfo: z.ZodObject<z.objectUtil
|
|
|
219
239
|
city: string;
|
|
220
240
|
country: string;
|
|
221
241
|
postalCode: string;
|
|
222
|
-
state: string;
|
|
223
242
|
address1: string;
|
|
243
|
+
state?: string | null | undefined;
|
|
224
244
|
address2?: string | null | undefined;
|
|
225
245
|
phone?: string | null | undefined;
|
|
226
246
|
fax?: string | null | undefined;
|
|
@@ -235,7 +255,27 @@ export declare const organizationSchemaWithNetworkInfo: z.ZodObject<z.objectUtil
|
|
|
235
255
|
phone?: string | null | undefined;
|
|
236
256
|
fax?: string | null | undefined;
|
|
237
257
|
email?: string | null | undefined;
|
|
238
|
-
}>, "many"
|
|
258
|
+
}>, "many">, {
|
|
259
|
+
city: string;
|
|
260
|
+
country: string;
|
|
261
|
+
postalCode: string;
|
|
262
|
+
address1: string;
|
|
263
|
+
state?: string | null | undefined;
|
|
264
|
+
address2?: string | null | undefined;
|
|
265
|
+
phone?: string | null | undefined;
|
|
266
|
+
fax?: string | null | undefined;
|
|
267
|
+
email?: string | null | undefined;
|
|
268
|
+
}[], {
|
|
269
|
+
city: string;
|
|
270
|
+
country: string;
|
|
271
|
+
postalCode: string;
|
|
272
|
+
address1: string;
|
|
273
|
+
state?: unknown;
|
|
274
|
+
address2?: string | null | undefined;
|
|
275
|
+
phone?: string | null | undefined;
|
|
276
|
+
fax?: string | null | undefined;
|
|
277
|
+
email?: string | null | undefined;
|
|
278
|
+
}[]>;
|
|
239
279
|
/** Gateway search radius in miles. One of: 50, 100, 150 */
|
|
240
280
|
searchRadius: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
241
281
|
technicalContacts: z.ZodArray<z.ZodObject<{
|
|
@@ -344,7 +384,6 @@ export declare const organizationSchemaWithNetworkInfo: z.ZodObject<z.objectUtil
|
|
|
344
384
|
type: string;
|
|
345
385
|
name: string;
|
|
346
386
|
organizationId: string;
|
|
347
|
-
displayName: string;
|
|
348
387
|
memberName: string;
|
|
349
388
|
patientIdAssignAuthority: string;
|
|
350
389
|
isActive: boolean;
|
|
@@ -352,8 +391,8 @@ export declare const organizationSchemaWithNetworkInfo: z.ZodObject<z.objectUtil
|
|
|
352
391
|
city: string;
|
|
353
392
|
country: string;
|
|
354
393
|
postalCode: string;
|
|
355
|
-
state: string;
|
|
356
394
|
address1: string;
|
|
395
|
+
state?: string | null | undefined;
|
|
357
396
|
address2?: string | null | undefined;
|
|
358
397
|
phone?: string | null | undefined;
|
|
359
398
|
fax?: string | null | undefined;
|
|
@@ -377,6 +416,7 @@ export declare const organizationSchemaWithNetworkInfo: z.ZodObject<z.objectUtil
|
|
|
377
416
|
excludes?: string[] | null | undefined;
|
|
378
417
|
doa?: string[] | null | undefined;
|
|
379
418
|
}[];
|
|
419
|
+
displayName?: string | null | undefined;
|
|
380
420
|
npiType1?: string | null | undefined;
|
|
381
421
|
npiType2?: string | null | undefined;
|
|
382
422
|
sendingFacility?: {
|
|
@@ -411,7 +451,6 @@ export declare const organizationSchemaWithNetworkInfo: z.ZodObject<z.objectUtil
|
|
|
411
451
|
type: string;
|
|
412
452
|
name: string;
|
|
413
453
|
organizationId: string;
|
|
414
|
-
displayName: string;
|
|
415
454
|
memberName: string;
|
|
416
455
|
patientIdAssignAuthority: string;
|
|
417
456
|
isActive: boolean;
|
|
@@ -444,6 +483,7 @@ export declare const organizationSchemaWithNetworkInfo: z.ZodObject<z.objectUtil
|
|
|
444
483
|
excludes?: string[] | null | undefined;
|
|
445
484
|
doa?: string[] | null | undefined;
|
|
446
485
|
}[];
|
|
486
|
+
displayName?: string | null | undefined;
|
|
447
487
|
npiType1?: string | null | undefined;
|
|
448
488
|
npiType2?: string | null | undefined;
|
|
449
489
|
sendingFacility?: {
|
|
@@ -479,7 +519,7 @@ export declare const organizationSchemaWithoutNetworkInfo: z.ZodObject<Omit<z.ob
|
|
|
479
519
|
organizationId: z.ZodString;
|
|
480
520
|
homeCommunityId: z.ZodString;
|
|
481
521
|
name: z.ZodString;
|
|
482
|
-
displayName: z.ZodString
|
|
522
|
+
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
483
523
|
memberName: z.ZodString;
|
|
484
524
|
type: z.ZodString;
|
|
485
525
|
npiType1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -512,11 +552,11 @@ export declare const organizationSchemaWithoutNetworkInfo: z.ZodObject<Omit<z.ob
|
|
|
512
552
|
universalIdType?: string | null | undefined;
|
|
513
553
|
}>>>;
|
|
514
554
|
isActive: z.ZodBoolean;
|
|
515
|
-
locations: z.ZodArray<z.ZodObject<{
|
|
555
|
+
locations: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
516
556
|
address1: z.ZodString;
|
|
517
557
|
address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
518
558
|
city: z.ZodString;
|
|
519
|
-
state: z.ZodEffects<z.ZodString
|
|
559
|
+
state: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
520
560
|
postalCode: z.ZodString;
|
|
521
561
|
country: z.ZodString;
|
|
522
562
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -526,8 +566,8 @@ export declare const organizationSchemaWithoutNetworkInfo: z.ZodObject<Omit<z.ob
|
|
|
526
566
|
city: string;
|
|
527
567
|
country: string;
|
|
528
568
|
postalCode: string;
|
|
529
|
-
state: string;
|
|
530
569
|
address1: string;
|
|
570
|
+
state?: string | null | undefined;
|
|
531
571
|
address2?: string | null | undefined;
|
|
532
572
|
phone?: string | null | undefined;
|
|
533
573
|
fax?: string | null | undefined;
|
|
@@ -542,7 +582,27 @@ export declare const organizationSchemaWithoutNetworkInfo: z.ZodObject<Omit<z.ob
|
|
|
542
582
|
phone?: string | null | undefined;
|
|
543
583
|
fax?: string | null | undefined;
|
|
544
584
|
email?: string | null | undefined;
|
|
545
|
-
}>, "many"
|
|
585
|
+
}>, "many">, {
|
|
586
|
+
city: string;
|
|
587
|
+
country: string;
|
|
588
|
+
postalCode: string;
|
|
589
|
+
address1: string;
|
|
590
|
+
state?: string | null | undefined;
|
|
591
|
+
address2?: string | null | undefined;
|
|
592
|
+
phone?: string | null | undefined;
|
|
593
|
+
fax?: string | null | undefined;
|
|
594
|
+
email?: string | null | undefined;
|
|
595
|
+
}[], {
|
|
596
|
+
city: string;
|
|
597
|
+
country: string;
|
|
598
|
+
postalCode: string;
|
|
599
|
+
address1: string;
|
|
600
|
+
state?: unknown;
|
|
601
|
+
address2?: string | null | undefined;
|
|
602
|
+
phone?: string | null | undefined;
|
|
603
|
+
fax?: string | null | undefined;
|
|
604
|
+
email?: string | null | undefined;
|
|
605
|
+
}[]>;
|
|
546
606
|
/** Gateway search radius in miles. One of: 50, 100, 150 */
|
|
547
607
|
searchRadius: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
548
608
|
technicalContacts: z.ZodArray<z.ZodObject<{
|
|
@@ -651,7 +711,6 @@ export declare const organizationSchemaWithoutNetworkInfo: z.ZodObject<Omit<z.ob
|
|
|
651
711
|
type: string;
|
|
652
712
|
name: string;
|
|
653
713
|
organizationId: string;
|
|
654
|
-
displayName: string;
|
|
655
714
|
memberName: string;
|
|
656
715
|
patientIdAssignAuthority: string;
|
|
657
716
|
isActive: boolean;
|
|
@@ -659,8 +718,8 @@ export declare const organizationSchemaWithoutNetworkInfo: z.ZodObject<Omit<z.ob
|
|
|
659
718
|
city: string;
|
|
660
719
|
country: string;
|
|
661
720
|
postalCode: string;
|
|
662
|
-
state: string;
|
|
663
721
|
address1: string;
|
|
722
|
+
state?: string | null | undefined;
|
|
664
723
|
address2?: string | null | undefined;
|
|
665
724
|
phone?: string | null | undefined;
|
|
666
725
|
fax?: string | null | undefined;
|
|
@@ -684,6 +743,7 @@ export declare const organizationSchemaWithoutNetworkInfo: z.ZodObject<Omit<z.ob
|
|
|
684
743
|
excludes?: string[] | null | undefined;
|
|
685
744
|
doa?: string[] | null | undefined;
|
|
686
745
|
}[];
|
|
746
|
+
displayName?: string | null | undefined;
|
|
687
747
|
npiType1?: string | null | undefined;
|
|
688
748
|
npiType2?: string | null | undefined;
|
|
689
749
|
sendingFacility?: {
|
|
@@ -711,7 +771,6 @@ export declare const organizationSchemaWithoutNetworkInfo: z.ZodObject<Omit<z.ob
|
|
|
711
771
|
type: string;
|
|
712
772
|
name: string;
|
|
713
773
|
organizationId: string;
|
|
714
|
-
displayName: string;
|
|
715
774
|
memberName: string;
|
|
716
775
|
patientIdAssignAuthority: string;
|
|
717
776
|
isActive: boolean;
|
|
@@ -744,6 +803,7 @@ export declare const organizationSchemaWithoutNetworkInfo: z.ZodObject<Omit<z.ob
|
|
|
744
803
|
excludes?: string[] | null | undefined;
|
|
745
804
|
doa?: string[] | null | undefined;
|
|
746
805
|
}[];
|
|
806
|
+
displayName?: string | null | undefined;
|
|
747
807
|
npiType1?: string | null | undefined;
|
|
748
808
|
npiType2?: string | null | undefined;
|
|
749
809
|
sendingFacility?: {
|
|
@@ -772,7 +832,7 @@ export declare const organizationSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.ex
|
|
|
772
832
|
organizationId: z.ZodString;
|
|
773
833
|
homeCommunityId: z.ZodString;
|
|
774
834
|
name: z.ZodString;
|
|
775
|
-
displayName: z.ZodString
|
|
835
|
+
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
776
836
|
memberName: z.ZodString;
|
|
777
837
|
type: z.ZodString;
|
|
778
838
|
npiType1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -805,11 +865,11 @@ export declare const organizationSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.ex
|
|
|
805
865
|
universalIdType?: string | null | undefined;
|
|
806
866
|
}>>>;
|
|
807
867
|
isActive: z.ZodBoolean;
|
|
808
|
-
locations: z.ZodArray<z.ZodObject<{
|
|
868
|
+
locations: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
809
869
|
address1: z.ZodString;
|
|
810
870
|
address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
811
871
|
city: z.ZodString;
|
|
812
|
-
state: z.ZodEffects<z.ZodString
|
|
872
|
+
state: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
813
873
|
postalCode: z.ZodString;
|
|
814
874
|
country: z.ZodString;
|
|
815
875
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -819,8 +879,8 @@ export declare const organizationSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.ex
|
|
|
819
879
|
city: string;
|
|
820
880
|
country: string;
|
|
821
881
|
postalCode: string;
|
|
822
|
-
state: string;
|
|
823
882
|
address1: string;
|
|
883
|
+
state?: string | null | undefined;
|
|
824
884
|
address2?: string | null | undefined;
|
|
825
885
|
phone?: string | null | undefined;
|
|
826
886
|
fax?: string | null | undefined;
|
|
@@ -835,7 +895,27 @@ export declare const organizationSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.ex
|
|
|
835
895
|
phone?: string | null | undefined;
|
|
836
896
|
fax?: string | null | undefined;
|
|
837
897
|
email?: string | null | undefined;
|
|
838
|
-
}>, "many"
|
|
898
|
+
}>, "many">, {
|
|
899
|
+
city: string;
|
|
900
|
+
country: string;
|
|
901
|
+
postalCode: string;
|
|
902
|
+
address1: string;
|
|
903
|
+
state?: string | null | undefined;
|
|
904
|
+
address2?: string | null | undefined;
|
|
905
|
+
phone?: string | null | undefined;
|
|
906
|
+
fax?: string | null | undefined;
|
|
907
|
+
email?: string | null | undefined;
|
|
908
|
+
}[], {
|
|
909
|
+
city: string;
|
|
910
|
+
country: string;
|
|
911
|
+
postalCode: string;
|
|
912
|
+
address1: string;
|
|
913
|
+
state?: unknown;
|
|
914
|
+
address2?: string | null | undefined;
|
|
915
|
+
phone?: string | null | undefined;
|
|
916
|
+
fax?: string | null | undefined;
|
|
917
|
+
email?: string | null | undefined;
|
|
918
|
+
}[]>;
|
|
839
919
|
/** Gateway search radius in miles. One of: 50, 100, 150 */
|
|
840
920
|
searchRadius: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
841
921
|
technicalContacts: z.ZodArray<z.ZodObject<{
|
|
@@ -944,7 +1024,6 @@ export declare const organizationSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.ex
|
|
|
944
1024
|
type: string;
|
|
945
1025
|
name: string;
|
|
946
1026
|
organizationId: string;
|
|
947
|
-
displayName: string;
|
|
948
1027
|
memberName: string;
|
|
949
1028
|
patientIdAssignAuthority: string;
|
|
950
1029
|
isActive: boolean;
|
|
@@ -952,8 +1031,8 @@ export declare const organizationSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.ex
|
|
|
952
1031
|
city: string;
|
|
953
1032
|
country: string;
|
|
954
1033
|
postalCode: string;
|
|
955
|
-
state: string;
|
|
956
1034
|
address1: string;
|
|
1035
|
+
state?: string | null | undefined;
|
|
957
1036
|
address2?: string | null | undefined;
|
|
958
1037
|
phone?: string | null | undefined;
|
|
959
1038
|
fax?: string | null | undefined;
|
|
@@ -977,6 +1056,7 @@ export declare const organizationSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.ex
|
|
|
977
1056
|
excludes?: string[] | null | undefined;
|
|
978
1057
|
doa?: string[] | null | undefined;
|
|
979
1058
|
}[];
|
|
1059
|
+
displayName?: string | null | undefined;
|
|
980
1060
|
npiType1?: string | null | undefined;
|
|
981
1061
|
npiType2?: string | null | undefined;
|
|
982
1062
|
sendingFacility?: {
|
|
@@ -1011,7 +1091,6 @@ export declare const organizationSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.ex
|
|
|
1011
1091
|
type: string;
|
|
1012
1092
|
name: string;
|
|
1013
1093
|
organizationId: string;
|
|
1014
|
-
displayName: string;
|
|
1015
1094
|
memberName: string;
|
|
1016
1095
|
patientIdAssignAuthority: string;
|
|
1017
1096
|
isActive: boolean;
|
|
@@ -1044,6 +1123,7 @@ export declare const organizationSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.ex
|
|
|
1044
1123
|
excludes?: string[] | null | undefined;
|
|
1045
1124
|
doa?: string[] | null | undefined;
|
|
1046
1125
|
}[];
|
|
1126
|
+
displayName?: string | null | undefined;
|
|
1047
1127
|
npiType1?: string | null | undefined;
|
|
1048
1128
|
npiType2?: string | null | undefined;
|
|
1049
1129
|
sendingFacility?: {
|
|
@@ -1077,7 +1157,7 @@ export declare const organizationSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.ex
|
|
|
1077
1157
|
organizationId: z.ZodString;
|
|
1078
1158
|
homeCommunityId: z.ZodString;
|
|
1079
1159
|
name: z.ZodString;
|
|
1080
|
-
displayName: z.ZodString
|
|
1160
|
+
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1081
1161
|
memberName: z.ZodString;
|
|
1082
1162
|
type: z.ZodString;
|
|
1083
1163
|
npiType1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1110,11 +1190,11 @@ export declare const organizationSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.ex
|
|
|
1110
1190
|
universalIdType?: string | null | undefined;
|
|
1111
1191
|
}>>>;
|
|
1112
1192
|
isActive: z.ZodBoolean;
|
|
1113
|
-
locations: z.ZodArray<z.ZodObject<{
|
|
1193
|
+
locations: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
1114
1194
|
address1: z.ZodString;
|
|
1115
1195
|
address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1116
1196
|
city: z.ZodString;
|
|
1117
|
-
state: z.ZodEffects<z.ZodString
|
|
1197
|
+
state: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
1118
1198
|
postalCode: z.ZodString;
|
|
1119
1199
|
country: z.ZodString;
|
|
1120
1200
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1124,8 +1204,8 @@ export declare const organizationSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.ex
|
|
|
1124
1204
|
city: string;
|
|
1125
1205
|
country: string;
|
|
1126
1206
|
postalCode: string;
|
|
1127
|
-
state: string;
|
|
1128
1207
|
address1: string;
|
|
1208
|
+
state?: string | null | undefined;
|
|
1129
1209
|
address2?: string | null | undefined;
|
|
1130
1210
|
phone?: string | null | undefined;
|
|
1131
1211
|
fax?: string | null | undefined;
|
|
@@ -1140,7 +1220,27 @@ export declare const organizationSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.ex
|
|
|
1140
1220
|
phone?: string | null | undefined;
|
|
1141
1221
|
fax?: string | null | undefined;
|
|
1142
1222
|
email?: string | null | undefined;
|
|
1143
|
-
}>, "many"
|
|
1223
|
+
}>, "many">, {
|
|
1224
|
+
city: string;
|
|
1225
|
+
country: string;
|
|
1226
|
+
postalCode: string;
|
|
1227
|
+
address1: string;
|
|
1228
|
+
state?: string | null | undefined;
|
|
1229
|
+
address2?: string | null | undefined;
|
|
1230
|
+
phone?: string | null | undefined;
|
|
1231
|
+
fax?: string | null | undefined;
|
|
1232
|
+
email?: string | null | undefined;
|
|
1233
|
+
}[], {
|
|
1234
|
+
city: string;
|
|
1235
|
+
country: string;
|
|
1236
|
+
postalCode: string;
|
|
1237
|
+
address1: string;
|
|
1238
|
+
state?: unknown;
|
|
1239
|
+
address2?: string | null | undefined;
|
|
1240
|
+
phone?: string | null | undefined;
|
|
1241
|
+
fax?: string | null | undefined;
|
|
1242
|
+
email?: string | null | undefined;
|
|
1243
|
+
}[]>;
|
|
1144
1244
|
/** Gateway search radius in miles. One of: 50, 100, 150 */
|
|
1145
1245
|
searchRadius: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1146
1246
|
technicalContacts: z.ZodArray<z.ZodObject<{
|
|
@@ -1249,7 +1349,6 @@ export declare const organizationSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.ex
|
|
|
1249
1349
|
type: string;
|
|
1250
1350
|
name: string;
|
|
1251
1351
|
organizationId: string;
|
|
1252
|
-
displayName: string;
|
|
1253
1352
|
memberName: string;
|
|
1254
1353
|
patientIdAssignAuthority: string;
|
|
1255
1354
|
isActive: boolean;
|
|
@@ -1257,8 +1356,8 @@ export declare const organizationSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.ex
|
|
|
1257
1356
|
city: string;
|
|
1258
1357
|
country: string;
|
|
1259
1358
|
postalCode: string;
|
|
1260
|
-
state: string;
|
|
1261
1359
|
address1: string;
|
|
1360
|
+
state?: string | null | undefined;
|
|
1262
1361
|
address2?: string | null | undefined;
|
|
1263
1362
|
phone?: string | null | undefined;
|
|
1264
1363
|
fax?: string | null | undefined;
|
|
@@ -1282,6 +1381,7 @@ export declare const organizationSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.ex
|
|
|
1282
1381
|
excludes?: string[] | null | undefined;
|
|
1283
1382
|
doa?: string[] | null | undefined;
|
|
1284
1383
|
}[];
|
|
1384
|
+
displayName?: string | null | undefined;
|
|
1285
1385
|
npiType1?: string | null | undefined;
|
|
1286
1386
|
npiType2?: string | null | undefined;
|
|
1287
1387
|
sendingFacility?: {
|
|
@@ -1309,7 +1409,6 @@ export declare const organizationSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.ex
|
|
|
1309
1409
|
type: string;
|
|
1310
1410
|
name: string;
|
|
1311
1411
|
organizationId: string;
|
|
1312
|
-
displayName: string;
|
|
1313
1412
|
memberName: string;
|
|
1314
1413
|
patientIdAssignAuthority: string;
|
|
1315
1414
|
isActive: boolean;
|
|
@@ -1342,6 +1441,7 @@ export declare const organizationSchema: z.ZodUnion<[z.ZodObject<z.objectUtil.ex
|
|
|
1342
1441
|
excludes?: string[] | null | undefined;
|
|
1343
1442
|
doa?: string[] | null | undefined;
|
|
1344
1443
|
}[];
|
|
1444
|
+
displayName?: string | null | undefined;
|
|
1345
1445
|
npiType1?: string | null | undefined;
|
|
1346
1446
|
npiType2?: string | null | undefined;
|
|
1347
1447
|
sendingFacility?: {
|
|
@@ -1374,7 +1474,7 @@ export declare const organizationListSchema: z.ZodObject<{
|
|
|
1374
1474
|
organizationId: z.ZodString;
|
|
1375
1475
|
homeCommunityId: z.ZodString;
|
|
1376
1476
|
name: z.ZodString;
|
|
1377
|
-
displayName: z.ZodString
|
|
1477
|
+
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1378
1478
|
memberName: z.ZodString;
|
|
1379
1479
|
type: z.ZodString;
|
|
1380
1480
|
npiType1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1407,11 +1507,11 @@ export declare const organizationListSchema: z.ZodObject<{
|
|
|
1407
1507
|
universalIdType?: string | null | undefined;
|
|
1408
1508
|
}>>>;
|
|
1409
1509
|
isActive: z.ZodBoolean;
|
|
1410
|
-
locations: z.ZodArray<z.ZodObject<{
|
|
1510
|
+
locations: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
1411
1511
|
address1: z.ZodString;
|
|
1412
1512
|
address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1413
1513
|
city: z.ZodString;
|
|
1414
|
-
state: z.ZodEffects<z.ZodString
|
|
1514
|
+
state: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
1415
1515
|
postalCode: z.ZodString;
|
|
1416
1516
|
country: z.ZodString;
|
|
1417
1517
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1421,8 +1521,8 @@ export declare const organizationListSchema: z.ZodObject<{
|
|
|
1421
1521
|
city: string;
|
|
1422
1522
|
country: string;
|
|
1423
1523
|
postalCode: string;
|
|
1424
|
-
state: string;
|
|
1425
1524
|
address1: string;
|
|
1525
|
+
state?: string | null | undefined;
|
|
1426
1526
|
address2?: string | null | undefined;
|
|
1427
1527
|
phone?: string | null | undefined;
|
|
1428
1528
|
fax?: string | null | undefined;
|
|
@@ -1437,7 +1537,27 @@ export declare const organizationListSchema: z.ZodObject<{
|
|
|
1437
1537
|
phone?: string | null | undefined;
|
|
1438
1538
|
fax?: string | null | undefined;
|
|
1439
1539
|
email?: string | null | undefined;
|
|
1440
|
-
}>, "many"
|
|
1540
|
+
}>, "many">, {
|
|
1541
|
+
city: string;
|
|
1542
|
+
country: string;
|
|
1543
|
+
postalCode: string;
|
|
1544
|
+
address1: string;
|
|
1545
|
+
state?: string | null | undefined;
|
|
1546
|
+
address2?: string | null | undefined;
|
|
1547
|
+
phone?: string | null | undefined;
|
|
1548
|
+
fax?: string | null | undefined;
|
|
1549
|
+
email?: string | null | undefined;
|
|
1550
|
+
}[], {
|
|
1551
|
+
city: string;
|
|
1552
|
+
country: string;
|
|
1553
|
+
postalCode: string;
|
|
1554
|
+
address1: string;
|
|
1555
|
+
state?: unknown;
|
|
1556
|
+
address2?: string | null | undefined;
|
|
1557
|
+
phone?: string | null | undefined;
|
|
1558
|
+
fax?: string | null | undefined;
|
|
1559
|
+
email?: string | null | undefined;
|
|
1560
|
+
}[]>;
|
|
1441
1561
|
/** Gateway search radius in miles. One of: 50, 100, 150 */
|
|
1442
1562
|
searchRadius: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1443
1563
|
technicalContacts: z.ZodArray<z.ZodObject<{
|
|
@@ -1546,7 +1666,6 @@ export declare const organizationListSchema: z.ZodObject<{
|
|
|
1546
1666
|
type: string;
|
|
1547
1667
|
name: string;
|
|
1548
1668
|
organizationId: string;
|
|
1549
|
-
displayName: string;
|
|
1550
1669
|
memberName: string;
|
|
1551
1670
|
patientIdAssignAuthority: string;
|
|
1552
1671
|
isActive: boolean;
|
|
@@ -1554,8 +1673,8 @@ export declare const organizationListSchema: z.ZodObject<{
|
|
|
1554
1673
|
city: string;
|
|
1555
1674
|
country: string;
|
|
1556
1675
|
postalCode: string;
|
|
1557
|
-
state: string;
|
|
1558
1676
|
address1: string;
|
|
1677
|
+
state?: string | null | undefined;
|
|
1559
1678
|
address2?: string | null | undefined;
|
|
1560
1679
|
phone?: string | null | undefined;
|
|
1561
1680
|
fax?: string | null | undefined;
|
|
@@ -1579,6 +1698,7 @@ export declare const organizationListSchema: z.ZodObject<{
|
|
|
1579
1698
|
excludes?: string[] | null | undefined;
|
|
1580
1699
|
doa?: string[] | null | undefined;
|
|
1581
1700
|
}[];
|
|
1701
|
+
displayName?: string | null | undefined;
|
|
1582
1702
|
npiType1?: string | null | undefined;
|
|
1583
1703
|
npiType2?: string | null | undefined;
|
|
1584
1704
|
sendingFacility?: {
|
|
@@ -1613,7 +1733,6 @@ export declare const organizationListSchema: z.ZodObject<{
|
|
|
1613
1733
|
type: string;
|
|
1614
1734
|
name: string;
|
|
1615
1735
|
organizationId: string;
|
|
1616
|
-
displayName: string;
|
|
1617
1736
|
memberName: string;
|
|
1618
1737
|
patientIdAssignAuthority: string;
|
|
1619
1738
|
isActive: boolean;
|
|
@@ -1646,6 +1765,7 @@ export declare const organizationListSchema: z.ZodObject<{
|
|
|
1646
1765
|
excludes?: string[] | null | undefined;
|
|
1647
1766
|
doa?: string[] | null | undefined;
|
|
1648
1767
|
}[];
|
|
1768
|
+
displayName?: string | null | undefined;
|
|
1649
1769
|
npiType1?: string | null | undefined;
|
|
1650
1770
|
npiType2?: string | null | undefined;
|
|
1651
1771
|
sendingFacility?: {
|
|
@@ -1679,7 +1799,7 @@ export declare const organizationListSchema: z.ZodObject<{
|
|
|
1679
1799
|
organizationId: z.ZodString;
|
|
1680
1800
|
homeCommunityId: z.ZodString;
|
|
1681
1801
|
name: z.ZodString;
|
|
1682
|
-
displayName: z.ZodString
|
|
1802
|
+
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1683
1803
|
memberName: z.ZodString;
|
|
1684
1804
|
type: z.ZodString;
|
|
1685
1805
|
npiType1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1712,11 +1832,11 @@ export declare const organizationListSchema: z.ZodObject<{
|
|
|
1712
1832
|
universalIdType?: string | null | undefined;
|
|
1713
1833
|
}>>>;
|
|
1714
1834
|
isActive: z.ZodBoolean;
|
|
1715
|
-
locations: z.ZodArray<z.ZodObject<{
|
|
1835
|
+
locations: z.ZodEffects<z.ZodArray<z.ZodObject<{
|
|
1716
1836
|
address1: z.ZodString;
|
|
1717
1837
|
address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1718
1838
|
city: z.ZodString;
|
|
1719
|
-
state: z.ZodEffects<z.ZodString
|
|
1839
|
+
state: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodString>>, string | null | undefined, unknown>;
|
|
1720
1840
|
postalCode: z.ZodString;
|
|
1721
1841
|
country: z.ZodString;
|
|
1722
1842
|
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1726,8 +1846,8 @@ export declare const organizationListSchema: z.ZodObject<{
|
|
|
1726
1846
|
city: string;
|
|
1727
1847
|
country: string;
|
|
1728
1848
|
postalCode: string;
|
|
1729
|
-
state: string;
|
|
1730
1849
|
address1: string;
|
|
1850
|
+
state?: string | null | undefined;
|
|
1731
1851
|
address2?: string | null | undefined;
|
|
1732
1852
|
phone?: string | null | undefined;
|
|
1733
1853
|
fax?: string | null | undefined;
|
|
@@ -1742,7 +1862,27 @@ export declare const organizationListSchema: z.ZodObject<{
|
|
|
1742
1862
|
phone?: string | null | undefined;
|
|
1743
1863
|
fax?: string | null | undefined;
|
|
1744
1864
|
email?: string | null | undefined;
|
|
1745
|
-
}>, "many"
|
|
1865
|
+
}>, "many">, {
|
|
1866
|
+
city: string;
|
|
1867
|
+
country: string;
|
|
1868
|
+
postalCode: string;
|
|
1869
|
+
address1: string;
|
|
1870
|
+
state?: string | null | undefined;
|
|
1871
|
+
address2?: string | null | undefined;
|
|
1872
|
+
phone?: string | null | undefined;
|
|
1873
|
+
fax?: string | null | undefined;
|
|
1874
|
+
email?: string | null | undefined;
|
|
1875
|
+
}[], {
|
|
1876
|
+
city: string;
|
|
1877
|
+
country: string;
|
|
1878
|
+
postalCode: string;
|
|
1879
|
+
address1: string;
|
|
1880
|
+
state?: unknown;
|
|
1881
|
+
address2?: string | null | undefined;
|
|
1882
|
+
phone?: string | null | undefined;
|
|
1883
|
+
fax?: string | null | undefined;
|
|
1884
|
+
email?: string | null | undefined;
|
|
1885
|
+
}[]>;
|
|
1746
1886
|
/** Gateway search radius in miles. One of: 50, 100, 150 */
|
|
1747
1887
|
searchRadius: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, number, number>>>;
|
|
1748
1888
|
technicalContacts: z.ZodArray<z.ZodObject<{
|
|
@@ -1851,7 +1991,6 @@ export declare const organizationListSchema: z.ZodObject<{
|
|
|
1851
1991
|
type: string;
|
|
1852
1992
|
name: string;
|
|
1853
1993
|
organizationId: string;
|
|
1854
|
-
displayName: string;
|
|
1855
1994
|
memberName: string;
|
|
1856
1995
|
patientIdAssignAuthority: string;
|
|
1857
1996
|
isActive: boolean;
|
|
@@ -1859,8 +1998,8 @@ export declare const organizationListSchema: z.ZodObject<{
|
|
|
1859
1998
|
city: string;
|
|
1860
1999
|
country: string;
|
|
1861
2000
|
postalCode: string;
|
|
1862
|
-
state: string;
|
|
1863
2001
|
address1: string;
|
|
2002
|
+
state?: string | null | undefined;
|
|
1864
2003
|
address2?: string | null | undefined;
|
|
1865
2004
|
phone?: string | null | undefined;
|
|
1866
2005
|
fax?: string | null | undefined;
|
|
@@ -1884,6 +2023,7 @@ export declare const organizationListSchema: z.ZodObject<{
|
|
|
1884
2023
|
excludes?: string[] | null | undefined;
|
|
1885
2024
|
doa?: string[] | null | undefined;
|
|
1886
2025
|
}[];
|
|
2026
|
+
displayName?: string | null | undefined;
|
|
1887
2027
|
npiType1?: string | null | undefined;
|
|
1888
2028
|
npiType2?: string | null | undefined;
|
|
1889
2029
|
sendingFacility?: {
|
|
@@ -1911,7 +2051,6 @@ export declare const organizationListSchema: z.ZodObject<{
|
|
|
1911
2051
|
type: string;
|
|
1912
2052
|
name: string;
|
|
1913
2053
|
organizationId: string;
|
|
1914
|
-
displayName: string;
|
|
1915
2054
|
memberName: string;
|
|
1916
2055
|
patientIdAssignAuthority: string;
|
|
1917
2056
|
isActive: boolean;
|
|
@@ -1944,6 +2083,7 @@ export declare const organizationListSchema: z.ZodObject<{
|
|
|
1944
2083
|
excludes?: string[] | null | undefined;
|
|
1945
2084
|
doa?: string[] | null | undefined;
|
|
1946
2085
|
}[];
|
|
2086
|
+
displayName?: string | null | undefined;
|
|
1947
2087
|
npiType1?: string | null | undefined;
|
|
1948
2088
|
npiType2?: string | null | undefined;
|
|
1949
2089
|
sendingFacility?: {
|
|
@@ -1976,7 +2116,6 @@ export declare const organizationListSchema: z.ZodObject<{
|
|
|
1976
2116
|
type: string;
|
|
1977
2117
|
name: string;
|
|
1978
2118
|
organizationId: string;
|
|
1979
|
-
displayName: string;
|
|
1980
2119
|
memberName: string;
|
|
1981
2120
|
patientIdAssignAuthority: string;
|
|
1982
2121
|
isActive: boolean;
|
|
@@ -1984,8 +2123,8 @@ export declare const organizationListSchema: z.ZodObject<{
|
|
|
1984
2123
|
city: string;
|
|
1985
2124
|
country: string;
|
|
1986
2125
|
postalCode: string;
|
|
1987
|
-
state: string;
|
|
1988
2126
|
address1: string;
|
|
2127
|
+
state?: string | null | undefined;
|
|
1989
2128
|
address2?: string | null | undefined;
|
|
1990
2129
|
phone?: string | null | undefined;
|
|
1991
2130
|
fax?: string | null | undefined;
|
|
@@ -2009,6 +2148,7 @@ export declare const organizationListSchema: z.ZodObject<{
|
|
|
2009
2148
|
excludes?: string[] | null | undefined;
|
|
2010
2149
|
doa?: string[] | null | undefined;
|
|
2011
2150
|
}[];
|
|
2151
|
+
displayName?: string | null | undefined;
|
|
2012
2152
|
npiType1?: string | null | undefined;
|
|
2013
2153
|
npiType2?: string | null | undefined;
|
|
2014
2154
|
sendingFacility?: {
|
|
@@ -2043,7 +2183,6 @@ export declare const organizationListSchema: z.ZodObject<{
|
|
|
2043
2183
|
type: string;
|
|
2044
2184
|
name: string;
|
|
2045
2185
|
organizationId: string;
|
|
2046
|
-
displayName: string;
|
|
2047
2186
|
memberName: string;
|
|
2048
2187
|
patientIdAssignAuthority: string;
|
|
2049
2188
|
isActive: boolean;
|
|
@@ -2051,8 +2190,8 @@ export declare const organizationListSchema: z.ZodObject<{
|
|
|
2051
2190
|
city: string;
|
|
2052
2191
|
country: string;
|
|
2053
2192
|
postalCode: string;
|
|
2054
|
-
state: string;
|
|
2055
2193
|
address1: string;
|
|
2194
|
+
state?: string | null | undefined;
|
|
2056
2195
|
address2?: string | null | undefined;
|
|
2057
2196
|
phone?: string | null | undefined;
|
|
2058
2197
|
fax?: string | null | undefined;
|
|
@@ -2076,6 +2215,7 @@ export declare const organizationListSchema: z.ZodObject<{
|
|
|
2076
2215
|
excludes?: string[] | null | undefined;
|
|
2077
2216
|
doa?: string[] | null | undefined;
|
|
2078
2217
|
}[];
|
|
2218
|
+
displayName?: string | null | undefined;
|
|
2079
2219
|
npiType1?: string | null | undefined;
|
|
2080
2220
|
npiType2?: string | null | undefined;
|
|
2081
2221
|
sendingFacility?: {
|
|
@@ -2108,7 +2248,6 @@ export declare const organizationListSchema: z.ZodObject<{
|
|
|
2108
2248
|
type: string;
|
|
2109
2249
|
name: string;
|
|
2110
2250
|
organizationId: string;
|
|
2111
|
-
displayName: string;
|
|
2112
2251
|
memberName: string;
|
|
2113
2252
|
patientIdAssignAuthority: string;
|
|
2114
2253
|
isActive: boolean;
|
|
@@ -2141,6 +2280,7 @@ export declare const organizationListSchema: z.ZodObject<{
|
|
|
2141
2280
|
excludes?: string[] | null | undefined;
|
|
2142
2281
|
doa?: string[] | null | undefined;
|
|
2143
2282
|
}[];
|
|
2283
|
+
displayName?: string | null | undefined;
|
|
2144
2284
|
npiType1?: string | null | undefined;
|
|
2145
2285
|
npiType2?: string | null | undefined;
|
|
2146
2286
|
sendingFacility?: {
|
|
@@ -2175,7 +2315,6 @@ export declare const organizationListSchema: z.ZodObject<{
|
|
|
2175
2315
|
type: string;
|
|
2176
2316
|
name: string;
|
|
2177
2317
|
organizationId: string;
|
|
2178
|
-
displayName: string;
|
|
2179
2318
|
memberName: string;
|
|
2180
2319
|
patientIdAssignAuthority: string;
|
|
2181
2320
|
isActive: boolean;
|
|
@@ -2208,6 +2347,7 @@ export declare const organizationListSchema: z.ZodObject<{
|
|
|
2208
2347
|
excludes?: string[] | null | undefined;
|
|
2209
2348
|
doa?: string[] | null | undefined;
|
|
2210
2349
|
}[];
|
|
2350
|
+
displayName?: string | null | undefined;
|
|
2211
2351
|
npiType1?: string | null | undefined;
|
|
2212
2352
|
npiType2?: string | null | undefined;
|
|
2213
2353
|
sendingFacility?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization.d.ts","sourceRoot":"","sources":["../../src/models/organization.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"organization.d.ts","sourceRoot":"","sources":["../../src/models/organization.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA6BxB,QAAA,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA0B1B,2DAA2D;;;;;;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ty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.isOrgInitiatorAndResponder = exports.CwTreatmentType = exports.organizationListSchema = exports.organizationSchema = exports.organizationSchemaWithoutNetworkInfo = exports.organizationSchemaWithNetworkInfo = void 0;
|
|
4
|
+
const shared_1 = require("@metriport/shared");
|
|
4
5
|
const zod_1 = require("zod");
|
|
5
6
|
const address_1 = require("./address");
|
|
7
|
+
// Safe location schema that filters out invalid states
|
|
8
|
+
const locationSchemaSafe = zod_1.z.object({
|
|
9
|
+
address1: zod_1.z.string(),
|
|
10
|
+
address2: zod_1.z.string().nullish(),
|
|
11
|
+
city: zod_1.z.string(),
|
|
12
|
+
state: zod_1.z.preprocess(address_1.normalizeStatePreprocessSafe, zod_1.z.string().nullish()),
|
|
13
|
+
postalCode: zod_1.z.string(),
|
|
14
|
+
country: zod_1.z.string(),
|
|
15
|
+
phone: zod_1.z.string().nullish(),
|
|
16
|
+
fax: zod_1.z.string().nullish(),
|
|
17
|
+
email: zod_1.z.string().nullish(),
|
|
18
|
+
});
|
|
19
|
+
/**
|
|
20
|
+
* Validates if a location has a valid state
|
|
21
|
+
*/
|
|
22
|
+
function isValidLocationState(location) {
|
|
23
|
+
if (!location.state)
|
|
24
|
+
return false;
|
|
25
|
+
return (0, shared_1.normalizeStateSafe)(location.state) !== undefined;
|
|
26
|
+
}
|
|
27
|
+
// Safe location array schema that filters out locations with invalid states
|
|
28
|
+
const locationArraySchemaSafe = zod_1.z.array(locationSchemaSafe).transform(locations => {
|
|
29
|
+
return locations.filter(location => isValidLocationState(location));
|
|
30
|
+
});
|
|
6
31
|
const organizationBaseSchema = zod_1.z.object({
|
|
7
32
|
organizationId: zod_1.z.string(),
|
|
8
33
|
homeCommunityId: zod_1.z.string(),
|
|
9
34
|
name: zod_1.z.string(),
|
|
10
|
-
displayName: zod_1.z.string(),
|
|
35
|
+
displayName: zod_1.z.string().nullish(),
|
|
11
36
|
memberName: zod_1.z.string(),
|
|
12
37
|
type: zod_1.z.string(),
|
|
13
38
|
npiType1: zod_1.z.string().nullish(),
|
|
@@ -28,17 +53,7 @@ const organizationBaseSchema = zod_1.z.object({
|
|
|
28
53
|
})
|
|
29
54
|
.nullish(),
|
|
30
55
|
isActive: zod_1.z.boolean(),
|
|
31
|
-
locations:
|
|
32
|
-
address1: zod_1.z.string(),
|
|
33
|
-
address2: zod_1.z.string().nullish(),
|
|
34
|
-
city: zod_1.z.string(),
|
|
35
|
-
state: zod_1.z.preprocess(address_1.normalizeStatePreprocess, zod_1.z.string()),
|
|
36
|
-
postalCode: zod_1.z.string(),
|
|
37
|
-
country: zod_1.z.string(),
|
|
38
|
-
phone: zod_1.z.string().nullish(),
|
|
39
|
-
fax: zod_1.z.string().nullish(),
|
|
40
|
-
email: zod_1.z.string().nullish(),
|
|
41
|
-
})),
|
|
56
|
+
locations: locationArraySchemaSafe,
|
|
42
57
|
/** Gateway search radius in miles. One of: 50, 100, 150 */
|
|
43
58
|
searchRadius: zod_1.z
|
|
44
59
|
.number()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization.js","sourceRoot":"","sources":["../../src/models/organization.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,
|
|
1
|
+
{"version":3,"file":"organization.js","sourceRoot":"","sources":["../../src/models/organization.ts"],"names":[],"mappings":";;;AAAA,8CAAuD;AACvD,6BAAwB;AACxB,uCAAyD;AAEzD,uDAAuD;AACvD,MAAM,kBAAkB,GAAG,OAAC,CAAC,MAAM,CAAC;IAClC,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE;IACpB,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC9B,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,OAAC,CAAC,UAAU,CAAC,sCAA4B,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE,CAAC;IACvE,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE;IACtB,OAAO,EA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|
|
2
2
|
"name": "@metriport/commonwell-sdk",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.4.0",
|
|
4
4
|
"description": "SDK to simplify CommonWell API integration - by Metriport Inc.",
|
|
5
5
|
"author": "Metriport Inc. <contact@metriport.com>",
|
|
6
6
|
"homepage": "https://metriport.com/",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"url": "https://github.com/metriport/metriport/issues"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@metriport/shared": "^0.26.
|
|
63
|
+
"@metriport/shared": "^0.26.11",
|
|
64
64
|
"axios": "^1.8.2",
|
|
65
65
|
"http-status": "~1.7.0",
|
|
66
66
|
"jsonwebtoken": "^9.0.0",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"prettier": "^2.8.3",
|
|
79
79
|
"typescript": "^4.9.5"
|
|
80
80
|
},
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "962cc1b7b5ab876a1708029ce7e20d50d24b8abd"
|
|
82
82
|
}
|