@healthcloudai/hc-sdk 3.30.1 → 3.31.1
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/index.cjs +12 -2
- package/dist/index.d.cts +167 -1
- package/dist/index.d.ts +167 -1
- package/dist/index.js +12 -2
- package/docs/clients/ProviderClient.md +1 -0
- package/docs/configuration.md +1 -1
- package/docs/docs-manifest.json +6 -3
- package/docs/examples/index.md +1 -0
- package/docs/index.md +1 -0
- package/docs/models/ProviderPracticeAppointment.md +25 -0
- package/docs/models/ProviderPracticeAppointmentsResponse.md +19 -0
- package/docs/models/index.md +2 -0
- package/docs/operations/list_public_and_orchestrator_agent_ids_api_ams_application_agents__tenant_id__get.md +1 -1
- package/docs/operations/provider.listPracticeAppointments.md +166 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -102,8 +102,8 @@ function resolveBaseUrl(environment, service) {
|
|
|
102
102
|
assertEnvironment(environment);
|
|
103
103
|
if (service === "ams") {
|
|
104
104
|
if (environment === "dev") return "https://dev-ams-services.health.cloud/api/ams";
|
|
105
|
-
|
|
106
|
-
return
|
|
105
|
+
if (environment === "prod") return "https://ams-services.health.cloud/api/ams";
|
|
106
|
+
return "https://uat-amsservices.health.cloud/api/ams";
|
|
107
107
|
}
|
|
108
108
|
return `https://${environment}-api-${service}.health.cloud`;
|
|
109
109
|
}
|
|
@@ -4115,6 +4115,16 @@ var ProviderClient = class extends BaseServiceClient {
|
|
|
4115
4115
|
createPracticeInvite(request) {
|
|
4116
4116
|
return this.send("POST", "/practice/invites", { body: request != null ? request : {} });
|
|
4117
4117
|
}
|
|
4118
|
+
/**
|
|
4119
|
+
* Every appointment patients booked through the practice scheduler (GET /practice/appointments), for the practice
|
|
4120
|
+
* whose owner is the authenticated provider. Never EHR-only or other practices' rows. Window `start_date`..`end_date`
|
|
4121
|
+
* (YYYY-MM-DD; default today..+30 days, at most 90 days); `status` is a FHIR Appointment status; `limit` is 1-200
|
|
4122
|
+
* (default 100). Each row has `appointment_id`, `patient_id`, `start`, `end`, `status`, `telehealth_link`, `reason`
|
|
4123
|
+
* and a `patient` summary. Practice owner only (403 otherwise).
|
|
4124
|
+
*/
|
|
4125
|
+
listPracticeAppointments(filters) {
|
|
4126
|
+
return this.send("GET", "/practice/appointments", { query: filters });
|
|
4127
|
+
}
|
|
4118
4128
|
/**
|
|
4119
4129
|
* Ask the patient to schedule a telehealth appointment (POST /encounters/{id}/telehealth-request). Records a proposed
|
|
4120
4130
|
* telehealth appointment and sends the patient a generic notice. At most one request per encounter per hour: a repeat
|