@medplum/ccda 4.1.4 → 4.1.6

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.
@@ -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
 
@@ -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