@healthcloudai/hc-sdk 2.15.0 → 2.17.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.
Files changed (47) hide show
  1. package/dist/index.cjs +26 -0
  2. package/dist/index.d.cts +319 -6
  3. package/dist/index.d.ts +319 -6
  4. package/dist/index.js +26 -0
  5. package/docs/clients/AthenaHealthClient.md +2 -2
  6. package/docs/clients/DiagnosticsClient.md +1 -0
  7. package/docs/clients/PatientClient.md +3 -0
  8. package/docs/docs-manifest.json +12 -3
  9. package/docs/examples/index.md +6 -2
  10. package/docs/index.md +6 -2
  11. package/docs/models/AthenaAddEncounterReasonRequest.md +1 -0
  12. package/docs/models/AthenaCreateAllergyRequest.md +3 -0
  13. package/docs/models/AthenaCreateMedicationRequest.md +2 -0
  14. package/docs/models/AthenaCreatePatientRequest.md +3 -0
  15. package/docs/models/AthenaCreateProblemRequest.md +3 -0
  16. package/docs/models/AthenaCreateProcedureRequest.md +1 -0
  17. package/docs/models/AthenaListAllergiesRequest.md +1 -0
  18. package/docs/models/AthenaPatient.md +1 -0
  19. package/docs/models/AthenaVitalsMirrorResult.md +2 -2
  20. package/docs/models/CapturedTestImageResponse.md +26 -0
  21. package/docs/models/CheckEncounterRequest.md +1 -0
  22. package/docs/models/CommunicationConsentResponse.md +20 -0
  23. package/docs/models/CreateSummaryResponse.md +20 -0
  24. package/docs/models/SubmitSummaryRequest.md +19 -0
  25. package/docs/models/UpdateCommunicationConsentRequest.md +22 -0
  26. package/docs/models/UpdateDemographicsResponse.md +4 -0
  27. package/docs/models/VitalsRecordRequest.md +6 -6
  28. package/docs/models/index.md +5 -0
  29. package/docs/models/patient.RegisterRequest.md +3 -0
  30. package/docs/operations/connectors.athenaAddEncounterReason.md +5 -3
  31. package/docs/operations/connectors.athenaCreateAllergy.md +2 -2
  32. package/docs/operations/connectors.athenaCreateMedication.md +3 -3
  33. package/docs/operations/connectors.athenaListAllergies.md +5 -3
  34. package/docs/operations/connectors.athenaListMedications.md +2 -0
  35. package/docs/operations/connectors.athenaUpdateReviewOfSystems.md +1 -1
  36. package/docs/operations/connectors.grokCreateHpiSummary.md +1 -1
  37. package/docs/operations/diagnostics.createRapidTest.md +0 -1
  38. package/docs/operations/diagnostics.getScanUploadUrl.md +0 -1
  39. package/docs/operations/diagnostics.getTestImage.md +118 -0
  40. package/docs/operations/patient.checkEncounter.md +3 -1
  41. package/docs/operations/patient.getCommunicationConsent.md +102 -0
  42. package/docs/operations/patient.register.md +7 -1
  43. package/docs/operations/patient.submitSummary.md +119 -0
  44. package/docs/operations/patient.updateCommunicationConsent.md +117 -0
  45. package/docs/operations/patient.updateDemographics.md +4 -0
  46. package/docs/operations/vitals.recordVitals.md +33 -31
  47. 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
@@ -2347,6 +2361,18 @@ var PatientClient = class extends BaseServiceClient {
2347
2361
  pathParams: { patient_id: patientId }
2348
2362
  });
2349
2363
  }
2364
+ /** Record the authenticated patient's current symptom labels. */
2365
+ submitCurrentSymptoms(request) {
2366
+ return this.send("POST", "/screenings/current/symptoms", {
2367
+ body: request
2368
+ });
2369
+ }
2370
+ /** Apply raw conversation/summary text to an encounter and its EHR sections. */
2371
+ submitSummary(request) {
2372
+ return this.send("POST", "/patients/submit/summary", {
2373
+ body: request
2374
+ });
2375
+ }
2350
2376
  createQuestionnaire(request) {
2351
2377
  return this.send("POST", "/questionnaires", {
2352
2378
  body: request