@medplum/core 4.4.2 → 4.5.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.
- package/dist/cjs/index.cjs +8 -8
- package/dist/cjs/index.cjs.map +3 -3
- package/dist/cjs/index.d.ts +13 -1
- package/dist/esm/index.d.ts +13 -1
- package/dist/esm/index.mjs +7 -7
- package/dist/esm/index.mjs.map +3 -3
- package/package.json +3 -3
package/dist/cjs/index.d.ts
CHANGED
|
@@ -527,6 +527,15 @@ export declare function conceptMapTranslate(map: ConceptMap, params: ConceptMapT
|
|
|
527
527
|
export declare interface ConceptMapTranslateMatch {
|
|
528
528
|
equivalence?: string;
|
|
529
529
|
concept?: Coding;
|
|
530
|
+
property?: ConceptMapTranslateMatchAttribute[];
|
|
531
|
+
dependsOn?: ConceptMapTranslateMatchAttribute[];
|
|
532
|
+
product?: ConceptMapTranslateMatchAttribute[];
|
|
533
|
+
source?: string;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
export declare interface ConceptMapTranslateMatchAttribute {
|
|
537
|
+
key: string;
|
|
538
|
+
value: TypedValue;
|
|
530
539
|
}
|
|
531
540
|
|
|
532
541
|
export declare interface ConceptMapTranslateOutput {
|
|
@@ -2335,6 +2344,8 @@ export declare interface IncludeTarget {
|
|
|
2335
2344
|
modifier?: 'iterate';
|
|
2336
2345
|
}
|
|
2337
2346
|
|
|
2347
|
+
export declare function indexConceptMapCodings(params: ConceptMapTranslateParameters): Record<string, string[]>;
|
|
2348
|
+
|
|
2338
2349
|
export declare function indexDefaultSearchParameters(bundle: StructureDefinition[] | Bundle): void;
|
|
2339
2350
|
|
|
2340
2351
|
/**
|
|
@@ -5593,7 +5604,8 @@ export declare class ParserBuilder {
|
|
|
5593
5604
|
/**
|
|
5594
5605
|
* Parses a reference and returns a tuple of [ResourceType, ID].
|
|
5595
5606
|
* @param reference - A reference to a FHIR resource.
|
|
5596
|
-
* @returns A tuple containing the `ResourceType` and the ID of the resource
|
|
5607
|
+
* @returns A tuple containing the `ResourceType` and the ID of the resource.
|
|
5608
|
+
* @throws {OperationOutcomeError} If the reference cannot be parsed.
|
|
5597
5609
|
*/
|
|
5598
5610
|
export declare function parseReference<T extends Resource>(reference: Reference<T> | undefined): [T['resourceType'], string];
|
|
5599
5611
|
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -527,6 +527,15 @@ export declare function conceptMapTranslate(map: ConceptMap, params: ConceptMapT
|
|
|
527
527
|
export declare interface ConceptMapTranslateMatch {
|
|
528
528
|
equivalence?: string;
|
|
529
529
|
concept?: Coding;
|
|
530
|
+
property?: ConceptMapTranslateMatchAttribute[];
|
|
531
|
+
dependsOn?: ConceptMapTranslateMatchAttribute[];
|
|
532
|
+
product?: ConceptMapTranslateMatchAttribute[];
|
|
533
|
+
source?: string;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
export declare interface ConceptMapTranslateMatchAttribute {
|
|
537
|
+
key: string;
|
|
538
|
+
value: TypedValue;
|
|
530
539
|
}
|
|
531
540
|
|
|
532
541
|
export declare interface ConceptMapTranslateOutput {
|
|
@@ -2335,6 +2344,8 @@ export declare interface IncludeTarget {
|
|
|
2335
2344
|
modifier?: 'iterate';
|
|
2336
2345
|
}
|
|
2337
2346
|
|
|
2347
|
+
export declare function indexConceptMapCodings(params: ConceptMapTranslateParameters): Record<string, string[]>;
|
|
2348
|
+
|
|
2338
2349
|
export declare function indexDefaultSearchParameters(bundle: StructureDefinition[] | Bundle): void;
|
|
2339
2350
|
|
|
2340
2351
|
/**
|
|
@@ -5593,7 +5604,8 @@ export declare class ParserBuilder {
|
|
|
5593
5604
|
/**
|
|
5594
5605
|
* Parses a reference and returns a tuple of [ResourceType, ID].
|
|
5595
5606
|
* @param reference - A reference to a FHIR resource.
|
|
5596
|
-
* @returns A tuple containing the `ResourceType` and the ID of the resource
|
|
5607
|
+
* @returns A tuple containing the `ResourceType` and the ID of the resource.
|
|
5608
|
+
* @throws {OperationOutcomeError} If the reference cannot be parsed.
|
|
5597
5609
|
*/
|
|
5598
5610
|
export declare function parseReference<T extends Resource>(reference: Reference<T> | undefined): [T['resourceType'], string];
|
|
5599
5611
|
|