@healthcloudai/hc-sdk 0.8.9 → 0.8.10

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.js CHANGED
@@ -492,6 +492,13 @@ var FieldAgentClient = class extends BaseServiceClient {
492
492
  body: request
493
493
  });
494
494
  }
495
+ /**
496
+ * Get a field agent's photo by binary_id, or the stored photo if binary_id is omitted.
497
+ * GET /agents/{fhir_person_id}/photo?binary_id=...
498
+ *
499
+ * @param fhirPersonId - The FHIR Person ID of the agent
500
+ * @param query - Optional query parameters; if omitted, fetches the stored/default photo
501
+ */
495
502
  getPhoto(fhirPersonId, query) {
496
503
  return this.send("GET", "/agents/{fhir_person_id}/photo", {
497
504
  pathParams: { fhir_person_id: fhirPersonId },
@@ -572,6 +579,13 @@ var PatientClient = class extends BaseServiceClient {
572
579
  body: request
573
580
  });
574
581
  }
582
+ /**
583
+ * Get a patient's photo by binary_id, or the stored photo if binary_id is omitted.
584
+ * GET /patients/{id}/photo?binary_id=...
585
+ *
586
+ * @param fhirPatientId - The FHIR Patient ID
587
+ * @param query - Optional query parameters; if omitted, fetches the stored/default photo
588
+ */
575
589
  getPhoto(fhirPatientId, query) {
576
590
  return this.send("GET", "/patients/{id}/photo", {
577
591
  pathParams: { id: fhirPatientId },
@@ -874,8 +888,11 @@ var PersonClient = class extends BaseServiceClient {
874
888
  });
875
889
  }
876
890
  /**
877
- * Get a person's photo by binary_id.
891
+ * Get a person's photo by binary_id, or the stored photo if binary_id is omitted.
878
892
  * GET /persons/{person_id}/photo?binary_id=...
893
+ *
894
+ * @param fhirPersonId - The FHIR Person ID
895
+ * @param query - Optional query parameters; if omitted, fetches the stored/default photo
879
896
  */
880
897
  getPhoto(fhirPersonId, query) {
881
898
  return this.send("GET", "/persons/{person_id}/photo", {
@@ -929,6 +946,13 @@ var ProviderClient = class extends BaseServiceClient {
929
946
  uploadPhoto(fhirPractitionerId, request) {
930
947
  return this.send("POST", "/practitioners/{practitioner_id}/photo", { pathParams: { practitioner_id: fhirPractitionerId }, body: request });
931
948
  }
949
+ /**
950
+ * Get a practitioner's photo by binary_id, or the stored photo if binary_id is omitted.
951
+ * GET /practitioners/{practitioner_id}/photo?binary_id=...
952
+ *
953
+ * @param fhirPractitionerId - The FHIR Practitioner ID
954
+ * @param query - Optional query parameters; if omitted, fetches the stored/default photo
955
+ */
932
956
  getPhoto(fhirPractitionerId, query) {
933
957
  return this.send("GET", "/practitioners/{practitioner_id}/photo", { pathParams: { practitioner_id: fhirPractitionerId }, query });
934
958
  }
@@ -1008,34 +1032,103 @@ var GraphClient = class extends BaseServiceClient {
1008
1032
  }
1009
1033
  // ─── Providers ───────────────────────────────────────────────────────
1010
1034
  searchProviders(request) {
1011
- return this.send("POST", "/graph/providers/search", { body: request });
1035
+ return this.send("POST", "/graph/providers/search", {
1036
+ body: request
1037
+ });
1012
1038
  }
1013
1039
  searchProvidersCypher(request) {
1014
- return this.send("POST", "/graph/providers/cypher", { body: request });
1040
+ return this.send("POST", "/graph/providers/cypher", {
1041
+ body: request
1042
+ });
1043
+ }
1044
+ ragProvidersSearch(request) {
1045
+ return this.send("POST", "/graph/rag/providers/search", {
1046
+ body: request
1047
+ });
1048
+ }
1049
+ ragProvidersCypher(request) {
1050
+ return this.send("POST", "/graph/rag/providers/cypher", {
1051
+ body: request
1052
+ });
1015
1053
  }
1016
1054
  // ─── Health Plans ────────────────────────────────────────────────────
1017
1055
  searchHealthPlans(request) {
1018
- return this.send("POST", "/graph/health-plans/search", { body: request });
1056
+ return this.send("POST", "/graph/health-plans/search", {
1057
+ body: request
1058
+ });
1019
1059
  }
1020
1060
  searchHealthPlansCypher(request) {
1021
- return this.send("POST", "/graph/health-plans/cypher", { body: request });
1061
+ return this.send("POST", "/graph/health-plans/cypher", {
1062
+ body: request
1063
+ });
1064
+ }
1065
+ ragHealthPlansSearch(request) {
1066
+ return this.send("POST", "/graph/rag/health-plans/search", {
1067
+ body: request
1068
+ });
1069
+ }
1070
+ ragHealthPlansCypher(request) {
1071
+ return this.send("POST", "/graph/rag/health-plans/cypher", {
1072
+ body: request
1073
+ });
1022
1074
  }
1023
1075
  // ─── Document Summaries ──────────────────────────────────────────────
1024
1076
  searchDocumentSummaries(request) {
1025
- return this.send("POST", "/graph/document-summaries/search", { body: request });
1077
+ return this.send("POST", "/graph/document-summaries/search", {
1078
+ body: request
1079
+ });
1026
1080
  }
1027
1081
  searchDocumentSummariesCypher(request) {
1028
- return this.send("POST", "/graph/document-summaries/cypher", { body: request });
1082
+ return this.send("POST", "/graph/document-summaries/cypher", {
1083
+ body: request
1084
+ });
1085
+ }
1086
+ ragDocumentSummariesSearch(request) {
1087
+ return this.send("POST", "/graph/rag/document-summaries/search", {
1088
+ body: request
1089
+ });
1090
+ }
1091
+ ragDocumentSummariesCypher(request) {
1092
+ return this.send("POST", "/graph/rag/document-summaries/cypher", {
1093
+ body: request
1094
+ });
1095
+ }
1096
+ // ─── Medical Concepts ────────────────────────────────────────────────
1097
+ searchMedicalConcepts(request) {
1098
+ return this.send("POST", "/graph/medical-concepts/search", {
1099
+ body: request
1100
+ });
1101
+ }
1102
+ searchMedicalConceptsCypher(request) {
1103
+ return this.send("POST", "/graph/medical-concepts/cypher", {
1104
+ body: request
1105
+ });
1106
+ }
1107
+ ragMedicalConceptsSearch(request) {
1108
+ return this.send("POST", "/graph/rag/medical-concepts/search", {
1109
+ body: request
1110
+ });
1111
+ }
1112
+ ragMedicalConceptsCypher(request) {
1113
+ return this.send("POST", "/graph/rag/medical-concepts/cypher", {
1114
+ body: request
1115
+ });
1029
1116
  }
1030
1117
  // ─── Policy Documents ────────────────────────────────────────────────
1031
1118
  listPolicyDocuments(query) {
1032
- return this.send("GET", "/documents", { query });
1119
+ return this.send("GET", "/documents", {
1120
+ query
1121
+ });
1033
1122
  }
1034
1123
  searchPolicyDocuments(query) {
1035
- return this.send("GET", "/documents/search", { query });
1124
+ return this.send("GET", "/documents/search", {
1125
+ query
1126
+ });
1036
1127
  }
1037
1128
  getPolicyDocument(docId) {
1038
- return this.send("GET", "/documents/{doc_id}", { pathParams: { doc_id: docId } });
1129
+ return this.send("GET", "/documents/{doc_id}", {
1130
+ pathParams: { doc_id: docId }
1131
+ });
1039
1132
  }
1040
1133
  };
1041
1134
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@healthcloudai/hc-sdk",
3
- "version": "0.8.9",
3
+ "version": "0.8.10",
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",