gdc-common-utils-ts 2.2.2 → 2.3.1
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/README.md +4 -2
- package/dist/constants/data-collections.js +0 -1
- package/dist/constants/fhir-resource-types.d.ts +14 -0
- package/dist/constants/fhir-resource-types.js +6 -0
- package/dist/constants/healthcare.d.ts +348 -193
- package/dist/constants/healthcare.js +99 -37
- package/dist/constants/hl7-roles.d.ts +38 -4
- package/dist/constants/hl7-roles.js +92 -4
- package/dist/examples/shared.d.ts +1 -1
- package/dist/examples/shared.js +1 -1
- package/dist/i18n/role-codes.i18n.d.ts +9 -1
- package/dist/i18n/role-codes.i18n.js +12 -1
- package/dist/models/device-license.d.ts +20 -0
- package/dist/models/interoperable-claims/invoice-claims.d.ts +1 -1
- package/dist/models/interoperable-claims/invoice-claims.js +2 -2
- package/dist/models/interoperable-claims/observation-claims.d.ts +2 -2
- package/dist/models/interoperable-claims/observation-claims.js +2 -2
- package/dist/models/interoperable-claims/related-person-claims.d.ts +13 -0
- package/dist/models/interoperable-claims/related-person-claims.js +16 -0
- package/dist/utils/allergy-intolerance-entry-editor.js +2 -2
- package/dist/utils/bundle-document-builder.d.ts +35 -0
- package/dist/utils/bundle-document-builder.js +176 -0
- package/dist/utils/clinical-resource-view.d.ts +16 -0
- package/dist/utils/clinical-resource-view.js +267 -33
- package/dist/utils/communication-consent-access-editor.d.ts +8 -4
- package/dist/utils/communication-consent-access-editor.js +8 -4
- package/dist/utils/condition-entry-editor.js +2 -2
- package/dist/utils/consent-duplicate-rules.js +1 -1
- package/dist/utils/did.d.ts +2 -2
- package/dist/utils/did.js +3 -3
- package/dist/utils/license-list-search.d.ts +5 -0
- package/dist/utils/license-list-search.js +9 -0
- package/dist/utils/license.d.ts +45 -1
- package/dist/utils/license.js +86 -2
- package/dist/utils/related-person-list.d.ts +4 -0
- package/dist/utils/related-person-list.js +26 -6
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { LOINC_SYSTEM_URL } from '../models/clinical-sections';
|
|
2
2
|
import { type DataspaceSector } from './sectors';
|
|
3
|
+
import { type ResourceTypeFhirR4 } from './fhir-resource-types';
|
|
3
4
|
export type HealthcareSectionDescriptor = Readonly<{
|
|
4
5
|
system: typeof LOINC_SYSTEM_URL;
|
|
5
6
|
code: string;
|
|
@@ -37,12 +38,18 @@ export declare const HealthcareRoleFamilies: Readonly<{
|
|
|
37
38
|
readonly LegalRepresentativeHl7: "legalRepresentativeHl7";
|
|
38
39
|
}>;
|
|
39
40
|
export type HealthcareRoleFamily = typeof HealthcareRoleFamilies[keyof typeof HealthcareRoleFamilies];
|
|
41
|
+
/**
|
|
42
|
+
* Canonical HL7 access role codes used by self-managed and controller flows.
|
|
43
|
+
*
|
|
44
|
+
* These are the values the portal and shared backend should persist and match.
|
|
45
|
+
*/
|
|
46
|
+
export type Hl7PersonalAccessRoleCode = 'ONESELF' | 'RESPRSN';
|
|
40
47
|
export type HealthcareActorRoleDescriptor = Readonly<{
|
|
41
48
|
family: HealthcareRoleFamily;
|
|
42
49
|
codingSystem: string;
|
|
43
50
|
code: string;
|
|
44
51
|
claim: string;
|
|
45
|
-
i18nKey: `org.ilo.isco-08.${string}` | `org.
|
|
52
|
+
i18nKey: `org.ilo.isco-08.${string}` | `org.isco08.${string}` | `org.hl7.terminology.CodeSystem.v3-RoleCode.${string}`;
|
|
46
53
|
titleEn: string;
|
|
47
54
|
definition?: string;
|
|
48
55
|
}>;
|
|
@@ -66,34 +73,8 @@ export declare const HealthcareCanonicalSectionFamilies: Readonly<{
|
|
|
66
73
|
readonly SubjectMatterDomain: "subject-matter-domain";
|
|
67
74
|
}>;
|
|
68
75
|
export type HealthcareCanonicalSectionFamily = typeof HealthcareCanonicalSectionFamilies[keyof typeof HealthcareCanonicalSectionFamilies];
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
system: typeof LOINC_SYSTEM_URL;
|
|
72
|
-
code: string;
|
|
73
|
-
attributeValue: string;
|
|
74
|
-
/**
|
|
75
|
-
* @deprecated Use `attributeValue`.
|
|
76
|
-
* Kept as compatibility alias because this token is a reusable claim value,
|
|
77
|
-
* not a claim key/attribute name.
|
|
78
|
-
*/
|
|
79
|
-
claim: string;
|
|
80
|
-
i18nKey: `org.loinc.${string}`;
|
|
81
|
-
titleEn?: string;
|
|
82
|
-
}>;
|
|
83
|
-
AllergiesAndIntolerances: Readonly<{
|
|
84
|
-
system: typeof LOINC_SYSTEM_URL;
|
|
85
|
-
code: string;
|
|
86
|
-
attributeValue: string;
|
|
87
|
-
/**
|
|
88
|
-
* @deprecated Use `attributeValue`.
|
|
89
|
-
* Kept as compatibility alias because this token is a reusable claim value,
|
|
90
|
-
* not a claim key/attribute name.
|
|
91
|
-
*/
|
|
92
|
-
claim: string;
|
|
93
|
-
i18nKey: `org.loinc.${string}`;
|
|
94
|
-
titleEn?: string;
|
|
95
|
-
}>;
|
|
96
|
-
Alert: Readonly<{
|
|
76
|
+
declare const healthcareCoreSections: {
|
|
77
|
+
readonly ProblemList: Readonly<{
|
|
97
78
|
system: typeof LOINC_SYSTEM_URL;
|
|
98
79
|
code: string;
|
|
99
80
|
attributeValue: string;
|
|
@@ -106,7 +87,7 @@ export declare const HealthcareCoreSections: Readonly<{
|
|
|
106
87
|
i18nKey: `org.loinc.${string}`;
|
|
107
88
|
titleEn?: string;
|
|
108
89
|
}>;
|
|
109
|
-
|
|
90
|
+
readonly AllergiesAndIntolerances: Readonly<{
|
|
110
91
|
system: typeof LOINC_SYSTEM_URL;
|
|
111
92
|
code: string;
|
|
112
93
|
attributeValue: string;
|
|
@@ -119,7 +100,7 @@ export declare const HealthcareCoreSections: Readonly<{
|
|
|
119
100
|
i18nKey: `org.loinc.${string}`;
|
|
120
101
|
titleEn?: string;
|
|
121
102
|
}>;
|
|
122
|
-
HistoryOfMedicationUse: Readonly<{
|
|
103
|
+
readonly HistoryOfMedicationUse: Readonly<{
|
|
123
104
|
system: typeof LOINC_SYSTEM_URL;
|
|
124
105
|
code: string;
|
|
125
106
|
attributeValue: string;
|
|
@@ -132,7 +113,7 @@ export declare const HealthcareCoreSections: Readonly<{
|
|
|
132
113
|
i18nKey: `org.loinc.${string}`;
|
|
133
114
|
titleEn?: string;
|
|
134
115
|
}>;
|
|
135
|
-
|
|
116
|
+
readonly Immunizations: Readonly<{
|
|
136
117
|
system: typeof LOINC_SYSTEM_URL;
|
|
137
118
|
code: string;
|
|
138
119
|
attributeValue: string;
|
|
@@ -145,7 +126,7 @@ export declare const HealthcareCoreSections: Readonly<{
|
|
|
145
126
|
i18nKey: `org.loinc.${string}`;
|
|
146
127
|
titleEn?: string;
|
|
147
128
|
}>;
|
|
148
|
-
|
|
129
|
+
readonly Results: Readonly<{
|
|
149
130
|
system: typeof LOINC_SYSTEM_URL;
|
|
150
131
|
code: string;
|
|
151
132
|
attributeValue: string;
|
|
@@ -158,7 +139,7 @@ export declare const HealthcareCoreSections: Readonly<{
|
|
|
158
139
|
i18nKey: `org.loinc.${string}`;
|
|
159
140
|
titleEn?: string;
|
|
160
141
|
}>;
|
|
161
|
-
|
|
142
|
+
readonly Procedures: Readonly<{
|
|
162
143
|
system: typeof LOINC_SYSTEM_URL;
|
|
163
144
|
code: string;
|
|
164
145
|
attributeValue: string;
|
|
@@ -171,7 +152,7 @@ export declare const HealthcareCoreSections: Readonly<{
|
|
|
171
152
|
i18nKey: `org.loinc.${string}`;
|
|
172
153
|
titleEn?: string;
|
|
173
154
|
}>;
|
|
174
|
-
|
|
155
|
+
readonly MedicalDevices: Readonly<{
|
|
175
156
|
system: typeof LOINC_SYSTEM_URL;
|
|
176
157
|
code: string;
|
|
177
158
|
attributeValue: string;
|
|
@@ -184,7 +165,7 @@ export declare const HealthcareCoreSections: Readonly<{
|
|
|
184
165
|
i18nKey: `org.loinc.${string}`;
|
|
185
166
|
titleEn?: string;
|
|
186
167
|
}>;
|
|
187
|
-
|
|
168
|
+
readonly VitalSigns: Readonly<{
|
|
188
169
|
system: typeof LOINC_SYSTEM_URL;
|
|
189
170
|
code: string;
|
|
190
171
|
attributeValue: string;
|
|
@@ -197,7 +178,7 @@ export declare const HealthcareCoreSections: Readonly<{
|
|
|
197
178
|
i18nKey: `org.loinc.${string}`;
|
|
198
179
|
titleEn?: string;
|
|
199
180
|
}>;
|
|
200
|
-
|
|
181
|
+
readonly SocialHistory: Readonly<{
|
|
201
182
|
system: typeof LOINC_SYSTEM_URL;
|
|
202
183
|
code: string;
|
|
203
184
|
attributeValue: string;
|
|
@@ -210,7 +191,7 @@ export declare const HealthcareCoreSections: Readonly<{
|
|
|
210
191
|
i18nKey: `org.loinc.${string}`;
|
|
211
192
|
titleEn?: string;
|
|
212
193
|
}>;
|
|
213
|
-
|
|
194
|
+
readonly Alert: Readonly<{
|
|
214
195
|
system: typeof LOINC_SYSTEM_URL;
|
|
215
196
|
code: string;
|
|
216
197
|
attributeValue: string;
|
|
@@ -223,7 +204,7 @@ export declare const HealthcareCoreSections: Readonly<{
|
|
|
223
204
|
i18nKey: `org.loinc.${string}`;
|
|
224
205
|
titleEn?: string;
|
|
225
206
|
}>;
|
|
226
|
-
|
|
207
|
+
readonly GoalsAndPreferences: Readonly<{
|
|
227
208
|
system: typeof LOINC_SYSTEM_URL;
|
|
228
209
|
code: string;
|
|
229
210
|
attributeValue: string;
|
|
@@ -236,7 +217,7 @@ export declare const HealthcareCoreSections: Readonly<{
|
|
|
236
217
|
i18nKey: `org.loinc.${string}`;
|
|
237
218
|
titleEn?: string;
|
|
238
219
|
}>;
|
|
239
|
-
|
|
220
|
+
readonly AdvanceDirectives: Readonly<{
|
|
240
221
|
system: typeof LOINC_SYSTEM_URL;
|
|
241
222
|
code: string;
|
|
242
223
|
attributeValue: string;
|
|
@@ -249,7 +230,7 @@ export declare const HealthcareCoreSections: Readonly<{
|
|
|
249
230
|
i18nKey: `org.loinc.${string}`;
|
|
250
231
|
titleEn?: string;
|
|
251
232
|
}>;
|
|
252
|
-
|
|
233
|
+
readonly FunctionalStatus: Readonly<{
|
|
253
234
|
system: typeof LOINC_SYSTEM_URL;
|
|
254
235
|
code: string;
|
|
255
236
|
attributeValue: string;
|
|
@@ -262,7 +243,7 @@ export declare const HealthcareCoreSections: Readonly<{
|
|
|
262
243
|
i18nKey: `org.loinc.${string}`;
|
|
263
244
|
titleEn?: string;
|
|
264
245
|
}>;
|
|
265
|
-
|
|
246
|
+
readonly HistoryOfPastIllness: Readonly<{
|
|
266
247
|
system: typeof LOINC_SYSTEM_URL;
|
|
267
248
|
code: string;
|
|
268
249
|
attributeValue: string;
|
|
@@ -275,7 +256,7 @@ export declare const HealthcareCoreSections: Readonly<{
|
|
|
275
256
|
i18nKey: `org.loinc.${string}`;
|
|
276
257
|
titleEn?: string;
|
|
277
258
|
}>;
|
|
278
|
-
|
|
259
|
+
readonly PregnancyHistory: Readonly<{
|
|
279
260
|
system: typeof LOINC_SYSTEM_URL;
|
|
280
261
|
code: string;
|
|
281
262
|
attributeValue: string;
|
|
@@ -288,7 +269,7 @@ export declare const HealthcareCoreSections: Readonly<{
|
|
|
288
269
|
i18nKey: `org.loinc.${string}`;
|
|
289
270
|
titleEn?: string;
|
|
290
271
|
}>;
|
|
291
|
-
|
|
272
|
+
readonly PlanOfCare: Readonly<{
|
|
292
273
|
system: typeof LOINC_SYSTEM_URL;
|
|
293
274
|
code: string;
|
|
294
275
|
attributeValue: string;
|
|
@@ -301,7 +282,7 @@ export declare const HealthcareCoreSections: Readonly<{
|
|
|
301
282
|
i18nKey: `org.loinc.${string}`;
|
|
302
283
|
titleEn?: string;
|
|
303
284
|
}>;
|
|
304
|
-
|
|
285
|
+
readonly DietAndNutrition: Readonly<{
|
|
305
286
|
system: typeof LOINC_SYSTEM_URL;
|
|
306
287
|
code: string;
|
|
307
288
|
attributeValue: string;
|
|
@@ -314,8 +295,7 @@ export declare const HealthcareCoreSections: Readonly<{
|
|
|
314
295
|
i18nKey: `org.loinc.${string}`;
|
|
315
296
|
titleEn?: string;
|
|
316
297
|
}>;
|
|
317
|
-
|
|
318
|
-
PlanOfCare: Readonly<{
|
|
298
|
+
readonly HistoryOfFamilyMemberDiseases: Readonly<{
|
|
319
299
|
system: typeof LOINC_SYSTEM_URL;
|
|
320
300
|
code: string;
|
|
321
301
|
attributeValue: string;
|
|
@@ -328,7 +308,7 @@ export declare const HealthcareCoreSections: Readonly<{
|
|
|
328
308
|
i18nKey: `org.loinc.${string}`;
|
|
329
309
|
titleEn?: string;
|
|
330
310
|
}>;
|
|
331
|
-
|
|
311
|
+
readonly HistoryOfHospitalizationsAndOutpatientVisits: Readonly<{
|
|
332
312
|
system: typeof LOINC_SYSTEM_URL;
|
|
333
313
|
code: string;
|
|
334
314
|
attributeValue: string;
|
|
@@ -341,7 +321,7 @@ export declare const HealthcareCoreSections: Readonly<{
|
|
|
341
321
|
i18nKey: `org.loinc.${string}`;
|
|
342
322
|
titleEn?: string;
|
|
343
323
|
}>;
|
|
344
|
-
|
|
324
|
+
readonly HistoryOfPresentIllness: Readonly<{
|
|
345
325
|
system: typeof LOINC_SYSTEM_URL;
|
|
346
326
|
code: string;
|
|
347
327
|
attributeValue: string;
|
|
@@ -354,7 +334,7 @@ export declare const HealthcareCoreSections: Readonly<{
|
|
|
354
334
|
i18nKey: `org.loinc.${string}`;
|
|
355
335
|
titleEn?: string;
|
|
356
336
|
}>;
|
|
357
|
-
|
|
337
|
+
readonly ProblemListNarrativeReported: Readonly<{
|
|
358
338
|
system: typeof LOINC_SYSTEM_URL;
|
|
359
339
|
code: string;
|
|
360
340
|
attributeValue: string;
|
|
@@ -367,7 +347,7 @@ export declare const HealthcareCoreSections: Readonly<{
|
|
|
367
347
|
i18nKey: `org.loinc.${string}`;
|
|
368
348
|
titleEn?: string;
|
|
369
349
|
}>;
|
|
370
|
-
Instructions: Readonly<{
|
|
350
|
+
readonly Instructions: Readonly<{
|
|
371
351
|
system: typeof LOINC_SYSTEM_URL;
|
|
372
352
|
code: string;
|
|
373
353
|
attributeValue: string;
|
|
@@ -380,36 +360,23 @@ export declare const HealthcareCoreSections: Readonly<{
|
|
|
380
360
|
i18nKey: `org.loinc.${string}`;
|
|
381
361
|
titleEn?: string;
|
|
382
362
|
}>;
|
|
363
|
+
};
|
|
364
|
+
type HealthcareCoreCompatibilityAliases = Readonly<{
|
|
365
|
+
/** @deprecated Use `HealthcareDocumentTypes.IPS`; this is a document type, not a section. */
|
|
366
|
+
PatientSummaryDocument: HealthcareSectionDescriptor;
|
|
367
|
+
/** @deprecated Use `PlanOfCare`; both names resolve to the same LOINC section. */
|
|
368
|
+
PlanOfTreatment: HealthcareSectionDescriptor;
|
|
383
369
|
}>;
|
|
370
|
+
/**
|
|
371
|
+
* Application healthcare sections: the 16 IPS sections followed by six
|
|
372
|
+
* LOINC-coded extensions. Deprecated aliases remain accessible but are not
|
|
373
|
+
* enumerable, so section pickers and `HealthcareAllSections` do not duplicate
|
|
374
|
+
* the IPS document or plan-of-care entry.
|
|
375
|
+
*/
|
|
376
|
+
export declare const HealthcareCoreSections: typeof healthcareCoreSections & HealthcareCoreCompatibilityAliases;
|
|
384
377
|
/** @deprecated Use `HealthcareCoreSections`. */
|
|
385
|
-
export declare const HealthcareBasicSections:
|
|
386
|
-
|
|
387
|
-
system: typeof LOINC_SYSTEM_URL;
|
|
388
|
-
code: string;
|
|
389
|
-
attributeValue: string;
|
|
390
|
-
/**
|
|
391
|
-
* @deprecated Use `attributeValue`.
|
|
392
|
-
* Kept as compatibility alias because this token is a reusable claim value,
|
|
393
|
-
* not a claim key/attribute name.
|
|
394
|
-
*/
|
|
395
|
-
claim: string;
|
|
396
|
-
i18nKey: `org.loinc.${string}`;
|
|
397
|
-
titleEn?: string;
|
|
398
|
-
}>;
|
|
399
|
-
AllergiesAndIntolerances: Readonly<{
|
|
400
|
-
system: typeof LOINC_SYSTEM_URL;
|
|
401
|
-
code: string;
|
|
402
|
-
attributeValue: string;
|
|
403
|
-
/**
|
|
404
|
-
* @deprecated Use `attributeValue`.
|
|
405
|
-
* Kept as compatibility alias because this token is a reusable claim value,
|
|
406
|
-
* not a claim key/attribute name.
|
|
407
|
-
*/
|
|
408
|
-
claim: string;
|
|
409
|
-
i18nKey: `org.loinc.${string}`;
|
|
410
|
-
titleEn?: string;
|
|
411
|
-
}>;
|
|
412
|
-
Alert: Readonly<{
|
|
378
|
+
export declare const HealthcareBasicSections: {
|
|
379
|
+
readonly ProblemList: Readonly<{
|
|
413
380
|
system: typeof LOINC_SYSTEM_URL;
|
|
414
381
|
code: string;
|
|
415
382
|
attributeValue: string;
|
|
@@ -422,7 +389,7 @@ export declare const HealthcareBasicSections: Readonly<{
|
|
|
422
389
|
i18nKey: `org.loinc.${string}`;
|
|
423
390
|
titleEn?: string;
|
|
424
391
|
}>;
|
|
425
|
-
|
|
392
|
+
readonly AllergiesAndIntolerances: Readonly<{
|
|
426
393
|
system: typeof LOINC_SYSTEM_URL;
|
|
427
394
|
code: string;
|
|
428
395
|
attributeValue: string;
|
|
@@ -435,7 +402,7 @@ export declare const HealthcareBasicSections: Readonly<{
|
|
|
435
402
|
i18nKey: `org.loinc.${string}`;
|
|
436
403
|
titleEn?: string;
|
|
437
404
|
}>;
|
|
438
|
-
HistoryOfMedicationUse: Readonly<{
|
|
405
|
+
readonly HistoryOfMedicationUse: Readonly<{
|
|
439
406
|
system: typeof LOINC_SYSTEM_URL;
|
|
440
407
|
code: string;
|
|
441
408
|
attributeValue: string;
|
|
@@ -448,7 +415,7 @@ export declare const HealthcareBasicSections: Readonly<{
|
|
|
448
415
|
i18nKey: `org.loinc.${string}`;
|
|
449
416
|
titleEn?: string;
|
|
450
417
|
}>;
|
|
451
|
-
|
|
418
|
+
readonly Immunizations: Readonly<{
|
|
452
419
|
system: typeof LOINC_SYSTEM_URL;
|
|
453
420
|
code: string;
|
|
454
421
|
attributeValue: string;
|
|
@@ -461,7 +428,7 @@ export declare const HealthcareBasicSections: Readonly<{
|
|
|
461
428
|
i18nKey: `org.loinc.${string}`;
|
|
462
429
|
titleEn?: string;
|
|
463
430
|
}>;
|
|
464
|
-
|
|
431
|
+
readonly Results: Readonly<{
|
|
465
432
|
system: typeof LOINC_SYSTEM_URL;
|
|
466
433
|
code: string;
|
|
467
434
|
attributeValue: string;
|
|
@@ -474,7 +441,7 @@ export declare const HealthcareBasicSections: Readonly<{
|
|
|
474
441
|
i18nKey: `org.loinc.${string}`;
|
|
475
442
|
titleEn?: string;
|
|
476
443
|
}>;
|
|
477
|
-
|
|
444
|
+
readonly Procedures: Readonly<{
|
|
478
445
|
system: typeof LOINC_SYSTEM_URL;
|
|
479
446
|
code: string;
|
|
480
447
|
attributeValue: string;
|
|
@@ -487,7 +454,7 @@ export declare const HealthcareBasicSections: Readonly<{
|
|
|
487
454
|
i18nKey: `org.loinc.${string}`;
|
|
488
455
|
titleEn?: string;
|
|
489
456
|
}>;
|
|
490
|
-
|
|
457
|
+
readonly MedicalDevices: Readonly<{
|
|
491
458
|
system: typeof LOINC_SYSTEM_URL;
|
|
492
459
|
code: string;
|
|
493
460
|
attributeValue: string;
|
|
@@ -500,7 +467,7 @@ export declare const HealthcareBasicSections: Readonly<{
|
|
|
500
467
|
i18nKey: `org.loinc.${string}`;
|
|
501
468
|
titleEn?: string;
|
|
502
469
|
}>;
|
|
503
|
-
|
|
470
|
+
readonly VitalSigns: Readonly<{
|
|
504
471
|
system: typeof LOINC_SYSTEM_URL;
|
|
505
472
|
code: string;
|
|
506
473
|
attributeValue: string;
|
|
@@ -513,7 +480,7 @@ export declare const HealthcareBasicSections: Readonly<{
|
|
|
513
480
|
i18nKey: `org.loinc.${string}`;
|
|
514
481
|
titleEn?: string;
|
|
515
482
|
}>;
|
|
516
|
-
|
|
483
|
+
readonly SocialHistory: Readonly<{
|
|
517
484
|
system: typeof LOINC_SYSTEM_URL;
|
|
518
485
|
code: string;
|
|
519
486
|
attributeValue: string;
|
|
@@ -526,7 +493,7 @@ export declare const HealthcareBasicSections: Readonly<{
|
|
|
526
493
|
i18nKey: `org.loinc.${string}`;
|
|
527
494
|
titleEn?: string;
|
|
528
495
|
}>;
|
|
529
|
-
|
|
496
|
+
readonly Alert: Readonly<{
|
|
530
497
|
system: typeof LOINC_SYSTEM_URL;
|
|
531
498
|
code: string;
|
|
532
499
|
attributeValue: string;
|
|
@@ -539,7 +506,7 @@ export declare const HealthcareBasicSections: Readonly<{
|
|
|
539
506
|
i18nKey: `org.loinc.${string}`;
|
|
540
507
|
titleEn?: string;
|
|
541
508
|
}>;
|
|
542
|
-
|
|
509
|
+
readonly GoalsAndPreferences: Readonly<{
|
|
543
510
|
system: typeof LOINC_SYSTEM_URL;
|
|
544
511
|
code: string;
|
|
545
512
|
attributeValue: string;
|
|
@@ -552,7 +519,7 @@ export declare const HealthcareBasicSections: Readonly<{
|
|
|
552
519
|
i18nKey: `org.loinc.${string}`;
|
|
553
520
|
titleEn?: string;
|
|
554
521
|
}>;
|
|
555
|
-
|
|
522
|
+
readonly AdvanceDirectives: Readonly<{
|
|
556
523
|
system: typeof LOINC_SYSTEM_URL;
|
|
557
524
|
code: string;
|
|
558
525
|
attributeValue: string;
|
|
@@ -565,7 +532,7 @@ export declare const HealthcareBasicSections: Readonly<{
|
|
|
565
532
|
i18nKey: `org.loinc.${string}`;
|
|
566
533
|
titleEn?: string;
|
|
567
534
|
}>;
|
|
568
|
-
|
|
535
|
+
readonly FunctionalStatus: Readonly<{
|
|
569
536
|
system: typeof LOINC_SYSTEM_URL;
|
|
570
537
|
code: string;
|
|
571
538
|
attributeValue: string;
|
|
@@ -578,7 +545,7 @@ export declare const HealthcareBasicSections: Readonly<{
|
|
|
578
545
|
i18nKey: `org.loinc.${string}`;
|
|
579
546
|
titleEn?: string;
|
|
580
547
|
}>;
|
|
581
|
-
|
|
548
|
+
readonly HistoryOfPastIllness: Readonly<{
|
|
582
549
|
system: typeof LOINC_SYSTEM_URL;
|
|
583
550
|
code: string;
|
|
584
551
|
attributeValue: string;
|
|
@@ -591,7 +558,7 @@ export declare const HealthcareBasicSections: Readonly<{
|
|
|
591
558
|
i18nKey: `org.loinc.${string}`;
|
|
592
559
|
titleEn?: string;
|
|
593
560
|
}>;
|
|
594
|
-
|
|
561
|
+
readonly PregnancyHistory: Readonly<{
|
|
595
562
|
system: typeof LOINC_SYSTEM_URL;
|
|
596
563
|
code: string;
|
|
597
564
|
attributeValue: string;
|
|
@@ -604,7 +571,7 @@ export declare const HealthcareBasicSections: Readonly<{
|
|
|
604
571
|
i18nKey: `org.loinc.${string}`;
|
|
605
572
|
titleEn?: string;
|
|
606
573
|
}>;
|
|
607
|
-
|
|
574
|
+
readonly PlanOfCare: Readonly<{
|
|
608
575
|
system: typeof LOINC_SYSTEM_URL;
|
|
609
576
|
code: string;
|
|
610
577
|
attributeValue: string;
|
|
@@ -617,7 +584,7 @@ export declare const HealthcareBasicSections: Readonly<{
|
|
|
617
584
|
i18nKey: `org.loinc.${string}`;
|
|
618
585
|
titleEn?: string;
|
|
619
586
|
}>;
|
|
620
|
-
|
|
587
|
+
readonly DietAndNutrition: Readonly<{
|
|
621
588
|
system: typeof LOINC_SYSTEM_URL;
|
|
622
589
|
code: string;
|
|
623
590
|
attributeValue: string;
|
|
@@ -630,8 +597,7 @@ export declare const HealthcareBasicSections: Readonly<{
|
|
|
630
597
|
i18nKey: `org.loinc.${string}`;
|
|
631
598
|
titleEn?: string;
|
|
632
599
|
}>;
|
|
633
|
-
|
|
634
|
-
PlanOfCare: Readonly<{
|
|
600
|
+
readonly HistoryOfFamilyMemberDiseases: Readonly<{
|
|
635
601
|
system: typeof LOINC_SYSTEM_URL;
|
|
636
602
|
code: string;
|
|
637
603
|
attributeValue: string;
|
|
@@ -644,7 +610,7 @@ export declare const HealthcareBasicSections: Readonly<{
|
|
|
644
610
|
i18nKey: `org.loinc.${string}`;
|
|
645
611
|
titleEn?: string;
|
|
646
612
|
}>;
|
|
647
|
-
|
|
613
|
+
readonly HistoryOfHospitalizationsAndOutpatientVisits: Readonly<{
|
|
648
614
|
system: typeof LOINC_SYSTEM_URL;
|
|
649
615
|
code: string;
|
|
650
616
|
attributeValue: string;
|
|
@@ -657,7 +623,7 @@ export declare const HealthcareBasicSections: Readonly<{
|
|
|
657
623
|
i18nKey: `org.loinc.${string}`;
|
|
658
624
|
titleEn?: string;
|
|
659
625
|
}>;
|
|
660
|
-
|
|
626
|
+
readonly HistoryOfPresentIllness: Readonly<{
|
|
661
627
|
system: typeof LOINC_SYSTEM_URL;
|
|
662
628
|
code: string;
|
|
663
629
|
attributeValue: string;
|
|
@@ -670,7 +636,7 @@ export declare const HealthcareBasicSections: Readonly<{
|
|
|
670
636
|
i18nKey: `org.loinc.${string}`;
|
|
671
637
|
titleEn?: string;
|
|
672
638
|
}>;
|
|
673
|
-
|
|
639
|
+
readonly ProblemListNarrativeReported: Readonly<{
|
|
674
640
|
system: typeof LOINC_SYSTEM_URL;
|
|
675
641
|
code: string;
|
|
676
642
|
attributeValue: string;
|
|
@@ -683,7 +649,7 @@ export declare const HealthcareBasicSections: Readonly<{
|
|
|
683
649
|
i18nKey: `org.loinc.${string}`;
|
|
684
650
|
titleEn?: string;
|
|
685
651
|
}>;
|
|
686
|
-
Instructions: Readonly<{
|
|
652
|
+
readonly Instructions: Readonly<{
|
|
687
653
|
system: typeof LOINC_SYSTEM_URL;
|
|
688
654
|
code: string;
|
|
689
655
|
attributeValue: string;
|
|
@@ -696,21 +662,21 @@ export declare const HealthcareBasicSections: Readonly<{
|
|
|
696
662
|
i18nKey: `org.loinc.${string}`;
|
|
697
663
|
titleEn?: string;
|
|
698
664
|
}>;
|
|
665
|
+
} & Readonly<{
|
|
666
|
+
/** @deprecated Use `HealthcareDocumentTypes.IPS`; this is a document type, not a section. */
|
|
667
|
+
PatientSummaryDocument: HealthcareSectionDescriptor;
|
|
668
|
+
/** @deprecated Use `PlanOfCare`; both names resolve to the same LOINC section. */
|
|
669
|
+
PlanOfTreatment: HealthcareSectionDescriptor;
|
|
699
670
|
}>;
|
|
700
671
|
/**
|
|
701
|
-
*
|
|
702
|
-
*
|
|
672
|
+
* The 16 clinical sections from the official HL7 IPS 2.0 all-sections example.
|
|
673
|
+
* Order follows `Composition.section`. The `60591-5` IPS document descriptor
|
|
674
|
+
* is represented by `HealthcareDocumentTypes.IPS`, not as a section.
|
|
703
675
|
*
|
|
704
|
-
*
|
|
705
|
-
* - Diet and Nutrition
|
|
706
|
-
* - History of Family Member Diseases
|
|
707
|
-
* - History of Hospitalizations and Outpatient Visits
|
|
708
|
-
* - History of Present Illness
|
|
709
|
-
* - Problem List Narrative Reported
|
|
710
|
-
* - Instructions
|
|
676
|
+
* @see https://hl7.org/fhir/uv/ips/STU2/Bundle-bundle-ips-all-sections.html
|
|
711
677
|
*/
|
|
712
678
|
export declare const HealthcareSummarySections: Readonly<{
|
|
713
|
-
readonly
|
|
679
|
+
readonly ProblemList: Readonly<{
|
|
714
680
|
system: typeof LOINC_SYSTEM_URL;
|
|
715
681
|
code: string;
|
|
716
682
|
attributeValue: string;
|
|
@@ -749,7 +715,7 @@ export declare const HealthcareSummarySections: Readonly<{
|
|
|
749
715
|
i18nKey: `org.loinc.${string}`;
|
|
750
716
|
titleEn?: string;
|
|
751
717
|
}>;
|
|
752
|
-
readonly
|
|
718
|
+
readonly Immunizations: Readonly<{
|
|
753
719
|
system: typeof LOINC_SYSTEM_URL;
|
|
754
720
|
code: string;
|
|
755
721
|
attributeValue: string;
|
|
@@ -788,19 +754,6 @@ export declare const HealthcareSummarySections: Readonly<{
|
|
|
788
754
|
i18nKey: `org.loinc.${string}`;
|
|
789
755
|
titleEn?: string;
|
|
790
756
|
}>;
|
|
791
|
-
readonly Immunizations: Readonly<{
|
|
792
|
-
system: typeof LOINC_SYSTEM_URL;
|
|
793
|
-
code: string;
|
|
794
|
-
attributeValue: string;
|
|
795
|
-
/**
|
|
796
|
-
* @deprecated Use `attributeValue`.
|
|
797
|
-
* Kept as compatibility alias because this token is a reusable claim value,
|
|
798
|
-
* not a claim key/attribute name.
|
|
799
|
-
*/
|
|
800
|
-
claim: string;
|
|
801
|
-
i18nKey: `org.loinc.${string}`;
|
|
802
|
-
titleEn?: string;
|
|
803
|
-
}>;
|
|
804
757
|
readonly MedicalDevices: Readonly<{
|
|
805
758
|
system: typeof LOINC_SYSTEM_URL;
|
|
806
759
|
code: string;
|
|
@@ -931,20 +884,245 @@ export declare const HealthcareSummarySections: Readonly<{
|
|
|
931
884
|
i18nKey: `org.loinc.${string}`;
|
|
932
885
|
titleEn?: string;
|
|
933
886
|
}>;
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
887
|
+
}>;
|
|
888
|
+
/** Presence level assigned to a section by the IPS structure guide. */
|
|
889
|
+
export type HealthcareIpsSectionRequirement = 'required' | 'recommended' | 'optional';
|
|
890
|
+
/** Non-exclusive resource expectations for one IPS Composition section. */
|
|
891
|
+
export type HealthcareIpsSectionResourceProfile = Readonly<{
|
|
892
|
+
section: HealthcareSectionDescriptor;
|
|
893
|
+
requirement: HealthcareIpsSectionRequirement;
|
|
894
|
+
/**
|
|
895
|
+
* Primary FHIR resource types named by the IPS section structure. This is a
|
|
896
|
+
* rendering/discovery hint, not an exclusive validation list: referenced or
|
|
897
|
+
* supporting resources, including Observation, may occur in other sections.
|
|
898
|
+
*/
|
|
899
|
+
expectedResourceTypes: readonly ResourceTypeFhirR4[];
|
|
900
|
+
acceptsOtherSupportingResources: true;
|
|
901
|
+
/** Patient Story explicitly permits any resource type. */
|
|
902
|
+
acceptsAnyResource?: true;
|
|
903
|
+
}>;
|
|
904
|
+
/**
|
|
905
|
+
* Resource-profile expectations for the 16 IPS 2.0 sections.
|
|
906
|
+
*
|
|
907
|
+
* Consumers must group a document by `Composition.section.entry` references;
|
|
908
|
+
* they must not infer a section from `resourceType` alone because the same
|
|
909
|
+
* type, especially Observation, is valid in several sections.
|
|
910
|
+
*
|
|
911
|
+
* @see https://hl7.org/fhir/uv/ips/STU2/Structure-of-the-International-Patient-Summary.html
|
|
912
|
+
* @see https://hl7.org/fhir/uv/ips/STU2/profiles.html
|
|
913
|
+
*/
|
|
914
|
+
export declare const HealthcareIpsSectionResourceProfiles: Readonly<{
|
|
915
|
+
readonly ProblemList: Readonly<{
|
|
916
|
+
section: HealthcareSectionDescriptor;
|
|
917
|
+
requirement: HealthcareIpsSectionRequirement;
|
|
938
918
|
/**
|
|
939
|
-
*
|
|
940
|
-
*
|
|
941
|
-
*
|
|
919
|
+
* Primary FHIR resource types named by the IPS section structure. This is a
|
|
920
|
+
* rendering/discovery hint, not an exclusive validation list: referenced or
|
|
921
|
+
* supporting resources, including Observation, may occur in other sections.
|
|
942
922
|
*/
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
923
|
+
expectedResourceTypes: readonly ResourceTypeFhirR4[];
|
|
924
|
+
acceptsOtherSupportingResources: true;
|
|
925
|
+
/** Patient Story explicitly permits any resource type. */
|
|
926
|
+
acceptsAnyResource?: true;
|
|
927
|
+
}>;
|
|
928
|
+
readonly AllergiesAndIntolerances: Readonly<{
|
|
929
|
+
section: HealthcareSectionDescriptor;
|
|
930
|
+
requirement: HealthcareIpsSectionRequirement;
|
|
931
|
+
/**
|
|
932
|
+
* Primary FHIR resource types named by the IPS section structure. This is a
|
|
933
|
+
* rendering/discovery hint, not an exclusive validation list: referenced or
|
|
934
|
+
* supporting resources, including Observation, may occur in other sections.
|
|
935
|
+
*/
|
|
936
|
+
expectedResourceTypes: readonly ResourceTypeFhirR4[];
|
|
937
|
+
acceptsOtherSupportingResources: true;
|
|
938
|
+
/** Patient Story explicitly permits any resource type. */
|
|
939
|
+
acceptsAnyResource?: true;
|
|
940
|
+
}>;
|
|
941
|
+
readonly HistoryOfMedicationUse: Readonly<{
|
|
942
|
+
section: HealthcareSectionDescriptor;
|
|
943
|
+
requirement: HealthcareIpsSectionRequirement;
|
|
944
|
+
/**
|
|
945
|
+
* Primary FHIR resource types named by the IPS section structure. This is a
|
|
946
|
+
* rendering/discovery hint, not an exclusive validation list: referenced or
|
|
947
|
+
* supporting resources, including Observation, may occur in other sections.
|
|
948
|
+
*/
|
|
949
|
+
expectedResourceTypes: readonly ResourceTypeFhirR4[];
|
|
950
|
+
acceptsOtherSupportingResources: true;
|
|
951
|
+
/** Patient Story explicitly permits any resource type. */
|
|
952
|
+
acceptsAnyResource?: true;
|
|
953
|
+
}>;
|
|
954
|
+
readonly Immunizations: Readonly<{
|
|
955
|
+
section: HealthcareSectionDescriptor;
|
|
956
|
+
requirement: HealthcareIpsSectionRequirement;
|
|
957
|
+
/**
|
|
958
|
+
* Primary FHIR resource types named by the IPS section structure. This is a
|
|
959
|
+
* rendering/discovery hint, not an exclusive validation list: referenced or
|
|
960
|
+
* supporting resources, including Observation, may occur in other sections.
|
|
961
|
+
*/
|
|
962
|
+
expectedResourceTypes: readonly ResourceTypeFhirR4[];
|
|
963
|
+
acceptsOtherSupportingResources: true;
|
|
964
|
+
/** Patient Story explicitly permits any resource type. */
|
|
965
|
+
acceptsAnyResource?: true;
|
|
966
|
+
}>;
|
|
967
|
+
readonly Results: Readonly<{
|
|
968
|
+
section: HealthcareSectionDescriptor;
|
|
969
|
+
requirement: HealthcareIpsSectionRequirement;
|
|
970
|
+
/**
|
|
971
|
+
* Primary FHIR resource types named by the IPS section structure. This is a
|
|
972
|
+
* rendering/discovery hint, not an exclusive validation list: referenced or
|
|
973
|
+
* supporting resources, including Observation, may occur in other sections.
|
|
974
|
+
*/
|
|
975
|
+
expectedResourceTypes: readonly ResourceTypeFhirR4[];
|
|
976
|
+
acceptsOtherSupportingResources: true;
|
|
977
|
+
/** Patient Story explicitly permits any resource type. */
|
|
978
|
+
acceptsAnyResource?: true;
|
|
979
|
+
}>;
|
|
980
|
+
readonly Procedures: Readonly<{
|
|
981
|
+
section: HealthcareSectionDescriptor;
|
|
982
|
+
requirement: HealthcareIpsSectionRequirement;
|
|
983
|
+
/**
|
|
984
|
+
* Primary FHIR resource types named by the IPS section structure. This is a
|
|
985
|
+
* rendering/discovery hint, not an exclusive validation list: referenced or
|
|
986
|
+
* supporting resources, including Observation, may occur in other sections.
|
|
987
|
+
*/
|
|
988
|
+
expectedResourceTypes: readonly ResourceTypeFhirR4[];
|
|
989
|
+
acceptsOtherSupportingResources: true;
|
|
990
|
+
/** Patient Story explicitly permits any resource type. */
|
|
991
|
+
acceptsAnyResource?: true;
|
|
992
|
+
}>;
|
|
993
|
+
readonly MedicalDevices: Readonly<{
|
|
994
|
+
section: HealthcareSectionDescriptor;
|
|
995
|
+
requirement: HealthcareIpsSectionRequirement;
|
|
996
|
+
/**
|
|
997
|
+
* Primary FHIR resource types named by the IPS section structure. This is a
|
|
998
|
+
* rendering/discovery hint, not an exclusive validation list: referenced or
|
|
999
|
+
* supporting resources, including Observation, may occur in other sections.
|
|
1000
|
+
*/
|
|
1001
|
+
expectedResourceTypes: readonly ResourceTypeFhirR4[];
|
|
1002
|
+
acceptsOtherSupportingResources: true;
|
|
1003
|
+
/** Patient Story explicitly permits any resource type. */
|
|
1004
|
+
acceptsAnyResource?: true;
|
|
1005
|
+
}>;
|
|
1006
|
+
readonly VitalSigns: Readonly<{
|
|
1007
|
+
section: HealthcareSectionDescriptor;
|
|
1008
|
+
requirement: HealthcareIpsSectionRequirement;
|
|
1009
|
+
/**
|
|
1010
|
+
* Primary FHIR resource types named by the IPS section structure. This is a
|
|
1011
|
+
* rendering/discovery hint, not an exclusive validation list: referenced or
|
|
1012
|
+
* supporting resources, including Observation, may occur in other sections.
|
|
1013
|
+
*/
|
|
1014
|
+
expectedResourceTypes: readonly ResourceTypeFhirR4[];
|
|
1015
|
+
acceptsOtherSupportingResources: true;
|
|
1016
|
+
/** Patient Story explicitly permits any resource type. */
|
|
1017
|
+
acceptsAnyResource?: true;
|
|
1018
|
+
}>;
|
|
1019
|
+
readonly SocialHistory: Readonly<{
|
|
1020
|
+
section: HealthcareSectionDescriptor;
|
|
1021
|
+
requirement: HealthcareIpsSectionRequirement;
|
|
1022
|
+
/**
|
|
1023
|
+
* Primary FHIR resource types named by the IPS section structure. This is a
|
|
1024
|
+
* rendering/discovery hint, not an exclusive validation list: referenced or
|
|
1025
|
+
* supporting resources, including Observation, may occur in other sections.
|
|
1026
|
+
*/
|
|
1027
|
+
expectedResourceTypes: readonly ResourceTypeFhirR4[];
|
|
1028
|
+
acceptsOtherSupportingResources: true;
|
|
1029
|
+
/** Patient Story explicitly permits any resource type. */
|
|
1030
|
+
acceptsAnyResource?: true;
|
|
1031
|
+
}>;
|
|
1032
|
+
readonly Alert: Readonly<{
|
|
1033
|
+
section: HealthcareSectionDescriptor;
|
|
1034
|
+
requirement: HealthcareIpsSectionRequirement;
|
|
1035
|
+
/**
|
|
1036
|
+
* Primary FHIR resource types named by the IPS section structure. This is a
|
|
1037
|
+
* rendering/discovery hint, not an exclusive validation list: referenced or
|
|
1038
|
+
* supporting resources, including Observation, may occur in other sections.
|
|
1039
|
+
*/
|
|
1040
|
+
expectedResourceTypes: readonly ResourceTypeFhirR4[];
|
|
1041
|
+
acceptsOtherSupportingResources: true;
|
|
1042
|
+
/** Patient Story explicitly permits any resource type. */
|
|
1043
|
+
acceptsAnyResource?: true;
|
|
1044
|
+
}>;
|
|
1045
|
+
readonly GoalsAndPreferences: Readonly<{
|
|
1046
|
+
section: HealthcareSectionDescriptor;
|
|
1047
|
+
requirement: HealthcareIpsSectionRequirement;
|
|
1048
|
+
/**
|
|
1049
|
+
* Primary FHIR resource types named by the IPS section structure. This is a
|
|
1050
|
+
* rendering/discovery hint, not an exclusive validation list: referenced or
|
|
1051
|
+
* supporting resources, including Observation, may occur in other sections.
|
|
1052
|
+
*/
|
|
1053
|
+
expectedResourceTypes: readonly ResourceTypeFhirR4[];
|
|
1054
|
+
acceptsOtherSupportingResources: true;
|
|
1055
|
+
/** Patient Story explicitly permits any resource type. */
|
|
1056
|
+
acceptsAnyResource?: true;
|
|
1057
|
+
}>;
|
|
1058
|
+
readonly AdvanceDirectives: Readonly<{
|
|
1059
|
+
section: HealthcareSectionDescriptor;
|
|
1060
|
+
requirement: HealthcareIpsSectionRequirement;
|
|
1061
|
+
/**
|
|
1062
|
+
* Primary FHIR resource types named by the IPS section structure. This is a
|
|
1063
|
+
* rendering/discovery hint, not an exclusive validation list: referenced or
|
|
1064
|
+
* supporting resources, including Observation, may occur in other sections.
|
|
1065
|
+
*/
|
|
1066
|
+
expectedResourceTypes: readonly ResourceTypeFhirR4[];
|
|
1067
|
+
acceptsOtherSupportingResources: true;
|
|
1068
|
+
/** Patient Story explicitly permits any resource type. */
|
|
1069
|
+
acceptsAnyResource?: true;
|
|
1070
|
+
}>;
|
|
1071
|
+
readonly FunctionalStatus: Readonly<{
|
|
1072
|
+
section: HealthcareSectionDescriptor;
|
|
1073
|
+
requirement: HealthcareIpsSectionRequirement;
|
|
1074
|
+
/**
|
|
1075
|
+
* Primary FHIR resource types named by the IPS section structure. This is a
|
|
1076
|
+
* rendering/discovery hint, not an exclusive validation list: referenced or
|
|
1077
|
+
* supporting resources, including Observation, may occur in other sections.
|
|
1078
|
+
*/
|
|
1079
|
+
expectedResourceTypes: readonly ResourceTypeFhirR4[];
|
|
1080
|
+
acceptsOtherSupportingResources: true;
|
|
1081
|
+
/** Patient Story explicitly permits any resource type. */
|
|
1082
|
+
acceptsAnyResource?: true;
|
|
1083
|
+
}>;
|
|
1084
|
+
readonly HistoryOfPastIllness: Readonly<{
|
|
1085
|
+
section: HealthcareSectionDescriptor;
|
|
1086
|
+
requirement: HealthcareIpsSectionRequirement;
|
|
1087
|
+
/**
|
|
1088
|
+
* Primary FHIR resource types named by the IPS section structure. This is a
|
|
1089
|
+
* rendering/discovery hint, not an exclusive validation list: referenced or
|
|
1090
|
+
* supporting resources, including Observation, may occur in other sections.
|
|
1091
|
+
*/
|
|
1092
|
+
expectedResourceTypes: readonly ResourceTypeFhirR4[];
|
|
1093
|
+
acceptsOtherSupportingResources: true;
|
|
1094
|
+
/** Patient Story explicitly permits any resource type. */
|
|
1095
|
+
acceptsAnyResource?: true;
|
|
1096
|
+
}>;
|
|
1097
|
+
readonly PregnancyHistory: Readonly<{
|
|
1098
|
+
section: HealthcareSectionDescriptor;
|
|
1099
|
+
requirement: HealthcareIpsSectionRequirement;
|
|
1100
|
+
/**
|
|
1101
|
+
* Primary FHIR resource types named by the IPS section structure. This is a
|
|
1102
|
+
* rendering/discovery hint, not an exclusive validation list: referenced or
|
|
1103
|
+
* supporting resources, including Observation, may occur in other sections.
|
|
1104
|
+
*/
|
|
1105
|
+
expectedResourceTypes: readonly ResourceTypeFhirR4[];
|
|
1106
|
+
acceptsOtherSupportingResources: true;
|
|
1107
|
+
/** Patient Story explicitly permits any resource type. */
|
|
1108
|
+
acceptsAnyResource?: true;
|
|
1109
|
+
}>;
|
|
1110
|
+
readonly PlanOfCare: Readonly<{
|
|
1111
|
+
section: HealthcareSectionDescriptor;
|
|
1112
|
+
requirement: HealthcareIpsSectionRequirement;
|
|
1113
|
+
/**
|
|
1114
|
+
* Primary FHIR resource types named by the IPS section structure. This is a
|
|
1115
|
+
* rendering/discovery hint, not an exclusive validation list: referenced or
|
|
1116
|
+
* supporting resources, including Observation, may occur in other sections.
|
|
1117
|
+
*/
|
|
1118
|
+
expectedResourceTypes: readonly ResourceTypeFhirR4[];
|
|
1119
|
+
acceptsOtherSupportingResources: true;
|
|
1120
|
+
/** Patient Story explicitly permits any resource type. */
|
|
1121
|
+
acceptsAnyResource?: true;
|
|
946
1122
|
}>;
|
|
947
1123
|
}>;
|
|
1124
|
+
/** IPS profiles used across sections rather than owned by one section. */
|
|
1125
|
+
export declare const HealthcareIpsSharedResourceTypes: readonly ["Organization", "Practitioner", "PractitionerRole", "DocumentReference"];
|
|
948
1126
|
export declare const HealthcareDocumentTypes: Readonly<{
|
|
949
1127
|
readonly IPS: Readonly<{
|
|
950
1128
|
id: string;
|
|
@@ -1116,7 +1294,7 @@ export declare const HealthcareAllSections: Readonly<{
|
|
|
1116
1294
|
i18nKey: `org.loinc.${string}`;
|
|
1117
1295
|
titleEn?: string;
|
|
1118
1296
|
}>;
|
|
1119
|
-
|
|
1297
|
+
ProblemList: Readonly<{
|
|
1120
1298
|
system: typeof LOINC_SYSTEM_URL;
|
|
1121
1299
|
code: string;
|
|
1122
1300
|
attributeValue: string;
|
|
@@ -1142,32 +1320,6 @@ export declare const HealthcareAllSections: Readonly<{
|
|
|
1142
1320
|
i18nKey: `org.loinc.${string}`;
|
|
1143
1321
|
titleEn?: string;
|
|
1144
1322
|
}>;
|
|
1145
|
-
Alert: Readonly<{
|
|
1146
|
-
system: typeof LOINC_SYSTEM_URL;
|
|
1147
|
-
code: string;
|
|
1148
|
-
attributeValue: string;
|
|
1149
|
-
/**
|
|
1150
|
-
* @deprecated Use `attributeValue`.
|
|
1151
|
-
* Kept as compatibility alias because this token is a reusable claim value,
|
|
1152
|
-
* not a claim key/attribute name.
|
|
1153
|
-
*/
|
|
1154
|
-
claim: string;
|
|
1155
|
-
i18nKey: `org.loinc.${string}`;
|
|
1156
|
-
titleEn?: string;
|
|
1157
|
-
}>;
|
|
1158
|
-
DietAndNutrition: Readonly<{
|
|
1159
|
-
system: typeof LOINC_SYSTEM_URL;
|
|
1160
|
-
code: string;
|
|
1161
|
-
attributeValue: string;
|
|
1162
|
-
/**
|
|
1163
|
-
* @deprecated Use `attributeValue`.
|
|
1164
|
-
* Kept as compatibility alias because this token is a reusable claim value,
|
|
1165
|
-
* not a claim key/attribute name.
|
|
1166
|
-
*/
|
|
1167
|
-
claim: string;
|
|
1168
|
-
i18nKey: `org.loinc.${string}`;
|
|
1169
|
-
titleEn?: string;
|
|
1170
|
-
}>;
|
|
1171
1323
|
HistoryOfMedicationUse: Readonly<{
|
|
1172
1324
|
system: typeof LOINC_SYSTEM_URL;
|
|
1173
1325
|
code: string;
|
|
@@ -1181,7 +1333,7 @@ export declare const HealthcareAllSections: Readonly<{
|
|
|
1181
1333
|
i18nKey: `org.loinc.${string}`;
|
|
1182
1334
|
titleEn?: string;
|
|
1183
1335
|
}>;
|
|
1184
|
-
|
|
1336
|
+
Immunizations: Readonly<{
|
|
1185
1337
|
system: typeof LOINC_SYSTEM_URL;
|
|
1186
1338
|
code: string;
|
|
1187
1339
|
attributeValue: string;
|
|
@@ -1194,7 +1346,7 @@ export declare const HealthcareAllSections: Readonly<{
|
|
|
1194
1346
|
i18nKey: `org.loinc.${string}`;
|
|
1195
1347
|
titleEn?: string;
|
|
1196
1348
|
}>;
|
|
1197
|
-
|
|
1349
|
+
Results: Readonly<{
|
|
1198
1350
|
system: typeof LOINC_SYSTEM_URL;
|
|
1199
1351
|
code: string;
|
|
1200
1352
|
attributeValue: string;
|
|
@@ -1207,7 +1359,7 @@ export declare const HealthcareAllSections: Readonly<{
|
|
|
1207
1359
|
i18nKey: `org.loinc.${string}`;
|
|
1208
1360
|
titleEn?: string;
|
|
1209
1361
|
}>;
|
|
1210
|
-
|
|
1362
|
+
Procedures: Readonly<{
|
|
1211
1363
|
system: typeof LOINC_SYSTEM_URL;
|
|
1212
1364
|
code: string;
|
|
1213
1365
|
attributeValue: string;
|
|
@@ -1220,7 +1372,7 @@ export declare const HealthcareAllSections: Readonly<{
|
|
|
1220
1372
|
i18nKey: `org.loinc.${string}`;
|
|
1221
1373
|
titleEn?: string;
|
|
1222
1374
|
}>;
|
|
1223
|
-
|
|
1375
|
+
MedicalDevices: Readonly<{
|
|
1224
1376
|
system: typeof LOINC_SYSTEM_URL;
|
|
1225
1377
|
code: string;
|
|
1226
1378
|
attributeValue: string;
|
|
@@ -1233,7 +1385,7 @@ export declare const HealthcareAllSections: Readonly<{
|
|
|
1233
1385
|
i18nKey: `org.loinc.${string}`;
|
|
1234
1386
|
titleEn?: string;
|
|
1235
1387
|
}>;
|
|
1236
|
-
|
|
1388
|
+
VitalSigns: Readonly<{
|
|
1237
1389
|
system: typeof LOINC_SYSTEM_URL;
|
|
1238
1390
|
code: string;
|
|
1239
1391
|
attributeValue: string;
|
|
@@ -1246,7 +1398,7 @@ export declare const HealthcareAllSections: Readonly<{
|
|
|
1246
1398
|
i18nKey: `org.loinc.${string}`;
|
|
1247
1399
|
titleEn?: string;
|
|
1248
1400
|
}>;
|
|
1249
|
-
|
|
1401
|
+
SocialHistory: Readonly<{
|
|
1250
1402
|
system: typeof LOINC_SYSTEM_URL;
|
|
1251
1403
|
code: string;
|
|
1252
1404
|
attributeValue: string;
|
|
@@ -1259,7 +1411,7 @@ export declare const HealthcareAllSections: Readonly<{
|
|
|
1259
1411
|
i18nKey: `org.loinc.${string}`;
|
|
1260
1412
|
titleEn?: string;
|
|
1261
1413
|
}>;
|
|
1262
|
-
|
|
1414
|
+
Alert: Readonly<{
|
|
1263
1415
|
system: typeof LOINC_SYSTEM_URL;
|
|
1264
1416
|
code: string;
|
|
1265
1417
|
attributeValue: string;
|
|
@@ -1272,7 +1424,7 @@ export declare const HealthcareAllSections: Readonly<{
|
|
|
1272
1424
|
i18nKey: `org.loinc.${string}`;
|
|
1273
1425
|
titleEn?: string;
|
|
1274
1426
|
}>;
|
|
1275
|
-
|
|
1427
|
+
GoalsAndPreferences: Readonly<{
|
|
1276
1428
|
system: typeof LOINC_SYSTEM_URL;
|
|
1277
1429
|
code: string;
|
|
1278
1430
|
attributeValue: string;
|
|
@@ -1285,7 +1437,7 @@ export declare const HealthcareAllSections: Readonly<{
|
|
|
1285
1437
|
i18nKey: `org.loinc.${string}`;
|
|
1286
1438
|
titleEn?: string;
|
|
1287
1439
|
}>;
|
|
1288
|
-
|
|
1440
|
+
AdvanceDirectives: Readonly<{
|
|
1289
1441
|
system: typeof LOINC_SYSTEM_URL;
|
|
1290
1442
|
code: string;
|
|
1291
1443
|
attributeValue: string;
|
|
@@ -1298,7 +1450,7 @@ export declare const HealthcareAllSections: Readonly<{
|
|
|
1298
1450
|
i18nKey: `org.loinc.${string}`;
|
|
1299
1451
|
titleEn?: string;
|
|
1300
1452
|
}>;
|
|
1301
|
-
|
|
1453
|
+
FunctionalStatus: Readonly<{
|
|
1302
1454
|
system: typeof LOINC_SYSTEM_URL;
|
|
1303
1455
|
code: string;
|
|
1304
1456
|
attributeValue: string;
|
|
@@ -1311,7 +1463,7 @@ export declare const HealthcareAllSections: Readonly<{
|
|
|
1311
1463
|
i18nKey: `org.loinc.${string}`;
|
|
1312
1464
|
titleEn?: string;
|
|
1313
1465
|
}>;
|
|
1314
|
-
|
|
1466
|
+
HistoryOfPastIllness: Readonly<{
|
|
1315
1467
|
system: typeof LOINC_SYSTEM_URL;
|
|
1316
1468
|
code: string;
|
|
1317
1469
|
attributeValue: string;
|
|
@@ -1324,7 +1476,7 @@ export declare const HealthcareAllSections: Readonly<{
|
|
|
1324
1476
|
i18nKey: `org.loinc.${string}`;
|
|
1325
1477
|
titleEn?: string;
|
|
1326
1478
|
}>;
|
|
1327
|
-
|
|
1479
|
+
PregnancyHistory: Readonly<{
|
|
1328
1480
|
system: typeof LOINC_SYSTEM_URL;
|
|
1329
1481
|
code: string;
|
|
1330
1482
|
attributeValue: string;
|
|
@@ -1337,7 +1489,7 @@ export declare const HealthcareAllSections: Readonly<{
|
|
|
1337
1489
|
i18nKey: `org.loinc.${string}`;
|
|
1338
1490
|
titleEn?: string;
|
|
1339
1491
|
}>;
|
|
1340
|
-
|
|
1492
|
+
PlanOfCare: Readonly<{
|
|
1341
1493
|
system: typeof LOINC_SYSTEM_URL;
|
|
1342
1494
|
code: string;
|
|
1343
1495
|
attributeValue: string;
|
|
@@ -1350,7 +1502,7 @@ export declare const HealthcareAllSections: Readonly<{
|
|
|
1350
1502
|
i18nKey: `org.loinc.${string}`;
|
|
1351
1503
|
titleEn?: string;
|
|
1352
1504
|
}>;
|
|
1353
|
-
|
|
1505
|
+
DietAndNutrition: Readonly<{
|
|
1354
1506
|
system: typeof LOINC_SYSTEM_URL;
|
|
1355
1507
|
code: string;
|
|
1356
1508
|
attributeValue: string;
|
|
@@ -1363,7 +1515,7 @@ export declare const HealthcareAllSections: Readonly<{
|
|
|
1363
1515
|
i18nKey: `org.loinc.${string}`;
|
|
1364
1516
|
titleEn?: string;
|
|
1365
1517
|
}>;
|
|
1366
|
-
|
|
1518
|
+
HistoryOfFamilyMemberDiseases: Readonly<{
|
|
1367
1519
|
system: typeof LOINC_SYSTEM_URL;
|
|
1368
1520
|
code: string;
|
|
1369
1521
|
attributeValue: string;
|
|
@@ -1376,7 +1528,7 @@ export declare const HealthcareAllSections: Readonly<{
|
|
|
1376
1528
|
i18nKey: `org.loinc.${string}`;
|
|
1377
1529
|
titleEn?: string;
|
|
1378
1530
|
}>;
|
|
1379
|
-
|
|
1531
|
+
HistoryOfHospitalizationsAndOutpatientVisits: Readonly<{
|
|
1380
1532
|
system: typeof LOINC_SYSTEM_URL;
|
|
1381
1533
|
code: string;
|
|
1382
1534
|
attributeValue: string;
|
|
@@ -1389,7 +1541,7 @@ export declare const HealthcareAllSections: Readonly<{
|
|
|
1389
1541
|
i18nKey: `org.loinc.${string}`;
|
|
1390
1542
|
titleEn?: string;
|
|
1391
1543
|
}>;
|
|
1392
|
-
|
|
1544
|
+
HistoryOfPresentIllness: Readonly<{
|
|
1393
1545
|
system: typeof LOINC_SYSTEM_URL;
|
|
1394
1546
|
code: string;
|
|
1395
1547
|
attributeValue: string;
|
|
@@ -1402,7 +1554,7 @@ export declare const HealthcareAllSections: Readonly<{
|
|
|
1402
1554
|
i18nKey: `org.loinc.${string}`;
|
|
1403
1555
|
titleEn?: string;
|
|
1404
1556
|
}>;
|
|
1405
|
-
|
|
1557
|
+
ProblemListNarrativeReported: Readonly<{
|
|
1406
1558
|
system: typeof LOINC_SYSTEM_URL;
|
|
1407
1559
|
code: string;
|
|
1408
1560
|
attributeValue: string;
|
|
@@ -1428,6 +1580,8 @@ export declare const HealthcareAllSections: Readonly<{
|
|
|
1428
1580
|
i18nKey: `org.loinc.${string}`;
|
|
1429
1581
|
titleEn?: string;
|
|
1430
1582
|
}>;
|
|
1583
|
+
PatientSummaryDocument: HealthcareSectionDescriptor;
|
|
1584
|
+
PlanOfTreatment: HealthcareSectionDescriptor;
|
|
1431
1585
|
}>;
|
|
1432
1586
|
/**
|
|
1433
1587
|
* Full section families sourced from the existing section catalogs in
|
|
@@ -1597,7 +1751,7 @@ export declare const HealthcareRolesByFamily: Readonly<{
|
|
|
1597
1751
|
codingSystem: string;
|
|
1598
1752
|
code: string;
|
|
1599
1753
|
claim: string;
|
|
1600
|
-
i18nKey: `org.ilo.isco-08.${string}` | `org.
|
|
1754
|
+
i18nKey: `org.ilo.isco-08.${string}` | `org.isco08.${string}` | `org.hl7.terminology.CodeSystem.v3-RoleCode.${string}`;
|
|
1601
1755
|
titleEn: string;
|
|
1602
1756
|
definition?: string;
|
|
1603
1757
|
}>>>;
|
|
@@ -1606,7 +1760,7 @@ export declare const HealthcareRolesByFamily: Readonly<{
|
|
|
1606
1760
|
codingSystem: string;
|
|
1607
1761
|
code: string;
|
|
1608
1762
|
claim: string;
|
|
1609
|
-
i18nKey: `org.ilo.isco-08.${string}` | `org.
|
|
1763
|
+
i18nKey: `org.ilo.isco-08.${string}` | `org.isco08.${string}` | `org.hl7.terminology.CodeSystem.v3-RoleCode.${string}`;
|
|
1610
1764
|
titleEn: string;
|
|
1611
1765
|
definition?: string;
|
|
1612
1766
|
}>>>;
|
|
@@ -1615,7 +1769,7 @@ export declare const HealthcareRolesByFamily: Readonly<{
|
|
|
1615
1769
|
codingSystem: string;
|
|
1616
1770
|
code: string;
|
|
1617
1771
|
claim: string;
|
|
1618
|
-
i18nKey: `org.ilo.isco-08.${string}` | `org.
|
|
1772
|
+
i18nKey: `org.ilo.isco-08.${string}` | `org.isco08.${string}` | `org.hl7.terminology.CodeSystem.v3-RoleCode.${string}`;
|
|
1619
1773
|
titleEn: string;
|
|
1620
1774
|
definition?: string;
|
|
1621
1775
|
}>>>;
|
|
@@ -1639,7 +1793,7 @@ export declare const HealthcareProfessionalRolesBySector: Readonly<{
|
|
|
1639
1793
|
codingSystem: string;
|
|
1640
1794
|
code: string;
|
|
1641
1795
|
claim: string;
|
|
1642
|
-
i18nKey: `org.ilo.isco-08.${string}` | `org.
|
|
1796
|
+
i18nKey: `org.ilo.isco-08.${string}` | `org.isco08.${string}` | `org.hl7.terminology.CodeSystem.v3-RoleCode.${string}`;
|
|
1643
1797
|
titleEn: string;
|
|
1644
1798
|
definition?: string;
|
|
1645
1799
|
}>>>;
|
|
@@ -1648,7 +1802,7 @@ export declare const HealthcareProfessionalRolesBySector: Readonly<{
|
|
|
1648
1802
|
codingSystem: string;
|
|
1649
1803
|
code: string;
|
|
1650
1804
|
claim: string;
|
|
1651
|
-
i18nKey: `org.ilo.isco-08.${string}` | `org.
|
|
1805
|
+
i18nKey: `org.ilo.isco-08.${string}` | `org.isco08.${string}` | `org.hl7.terminology.CodeSystem.v3-RoleCode.${string}`;
|
|
1652
1806
|
titleEn: string;
|
|
1653
1807
|
definition?: string;
|
|
1654
1808
|
}>>>;
|
|
@@ -1657,7 +1811,7 @@ export declare const HealthcareProfessionalRolesBySector: Readonly<{
|
|
|
1657
1811
|
codingSystem: string;
|
|
1658
1812
|
code: string;
|
|
1659
1813
|
claim: string;
|
|
1660
|
-
i18nKey: `org.ilo.isco-08.${string}` | `org.
|
|
1814
|
+
i18nKey: `org.ilo.isco-08.${string}` | `org.isco08.${string}` | `org.hl7.terminology.CodeSystem.v3-RoleCode.${string}`;
|
|
1661
1815
|
titleEn: string;
|
|
1662
1816
|
definition?: string;
|
|
1663
1817
|
}>>>;
|
|
@@ -1666,7 +1820,7 @@ export declare const HealthcareProfessionalRolesBySector: Readonly<{
|
|
|
1666
1820
|
codingSystem: string;
|
|
1667
1821
|
code: string;
|
|
1668
1822
|
claim: string;
|
|
1669
|
-
i18nKey: `org.ilo.isco-08.${string}` | `org.
|
|
1823
|
+
i18nKey: `org.ilo.isco-08.${string}` | `org.isco08.${string}` | `org.hl7.terminology.CodeSystem.v3-RoleCode.${string}`;
|
|
1670
1824
|
titleEn: string;
|
|
1671
1825
|
definition?: string;
|
|
1672
1826
|
}>>>;
|
|
@@ -1675,7 +1829,7 @@ export declare const HealthcareProfessionalRolesBySector: Readonly<{
|
|
|
1675
1829
|
codingSystem: string;
|
|
1676
1830
|
code: string;
|
|
1677
1831
|
claim: string;
|
|
1678
|
-
i18nKey: `org.ilo.isco-08.${string}` | `org.
|
|
1832
|
+
i18nKey: `org.ilo.isco-08.${string}` | `org.isco08.${string}` | `org.hl7.terminology.CodeSystem.v3-RoleCode.${string}`;
|
|
1679
1833
|
titleEn: string;
|
|
1680
1834
|
definition?: string;
|
|
1681
1835
|
}>>>;
|
|
@@ -1684,7 +1838,7 @@ export declare const HealthcareProfessionalRolesBySector: Readonly<{
|
|
|
1684
1838
|
codingSystem: string;
|
|
1685
1839
|
code: string;
|
|
1686
1840
|
claim: string;
|
|
1687
|
-
i18nKey: `org.ilo.isco-08.${string}` | `org.
|
|
1841
|
+
i18nKey: `org.ilo.isco-08.${string}` | `org.isco08.${string}` | `org.hl7.terminology.CodeSystem.v3-RoleCode.${string}`;
|
|
1688
1842
|
titleEn: string;
|
|
1689
1843
|
definition?: string;
|
|
1690
1844
|
}>>>;
|
|
@@ -1693,7 +1847,7 @@ export declare const HealthcareProfessionalRolesBySector: Readonly<{
|
|
|
1693
1847
|
codingSystem: string;
|
|
1694
1848
|
code: string;
|
|
1695
1849
|
claim: string;
|
|
1696
|
-
i18nKey: `org.ilo.isco-08.${string}` | `org.
|
|
1850
|
+
i18nKey: `org.ilo.isco-08.${string}` | `org.isco08.${string}` | `org.hl7.terminology.CodeSystem.v3-RoleCode.${string}`;
|
|
1697
1851
|
titleEn: string;
|
|
1698
1852
|
definition?: string;
|
|
1699
1853
|
}>>>;
|
|
@@ -1702,7 +1856,7 @@ export declare const HealthcareProfessionalRolesBySector: Readonly<{
|
|
|
1702
1856
|
codingSystem: string;
|
|
1703
1857
|
code: string;
|
|
1704
1858
|
claim: string;
|
|
1705
|
-
i18nKey: `org.ilo.isco-08.${string}` | `org.
|
|
1859
|
+
i18nKey: `org.ilo.isco-08.${string}` | `org.isco08.${string}` | `org.hl7.terminology.CodeSystem.v3-RoleCode.${string}`;
|
|
1706
1860
|
titleEn: string;
|
|
1707
1861
|
definition?: string;
|
|
1708
1862
|
}>>>;
|
|
@@ -1711,7 +1865,7 @@ export declare const HealthcareProfessionalRolesBySector: Readonly<{
|
|
|
1711
1865
|
codingSystem: string;
|
|
1712
1866
|
code: string;
|
|
1713
1867
|
claim: string;
|
|
1714
|
-
i18nKey: `org.ilo.isco-08.${string}` | `org.
|
|
1868
|
+
i18nKey: `org.ilo.isco-08.${string}` | `org.isco08.${string}` | `org.hl7.terminology.CodeSystem.v3-RoleCode.${string}`;
|
|
1715
1869
|
titleEn: string;
|
|
1716
1870
|
definition?: string;
|
|
1717
1871
|
}>>>;
|
|
@@ -1720,7 +1874,7 @@ export declare const HealthcareProfessionalRolesBySector: Readonly<{
|
|
|
1720
1874
|
codingSystem: string;
|
|
1721
1875
|
code: string;
|
|
1722
1876
|
claim: string;
|
|
1723
|
-
i18nKey: `org.ilo.isco-08.${string}` | `org.
|
|
1877
|
+
i18nKey: `org.ilo.isco-08.${string}` | `org.isco08.${string}` | `org.hl7.terminology.CodeSystem.v3-RoleCode.${string}`;
|
|
1724
1878
|
titleEn: string;
|
|
1725
1879
|
definition?: string;
|
|
1726
1880
|
}>>>;
|
|
@@ -1741,3 +1895,4 @@ export declare const HealthcareConsentActions: Readonly<{
|
|
|
1741
1895
|
readonly Procedures: string;
|
|
1742
1896
|
readonly Immunizations: string;
|
|
1743
1897
|
}>;
|
|
1898
|
+
export {};
|