@medplum/ccda 4.0.3 → 4.1.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.
@@ -8,6 +8,8 @@ export declare const ADDRESS_USE_MAPPER: EnumMapper<"home" | "work", "HP" | "WP"
8
8
 
9
9
  export declare const ADDRESS_USE_VALUE_SET = "http://hl7.org/fhir/ValueSet/address-use";
10
10
 
11
+ export declare const ADMINISTRATIVE_GENDER_CODE_SYSTEM = "http://hl7.org/fhir/administrative-gender";
12
+
11
13
  export declare const ADMINISTRATIVE_GENDER_VALUE_SET = "http://hl7.org/fhir/ValueSet/administrative-gender";
12
14
 
13
15
  export declare const ALLERGIES_SECTION_TEMPLATE_IDS: CcdaTemplateId[];
@@ -36,6 +38,7 @@ export declare interface Ccda {
36
38
  author?: CcdaAuthor[];
37
39
  effectiveTime?: CcdaEffectiveTime[];
38
40
  custodian?: CcdaCustodian;
41
+ informationRecipient?: CcdaInformationRecipient;
39
42
  documentationOf?: CcdaDocumentationOf;
40
43
  title?: string;
41
44
  code?: CcdaCode;
@@ -61,8 +64,9 @@ export declare interface CcdaAct {
61
64
  templateId: CcdaTemplateId[];
62
65
  id?: CcdaId[];
63
66
  code: CcdaCode;
64
- statusCode: CcdaCode;
67
+ statusCode?: CcdaCode;
65
68
  effectiveTime?: CcdaEffectiveTime[];
69
+ priorityCode?: CcdaCode;
66
70
  entryRelationship?: CcdaEntryRelationship[];
67
71
  author?: CcdaAuthor[];
68
72
  text?: CcdaText;
@@ -85,10 +89,18 @@ export declare interface CcdaAssignedAuthor {
85
89
  assignedPerson?: CcdaAssignedPerson;
86
90
  addr: CcdaAddr[];
87
91
  telecom: CcdaTelecom[];
92
+ assignedAuthoringDevice?: CcdaAssignedAuthoringDevice;
93
+ representedOrganization?: CcdaOrganization;
94
+ }
95
+
96
+ export declare interface CcdaAssignedAuthoringDevice {
97
+ id?: CcdaId[];
98
+ manufacturerModelName?: string;
99
+ softwareName?: string;
88
100
  }
89
101
 
90
102
  export declare interface CcdaAssignedCustodian {
91
- representedCustodianOrganization: CcdaRepresentedCustodianOrganization;
103
+ representedCustodianOrganization: CcdaOrganization;
92
104
  }
93
105
 
94
106
  export declare interface CcdaAssignedEntity {
@@ -96,7 +108,7 @@ export declare interface CcdaAssignedEntity {
96
108
  addr: CcdaAddr[];
97
109
  telecom: CcdaTelecom[];
98
110
  assignedPerson?: CcdaAssignedPerson;
99
- representedOrganization?: CcdaRepresentedOrganization;
111
+ representedOrganization?: CcdaOrganization;
100
112
  }
101
113
 
102
114
  export declare interface CcdaAssignedPerson {
@@ -118,6 +130,7 @@ export declare interface CcdaCode<T extends string = string> {
118
130
  '@_displayName'?: string;
119
131
  originalText?: CcdaText;
120
132
  translation?: CcdaCode[];
133
+ '@_nullFlavor'?: 'UNK' | 'NA';
121
134
  }
122
135
 
123
136
  export declare interface CcdaConsumable {
@@ -186,12 +199,24 @@ export declare interface CcdaId {
186
199
  '@_assigningAuthorityName'?: string;
187
200
  }
188
201
 
202
+ export declare interface CcdaInformationRecipient {
203
+ intendedRecipient: CcdaIntendedRecipient;
204
+ }
205
+
206
+ export declare interface CcdaInformationRecipientEntry {
207
+ name?: CcdaName[];
208
+ }
209
+
189
210
  export declare interface CcdaInnerComponent {
190
211
  section: CcdaSection[];
191
212
  }
192
213
 
214
+ export declare interface CcdaIntendedRecipient {
215
+ informationRecipient: CcdaInformationRecipientEntry;
216
+ }
217
+
193
218
  export declare interface CcdaLanguageCommunication {
194
- '@_languageCode'?: string;
219
+ languageCode?: CcdaCode;
195
220
  }
196
221
 
197
222
  export declare interface CcdaList {
@@ -211,16 +236,10 @@ export declare interface CcdaManufacturedProduct {
211
236
  '@_classCode'?: string;
212
237
  templateId?: CcdaTemplateId[];
213
238
  manufacturedMaterial?: CcdaManufacturedMaterial[];
214
- manufacturerOrganization?: CcdaManufacturerOrganization[];
239
+ manufacturerOrganization?: CcdaOrganization[];
215
240
  manufacturedLabeledDrug?: CcdaManufacturedLabeledDrug[];
216
241
  }
217
242
 
218
- export declare interface CcdaManufacturerOrganization {
219
- '@_classCode'?: string;
220
- id?: CcdaId[];
221
- name: string[];
222
- }
223
-
224
243
  export declare interface CcdaName {
225
244
  '@_use'?: 'ANON' | 'C' | 'L' | 'P' | 'TEMP';
226
245
  family?: string;
@@ -234,6 +253,7 @@ export declare type CcdaNarrative = Record<string, unknown>;
234
253
  export declare interface CcdaObservation {
235
254
  '@_classCode': string;
236
255
  '@_moodCode': string;
256
+ '@_negationInd'?: string;
237
257
  templateId: CcdaTemplateId[];
238
258
  id?: CcdaId[];
239
259
  code?: CcdaCode;
@@ -252,6 +272,14 @@ export declare interface CcdaObservationRange {
252
272
  value?: CcdaValue;
253
273
  }
254
274
 
275
+ export declare interface CcdaOrganization {
276
+ '@_classCode'?: string;
277
+ id?: CcdaId[];
278
+ name?: string[];
279
+ telecom?: CcdaTelecom[];
280
+ addr?: CcdaAddr[];
281
+ }
282
+
255
283
  export declare interface CcdaOrganizer {
256
284
  '@_classCode': 'CLUSTER';
257
285
  '@_moodCode': 'EVN';
@@ -296,6 +324,7 @@ export declare interface CcdaPatient {
296
324
  administrativeGenderCode?: CcdaCode;
297
325
  birthTime?: CcdaTimeStamp;
298
326
  raceCode?: CcdaCode[];
327
+ 'sdtc:raceCode'?: CcdaCode[];
299
328
  ethnicGroupCode?: CcdaCode[];
300
329
  languageCommunication?: CcdaLanguageCommunication[];
301
330
  }
@@ -371,20 +400,6 @@ export declare interface CcdaReferenceRange {
371
400
  observationRange: CcdaObservationRange;
372
401
  }
373
402
 
374
- export declare interface CcdaRepresentedCustodianOrganization {
375
- id?: CcdaId[];
376
- name?: string[];
377
- telecom?: CcdaTelecom[];
378
- addr?: CcdaAddr[];
379
- }
380
-
381
- export declare interface CcdaRepresentedOrganization {
382
- id?: CcdaId[];
383
- name?: string[];
384
- telecom?: CcdaTelecom[];
385
- addr?: CcdaAddr[];
386
- }
387
-
388
403
  export declare interface CcdaScopingEntity {
389
404
  '@_classCode'?: string;
390
405
  '@_typeCode'?: string;
@@ -399,7 +414,8 @@ export declare interface CcdaSection {
399
414
  code?: CcdaCode;
400
415
  title?: string;
401
416
  text?: CcdaNarrative | string;
402
- entry: CcdaEntry[];
417
+ author?: CcdaAuthor[];
418
+ entry?: CcdaEntry[];
403
419
  }
404
420
 
405
421
  export declare interface CcdaServiceEvent {
@@ -431,7 +447,7 @@ export declare interface CcdaSubstanceAdministration {
431
447
  }
432
448
 
433
449
  export declare interface CcdaTelecom {
434
- '@_use'?: 'HP' | 'WP';
450
+ '@_use'?: 'HP' | 'WP' | 'MC';
435
451
  '@_value'?: string;
436
452
  '@_nullFlavor'?: 'UNK';
437
453
  }
@@ -487,9 +503,10 @@ export declare function convertCcdaToXml(ccda: Ccda): string;
487
503
  /**
488
504
  * Convert a FHIR bundle to a C-CDA document.
489
505
  * @param bundle - The FHIR bundle to convert.
506
+ * @param options - Optional options.
490
507
  * @returns The C-CDA document.
491
508
  */
492
- export declare function convertFhirToCcda(bundle: Bundle): Ccda;
509
+ export declare function convertFhirToCcda(bundle: Bundle, options?: FhirToCcdaOptions): Ccda;
493
510
 
494
511
  export declare function convertToCompactXml(obj: any): string;
495
512
 
@@ -531,6 +548,13 @@ export declare class EnumMapper<TFhirValue extends string, TCcdaValue extends st
531
548
 
532
549
  export declare const FHIR_CVX_URL = "http://hl7.org/fhir/sid/cvx";
533
550
 
551
+ export declare interface FhirToCcdaOptions {
552
+ /**
553
+ * Type of C-CDA document to generate.
554
+ */
555
+ type?: 'referral' | 'discharge' | 'summary';
556
+ }
557
+
534
558
  export declare const GENDER_MAPPER: EnumMapper<"unknown" | "female" | "male" | "other", "M" | "F" | "UN">;
535
559
 
536
560
  export declare const GOALS_SECTION_TEMPLATE_IDS: CcdaTemplateId[];
@@ -562,8 +586,68 @@ export declare const LANGUAGE_PROFICIENCY_CODE_SYSTEM = "http://terminology.hl7.
562
586
 
563
587
  export declare const LANGUAGE_PROFICIENCY_URL = "http://hl7.org/fhir/StructureDefinition/language-proficiency";
564
588
 
589
+ export declare const LOINC_ADMINISTRATIVE_SEX = "46098-0";
590
+
591
+ export declare const LOINC_ALLERGIES_SECTION = "48765-2";
592
+
593
+ export declare const LOINC_ASSESSMENTS_SECTION = "51848-0";
594
+
595
+ export declare const LOINC_BIRTH_SEX = "76689-9";
596
+
597
+ export declare const LOINC_CARE_TEAM_SECTION = "85847-2";
598
+
599
+ export declare const LOINC_CONDITION = "75323-6";
600
+
601
+ export declare const LOINC_DEVICES_SECTION = "46264-8";
602
+
603
+ export declare const LOINC_ENCOUNTERS_SECTION = "46240-8";
604
+
605
+ export declare const LOINC_GOALS_SECTION = "61146-7";
606
+
607
+ export declare const LOINC_HEALTH_CONCERNS_SECTION = "75310-3";
608
+
609
+ export declare const LOINC_HISTORY_OF_TOBACCO_USE = "11367-0";
610
+
611
+ export declare const LOINC_IMMUNIZATIONS_SECTION = "11369-6";
612
+
613
+ export declare const LOINC_INSURANCE_SECTION = "48768-6";
614
+
615
+ export declare const LOINC_MEDICATION_INSTRUCTIONS = "76662-6";
616
+
617
+ export declare const LOINC_MEDICATIONS_SECTION = "10160-0";
618
+
619
+ export declare const LOINC_MENTAL_STATUS_SECTION = "10190-7";
620
+
621
+ export declare const LOINC_NOTE_DOCUMENT = "34109-9";
622
+
623
+ export declare const LOINC_NOTES_SECTION = "11488-4";
624
+
625
+ export declare const LOINC_OVERALL_GOAL = "58144-7";
626
+
627
+ export declare const LOINC_PATIENT_SUMMARY_DOCUMENT = "60591-5";
628
+
629
+ export declare const LOINC_PLAN_OF_TREATMENT_SECTION = "18776-5";
630
+
631
+ export declare const LOINC_PROBLEMS_SECTION = "11450-4";
632
+
633
+ export declare const LOINC_PROCEDURES_SECTION = "47519-4";
634
+
635
+ export declare const LOINC_REASON_FOR_REFERRAL_SECTION = "42349-1";
636
+
637
+ export declare const LOINC_REFERRAL_NOTE = "57133-1";
638
+
639
+ export declare const LOINC_RESULTS_SECTION = "30954-2";
640
+
641
+ export declare const LOINC_SOCIAL_HISTORY_SECTION = "29762-2";
642
+
643
+ export declare const LOINC_SUMMARY_OF_EPISODE_NOTE = "34133-9";
644
+
565
645
  export declare const LOINC_TO_TEMPLATE_IDS: Record<string, CcdaTemplateId[]>;
566
646
 
647
+ export declare const LOINC_TOBACCO_SMOKING_STATUS = "72166-2";
648
+
649
+ export declare const LOINC_VITAL_SIGNS_SECTION = "8716-3";
650
+
567
651
  /**
568
652
  * Map the C-CDA system to the FHIR system.
569
653
  * @param ccda - The C-CDA system to map.
@@ -667,13 +751,21 @@ export declare const RACE_CODE_SYSTEM = "http://terminology.hl7.org/CodeSystem/v
667
751
 
668
752
  export declare const REASON_FOR_REFERRAL_SECTION_TEMPLATE_IDS: CcdaTemplateId[];
669
753
 
754
+ export declare const REFERRAL_TEMPLATE_IDS: ({
755
+ '@_root': string;
756
+ '@_extension': string;
757
+ } | {
758
+ '@_root': string;
759
+ '@_extension'?: undefined;
760
+ })[];
761
+
670
762
  export declare const RESULTS_SECTION_TEMPLATE_IDS: CcdaTemplateId[];
671
763
 
672
764
  export declare const SOCIAL_HISTORY_SECTION_TEMPLATE_IDS: CcdaTemplateId[];
673
765
 
674
766
  export declare const SYSTEM_MAPPER: EnumMapper<string, string>;
675
767
 
676
- export declare const TELECOM_USE_MAPPER: EnumMapper<"home" | "work", "HP" | "WP">;
768
+ export declare const TELECOM_USE_MAPPER: EnumMapper<"home" | "work" | "mobile", "HP" | "WP" | "MC">;
677
769
 
678
770
  export declare const UNII_URL = "http://fdasis.nlm.nih.gov";
679
771
 
@@ -8,6 +8,8 @@ export declare const ADDRESS_USE_MAPPER: EnumMapper<"home" | "work", "HP" | "WP"
8
8
 
9
9
  export declare const ADDRESS_USE_VALUE_SET = "http://hl7.org/fhir/ValueSet/address-use";
10
10
 
11
+ export declare const ADMINISTRATIVE_GENDER_CODE_SYSTEM = "http://hl7.org/fhir/administrative-gender";
12
+
11
13
  export declare const ADMINISTRATIVE_GENDER_VALUE_SET = "http://hl7.org/fhir/ValueSet/administrative-gender";
12
14
 
13
15
  export declare const ALLERGIES_SECTION_TEMPLATE_IDS: CcdaTemplateId[];
@@ -36,6 +38,7 @@ export declare interface Ccda {
36
38
  author?: CcdaAuthor[];
37
39
  effectiveTime?: CcdaEffectiveTime[];
38
40
  custodian?: CcdaCustodian;
41
+ informationRecipient?: CcdaInformationRecipient;
39
42
  documentationOf?: CcdaDocumentationOf;
40
43
  title?: string;
41
44
  code?: CcdaCode;
@@ -61,8 +64,9 @@ export declare interface CcdaAct {
61
64
  templateId: CcdaTemplateId[];
62
65
  id?: CcdaId[];
63
66
  code: CcdaCode;
64
- statusCode: CcdaCode;
67
+ statusCode?: CcdaCode;
65
68
  effectiveTime?: CcdaEffectiveTime[];
69
+ priorityCode?: CcdaCode;
66
70
  entryRelationship?: CcdaEntryRelationship[];
67
71
  author?: CcdaAuthor[];
68
72
  text?: CcdaText;
@@ -85,10 +89,18 @@ export declare interface CcdaAssignedAuthor {
85
89
  assignedPerson?: CcdaAssignedPerson;
86
90
  addr: CcdaAddr[];
87
91
  telecom: CcdaTelecom[];
92
+ assignedAuthoringDevice?: CcdaAssignedAuthoringDevice;
93
+ representedOrganization?: CcdaOrganization;
94
+ }
95
+
96
+ export declare interface CcdaAssignedAuthoringDevice {
97
+ id?: CcdaId[];
98
+ manufacturerModelName?: string;
99
+ softwareName?: string;
88
100
  }
89
101
 
90
102
  export declare interface CcdaAssignedCustodian {
91
- representedCustodianOrganization: CcdaRepresentedCustodianOrganization;
103
+ representedCustodianOrganization: CcdaOrganization;
92
104
  }
93
105
 
94
106
  export declare interface CcdaAssignedEntity {
@@ -96,7 +108,7 @@ export declare interface CcdaAssignedEntity {
96
108
  addr: CcdaAddr[];
97
109
  telecom: CcdaTelecom[];
98
110
  assignedPerson?: CcdaAssignedPerson;
99
- representedOrganization?: CcdaRepresentedOrganization;
111
+ representedOrganization?: CcdaOrganization;
100
112
  }
101
113
 
102
114
  export declare interface CcdaAssignedPerson {
@@ -118,6 +130,7 @@ export declare interface CcdaCode<T extends string = string> {
118
130
  '@_displayName'?: string;
119
131
  originalText?: CcdaText;
120
132
  translation?: CcdaCode[];
133
+ '@_nullFlavor'?: 'UNK' | 'NA';
121
134
  }
122
135
 
123
136
  export declare interface CcdaConsumable {
@@ -186,12 +199,24 @@ export declare interface CcdaId {
186
199
  '@_assigningAuthorityName'?: string;
187
200
  }
188
201
 
202
+ export declare interface CcdaInformationRecipient {
203
+ intendedRecipient: CcdaIntendedRecipient;
204
+ }
205
+
206
+ export declare interface CcdaInformationRecipientEntry {
207
+ name?: CcdaName[];
208
+ }
209
+
189
210
  export declare interface CcdaInnerComponent {
190
211
  section: CcdaSection[];
191
212
  }
192
213
 
214
+ export declare interface CcdaIntendedRecipient {
215
+ informationRecipient: CcdaInformationRecipientEntry;
216
+ }
217
+
193
218
  export declare interface CcdaLanguageCommunication {
194
- '@_languageCode'?: string;
219
+ languageCode?: CcdaCode;
195
220
  }
196
221
 
197
222
  export declare interface CcdaList {
@@ -211,16 +236,10 @@ export declare interface CcdaManufacturedProduct {
211
236
  '@_classCode'?: string;
212
237
  templateId?: CcdaTemplateId[];
213
238
  manufacturedMaterial?: CcdaManufacturedMaterial[];
214
- manufacturerOrganization?: CcdaManufacturerOrganization[];
239
+ manufacturerOrganization?: CcdaOrganization[];
215
240
  manufacturedLabeledDrug?: CcdaManufacturedLabeledDrug[];
216
241
  }
217
242
 
218
- export declare interface CcdaManufacturerOrganization {
219
- '@_classCode'?: string;
220
- id?: CcdaId[];
221
- name: string[];
222
- }
223
-
224
243
  export declare interface CcdaName {
225
244
  '@_use'?: 'ANON' | 'C' | 'L' | 'P' | 'TEMP';
226
245
  family?: string;
@@ -234,6 +253,7 @@ export declare type CcdaNarrative = Record<string, unknown>;
234
253
  export declare interface CcdaObservation {
235
254
  '@_classCode': string;
236
255
  '@_moodCode': string;
256
+ '@_negationInd'?: string;
237
257
  templateId: CcdaTemplateId[];
238
258
  id?: CcdaId[];
239
259
  code?: CcdaCode;
@@ -252,6 +272,14 @@ export declare interface CcdaObservationRange {
252
272
  value?: CcdaValue;
253
273
  }
254
274
 
275
+ export declare interface CcdaOrganization {
276
+ '@_classCode'?: string;
277
+ id?: CcdaId[];
278
+ name?: string[];
279
+ telecom?: CcdaTelecom[];
280
+ addr?: CcdaAddr[];
281
+ }
282
+
255
283
  export declare interface CcdaOrganizer {
256
284
  '@_classCode': 'CLUSTER';
257
285
  '@_moodCode': 'EVN';
@@ -296,6 +324,7 @@ export declare interface CcdaPatient {
296
324
  administrativeGenderCode?: CcdaCode;
297
325
  birthTime?: CcdaTimeStamp;
298
326
  raceCode?: CcdaCode[];
327
+ 'sdtc:raceCode'?: CcdaCode[];
299
328
  ethnicGroupCode?: CcdaCode[];
300
329
  languageCommunication?: CcdaLanguageCommunication[];
301
330
  }
@@ -371,20 +400,6 @@ export declare interface CcdaReferenceRange {
371
400
  observationRange: CcdaObservationRange;
372
401
  }
373
402
 
374
- export declare interface CcdaRepresentedCustodianOrganization {
375
- id?: CcdaId[];
376
- name?: string[];
377
- telecom?: CcdaTelecom[];
378
- addr?: CcdaAddr[];
379
- }
380
-
381
- export declare interface CcdaRepresentedOrganization {
382
- id?: CcdaId[];
383
- name?: string[];
384
- telecom?: CcdaTelecom[];
385
- addr?: CcdaAddr[];
386
- }
387
-
388
403
  export declare interface CcdaScopingEntity {
389
404
  '@_classCode'?: string;
390
405
  '@_typeCode'?: string;
@@ -399,7 +414,8 @@ export declare interface CcdaSection {
399
414
  code?: CcdaCode;
400
415
  title?: string;
401
416
  text?: CcdaNarrative | string;
402
- entry: CcdaEntry[];
417
+ author?: CcdaAuthor[];
418
+ entry?: CcdaEntry[];
403
419
  }
404
420
 
405
421
  export declare interface CcdaServiceEvent {
@@ -431,7 +447,7 @@ export declare interface CcdaSubstanceAdministration {
431
447
  }
432
448
 
433
449
  export declare interface CcdaTelecom {
434
- '@_use'?: 'HP' | 'WP';
450
+ '@_use'?: 'HP' | 'WP' | 'MC';
435
451
  '@_value'?: string;
436
452
  '@_nullFlavor'?: 'UNK';
437
453
  }
@@ -487,9 +503,10 @@ export declare function convertCcdaToXml(ccda: Ccda): string;
487
503
  /**
488
504
  * Convert a FHIR bundle to a C-CDA document.
489
505
  * @param bundle - The FHIR bundle to convert.
506
+ * @param options - Optional options.
490
507
  * @returns The C-CDA document.
491
508
  */
492
- export declare function convertFhirToCcda(bundle: Bundle): Ccda;
509
+ export declare function convertFhirToCcda(bundle: Bundle, options?: FhirToCcdaOptions): Ccda;
493
510
 
494
511
  export declare function convertToCompactXml(obj: any): string;
495
512
 
@@ -531,6 +548,13 @@ export declare class EnumMapper<TFhirValue extends string, TCcdaValue extends st
531
548
 
532
549
  export declare const FHIR_CVX_URL = "http://hl7.org/fhir/sid/cvx";
533
550
 
551
+ export declare interface FhirToCcdaOptions {
552
+ /**
553
+ * Type of C-CDA document to generate.
554
+ */
555
+ type?: 'referral' | 'discharge' | 'summary';
556
+ }
557
+
534
558
  export declare const GENDER_MAPPER: EnumMapper<"unknown" | "female" | "male" | "other", "M" | "F" | "UN">;
535
559
 
536
560
  export declare const GOALS_SECTION_TEMPLATE_IDS: CcdaTemplateId[];
@@ -562,8 +586,68 @@ export declare const LANGUAGE_PROFICIENCY_CODE_SYSTEM = "http://terminology.hl7.
562
586
 
563
587
  export declare const LANGUAGE_PROFICIENCY_URL = "http://hl7.org/fhir/StructureDefinition/language-proficiency";
564
588
 
589
+ export declare const LOINC_ADMINISTRATIVE_SEX = "46098-0";
590
+
591
+ export declare const LOINC_ALLERGIES_SECTION = "48765-2";
592
+
593
+ export declare const LOINC_ASSESSMENTS_SECTION = "51848-0";
594
+
595
+ export declare const LOINC_BIRTH_SEX = "76689-9";
596
+
597
+ export declare const LOINC_CARE_TEAM_SECTION = "85847-2";
598
+
599
+ export declare const LOINC_CONDITION = "75323-6";
600
+
601
+ export declare const LOINC_DEVICES_SECTION = "46264-8";
602
+
603
+ export declare const LOINC_ENCOUNTERS_SECTION = "46240-8";
604
+
605
+ export declare const LOINC_GOALS_SECTION = "61146-7";
606
+
607
+ export declare const LOINC_HEALTH_CONCERNS_SECTION = "75310-3";
608
+
609
+ export declare const LOINC_HISTORY_OF_TOBACCO_USE = "11367-0";
610
+
611
+ export declare const LOINC_IMMUNIZATIONS_SECTION = "11369-6";
612
+
613
+ export declare const LOINC_INSURANCE_SECTION = "48768-6";
614
+
615
+ export declare const LOINC_MEDICATION_INSTRUCTIONS = "76662-6";
616
+
617
+ export declare const LOINC_MEDICATIONS_SECTION = "10160-0";
618
+
619
+ export declare const LOINC_MENTAL_STATUS_SECTION = "10190-7";
620
+
621
+ export declare const LOINC_NOTE_DOCUMENT = "34109-9";
622
+
623
+ export declare const LOINC_NOTES_SECTION = "11488-4";
624
+
625
+ export declare const LOINC_OVERALL_GOAL = "58144-7";
626
+
627
+ export declare const LOINC_PATIENT_SUMMARY_DOCUMENT = "60591-5";
628
+
629
+ export declare const LOINC_PLAN_OF_TREATMENT_SECTION = "18776-5";
630
+
631
+ export declare const LOINC_PROBLEMS_SECTION = "11450-4";
632
+
633
+ export declare const LOINC_PROCEDURES_SECTION = "47519-4";
634
+
635
+ export declare const LOINC_REASON_FOR_REFERRAL_SECTION = "42349-1";
636
+
637
+ export declare const LOINC_REFERRAL_NOTE = "57133-1";
638
+
639
+ export declare const LOINC_RESULTS_SECTION = "30954-2";
640
+
641
+ export declare const LOINC_SOCIAL_HISTORY_SECTION = "29762-2";
642
+
643
+ export declare const LOINC_SUMMARY_OF_EPISODE_NOTE = "34133-9";
644
+
565
645
  export declare const LOINC_TO_TEMPLATE_IDS: Record<string, CcdaTemplateId[]>;
566
646
 
647
+ export declare const LOINC_TOBACCO_SMOKING_STATUS = "72166-2";
648
+
649
+ export declare const LOINC_VITAL_SIGNS_SECTION = "8716-3";
650
+
567
651
  /**
568
652
  * Map the C-CDA system to the FHIR system.
569
653
  * @param ccda - The C-CDA system to map.
@@ -667,13 +751,21 @@ export declare const RACE_CODE_SYSTEM = "http://terminology.hl7.org/CodeSystem/v
667
751
 
668
752
  export declare const REASON_FOR_REFERRAL_SECTION_TEMPLATE_IDS: CcdaTemplateId[];
669
753
 
754
+ export declare const REFERRAL_TEMPLATE_IDS: ({
755
+ '@_root': string;
756
+ '@_extension': string;
757
+ } | {
758
+ '@_root': string;
759
+ '@_extension'?: undefined;
760
+ })[];
761
+
670
762
  export declare const RESULTS_SECTION_TEMPLATE_IDS: CcdaTemplateId[];
671
763
 
672
764
  export declare const SOCIAL_HISTORY_SECTION_TEMPLATE_IDS: CcdaTemplateId[];
673
765
 
674
766
  export declare const SYSTEM_MAPPER: EnumMapper<string, string>;
675
767
 
676
- export declare const TELECOM_USE_MAPPER: EnumMapper<"home" | "work", "HP" | "WP">;
768
+ export declare const TELECOM_USE_MAPPER: EnumMapper<"home" | "work" | "mobile", "HP" | "WP" | "MC">;
677
769
 
678
770
  export declare const UNII_URL = "http://fdasis.nlm.nih.gov";
679
771