@medplum/core 5.0.2 → 5.0.3
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/index.cjs +6 -6
- package/dist/cjs/index.cjs.map +3 -3
- package/dist/cjs/index.d.ts +16 -1
- package/dist/esm/index.d.ts +16 -1
- package/dist/esm/index.mjs +6 -6
- package/dist/esm/index.mjs.map +3 -3
- package/package.json +3 -3
package/dist/cjs/index.d.ts
CHANGED
|
@@ -1002,7 +1002,7 @@ export declare function evalFhirPath(expression: string | FhirPathAtom, input: u
|
|
|
1002
1002
|
* @param cache - Cache for parsed ASTs.
|
|
1003
1003
|
* @returns The result of the FHIRPath expression against the resource or object.
|
|
1004
1004
|
*/
|
|
1005
|
-
export declare function evalFhirPathTyped(expression: string | FhirPathAtom, input: TypedValue[], variables?: Record<string, TypedValue>, cache?: LRUCache<FhirPathAtom> | undefined): TypedValue[];
|
|
1005
|
+
export declare function evalFhirPathTyped(expression: string | FhirPathAtom, input: TypedValue[], variables?: Record<string, TypedValue>, cache?: LRUCache<FhirPathAtom> | undefined): (TypedValue | TypedValueWithPath)[];
|
|
1006
1006
|
|
|
1007
1007
|
/**
|
|
1008
1008
|
* Evaluates a SQL-on-FHIR view on a set of FHIR resources.
|
|
@@ -4592,6 +4592,21 @@ export declare class MedplumClient extends TypedEventTarget<MedplumClientEventMa
|
|
|
4592
4592
|
* @param clientSecret - The client secret.
|
|
4593
4593
|
*/
|
|
4594
4594
|
setBasicAuth(clientId: string, clientSecret: string): void;
|
|
4595
|
+
/**
|
|
4596
|
+
* Sets the verbose mode for the client.
|
|
4597
|
+
* When verbose is enabled, the client will log all requests and responses to the console.
|
|
4598
|
+
*
|
|
4599
|
+
* @example
|
|
4600
|
+
* ```typescript
|
|
4601
|
+
* medplum.setVerbose(true);
|
|
4602
|
+
* // Now all requests and responses will be logged
|
|
4603
|
+
* await medplum.searchResources('Patient');
|
|
4604
|
+
* ```
|
|
4605
|
+
*
|
|
4606
|
+
* @category HTTP
|
|
4607
|
+
* @param verbose - Whether to enable verbose logging.
|
|
4608
|
+
*/
|
|
4609
|
+
setVerbose(verbose: boolean): void;
|
|
4595
4610
|
/**
|
|
4596
4611
|
* Subscribes to a specified topic, listening for a list of specified events.
|
|
4597
4612
|
*
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1002,7 +1002,7 @@ export declare function evalFhirPath(expression: string | FhirPathAtom, input: u
|
|
|
1002
1002
|
* @param cache - Cache for parsed ASTs.
|
|
1003
1003
|
* @returns The result of the FHIRPath expression against the resource or object.
|
|
1004
1004
|
*/
|
|
1005
|
-
export declare function evalFhirPathTyped(expression: string | FhirPathAtom, input: TypedValue[], variables?: Record<string, TypedValue>, cache?: LRUCache<FhirPathAtom> | undefined): TypedValue[];
|
|
1005
|
+
export declare function evalFhirPathTyped(expression: string | FhirPathAtom, input: TypedValue[], variables?: Record<string, TypedValue>, cache?: LRUCache<FhirPathAtom> | undefined): (TypedValue | TypedValueWithPath)[];
|
|
1006
1006
|
|
|
1007
1007
|
/**
|
|
1008
1008
|
* Evaluates a SQL-on-FHIR view on a set of FHIR resources.
|
|
@@ -4592,6 +4592,21 @@ export declare class MedplumClient extends TypedEventTarget<MedplumClientEventMa
|
|
|
4592
4592
|
* @param clientSecret - The client secret.
|
|
4593
4593
|
*/
|
|
4594
4594
|
setBasicAuth(clientId: string, clientSecret: string): void;
|
|
4595
|
+
/**
|
|
4596
|
+
* Sets the verbose mode for the client.
|
|
4597
|
+
* When verbose is enabled, the client will log all requests and responses to the console.
|
|
4598
|
+
*
|
|
4599
|
+
* @example
|
|
4600
|
+
* ```typescript
|
|
4601
|
+
* medplum.setVerbose(true);
|
|
4602
|
+
* // Now all requests and responses will be logged
|
|
4603
|
+
* await medplum.searchResources('Patient');
|
|
4604
|
+
* ```
|
|
4605
|
+
*
|
|
4606
|
+
* @category HTTP
|
|
4607
|
+
* @param verbose - Whether to enable verbose logging.
|
|
4608
|
+
*/
|
|
4609
|
+
setVerbose(verbose: boolean): void;
|
|
4595
4610
|
/**
|
|
4596
4611
|
* Subscribes to a specified topic, listening for a list of specified events.
|
|
4597
4612
|
*
|