@healthcloudai/hc-sdk 3.1.0 → 3.3.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/index.cjs +34 -1
- package/dist/index.d.cts +1021 -12
- package/dist/index.d.ts +1021 -12
- package/dist/index.js +34 -1
- package/docs/clients/AmsClient.md +1 -1
- package/docs/clients/AppointmentsClient.md +1 -0
- package/docs/clients/GrokClient.md +2 -2
- package/docs/docs-manifest.json +6 -4
- package/docs/examples/index.md +3 -2
- package/docs/index.md +3 -2
- package/docs/models/Appointment.md +1 -0
- package/docs/models/AthenaCreatePatientRequest.md +1 -0
- package/docs/models/AthenaVitalFailedReading.md +25 -0
- package/docs/models/AthenaVitalsMirrorResult.md +1 -0
- package/docs/models/CarequalityRetrieveDocumentsRequest.md +1 -1
- package/docs/models/GetPreferredPharmacyResponse.md +15 -0
- package/docs/models/NearestLocationsResponse.md +1 -1
- package/docs/models/OpenAIEmbedRequest.md +1 -1
- package/docs/models/PatientIntakeResponse.md +2 -0
- package/docs/models/SendGridSendEmailRequest.md +1 -1
- package/docs/models/index.md +2 -1
- package/docs/operations/appointments.book.md +1 -0
- package/docs/operations/appointments.cancel.md +1 -0
- package/docs/operations/appointments.getTelehealthLink.md +118 -0
- package/docs/operations/appointments.listPatientAppointments.md +1 -0
- package/docs/operations/appointments.reschedule.md +1 -0
- package/docs/operations/connectors.athenaListSocialHistoryQuestions.md +1 -1
- package/docs/operations/connectors.carequalityRetrieveDocuments.md +7 -11
- package/docs/operations/connectors.grokCreateHpiSummary.md +2 -2
- package/docs/operations/connectors.grokCreateScreeningSummary.md +2 -2
- package/docs/operations/connectors.openaiEmbed.md +7 -3
- package/docs/operations/connectors.sendgridSend.md +7 -3
- package/docs/operations/list_public_and_orchestrator_agent_ids_api_ams_application_agents__tenant_id__get.md +3 -3
- package/docs/operations/patient.getPatientIntake.md +8 -35
- package/docs/operations/patient.getPreferredPharmacy.md +2 -4
- package/docs/operations/patient.importVitals.md +9 -0
- package/docs/operations/patient.submitPatientIntake.md +8 -35
- package/docs/operations/vitals.recordVitals.md +9 -0
- package/package.json +4 -4
- package/docs/models/FhirResource.md +0 -19
|
@@ -6,9 +6,9 @@ Public, unauthenticated endpoint returning active Application-type agent IDs spl
|
|
|
6
6
|
|
|
7
7
|
## Public method
|
|
8
8
|
|
|
9
|
-
`
|
|
9
|
+
`getAgentsForTenant`
|
|
10
10
|
|
|
11
|
-
Signature: `ams.
|
|
11
|
+
Signature: `ams.getAgentsForTenant(tenantId)`
|
|
12
12
|
|
|
13
13
|
Return type: `Promise<AmsApplicationAgentsResponse>`
|
|
14
14
|
|
|
@@ -71,7 +71,7 @@ import { HCSDK } from "@healthcloudai/hc-sdk";
|
|
|
71
71
|
```ts
|
|
72
72
|
const tenantId = "<TENANT_ID>";
|
|
73
73
|
|
|
74
|
-
const result = await ams.
|
|
74
|
+
const result = await ams.getAgentsForTenant(tenantId);
|
|
75
75
|
```
|
|
76
76
|
|
|
77
77
|
## cURL
|
|
@@ -58,41 +58,14 @@ None declared in canonical OpenAPI.
|
|
|
58
58
|
|
|
59
59
|
```json
|
|
60
60
|
{
|
|
61
|
-
"created_at": "2026-
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
"section_results": {},
|
|
70
|
-
"sections": [
|
|
71
|
-
"allergies"
|
|
72
|
-
],
|
|
73
|
-
"status": "not_configured"
|
|
74
|
-
},
|
|
75
|
-
"openloop": {
|
|
76
|
-
"mode": "unsupported",
|
|
77
|
-
"reason": "Vendor is not enabled for this tenant",
|
|
78
|
-
"reference": null,
|
|
79
|
-
"section_results": {},
|
|
80
|
-
"sections": [
|
|
81
|
-
"allergies"
|
|
82
|
-
],
|
|
83
|
-
"status": "not_configured"
|
|
84
|
-
},
|
|
85
|
-
"steadymd": {
|
|
86
|
-
"mode": "unsupported",
|
|
87
|
-
"reason": "Vendor is not enabled for this tenant",
|
|
88
|
-
"reference": null,
|
|
89
|
-
"section_results": {},
|
|
90
|
-
"sections": [
|
|
91
|
-
"allergies"
|
|
92
|
-
],
|
|
93
|
-
"status": "not_configured"
|
|
94
|
-
}
|
|
95
|
-
}
|
|
61
|
+
"created_at": "2026-01-01T09:00:00Z",
|
|
62
|
+
"invalid_entries": {},
|
|
63
|
+
"storage_status": "pending",
|
|
64
|
+
"submission_id": "00000000-0000-0000-0000-000000000000",
|
|
65
|
+
"unknown_fields": [
|
|
66
|
+
"string"
|
|
67
|
+
],
|
|
68
|
+
"vendors": {}
|
|
96
69
|
}
|
|
97
70
|
```
|
|
98
71
|
|
|
@@ -48,7 +48,7 @@ None declared in canonical OpenAPI.
|
|
|
48
48
|
|
|
49
49
|
| Status | Shape | Content type | Description |
|
|
50
50
|
|---|---|---|---|
|
|
51
|
-
| `200` | [`
|
|
51
|
+
| `200` | [`GetPreferredPharmacyResponse`](../models/GetPreferredPharmacyResponse.md) | application/json | The preferred-pharmacy FHIR Organization resource, or null when none is set |
|
|
52
52
|
|
|
53
53
|
## Success response examples
|
|
54
54
|
|
|
@@ -56,9 +56,7 @@ None declared in canonical OpenAPI.
|
|
|
56
56
|
|
|
57
57
|
```json
|
|
58
58
|
{
|
|
59
|
-
"
|
|
60
|
-
"meta": {},
|
|
61
|
-
"resourceType": "Organization"
|
|
59
|
+
"preferred_pharmacy": null
|
|
62
60
|
}
|
|
63
61
|
```
|
|
64
62
|
|
|
@@ -68,6 +68,15 @@ Request model: [`patient.ImportVitalsRequest`](../models/patient.ImportVitalsReq
|
|
|
68
68
|
"athena_vitals": {
|
|
69
69
|
"created": 0,
|
|
70
70
|
"error": "string",
|
|
71
|
+
"failed_readings": [
|
|
72
|
+
{
|
|
73
|
+
"clinicalelementid": "string",
|
|
74
|
+
"error": "string",
|
|
75
|
+
"loinc": "",
|
|
76
|
+
"readingtaken": "string",
|
|
77
|
+
"value": "string"
|
|
78
|
+
}
|
|
79
|
+
],
|
|
71
80
|
"skipped": 0,
|
|
72
81
|
"status": "synced"
|
|
73
82
|
},
|
|
@@ -341,41 +341,14 @@ Request model: [`PatientIntakeRequest`](../models/PatientIntakeRequest.md)
|
|
|
341
341
|
|
|
342
342
|
```json
|
|
343
343
|
{
|
|
344
|
-
"created_at": "2026-
|
|
345
|
-
"
|
|
346
|
-
"
|
|
347
|
-
"
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
"section_results": {},
|
|
353
|
-
"sections": [
|
|
354
|
-
"allergies"
|
|
355
|
-
],
|
|
356
|
-
"status": "not_configured"
|
|
357
|
-
},
|
|
358
|
-
"openloop": {
|
|
359
|
-
"mode": "unsupported",
|
|
360
|
-
"reason": "Vendor is not enabled for this tenant",
|
|
361
|
-
"reference": null,
|
|
362
|
-
"section_results": {},
|
|
363
|
-
"sections": [
|
|
364
|
-
"allergies"
|
|
365
|
-
],
|
|
366
|
-
"status": "not_configured"
|
|
367
|
-
},
|
|
368
|
-
"steadymd": {
|
|
369
|
-
"mode": "unsupported",
|
|
370
|
-
"reason": "Vendor is not enabled for this tenant",
|
|
371
|
-
"reference": null,
|
|
372
|
-
"section_results": {},
|
|
373
|
-
"sections": [
|
|
374
|
-
"allergies"
|
|
375
|
-
],
|
|
376
|
-
"status": "not_configured"
|
|
377
|
-
}
|
|
378
|
-
}
|
|
344
|
+
"created_at": "2026-01-01T09:00:00Z",
|
|
345
|
+
"invalid_entries": {},
|
|
346
|
+
"storage_status": "pending",
|
|
347
|
+
"submission_id": "00000000-0000-0000-0000-000000000000",
|
|
348
|
+
"unknown_fields": [
|
|
349
|
+
"string"
|
|
350
|
+
],
|
|
351
|
+
"vendors": {}
|
|
379
352
|
}
|
|
380
353
|
```
|
|
381
354
|
|
|
@@ -82,6 +82,15 @@ Request model: [`VitalsRecordRequest`](../models/VitalsRecordRequest.md)
|
|
|
82
82
|
"athena_vitals": {
|
|
83
83
|
"created": 0,
|
|
84
84
|
"error": "string",
|
|
85
|
+
"failed_readings": [
|
|
86
|
+
{
|
|
87
|
+
"clinicalelementid": "string",
|
|
88
|
+
"error": "string",
|
|
89
|
+
"loinc": "",
|
|
90
|
+
"readingtaken": "string",
|
|
91
|
+
"value": "string"
|
|
92
|
+
}
|
|
93
|
+
],
|
|
85
94
|
"skipped": 0,
|
|
86
95
|
"status": "synced"
|
|
87
96
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@healthcloudai/hc-sdk",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.0",
|
|
4
4
|
"description": "All-in-one HealthCloud SDK with typed platform APIs and secure connector clients.",
|
|
5
5
|
"author": "Healthcheck Systems Inc",
|
|
6
6
|
"license": "MIT",
|
|
@@ -54,9 +54,9 @@
|
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@types/node": "^24.0.0",
|
|
57
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
58
|
-
"@typescript-eslint/parser": "^
|
|
59
|
-
"eslint": "^8.
|
|
57
|
+
"@typescript-eslint/eslint-plugin": "^8.70.0",
|
|
58
|
+
"@typescript-eslint/parser": "^8.70.0",
|
|
59
|
+
"eslint": "^8.57.1",
|
|
60
60
|
"playwright": "^1.63.0",
|
|
61
61
|
"tsup": "^8.0.0",
|
|
62
62
|
"tsx": "^4.23.13",
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
# FhirResource
|
|
2
|
-
|
|
3
|
-
Model ID: `FhirResource`
|
|
4
|
-
|
|
5
|
-
A FHIR R4 resource exactly as the FHIR server returned it. HealthCloud stores and echoes the resource without reshaping it, so the remaining fields are those the FHIR specification defines for this resource type.
|
|
6
|
-
|
|
7
|
-
Type: `object`
|
|
8
|
-
|
|
9
|
-
## Fields
|
|
10
|
-
|
|
11
|
-
| Field | Type | Required | Format | Allowed values | Default | Nullable | Description |
|
|
12
|
-
|---|---|---:|---|---|---|---:|---|
|
|
13
|
-
| `id` | `string` | No | | | | No | Server-assigned logical id. |
|
|
14
|
-
| `meta` | `object` | No | | | | No | FHIR resource metadata (versionId, lastUpdated). |
|
|
15
|
-
| `resourceType` | `string` | Yes | | | | No | FHIR resource type name. |
|
|
16
|
-
|
|
17
|
-
## Example
|
|
18
|
-
|
|
19
|
-
None declared in canonical OpenAPI.
|