@healthcloudai/hc-sdk 0.8.12 → 0.9.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 +26 -0
- package/dist/index.d.cts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +26 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -659,6 +659,26 @@ var PatientClient = class extends BaseServiceClient {
|
|
|
659
659
|
pathParams: { id: fhirPatientId }
|
|
660
660
|
});
|
|
661
661
|
}
|
|
662
|
+
getAgentConfiguration() {
|
|
663
|
+
return this.send("GET", "/agentconfiguration", {});
|
|
664
|
+
}
|
|
665
|
+
getAgent() {
|
|
666
|
+
return this.send("GET", "/agent", {});
|
|
667
|
+
}
|
|
668
|
+
getCheckin() {
|
|
669
|
+
return this.send("GET", "/checkin", {});
|
|
670
|
+
}
|
|
671
|
+
getCurrentCareSession() {
|
|
672
|
+
return this.send("GET", "/care-sessions/current", {});
|
|
673
|
+
}
|
|
674
|
+
getPatientSidebar() {
|
|
675
|
+
return this.send("GET", "/patient/sidebar", {});
|
|
676
|
+
}
|
|
677
|
+
createCurrentScreeningSymptoms(request) {
|
|
678
|
+
return this.send("POST", "/screenings/current/symptoms", {
|
|
679
|
+
body: request
|
|
680
|
+
});
|
|
681
|
+
}
|
|
662
682
|
uploadPhoto(fhirPatientId, request) {
|
|
663
683
|
return this.send("POST", "/patients/{id}/photo", {
|
|
664
684
|
pathParams: { id: fhirPatientId },
|
|
@@ -881,6 +901,12 @@ var PatientClient = class extends BaseServiceClient {
|
|
|
881
901
|
auth: false
|
|
882
902
|
});
|
|
883
903
|
}
|
|
904
|
+
ocrInsuranceDocument(request) {
|
|
905
|
+
return this.send("POST", "/assistant/ocr-insurance", {
|
|
906
|
+
body: request,
|
|
907
|
+
auth: false
|
|
908
|
+
});
|
|
909
|
+
}
|
|
884
910
|
askAssistant(request) {
|
|
885
911
|
return this.send("POST", "/assistant/chat", {
|
|
886
912
|
body: request,
|
package/dist/index.d.cts
CHANGED
|
@@ -12395,6 +12395,12 @@ declare class PatientClient extends BaseServiceClient {
|
|
|
12395
12395
|
updateRace<TResponse = UpdatedResponse>(fhirPatientId: string, request: PatientRaceUpdateRequest): Promise<TResponse>;
|
|
12396
12396
|
getProfile<TResponse = PatientResponse>(fhirPatientId: string): Promise<TResponse>;
|
|
12397
12397
|
getDashboard<TResponse = PatientDashboardResponse>(fhirPatientId: string): Promise<TResponse>;
|
|
12398
|
+
getAgentConfiguration<TResponse = JsonValue>(): Promise<TResponse>;
|
|
12399
|
+
getAgent<TResponse = JsonValue>(): Promise<TResponse>;
|
|
12400
|
+
getCheckin<TResponse = JsonValue>(): Promise<TResponse>;
|
|
12401
|
+
getCurrentCareSession<TResponse = JsonValue>(): Promise<TResponse>;
|
|
12402
|
+
getPatientSidebar<TResponse = JsonValue>(): Promise<TResponse>;
|
|
12403
|
+
createCurrentScreeningSymptoms<TResponse = JsonValue>(request: object): Promise<TResponse>;
|
|
12398
12404
|
uploadPhoto<TResponse = PhotoUploadResponse>(fhirPatientId: string, request: PhotoUploadRequest): Promise<TResponse>;
|
|
12399
12405
|
/**
|
|
12400
12406
|
* Get a patient's photo by binary_id, or the stored photo if binary_id is omitted.
|
|
@@ -12437,6 +12443,7 @@ declare class PatientClient extends BaseServiceClient {
|
|
|
12437
12443
|
checkInsuranceEligibility<TResponse = InsuranceEligibilityResponse>(request: InsuranceEligibilityRequest): Promise<TResponse>;
|
|
12438
12444
|
classifyVoiceCommand<TResponse = ClassifyResponse>(request: ClassifyRequest): Promise<TResponse>;
|
|
12439
12445
|
ocrIdentityDocument<TResponse = OcrResponse>(request: OcrRequest): Promise<TResponse>;
|
|
12446
|
+
ocrInsuranceDocument<TResponse = OcrResponse>(request: OcrRequest): Promise<TResponse>;
|
|
12440
12447
|
askAssistant<TResponse = ChatResponse>(request: ChatRequest): Promise<TResponse>;
|
|
12441
12448
|
listKnowledge<TResponse = ListKnowledgeResponse>(query?: ListKnowledgeQuery): Promise<TResponse>;
|
|
12442
12449
|
searchKnowledge<TResponse = SearchKnowledgeResponse>(query: SearchKnowledgeQuery): Promise<TResponse>;
|
package/dist/index.d.ts
CHANGED
|
@@ -12395,6 +12395,12 @@ declare class PatientClient extends BaseServiceClient {
|
|
|
12395
12395
|
updateRace<TResponse = UpdatedResponse>(fhirPatientId: string, request: PatientRaceUpdateRequest): Promise<TResponse>;
|
|
12396
12396
|
getProfile<TResponse = PatientResponse>(fhirPatientId: string): Promise<TResponse>;
|
|
12397
12397
|
getDashboard<TResponse = PatientDashboardResponse>(fhirPatientId: string): Promise<TResponse>;
|
|
12398
|
+
getAgentConfiguration<TResponse = JsonValue>(): Promise<TResponse>;
|
|
12399
|
+
getAgent<TResponse = JsonValue>(): Promise<TResponse>;
|
|
12400
|
+
getCheckin<TResponse = JsonValue>(): Promise<TResponse>;
|
|
12401
|
+
getCurrentCareSession<TResponse = JsonValue>(): Promise<TResponse>;
|
|
12402
|
+
getPatientSidebar<TResponse = JsonValue>(): Promise<TResponse>;
|
|
12403
|
+
createCurrentScreeningSymptoms<TResponse = JsonValue>(request: object): Promise<TResponse>;
|
|
12398
12404
|
uploadPhoto<TResponse = PhotoUploadResponse>(fhirPatientId: string, request: PhotoUploadRequest): Promise<TResponse>;
|
|
12399
12405
|
/**
|
|
12400
12406
|
* Get a patient's photo by binary_id, or the stored photo if binary_id is omitted.
|
|
@@ -12437,6 +12443,7 @@ declare class PatientClient extends BaseServiceClient {
|
|
|
12437
12443
|
checkInsuranceEligibility<TResponse = InsuranceEligibilityResponse>(request: InsuranceEligibilityRequest): Promise<TResponse>;
|
|
12438
12444
|
classifyVoiceCommand<TResponse = ClassifyResponse>(request: ClassifyRequest): Promise<TResponse>;
|
|
12439
12445
|
ocrIdentityDocument<TResponse = OcrResponse>(request: OcrRequest): Promise<TResponse>;
|
|
12446
|
+
ocrInsuranceDocument<TResponse = OcrResponse>(request: OcrRequest): Promise<TResponse>;
|
|
12440
12447
|
askAssistant<TResponse = ChatResponse>(request: ChatRequest): Promise<TResponse>;
|
|
12441
12448
|
listKnowledge<TResponse = ListKnowledgeResponse>(query?: ListKnowledgeQuery): Promise<TResponse>;
|
|
12442
12449
|
searchKnowledge<TResponse = SearchKnowledgeResponse>(query: SearchKnowledgeQuery): Promise<TResponse>;
|
package/dist/index.js
CHANGED
|
@@ -588,6 +588,26 @@ var PatientClient = class extends BaseServiceClient {
|
|
|
588
588
|
pathParams: { id: fhirPatientId }
|
|
589
589
|
});
|
|
590
590
|
}
|
|
591
|
+
getAgentConfiguration() {
|
|
592
|
+
return this.send("GET", "/agentconfiguration", {});
|
|
593
|
+
}
|
|
594
|
+
getAgent() {
|
|
595
|
+
return this.send("GET", "/agent", {});
|
|
596
|
+
}
|
|
597
|
+
getCheckin() {
|
|
598
|
+
return this.send("GET", "/checkin", {});
|
|
599
|
+
}
|
|
600
|
+
getCurrentCareSession() {
|
|
601
|
+
return this.send("GET", "/care-sessions/current", {});
|
|
602
|
+
}
|
|
603
|
+
getPatientSidebar() {
|
|
604
|
+
return this.send("GET", "/patient/sidebar", {});
|
|
605
|
+
}
|
|
606
|
+
createCurrentScreeningSymptoms(request) {
|
|
607
|
+
return this.send("POST", "/screenings/current/symptoms", {
|
|
608
|
+
body: request
|
|
609
|
+
});
|
|
610
|
+
}
|
|
591
611
|
uploadPhoto(fhirPatientId, request) {
|
|
592
612
|
return this.send("POST", "/patients/{id}/photo", {
|
|
593
613
|
pathParams: { id: fhirPatientId },
|
|
@@ -810,6 +830,12 @@ var PatientClient = class extends BaseServiceClient {
|
|
|
810
830
|
auth: false
|
|
811
831
|
});
|
|
812
832
|
}
|
|
833
|
+
ocrInsuranceDocument(request) {
|
|
834
|
+
return this.send("POST", "/assistant/ocr-insurance", {
|
|
835
|
+
body: request,
|
|
836
|
+
auth: false
|
|
837
|
+
});
|
|
838
|
+
}
|
|
813
839
|
askAssistant(request) {
|
|
814
840
|
return this.send("POST", "/assistant/chat", {
|
|
815
841
|
body: request,
|
package/package.json
CHANGED