@medplum/ccda 4.1.5 → 4.1.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.
- package/dist/cjs/index.cjs +2 -2
- package/dist/cjs/index.cjs.map +4 -4
- package/dist/cjs/index.d.ts +6 -1
- package/dist/esm/index.d.ts +6 -1
- package/dist/esm/index.mjs +2 -2
- package/dist/esm/index.mjs.map +4 -4
- package/package.json +5 -5
package/dist/cjs/index.d.ts
CHANGED
|
@@ -468,6 +468,10 @@ export declare interface CcdaTimeStamp {
|
|
|
468
468
|
'@_nullFlavor'?: string;
|
|
469
469
|
}
|
|
470
470
|
|
|
471
|
+
export declare interface CcdaToFhirOptions {
|
|
472
|
+
ignoreUnsupportedSections?: boolean;
|
|
473
|
+
}
|
|
474
|
+
|
|
471
475
|
export declare type CcdaValue = CcdaCode | CcdaText | CcdaQuantity | CcdaReference;
|
|
472
476
|
|
|
473
477
|
export declare const CLINICAL_CONDITION_CODE_SYSTEM = "http://terminology.hl7.org/CodeSystem/condition-clinical";
|
|
@@ -494,9 +498,10 @@ export declare const CONTACT_ENTITY_USE_VALUE_SET = "http://hl7.org/fhir/ValueSe
|
|
|
494
498
|
* - Adds proper metadata and timestamps
|
|
495
499
|
*
|
|
496
500
|
* @param ccda - The C-CDA document to convert
|
|
501
|
+
* @param options - Optional conversion options
|
|
497
502
|
* @returns The converted FHIR resources
|
|
498
503
|
*/
|
|
499
|
-
export declare function convertCcdaToFhir(ccda: Ccda): Bundle;
|
|
504
|
+
export declare function convertCcdaToFhir(ccda: Ccda, options?: CcdaToFhirOptions): Bundle;
|
|
500
505
|
|
|
501
506
|
export declare function convertCcdaToXml(ccda: Ccda): string;
|
|
502
507
|
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -468,6 +468,10 @@ export declare interface CcdaTimeStamp {
|
|
|
468
468
|
'@_nullFlavor'?: string;
|
|
469
469
|
}
|
|
470
470
|
|
|
471
|
+
export declare interface CcdaToFhirOptions {
|
|
472
|
+
ignoreUnsupportedSections?: boolean;
|
|
473
|
+
}
|
|
474
|
+
|
|
471
475
|
export declare type CcdaValue = CcdaCode | CcdaText | CcdaQuantity | CcdaReference;
|
|
472
476
|
|
|
473
477
|
export declare const CLINICAL_CONDITION_CODE_SYSTEM = "http://terminology.hl7.org/CodeSystem/condition-clinical";
|
|
@@ -494,9 +498,10 @@ export declare const CONTACT_ENTITY_USE_VALUE_SET = "http://hl7.org/fhir/ValueSe
|
|
|
494
498
|
* - Adds proper metadata and timestamps
|
|
495
499
|
*
|
|
496
500
|
* @param ccda - The C-CDA document to convert
|
|
501
|
+
* @param options - Optional conversion options
|
|
497
502
|
* @returns The converted FHIR resources
|
|
498
503
|
*/
|
|
499
|
-
export declare function convertCcdaToFhir(ccda: Ccda): Bundle;
|
|
504
|
+
export declare function convertCcdaToFhir(ccda: Ccda, options?: CcdaToFhirOptions): Bundle;
|
|
500
505
|
|
|
501
506
|
export declare function convertCcdaToXml(ccda: Ccda): string;
|
|
502
507
|
|