@healthcloudai/hc-sdk 3.11.0 → 3.12.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 +19 -0
- package/dist/index.d.cts +94 -2
- package/dist/index.d.ts +94 -2
- package/dist/index.js +19 -0
- package/docs/clients/PatientClient.md +1 -0
- package/docs/docs-manifest.json +5 -3
- package/docs/examples/index.md +1 -0
- package/docs/index.md +1 -0
- package/docs/models/GetDefaultProviderResponse.md +18 -0
- package/docs/models/index.md +1 -0
- package/docs/operations/patient.getDefaultProvider.md +117 -0
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2171,6 +2171,20 @@ function AddPatientIntakeResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
2171
2171
|
};
|
|
2172
2172
|
}
|
|
2173
2173
|
|
|
2174
|
+
// src/models/openapi-generated/patient/models/GetDefaultProviderResponse.ts
|
|
2175
|
+
function GetDefaultProviderResponseFromJSON(json) {
|
|
2176
|
+
return GetDefaultProviderResponseFromJSONTyped(json, false);
|
|
2177
|
+
}
|
|
2178
|
+
function GetDefaultProviderResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
2179
|
+
if (json == null) {
|
|
2180
|
+
return json;
|
|
2181
|
+
}
|
|
2182
|
+
return {
|
|
2183
|
+
"name": json["name"],
|
|
2184
|
+
"npi": json["npi"]
|
|
2185
|
+
};
|
|
2186
|
+
}
|
|
2187
|
+
|
|
2174
2188
|
// src/clients/PatientClient.ts
|
|
2175
2189
|
var PatientClient = class extends BaseServiceClient {
|
|
2176
2190
|
/** Add one agent-collected intake section and return actionable validation errors. */
|
|
@@ -2263,6 +2277,11 @@ var PatientClient = class extends BaseServiceClient {
|
|
|
2263
2277
|
getDashboard() {
|
|
2264
2278
|
return this.send("GET", "/patients/dashboard", {});
|
|
2265
2279
|
}
|
|
2280
|
+
/** GET /patients/defaultprovider — return the authenticated patient's tenant default provider. */
|
|
2281
|
+
async getDefaultProvider() {
|
|
2282
|
+
const response = await this.send("GET", "/patients/defaultprovider", {});
|
|
2283
|
+
return GetDefaultProviderResponseFromJSON(response);
|
|
2284
|
+
}
|
|
2266
2285
|
getAgentConfiguration() {
|
|
2267
2286
|
return this.send("GET", "/agentconfiguration", {});
|
|
2268
2287
|
}
|