candidhealth 0.7.1 → 0.8.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/Client.d.ts +3 -0
- package/Client.js +15 -10
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/api/resources/commons/types/ResourcePage.d.ts +7 -0
- package/api/resources/eligibility/resources/v2/client/Client.js +1 -1
- package/api/resources/encounters/resources/v4/client/Client.js +4 -4
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +2 -1
- package/api/resources/insuranceAdjudication/resources/v1/client/Client.js +3 -3
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +3 -3
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationServiceFacilities/client/Client.d.ts +18 -0
- package/api/resources/organizationServiceFacilities/client/Client.js +18 -0
- package/api/resources/organizationServiceFacilities/client/index.d.ts +1 -0
- package/api/resources/organizationServiceFacilities/client/index.js +2 -0
- package/api/resources/organizationServiceFacilities/index.d.ts +2 -0
- package/api/resources/organizationServiceFacilities/index.js +18 -0
- package/api/resources/organizationServiceFacilities/resources/index.d.ts +1 -0
- package/api/resources/organizationServiceFacilities/resources/index.js +27 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +22 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +263 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/create.d.ts +28 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/create.js +58 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/delete.d.ts +28 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/delete.js +58 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/get.d.ts +28 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/get.js +58 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/getMulti.d.ts +22 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/getMulti.js +47 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/index.d.ts +6 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/index.js +35 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/requests/GetAllOrganizationServiceFacilitiesRequest.d.ts +18 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/requests/GetAllOrganizationServiceFacilitiesRequest.js +5 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/requests/index.d.ts +1 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/requests/index.js +2 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/update.d.ts +34 -0
- package/api/resources/organizationServiceFacilities/resources/v2/client/update.js +69 -0
- package/api/resources/organizationServiceFacilities/resources/v2/index.d.ts +2 -0
- package/api/resources/organizationServiceFacilities/resources/v2/index.js +18 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +50 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.js +5 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +48 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.js +5 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityId.d.ts +12 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityId.js +10 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityPage.d.ts +32 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityPage.js +5 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +48 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.js +5 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityMode.d.ts +18 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityMode.js +10 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityOperationalStatus.d.ts +34 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityOperationalStatus.js +14 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +66 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.js +22 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityStatus.d.ts +22 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityStatus.js +11 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +502 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.js +131 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/index.d.ts +10 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/index.js +26 -0
- package/api/resources/patientPayments/resources/v4/client/Client.js +3 -3
- package/api/resources/patientRefunds/resources/v1/client/Client.js +3 -3
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/writeOffs/resources/v1/client/Client.js +3 -3
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +15 -10
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/commons/types/ResourcePage.d.ts +7 -0
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +2 -1
- package/dist/api/resources/insuranceAdjudication/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationServiceFacilities/client/Client.d.ts +18 -0
- package/dist/api/resources/organizationServiceFacilities/client/Client.js +18 -0
- package/dist/api/resources/organizationServiceFacilities/client/index.d.ts +1 -0
- package/dist/api/resources/organizationServiceFacilities/client/index.js +2 -0
- package/dist/api/resources/organizationServiceFacilities/index.d.ts +2 -0
- package/dist/api/resources/organizationServiceFacilities/index.js +18 -0
- package/dist/api/resources/organizationServiceFacilities/resources/index.d.ts +1 -0
- package/dist/api/resources/organizationServiceFacilities/resources/index.js +27 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +22 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +263 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/create.d.ts +28 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/create.js +58 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/delete.d.ts +28 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/delete.js +58 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/get.d.ts +28 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/get.js +58 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/getMulti.d.ts +22 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/getMulti.js +47 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/index.d.ts +6 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/index.js +35 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/requests/GetAllOrganizationServiceFacilitiesRequest.d.ts +18 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/requests/GetAllOrganizationServiceFacilitiesRequest.js +5 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/requests/index.d.ts +1 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/requests/index.js +2 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/update.d.ts +34 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/update.js +69 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/index.d.ts +2 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/index.js +18 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +50 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.js +5 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +48 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.js +5 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityId.d.ts +12 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityId.js +10 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityPage.d.ts +32 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityPage.js +5 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +48 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.js +5 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityMode.d.ts +18 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityMode.js +10 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityOperationalStatus.d.ts +34 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityOperationalStatus.js +14 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +66 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.js +22 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityStatus.d.ts +22 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityStatus.js +11 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +502 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.js +131 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/index.d.ts +10 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/index.js +26 -0
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +3 -3
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +3 -3
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +2 -1
- package/dist/serialization/resources/organizationServiceFacilities/index.d.ts +1 -0
- package/dist/serialization/resources/organizationServiceFacilities/index.js +17 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/index.d.ts +1 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/index.js +27 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/create.d.ts +14 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/create.js +46 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/delete.d.ts +14 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/delete.js +46 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/get.d.ts +14 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/get.js +46 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/index.d.ts +4 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/index.js +30 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/update.d.ts +18 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/client/update.js +51 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/index.d.ts +2 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/index.js +18 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +22 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.js +53 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +21 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.js +52 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityId.d.ts +10 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityId.js +35 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityPage.d.ts +12 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityPage.js +35 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +21 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.js +54 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityMode.d.ts +10 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityMode.js +31 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityOperationalStatus.d.ts +10 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityOperationalStatus.js +31 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +10 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.js +31 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityStatus.d.ts +10 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityStatus.js +31 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +10 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.js +155 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/index.d.ts +10 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/index.js +26 -0
- package/package.json +1 -1
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +2 -1
- package/serialization/resources/organizationServiceFacilities/index.d.ts +1 -0
- package/serialization/resources/organizationServiceFacilities/index.js +17 -0
- package/serialization/resources/organizationServiceFacilities/resources/index.d.ts +1 -0
- package/serialization/resources/organizationServiceFacilities/resources/index.js +27 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/create.d.ts +14 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/create.js +46 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/delete.d.ts +14 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/delete.js +46 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/get.d.ts +14 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/get.js +46 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/index.d.ts +4 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/index.js +30 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/update.d.ts +18 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/client/update.js +51 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/index.d.ts +2 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/index.js +18 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +22 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.js +53 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +21 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.js +52 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityId.d.ts +10 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityId.js +35 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityPage.d.ts +12 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityPage.js +35 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +21 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.js +54 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityMode.d.ts +10 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityMode.js +31 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityOperationalStatus.d.ts +10 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityOperationalStatus.js +31 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +10 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.js +31 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityStatus.d.ts +10 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityStatus.js +31 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +10 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.js +155 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/index.d.ts +10 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/index.js +26 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.organizationServiceFacilities.v2.update.Error.HttpRequestValidationError | CandidApi.organizationServiceFacilities.v2.update.Error.EntityNotFoundError | CandidApi.organizationServiceFacilities.v2.update.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface HttpRequestValidationError extends _Utils {
|
|
9
|
+
errorName: "HttpRequestValidationError";
|
|
10
|
+
content: CandidApi.RequestValidationError;
|
|
11
|
+
}
|
|
12
|
+
interface EntityNotFoundError extends _Utils {
|
|
13
|
+
errorName: "EntityNotFoundError";
|
|
14
|
+
content: CandidApi.EntityNotFoundErrorMessage;
|
|
15
|
+
}
|
|
16
|
+
interface _Unknown extends _Utils {
|
|
17
|
+
errorName: void;
|
|
18
|
+
content: core.Fetcher.Error;
|
|
19
|
+
}
|
|
20
|
+
interface _Utils {
|
|
21
|
+
_visit: <_Result>(visitor: CandidApi.organizationServiceFacilities.v2.update.Error._Visitor<_Result>) => _Result;
|
|
22
|
+
}
|
|
23
|
+
interface _Visitor<_Result> {
|
|
24
|
+
httpRequestValidationError: (value: CandidApi.RequestValidationError) => _Result;
|
|
25
|
+
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
26
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
export declare const Error: {
|
|
30
|
+
readonly httpRequestValidationError: (value: CandidApi.RequestValidationError) => CandidApi.organizationServiceFacilities.v2.update.Error.HttpRequestValidationError;
|
|
31
|
+
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.organizationServiceFacilities.v2.update.Error.EntityNotFoundError;
|
|
32
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.organizationServiceFacilities.v2.update.Error._Unknown;
|
|
33
|
+
readonly _visit: <_Result>(value: CandidApi.organizationServiceFacilities.v2.update.Error, visitor: CandidApi.organizationServiceFacilities.v2.update.Error._Visitor<_Result>) => _Result;
|
|
34
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../.."));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
httpRequestValidationError: (value) => {
|
|
33
|
+
return {
|
|
34
|
+
content: value,
|
|
35
|
+
errorName: "HttpRequestValidationError",
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.organizationServiceFacilities.v2.update.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
entityNotFoundError: (value) => {
|
|
42
|
+
return {
|
|
43
|
+
content: value,
|
|
44
|
+
errorName: "EntityNotFoundError",
|
|
45
|
+
_visit: function (visitor) {
|
|
46
|
+
return CandidApi.organizationServiceFacilities.v2.update.Error._visit(this, visitor);
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
_unknown: (fetcherError) => {
|
|
51
|
+
return {
|
|
52
|
+
errorName: undefined,
|
|
53
|
+
content: fetcherError,
|
|
54
|
+
_visit: function (visitor) {
|
|
55
|
+
return CandidApi.organizationServiceFacilities.v2.update.Error._visit(this, visitor);
|
|
56
|
+
},
|
|
57
|
+
};
|
|
58
|
+
},
|
|
59
|
+
_visit: (value, visitor) => {
|
|
60
|
+
switch (value.errorName) {
|
|
61
|
+
case "HttpRequestValidationError":
|
|
62
|
+
return visitor.httpRequestValidationError(value.content);
|
|
63
|
+
case "EntityNotFoundError":
|
|
64
|
+
return visitor.entityNotFoundError(value.content);
|
|
65
|
+
default:
|
|
66
|
+
return visitor._other(value);
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* organizationServiceFacilityId: CandidApi.organizationServiceFacilities.v2.OrganizationServiceFacilityId("30F55EE6-8C0E-43FC-A7FC-DAC00D5BF569"),
|
|
9
|
+
* name: "Test Service Facility",
|
|
10
|
+
* aliases: ["Test Service Facility Alias"],
|
|
11
|
+
* description: "Test Service Facility Description",
|
|
12
|
+
* status: CandidApi.organizationServiceFacilities.v2.ServiceFacilityStatus.Active,
|
|
13
|
+
* operationalStatus: CandidApi.organizationServiceFacilities.v2.ServiceFacilityOperationalStatus.Closed,
|
|
14
|
+
* mode: CandidApi.organizationServiceFacilities.v2.ServiceFacilityMode.Instance,
|
|
15
|
+
* type: CandidApi.organizationServiceFacilities.v2.ServiceFacilityType.DiagnosticsOrTherapeuticsUnit,
|
|
16
|
+
* physicalType: CandidApi.organizationServiceFacilities.v2.ServiceFacilityPhysicalType.Site,
|
|
17
|
+
* telecoms: ["555-555-5555"],
|
|
18
|
+
* address: {
|
|
19
|
+
* address1: "123 Main St",
|
|
20
|
+
* address2: "Apt 1",
|
|
21
|
+
* city: "New York",
|
|
22
|
+
* state: CandidApi.State.Ny,
|
|
23
|
+
* zipCode: "10001",
|
|
24
|
+
* zipPlusFourCode: "1234"
|
|
25
|
+
* }
|
|
26
|
+
* }
|
|
27
|
+
*/
|
|
28
|
+
export interface OrganizationServiceFacility {
|
|
29
|
+
organizationServiceFacilityId: CandidApi.organizationServiceFacilities.v2.OrganizationServiceFacilityId;
|
|
30
|
+
/** The name of the service facility. */
|
|
31
|
+
name: string;
|
|
32
|
+
/** A list of alternate names for the service facility. */
|
|
33
|
+
aliases: string[];
|
|
34
|
+
/** A description of the service facility. */
|
|
35
|
+
description?: string;
|
|
36
|
+
/** The status of the service facility. */
|
|
37
|
+
status?: CandidApi.organizationServiceFacilities.v2.ServiceFacilityStatus;
|
|
38
|
+
/** The operational status of the service facility. */
|
|
39
|
+
operationalStatus?: CandidApi.organizationServiceFacilities.v2.ServiceFacilityOperationalStatus;
|
|
40
|
+
/** The mode of the service facility. */
|
|
41
|
+
mode?: CandidApi.organizationServiceFacilities.v2.ServiceFacilityMode;
|
|
42
|
+
/** The type of the service facility. */
|
|
43
|
+
type?: CandidApi.organizationServiceFacilities.v2.ServiceFacilityType;
|
|
44
|
+
/** The physical type of the service facility. */
|
|
45
|
+
physicalType?: CandidApi.organizationServiceFacilities.v2.ServiceFacilityPhysicalType;
|
|
46
|
+
/** A list of contact methods for the service facility. */
|
|
47
|
+
telecoms: string[];
|
|
48
|
+
/** The address of the service facility. */
|
|
49
|
+
address: CandidApi.StreetAddressLongZip;
|
|
50
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* name: "Test Service Facility",
|
|
9
|
+
* aliases: ["Test Service Facility Alias"],
|
|
10
|
+
* description: "Test Service Facility Description",
|
|
11
|
+
* status: CandidApi.organizationServiceFacilities.v2.ServiceFacilityStatus.Active,
|
|
12
|
+
* operationalStatus: CandidApi.organizationServiceFacilities.v2.ServiceFacilityOperationalStatus.Closed,
|
|
13
|
+
* mode: CandidApi.organizationServiceFacilities.v2.ServiceFacilityMode.Instance,
|
|
14
|
+
* type: CandidApi.organizationServiceFacilities.v2.ServiceFacilityType.DiagnosticsOrTherapeuticsUnit,
|
|
15
|
+
* physicalType: CandidApi.organizationServiceFacilities.v2.ServiceFacilityPhysicalType.Site,
|
|
16
|
+
* telecoms: ["555-555-5555"],
|
|
17
|
+
* address: {
|
|
18
|
+
* address1: "123 Main St",
|
|
19
|
+
* address2: "Apt 1",
|
|
20
|
+
* city: "New York",
|
|
21
|
+
* state: CandidApi.State.Ny,
|
|
22
|
+
* zipCode: "10001",
|
|
23
|
+
* zipPlusFourCode: "1234"
|
|
24
|
+
* }
|
|
25
|
+
* }
|
|
26
|
+
*/
|
|
27
|
+
export interface OrganizationServiceFacilityCreate {
|
|
28
|
+
/** The name of the service facility. */
|
|
29
|
+
name: string;
|
|
30
|
+
/** A list of alternate names for the service facility. */
|
|
31
|
+
aliases: string[];
|
|
32
|
+
/** A description of the service facility. */
|
|
33
|
+
description?: string;
|
|
34
|
+
/** The status of the service facility. */
|
|
35
|
+
status?: CandidApi.organizationServiceFacilities.v2.ServiceFacilityStatus;
|
|
36
|
+
/** The operational status of the service facility. */
|
|
37
|
+
operationalStatus?: CandidApi.organizationServiceFacilities.v2.ServiceFacilityOperationalStatus;
|
|
38
|
+
/** The mode of the service facility. */
|
|
39
|
+
mode?: CandidApi.organizationServiceFacilities.v2.ServiceFacilityMode;
|
|
40
|
+
/** The type of the service facility. */
|
|
41
|
+
type?: CandidApi.organizationServiceFacilities.v2.ServiceFacilityType;
|
|
42
|
+
/** The physical type of the service facility. */
|
|
43
|
+
physicalType?: CandidApi.organizationServiceFacilities.v2.ServiceFacilityPhysicalType;
|
|
44
|
+
/** A list of contact methods for the service facility. */
|
|
45
|
+
telecoms: string[];
|
|
46
|
+
/** The address of the service facility. */
|
|
47
|
+
address: CandidApi.StreetAddressLongZip;
|
|
48
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* CandidApi.organizationServiceFacilities.v2.OrganizationServiceFacilityId("30F55EE6-8C0E-43FC-A7FC-DAC00D5BF569")
|
|
8
|
+
*/
|
|
9
|
+
export declare type OrganizationServiceFacilityId = string & {
|
|
10
|
+
organizationServiceFacilities_v2_OrganizationServiceFacilityId: void;
|
|
11
|
+
};
|
|
12
|
+
export declare function OrganizationServiceFacilityId(value: string): CandidApi.organizationServiceFacilities.v2.OrganizationServiceFacilityId;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.OrganizationServiceFacilityId = void 0;
|
|
7
|
+
function OrganizationServiceFacilityId(value) {
|
|
8
|
+
return value;
|
|
9
|
+
}
|
|
10
|
+
exports.OrganizationServiceFacilityId = OrganizationServiceFacilityId;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* items: [{
|
|
9
|
+
* organizationServiceFacilityId: CandidApi.organizationServiceFacilities.v2.OrganizationServiceFacilityId("30F55EE6-8C0E-43FC-A7FC-DAC00D5BF569"),
|
|
10
|
+
* name: "Test Service Facility",
|
|
11
|
+
* aliases: ["Test Service Facility Alias"],
|
|
12
|
+
* description: "Test Service Facility Description",
|
|
13
|
+
* status: CandidApi.organizationServiceFacilities.v2.ServiceFacilityStatus.Active,
|
|
14
|
+
* operationalStatus: CandidApi.organizationServiceFacilities.v2.ServiceFacilityOperationalStatus.Closed,
|
|
15
|
+
* mode: CandidApi.organizationServiceFacilities.v2.ServiceFacilityMode.Instance,
|
|
16
|
+
* type: CandidApi.organizationServiceFacilities.v2.ServiceFacilityType.DiagnosticsOrTherapeuticsUnit,
|
|
17
|
+
* physicalType: CandidApi.organizationServiceFacilities.v2.ServiceFacilityPhysicalType.Site,
|
|
18
|
+
* telecoms: ["555-555-5555"],
|
|
19
|
+
* address: {
|
|
20
|
+
* address1: "123 Main St",
|
|
21
|
+
* address2: "Apt 1",
|
|
22
|
+
* city: "New York",
|
|
23
|
+
* state: CandidApi.State.Ny,
|
|
24
|
+
* zipCode: "10001",
|
|
25
|
+
* zipPlusFourCode: "1234"
|
|
26
|
+
* }
|
|
27
|
+
* }]
|
|
28
|
+
* }
|
|
29
|
+
*/
|
|
30
|
+
export interface OrganizationServiceFacilityPage extends CandidApi.ResourcePage {
|
|
31
|
+
items: CandidApi.organizationServiceFacilities.v2.OrganizationServiceFacility[];
|
|
32
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../..";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* name: "Test Service Facility",
|
|
9
|
+
* aliases: ["Test Service Facility Alias"],
|
|
10
|
+
* description: "Test Service Facility Description",
|
|
11
|
+
* status: CandidApi.organizationServiceFacilities.v2.ServiceFacilityStatus.Active,
|
|
12
|
+
* operationalStatus: CandidApi.organizationServiceFacilities.v2.ServiceFacilityOperationalStatus.Closed,
|
|
13
|
+
* mode: CandidApi.organizationServiceFacilities.v2.ServiceFacilityMode.Instance,
|
|
14
|
+
* type: CandidApi.organizationServiceFacilities.v2.ServiceFacilityType.DiagnosticsOrTherapeuticsUnit,
|
|
15
|
+
* physicalType: CandidApi.organizationServiceFacilities.v2.ServiceFacilityPhysicalType.Site,
|
|
16
|
+
* telecoms: ["555-555-5555"],
|
|
17
|
+
* address: {
|
|
18
|
+
* address1: "123 Main St",
|
|
19
|
+
* address2: "Apt 1",
|
|
20
|
+
* city: "New York",
|
|
21
|
+
* state: CandidApi.State.Ny,
|
|
22
|
+
* zipCode: "10001",
|
|
23
|
+
* zipPlusFourCode: "1234"
|
|
24
|
+
* }
|
|
25
|
+
* }
|
|
26
|
+
*/
|
|
27
|
+
export interface OrganizationServiceFacilityUpdate {
|
|
28
|
+
/** The name of the service facility. */
|
|
29
|
+
name?: string;
|
|
30
|
+
/** A list of alternate names for the service facility. */
|
|
31
|
+
aliases?: string[];
|
|
32
|
+
/** A description of the service facility. */
|
|
33
|
+
description?: string;
|
|
34
|
+
/** The status of the service facility. */
|
|
35
|
+
status?: CandidApi.organizationServiceFacilities.v2.ServiceFacilityStatus;
|
|
36
|
+
/** The operational status of the service facility. */
|
|
37
|
+
operationalStatus?: CandidApi.organizationServiceFacilities.v2.ServiceFacilityOperationalStatus;
|
|
38
|
+
/** The mode of the service facility. */
|
|
39
|
+
mode?: CandidApi.organizationServiceFacilities.v2.ServiceFacilityMode;
|
|
40
|
+
/** The type of the service facility. */
|
|
41
|
+
type?: CandidApi.organizationServiceFacilities.v2.ServiceFacilityType;
|
|
42
|
+
/** The physical type of the service facility. */
|
|
43
|
+
physicalType?: CandidApi.organizationServiceFacilities.v2.ServiceFacilityPhysicalType;
|
|
44
|
+
/** A list of contact methods for the service facility. */
|
|
45
|
+
telecoms?: string[];
|
|
46
|
+
/** The address of the service facility. */
|
|
47
|
+
address?: CandidApi.StreetAddressLongZip;
|
|
48
|
+
}
|
package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityMode.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* CandidApi.organizationServiceFacilities.v2.ServiceFacilityMode.Instance
|
|
7
|
+
*/
|
|
8
|
+
export declare type ServiceFacilityMode =
|
|
9
|
+
/**
|
|
10
|
+
* The Location resource represents a specific instance of a location (e.g. Operating Theatre 1A). */
|
|
11
|
+
"instance"
|
|
12
|
+
/**
|
|
13
|
+
* The Location represents a class of locations (e.g. Any Operating Theatre) although this class of locations could be constrained within a specific boundary (such as organization, or parent location, address etc.). */
|
|
14
|
+
| "kind";
|
|
15
|
+
export declare const ServiceFacilityMode: {
|
|
16
|
+
readonly Instance: "instance";
|
|
17
|
+
readonly Kind: "kind";
|
|
18
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ServiceFacilityMode = void 0;
|
|
7
|
+
exports.ServiceFacilityMode = {
|
|
8
|
+
Instance: "instance",
|
|
9
|
+
Kind: "kind",
|
|
10
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* CandidApi.organizationServiceFacilities.v2.ServiceFacilityOperationalStatus.Closed
|
|
7
|
+
*/
|
|
8
|
+
export declare type ServiceFacilityOperationalStatus =
|
|
9
|
+
/**
|
|
10
|
+
* The location is not operational and is closed. */
|
|
11
|
+
"C"
|
|
12
|
+
/**
|
|
13
|
+
* The location is currently undergoing cleaning or maintenance. */
|
|
14
|
+
| "H"
|
|
15
|
+
/**
|
|
16
|
+
* The location is quarantined or isolated for special cases. */
|
|
17
|
+
| "I"
|
|
18
|
+
/**
|
|
19
|
+
* The location has been identified as contaminated and is not currently usable. */
|
|
20
|
+
| "K"
|
|
21
|
+
/**
|
|
22
|
+
* The location is currently in use or occupied. */
|
|
23
|
+
| "O"
|
|
24
|
+
/**
|
|
25
|
+
* The location is operational but currently empty or not in use. */
|
|
26
|
+
| "U";
|
|
27
|
+
export declare const ServiceFacilityOperationalStatus: {
|
|
28
|
+
readonly Closed: "C";
|
|
29
|
+
readonly Housekeeping: "H";
|
|
30
|
+
readonly Isolated: "I";
|
|
31
|
+
readonly Contaminated: "K";
|
|
32
|
+
readonly Occupied: "O";
|
|
33
|
+
readonly Unoccupied: "U";
|
|
34
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ServiceFacilityOperationalStatus = void 0;
|
|
7
|
+
exports.ServiceFacilityOperationalStatus = {
|
|
8
|
+
Closed: "C",
|
|
9
|
+
Housekeeping: "H",
|
|
10
|
+
Isolated: "I",
|
|
11
|
+
Contaminated: "K",
|
|
12
|
+
Occupied: "O",
|
|
13
|
+
Unoccupied: "U",
|
|
14
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* CandidApi.organizationServiceFacilities.v2.ServiceFacilityPhysicalType.Site
|
|
7
|
+
*/
|
|
8
|
+
export declare type ServiceFacilityPhysicalType =
|
|
9
|
+
/**
|
|
10
|
+
* A collection of buildings or other locations such as a site or a campus. */
|
|
11
|
+
"si"
|
|
12
|
+
/**
|
|
13
|
+
* Any Building or structure. This may contain rooms, corridors, wings, etc. It might not have walls, or a roof, but is considered a defined/allocated space. */
|
|
14
|
+
| "bu"
|
|
15
|
+
/**
|
|
16
|
+
* A Wing within a Building, this often contains levels, rooms and corridors. */
|
|
17
|
+
| "wi"
|
|
18
|
+
/**
|
|
19
|
+
* A Ward is a section of a medical facility that may contain rooms and other types of location. */
|
|
20
|
+
| "wa"
|
|
21
|
+
/**
|
|
22
|
+
* A Level in a multi-level Building/Structure. */
|
|
23
|
+
| "lvl"
|
|
24
|
+
/**
|
|
25
|
+
* A Corridor within a Building. */
|
|
26
|
+
| "co"
|
|
27
|
+
/**
|
|
28
|
+
* A space that is allocated as a room, it may have walls/roof etc., but does not require these. */
|
|
29
|
+
| "ro"
|
|
30
|
+
/**
|
|
31
|
+
* A space that is allocated for sleeping/laying on etc. typically within a building, section of a building or within a room. */
|
|
32
|
+
| "bd"
|
|
33
|
+
/**
|
|
34
|
+
* A means of transportation. */
|
|
35
|
+
| "ve"
|
|
36
|
+
/**
|
|
37
|
+
* A residential dwelling. Usually used to reference a location that a person/patient may reside. */
|
|
38
|
+
| "ho"
|
|
39
|
+
/**
|
|
40
|
+
* A container that can store goods, equipment, medications or other items. */
|
|
41
|
+
| "ca"
|
|
42
|
+
/**
|
|
43
|
+
* A defined path to travel between 2 points that has a known name. */
|
|
44
|
+
| "rd"
|
|
45
|
+
/**
|
|
46
|
+
* A defined physical boundary of something, such as a flood risk zone, region, postcode. */
|
|
47
|
+
| "area"
|
|
48
|
+
/**
|
|
49
|
+
* A wide scope that covers a conceptual domain, such as a Nation (Country wide community or Federal Government - e.g. Ministry of Health), Province or State (community or Government), Business (throughout the enterprise), Nation with a business scope of an agency (e.g. CDC, FDA etc.) or a Business segment (UK Pharmacy), not just an physical boundary. */
|
|
50
|
+
| "jdn";
|
|
51
|
+
export declare const ServiceFacilityPhysicalType: {
|
|
52
|
+
readonly Site: "si";
|
|
53
|
+
readonly Building: "bu";
|
|
54
|
+
readonly Wing: "wi";
|
|
55
|
+
readonly Ward: "wa";
|
|
56
|
+
readonly Level: "lvl";
|
|
57
|
+
readonly Corridor: "co";
|
|
58
|
+
readonly Room: "ro";
|
|
59
|
+
readonly Bed: "bd";
|
|
60
|
+
readonly Vehicle: "ve";
|
|
61
|
+
readonly House: "ho";
|
|
62
|
+
readonly Cabinet: "ca";
|
|
63
|
+
readonly Road: "rd";
|
|
64
|
+
readonly Area: "area";
|
|
65
|
+
readonly Jurisdiction: "jdn";
|
|
66
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ServiceFacilityPhysicalType = void 0;
|
|
7
|
+
exports.ServiceFacilityPhysicalType = {
|
|
8
|
+
Site: "si",
|
|
9
|
+
Building: "bu",
|
|
10
|
+
Wing: "wi",
|
|
11
|
+
Ward: "wa",
|
|
12
|
+
Level: "lvl",
|
|
13
|
+
Corridor: "co",
|
|
14
|
+
Room: "ro",
|
|
15
|
+
Bed: "bd",
|
|
16
|
+
Vehicle: "ve",
|
|
17
|
+
House: "ho",
|
|
18
|
+
Cabinet: "ca",
|
|
19
|
+
Road: "rd",
|
|
20
|
+
Area: "area",
|
|
21
|
+
Jurisdiction: "jdn",
|
|
22
|
+
};
|
package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityStatus.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* CandidApi.organizationServiceFacilities.v2.ServiceFacilityStatus.Active
|
|
7
|
+
*/
|
|
8
|
+
export declare type ServiceFacilityStatus =
|
|
9
|
+
/**
|
|
10
|
+
* The location is operational. */
|
|
11
|
+
"active"
|
|
12
|
+
/**
|
|
13
|
+
* The location is no longer used. */
|
|
14
|
+
| "inactive"
|
|
15
|
+
/**
|
|
16
|
+
* TThe location is temporarily closed. */
|
|
17
|
+
| "suspended";
|
|
18
|
+
export declare const ServiceFacilityStatus: {
|
|
19
|
+
readonly Active: "active";
|
|
20
|
+
readonly Inactive: "inactive";
|
|
21
|
+
readonly Suspended: "suspended";
|
|
22
|
+
};
|
package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityStatus.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ServiceFacilityStatus = void 0;
|
|
7
|
+
exports.ServiceFacilityStatus = {
|
|
8
|
+
Active: "active",
|
|
9
|
+
Inactive: "inactive",
|
|
10
|
+
Suspended: "suspended",
|
|
11
|
+
};
|