@ovok/core 0.4.35 → 0.4.37

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.
Files changed (54) hide show
  1. package/dist/client/auth/session-fetch.d.ts +35 -0
  2. package/dist/client/auth/session-fetch.js +207 -0
  3. package/dist/client/auth/session-http.d.ts +11 -0
  4. package/dist/client/auth/session-http.js +180 -0
  5. package/dist/client/experience/methods.js +27 -37
  6. package/dist/client/notifications/methods.js +4 -5
  7. package/dist/client/observation/services/creator.js +4 -18
  8. package/dist/client/observation/services/single-value-services.d.ts +31 -0
  9. package/dist/client/observation/services/single-value-services.js +95 -0
  10. package/dist/client/observation/types/measurement/MeasurementDevice.d.ts +9 -0
  11. package/dist/client/observation/utils/getDeviceObject.js +18 -4
  12. package/dist/client/ovok-client.d.ts +2 -13
  13. package/dist/client/ovok-client.js +8 -356
  14. package/dist/client/patient/methods.js +2 -11
  15. package/dist/client/patient-sharing/methods.js +1 -2
  16. package/dist/client/platform/methods.js +14 -24
  17. package/dist/client/query-string.d.ts +3 -0
  18. package/dist/client/query-string.js +15 -0
  19. package/dist/client/questionnaire-response/methods/extractQuestionnaireObservations.js +1 -2
  20. package/dist/client/questionnaire-response/methods/populateQuestionnaire.js +1 -2
  21. package/dist/client/signals/methods.js +16 -17
  22. package/dist/client/slim/methods.js +58 -68
  23. package/dist/conformance/capability-requirements.js +1 -1
  24. package/dist/hooks/account-hooks.js +6 -68
  25. package/dist/hooks/api-hooks.d.ts +5 -0
  26. package/dist/hooks/api-hooks.js +22 -67
  27. package/dist/hooks/email-hooks.js +1 -40
  28. package/dist/hooks/experience-hooks.js +4 -60
  29. package/dist/hooks/notification-hooks.js +5 -55
  30. package/dist/hooks/notification-invalidation.d.ts +6 -0
  31. package/dist/hooks/notification-invalidation.js +52 -0
  32. package/dist/hooks/patient-hooks.js +13 -113
  33. package/dist/hooks/patient-sharing-hooks.js +1 -5
  34. package/dist/hooks/platform-hooks.js +3 -51
  35. package/dist/hooks/signals-hooks.js +2 -45
  36. package/package.json +1 -1
  37. package/dist/client/observation/services/blood-glucose.d.ts +0 -12
  38. package/dist/client/observation/services/blood-glucose.js +0 -36
  39. package/dist/client/observation/services/body-temperature.d.ts +0 -13
  40. package/dist/client/observation/services/body-temperature.js +0 -36
  41. package/dist/client/observation/services/body-weight.d.ts +0 -13
  42. package/dist/client/observation/services/body-weight.js +0 -36
  43. package/dist/client/observation/services/heart-rate-variability.d.ts +0 -13
  44. package/dist/client/observation/services/heart-rate-variability.js +0 -38
  45. package/dist/client/observation/services/heart-rate.d.ts +0 -13
  46. package/dist/client/observation/services/heart-rate.js +0 -39
  47. package/dist/client/observation/services/respiratory-rate.d.ts +0 -13
  48. package/dist/client/observation/services/respiratory-rate.js +0 -38
  49. package/dist/client/observation/services/resting-heart-rate.d.ts +0 -13
  50. package/dist/client/observation/services/resting-heart-rate.js +0 -38
  51. package/dist/client/observation/services/vo2-max.d.ts +0 -13
  52. package/dist/client/observation/services/vo2-max.js +0 -38
  53. package/dist/client/observation/services/walking-heart-rate-average.d.ts +0 -12
  54. package/dist/client/observation/services/walking-heart-rate-average.js +0 -38
@@ -6,7 +6,6 @@ exports.listPatientSharing = listPatientSharing;
6
6
  exports.revokePatientSharing = revokePatientSharing;
7
7
  exports.getPatientSharingSettings = getPatientSharingSettings;
8
8
  exports.updatePatientSharingSettings = updatePatientSharingSettings;
9
- const segment = (value) => encodeURIComponent(value);
10
9
  function createPatientSharingInvite(body, requestOptions) {
11
10
  return this.post("/v1/patient-sharing/invites", body, undefined, requestOptions);
12
11
  }
@@ -26,7 +25,7 @@ function listPatientSharing(requestOptions) {
26
25
  });
27
26
  }
