@medplum/core 0.9.38 → 0.10.1
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/cjs/client.d.ts +7 -1
- package/dist/cjs/index.js +8 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/index.min.js +1 -1
- package/dist/cjs/index.min.js.map +1 -1
- package/dist/esm/client.d.ts +7 -1
- package/dist/esm/client.js +8 -2
- package/dist/esm/client.js.map +1 -1
- package/dist/esm/fhirpath/parse.js +2 -1
- package/dist/esm/fhirpath/parse.js.map +1 -1
- package/dist/esm/fhirpath/tokenize.js +1 -0
- package/dist/esm/fhirpath/tokenize.js.map +1 -1
- package/dist/esm/index.js +5 -5
- package/dist/esm/index.min.js +1 -1
- package/dist/esm/index.min.js.map +1 -1
- package/package.json +3 -3
package/dist/cjs/client.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { Hl7Message } from './hl7';
|
|
|
6
6
|
import { ReadablePromise } from './readablepromise';
|
|
7
7
|
import { IndexedStructureDefinition } from './types';
|
|
8
8
|
import { ProfileResource } from './utils';
|
|
9
|
+
export declare const MEDPLUM_VERSION: string | undefined;
|
|
9
10
|
/**
|
|
10
11
|
* The MedplumClientOptions interface defines configuration options for MedplumClient.
|
|
11
12
|
*
|
|
@@ -516,7 +517,6 @@ export declare class MedplumClient extends EventTarget {
|
|
|
516
517
|
* {
|
|
517
518
|
* "resourceType": "Bundle",
|
|
518
519
|
* "type": "searchset",
|
|
519
|
-
* "total": 1,
|
|
520
520
|
* "entry": [
|
|
521
521
|
* {
|
|
522
522
|
* "resource": {
|
|
@@ -535,6 +535,12 @@ export declare class MedplumClient extends EventTarget {
|
|
|
535
535
|
* }
|
|
536
536
|
* ```
|
|
537
537
|
*
|
|
538
|
+
* To query the count of a search, use the summary feature like so:
|
|
539
|
+
*
|
|
540
|
+
* ```typescript
|
|
541
|
+
* const patients = medplum.search('Patient', '_summary=count');
|
|
542
|
+
* ```
|
|
543
|
+
*
|
|
538
544
|
* See FHIR search for full details: https://www.hl7.org/fhir/search.html
|
|
539
545
|
*
|
|
540
546
|
* @category Search
|
package/dist/cjs/index.js
CHANGED
|
@@ -6245,6 +6245,7 @@
|
|
|
6245
6245
|
// PKCE auth based on:
|
|
6246
6246
|
// https://aws.amazon.com/blogs/security/how-to-add-authentication-single-page-web-application-with-amazon-cognito-oauth2-implementation/
|
|
6247
6247
|
var _MedplumClient_instances, _MedplumClient_fetch, _MedplumClient_createPdf, _MedplumClient_storage, _MedplumClient_requestCache, _MedplumClient_cacheTime, _MedplumClient_baseUrl, _MedplumClient_clientId, _MedplumClient_authorizeUrl, _MedplumClient_tokenUrl, _MedplumClient_logoutUrl, _MedplumClient_onUnauthenticated, _MedplumClient_accessToken, _MedplumClient_refreshToken, _MedplumClient_refreshPromise, _MedplumClient_profilePromise, _MedplumClient_profile, _MedplumClient_config, _MedplumClient_addLogin, _MedplumClient_refreshProfile, _MedplumClient_getCacheEntry, _MedplumClient_setCacheEntry, _MedplumClient_request, _MedplumClient_addFetchOptionsDefaults, _MedplumClient_setRequestContentType, _MedplumClient_setRequestBody, _MedplumClient_handleUnauthenticated, _MedplumClient_requestAuthorization, _MedplumClient_refresh, _MedplumClient_fetchTokens, _MedplumClient_verifyTokens, _MedplumClient_setupStorageListener;
|
|
6248
|
+
const MEDPLUM_VERSION = "0.10.1-221e9b95";
|
|
6248
6249
|
const DEFAULT_BASE_URL = 'https://api.medplum.com/';
|
|
6249
6250
|
const DEFAULT_SCOPE = 'launch/patient openid fhirUser offline_access user/*.*';
|
|
6250
6251
|
const DEFAULT_RESOURCE_CACHE_SIZE = 1000;
|
|
@@ -6664,7 +6665,6 @@
|
|
|
6664
6665
|
* {
|
|
6665
6666
|
* "resourceType": "Bundle",
|
|
6666
6667
|
* "type": "searchset",
|
|
6667
|
-
* "total": 1,
|
|
6668
6668
|
* "entry": [
|
|
6669
6669
|
* {
|
|
6670
6670
|
* "resource": {
|
|
@@ -6683,6 +6683,12 @@
|
|
|
6683
6683
|
* }
|
|
6684
6684
|
* ```
|
|
6685
6685
|
*
|
|
6686
|
+
* To query the count of a search, use the summary feature like so:
|
|
6687
|
+
*
|
|
6688
|
+
* ```typescript
|
|
6689
|
+
* const patients = medplum.search('Patient', '_summary=count');
|
|
6690
|
+
* ```
|
|
6691
|
+
*
|
|
6686
6692
|
* See FHIR search for full details: https://www.hl7.org/fhir/search.html
|
|
6687
6693
|
*
|
|
6688
6694
|
* @category Search
|
|
@@ -11087,6 +11093,7 @@
|
|
|
11087
11093
|
exports.IsAtom = IsAtom;
|
|
11088
11094
|
exports.LRUCache = LRUCache;
|
|
11089
11095
|
exports.LiteralAtom = LiteralAtom;
|
|
11096
|
+
exports.MEDPLUM_VERSION = MEDPLUM_VERSION;
|
|
11090
11097
|
exports.MedplumClient = MedplumClient;
|
|
11091
11098
|
exports.NotEqualsAtom = NotEqualsAtom;
|
|
11092
11099
|
exports.NotEquivalentAtom = NotEquivalentAtom;
|