@healthcloudai/hc-sdk 2.15.0 → 2.16.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 +14 -0
- package/dist/index.d.cts +183 -6
- package/dist/index.d.ts +183 -6
- package/dist/index.js +14 -0
- package/docs/clients/AthenaHealthClient.md +1 -1
- package/docs/clients/DiagnosticsClient.md +1 -0
- package/docs/docs-manifest.json +5 -3
- package/docs/examples/index.md +2 -1
- package/docs/index.md +2 -1
- package/docs/models/AthenaCreateAllergyRequest.md +3 -0
- package/docs/models/AthenaCreateMedicationRequest.md +2 -0
- package/docs/models/AthenaCreatePatientRequest.md +3 -0
- package/docs/models/AthenaCreateProblemRequest.md +3 -0
- package/docs/models/AthenaCreateProcedureRequest.md +1 -0
- package/docs/models/AthenaListAllergiesRequest.md +1 -0
- package/docs/models/AthenaPatient.md +1 -0
- package/docs/models/AthenaVitalsMirrorResult.md +2 -2
- package/docs/models/CapturedTestImageResponse.md +26 -0
- package/docs/models/UpdateDemographicsResponse.md +4 -0
- package/docs/models/VitalsRecordRequest.md +6 -6
- package/docs/models/index.md +1 -0
- package/docs/models/patient.RegisterRequest.md +3 -0
- package/docs/operations/connectors.athenaCreateAllergy.md +2 -2
- package/docs/operations/connectors.athenaCreateMedication.md +3 -3
- package/docs/operations/connectors.athenaListAllergies.md +5 -3
- package/docs/operations/connectors.athenaListMedications.md +2 -0
- package/docs/operations/diagnostics.createRapidTest.md +0 -1
- package/docs/operations/diagnostics.getScanUploadUrl.md +0 -1
- package/docs/operations/diagnostics.getTestImage.md +118 -0
- package/docs/operations/patient.register.md +7 -1
- package/docs/operations/patient.updateDemographics.md +4 -0
- package/docs/operations/vitals.recordVitals.md +33 -31
- package/package.json +1 -1
|
@@ -48,21 +48,22 @@ Request model: [`VitalsRecordRequest`](../models/VitalsRecordRequest.md)
|
|
|
48
48
|
|
|
49
49
|
```json
|
|
50
50
|
{
|
|
51
|
-
"blood_glucose":
|
|
52
|
-
"diastolic":
|
|
53
|
-
"diastolic_bp":
|
|
54
|
-
"encounter_id": "
|
|
55
|
-
"heart_rate":
|
|
56
|
-
"height":
|
|
57
|
-
"height_cm":
|
|
58
|
-
"oxygen_saturation":
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
51
|
+
"blood_glucose": 0,
|
|
52
|
+
"diastolic": 0,
|
|
53
|
+
"diastolic_bp": 0,
|
|
54
|
+
"encounter_id": "string",
|
|
55
|
+
"heart_rate": 0,
|
|
56
|
+
"height": 0,
|
|
57
|
+
"height_cm": 0,
|
|
58
|
+
"oxygen_saturation": 0,
|
|
59
|
+
"pain_score": 0,
|
|
60
|
+
"respiratory_rate": 0,
|
|
61
|
+
"spo2": 0,
|
|
62
|
+
"systolic": 0,
|
|
63
|
+
"systolic_bp": 0,
|
|
64
|
+
"temperature": 0,
|
|
65
|
+
"weight": 0,
|
|
66
|
+
"weight_kg": 0
|
|
66
67
|
}
|
|
67
68
|
```
|
|
68
69
|
|
|
@@ -125,21 +126,22 @@ import type { VitalsRecordRequest } from "@healthcloudai/hc-sdk";
|
|
|
125
126
|
const patientId = "<PATIENT_ID>";
|
|
126
127
|
|
|
127
128
|
const request = {
|
|
128
|
-
"blood_glucose":
|
|
129
|
-
"diastolic":
|
|
130
|
-
"diastolic_bp":
|
|
131
|
-
"encounter_id": "
|
|
132
|
-
"heart_rate":
|
|
133
|
-
"height":
|
|
134
|
-
"height_cm":
|
|
135
|
-
"oxygen_saturation":
|
|
136
|
-
"
|
|
137
|
-
"
|
|
138
|
-
"
|
|
139
|
-
"
|
|
140
|
-
"
|
|
141
|
-
"
|
|
142
|
-
"
|
|
129
|
+
"blood_glucose": 0,
|
|
130
|
+
"diastolic": 0,
|
|
131
|
+
"diastolic_bp": 0,
|
|
132
|
+
"encounter_id": "string",
|
|
133
|
+
"heart_rate": 0,
|
|
134
|
+
"height": 0,
|
|
135
|
+
"height_cm": 0,
|
|
136
|
+
"oxygen_saturation": 0,
|
|
137
|
+
"pain_score": 0,
|
|
138
|
+
"respiratory_rate": 0,
|
|
139
|
+
"spo2": 0,
|
|
140
|
+
"systolic": 0,
|
|
141
|
+
"systolic_bp": 0,
|
|
142
|
+
"temperature": 0,
|
|
143
|
+
"weight": 0,
|
|
144
|
+
"weight_kg": 0
|
|
143
145
|
};
|
|
144
146
|
|
|
145
147
|
const result = await vitals.record(patientId, request);
|
|
@@ -151,7 +153,7 @@ const result = await vitals.record(patientId, request);
|
|
|
151
153
|
curl -X POST \
|
|
152
154
|
-H 'Authorization: Bearer <ACCESS_TOKEN>' \
|
|
153
155
|
-H 'Content-Type: application/json' \
|
|
154
|
-
-d '{"blood_glucose":
|
|
156
|
+
-d '{"blood_glucose":0,"diastolic":0,"diastolic_bp":0,"encounter_id":"string","heart_rate":0,"height":0,"height_cm":0,"oxygen_saturation":0,"pain_score":0,"respiratory_rate":0,"spo2":0,"systolic":0,"systolic_bp":0,"temperature":0,"weight":0,"weight_kg":0}' \
|
|
155
157
|
'https://dev-api-vitals.health.cloud/patients/%3CPATIENT_ID%3E/vitals'
|
|
156
158
|
```
|
|
157
159
|
|
package/package.json
CHANGED