@medplum/core 4.3.5 → 4.3.7

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.
@@ -581,6 +581,20 @@ export declare function convertContainedResourcesToBundle(resource: Resource & {
581
581
  contained?: Resource[];
582
582
  }): Bundle;
583
583
 
584
+ export declare function convertToSearchableDates(typedValues: TypedValue[]): Period[];
585
+
586
+ export declare function convertToSearchableNumbers(typedValues: TypedValue[]): [number | undefined, number | undefined][];
587
+
588
+ export declare function convertToSearchableQuantities(typedValues: TypedValue[]): Quantity[];
589
+
590
+ export declare function convertToSearchableReferences(typedValues: TypedValue[]): string[];
591
+
592
+ export declare function convertToSearchableStrings(typedValues: TypedValue[]): string[];
593
+
594
+ export declare function convertToSearchableTokens(typedValues: TypedValue[], context?: TokensContext): SearchableToken[];
595
+
596
+ export declare function convertToSearchableUris(typedValues: TypedValue[]): string[];
597
+
584
598
  /**
585
599
  * More on Bundles can be found here
586
600
  * http://hl7.org/fhir/R4/bundle.html
@@ -2392,6 +2406,7 @@ export declare interface InviteRequest {
2392
2406
  sendEmail?: boolean;
2393
2407
  membership?: Partial<ProjectMembership>;
2394
2408
  upsert?: boolean;
2409
+ forceNewMembership?: boolean;
2395
2410
  /** @deprecated Use membership.accessPolicy instead. */
2396
2411
  accessPolicy?: Reference<AccessPolicy>;
2397
2412
  /** @deprecated Use membership.access instead. */
@@ -4925,6 +4940,24 @@ export declare interface MedplumInfraConfig {
4925
4940
  environment?: StringMap;
4926
4941
  rdsIdsMajorVersionSuffix?: boolean;
4927
4942
  rdsPersistentParameterGroups?: boolean;
4943
+ fireLens?: {
4944
+ enabled: true;
4945
+ logDriverConfig?: {
4946
+ options?: {
4947
+ [key: string]: string;
4948
+ };
4949
+ secretOptions?: {
4950
+ [key: string]: string;
4951
+ };
4952
+ };
4953
+ logRouterConfig: {
4954
+ type: 'fluentbit' | 'fluentd';
4955
+ options?: Record<string, unknown>;
4956
+ };
4957
+ environment?: {
4958
+ [key: string]: string;
4959
+ };
4960
+ };
4928
4961
  }
4929
4962
 
