@medplum/core 0.9.38 → 0.10.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.
@@ -516,7 +516,6 @@ export declare class MedplumClient extends EventTarget {
516
516
  * {
517
517
  * "resourceType": "Bundle",
518
518
  * "type": "searchset",
519
- * "total": 1,
520
519
  * "entry": [
521
520
  * {
522
521
  * "resource": {
@@ -535,6 +534,12 @@ export declare class MedplumClient extends EventTarget {
535
534
  * }
536
535
  * ```
537
536
  *
537
+ * To query the count of a search, use the summary feature like so:
538
+ *
539
+ * ```typescript
540
+ * const patients = medplum.search('Patient', '_summary=count');
541
+ * ```
542
+ *
538
543
  * See FHIR search for full details: https://www.hl7.org/fhir/search.html
539
544
  *
540
545
  * @category Search
package/dist/cjs/index.js CHANGED
@@ -6664,7 +6664,6 @@
6664
6664
  * {
6665
6665
  * "resourceType": "Bundle",
6666
6666
  * "type": "searchset",
6667
- * "total": 1,
6668
6667
  * "entry": [
6669
6668
  * {
6670
6669
  * "resource": {
@@ -6683,6 +6682,12 @@
6683
6682
  * }
6684
6683
  * ```
6685
6684
  *
6685
+ * To query the count of a search, use the summary feature like so:
6686
+ *
6687
+ * ```typescript
6688
+ * const patients = medplum.search('Patient', '_summary=count');
6689
+ * ```
6690
+ *
6686
6691
  * See FHIR search for full details: https://www.hl7.org/fhir/search.html
6687
6692
  *
6688
6693
  * @category Search