@healthcloudai/hc-sdk 2.1.0 → 2.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 CHANGED
@@ -1069,6 +1069,16 @@ var PatientClient = class extends BaseServiceClient {
1069
1069
  body: payload
1070
1070
  });
1071
1071
  }
1072
+ /** POST /patients/health-record/initimport — starts/checks the Zus import with an empty payload. */
1073
+ initHealthRecordImport() {
1074
+ return this.send("POST", "/patients/health-record/initimport", {
1075
+ body: {}
1076
+ });
1077
+ }
1078
+ /** GET /patients/alerts — alerts for the authenticated patient. */
1079
+ getPatientAlerts() {
1080
+ return this.send("GET", "/patients/alerts", {});
1081
+ }
1072
1082
  importCCDA(content) {
1073
1083
  return this.send("POST", "/patients/health-record/import", {
1074
1084
  body: {
@@ -1167,11 +1177,15 @@ var PatientClient = class extends BaseServiceClient {
1167
1177
  body: request
1168
1178
  });
1169
1179
  }
1170
- listNearestLocations(query) {
1180
+ nearestLocations(query) {
1171
1181
  return this.send("GET", "/locations/nearest", {
1172
1182
  query
1173
1183
  });
1174
1184
  }
1185
+ /** @deprecated Use nearestLocations. */
1186
+ listNearestLocations(query) {
1187
+ return this.nearestLocations(query);
1188
+ }
1175
1189
  // `...ToJSON` renders the generated `Date` fields (created_date, period_start,
1176
1190
  // period_end) back to `YYYY-MM-DD` instead of a full ISO datetime.
1177
1191
  createEncounter(request) {