@digitalmedika/satusehat 0.1.0 → 0.3.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.
- package/README.md +120 -2
- package/dist/builders/chest-xray-study-builder.d.ts +16 -0
- package/dist/builders/encounter-builder.d.ts +124 -0
- package/dist/builders/encounter-condition-builder.d.ts +28 -0
- package/dist/builders/risk-assessment-builder.d.ts +39 -0
- package/dist/builders/service-request-imaging-study-diagnostic-report-builder.d.ts +49 -0
- package/dist/client/create-client.d.ts +1 -0
- package/dist/client/transport.d.ts +9 -0
- package/dist/core/types.d.ts +160 -0
- package/dist/endpoints/allergy-intolerance.d.ts +720 -0
- package/dist/endpoints/clinical-impression.d.ts +530 -0
- package/dist/endpoints/composition.d.ts +3 -0
- package/dist/endpoints/condition.d.ts +195 -195
- package/dist/endpoints/diagnostic-report.d.ts +70 -70
- package/dist/endpoints/dicom-router.d.ts +6 -0
- package/dist/endpoints/encounter.d.ts +156 -115
- package/dist/endpoints/imaging-study.d.ts +790 -0
- package/dist/endpoints/location.d.ts +30 -30
- package/dist/endpoints/medication-administration.d.ts +910 -0
- package/dist/endpoints/medication-request.d.ts +260 -260
- package/dist/endpoints/nutrition-order.d.ts +1510 -0
- package/dist/endpoints/observation.d.ts +230 -230
- package/dist/endpoints/organization.d.ts +20 -20
- package/dist/endpoints/practitioner-role.d.ts +25 -25
- package/dist/endpoints/procedure.d.ts +215 -215
- package/dist/endpoints/questionnaire-response.d.ts +195 -0
- package/dist/endpoints/risk-assessment.d.ts +770 -0
- package/dist/endpoints/service-request.d.ts +190 -190
- package/dist/endpoints/specimen.d.ts +105 -105
- package/dist/index.d.ts +21 -3
- package/dist/index.js +15 -1
- package/dist/schemas/allergy-intolerance.d.ts +4148 -0
- package/dist/schemas/clinical-impression.d.ts +2666 -0
- package/dist/schemas/composition.d.ts +2914 -0
- package/dist/schemas/condition.d.ts +476 -476
- package/dist/schemas/diagnostic-report.d.ts +172 -172
- package/dist/schemas/encounter.d.ts +1124 -564
- package/dist/schemas/imaging-study.d.ts +4609 -0
- package/dist/schemas/location.d.ts +72 -72
- package/dist/schemas/medication-administration.d.ts +5420 -0
- package/dist/schemas/medication-request.d.ts +1083 -1083
- package/dist/schemas/nutrition-order.d.ts +12261 -0
- package/dist/schemas/observation.d.ts +598 -598
- package/dist/schemas/organization.d.ts +60 -60
- package/dist/schemas/practitioner-role.d.ts +60 -60
- package/dist/schemas/procedure.d.ts +536 -536
- package/dist/schemas/questionnaire-response.d.ts +939 -0
- package/dist/schemas/risk-assessment.d.ts +4591 -0
- package/dist/schemas/service-request.d.ts +470 -470
- package/dist/schemas/specimen.d.ts +312 -312
- package/package.json +8 -1
|
@@ -21,6 +21,11 @@ export declare function createSpecimenClient(transport: Transport): {
|
|
|
21
21
|
extension?: {
|
|
22
22
|
url: string;
|
|
23
23
|
valueDateTime?: string | undefined;
|
|
24
|
+
valueReference?: {
|
|
25
|
+
reference: string;
|
|
26
|
+
type?: string | undefined;
|
|
27
|
+
display?: string | undefined;
|
|
28
|
+
} | undefined;
|
|
24
29
|
valueContactDetail?: {
|
|
25
30
|
name?: string | undefined;
|
|
26
31
|
telecom?: {
|
|
@@ -29,11 +34,6 @@ export declare function createSpecimenClient(transport: Transport): {
|
|
|
29
34
|
use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
|
|
30
35
|
}[] | undefined;
|
|
31
36
|
} | undefined;
|
|
32
|
-
valueReference?: {
|
|
33
|
-
reference: string;
|
|
34
|
-
type?: string | undefined;
|
|
35
|
-
display?: string | undefined;
|
|
36
|
-
} | undefined;
|
|
37
37
|
}[] | undefined;
|
|
38
38
|
identifier?: {
|
|
39
39
|
value: string;
|
|
@@ -55,24 +55,32 @@ export declare function createSpecimenClient(transport: Transport): {
|
|
|
55
55
|
authorString?: string | undefined;
|
|
56
56
|
time?: string | undefined;
|
|
57
57
|
}[] | undefined;
|
|
58
|
-
accessionIdentifier?: {
|
|
59
|
-
value?: string | undefined;
|
|
60
|
-
system?: string | undefined;
|
|
61
|
-
use?: string | undefined;
|
|
62
|
-
} | undefined;
|
|
63
|
-
receivedTime?: string | undefined;
|
|
64
58
|
parent?: {
|
|
65
59
|
reference: string;
|
|
66
60
|
type?: string | undefined;
|
|
67
61
|
display?: string | undefined;
|
|
68
62
|
}[] | undefined;
|
|
63
|
+
condition?: {
|
|
64
|
+
coding?: {
|
|
65
|
+
code?: string | undefined;
|
|
66
|
+
system?: string | undefined;
|
|
67
|
+
display?: string | undefined;
|
|
68
|
+
}[] | undefined;
|
|
69
|
+
text?: string | undefined;
|
|
70
|
+
}[] | undefined;
|
|
69
71
|
request?: {
|
|
70
72
|
reference: string;
|
|
71
73
|
type?: string | undefined;
|
|
72
74
|
display?: string | undefined;
|
|
73
75
|
}[] | undefined;
|
|
76
|
+
accessionIdentifier?: {
|
|
77
|
+
value?: string | undefined;
|
|
78
|
+
system?: string | undefined;
|
|
79
|
+
use?: string | undefined;
|
|
80
|
+
} | undefined;
|
|
81
|
+
receivedTime?: string | undefined;
|
|
74
82
|
collection?: {
|
|
75
|
-
|
|
83
|
+
method?: {
|
|
76
84
|
coding?: {
|
|
77
85
|
code?: string | undefined;
|
|
78
86
|
system?: string | undefined;
|
|
@@ -80,7 +88,7 @@ export declare function createSpecimenClient(transport: Transport): {
|
|
|
80
88
|
}[] | undefined;
|
|
81
89
|
text?: string | undefined;
|
|
82
90
|
} | undefined;
|
|
83
|
-
|
|
91
|
+
bodySite?: {
|
|
84
92
|
coding?: {
|
|
85
93
|
code?: string | undefined;
|
|
86
94
|
system?: string | undefined;
|
|
@@ -187,14 +195,6 @@ export declare function createSpecimenClient(transport: Transport): {
|
|
|
187
195
|
display?: string | undefined;
|
|
188
196
|
} | undefined;
|
|
189
197
|
}[] | undefined;
|
|
190
|
-
condition?: {
|
|
191
|
-
coding?: {
|
|
192
|
-
code?: string | undefined;
|
|
193
|
-
system?: string | undefined;
|
|
194
|
-
display?: string | undefined;
|
|
195
|
-
}[] | undefined;
|
|
196
|
-
text?: string | undefined;
|
|
197
|
-
}[] | undefined;
|
|
198
198
|
}>;
|
|
199
199
|
getById(input: {
|
|
200
200
|
id: string;
|
|
@@ -219,6 +219,11 @@ export declare function createSpecimenClient(transport: Transport): {
|
|
|
219
219
|
extension?: {
|
|
220
220
|
url: string;
|
|
221
221
|
valueDateTime?: string | undefined;
|
|
222
|
+
valueReference?: {
|
|
223
|
+
reference: string;
|
|
224
|
+
type?: string | undefined;
|
|
225
|
+
display?: string | undefined;
|
|
226
|
+
} | undefined;
|
|
222
227
|
valueContactDetail?: {
|
|
223
228
|
name?: string | undefined;
|
|
224
229
|
telecom?: {
|
|
@@ -227,11 +232,6 @@ export declare function createSpecimenClient(transport: Transport): {
|
|
|
227
232
|
use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
|
|
228
233
|
}[] | undefined;
|
|
229
234
|
} | undefined;
|
|
230
|
-
valueReference?: {
|
|
231
|
-
reference: string;
|
|
232
|
-
type?: string | undefined;
|
|
233
|
-
display?: string | undefined;
|
|
234
|
-
} | undefined;
|
|
235
235
|
}[] | undefined;
|
|
236
236
|
identifier?: {
|
|
237
237
|
value: string;
|
|
@@ -253,24 +253,32 @@ export declare function createSpecimenClient(transport: Transport): {
|
|
|
253
253
|
authorString?: string | undefined;
|
|
254
254
|
time?: string | undefined;
|
|
255
255
|
}[] | undefined;
|
|
256
|
-
accessionIdentifier?: {
|
|
257
|
-
value?: string | undefined;
|
|
258
|
-
system?: string | undefined;
|
|
259
|
-
use?: string | undefined;
|
|
260
|
-
} | undefined;
|
|
261
|
-
receivedTime?: string | undefined;
|
|
262
256
|
parent?: {
|
|
263
257
|
reference: string;
|
|
264
258
|
type?: string | undefined;
|
|
265
259
|
display?: string | undefined;
|
|
266
260
|
}[] | undefined;
|
|
261
|
+
condition?: {
|
|
262
|
+
coding?: {
|
|
263
|
+
code?: string | undefined;
|
|
264
|
+
system?: string | undefined;
|
|
265
|
+
display?: string | undefined;
|
|
266
|
+
}[] | undefined;
|
|
267
|
+
text?: string | undefined;
|
|
268
|
+
}[] | undefined;
|
|
267
269
|
request?: {
|
|
268
270
|
reference: string;
|
|
269
271
|
type?: string | undefined;
|
|
270
272
|
display?: string | undefined;
|
|
271
273
|
}[] | undefined;
|
|
274
|
+
accessionIdentifier?: {
|
|
275
|
+
value?: string | undefined;
|
|
276
|
+
system?: string | undefined;
|
|
277
|
+
use?: string | undefined;
|
|
278
|
+
} | undefined;
|
|
279
|
+
receivedTime?: string | undefined;
|
|
272
280
|
collection?: {
|
|
273
|
-
|
|
281
|
+
method?: {
|
|
274
282
|
coding?: {
|
|
275
283
|
code?: string | undefined;
|
|
276
284
|
system?: string | undefined;
|
|
@@ -278,7 +286,7 @@ export declare function createSpecimenClient(transport: Transport): {
|
|
|
278
286
|
}[] | undefined;
|
|
279
287
|
text?: string | undefined;
|
|
280
288
|
} | undefined;
|
|
281
|
-
|
|
289
|
+
bodySite?: {
|
|
282
290
|
coding?: {
|
|
283
291
|
code?: string | undefined;
|
|
284
292
|
system?: string | undefined;
|
|
@@ -385,14 +393,6 @@ export declare function createSpecimenClient(transport: Transport): {
|
|
|
385
393
|
display?: string | undefined;
|
|
386
394
|
} | undefined;
|
|
387
395
|
}[] | undefined;
|
|
388
|
-
condition?: {
|
|
389
|
-
coding?: {
|
|
390
|
-
code?: string | undefined;
|
|
391
|
-
system?: string | undefined;
|
|
392
|
-
display?: string | undefined;
|
|
393
|
-
}[] | undefined;
|
|
394
|
-
text?: string | undefined;
|
|
395
|
-
}[] | undefined;
|
|
396
396
|
}>;
|
|
397
397
|
search(input: SpecimenSearchParams, signal?: AbortSignal): Promise<{
|
|
398
398
|
resourceType: "Bundle";
|
|
@@ -423,6 +423,11 @@ export declare function createSpecimenClient(transport: Transport): {
|
|
|
423
423
|
extension?: {
|
|
424
424
|
url: string;
|
|
425
425
|
valueDateTime?: string | undefined;
|
|
426
|
+
valueReference?: {
|
|
427
|
+
reference: string;
|
|
428
|
+
type?: string | undefined;
|
|
429
|
+
display?: string | undefined;
|
|
430
|
+
} | undefined;
|
|
426
431
|
valueContactDetail?: {
|
|
427
432
|
name?: string | undefined;
|
|
428
433
|
telecom?: {
|
|
@@ -431,11 +436,6 @@ export declare function createSpecimenClient(transport: Transport): {
|
|
|
431
436
|
use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
|
|
432
437
|
}[] | undefined;
|
|
433
438
|
} | undefined;
|
|
434
|
-
valueReference?: {
|
|
435
|
-
reference: string;
|
|
436
|
-
type?: string | undefined;
|
|
437
|
-
display?: string | undefined;
|
|
438
|
-
} | undefined;
|
|
439
439
|
}[] | undefined;
|
|
440
440
|
identifier?: {
|
|
441
441
|
value: string;
|
|
@@ -457,24 +457,32 @@ export declare function createSpecimenClient(transport: Transport): {
|
|
|
457
457
|
authorString?: string | undefined;
|
|
458
458
|
time?: string | undefined;
|
|
459
459
|
}[] | undefined;
|
|
460
|
-
accessionIdentifier?: {
|
|
461
|
-
value?: string | undefined;
|
|
462
|
-
system?: string | undefined;
|
|
463
|
-
use?: string | undefined;
|
|
464
|
-
} | undefined;
|
|
465
|
-
receivedTime?: string | undefined;
|
|
466
460
|
parent?: {
|
|
467
461
|
reference: string;
|
|
468
462
|
type?: string | undefined;
|
|
469
463
|
display?: string | undefined;
|
|
470
464
|
}[] | undefined;
|
|
465
|
+
condition?: {
|
|
466
|
+
coding?: {
|
|
467
|
+
code?: string | undefined;
|
|
468
|
+
system?: string | undefined;
|
|
469
|
+
display?: string | undefined;
|
|
470
|
+
}[] | undefined;
|
|
471
|
+
text?: string | undefined;
|
|
472
|
+
}[] | undefined;
|
|
471
473
|
request?: {
|
|
472
474
|
reference: string;
|
|
473
475
|
type?: string | undefined;
|
|
474
476
|
display?: string | undefined;
|
|
475
477
|
}[] | undefined;
|
|
478
|
+
accessionIdentifier?: {
|
|
479
|
+
value?: string | undefined;
|
|
480
|
+
system?: string | undefined;
|
|
481
|
+
use?: string | undefined;
|
|
482
|
+
} | undefined;
|
|
483
|
+
receivedTime?: string | undefined;
|
|
476
484
|
collection?: {
|
|
477
|
-
|
|
485
|
+
method?: {
|
|
478
486
|
coding?: {
|
|
479
487
|
code?: string | undefined;
|
|
480
488
|
system?: string | undefined;
|
|
@@ -482,7 +490,7 @@ export declare function createSpecimenClient(transport: Transport): {
|
|
|
482
490
|
}[] | undefined;
|
|
483
491
|
text?: string | undefined;
|
|
484
492
|
} | undefined;
|
|
485
|
-
|
|
493
|
+
bodySite?: {
|
|
486
494
|
coding?: {
|
|
487
495
|
code?: string | undefined;
|
|
488
496
|
system?: string | undefined;
|
|
@@ -589,14 +597,6 @@ export declare function createSpecimenClient(transport: Transport): {
|
|
|
589
597
|
display?: string | undefined;
|
|
590
598
|
} | undefined;
|
|
591
599
|
}[] | undefined;
|
|
592
|
-
condition?: {
|
|
593
|
-
coding?: {
|
|
594
|
-
code?: string | undefined;
|
|
595
|
-
system?: string | undefined;
|
|
596
|
-
display?: string | undefined;
|
|
597
|
-
}[] | undefined;
|
|
598
|
-
text?: string | undefined;
|
|
599
|
-
}[] | undefined;
|
|
600
600
|
};
|
|
601
601
|
fullUrl?: string | undefined;
|
|
602
602
|
search?: {
|
|
@@ -628,6 +628,11 @@ export declare function createSpecimenClient(transport: Transport): {
|
|
|
628
628
|
extension?: {
|
|
629
629
|
url: string;
|
|
630
630
|
valueDateTime?: string | undefined;
|
|
631
|
+
valueReference?: {
|
|
632
|
+
reference: string;
|
|
633
|
+
type?: string | undefined;
|
|
634
|
+
display?: string | undefined;
|
|
635
|
+
} | undefined;
|
|
631
636
|
valueContactDetail?: {
|
|
632
637
|
name?: string | undefined;
|
|
633
638
|
telecom?: {
|
|
@@ -636,11 +641,6 @@ export declare function createSpecimenClient(transport: Transport): {
|
|
|
636
641
|
use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
|
|
637
642
|
}[] | undefined;
|
|
638
643
|
} | undefined;
|
|
639
|
-
valueReference?: {
|
|
640
|
-
reference: string;
|
|
641
|
-
type?: string | undefined;
|
|
642
|
-
display?: string | undefined;
|
|
643
|
-
} | undefined;
|
|
644
644
|
}[] | undefined;
|
|
645
645
|
identifier?: {
|
|
646
646
|
value: string;
|
|
@@ -662,24 +662,32 @@ export declare function createSpecimenClient(transport: Transport): {
|
|
|
662
662
|
authorString?: string | undefined;
|
|
663
663
|
time?: string | undefined;
|
|
664
664
|
}[] | undefined;
|
|
665
|
-
accessionIdentifier?: {
|
|
666
|
-
value?: string | undefined;
|
|
667
|
-
system?: string | undefined;
|
|
668
|
-
use?: string | undefined;
|
|
669
|
-
} | undefined;
|
|
670
|
-
receivedTime?: string | undefined;
|
|
671
665
|
parent?: {
|
|
672
666
|
reference: string;
|
|
673
667
|
type?: string | undefined;
|
|
674
668
|
display?: string | undefined;
|
|
675
669
|
}[] | undefined;
|
|
670
|
+
condition?: {
|
|
671
|
+
coding?: {
|
|
672
|
+
code?: string | undefined;
|
|
673
|
+
system?: string | undefined;
|
|
674
|
+
display?: string | undefined;
|
|
675
|
+
}[] | undefined;
|
|
676
|
+
text?: string | undefined;
|
|
677
|
+
}[] | undefined;
|
|
676
678
|
request?: {
|
|
677
679
|
reference: string;
|
|
678
680
|
type?: string | undefined;
|
|
679
681
|
display?: string | undefined;
|
|
680
682
|
}[] | undefined;
|
|
683
|
+
accessionIdentifier?: {
|
|
684
|
+
value?: string | undefined;
|
|
685
|
+
system?: string | undefined;
|
|
686
|
+
use?: string | undefined;
|
|
687
|
+
} | undefined;
|
|
688
|
+
receivedTime?: string | undefined;
|
|
681
689
|
collection?: {
|
|
682
|
-
|
|
690
|
+
method?: {
|
|
683
691
|
coding?: {
|
|
684
692
|
code?: string | undefined;
|
|
685
693
|
system?: string | undefined;
|
|
@@ -687,7 +695,7 @@ export declare function createSpecimenClient(transport: Transport): {
|
|
|
687
695
|
}[] | undefined;
|
|
688
696
|
text?: string | undefined;
|
|
689
697
|
} | undefined;
|
|
690
|
-
|
|
698
|
+
bodySite?: {
|
|
691
699
|
coding?: {
|
|
692
700
|
code?: string | undefined;
|
|
693
701
|
system?: string | undefined;
|
|
@@ -794,14 +802,6 @@ export declare function createSpecimenClient(transport: Transport): {
|
|
|
794
802
|
display?: string | undefined;
|
|
795
803
|
} | undefined;
|
|
796
804
|
}[] | undefined;
|
|
797
|
-
condition?: {
|
|
798
|
-
coding?: {
|
|
799
|
-
code?: string | undefined;
|
|
800
|
-
system?: string | undefined;
|
|
801
|
-
display?: string | undefined;
|
|
802
|
-
}[] | undefined;
|
|
803
|
-
text?: string | undefined;
|
|
804
|
-
}[] | undefined;
|
|
805
805
|
}>;
|
|
806
806
|
update(input: {
|
|
807
807
|
id: string;
|
|
@@ -827,6 +827,11 @@ export declare function createSpecimenClient(transport: Transport): {
|
|
|
827
827
|
extension?: {
|
|
828
828
|
url: string;
|
|
829
829
|
valueDateTime?: string | undefined;
|
|
830
|
+
valueReference?: {
|
|
831
|
+
reference: string;
|
|
832
|
+
type?: string | undefined;
|
|
833
|
+
display?: string | undefined;
|
|
834
|
+
} | undefined;
|
|
830
835
|
valueContactDetail?: {
|
|
831
836
|
name?: string | undefined;
|
|
832
837
|
telecom?: {
|
|
@@ -835,11 +840,6 @@ export declare function createSpecimenClient(transport: Transport): {
|
|
|
835
840
|
use?: "home" | "work" | "temp" | "old" | "mobile" | undefined;
|
|
836
841
|
}[] | undefined;
|
|
837
842
|
} | undefined;
|
|
838
|
-
valueReference?: {
|
|
839
|
-
reference: string;
|
|
840
|
-
type?: string | undefined;
|
|
841
|
-
display?: string | undefined;
|
|
842
|
-
} | undefined;
|
|
843
843
|
}[] | undefined;
|
|
844
844
|
identifier?: {
|
|
845
845
|
value: string;
|
|
@@ -861,24 +861,32 @@ export declare function createSpecimenClient(transport: Transport): {
|
|
|
861
861
|
authorString?: string | undefined;
|
|
862
862
|
time?: string | undefined;
|
|
863
863
|
}[] | undefined;
|
|
864
|
-
accessionIdentifier?: {
|
|
865
|
-
value?: string | undefined;
|
|
866
|
-
system?: string | undefined;
|
|
867
|
-
use?: string | undefined;
|
|
868
|
-
} | undefined;
|
|
869
|
-
receivedTime?: string | undefined;
|
|
870
864
|
parent?: {
|
|
871
865
|
reference: string;
|
|
872
866
|
type?: string | undefined;
|
|
873
867
|
display?: string | undefined;
|
|
874
868
|
}[] | undefined;
|
|
869
|
+
condition?: {
|
|
870
|
+
coding?: {
|
|
871
|
+
code?: string | undefined;
|
|
872
|
+
system?: string | undefined;
|
|
873
|
+
display?: string | undefined;
|
|
874
|
+
}[] | undefined;
|
|
875
|
+
text?: string | undefined;
|
|
876
|
+
}[] | undefined;
|
|
875
877
|
request?: {
|
|
876
878
|
reference: string;
|
|
877
879
|
type?: string | undefined;
|
|
878
880
|
display?: string | undefined;
|
|
879
881
|
}[] | undefined;
|
|
882
|
+
accessionIdentifier?: {
|
|
883
|
+
value?: string | undefined;
|
|
884
|
+
system?: string | undefined;
|
|
885
|
+
use?: string | undefined;
|
|
886
|
+
} | undefined;
|
|
887
|
+
receivedTime?: string | undefined;
|
|
880
888
|
collection?: {
|
|
881
|
-
|
|
889
|
+
method?: {
|
|
882
890
|
coding?: {
|
|
883
891
|
code?: string | undefined;
|
|
884
892
|
system?: string | undefined;
|
|
@@ -886,7 +894,7 @@ export declare function createSpecimenClient(transport: Transport): {
|
|
|
886
894
|
}[] | undefined;
|
|
887
895
|
text?: string | undefined;
|
|
888
896
|
} | undefined;
|
|
889
|
-
|
|
897
|
+
bodySite?: {
|
|
890
898
|
coding?: {
|
|
891
899
|
code?: string | undefined;
|
|
892
900
|
system?: string | undefined;
|
|
@@ -993,13 +1001,5 @@ export declare function createSpecimenClient(transport: Transport): {
|
|
|
993
1001
|
display?: string | undefined;
|
|
994
1002
|
} | undefined;
|
|
995
1003
|
}[] | undefined;
|
|
996
|
-
condition?: {
|
|
997
|
-
coding?: {
|
|
998
|
-
code?: string | undefined;
|
|
999
|
-
system?: string | undefined;
|
|
1000
|
-
display?: string | undefined;
|
|
1001
|
-
}[] | undefined;
|
|
1002
|
-
text?: string | undefined;
|
|
1003
|
-
}[] | undefined;
|
|
1004
1004
|
}>;
|
|
1005
1005
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,24 +1,42 @@
|
|
|
1
|
-
export { createSatuSehatClient, createSatuSehatClientFromEnv, resolveSatuSehatBaseUrl, resolveSatuSehatAuthBaseUrl, } from "./client/create-client";
|
|
1
|
+
export { createSatuSehatClient, createSatuSehatClientFromEnv, resolveSatuSehatBaseUrl, resolveSatuSehatAuthBaseUrl, resolveSatuSehatDicomBaseUrl, } from "./client/create-client";
|
|
2
2
|
export { createClientCredentialsTokenProvider } from "./client/auth";
|
|
3
3
|
export { createFileTokenStore, createMemoryTokenStore, isAccessTokenExpired, } from "./client/token-store";
|
|
4
4
|
export { OrganizationBuilder, createOrganizationBuilder } from "./builders/organization-builder";
|
|
5
|
+
export { EncounterBuilder, createEmergencyEncounterHistory, createEncounterHospitalization, createEncounterBuilder, createEncounterLocationServiceClassExtension, withEncounterLocationServiceClass, } from "./builders/encounter-builder";
|
|
6
|
+
export { EncounterConditionBuilder, createEncounterConditionBuilder, } from "./builders/encounter-condition-builder";
|
|
7
|
+
export { RiskAssessmentBuilder, createRiskAssessmentBuilder, } from "./builders/risk-assessment-builder";
|
|
8
|
+
export { createChestXRayStudyBuilder, } from "./builders/chest-xray-study-builder";
|
|
5
9
|
export { createCompleteBloodCountPanelBuilder, } from "./builders/cbc-panel-builder";
|
|
6
10
|
export { LaboratoryPanelBuilder, createLaboratoryPanelBuilder, } from "./builders/laboratory-panel-builder";
|
|
7
11
|
export { ServiceRequestSpecimenObservationBuilder, createServiceRequestSpecimenObservationBuilder, } from "./builders/service-request-specimen-observation-builder";
|
|
12
|
+
export { ServiceRequestImagingStudyDiagnosticReportBuilder, createServiceRequestImagingStudyDiagnosticReportBuilder, } from "./builders/service-request-imaging-study-diagnostic-report-builder";
|
|
8
13
|
export { SatuSehatApiError, SatuSehatConfigError, SatuSehatError, SatuSehatValidationError, } from "./core/errors";
|
|
9
|
-
export type { AccessTokenProvider, ConditionClient, DiagnosticReportClient, EncounterClient, LocationClient, MedicationClient, MedicationRequestClient, MaybePromise, ObservationClient, OrganizationClient, PatientClient, PractitionerClient, PractitionerRoleClient, ProcedureClient, QueryParams, SpecimenClient, ServiceRequestClient, SatuSehatClient, SatuSehatClientConfig, SatuSehatEnvironment, SatuSehatEnvSource, StoredAccessToken, TokenExpiryCheckOptions, TokenStore, } from "./core/types";
|
|
14
|
+
export type { AccessTokenProvider, AllergyIntoleranceClient, ClinicalImpressionClient, CompositionClient, ConditionClient, DicomRouterClient, DiagnosticReportClient, EncounterClient, ImagingStudyClient, LocationClient, MedicationAdministrationClient, MedicationClient, MedicationRequestClient, NutritionOrderClient, MaybePromise, ObservationClient, OrganizationClient, PatientClient, PractitionerClient, PractitionerRoleClient, ProcedureClient, QuestionnaireResponseClient, QueryParams, RiskAssessmentClient, SpecimenClient, ServiceRequestClient, SatuSehatClient, SatuSehatClientConfig, SatuSehatEnvironment, SatuSehatEnvSource, StoredAccessToken, TokenExpiryCheckOptions, TokenStore, } from "./core/types";
|
|
15
|
+
export type { AllergyIntolerance, AllergyIntoleranceCoding, AllergyIntoleranceCreateInput, AllergyIntoleranceIdentifier, AllergyIntoleranceNote, AllergyIntolerancePatchInput, AllergyIntolerancePatchOperation, AllergyIntoleranceQuantity, AllergyIntoleranceRange, AllergyIntoleranceReaction, AllergyIntoleranceSearchParams, AllergyIntoleranceSearchResponse, } from "./schemas/allergy-intolerance";
|
|
16
|
+
export type { ClinicalImpression, ClinicalImpressionCoding, ClinicalImpressionCreateInput, ClinicalImpressionFinding, ClinicalImpressionIdentifier, ClinicalImpressionNote, ClinicalImpressionPatchInput, ClinicalImpressionPatchOperation, ClinicalImpressionSearchParams, ClinicalImpressionSearchResponse, } from "./schemas/clinical-impression";
|
|
17
|
+
export type { Composition, CompositionAttester, CompositionAttesterMode, CompositionCoding, CompositionCreateInput, CompositionEvent, CompositionIdentifier, CompositionNarrative, CompositionNarrativeStatus, CompositionPatchInput, CompositionPatchOperation, CompositionRelatesTo, CompositionRelatesToCode, CompositionSearchParams, CompositionSearchResponse, CompositionSection, CompositionSectionMode, CompositionStatus, } from "./schemas/composition";
|
|
18
|
+
export type { QuestionnaireResponse, QuestionnaireResponseAnswer, QuestionnaireResponseAnswerValue, QuestionnaireResponseCreateInput, QuestionnaireResponseItem, QuestionnaireResponsePatchInput, QuestionnaireResponsePatchOperation, QuestionnaireResponseSearchParams, QuestionnaireResponseSearchResponse, } from "./schemas/questionnaire-response";
|
|
19
|
+
export type { RiskAssessment, RiskAssessmentCoding, RiskAssessmentCreateInput, RiskAssessmentNote, RiskAssessmentPatchInput, RiskAssessmentPatchOperation, RiskAssessmentPrediction, RiskAssessmentQuantity, RiskAssessmentRange, RiskAssessmentSearchParams, RiskAssessmentSearchResponse, RiskAssessmentStatus, } from "./schemas/risk-assessment";
|
|
20
|
+
export type { EncounterBuilderInput, EncounterHospitalizationHelperInput, EncounterBuilderPreset, EmergencyEncounterClassStageInput, EmergencyEncounterHistoryInput, EmergencyEncounterHistoryResult, EmergencyEncounterStatusStageInput, } from "./builders/encounter-builder";
|
|
21
|
+
export type { EncounterConditionBuilderInput, EncounterDiagnosisBuildLinks, } from "./builders/encounter-condition-builder";
|
|
22
|
+
export type { RiskAssessmentBuilderInput, } from "./builders/risk-assessment-builder";
|
|
23
|
+
export type { ChestXRayStudyBuilderInput, } from "./builders/chest-xray-study-builder";
|
|
10
24
|
export type { DiagnosticReportBuildLinks, ObservationBuildLinks, ServiceRequestBuildLinks, ServiceRequestSpecimenObservationBuilderInput, } from "./builders/service-request-specimen-observation-builder";
|
|
25
|
+
export type { RadiologyDiagnosticReportBuildLinks, RadiologyImagingStudyBuildLinks, RadiologyServiceRequestBuildLinks, ServiceRequestImagingStudyDiagnosticReportBuilderInput, } from "./builders/service-request-imaging-study-diagnostic-report-builder";
|
|
11
26
|
export type { CompleteBloodCountObservationKey, CompleteBloodCountPanelBuilderInput, } from "./builders/cbc-panel-builder";
|
|
12
27
|
export type { LaboratoryPanelBuilderInput, LaboratoryPanelDiagnosticReportLinks, LaboratoryPanelObservationEntry, LaboratoryPanelObservationInput, LaboratoryPanelObservationLinks, LaboratoryPanelServiceRequestLinks, } from "./builders/laboratory-panel-builder";
|
|
13
28
|
export type { Condition, ConditionAge, ConditionCoding, ConditionCreateInput, ConditionEvidence, ConditionIdentifier, ConditionNote, ConditionPatchInput, ConditionPatchOperation, ConditionRange, ConditionSearchParams, ConditionSearchResponse, ConditionStage, } from "./schemas/condition";
|
|
14
29
|
export type { DiagnosticReport, DiagnosticReportCoding, DiagnosticReportCreateInput, DiagnosticReportIdentifier, DiagnosticReportMedia, DiagnosticReportPatchInput, DiagnosticReportPatchOperation, DiagnosticReportSearchParams, DiagnosticReportSearchResponse, DiagnosticReportStatus, } from "./schemas/diagnostic-report";
|
|
30
|
+
export type { ImagingStudy, ImagingStudyCoding, ImagingStudyCreateInput, ImagingStudyIdentifier, ImagingStudyNote, ImagingStudyPatchInput, ImagingStudyPatchOperation, ImagingStudySearchParams, ImagingStudySearchResponse, ImagingStudySeries, ImagingStudySeriesInstance, ImagingStudySeriesPerformer, ImagingStudyStatus, } from "./schemas/imaging-study";
|
|
15
31
|
export type { Observation, ObservationCoding, ObservationComponent, ObservationCreateInput, ObservationIdentifier, ObservationNote, ObservationPatchInput, ObservationPatchOperation, ObservationQuantity, ObservationRange, ObservationReferenceRange, ObservationSearchParams, ObservationSearchResponse, ObservationStatus, } from "./schemas/observation";
|
|
16
32
|
export type { Procedure, ProcedureCoding, ProcedureCreateInput, ProcedureFocalDevice, ProcedureIdentifier, ProcedureNote, ProcedurePatchInput, ProcedurePatchOperation, ProcedurePerformer, ProcedureSearchParams, ProcedureSearchResponse, ProcedureStatus, } from "./schemas/procedure";
|
|
33
|
+
export type { MedicationAdministration, MedicationAdministrationCreateInput, MedicationAdministrationDosage, MedicationAdministrationIdentifier, MedicationAdministrationNote, MedicationAdministrationPatchInput, MedicationAdministrationPatchOperation, MedicationAdministrationPerformer, MedicationAdministrationQuantity, MedicationAdministrationRatio, MedicationAdministrationSearchParams, MedicationAdministrationSearchResponse, MedicationAdministrationStatus, } from "./schemas/medication-administration";
|
|
17
34
|
export type { Medication, MedicationBatch, MedicationCoding, MedicationCreateInput, MedicationIdentifier, MedicationIngredient, MedicationPatchInput, MedicationPatchOperation, MedicationQuantity, MedicationRatio, MedicationStatus, MedicationTypeExtension, } from "./schemas/medication";
|
|
18
35
|
export type { MedicationRequest, MedicationRequestCoding, MedicationRequestCreateInput, MedicationRequestDispenseRequest, MedicationRequestDoseAndRate, MedicationRequestDosageInstruction, MedicationRequestIdentifier, MedicationRequestIntent, MedicationRequestNote, MedicationRequestPatchInput, MedicationRequestPatchOperation, MedicationRequestPriority, MedicationRequestQuantity, MedicationRequestRange, MedicationRequestRatio, MedicationRequestSearchParams, MedicationRequestSearchResponse, MedicationRequestStatus, MedicationRequestSubstitution, MedicationRequestTiming, MedicationRequestTimingRepeat, } from "./schemas/medication-request";
|
|
36
|
+
export type { NutritionOrder, NutritionOrderCreateInput, NutritionOrderEnteralFormula, NutritionOrderEnteralFormulaAdministration, NutritionOrderIdentifier, NutritionOrderIntent, NutritionOrderNote, NutritionOrderOralDiet, NutritionOrderOralDietNutrient, NutritionOrderOralDietTexture, NutritionOrderPatchInput, NutritionOrderPatchOperation, NutritionOrderPriority, NutritionOrderQuantity, NutritionOrderRatio, NutritionOrderSearchParams, NutritionOrderSearchResponse, NutritionOrderStatus, NutritionOrderSupplement, NutritionOrderTiming, NutritionOrderTimingRepeat, } from "./schemas/nutrition-order";
|
|
19
37
|
export type { ServiceRequest, ServiceRequestCoding, ServiceRequestCreateInput, ServiceRequestIdentifier, ServiceRequestIntent, ServiceRequestNote, ServiceRequestPatchInput, ServiceRequestPatchOperation, ServiceRequestPriority, ServiceRequestQuantity, ServiceRequestRange, ServiceRequestRatio, ServiceRequestSearchParams, ServiceRequestSearchResponse, ServiceRequestStatus, } from "./schemas/service-request";
|
|
20
38
|
export type { Specimen, SpecimenCoding, SpecimenCollection, SpecimenContactDetail, SpecimenContainer, SpecimenCreateInput, SpecimenExtension, SpecimenIdentifier, SpecimenNote, SpecimenPatchInput, SpecimenPatchOperation, SpecimenProcessing, SpecimenQuantity, SpecimenSearchParams, SpecimenSearchResponse, SpecimenStatus, } from "./schemas/specimen";
|
|
21
|
-
export type { Encounter, EncounterClass, EncounterClassHistory, EncounterCreateInput, EncounterDiagnosis, EncounterDuration, EncounterHospitalization, EncounterIdentifier, EncounterLocation, EncounterParticipant, EncounterPatchInput, EncounterPatchOperation, EncounterSearchParams, EncounterSearchResponse, EncounterStatus, EncounterStatusHistory, } from "./schemas/encounter";
|
|
39
|
+
export type { EncounterAdmitSource, EncounterAdmitSourceCoding, Encounter, EncounterClass, EncounterClassHistory, EncounterCreateInput, EncounterDiagnosis, EncounterDischargeDisposition, EncounterDischargeDispositionCoding, EncounterDuration, EncounterHospitalization, EncounterHospitalizationLocationReference, EncounterIdentifier, EncounterLocation, EncounterLocationExtension, EncounterLocationServiceClassExtension, EncounterLocationServiceClassValue, EncounterParticipant, EncounterPatchInput, EncounterPatchOperation, EncounterSearchParams, EncounterSearchResponse, EncounterStatus, EncounterStatusHistory, } from "./schemas/encounter";
|
|
22
40
|
export type { Location, LocationCreateInput, LocationHoursOfOperation, LocationIdentifier, LocationMode, LocationPatchInput, LocationPatchOperation, LocationPhysicalType, LocationPosition, LocationSearchParams, LocationSearchResponse, LocationStatus, LocationType, } from "./schemas/location";
|
|
23
41
|
export type { Patient, PatientIdentifier, PatientSearchParams, PatientSearchResponse, } from "./schemas/patient";
|
|
24
42
|
export type { Practitioner, PractitionerIdentifier, PractitionerQualification, PractitionerSearchParams, PractitionerSearchResponse, } from "./schemas/practitioner";
|
package/dist/index.js
CHANGED
|
@@ -1,21 +1,35 @@
|
|
|
1
1
|
export {
|
|
2
|
+
withEncounterLocationServiceClass,
|
|
3
|
+
resolveSatuSehatDicomBaseUrl,
|
|
2
4
|
resolveSatuSehatBaseUrl,
|
|
3
5
|
resolveSatuSehatAuthBaseUrl,
|
|
4
6
|
isAccessTokenExpired,
|
|
5
7
|
createServiceRequestSpecimenObservationBuilder,
|
|
8
|
+
createServiceRequestImagingStudyDiagnosticReportBuilder,
|
|
6
9
|
createSatuSehatClientFromEnv,
|
|
7
10
|
createSatuSehatClient,
|
|
11
|
+
createRiskAssessmentBuilder,
|
|
8
12
|
createOrganizationBuilder,
|
|
9
13
|
createMemoryTokenStore,
|
|
10
14
|
createLaboratoryPanelBuilder,
|
|
11
15
|
createFileTokenStore,
|
|
16
|
+
createEncounterLocationServiceClassExtension,
|
|
17
|
+
createEncounterHospitalization,
|
|
18
|
+
createEncounterConditionBuilder,
|
|
19
|
+
createEncounterBuilder,
|
|
20
|
+
createEmergencyEncounterHistory,
|
|
12
21
|
createCompleteBloodCountPanelBuilder,
|
|
13
22
|
createClientCredentialsTokenProvider,
|
|
23
|
+
createChestXRayStudyBuilder,
|
|
14
24
|
ServiceRequestSpecimenObservationBuilder,
|
|
25
|
+
ServiceRequestImagingStudyDiagnosticReportBuilder,
|
|
15
26
|
SatuSehatValidationError,
|
|
16
27
|
SatuSehatError,
|
|
17
28
|
SatuSehatConfigError,
|
|
18
29
|
SatuSehatApiError,
|
|
30
|
+
RiskAssessmentBuilder,
|
|
19
31
|
OrganizationBuilder,
|
|
20
|
-
LaboratoryPanelBuilder
|
|
32
|
+
LaboratoryPanelBuilder,
|
|
33
|
+
EncounterConditionBuilder,
|
|
34
|
+
EncounterBuilder
|
|
21
35
|
};
|