gdc-common-utils-ts 2.0.7 → 2.0.9

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.
@@ -4,6 +4,8 @@ export const ProcedureClaim = {
4
4
  BasedOn: 'Procedure.based-on',
5
5
  BodySite: 'Procedure.body-site',
6
6
  Code: 'Procedure.code',
7
+ CodeText: 'Procedure.code-text',
8
+ CodeDisplay: 'Procedure.code-display',
7
9
  Date: 'Procedure.date',
8
10
  Encounter: 'Procedure.encounter',
9
11
  Identifier: 'Procedure.identifier',
@@ -23,6 +25,8 @@ export const ProcedureClaimSpecs = [
23
25
  { key: ProcedureClaim.BasedOn, meaning: 'Request or order reference.', example: 'ServiceRequest/sr-1' },
24
26
  { key: ProcedureClaim.BodySite, meaning: 'Body site token.', example: 'http://snomed.info/sct|66754008' },
25
27
  { key: ProcedureClaim.Code, meaning: 'Procedure code token.', example: 'http://snomed.info/sct|80146002' },
28
+ { key: ProcedureClaim.CodeText, meaning: 'Local-language procedure label used by forms/UI.', example: 'Apendicectomia' },
29
+ { key: ProcedureClaim.CodeDisplay, meaning: 'Canonical/international procedure display label.', example: 'Appendectomy' },
26
30
  { key: ProcedureClaim.Date, meaning: 'Performed date/time.', example: '2026-06-01T10:00:00Z' },
27
31
  { key: ProcedureClaim.Encounter, meaning: 'Encounter reference.', example: 'Encounter/enc-1' },
28
32
  { key: ProcedureClaim.Identifier, meaning: 'Business identifier.', example: 'procedure-001' },
@@ -7,6 +7,20 @@ export declare const BundleEditableResourceTypes: Readonly<{
7
7
  readonly consent: "Consent";
8
8
  readonly observation: "Observation";
9
9
  readonly vitalSign: "Observation";
10
+ readonly allergyIntolerance: "AllergyIntolerance";
11
+ readonly condition: "Condition";
12
+ readonly medicationStatement: "MedicationStatement";
13
+ readonly documentReference: "DocumentReference";
14
+ readonly carePlan: "CarePlan";
15
+ readonly flag: "Flag";
16
+ readonly clinicalImpression: "ClinicalImpression";
17
+ readonly device: "Device";
18
+ readonly deviceUseStatement: "DeviceUseStatement";
19
+ readonly encounter: "Encounter";
20
+ readonly coverage: "Coverage";
21
+ readonly immunization: "Immunization";
22
+ readonly procedure: "Procedure";
23
+ readonly diagnosticReport: "DiagnosticReport";
10
24
  }>;
11
25
  export type AllowedResourceType = string;
12
26
  export type BuiltBundleEntry = {
@@ -134,6 +148,34 @@ export declare class BundleEntryEditor {
134
148
  asVitalSign(): VitalSignEntryEditor;
135
149
  /** Opens the current entry as one general Observation editor. */
136
150
  asObservation(): ObservationEntryEditor;
151
+ /** Opens the current entry as one AllergyIntolerance editor. */
152
+ asAllergy(): AllergyIntoleranceEntryEditor;
153
+ /** Opens the current entry as one Condition editor. */
154
+ asCondition(): ConditionEntryEditor;
155
+ /** Opens the current entry as one MedicationStatement editor. */
156
+ asMedicationStatement(): MedicationStatementEntryEditor;
157
+ /** Opens the current entry as one DocumentReference editor. */
158
+ asDocumentReference(): DocumentReferenceEntryEditor;
159
+ /** Opens the current entry as one CarePlan editor. */
160
+ asCarePlan(): CarePlanEntryEditor;
161
+ /** Opens the current entry as one Flag editor. */
162
+ asFlag(): FlagEntryEditor;
163
+ /** Opens the current entry as one ClinicalImpression editor. */
164
+ asClinicalImpression(): ClinicalImpressionEntryEditor;
165
+ /** Opens the current entry as one Device editor. */
166
+ asDevice(): DeviceEntryEditor;
167
+ /** Opens the current entry as one DeviceUseStatement editor. */
168
+ asDeviceUseStatement(): DeviceUseStatementEntryEditor;
169
+ /** Opens the current entry as one Encounter editor. */
170
+ asEncounter(): EncounterEntryEditor;
171
+ /** Opens the current entry as one Coverage editor. */
172
+ asCoverage(): CoverageEntryEditor;
173
+ /** Opens the current entry as one Immunization editor. */
174
+ asImmunization(): ImmunizationEntryEditor;
175
+ /** Opens the current entry as one Procedure editor. */
176
+ asProcedure(): ProcedureEntryEditor;
177
+ /** Opens the current entry as one DiagnosticReport editor. */
178
+ asDiagnosticReport(): DiagnosticReportEntryEditor;
137
179
  /** Reads one claim from this entry. */
138
180
  getClaim(key: string): unknown;
139
181
  /** Checks whether this entry contains one claim key. */
@@ -157,6 +199,27 @@ export declare class BundleEntryEditor {
157
199
  protected getMutableEntry(): BuiltBundleEntry;
158
200
  protected getClaims(): EmployeeClaims;
159
201
  }
202
+ /**
203
+ * Shared claims-first editor utilities for IPS clinical resource families.
204
+ *
205
+ * The concrete resource type changes, but the editing contract stays aligned:
206
+ * identifier + subject + status + date + optional CSV-backed reference lists.
207
+ */
208
+ declare class ClinicalResourceEntryEditor extends BundleEntryEditor {
209
+ protected getIdentifierValue(claimKey: string): string | undefined;
210
+ protected setIdentifierValue(claimKey: string, identifier?: string | null): this;
211
+ protected setSubjectClaims(subjectClaimKey: string, patientClaimKey: string, subject?: string | null): this;
212
+ protected getSubjectClaims(subjectClaimKey: string, patientClaimKey: string): string | undefined;
213
+ protected setScalarClaim(claimKey: string, value?: string | null): this;
214
+ protected getScalarClaim(claimKey: string): string | undefined;
215
+ protected setNumberClaim(claimKey: string, value?: number | null): this;
216
+ protected getNumberClaim(claimKey: string): number | undefined;
217
+ protected setBooleanClaim(claimKey: string, value?: boolean | null): this;
218
+ protected getBooleanClaim(claimKey: string): boolean | undefined;
219
+ protected setCsvClaimList(claimKey: string, values: readonly string[]): this;
220
+ protected getCsvClaimList(claimKey: string): string[];
221
+ protected ensureIdentifierValue(claimKey: string): string;
222
+ }
160
223
  /**
161
224
  * Reduced Observation component-style editor surface.
162
225
  *
@@ -172,8 +235,23 @@ export declare class ObservationComponentEntryEditor extends BundleEntryEditor {
172
235
  getCodeValue(): string | undefined;
173
236
  setCodeDisplay(display: string): this;
174
237
  getCodeDisplay(): string | undefined;
175
- /** Local-language label intended for forms and local UI. */
238
+ /**
239
+ * Stores the local-language label used by forms and local UI copy.
240
+ *
241
+ * Keep this distinct from `setCodeDisplay(...)`, which is the canonical
242
+ * English/international display carried by the coded concept.
243
+ */
244
+ setCodeTextLocal(text: string): this;
245
+ /**
246
+ * Returns the local-language label used by forms and local UI copy.
247
+ *
248
+ * Keep this distinct from `getCodeDisplay()`, which returns the canonical
249
+ * English/international display when present.
250
+ */
251
+ getCodeTextLocal(): string | undefined;
252
+ /** Compatibility alias for older examples/tests. Prefer `setCodeTextLocal(...)`. */
176
253
  setLocalText(text: string): this;
254
+ /** Compatibility alias for older examples/tests. Prefer `getCodeTextLocal()`. */
177
255
  getLocalText(): string | undefined;
178
256
  setValueQuantityNumber(value: number): this;
179
257
  getValueQuantityNumber(): number | undefined;
@@ -229,6 +307,382 @@ export declare class ObservationEntryEditor extends VitalSignEntryEditor {
229
307
  getPerformer(): string | undefined;
230
308
  setHasMember(reference: string): this;
231
309
  getHasMember(): string | undefined;
310
+ setHasMemberList(references: readonly string[]): this;
311
+ getHasMemberList(): string[];
312
+ }
313
+ /** Claims-first editor for one staged AllergyIntolerance entry. */
314
+ export declare class AllergyIntoleranceEntryEditor extends ClinicalResourceEntryEditor {
315
+ setIdentifier(identifier?: string | null): this;
316
+ getIdentifier(): string | undefined;
317
+ ensureIdentifier(): string;
318
+ setSubject(subject?: string | null): this;
319
+ getSubject(): string | undefined;
320
+ setCode(code?: string | null): this;
321
+ getCode(): string | undefined;
322
+ setClinicalStatus(status?: string | null): this;
323
+ getClinicalStatus(): string | undefined;
324
+ setVerificationStatus(status?: string | null): this;
325
+ getVerificationStatus(): string | undefined;
326
+ setCategory(category?: string | null): this;
327
+ getCategory(): string | undefined;
328
+ setCriticality(criticality?: string | null): this;
329
+ getCriticality(): string | undefined;
330
+ setOnsetDateTime(value?: string | null): this;
331
+ getOnsetDateTime(): string | undefined;
332
+ setRecorder(reference?: string | null): this;
333
+ getRecorder(): string | undefined;
334
+ setContainedDocumentIdentifierList(identifiers: readonly string[]): this;
335
+ getContainedDocumentIdentifierList(): string[];
336
+ }
337
+ /** Claims-first editor for one staged Condition entry. */
338
+ export declare class ConditionEntryEditor extends ClinicalResourceEntryEditor {
339
+ setIdentifier(identifier?: string | null): this;
340
+ getIdentifier(): string | undefined;
341
+ ensureIdentifier(): string;
342
+ setSubject(subject?: string | null): this;
343
+ getSubject(): string | undefined;
344
+ setCode(code?: string | null): this;
345
+ getCode(): string | undefined;
346
+ setClinicalStatus(status?: string | null): this;
347
+ getClinicalStatus(): string | undefined;
348
+ setVerificationStatus(status?: string | null): this;
349
+ getVerificationStatus(): string | undefined;
350
+ setCategory(category?: string | null): this;
351
+ getCategory(): string | undefined;
352
+ setSeverity(severity?: string | null): this;
353
+ getSeverity(): string | undefined;
354
+ setOnsetDateTime(value?: string | null): this;
355
+ getOnsetDateTime(): string | undefined;
356
+ setRecorder(reference?: string | null): this;
357
+ getRecorder(): string | undefined;
358
+ setContainedDocumentIdentifierList(identifiers: readonly string[]): this;
359
+ getContainedDocumentIdentifierList(): string[];
360
+ }
361
+ /** Claims-first editor for one staged MedicationStatement entry. */
362
+ export declare class MedicationStatementEntryEditor extends ClinicalResourceEntryEditor {
363
+ setIdentifier(identifier?: string | null): this;
364
+ getIdentifier(): string | undefined;
365
+ ensureIdentifier(): string;
366
+ setSubject(subject?: string | null): this;
367
+ getSubject(): string | undefined;
368
+ setStatus(status?: string | null): this;
369
+ getStatus(): string | undefined;
370
+ setEffective(value?: string | null): this;
371
+ getEffective(): string | undefined;
372
+ setCode(code?: string | null): this;
373
+ getCode(): string | undefined;
374
+ setMedicationText(text?: string | null): this;
375
+ getMedicationText(): string | undefined;
376
+ setNote(note?: string | null): this;
377
+ getNote(): string | undefined;
378
+ setDosageInstruction(value?: string | null): this;
379
+ getDosageInstruction(): string | undefined;
380
+ setCategoryList(values: readonly string[]): this;
381
+ getCategoryList(): string[];
382
+ setDoseQuantityValue(value?: number | null): this;
383
+ getDoseQuantityValue(): number | undefined;
384
+ setDoseQuantityUnit(value?: string | null): this;
385
+ getDoseQuantityUnit(): string | undefined;
386
+ setTimingFrequency(value?: number | null): this;
387
+ getTimingFrequency(): number | undefined;
388
+ setTimingPeriod(value?: number | null): this;
389
+ getTimingPeriod(): number | undefined;
390
+ setTimingPeriodUnit(value?: string | null): this;
391
+ getTimingPeriodUnit(): string | undefined;
392
+ setDosageAsNeeded(value?: boolean | null): this;
393
+ getDosageAsNeeded(): boolean | undefined;
394
+ }
395
+ /** Claims-first editor for one staged DocumentReference entry. */
396
+ export declare class DocumentReferenceEntryEditor extends ClinicalResourceEntryEditor {
397
+ setIdentifier(identifier?: string | null): this;
398
+ getIdentifier(): string | undefined;
399
+ ensureIdentifier(): string;
400
+ setSubject(subject?: string | null): this;
401
+ getSubject(): string | undefined;
402
+ setType(value?: string | null): this;
403
+ getType(): string | undefined;
404
+ setCategory(value?: string | null): this;
405
+ getCategory(): string | undefined;
406
+ setContentType(value?: string | null): this;
407
+ getContentType(): string | undefined;
408
+ setContentData(value?: string | null): this;
409
+ getContentData(): string | undefined;
410
+ setContentHash(value?: string | null): this;
411
+ getContentHash(): string | undefined;
412
+ setLocation(value?: string | null): this;
413
+ getLocation(): string | undefined;
414
+ setDescription(value?: string | null): this;
415
+ getDescription(): string | undefined;
416
+ setDate(value?: string | null): this;
417
+ getDate(): string | undefined;
418
+ setAuthor(value?: string | null): this;
419
+ getAuthor(): string | undefined;
420
+ }
421
+ /** Claims-first editor for one staged CarePlan entry. */
422
+ export declare class CarePlanEntryEditor extends ClinicalResourceEntryEditor {
423
+ setIdentifier(identifier?: string | null): this;
424
+ getIdentifier(): string | undefined;
425
+ ensureIdentifier(): string;
426
+ setSubject(subject?: string | null): this;
427
+ getSubject(): string | undefined;
428
+ setStatus(value?: string | null): this;
429
+ getStatus(): string | undefined;
430
+ setIntent(value?: string | null): this;
431
+ getIntent(): string | undefined;
432
+ setCategory(value?: string | null): this;
433
+ getCategory(): string | undefined;
434
+ setEncounter(value?: string | null): this;
435
+ getEncounter(): string | undefined;
436
+ setDate(value?: string | null): this;
437
+ getDate(): string | undefined;
438
+ setNote(value?: string | null): this;
439
+ getNote(): string | undefined;
440
+ }
441
+ /** Claims-first editor for one staged Flag entry. */
442
+ export declare class FlagEntryEditor extends ClinicalResourceEntryEditor {
443
+ setIdentifier(identifier?: string | null): this;
444
+ getIdentifier(): string | undefined;
445
+ ensureIdentifier(): string;
446
+ setSubject(subject?: string | null): this;
447
+ getSubject(): string | undefined;
448
+ setStatus(value?: string | null): this;
449
+ getStatus(): string | undefined;
450
+ setCategory(value?: string | null): this;
451
+ getCategory(): string | undefined;
452
+ setCode(value?: string | null): this;
453
+ getCode(): string | undefined;
454
+ setDate(value?: string | null): this;
455
+ getDate(): string | undefined;
456
+ setEncounter(value?: string | null): this;
457
+ getEncounter(): string | undefined;
458
+ setPeriodStart(value?: string | null): this;
459
+ getPeriodStart(): string | undefined;
460
+ setPeriodEnd(value?: string | null): this;
461
+ getPeriodEnd(): string | undefined;
462
+ }
463
+ /** Claims-first editor for one staged ClinicalImpression entry. */
464
+ export declare class ClinicalImpressionEntryEditor extends ClinicalResourceEntryEditor {
465
+ setIdentifier(identifier?: string | null): this;
466
+ getIdentifier(): string | undefined;
467
+ ensureIdentifier(): string;
468
+ setSubject(subject?: string | null): this;
469
+ getSubject(): string | undefined;
470
+ setStatus(value?: string | null): this;
471
+ getStatus(): string | undefined;
472
+ setDescription(value?: string | null): this;
473
+ getDescription(): string | undefined;
474
+ setEncounter(value?: string | null): this;
475
+ getEncounter(): string | undefined;
476
+ setEffectiveDateTime(value?: string | null): this;
477
+ getEffectiveDateTime(): string | undefined;
478
+ setAssessor(value?: string | null): this;
479
+ getAssessor(): string | undefined;
480
+ setSummary(value?: string | null): this;
481
+ getSummary(): string | undefined;
482
+ }
483
+ /** Claims-first editor for one staged Device entry. */
484
+ export declare class DeviceEntryEditor extends ClinicalResourceEntryEditor {
485
+ setIdentifier(identifier?: string | null): this;
486
+ getIdentifier(): string | undefined;
487
+ ensureIdentifier(): string;
488
+ setPatient(value?: string | null): this;
489
+ getPatient(): string | undefined;
490
+ setStatus(value?: string | null): this;
491
+ getStatus(): string | undefined;
492
+ setType(value?: string | null): this;
493
+ getType(): string | undefined;
494
+ setManufacturer(value?: string | null): this;
495
+ getManufacturer(): string | undefined;
496
+ setModel(value?: string | null): this;
497
+ getModel(): string | undefined;
498
+ setDeviceName(value?: string | null): this;
499
+ getDeviceName(): string | undefined;
500
+ setSerialNumber(value?: string | null): this;
501
+ getSerialNumber(): string | undefined;
502
+ setOrganization(value?: string | null): this;
503
+ getOrganization(): string | undefined;
504
+ setLocation(value?: string | null): this;
505
+ getLocation(): string | undefined;
506
+ setUrl(value?: string | null): this;
507
+ getUrl(): string | undefined;
508
+ setNote(value?: string | null): this;
509
+ getNote(): string | undefined;
510
+ }
511
+ /** Claims-first editor for one staged DeviceUseStatement entry. */
512
+ export declare class DeviceUseStatementEntryEditor extends ClinicalResourceEntryEditor {
513
+ setIdentifier(identifier?: string | null): this;
514
+ getIdentifier(): string | undefined;
515
+ ensureIdentifier(): string;
516
+ setSubject(subject?: string | null): this;
517
+ getSubject(): string | undefined;
518
+ setStatus(value?: string | null): this;
519
+ getStatus(): string | undefined;
520
+ setDevice(value?: string | null): this;
521
+ getDevice(): string | undefined;
522
+ setRecordedOn(value?: string | null): this;
523
+ getRecordedOn(): string | undefined;
524
+ setTimingDateTime(value?: string | null): this;
525
+ getTimingDateTime(): string | undefined;
526
+ setReasonCode(value?: string | null): this;
527
+ getReasonCode(): string | undefined;
528
+ setSource(value?: string | null): this;
529
+ getSource(): string | undefined;
530
+ }
531
+ /** Claims-first editor for one staged Encounter entry. */
532
+ export declare class EncounterEntryEditor extends ClinicalResourceEntryEditor {
533
+ setIdentifier(identifier?: string | null): this;
534
+ getIdentifier(): string | undefined;
535
+ ensureIdentifier(): string;
536
+ setSubject(subject?: string | null): this;
537
+ getSubject(): string | undefined;
538
+ setStatus(value?: string | null): this;
539
+ getStatus(): string | undefined;
540
+ setClass(value?: string | null): this;
541
+ getClass(): string | undefined;
542
+ setType(value?: string | null): this;
543
+ getType(): string | undefined;
544
+ setParticipantList(values: readonly string[]): this;
545
+ getParticipantList(): string[];
546
+ setServiceProvider(value?: string | null): this;
547
+ getServiceProvider(): string | undefined;
548
+ setPeriodStart(value?: string | null): this;
549
+ getPeriodStart(): string | undefined;
550
+ setPeriodEnd(value?: string | null): this;
551
+ getPeriodEnd(): string | undefined;
552
+ setReasonCode(value?: string | null): this;
553
+ getReasonCode(): string | undefined;
554
+ }
555
+ /** Claims-first editor for one staged Coverage entry. */
556
+ export declare class CoverageEntryEditor extends ClinicalResourceEntryEditor {
557
+ setIdentifier(identifier?: string | null): this;
558
+ getIdentifier(): string | undefined;
559
+ ensureIdentifier(): string;
560
+ setStatus(value?: string | null): this;
561
+ getStatus(): string | undefined;
562
+ setType(value?: string | null): this;
563
+ getType(): string | undefined;
564
+ setPolicyHolder(value?: string | null): this;
565
+ getPolicyHolder(): string | undefined;
566
+ setSubscriber(value?: string | null): this;
567
+ getSubscriber(): string | undefined;
568
+ setBeneficiary(value?: string | null): this;
569
+ getBeneficiary(): string | undefined;
570
+ setRelationship(value?: string | null): this;
571
+ getRelationship(): string | undefined;
572
+ setPeriodStart(value?: string | null): this;
573
+ getPeriodStart(): string | undefined;
574
+ setPeriodEnd(value?: string | null): this;
575
+ getPeriodEnd(): string | undefined;
576
+ setPayorList(values: readonly string[]): this;
577
+ getPayorList(): string[];
578
+ }
579
+ /** Claims-first editor for one staged Immunization entry. */
580
+ export declare class ImmunizationEntryEditor extends ClinicalResourceEntryEditor {
581
+ setIdentifier(identifier?: string | null): this;
582
+ getIdentifier(): string | undefined;
583
+ ensureIdentifier(): string;
584
+ setSubject(subject?: string | null): this;
585
+ getSubject(): string | undefined;
586
+ setStatus(status?: string | null): this;
587
+ getStatus(): string | undefined;
588
+ setDate(date?: string | null): this;
589
+ getDate(): string | undefined;
590
+ setVaccineCode(code?: string | null): this;
591
+ getVaccineCode(): string | undefined;
592
+ setVaccineCodeTextLocal(text?: string | null): this;
593
+ getVaccineCodeTextLocal(): string | undefined;
594
+ setVaccineCodeDisplay(display?: string | null): this;
595
+ getVaccineCodeDisplay(): string | undefined;
596
+ setLocation(reference?: string | null): this;
597
+ getLocation(): string | undefined;
598
+ setManufacturer(reference?: string | null): this;
599
+ getManufacturer(): string | undefined;
600
+ setLotNumber(lotNumber?: string | null): this;
601
+ getLotNumber(): string | undefined;
602
+ setPerformerList(references: readonly string[]): this;
603
+ getPerformerList(): string[];
604
+ setReasonCode(code?: string | null): this;
605
+ getReasonCode(): string | undefined;
606
+ setStatusReason(reason?: string | null): this;
607
+ getStatusReason(): string | undefined;
608
+ setTargetDisease(code?: string | null): this;
609
+ getTargetDisease(): string | undefined;
610
+ setDoseSequence(sequence?: string | null): this;
611
+ getDoseSequence(): string | undefined;
612
+ setSeries(series?: string | null): this;
613
+ getSeries(): string | undefined;
614
+ setReactionDate(date?: string | null): this;
615
+ getReactionDate(): string | undefined;
616
+ setNote(note?: string | null): this;
617
+ getNote(): string | undefined;
618
+ setClinicalNote(note?: string | null): this;
619
+ getClinicalNote(): string | undefined;
620
+ }
621
+ /** Claims-first editor for one staged Procedure entry. */
622
+ export declare class ProcedureEntryEditor extends ClinicalResourceEntryEditor {
623
+ setIdentifier(identifier?: string | null): this;
624
+ getIdentifier(): string | undefined;
625
+ ensureIdentifier(): string;
626
+ setSubject(subject?: string | null): this;
627
+ getSubject(): string | undefined;
628
+ setStatus(status?: string | null): this;
629
+ getStatus(): string | undefined;
630
+ setDate(date?: string | null): this;
631
+ getDate(): string | undefined;
632
+ setCode(code?: string | null): this;
633
+ getCode(): string | undefined;
634
+ setCodeTextLocal(text?: string | null): this;
635
+ getCodeTextLocal(): string | undefined;
636
+ setCodeDisplay(display?: string | null): this;
637
+ getCodeDisplay(): string | undefined;
638
+ setEncounter(reference?: string | null): this;
639
+ getEncounter(): string | undefined;
640
+ setLocation(reference?: string | null): this;
641
+ getLocation(): string | undefined;
642
+ setReasonCode(code?: string | null): this;
643
+ getReasonCode(): string | undefined;
644
+ setNote(note?: string | null): this;
645
+ getNote(): string | undefined;
646
+ setClinicalNote(note?: string | null): this;
647
+ getClinicalNote(): string | undefined;
648
+ setPerformerList(references: readonly string[]): this;
649
+ getPerformerList(): string[];
650
+ setBasedOnList(references: readonly string[]): this;
651
+ getBasedOnList(): string[];
652
+ setReasonReferenceList(references: readonly string[]): this;
653
+ getReasonReferenceList(): string[];
654
+ }
655
+ /** Claims-first editor for one staged DiagnosticReport entry. */
656
+ export declare class DiagnosticReportEntryEditor extends ClinicalResourceEntryEditor {
657
+ setIdentifier(identifier?: string | null): this;
658
+ getIdentifier(): string | undefined;
659
+ ensureIdentifier(): string;
660
+ setSubject(subject?: string | null): this;
661
+ getSubject(): string | undefined;
662
+ setStatus(status?: string | null): this;
663
+ getStatus(): string | undefined;
664
+ setDate(date?: string | null): this;
665
+ getDate(): string | undefined;
666
+ setCategory(category?: string | null): this;
667
+ getCategory(): string | undefined;
668
+ setCode(code?: string | null): this;
669
+ getCode(): string | undefined;
670
+ setEncounter(reference?: string | null): this;
671
+ getEncounter(): string | undefined;
672
+ setPerformerList(references: readonly string[]): this;
673
+ getPerformerList(): string[];
674
+ setResultList(references: readonly string[]): this;
675
+ getResultList(): string[];
676
+ setSpecimenList(references: readonly string[]): this;
677
+ getSpecimenList(): string[];
678
+ setContainedDocumentIdentifierList(identifiers: readonly string[]): this;
679
+ getContainedDocumentIdentifierList(): string[];
680
+ setPresentedFormContentType(contentType?: string | null): this;
681
+ getPresentedFormContentType(): string | undefined;
682
+ setPresentedFormData(data?: string | null): this;
683
+ getPresentedFormData(): string | undefined;
684
+ setPresentedFormUrl(url?: string | null): this;
685
+ getPresentedFormUrl(): string | undefined;
232
686
  }
233
687
  /**
234
688
  * Employee-specific editor for one staged bundle entry.
@@ -265,3 +719,4 @@ export declare class EmployeeEntryEditor extends BundleEntryEditor {
265
719
  /** Writes the canonical employee organization tax id claim on this entry. */
266
720
  setMemberOfOrgTaxId(taxId: string): this;
267
721
  }
722
+ export {};