@healthcloudai/hc-sdk 3.23.0 → 3.24.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 (33) hide show
  1. package/dist/index.cjs +31 -0
  2. package/dist/index.d.cts +1101 -2
  3. package/dist/index.d.ts +1101 -2
  4. package/dist/index.js +31 -0
  5. package/docs/clients/ProviderClient.md +7 -0
  6. package/docs/docs-manifest.json +26 -3
  7. package/docs/examples/index.md +7 -0
  8. package/docs/index.md +7 -0
  9. package/docs/models/CreateProviderPatientRequest.md +22 -0
  10. package/docs/models/LabOrder.md +35 -0
  11. package/docs/models/LabOrderDiagnosis.md +18 -0
  12. package/docs/models/LabOrderErrorResponse.md +21 -0
  13. package/docs/models/LabOrderItemRequest.md +17 -0
  14. package/docs/models/LabOrderProvider.md +20 -0
  15. package/docs/models/LabOrderRequisitionResponse.md +20 -0
  16. package/docs/models/LabOrderTest.md +19 -0
  17. package/docs/models/LabOrderUnsentItem.md +19 -0
  18. package/docs/models/ListLabOrdersResponse.md +18 -0
  19. package/docs/models/PlaceLabOrderRequest.md +27 -0
  20. package/docs/models/PlaceLabOrderResponse.md +20 -0
  21. package/docs/models/ProviderEncounterStatusCounts.md +21 -0
  22. package/docs/models/ProviderHomeSummaryResponse.md +19 -0
  23. package/docs/models/ProviderPatientListResponse.md +19 -0
  24. package/docs/models/ProviderPatientResponse.md +17 -0
  25. package/docs/models/index.md +16 -0
  26. package/docs/operations/provider.createPatient.md +155 -0
  27. package/docs/operations/provider.getHomeSummary.md +115 -0
  28. package/docs/operations/provider.getLabOrder.md +179 -0
  29. package/docs/operations/provider.getLabOrderRequisition.md +148 -0
  30. package/docs/operations/provider.listLabOrders.md +198 -0
  31. package/docs/operations/provider.listPatients.md +154 -0
  32. package/docs/operations/provider.placeLabOrder.md +384 -0
  33. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -3794,6 +3794,37 @@ var ProviderClient = class extends BaseServiceClient {
3794
3794
  getAppointment(appointmentId) {
3795
3795
  return this.send("GET", "/appointments/{appointment_id}", { pathParams: { appointment_id: appointmentId } });
3796
3796
  }
3797
+ /**
3798
+ * List or search the calling practitioner's own patients (GET /patients), one page at a time. Never tenant-wide: only patients assigned to the caller. `q` matches the start of a given or
3799
+ * family name; pass the previous page's `next_page_token` as `page_token` to read on. `page_size` is 1-100 (default 20).
3800
+ */
3801
+ listPatients(filters) {
3802
+ return this.send("GET", "/patients", { query: filters });
3803
+ }
3804
+ /** Create a patient assigned to the calling practitioner (POST /patients). Returns the patient's demographic summary. */
3805
+ createPatient(request) {
3806
+ return this.send("POST", "/patients", { body: request });
3807
+ }
3808
+ /** Counts for the home screen (GET /dashboard/summary): the caller's own patients and encounters by status. */
3809
+ getHomeSummary() {
3810
+ return this.send("GET", "/dashboard/summary", {});
3811
+ }
3812
+ /** Place a real Quest lab order for a patient (POST /patients/{patient_id}/lab-orders). Confirm the tests with the clinician first. */
3813
+ placeLabOrder(patientId, request) {
3814
+ return this.send("POST", "/patients/{patient_id}/lab-orders", { pathParams: { patient_id: patientId }, body: request });
3815
+ }
3816
+ /** List a patient's lab orders (GET /patients/{patient_id}/lab-orders), optionally by `status` (submitting, accepted or rejected). */
3817
+ listLabOrders(patientId, filters) {
3818
+ return this.send("GET", "/patients/{patient_id}/lab-orders", { pathParams: { patient_id: patientId }, query: filters });
3819
+ }
3820
+ /** Get one lab order (GET /patients/{patient_id}/lab-orders/{order_id}). */
3821
+ getLabOrder(patientId, orderId) {
3822
+ return this.send("GET", "/patients/{patient_id}/lab-orders/{order_id}", { pathParams: { patient_id: patientId, order_id: orderId } });
3823
+ }
3824
+ /** Get a lab order's Quest requisition PDF (GET /patients/{patient_id}/lab-orders/{order_id}/requisition). */
3825
+ getLabOrderRequisition(patientId, orderId) {
3826
+ return this.send("GET", "/patients/{patient_id}/lab-orders/{order_id}/requisition", { pathParams: { patient_id: patientId, order_id: orderId } });
3827
+ }
3797
3828
  /** Get a patient's consolidated health record (provider tenant scope). */
3798
3829
  getPatientRecord(patientId) {
3799
3830
  return this.send("GET", "/patients/{patient_id}/record", { pathParams: { patient_id: patientId } });