@healthcloudai/hc-sdk 3.3.0 → 3.5.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 +22 -0
- package/dist/index.d.cts +324 -164
- package/dist/index.d.ts +324 -164
- package/dist/index.js +22 -0
- package/docs/clients/GraphClient.md +3 -0
- package/docs/docs-manifest.json +16 -4
- package/docs/examples/index.md +3 -0
- package/docs/index.md +3 -0
- package/docs/models/AddInsuranceRequest.md +1 -0
- package/docs/models/CheckEncounterResponse.md +36 -0
- package/docs/models/CheckInEncounterResponse.md +51 -0
- package/docs/models/CreateRapidTestRequest.md +3 -0
- package/docs/models/{RapidTest.md → CreateRapidTestResponse.md} +8 -4
- package/docs/models/GetAppointmentTelehealthLinkResponse.md +17 -0
- package/docs/models/GetPreferredPharmacyResponse.md +2 -2
- package/docs/models/GetScanUploadUrlRequest.md +1 -0
- package/docs/models/GetVectorDocumentChunksResponse.md +30 -0
- package/docs/models/ListVectorCollectionsResponse.md +19 -0
- package/docs/models/VectorCollection.md +24 -0
- package/docs/models/VectorSearchDocumentsRequest.md +25 -0
- package/docs/models/VectorSearchHit.md +30 -0
- package/docs/models/VectorSearchResponse.md +22 -0
- package/docs/models/index.md +10 -1
- package/docs/operations/appointments.getTelehealthLink.md +4 -2
- package/docs/operations/diagnostics.createRapidTest.md +49 -37
- package/docs/operations/diagnostics.getScanUploadUrl.md +3 -1
- package/docs/operations/diagnostics.lookupTestByGs1.md +3 -1
- package/docs/operations/graph.getVectorDocumentChunks.md +189 -0
- package/docs/operations/graph.listVectorCollections.md +138 -0
- package/docs/operations/graph.vectorSearchDocuments.md +207 -0
- package/docs/operations/patient.addInsurance.md +11 -9
- package/docs/operations/patient.checkEncounter.md +93 -7
- package/docs/operations/patient.checkInEncounter.md +68 -2
- package/docs/operations/patient.getPreferredPharmacy.md +13 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -497,7 +497,9 @@ function CreateRapidTestRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
497
497
|
}
|
|
498
498
|
return {
|
|
499
499
|
"administered_date": value["administered_date"],
|
|
500
|
+
"athena_encounter_id": value["athena_encounter_id"],
|
|
500
501
|
"device_name": value["device_name"],
|
|
502
|
+
"encounter_id": value["encounter_id"],
|
|
501
503
|
"lot_number": value["lot_number"],
|
|
502
504
|
"notes": value["notes"],
|
|
503
505
|
"performed_date": value["performed_date"] == null ? value["performed_date"] : value["performed_date"].toISOString().substring(0, 10),
|
|
@@ -505,6 +507,7 @@ function CreateRapidTestRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
505
507
|
"quantitative_unit": value["quantitative_unit"],
|
|
506
508
|
"quantitative_value": value["quantitative_value"],
|
|
507
509
|
"result": RapidTestResultToJSON(value["result"]),
|
|
510
|
+
"scan_storage_key": value["scan_storage_key"],
|
|
508
511
|
"specimen_type": SpecimenTypeToJSON(value["specimen_type"]),
|
|
509
512
|
"type": RapidTestTypeToJSON(value["type"])
|
|
510
513
|
};
|
|
@@ -520,6 +523,7 @@ function GetScanUploadUrlRequestToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
520
523
|
}
|
|
521
524
|
return {
|
|
522
525
|
"content_type": value["content_type"],
|
|
526
|
+
"encounter_id": value["encounter_id"],
|
|
523
527
|
"filename": value["filename"],
|
|
524
528
|
"gtin": value["gtin"],
|
|
525
529
|
"test_id": value["test_id"]
|
|
@@ -3009,6 +3013,24 @@ var GraphClient = class extends BaseServiceClient {
|
|
|
3009
3013
|
query
|
|
3010
3014
|
});
|
|
3011
3015
|
}
|
|
3016
|
+
// ─── Vector search (Milvus) ──────────────────────────────────────────
|
|
3017
|
+
//
|
|
3018
|
+
// The semantic tier, alongside the keyword (Algolia) and graph (Neo4j)
|
|
3019
|
+
// reads above. Searching the payer-policy collection requires
|
|
3020
|
+
// `payer_key`: that corpus is partitioned by payer, so one search only
|
|
3021
|
+
// ever returns one payer's policies.
|
|
3022
|
+
vectorSearchDocuments(request) {
|
|
3023
|
+
return this.send("POST", "/graph/vector/search", { body: request });
|
|
3024
|
+
}
|
|
3025
|
+
listVectorCollections() {
|
|
3026
|
+
return this.send("GET", "/graph/vector/collections");
|
|
3027
|
+
}
|
|
3028
|
+
getVectorDocumentChunks(docId, query) {
|
|
3029
|
+
return this.send("GET", "/graph/vector/documents/{doc_id}", {
|
|
3030
|
+
pathParams: { doc_id: docId },
|
|
3031
|
+
query
|
|
3032
|
+
});
|
|
3033
|
+
}
|
|
3012
3034
|
};
|
|
3013
3035
|
|
|
3014
3036
|
// src/clients/connectors/ConnectorFactory.ts
|