@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
package/dist/index.cjs
CHANGED
|
@@ -2138,6 +2138,20 @@ var PatientClient = class extends BaseServiceClient {
|
|
|
2138
2138
|
body: request
|
|
2139
2139
|
});
|
|
2140
2140
|
}
|
|
2141
|
+
/** GET /patients/communication-consent — the authenticated patient's SMS/phone contact-preference consent. */
|
|
2142
|
+
getCommunicationConsent() {
|
|
2143
|
+
return this.send("GET", "/patients/communication-consent", {});
|
|
2144
|
+
}
|
|
2145
|
+
/**
|
|
2146
|
+
* PUT /patients/communication-consent — sms_permitted and phone_permitted
|
|
2147
|
+
* are independent; omit a field to leave its previously recorded value
|
|
2148
|
+
* untouched (not a combined toggle).
|
|
2149
|
+
*/
|
|
2150
|
+
updateCommunicationConsent(request) {
|
|
2151
|
+
return this.send("PUT", "/patients/communication-consent", {
|
|
2152
|
+
body: request
|
|
2153
|
+
});
|
|
2154
|
+
}
|
|
2141
2155
|
createInsurance(request) {
|
|
2142
2156
|
return this.send("POST", "/patients/insurance", {
|
|
2143
2157
|
body: request
|