28
27
  async function revokePatientSharing(consentId, requestOptions) {
29
- await this.delete(`/v1/patient-sharing/shares/${segment(consentId)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
28
+ await this.delete(`/v1/patient-sharing/shares/${encodeURIComponent(consentId)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
30
29
  this.invalidateUrl("/v1/patient-sharing/shares");
31
30
  }
32
31
  function getPatientSharingSettings(requestOptions) {
@@ -20,34 +20,24 @@ exports.deleteLocalization = deleteLocalization;
20
20
  exports.getI18nextDocument = getI18nextDocument;
21
21
  exports.updateI18nextDocument = updateI18nextDocument;
22
22
  exports.getPatientLastObservations = getPatientLastObservations;
23
- const query = (params) => {
24
- const values = new URLSearchParams();
25
- for (const [key, value] of Object.entries(params)) {
26
- if (value !== undefined) {
27
- values.set(key, String(value));
28
- }
29
- }
30
- const encoded = values.toString();
31
- return encoded === "" ? "" : `?${encoded}`;
32
- };
33
- const segment = (value) => encodeURIComponent(value);
23
+ const query_string_1 = require("../query-string");
34
24
  async function getAccounts(requestOptions) {
35
25
  return this.get("/accounts", ...(requestOptions === undefined ? [] : [requestOptions]));
36
26
  }
37
27
  async function listAdministeredProjects(params = {}, requestOptions) {
38
- return this.get(`/v1/projects${query(params)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
28
+ return this.get(`/v1/projects${(0, query_string_1.toQueryString)(params)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
39
29
  }
40
30
  async function listProjectMembers(params = {}, requestOptions) {
41
- return this.get(`/v1/projects/me/members${query(params)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
31
+ return this.get(`/v1/projects/me/members${(0, query_string_1.toQueryString)(params)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
42
32
  }
43
33
  async function inviteProjectMember(body, requestOptions) {
44
34
  return this.post("/v1/projects/me/members", body, undefined, requestOptions);
45
35
  }
46
36
  async function updateProjectMember(membershipId, body, requestOptions) {
47
- return (await this.patch(`/v1/projects/me/members/${segment(membershipId)}`, body, ...(requestOptions === undefined ? [] : [requestOptions])));
37
+ return (await this.patch(`/v1/projects/me/members/${encodeURIComponent(membershipId)}`, body, ...(requestOptions === undefined ? [] : [requestOptions])));
48
38
  }
49
39
  async function removeProjectMember(membershipId, requestOptions) {
50
- return (await this.delete(`/v1/projects/me/members/${segment(membershipId)}`, ...(requestOptions === undefined ? [] : [requestOptions])));
40
+ return (await this.delete(`/v1/projects/me/members/${encodeURIComponent(membershipId)}`, ...(requestOptions === undefined ? [] : [requestOptions])));
51
41
  }
52
42
  async function getProjectFeatures(requestOptions) {
53
43
  return this.get("/v1/projects/me/features", ...(requestOptions === undefined ? [] : [requestOptions]));
@@ -60,10 +50,10 @@ async function getProjectSettings(requestOptions) {
60
50
  return this.get("/v1/project/settings", ...(requestOptions === undefined ? [] : [requestOptions]));
61
51
  }
62
52
  async function updateProjectSetting(key, enabled, requestOptions) {
63
- return (await this.put(`/v1/project/settings/${segment(key)}`, { enabled }, undefined, requestOptions));
53
+ return (await this.put(`/v1/project/settings/${encodeURIComponent(key)}`, { enabled }, undefined, requestOptions));
64
54
  }
65
55
  async function updateProjectTextSetting(key, value, requestOptions) {
66
- return (await this.put(`/v1/project/settings/values/${segment(key)}`, { value }, undefined, requestOptions));
56
+ return (await this.put(`/v1/project/settings/values/${encodeURIComponent(key)}`, { value }, undefined, requestOptions));
67
57
  }
68
58
  async function getLocales(requestOptions) {
69
59
  return this.get("/locales", ...(requestOptions === undefined ? [] : [requestOptions]));
@@ -72,23 +62,23 @@ async function updateLocales(locales, requestOptions) {
72
62
  return (await this.patch("/locales", locales, ...(requestOptions === undefined ? [] : [requestOptions])));
73
63
  }
74
64
  async function listLocalizations(language, params = {}, requestOptions) {
75
- return this.get(`/localization/${segment(language)}${query(params)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
65
+ return this.get(`/localization/${encodeURIComponent(language)}${(0, query_string_1.toQueryString)(params)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
76
66
  }
77
67
  async function getLocalization(language, key, requestOptions) {
78
- return this.get(`/localization/${segment(language)}/${segment(key)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
68
+ return this.get(`/localization/${encodeURIComponent(language)}/${encodeURIComponent(key)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
79
69
  }
80
70
  async function updateLocalization(language, key, body, requestOptions) {
81
- return (await this.put(`/localization/${segment(language)}/${segment(key)}`, body, undefined, requestOptions));
71
+ return (await this.put(`/localization/${encodeURIComponent(language)}/${encodeURIComponent(key)}`, body, undefined, requestOptions));
82
72
  }
83
73
  async function deleteLocalization(language, key, requestOptions) {
84
- await this.delete(`/localization/${segment(language)}/${segment(key)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
74
+ await this.delete(`/localization/${encodeURIComponent(language)}/${encodeURIComponent(key)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
85
75
  }
86
76
  async function getI18nextDocument(language, requestOptions) {
87
- return this.get(`/localization/i18next/${segment(language)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
77
+ return this.get(`/localization/i18next/${encodeURIComponent(language)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
88
78
  }
89
79
  async function updateI18nextDocument(language, document, requestOptions) {
90
- await this.patch(`/localization/i18next/${segment(language)}`, document, ...(requestOptions === undefined ? [] : [requestOptions]));
80
+ await this.patch(`/localization/i18next/${encodeURIComponent(language)}`, document, ...(requestOptions === undefined ? [] : [requestOptions]));
91
81
  }
92
82
  async function getPatientLastObservations(patientId, params, requestOptions) {
93
- return this.get(`/patient/${segment(patientId)}/observation${query(params)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
83
+ return this.get(`/patient/${encodeURIComponent(patientId)}/observation${(0, query_string_1.toQueryString)(params)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
94
84
  }
@@ -0,0 +1,3 @@
1
+ export type QueryValue = string | number | boolean | readonly string[] | undefined;
2
+ /** `?a=1&b=x,y`, skipping undefined values; an empty result is `""`. Arrays are comma-joined. */
3
+ export declare const toQueryString: (params: Record<string, QueryValue>) => string;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.toQueryString = void 0;
4
+ /** `?a=1&b=x,y`, skipping undefined values; an empty result is `""`. Arrays are comma-joined. */
5
+ const toQueryString = (params) => {
6
+ const values = new URLSearchParams();
7
+ for (const [key, value] of Object.entries(params)) {
8
+ if (value !== undefined) {
9
+ values.set(key, Array.isArray(value) ? value.join(",") : String(value));
10
+ }
11
+ }
12
+ const encoded = values.toString();
13
+ return encoded === "" ? "" : `?${encoded}`;
14
+ };
15
+ exports.toQueryString = toQueryString;
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.extractQuestionnaireObservations = extractQuestionnaireObservations;
4
- const segment = (value) => encodeURIComponent(value);
5
4
  async function extractQuestionnaireObservations(questionnaireResponseId, requestOptions) {
6
- return this.post(`/fhir/QuestionnaireResponse/${segment(questionnaireResponseId)}/$extract`, {}, undefined, requestOptions);
5
+ return this.post(`/fhir/QuestionnaireResponse/${encodeURIComponent(questionnaireResponseId)}/$extract`, {}, undefined, requestOptions);
7
6
  }
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.populateQuestionnaire = populateQuestionnaire;
4
- const segment = (value) => encodeURIComponent(value);
5
4
  async function populateQuestionnaire(questionnaireId, parameters = { resourceType: "Parameters", parameter: [] }, requestOptions) {
6
- return this.post(`/fhir/Questionnaire/${segment(questionnaireId)}/$populate`, parameters, undefined, requestOptions);
5
+ return this.post(`/fhir/Questionnaire/${encodeURIComponent(questionnaireId)}/$populate`, parameters, undefined, requestOptions);
7
6
  }
@@ -22,17 +22,16 @@ exports.getSignalsRawAlert = getSignalsRawAlert;
22
22
  exports.acknowledgeSignalsRawAlert = acknowledgeSignalsRawAlert;
23
23
  exports.getSignalsSettings = getSignalsSettings;
24
24
  exports.updateSignalsSettings = updateSignalsSettings;
25
- const segment = (value) => encodeURIComponent(value);
26
25
  /**
27
26
  * Enables Signals for an existing patient. The operation is idempotent; retry after 409 or 503.
28
27
  * Observations saved through Ovok are forwarded by the backend, so callers should not submit
29
28
  * the same readings to Signals separately.
30
29
  */
31
30
  function enableSignalsForPatient(patientId, requestOptions) {
32
- return this.post(`/fhir/Patient/${segment(patientId)}/$enable-signals`, undefined, undefined, requestOptions);
31
+ return this.post(`/fhir/Patient/${encodeURIComponent(patientId)}/$enable-signals`, undefined, undefined, requestOptions);
33
32
  }
34
33
  function getSignalsThresholds(patientId, requestOptions) {
35
- return this.get(`/v1/signals/patients/${segment(patientId)}/thresholds`, ...(requestOptions === undefined ? [] : [requestOptions]));
34
+ return this.get(`/v1/signals/patients/${encodeURIComponent(patientId)}/thresholds`, ...(requestOptions === undefined ? [] : [requestOptions]));
36
35
  }
37
36
  function listUnconfirmedLimits(requestOptions) {
38
37
  return this.get("/signals/config/unconfirmed", ...(requestOptions === undefined ? [] : [requestOptions]));
@@ -41,10 +40,10 @@ function repushUnconfirmedLimits(requestOptions) {
41
40
  return this.post("/signals/config/unconfirmed/repush", undefined, undefined, requestOptions);
42
41
  }
43
42
  function setSignalsThreshold(patientId, code, body, requestOptions) {
44
- return this.put(`/v1/signals/patients/${segment(patientId)}/thresholds/${segment(code)}`, body, undefined, requestOptions);
43
+ return this.put(`/v1/signals/patients/${encodeURIComponent(patientId)}/thresholds/${encodeURIComponent(code)}`, body, undefined, requestOptions);
45
44
  }
46
45
  function removeSignalsThreshold(patientId, code, reason, requestOptions) {
47
- return this.delete(`/v1/signals/patients/${segment(patientId)}/thresholds/${segment(code)}?reason=${segment(reason)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
46
+ return this.delete(`/v1/signals/patients/${encodeURIComponent(patientId)}/thresholds/${encodeURIComponent(code)}?reason=${encodeURIComponent(reason)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
48
47
  }
49
48
  // Each route's own filters, in the order they are sent: a key outside the list is never sent, so
50
49
  // a wider object passed as an episode query can't turn into a refused request.
@@ -66,7 +65,7 @@ function serializeSignalsAlertsQuery(query = {}, keys = EPISODE_QUERY_KEYS) {
66
65
  .map((key) => {
67
66
  const value = values[key];
68
67
  const text = Array.isArray(value) ? value.join(",") : String(value);
69
- return `${segment(key)}=${segment(text)}`;
68
+ return `${encodeURIComponent(key)}=${encodeURIComponent(text)}`;
70
69
  })
71
70
  .join("&");
72
71
  }
@@ -75,31 +74,31 @@ function listSignalsAlerts(query = {}, requestOptions) {
75
74
  return this.get(`/v1/signals/alerts${serialized ? `?${serialized}` : ""}`, { ...{ cache: "reload" }, ...requestOptions });
76
75
  }
77
76
  function getSignalsAlert(episodeId, requestOptions) {
78
- return this.get(`/v1/signals/alerts/${segment(episodeId)}`, { ...{ cache: "reload" }, ...requestOptions });
77
+ return this.get(`/v1/signals/alerts/${encodeURIComponent(episodeId)}`, { ...{ cache: "reload" }, ...requestOptions });
79
78
  }
80
79
  function acknowledgeSignalsAlert(episodeId, requestOptions) {
81
- return this.post(`/v1/signals/alerts/${segment(episodeId)}/ack`, undefined, undefined, requestOptions);
80
+ return this.post(`/v1/signals/alerts/${encodeURIComponent(episodeId)}/ack`, undefined, undefined, requestOptions);
82
81
  }
83
82
  function listSignalsAlertNotes(episodeId, requestOptions) {
84
- return this.get(`/v1/signals/alerts/${segment(episodeId)}/notes`, { ...{ cache: "reload" }, ...requestOptions });
83
+ return this.get(`/v1/signals/alerts/${encodeURIComponent(episodeId)}/notes`, { ...{ cache: "reload" }, ...requestOptions });
85
84
  }
86
85
  function createSignalsAlertNote(episodeId, body, requestOptions) {
87
- return this.post(`/v1/signals/alerts/${segment(episodeId)}/notes`, body, undefined, requestOptions);
86
+ return this.post(`/v1/signals/alerts/${encodeURIComponent(episodeId)}/notes`, body, undefined, requestOptions);
88
87
  }
89
88
  function listSignalsRawAlertNotes(alertId, requestOptions) {
90
- return this.get(`/v1/signals/raw-alerts/${segment(alertId)}/notes`, { ...{ cache: "reload" }, ...requestOptions });
89
+ return this.get(`/v1/signals/raw-alerts/${encodeURIComponent(alertId)}/notes`, { ...{ cache: "reload" }, ...requestOptions });
91
90
  }
92
91
  function createSignalsRawAlertNote(alertId, body, requestOptions) {
93
- return this.post(`/v1/signals/raw-alerts/${segment(alertId)}/notes`, body, undefined, requestOptions);
92
+ return this.post(`/v1/signals/raw-alerts/${encodeURIComponent(alertId)}/notes`, body, undefined, requestOptions);
94
93
  }
95
94
  function updateSignalsNote(noteId, body, requestOptions) {
96
- return this.put(`/v1/signals/notes/${segment(noteId)}`, body, undefined, requestOptions);
95
+ return this.put(`/v1/signals/notes/${encodeURIComponent(noteId)}`, body, undefined, requestOptions);
97
96
  }
98
97
  function patchSignalsNote(noteId, body, requestOptions) {
99
- return this.patch(`/v1/signals/notes/${segment(noteId)}`, body, ...(requestOptions === undefined ? [] : [requestOptions]));
98
+ return this.patch(`/v1/signals/notes/${encodeURIComponent(noteId)}`, body, ...(requestOptions === undefined ? [] : [requestOptions]));
100
99
  }
101
100
  async function deleteSignalsNote(noteId, requestOptions) {
102
- await this.delete(`/v1/signals/notes/${segment(noteId)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
101
+ await this.delete(`/v1/signals/notes/${encodeURIComponent(noteId)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
103
102
  }
104
103
  /**
105
104
  * The project's individual Signals alerts, not episodes: works whether or not the project's
@@ -110,7 +109,7 @@ function listSignalsRawAlerts(query = {}, requestOptions) {
110
109
  return this.get(`/v1/signals/raw-alerts${serialized ? `?${serialized}` : ""}`, { ...{ cache: "reload" }, ...requestOptions });
111
110
  }
112
111
  function getSignalsRawAlert(alertId, requestOptions) {
113
- return this.get(`/v1/signals/raw-alerts/${segment(alertId)}`, { ...{ cache: "reload" }, ...requestOptions });
112
+ return this.get(`/v1/signals/raw-alerts/${encodeURIComponent(alertId)}`, { ...{ cache: "reload" }, ...requestOptions });
114
113
  }
115
114
  /**
116
115
  * Acknowledges one alert: it resolves, and `acknowledgedAt` and `acknowledgedActor` record when
@@ -118,7 +117,7 @@ function getSignalsRawAlert(alertId, requestOptions) {
118
117
  * `signals_alerts:update` and update access to the resident.
119
118
  */
120
119
  function acknowledgeSignalsRawAlert(alertId, requestOptions) {
121
- return this.post(`/v1/signals/raw-alerts/${segment(alertId)}/ack`, undefined, undefined, requestOptions);
120
+ return this.post(`/v1/signals/raw-alerts/${encodeURIComponent(alertId)}/ack`, undefined, undefined, requestOptions);
122
121
  }
123
122
  function getSignalsSettings(requestOptions) {
124
123
  return this.get("/v1/signals/settings", ...(requestOptions === undefined ? [] : [requestOptions]));
@@ -77,17 +77,7 @@ exports.deleteSlimOrganization = deleteSlimOrganization;
77
77
  exports.inviteSlimPractitioner = inviteSlimPractitioner;
78
78
  exports.deleteSlimUser = deleteSlimUser;
79
79
  exports.getSlimHealth = getSlimHealth;
80
- const query = (params) => {
81
- const values = new URLSearchParams();
82
- for (const [key, value] of Object.entries(params)) {
83
- if (value !== undefined) {
84
- values.set(key, Array.isArray(value) ? value.join(",") : String(value));
85
- }
86
- }
87
- const encoded = values.toString();
88
- return encoded === "" ? "" : `?${encoded}`;
89
- };
90
- const segment = (value) => encodeURIComponent(value);
80
+ const query_string_1 = require("../query-string");
91
81
  const inFlightLiveReads = new Map();
92
82
  const dedupeLiveRead = (client, path, load, options) => {
93
83
  var _a, _b, _c, _d, _e, _f, _g;
@@ -178,60 +168,60 @@ const validateLiveCount = (params) => {
178
168
  }
179
169
  };
180
170
  async function listSlimPatients(params = {}, requestOptions) {
181
- return this.get(`/v1/slim/patient${query(params)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
171
+ return this.get(`/v1/slim/patient${(0, query_string_1.toQueryString)(params)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
182
172
  }
183
173
  async function getSlimPatient(patientId, requestOptions) {
184
- return this.get(`/v1/slim/patient/${segment(patientId)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
174
+ return this.get(`/v1/slim/patient/${encodeURIComponent(patientId)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
185
175
  }
186
176
  async function getSlimPatientEverything(patientId, requestOptions) {
187
- return this.get(`/v1/slim/patient/${segment(patientId)}/$everything`, ...(requestOptions === undefined ? [] : [requestOptions]));
177
+ return this.get(`/v1/slim/patient/${encodeURIComponent(patientId)}/$everything`, ...(requestOptions === undefined ? [] : [requestOptions]));
188
178
  }
189
179
  async function getSlimPatientCurrentVitals(patientId, requestOptions) {
190
- return this.get(`/v1/slim/patient/${segment(patientId)}/current-vitals`, ...(requestOptions === undefined ? [] : [requestOptions]));
180
+ return this.get(`/v1/slim/patient/${encodeURIComponent(patientId)}/current-vitals`, ...(requestOptions === undefined ? [] : [requestOptions]));
191
181
  }
192
182
  async function createSlimPatient(body, requestOptions) {
193
183
  return this.post("/v1/slim/patient", body, undefined, requestOptions);
194
184
  }
195
185
  async function updateSlimPatient(patientId, body, requestOptions) {
196
- return (await this.put(`/v1/slim/patient/${segment(patientId)}`, body, undefined, requestOptions));
186
+ return (await this.put(`/v1/slim/patient/${encodeURIComponent(patientId)}`, body, undefined, requestOptions));
197
187
  }
198
188
  async function deleteSlimPatient(patientId, requestOptions) {
199
- await this.delete(`/v1/slim/patient/${segment(patientId)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
189
+ await this.delete(`/v1/slim/patient/${encodeURIComponent(patientId)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
200
190
  }
201
191
  async function listSlimDevices(params = {}, requestOptions) {
202
- return this.get(`/v1/slim/device${query(params)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
192
+ return this.get(`/v1/slim/device${(0, query_string_1.toQueryString)(params)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
203
193
  }
204
194
  async function getSlimDevice(deviceId, requestOptions) {
205
- return this.get(`/v1/slim/device/${segment(deviceId)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
195
+ return this.get(`/v1/slim/device/${encodeURIComponent(deviceId)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
206
196
  }
207
197
  async function createSlimDevice(body, requestOptions) {
208
198
  return this.post("/v1/slim/device", body, undefined, requestOptions);
209
199
  }
210
200
  async function updateSlimDevice(deviceId, body, requestOptions) {
211
- return (await this.put(`/v1/slim/device/${segment(deviceId)}`, body, undefined, requestOptions));
201
+ return (await this.put(`/v1/slim/device/${encodeURIComponent(deviceId)}`, body, undefined, requestOptions));
212
202
  }
213
203
  async function deleteSlimDevice(deviceId, requestOptions) {
214
- await this.delete(`/v1/slim/device/${segment(deviceId)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
204
+ await this.delete(`/v1/slim/device/${encodeURIComponent(deviceId)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
215
205
  }
216
206
  async function assignSlimDeviceToProject(body, requestOptions) {
217
207
  return (await this.put("/v1/slim/device/assign/project", body, undefined, requestOptions));
218
208
  }
219
209
  async function listSlimLiveDevices(params = {}, requestOptions) {
220
210
  validateLiveCount(params);
221
- const path = `/v1/slim/device/live${query(params)}`;
211
+ const path = `/v1/slim/device/live${(0, query_string_1.toQueryString)(params)}`;
222
212
  return dedupeLiveRead(this, path, (signal) => this.get(path, { cache: "reload", ...requestOptions, ...(signal ? { signal } : {}) }), requestOptions);
223
213
  }
224
214
  async function listSlimLiveTelemetry(params = {}, requestOptions) {
225
215
  validateLiveCount(params);
226
- const path = `/v1/slim/device/live/telemetry${query(params)}`;
216
+ const path = `/v1/slim/device/live/telemetry${(0, query_string_1.toQueryString)(params)}`;
227
217
  return dedupeLiveRead(this, path, (signal) => this.get(path, { cache: "reload", ...requestOptions, ...(signal ? { signal } : {}) }), requestOptions);
228
218
  }
229
219
  async function getSlimDeviceSleepStatus(deviceId, requestOptions) {
230
- const path = `/v1/slim/device/live/cloudwatch/${segment(deviceId)}`;
220
+ const path = `/v1/slim/device/live/cloudwatch/${encodeURIComponent(deviceId)}`;
231
221
  return dedupeLiveRead(this, path, (signal) => this.get(path, { cache: "reload", ...requestOptions, ...(signal ? { signal } : {}) }), requestOptions);
232
222
  }
233
223
  async function getSlimDeviceTelemetry(deviceId, requestOptions) {
234
- const path = `/v1/slim/telemetry/${segment(deviceId)}`;
224
+ const path = `/v1/slim/telemetry/${encodeURIComponent(deviceId)}`;
235
225
  return dedupeLiveRead(this, path, (signal) => this.get(path, { cache: "reload", ...requestOptions, ...(signal ? { signal } : {}) }), requestOptions);
236
226
  }
237
227
  async function listSlimEffectiveObservationIds(requestOptions) {
@@ -241,42 +231,42 @@ async function listSlimLastObservationIds(requestOptions) {
241
231
  return this.get("/v1/slim/telemetry/lastIds", ...(requestOptions === undefined ? [] : [requestOptions]));
242
232
  }
243
233
  async function getSlimDeviceEffectiveObservationIds(deviceId, requestOptions) {
244
- return this.get(`/v1/slim/telemetry/${segment(deviceId)}/effectiveIds`, ...(requestOptions === undefined ? [] : [requestOptions]));
234
+ return this.get(`/v1/slim/telemetry/${encodeURIComponent(deviceId)}/effectiveIds`, ...(requestOptions === undefined ? [] : [requestOptions]));
245
235
  }
246
236
  async function getSlimDeviceLastObservationIds(deviceId, requestOptions) {
247
- return this.get(`/v1/slim/telemetry/${segment(deviceId)}/lastIds`, ...(requestOptions === undefined ? [] : [requestOptions]));
237
+ return this.get(`/v1/slim/telemetry/${encodeURIComponent(deviceId)}/lastIds`, ...(requestOptions === undefined ? [] : [requestOptions]));
248
238
  }
249
239
  /** @deprecated Use listSlimOutOfBedNotifications, listSlimAlarms, or listSlimMedicalNotifications. */
250
240
  async function listSlimNotifications(params = {}, requestOptions) {
251
- return this.get(`/v1/slim/notifications${query(params)}`, { ...{ cache: "reload" }, ...requestOptions });
241
+ return this.get(`/v1/slim/notifications${(0, query_string_1.toQueryString)(params)}`, { ...{ cache: "reload" }, ...requestOptions });
252
242
  }
253
243
  async function getRecentSlimNotifications(count, requestOptions) {
254
- return this.get(`/v1/slim/notifications/recent${query({ count })}`, { ...{ cache: "reload" }, ...requestOptions });
244
+ return this.get(`/v1/slim/notifications/recent${(0, query_string_1.toQueryString)({ count })}`, { ...{ cache: "reload" }, ...requestOptions });
255
245
  }
256
246
  async function listSlimAlarms(params = {}, requestOptions) {
257
- return this.get(`/v1/slim/notifications/alarms${query(params)}`, { ...{ cache: "reload" }, ...requestOptions });
247
+ return this.get(`/v1/slim/notifications/alarms${(0, query_string_1.toQueryString)(params)}`, { ...{ cache: "reload" }, ...requestOptions });
258
248
  }
259
249
  async function acknowledgeSlimAlarm(notificationId, requestOptions) {
260
- return (await this.patch(`/v1/slim/notifications/${segment(notificationId)}/ack`, [], ...(requestOptions === undefined ? [] : [requestOptions])));
250
+ return (await this.patch(`/v1/slim/notifications/${encodeURIComponent(notificationId)}/ack`, [], ...(requestOptions === undefined ? [] : [requestOptions])));
261
251
  }
262
252
  async function getRecentSlimAlarms(count, requestOptions) {
263
- return this.get(`/v1/slim/notifications/recent/alarms${query({ count })}`, { ...{ cache: "reload" }, ...requestOptions });
253
+ return this.get(`/v1/slim/notifications/recent/alarms${(0, query_string_1.toQueryString)({ count })}`, { ...{ cache: "reload" }, ...requestOptions });
264
254
  }
265
255
  function getRecentAlarms(count, requestOptions) {
266
256
  return getRecentSlimAlarms.call(this, count, ...(requestOptions === undefined ? [] : [requestOptions]));
267
257
  }
268
258
  async function getRecentSlimOutOfBed(count, requestOptions) {
269
- return this.get(`/v1/slim/notifications/recent/oob${query({ count })}`, { ...{ cache: "reload" }, ...requestOptions });
259
+ return this.get(`/v1/slim/notifications/recent/oob${(0, query_string_1.toQueryString)({ count })}`, { ...{ cache: "reload" }, ...requestOptions });
270
260
  }
271
261
  function getRecentOutOfBed(count, requestOptions) {
272
262
  return getRecentSlimOutOfBed.call(this, count, ...(requestOptions === undefined ? [] : [requestOptions]));
273
263
  }
274
264
  async function listSlimOutOfBedNotifications(params = {}, requestOptions) {
275
- return this.get(`/v1/slim/notifications/oob${query(params)}`, { ...{ cache: "reload" }, ...requestOptions });
265
+ return this.get(`/v1/slim/notifications/oob${(0, query_string_1.toQueryString)(params)}`, { ...{ cache: "reload" }, ...requestOptions });
276
266
  }
277
267
  async function listSlimMedicalNotifications(params = {}, requestOptions) {
278
268
  validateMedicalCodes(params.codes);
279
- return this.get(`/v1/slim/notifications/medical${query(params)}`, { ...{ cache: "reload" }, ...requestOptions });
269
+ return this.get(`/v1/slim/notifications/medical${(0, query_string_1.toQueryString)(params)}`, { ...{ cache: "reload" }, ...requestOptions });
280
270
  }
281
271
  const MEDICAL_CODE = /^(?:\d{1,7}-\d|PI)$/;
282
272
  function validateMedicalCodes(codes) {
@@ -286,16 +276,16 @@ function validateMedicalCodes(codes) {
286
276
  }
287
277
  }
288
278
  async function getRecentSlimMedicalNotifications(count, requestOptions) {
289
- return this.get(`/v1/slim/notifications/recent/medical${query({ count })}`, { ...{ cache: "reload" }, ...requestOptions });
279
+ return this.get(`/v1/slim/notifications/recent/medical${(0, query_string_1.toQueryString)({ count })}`, { ...{ cache: "reload" }, ...requestOptions });
290
280
  }
291
281
  async function getSlimMedicalNotification(episodeId, requestOptions) {
292
- return this.get(`/v1/slim/notifications/medical/${segment(episodeId)}`, { ...{ cache: "reload" }, ...requestOptions });
282
+ return this.get(`/v1/slim/notifications/medical/${encodeURIComponent(episodeId)}`, { ...{ cache: "reload" }, ...requestOptions });
293
283
  }
294
284
  async function acknowledgeSlimMedicalNotification(episodeId, requestOptions) {
295
- return this.post(`/v1/slim/notifications/medical/${segment(episodeId)}/ack`, undefined, undefined, requestOptions);
285
+ return this.post(`/v1/slim/notifications/medical/${encodeURIComponent(episodeId)}/ack`, undefined, undefined, requestOptions);
296
286
  }
297
287
  async function acknowledgeSlimNotification(notificationId, requestOptions) {
298
- return (await this.patch(`/v1/slim/notifications/${segment(notificationId)}/ack`, [], ...(requestOptions === undefined ? [] : [requestOptions])));
288
+ return (await this.patch(`/v1/slim/notifications/${encodeURIComponent(notificationId)}/ack`, [], ...(requestOptions === undefined ? [] : [requestOptions])));
299
289
  }
300
290
  async function getSlimThreshold(requestOptions) {
301
291
  return this.get("/v1/slim/threshold", ...(requestOptions === undefined ? [] : [requestOptions]));
@@ -304,10 +294,10 @@ async function updateSlimThreshold(body, requestOptions) {
304
294
  return (await this.put("/v1/slim/threshold", body, undefined, requestOptions));
305
295
  }
306
296
  async function getSlimPatientThreshold(patientId, requestOptions) {
307
- return this.get(`/v1/slim/threshold/patient/${segment(patientId)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
297
+ return this.get(`/v1/slim/threshold/patient/${encodeURIComponent(patientId)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
308
298
  }
309
299
  async function updateSlimPatientThreshold(patientId, body, requestOptions) {
310
- return (await this.put(`/v1/slim/threshold/patient/${segment(patientId)}`, body, undefined, requestOptions));
300
+ return (await this.put(`/v1/slim/threshold/patient/${encodeURIComponent(patientId)}`, body, undefined, requestOptions));
311
301
  }
312
302
  async function getSlimThresholdV2(requestOptions) {
313
303
  return this.get("/v2/slim/threshold", ...(requestOptions === undefined ? [] : [requestOptions]));
@@ -316,49 +306,49 @@ async function updateSlimThresholdV2(body, requestOptions) {
316
306
  return (await this.put("/v2/slim/threshold", body, undefined, requestOptions));
317
307
  }
318
308
  async function getSlimPatientThresholdV2(patientId, requestOptions) {
319
- return this.get(`/v2/slim/threshold/patient/${segment(patientId)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
309
+ return this.get(`/v2/slim/threshold/patient/${encodeURIComponent(patientId)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
320
310
  }
321
311
  async function updateSlimPatientThresholdV2(patientId, body, requestOptions) {
322
- return (await this.put(`/v2/slim/threshold/patient/${segment(patientId)}`, body, undefined, requestOptions));
312
+ return (await this.put(`/v2/slim/threshold/patient/${encodeURIComponent(patientId)}`, body, undefined, requestOptions));
323
313
  }
324
314
  async function getSlimTrends(params, requestOptions) {
325
- return this.get(`/v1/slim/trends/graphs${query(params)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
315
+ return this.get(`/v1/slim/trends/graphs${(0, query_string_1.toQueryString)(params)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
326
316
  }
327
317
  async function getSlimRealtimeTrends(params, requestOptions) {
328
- return this.get(`/v1/slim/trends/realtime${query(params)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
318
+ return this.get(`/v1/slim/trends/realtime${(0, query_string_1.toQueryString)(params)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
329
319
  }
330
320
  async function getSlimSleepStatistics(params, requestOptions) {
331
- return this.get(`/v1/slim/sleep/statistics${query(params)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
321
+ return this.get(`/v1/slim/sleep/statistics${(0, query_string_1.toQueryString)(params)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
332
322
  }
333
323
  async function listSlimLocations(params = {}, requestOptions) {
334
- return this.get(`/v1/slim/location${query(params)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
324
+ return this.get(`/v1/slim/location${(0, query_string_1.toQueryString)(params)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
335
325
  }
336
326
  async function getSlimLocation(locationId, requestOptions) {
337
- return this.get(`/v1/slim/location/${segment(locationId)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
327
+ return this.get(`/v1/slim/location/${encodeURIComponent(locationId)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
338
328
  }
339
329
  async function createSlimLocation(body, requestOptions) {
340
330
  return this.post("/v1/slim/location", body, undefined, requestOptions);
341
331
  }
342
332
  async function updateSlimLocation(locationId, body, requestOptions) {
343
- return (await this.put(`/v1/slim/location/${segment(locationId)}`, body, undefined, requestOptions));
333
+ return (await this.put(`/v1/slim/location/${encodeURIComponent(locationId)}`, body, undefined, requestOptions));
344
334
  }
345
335
  async function deleteSlimLocation(locationId, requestOptions) {
346
- await this.delete(`/v1/slim/location/${segment(locationId)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
336
+ await this.delete(`/v1/slim/location/${encodeURIComponent(locationId)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
347
337
  }
348
338
  async function listSlimZones(params = {}, requestOptions) {
349
- return this.get(`/v1/slim/zones${query(params)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
339
+ return this.get(`/v1/slim/zones${(0, query_string_1.toQueryString)(params)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
350
340
  }
351
341
  async function getSlimZone(zoneId, requestOptions) {
352
- return this.get(`/v1/slim/zones/${segment(zoneId)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
342
+ return this.get(`/v1/slim/zones/${encodeURIComponent(zoneId)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
353
343
  }
354
344
  async function getSlimZoneDeviceCounts(params = {}, requestOptions) {
355
- return this.get(`/v1/slim/zones/device-counts${query(params)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
345
+ return this.get(`/v1/slim/zones/device-counts${(0, query_string_1.toQueryString)(params)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
356
346
  }
357
347
  async function exportSlimPatientPdf(body, requestOptions) {
358
348
  return this.post("/v1/slim/export/pdf", body, undefined, requestOptions);
359
349
  }
360
350
  function listSlimProjectUsers(params = {}, requestOptions) {
361
- return this.get(`/v1/slim/project/users${query(params)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
351
+ return this.get(`/v1/slim/project/users${(0, query_string_1.toQueryString)(params)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
362
352
  }
363
353
  function createSlimChildProject(body, requestOptions) {
364
354
  return this.post("/v1/slim/project/child", body, undefined, requestOptions);
@@ -370,55 +360,55 @@ function getSlimProjectRelationshipsV2(requestOptions) {
370
360
  return this.get("/v2/slim/project/child", ...(requestOptions === undefined ? [] : [requestOptions]));
371
361
  }
372
362
  function deleteSlimChildProject(subProjectId, requestOptions) {
373
- return this.delete(`/v1/slim/project/child/${segment(subProjectId)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
363
+ return this.delete(`/v1/slim/project/child/${encodeURIComponent(subProjectId)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
374
364
  }
375
365
  function listSlimProjectUsersById(projectId, params = {}, requestOptions) {
376
- return this.get(`/v1/slim/project/${segment(projectId)}/users${query(params)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
366
+ return this.get(`/v1/slim/project/${encodeURIComponent(projectId)}/users${(0, query_string_1.toQueryString)(params)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
377
367
  }
378
368
  function getSlimProjectDeviceCounts(projectId, requestOptions) {
379
- return this.get(`/v1/slim/project/${segment(projectId)}/device-counts`, ...(requestOptions === undefined ? [] : [requestOptions]));
369
+ return this.get(`/v1/slim/project/${encodeURIComponent(projectId)}/device-counts`, ...(requestOptions === undefined ? [] : [requestOptions]));
380
370
  }
381
371
  function getSlimProjectPatientCounts(projectId, requestOptions) {
382
- return this.get(`/v1/slim/project/${segment(projectId)}/patient-counts`, ...(requestOptions === undefined ? [] : [requestOptions]));
372
+ return this.get(`/v1/slim/project/${encodeURIComponent(projectId)}/patient-counts`, ...(requestOptions === undefined ? [] : [requestOptions]));
383
373
  }
384
374
  function updateSlimProject(projectId, body, requestOptions) {
385
- return this.put(`/v1/slim/project/${segment(projectId)}`, body, undefined, requestOptions);
375
+ return this.put(`/v1/slim/project/${encodeURIComponent(projectId)}`, body, undefined, requestOptions);
386
376
  }
387
377
  function getSlimProject(projectId, requestOptions) {
388
- return this.get(`/v1/slim/project/${segment(projectId)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
378
+ return this.get(`/v1/slim/project/${encodeURIComponent(projectId)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
389
379
  }
390
380
  function listSlimPolicies(params = {}, requestOptions) {
391
- return this.get(`/v1/slim/policy${query(params)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
381
+ return this.get(`/v1/slim/policy${(0, query_string_1.toQueryString)(params)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
392
382
  }
393
383
  function getSlimPolicy(policyId, requestOptions) {
394
- return this.get(`/v1/slim/policy/${segment(policyId)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
384
+ return this.get(`/v1/slim/policy/${encodeURIComponent(policyId)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
395
385
  }
396
386
  function createSlimPolicy(body, requestOptions) {
397
387
  return this.post("/v1/slim/policy", body, undefined, requestOptions);
398
388
  }
399
389
  function updateSlimPolicy(policyId, body, requestOptions) {
400
- return this.put(`/v1/slim/policy/${segment(policyId)}`, body, undefined, requestOptions);
390
+ return this.put(`/v1/slim/policy/${encodeURIComponent(policyId)}`, body, undefined, requestOptions);
401
391
  }
402
392
  async function deleteSlimPolicy(policyId, requestOptions) {
403
- await this.delete(`/v1/slim/policy/${segment(policyId)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
393
+ await this.delete(`/v1/slim/policy/${encodeURIComponent(policyId)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
404
394
  }
405
395
  function getSlimOrganization(organizationId, requestOptions) {
406
- return this.get(`/v1/slim/organization/${segment(organizationId)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
396
+ return this.get(`/v1/slim/organization/${encodeURIComponent(organizationId)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
407
397
  }
408
398
  function createSlimOrganization(body, requestOptions) {
409
399
  return this.post("/v1/slim/organization", body, undefined, requestOptions);
410
400
  }
411
401
  function updateSlimOrganization(organizationId, body, requestOptions) {
412
- return this.put(`/v1/slim/organization/${segment(organizationId)}`, body, undefined, requestOptions);
402
+ return this.put(`/v1/slim/organization/${encodeURIComponent(organizationId)}`, body, undefined, requestOptions);
413
403
  }
414
404
  async function deleteSlimOrganization(organizationId, requestOptions) {
415
- await this.delete(`/v1/slim/organization/${segment(organizationId)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
405
+ await this.delete(`/v1/slim/organization/${encodeURIComponent(organizationId)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
416
406
  }
417
407
  function inviteSlimPractitioner(body, requestOptions) {
418
408
  return this.post("/v1/slim/invite/practitioner", body, undefined, requestOptions);
419
409
  }
420
410
  function deleteSlimUser(profileType, profileId, requestOptions) {
421
- return this.delete(`/v1/slim/user/${segment(profileType)}/${segment(profileId)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
411
+ return this.delete(`/v1/slim/user/${encodeURIComponent(profileType)}/${encodeURIComponent(profileId)}`, ...(requestOptions === undefined ? [] : [requestOptions]));
422
412
  }
423
413
  function getSlimHealth(requestOptions) {
424
414
  return this.get("/v1/slim/health", ...(requestOptions === undefined ? [] : [requestOptions]));
@@ -48,7 +48,7 @@ exports.OVOK_CORE_REQUIREMENTS = {
48
48
  description: "The FHIR surface a server must provide for the @ovok/core client library's own methods to function.",
49
49
  software: {
50
50
  name: "@ovok/core",
51
- version: "0.4.35",
51
+ version: "0.4.37",
52
52
  },
53
53
  fhirVersion: "4.0.1",
54
54
  format: ["json"],