@digitalmedika/satusehat 0.1.0 → 0.2.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 +118 -2
- package/dist/builders/chest-xray-study-builder.d.ts +16 -0
- package/dist/builders/encounter-builder.d.ts +124 -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 +19 -3
- package/dist/index.js +13 -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
|
@@ -10,15 +10,15 @@ export declare function createDiagnosticReportClient(transport: Transport): {
|
|
|
10
10
|
}[];
|
|
11
11
|
text?: string | undefined;
|
|
12
12
|
};
|
|
13
|
-
status: "unknown" | "
|
|
13
|
+
status: "unknown" | "entered-in-error" | "preliminary" | "final" | "amended" | "registered" | "corrected" | "cancelled" | "partial" | "appended";
|
|
14
14
|
resourceType: "DiagnosticReport";
|
|
15
15
|
id: string;
|
|
16
|
-
|
|
16
|
+
encounter: {
|
|
17
17
|
reference: string;
|
|
18
18
|
type?: string | undefined;
|
|
19
19
|
display?: string | undefined;
|
|
20
20
|
};
|
|
21
|
-
|
|
21
|
+
subject: {
|
|
22
22
|
reference: string;
|
|
23
23
|
type?: string | undefined;
|
|
24
24
|
display?: string | undefined;
|
|
@@ -41,29 +41,29 @@ export declare function createDiagnosticReportClient(transport: Transport): {
|
|
|
41
41
|
}[] | undefined;
|
|
42
42
|
text?: string | undefined;
|
|
43
43
|
}[] | undefined;
|
|
44
|
-
|
|
44
|
+
effectiveDateTime?: string | undefined;
|
|
45
|
+
effectivePeriod?: {
|
|
46
|
+
start?: string | undefined;
|
|
47
|
+
end?: string | undefined;
|
|
48
|
+
} | undefined;
|
|
49
|
+
basedOn?: {
|
|
45
50
|
reference: string;
|
|
46
51
|
type?: string | undefined;
|
|
47
52
|
display?: string | undefined;
|
|
48
53
|
}[] | undefined;
|
|
49
|
-
|
|
54
|
+
performer?: {
|
|
50
55
|
reference: string;
|
|
51
56
|
type?: string | undefined;
|
|
52
57
|
display?: string | undefined;
|
|
53
58
|
}[] | undefined;
|
|
54
|
-
|
|
55
|
-
effectivePeriod?: {
|
|
56
|
-
start?: string | undefined;
|
|
57
|
-
end?: string | undefined;
|
|
58
|
-
} | undefined;
|
|
59
|
-
effectiveTiming?: unknown;
|
|
60
|
-
effectiveInstant?: string | undefined;
|
|
61
|
-
issued?: string | undefined;
|
|
62
|
-
performer?: {
|
|
59
|
+
specimen?: {
|
|
63
60
|
reference: string;
|
|
64
61
|
type?: string | undefined;
|
|
65
62
|
display?: string | undefined;
|
|
66
63
|
}[] | undefined;
|
|
64
|
+
effectiveTiming?: unknown;
|
|
65
|
+
effectiveInstant?: string | undefined;
|
|
66
|
+
issued?: string | undefined;
|
|
67
67
|
resultsInterpreter?: {
|
|
68
68
|
reference: string;
|
|
69
69
|
type?: string | undefined;
|
|
@@ -119,15 +119,15 @@ export declare function createDiagnosticReportClient(transport: Transport): {
|
|
|
119
119
|
}[];
|
|
120
120
|
text?: string | undefined;
|
|
121
121
|
};
|
|
122
|
-
status: "unknown" | "
|
|
122
|
+
status: "unknown" | "entered-in-error" | "preliminary" | "final" | "amended" | "registered" | "corrected" | "cancelled" | "partial" | "appended";
|
|
123
123
|
resourceType: "DiagnosticReport";
|
|
124
124
|
id: string;
|
|
125
|
-
|
|
125
|
+
encounter: {
|
|
126
126
|
reference: string;
|
|
127
127
|
type?: string | undefined;
|
|
128
128
|
display?: string | undefined;
|
|
129
129
|
};
|
|
130
|
-
|
|
130
|
+
subject: {
|
|
131
131
|
reference: string;
|
|
132
132
|
type?: string | undefined;
|
|
133
133
|
display?: string | undefined;
|
|
@@ -150,29 +150,29 @@ export declare function createDiagnosticReportClient(transport: Transport): {
|
|
|
150
150
|
}[] | undefined;
|
|
151
151
|
text?: string | undefined;
|
|
152
152
|
}[] | undefined;
|
|
153
|
-
|
|
153
|
+
effectiveDateTime?: string | undefined;
|
|
154
|
+
effectivePeriod?: {
|
|
155
|
+
start?: string | undefined;
|
|
156
|
+
end?: string | undefined;
|
|
157
|
+
} | undefined;
|
|
158
|
+
basedOn?: {
|
|
154
159
|
reference: string;
|
|
155
160
|
type?: string | undefined;
|
|
156
161
|
display?: string | undefined;
|
|
157
162
|
}[] | undefined;
|
|
158
|
-
|
|
163
|
+
performer?: {
|
|
159
164
|
reference: string;
|
|
160
165
|
type?: string | undefined;
|
|
161
166
|
display?: string | undefined;
|
|
162
167
|
}[] | undefined;
|
|
163
|
-
|
|
164
|
-
effectivePeriod?: {
|
|
165
|
-
start?: string | undefined;
|
|
166
|
-
end?: string | undefined;
|
|
167
|
-
} | undefined;
|
|
168
|
-
effectiveTiming?: unknown;
|
|
169
|
-
effectiveInstant?: string | undefined;
|
|
170
|
-
issued?: string | undefined;
|
|
171
|
-
performer?: {
|
|
168
|
+
specimen?: {
|
|
172
169
|
reference: string;
|
|
173
170
|
type?: string | undefined;
|
|
174
171
|
display?: string | undefined;
|
|
175
172
|
}[] | undefined;
|
|
173
|
+
effectiveTiming?: unknown;
|
|
174
|
+
effectiveInstant?: string | undefined;
|
|
175
|
+
issued?: string | undefined;
|
|
176
176
|
resultsInterpreter?: {
|
|
177
177
|
reference: string;
|
|
178
178
|
type?: string | undefined;
|
|
@@ -234,15 +234,15 @@ export declare function createDiagnosticReportClient(transport: Transport): {
|
|
|
234
234
|
}[];
|
|
235
235
|
text?: string | undefined;
|
|
236
236
|
};
|
|
237
|
-
status: "unknown" | "
|
|
237
|
+
status: "unknown" | "entered-in-error" | "preliminary" | "final" | "amended" | "registered" | "corrected" | "cancelled" | "partial" | "appended";
|
|
238
238
|
resourceType: "DiagnosticReport";
|
|
239
239
|
id: string;
|
|
240
|
-
|
|
240
|
+
encounter: {
|
|
241
241
|
reference: string;
|
|
242
242
|
type?: string | undefined;
|
|
243
243
|
display?: string | undefined;
|
|
244
244
|
};
|
|
245
|
-
|
|
245
|
+
subject: {
|
|
246
246
|
reference: string;
|
|
247
247
|
type?: string | undefined;
|
|
248
248
|
display?: string | undefined;
|
|
@@ -265,29 +265,29 @@ export declare function createDiagnosticReportClient(transport: Transport): {
|
|
|
265
265
|
}[] | undefined;
|
|
266
266
|
text?: string | undefined;
|
|
267
267
|
}[] | undefined;
|
|
268
|
-
|
|
268
|
+
effectiveDateTime?: string | undefined;
|
|
269
|
+
effectivePeriod?: {
|
|
270
|
+
start?: string | undefined;
|
|
271
|
+
end?: string | undefined;
|
|
272
|
+
} | undefined;
|
|
273
|
+
basedOn?: {
|
|
269
274
|
reference: string;
|
|
270
275
|
type?: string | undefined;
|
|
271
276
|
display?: string | undefined;
|
|
272
277
|
}[] | undefined;
|
|
273
|
-
|
|
278
|
+
performer?: {
|
|
274
279
|
reference: string;
|
|
275
280
|
type?: string | undefined;
|
|
276
281
|
display?: string | undefined;
|
|
277
282
|
}[] | undefined;
|
|
278
|
-
|
|
279
|
-
effectivePeriod?: {
|
|
280
|
-
start?: string | undefined;
|
|
281
|
-
end?: string | undefined;
|
|
282
|
-
} | undefined;
|
|
283
|
-
effectiveTiming?: unknown;
|
|
284
|
-
effectiveInstant?: string | undefined;
|
|
285
|
-
issued?: string | undefined;
|
|
286
|
-
performer?: {
|
|
283
|
+
specimen?: {
|
|
287
284
|
reference: string;
|
|
288
285
|
type?: string | undefined;
|
|
289
286
|
display?: string | undefined;
|
|
290
287
|
}[] | undefined;
|
|
288
|
+
effectiveTiming?: unknown;
|
|
289
|
+
effectiveInstant?: string | undefined;
|
|
290
|
+
issued?: string | undefined;
|
|
291
291
|
resultsInterpreter?: {
|
|
292
292
|
reference: string;
|
|
293
293
|
type?: string | undefined;
|
|
@@ -350,15 +350,15 @@ export declare function createDiagnosticReportClient(transport: Transport): {
|
|
|
350
350
|
}[];
|
|
351
351
|
text?: string | undefined;
|
|
352
352
|
};
|
|
353
|
-
status: "unknown" | "
|
|
353
|
+
status: "unknown" | "entered-in-error" | "preliminary" | "final" | "amended" | "registered" | "corrected" | "cancelled" | "partial" | "appended";
|
|
354
354
|
resourceType: "DiagnosticReport";
|
|
355
355
|
id: string;
|
|
356
|
-
|
|
356
|
+
encounter: {
|
|
357
357
|
reference: string;
|
|
358
358
|
type?: string | undefined;
|
|
359
359
|
display?: string | undefined;
|
|
360
360
|
};
|
|
361
|
-
|
|
361
|
+
subject: {
|
|
362
362
|
reference: string;
|
|
363
363
|
type?: string | undefined;
|
|
364
364
|
display?: string | undefined;
|
|
@@ -381,29 +381,29 @@ export declare function createDiagnosticReportClient(transport: Transport): {
|
|
|
381
381
|
}[] | undefined;
|
|
382
382
|
text?: string | undefined;
|
|
383
383
|
}[] | undefined;
|
|
384
|
-
|
|
384
|
+
effectiveDateTime?: string | undefined;
|
|
385
|
+
effectivePeriod?: {
|
|
386
|
+
start?: string | undefined;
|
|
387
|
+
end?: string | undefined;
|
|
388
|
+
} | undefined;
|
|
389
|
+
basedOn?: {
|
|
385
390
|
reference: string;
|
|
386
391
|
type?: string | undefined;
|
|
387
392
|
display?: string | undefined;
|
|
388
393
|
}[] | undefined;
|
|
389
|
-
|
|
394
|
+
performer?: {
|
|
390
395
|
reference: string;
|
|
391
396
|
type?: string | undefined;
|
|
392
397
|
display?: string | undefined;
|
|
393
398
|
}[] | undefined;
|
|
394
|
-
|
|
395
|
-
effectivePeriod?: {
|
|
396
|
-
start?: string | undefined;
|
|
397
|
-
end?: string | undefined;
|
|
398
|
-
} | undefined;
|
|
399
|
-
effectiveTiming?: unknown;
|
|
400
|
-
effectiveInstant?: string | undefined;
|
|
401
|
-
issued?: string | undefined;
|
|
402
|
-
performer?: {
|
|
399
|
+
specimen?: {
|
|
403
400
|
reference: string;
|
|
404
401
|
type?: string | undefined;
|
|
405
402
|
display?: string | undefined;
|
|
406
403
|
}[] | undefined;
|
|
404
|
+
effectiveTiming?: unknown;
|
|
405
|
+
effectiveInstant?: string | undefined;
|
|
406
|
+
issued?: string | undefined;
|
|
407
407
|
resultsInterpreter?: {
|
|
408
408
|
reference: string;
|
|
409
409
|
type?: string | undefined;
|
|
@@ -460,15 +460,15 @@ export declare function createDiagnosticReportClient(transport: Transport): {
|
|
|
460
460
|
}[];
|
|
461
461
|
text?: string | undefined;
|
|
462
462
|
};
|
|
463
|
-
status: "unknown" | "
|
|
463
|
+
status: "unknown" | "entered-in-error" | "preliminary" | "final" | "amended" | "registered" | "corrected" | "cancelled" | "partial" | "appended";
|
|
464
464
|
resourceType: "DiagnosticReport";
|
|
465
465
|
id: string;
|
|
466
|
-
|
|
466
|
+
encounter: {
|
|
467
467
|
reference: string;
|
|
468
468
|
type?: string | undefined;
|
|
469
469
|
display?: string | undefined;
|
|
470
470
|
};
|
|
471
|
-
|
|
471
|
+
subject: {
|
|
472
472
|
reference: string;
|
|
473
473
|
type?: string | undefined;
|
|
474
474
|
display?: string | undefined;
|
|
@@ -491,29 +491,29 @@ export declare function createDiagnosticReportClient(transport: Transport): {
|
|
|
491
491
|
}[] | undefined;
|
|
492
492
|
text?: string | undefined;
|
|
493
493
|
}[] | undefined;
|
|
494
|
-
|
|
494
|
+
effectiveDateTime?: string | undefined;
|
|
495
|
+
effectivePeriod?: {
|
|
496
|
+
start?: string | undefined;
|
|
497
|
+
end?: string | undefined;
|
|
498
|
+
} | undefined;
|
|
499
|
+
basedOn?: {
|
|
495
500
|
reference: string;
|
|
496
501
|
type?: string | undefined;
|
|
497
502
|
display?: string | undefined;
|
|
498
503
|
}[] | undefined;
|
|
499
|
-
|
|
504
|
+
performer?: {
|
|
500
505
|
reference: string;
|
|
501
506
|
type?: string | undefined;
|
|
502
507
|
display?: string | undefined;
|
|
503
508
|
}[] | undefined;
|
|
504
|
-
|
|
505
|
-
effectivePeriod?: {
|
|
506
|
-
start?: string | undefined;
|
|
507
|
-
end?: string | undefined;
|
|
508
|
-
} | undefined;
|
|
509
|
-
effectiveTiming?: unknown;
|
|
510
|
-
effectiveInstant?: string | undefined;
|
|
511
|
-
issued?: string | undefined;
|
|
512
|
-
performer?: {
|
|
509
|
+
specimen?: {
|
|
513
510
|
reference: string;
|
|
514
511
|
type?: string | undefined;
|
|
515
512
|
display?: string | undefined;
|
|
516
513
|
}[] | undefined;
|
|
514
|
+
effectiveTiming?: unknown;
|
|
515
|
+
effectiveInstant?: string | undefined;
|
|
516
|
+
issued?: string | undefined;
|
|
517
517
|
resultsInterpreter?: {
|
|
518
518
|
reference: string;
|
|
519
519
|
type?: string | undefined;
|