@healthcloudai/hc-sdk 3.5.0 → 3.5.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 +38 -2
- package/dist/index.d.cts +1166 -73
- package/dist/index.d.ts +1166 -73
- package/dist/index.js +36 -2
- package/docs/configuration.md +1 -0
- package/docs/docs-manifest.json +1 -1
- package/docs/models/AddInsuranceRequest.md +1 -0
- package/docs/models/AddInsuranceResponse.md +2 -0
- package/docs/models/SearchDocumentSummariesCypherRequest.md +4 -6
- package/docs/models/SearchDocumentSummariesRequest.md +7 -7
- package/docs/models/SearchHealthPlansCypherRequest.md +4 -6
- package/docs/models/SearchHealthPlansRequest.md +8 -8
- package/docs/models/SearchMedicalConceptsCypherRequest.md +6 -6
- package/docs/models/SearchMedicalConceptsRequest.md +14 -19
- package/docs/models/SearchProvidersCypherRequest.md +4 -6
- package/docs/models/SearchProvidersRequest.md +8 -8
- package/docs/models/VectorSearchDocumentsRequest.md +11 -11
- package/docs/models/index.md +9 -9
- package/docs/operations/diagnostics.lookupTestByGs1.md +5 -1
- package/docs/operations/graph.searchDocumentSummaries.md +9 -0
- package/docs/operations/graph.searchHealthPlans.md +9 -0
- package/docs/operations/graph.searchMedicalConcepts.md +26 -17
- package/docs/operations/graph.searchProviders.md +9 -0
- package/docs/operations/graph.vectorSearchDocuments.md +3 -3
- package/docs/operations/patient.addInsurance.md +5 -1
- package/package.json +5 -4
|
@@ -52,7 +52,7 @@ Request model: [`VectorSearchDocumentsRequest`](../models/VectorSearchDocumentsR
|
|
|
52
52
|
"network_id": "string",
|
|
53
53
|
"payer_key": "string",
|
|
54
54
|
"q": "string",
|
|
55
|
-
"source": "
|
|
55
|
+
"source": "medlineplus",
|
|
56
56
|
"tags": [
|
|
57
57
|
"string"
|
|
58
58
|
],
|
|
@@ -174,7 +174,7 @@ const request = {
|
|
|
174
174
|
"network_id": "string",
|
|
175
175
|
"payer_key": "string",
|
|
176
176
|
"q": "string",
|
|
177
|
-
"source": "
|
|
177
|
+
"source": "medlineplus",
|
|
178
178
|
"tags": [
|
|
179
179
|
"string"
|
|
180
180
|
],
|
|
@@ -190,7 +190,7 @@ const result = await graph.vectorSearchDocuments(request);
|
|
|
190
190
|
curl -X POST \
|
|
191
191
|
-H 'Authorization: Bearer <ACCESS_TOKEN>' \
|
|
192
192
|
-H 'Content-Type: application/json' \
|
|
193
|
-
-d '{"collection":"string","collection_group":"string","language":"string","network_id":"string","payer_key":"string","q":"string","source":"
|
|
193
|
+
-d '{"collection":"string","collection_group":"string","language":"string","network_id":"string","payer_key":"string","q":"string","source":"medlineplus","tags":["string"],"top_k":10}' \
|
|
194
194
|
'https://dev-api-graph.health.cloud/graph/vector/search'
|
|
195
195
|
```
|
|
196
196
|
|
|
@@ -46,6 +46,7 @@ Request model: [`AddInsuranceRequest`](../models/AddInsuranceRequest.md)
|
|
|
46
46
|
|
|
47
47
|
```json
|
|
48
48
|
{
|
|
49
|
+
"image": "string",
|
|
49
50
|
"member_id": "string",
|
|
50
51
|
"payer_id": "string",
|
|
51
52
|
"payer_name": "string",
|
|
@@ -68,9 +69,11 @@ Request model: [`AddInsuranceRequest`](../models/AddInsuranceRequest.md)
|
|
|
68
69
|
```json
|
|
69
70
|
{
|
|
70
71
|
"athena_best_match": {},
|
|
72
|
+
"athena_insurance_card_status": "string",
|
|
71
73
|
"athena_insurance_error": "string",
|
|
72
74
|
"athena_insurance_status": "string",
|
|
73
75
|
"coverages_created": 0,
|
|
76
|
+
"fhir_document_reference_id": "string",
|
|
74
77
|
"fhir_patient_id": "string",
|
|
75
78
|
"openloop_best_match": {},
|
|
76
79
|
"openloop_insurance_error": "string",
|
|
@@ -122,6 +125,7 @@ import type { CreateInsuranceRequest } from "@healthcloudai/hc-sdk";
|
|
|
122
125
|
|
|
123
126
|
```ts
|
|
124
127
|
const request = {
|
|
128
|
+
"image": "string",
|
|
125
129
|
"member_id": "string",
|
|
126
130
|
"payer_id": "string",
|
|
127
131
|
"payer_name": "string",
|
|
@@ -139,7 +143,7 @@ const result = await patient.createInsurance(request);
|
|
|
139
143
|
curl -X POST \
|
|
140
144
|
-H 'Authorization: Bearer <ACCESS_TOKEN>' \
|
|
141
145
|
-H 'Content-Type: application/json' \
|
|
142
|
-
-d '{"member_id":"string","payer_id":"string","payer_name":"string","priority":"primary","relationship":"self","state":"string"}' \
|
|
146
|
+
-d '{"image":"string","member_id":"string","payer_id":"string","payer_name":"string","priority":"primary","relationship":"self","state":"string"}' \
|
|
143
147
|
'https://dev-api-patient.health.cloud/patients/insurance'
|
|
144
148
|
```
|
|
145
149
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@healthcloudai/hc-sdk",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.1",
|
|
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",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build": "tsup src/index.ts --format esm,cjs --dts --clean",
|
|
36
36
|
"dev": "tsup src/index.ts --watch",
|
|
37
|
-
"lint": "eslint src
|
|
37
|
+
"lint": "eslint src",
|
|
38
38
|
"typecheck": "tsc --noEmit",
|
|
39
39
|
"test": "vitest run",
|
|
40
40
|
"test:watch": "vitest",
|
|
@@ -53,15 +53,16 @@
|
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
+
"@eslint/js": "^10.0.1",
|
|
56
57
|
"@types/node": "^24.0.0",
|
|
57
58
|
"@typescript-eslint/eslint-plugin": "^8.70.0",
|
|
58
59
|
"@typescript-eslint/parser": "^8.70.0",
|
|
59
|
-
"eslint": "^
|
|
60
|
+
"eslint": "^10.11.0",
|
|
60
61
|
"playwright": "^1.63.0",
|
|
61
62
|
"tsup": "^8.0.0",
|
|
62
63
|
"tsx": "^4.23.13",
|
|
63
64
|
"typescript": "^5.3.0",
|
|
64
|
-
"vitest": "^5.0.
|
|
65
|
+
"vitest": "^5.0.1"
|
|
65
66
|
},
|
|
66
67
|
"engines": {
|
|
67
68
|
"node": ">=18"
|