@healthcloudai/hc-sdk 2.2.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.js CHANGED
@@ -997,6 +997,16 @@ var PatientClient = class extends BaseServiceClient {
997
997
  body: payload
998
998
  });
999
999
  }
1000
+ /** POST /patients/health-record/initimport — starts/checks the Zus import with an empty payload. */
1001
+ initHealthRecordImport() {
1002
+ return this.send("POST", "/patients/health-record/initimport", {
1003
+ body: {}
1004
+ });
1005
+ }
1006
+ /** GET /patients/alerts — alerts for the authenticated patient. */
1007
+ getPatientAlerts() {
1008
+ return this.send("GET", "/patients/alerts", {});
1009
+ }
1000
1010
  importCCDA(content) {
1001
1011
  return this.send("POST", "/patients/health-record/import", {
1002
1012
  body: {
@@ -1095,11 +1105,15 @@ var PatientClient = class extends BaseServiceClient {
1095
1105
  body: request
1096
1106
  });
1097
1107
  }
1098
- listNearestLocations(query) {
1108
+ nearestLocations(query) {
1099
1109
  return this.send("GET", "/locations/nearest", {
1100
1110
  query
1101
1111
  });
1102
1112
  }
1113
+ /** @deprecated Use nearestLocations. */
1114
+ listNearestLocations(query) {
1115
+ return this.nearestLocations(query);
1116
+ }
1103
1117
  // `...ToJSON` renders the generated `Date` fields (created_date, period_start,
1104
1118
  // period_end) back to `YYYY-MM-DD` instead of a full ISO datetime.
1105
1119
  createEncounter(request) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@healthcloudai/hc-sdk",
3
- "version": "2.2.0",
3
+ "version": "2.3.0",
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",