4930
4963
  export declare class MedplumKeyValueClient {
@@ -5061,6 +5094,24 @@ export declare interface MedplumSourceInfraConfig {
5061
5094
  environment?: StringMap;
5062
5095
  rdsIdsMajorVersionSuffix?: boolean;
5063
5096
  rdsPersistentParameterGroups?: boolean;
5097
+ fireLens?: {
5098
+ enabled: true;
5099
+ logDriverConfig?: {
5100
+ options?: {
5101
+ [key: string]: ValueOrExternalSecret<string>;
5102
+ };
5103
+ secretOptions?: {
5104
+ [key: string]: ValueOrExternalSecret<string>;
5105
+ };
5106
+ };
5107
+ logRouterConfig: {
5108
+ type: 'fluentbit' | 'fluentd';
5109
+ options?: Record<string, unknown>;
5110
+ };
5111
+ environment?: {
5112
+ [key: string]: ValueOrExternalSecret<string>;
5113
+ };
5114
+ };
5064
5115
  }
5065
5116
 
5066
5117
  /**
@@ -5924,6 +5975,11 @@ export declare type SamplingInfo = Omit<SampledData, 'data'>;
5924
5975
  */
5925
5976
  export declare function satisfiedAccessPolicy(resource: Resource, interaction: AccessPolicyInteraction, accessPolicy: AccessPolicy | undefined): AccessPolicyResource | undefined;
5926
5977
 
5978
+ export declare interface SearchableToken {
5979
+ readonly system: string | undefined;
5980
+ readonly value: string | undefined;
5981
+ }
5982
+
5927
5983
  export declare interface SearchParameterDetails {
5928
5984
  readonly type: SearchParameterType;
5929
5985
  readonly elementDefinitions?: InternalSchemaElement[];
@@ -6348,6 +6404,11 @@ export declare interface TokenResponse {
6348
6404
  readonly profile: Reference<ProfileResource>;
6349
6405
  }
6350
6406
 
6407
+ export declare interface TokensContext {
6408
+ caseInsensitive?: boolean;
6409
+ textSearchSystem?: string;
6410
+ }
6411
+
6351
6412
  export declare const tooManyRequests: OperationOutcome;
6352
6413
 
6353
6414
  /**
@@ -581,6 +581,20 @@ export declare function convertContainedResourcesToBundle(resource: Resource & {
581
581
  contained?: Resource[];
582
582
  }): Bundle;
583
583
 
584
+ export declare function convertToSearchableDates(typedValues: TypedValue[]): Period[];
585
+
586
+ export declare function convertToSearchableNumbers(typedValues: TypedValue[]): [number | undefined, number | undefined][];
587
+
588
+ export declare function convertToSearchableQuantities(typedValues: TypedValue[]): Quantity[];
589
+
590
+ export declare function convertToSearchableReferences(typedValues: TypedValue[]): string[];
591
+
592
+ export declare function convertToSearchableStrings(typedValues: TypedValue[]): string[];
593
+
594
+ export declare function convertToSearchableTokens(typedValues: TypedValue[], context?: TokensContext): SearchableToken[];
595
+
596
+ export declare function convertToSearchableUris(typedValues: TypedValue[]): string[];
597
+
584
598
  /**
585
599
  * More on Bundles can be found here
586
600
  * http://hl7.org/fhir/R4/bundle.html
@@ -2392,6 +2406,7 @@ export declare interface InviteRequest {
2392
2406
  sendEmail?: boolean;
2393
2407
  membership?: Partial<ProjectMembership>;
2394
2408
  upsert?: boolean;
2409
+ forceNewMembership?: boolean;
2395
2410
  /** @deprecated Use membership.accessPolicy instead. */
2396
2411
  accessPolicy?: Reference<AccessPolicy>;
2397
2412
  /** @deprecated Use membership.access instead. */
@@ -4925,6 +4940,24 @@ export declare interface MedplumInfraConfig {
4925
4940
  environment?: StringMap;
4926
4941
  rdsIdsMajorVersionSuffix?: boolean;
4927
4942
  rdsPersistentParameterGroups?: boolean;
4943
+ fireLens?: {
4944
+ enabled: true;
4945
+ logDriverConfig?: {
4946
+ options?: {
4947
+ [key: string]: string;
4948
+ };
4949
+ secretOptions?: {
4950
+ [key: string]: string;
4951
+ };
4952
+ };
4953
+ logRouterConfig: {
4954
+ type: 'fluentbit' | 'fluentd';
4955
+ options?: Record<string, unknown>;
4956
+ };
4957
+ environment?: {
4958
+ [key: string]: string;
4959
+ };
4960
+ };
4928
4961
  }
4929
4962
 
4930
4963
  export declare class MedplumKeyValueClient {
@@ -5061,6 +5094,24 @@ export declare interface MedplumSourceInfraConfig {
5061
5094
  environment?: StringMap;
5062
5095
  rdsIdsMajorVersionSuffix?: boolean;
5063
5096
  rdsPersistentParameterGroups?: boolean;
5097
+ fireLens?: {
5098
+ enabled: true;
5099
+ logDriverConfig?: {
5100
+ options?: {
5101
+ [key: string]: ValueOrExternalSecret<string>;
5102
+ };
5103
+ secretOptions?: {
5104
+ [key: string]: ValueOrExternalSecret<string>;
5105
+ };
5106
+ };
5107
+ logRouterConfig: {
5108
+ type: 'fluentbit' | 'fluentd';
5109
+ options?: Record<string, unknown>;
5110
+ };
5111
+ environment?: {
5112
+ [key: string]: ValueOrExternalSecret<string>;
5113
+ };
5114
+ };
5064
5115
  }
5065
5116
 
5066
5117
  /**
@@ -5924,6 +5975,11 @@ export declare type SamplingInfo = Omit<SampledData, 'data'>;
5924
5975
  */
5925
5976
  export declare function satisfiedAccessPolicy(resource: Resource, interaction: AccessPolicyInteraction, accessPolicy: AccessPolicy | undefined): AccessPolicyResource | undefined;
5926
5977
 
5978
+ export declare interface SearchableToken {
5979
+ readonly system: string | undefined;
5980
+ readonly value: string | undefined;
5981
+ }
5982
+
5927
5983
  export declare interface SearchParameterDetails {
5928
5984
  readonly type: SearchParameterType;
5929
5985
  readonly elementDefinitions?: InternalSchemaElement[];
@@ -6348,6 +6404,11 @@ export declare interface TokenResponse {
6348
6404
  readonly profile: Reference<ProfileResource>;
6349
6405
  }
6350
6406
 
6407
+ export declare interface TokensContext {
6408
+ caseInsensitive?: boolean;
6409
+ textSearchSystem?: string;
6410
+ }
6411
+
6351
6412
  export declare const tooManyRequests: OperationOutcome;
6352
6413
 
6353
6414
  /**