@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 +15 -1
- package/dist/index.d.cts +30184 -28982
- package/dist/index.d.ts +30184 -28982
- package/dist/index.js +15 -1
- package/docs/clients/PatientClient.md +1 -1
- package/docs/docs-manifest.json +15 -2
- package/docs/examples/index.md +1 -1
- package/docs/index.md +1 -1
- package/docs/models/CreateQuestionnaireRequest.md +3 -3
- package/docs/models/CreateQuestionnaireResponse.md +1 -1
- package/docs/models/OnboardEncounterPayload.md +35 -0
- package/docs/models/OnboardEncounterStepResult.md +15 -0
- package/docs/models/OnboardPatientPayload.md +22 -0
- package/docs/models/OnboardPatientRequest.md +4 -4
- package/docs/models/OnboardPatientResponse.md +4 -4
- package/docs/models/OnboardPatientStepResult.md +20 -0
- package/docs/models/OnboardQuestionnaireAnswer.md +15 -0
- package/docs/models/OnboardQuestionnaireDefinition.md +19 -0
- package/docs/models/OnboardQuestionnairePayload.md +19 -0
- package/docs/models/OnboardQuestionnaireResponseItem.md +14 -0
- package/docs/models/OnboardQuestionnaireStepResult.md +16 -0
- package/docs/models/OnboardVitalsPayload.md +19 -0
- package/docs/models/OnboardVitalsStepResult.md +15 -0
- package/docs/models/QuestionItemType.md +11 -0
- package/docs/models/QuestionnaireItemInput.md +21 -0
- package/docs/models/index.md +13 -0
- package/docs/operations/patient.createQuestionnaire.md +4 -4
- package/package.json +1 -1
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
|
-
|
|
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) {
|