@medplum/core 3.2.15 → 3.2.17

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.
@@ -2023,6 +2023,8 @@ export declare interface IncludeTarget {
2023
2023
  modifier?: 'iterate';
2024
2024
  }
2025
2025
 
2026
+ export declare function indexDefaultSearchParameters(bundle: Bundle): void;
2027
+
2026
2028
  /**
2027
2029
  * An IndexedStructureDefinition is a lookup-optimized version of a StructureDefinition.
2028
2030
  *
@@ -2826,7 +2828,7 @@ export declare class MedplumClient extends TypedEventTarget<MedplumClientEventMa
2826
2828
  * @param options - Optional fetch options.
2827
2829
  * @returns Promise to the response content.
2828
2830
  */
2829
- post(url: URL | string, body: any, contentType?: string, options?: MedplumRequestOptions): Promise<any>;
2831
+ post(url: URL | string, body?: any, contentType?: string, options?: MedplumRequestOptions): Promise<any>;
2830
2832
  /**
2831
2833
  * Makes an HTTP PUT request to the specified URL.
2832
2834
  *
@@ -3092,7 +3094,9 @@ export declare class MedplumClient extends TypedEventTarget<MedplumClientEventMa
3092
3094
  * Creates an
3093
3095
  * [async generator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AsyncGenerator)
3094
3096
  * over a series of FHIR search requests for paginated search results. Each iteration of the generator yields
3095
- * the array of resources on each page.
3097
+ * the array of resources on each page. Searches using _offset based pagination are limited to 10,000 records.
3098
+ * For larger result sets, _cursor based pagination should be used instead.
3099
+ * See: https://www.medplum.com/docs/search/paginated-search#cursor-based-pagination
3096
3100
  *
3097
3101
  * @example
3098
3102
  *
@@ -2023,6 +2023,8 @@ export declare interface IncludeTarget {
2023
2023
  modifier?: 'iterate';
2024
2024
  }
2025
2025
 
2026
+ export declare function indexDefaultSearchParameters(bundle: Bundle): void;
2027
+
2026
2028
  /**
2027
2029
  * An IndexedStructureDefinition is a lookup-optimized version of a StructureDefinition.
2028
2030
  *
@@ -2826,7 +2828,7 @@ export declare class MedplumClient extends TypedEventTarget<MedplumClientEventMa
2826
2828
  * @param options - Optional fetch options.
2827
2829
  * @returns Promise to the response content.
2828
2830
  */
2829
- post(url: URL | string, body: any, contentType?: string, options?: MedplumRequestOptions): Promise<any>;
2831
+ post(url: URL | string, body?: any, contentType?: string, options?: MedplumRequestOptions): Promise<any>;
2830
2832
  /**
2831
2833
  * Makes an HTTP PUT request to the specified URL.
2832
2834
  *
@@ -3092,7 +3094,9 @@ export declare class MedplumClient extends TypedEventTarget<MedplumClientEventMa
3092
3094
  * Creates an
3093
3095
  * [async generator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AsyncGenerator)
3094
3096
  * over a series of FHIR search requests for paginated search results. Each iteration of the generator yields
3095
- * the array of resources on each page.
3097
+ * the array of resources on each page. Searches using _offset based pagination are limited to 10,000 records.
3098
+ * For larger result sets, _cursor based pagination should be used instead.
3099
+ * See: https://www.medplum.com/docs/search/paginated-search#cursor-based-pagination
3096
3100
  *
3097
3101
  * @example
3098
3102
  *