@digitalmedika/satusehat 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +135 -0
  3. package/dist/builders/cbc-panel-builder.d.ts +18 -0
  4. package/dist/builders/laboratory-panel-builder.d.ts +72 -0
  5. package/dist/builders/organization-builder.d.ts +23 -0
  6. package/dist/builders/service-request-specimen-observation-builder.d.ts +62 -0
  7. package/dist/client/auth.d.ts +11 -0
  8. package/dist/client/create-client.d.ts +5 -0
  9. package/dist/client/token-store.d.ts +7 -0
  10. package/dist/client/transport.d.ts +28 -0
  11. package/dist/core/errors.d.ts +25 -0
  12. package/dist/core/types.d.ts +293 -0
  13. package/dist/endpoints/condition.d.ts +945 -0
  14. package/dist/endpoints/diagnostic-report.d.ts +560 -0
  15. package/dist/endpoints/encounter.d.ts +1150 -0
  16. package/dist/endpoints/location.d.ts +500 -0
  17. package/dist/endpoints/medication-request.d.ts +1585 -0
  18. package/dist/endpoints/medication.d.ts +395 -0
  19. package/dist/endpoints/observation.d.ts +1415 -0
  20. package/dist/endpoints/organization.d.ts +454 -0
  21. package/dist/endpoints/patient.d.ts +72 -0
  22. package/dist/endpoints/practitioner-role.d.ts +425 -0
  23. package/dist/endpoints/practitioner.d.ts +210 -0
  24. package/dist/endpoints/procedure.d.ts +990 -0
  25. package/dist/endpoints/service-request.d.ts +1040 -0
  26. package/dist/endpoints/specimen.d.ts +1005 -0
  27. package/dist/index.d.ts +26 -0
  28. package/dist/index.js +21 -0
  29. package/dist/schemas/common.d.ts +328 -0
  30. package/dist/schemas/condition.d.ts +5314 -0
  31. package/dist/schemas/diagnostic-report.d.ts +2631 -0
  32. package/dist/schemas/encounter.d.ts +7087 -0
  33. package/dist/schemas/location.d.ts +2432 -0
  34. package/dist/schemas/medication-request.d.ts +12183 -0
  35. package/dist/schemas/medication.d.ts +2111 -0
  36. package/dist/schemas/observation.d.ts +9253 -0
  37. package/dist/schemas/organization.d.ts +3357 -0
  38. package/dist/schemas/patient.d.ts +418 -0
  39. package/dist/schemas/practitioner-role.d.ts +1930 -0
  40. package/dist/schemas/practitioner.d.ts +1626 -0
  41. package/dist/schemas/procedure.d.ts +5283 -0
  42. package/dist/schemas/service-request.d.ts +5268 -0
  43. package/dist/schemas/specimen.d.ts +6520 -0
  44. package/package.json +61 -0
@@ -0,0 +1,2111 @@
1
+ import { z } from "zod";
2
+ export declare const MedicationIdentifierSchema: z.ZodObject<{
3
+ use: z.ZodOptional<z.ZodString>;
4
+ } & {
5
+ system: z.ZodString;
6
+ value: z.ZodString;
7
+ }, "strip", z.ZodTypeAny, {
8
+ value: string;
9
+ system: string;
10
+ use?: string | undefined;
11
+ }, {
12
+ value: string;
13
+ system: string;
14
+ use?: string | undefined;
15
+ }>;
16
+ export declare const MedicationStatusSchema: z.ZodEnum<["active", "inactive", "entered-in-error"]>;
17
+ export declare const MedicationCodingSchema: z.ZodObject<{
18
+ system: z.ZodString;
19
+ code: z.ZodString;
20
+ display: z.ZodOptional<z.ZodString>;
21
+ }, "strip", z.ZodTypeAny, {
22
+ code: string;
23
+ system: string;
24
+ display?: string | undefined;
25
+ }, {
26
+ code: string;
27
+ system: string;
28
+ display?: string | undefined;
29
+ }>;
30
+ export declare const MedicationCodeableConceptSchema: z.ZodObject<{
31
+ text: z.ZodOptional<z.ZodString>;
32
+ } & {
33
+ coding: z.ZodArray<z.ZodObject<{
34
+ system: z.ZodString;
35
+ code: z.ZodString;
36
+ display: z.ZodOptional<z.ZodString>;
37
+ }, "strip", z.ZodTypeAny, {
38
+ code: string;
39
+ system: string;
40
+ display?: string | undefined;
41
+ }, {
42
+ code: string;
43
+ system: string;
44
+ display?: string | undefined;
45
+ }>, "many">;
46
+ }, "strip", z.ZodTypeAny, {
47
+ coding: {
48
+ code: string;
49
+ system: string;
50
+ display?: string | undefined;
51
+ }[];
52
+ text?: string | undefined;
53
+ }, {
54
+ coding: {
55
+ code: string;
56
+ system: string;
57
+ display?: string | undefined;
58
+ }[];
59
+ text?: string | undefined;
60
+ }>;
61
+ export declare const MedicationQuantitySchema: z.ZodObject<{
62
+ value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
63
+ unit: z.ZodOptional<z.ZodString>;
64
+ system: z.ZodOptional<z.ZodString>;
65
+ code: z.ZodOptional<z.ZodString>;
66
+ }, "strip", z.ZodTypeAny, {
67
+ value: string | number;
68
+ code?: string | undefined;
69
+ system?: string | undefined;
70
+ unit?: string | undefined;
71
+ }, {
72
+ value: string | number;
73
+ code?: string | undefined;
74
+ system?: string | undefined;
75
+ unit?: string | undefined;
76
+ }>;
77
+ export declare const MedicationRatioSchema: z.ZodObject<{
78
+ numerator: z.ZodOptional<z.ZodObject<{
79
+ value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
80
+ unit: z.ZodOptional<z.ZodString>;
81
+ system: z.ZodOptional<z.ZodString>;
82
+ code: z.ZodOptional<z.ZodString>;
83
+ }, "strip", z.ZodTypeAny, {
84
+ value: string | number;
85
+ code?: string | undefined;
86
+ system?: string | undefined;
87
+ unit?: string | undefined;
88
+ }, {
89
+ value: string | number;
90
+ code?: string | undefined;
91
+ system?: string | undefined;
92
+ unit?: string | undefined;
93
+ }>>;
94
+ denominator: z.ZodOptional<z.ZodObject<{
95
+ value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
96
+ unit: z.ZodOptional<z.ZodString>;
97
+ system: z.ZodOptional<z.ZodString>;
98
+ code: z.ZodOptional<z.ZodString>;
99
+ }, "strip", z.ZodTypeAny, {
100
+ value: string | number;
101
+ code?: string | undefined;
102
+ system?: string | undefined;
103
+ unit?: string | undefined;
104
+ }, {
105
+ value: string | number;
106
+ code?: string | undefined;
107
+ system?: string | undefined;
108
+ unit?: string | undefined;
109
+ }>>;
110
+ }, "strip", z.ZodTypeAny, {
111
+ numerator?: {
112
+ value: string | number;
113
+ code?: string | undefined;
114
+ system?: string | undefined;
115
+ unit?: string | undefined;
116
+ } | undefined;
117
+ denominator?: {
118
+ value: string | number;
119
+ code?: string | undefined;
120
+ system?: string | undefined;
121
+ unit?: string | undefined;
122
+ } | undefined;
123
+ }, {
124
+ numerator?: {
125
+ value: string | number;
126
+ code?: string | undefined;
127
+ system?: string | undefined;
128
+ unit?: string | undefined;
129
+ } | undefined;
130
+ denominator?: {
131
+ value: string | number;
132
+ code?: string | undefined;
133
+ system?: string | undefined;
134
+ unit?: string | undefined;
135
+ } | undefined;
136
+ }>;
137
+ export declare const MedicationTypeExtensionSchema: z.ZodObject<{
138
+ url: z.ZodLiteral<"https://fhir.kemkes.go.id/r4/StructureDefinition/MedicationType">;
139
+ valueCodeableConcept: z.ZodObject<{
140
+ text: z.ZodOptional<z.ZodString>;
141
+ } & {
142
+ coding: z.ZodArray<z.ZodObject<{
143
+ system: z.ZodString;
144
+ code: z.ZodString;
145
+ display: z.ZodOptional<z.ZodString>;
146
+ }, "strip", z.ZodTypeAny, {
147
+ code: string;
148
+ system: string;
149
+ display?: string | undefined;
150
+ }, {
151
+ code: string;
152
+ system: string;
153
+ display?: string | undefined;
154
+ }>, "many">;
155
+ }, "strip", z.ZodTypeAny, {
156
+ coding: {
157
+ code: string;
158
+ system: string;
159
+ display?: string | undefined;
160
+ }[];
161
+ text?: string | undefined;
162
+ }, {
163
+ coding: {
164
+ code: string;
165
+ system: string;
166
+ display?: string | undefined;
167
+ }[];
168
+ text?: string | undefined;
169
+ }>;
170
+ }, "strip", z.ZodTypeAny, {
171
+ url: "https://fhir.kemkes.go.id/r4/StructureDefinition/MedicationType";
172
+ valueCodeableConcept: {
173
+ coding: {
174
+ code: string;
175
+ system: string;
176
+ display?: string | undefined;
177
+ }[];
178
+ text?: string | undefined;
179
+ };
180
+ }, {
181
+ url: "https://fhir.kemkes.go.id/r4/StructureDefinition/MedicationType";
182
+ valueCodeableConcept: {
183
+ coding: {
184
+ code: string;
185
+ system: string;
186
+ display?: string | undefined;
187
+ }[];
188
+ text?: string | undefined;
189
+ };
190
+ }>;
191
+ export declare const MedicationIngredientSchema: z.ZodObject<{
192
+ itemCodeableConcept: z.ZodOptional<z.ZodObject<{
193
+ text: z.ZodOptional<z.ZodString>;
194
+ } & {
195
+ coding: z.ZodArray<z.ZodObject<{
196
+ system: z.ZodString;
197
+ code: z.ZodString;
198
+ display: z.ZodOptional<z.ZodString>;
199
+ }, "strip", z.ZodTypeAny, {
200
+ code: string;
201
+ system: string;
202
+ display?: string | undefined;
203
+ }, {
204
+ code: string;
205
+ system: string;
206
+ display?: string | undefined;
207
+ }>, "many">;
208
+ }, "strip", z.ZodTypeAny, {
209
+ coding: {
210
+ code: string;
211
+ system: string;
212
+ display?: string | undefined;
213
+ }[];
214
+ text?: string | undefined;
215
+ }, {
216
+ coding: {
217
+ code: string;
218
+ system: string;
219
+ display?: string | undefined;
220
+ }[];
221
+ text?: string | undefined;
222
+ }>>;
223
+ itemReference: z.ZodOptional<z.ZodObject<{
224
+ reference: z.ZodString;
225
+ display: z.ZodOptional<z.ZodString>;
226
+ type: z.ZodOptional<z.ZodString>;
227
+ }, "strip", z.ZodTypeAny, {
228
+ reference: string;
229
+ type?: string | undefined;
230
+ display?: string | undefined;
231
+ }, {
232
+ reference: string;
233
+ type?: string | undefined;
234
+ display?: string | undefined;
235
+ }>>;
236
+ isActive: z.ZodOptional<z.ZodBoolean>;
237
+ strength: z.ZodOptional<z.ZodObject<{
238
+ numerator: z.ZodOptional<z.ZodObject<{
239
+ value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
240
+ unit: z.ZodOptional<z.ZodString>;
241
+ system: z.ZodOptional<z.ZodString>;
242
+ code: z.ZodOptional<z.ZodString>;
243
+ }, "strip", z.ZodTypeAny, {
244
+ value: string | number;
245
+ code?: string | undefined;
246
+ system?: string | undefined;
247
+ unit?: string | undefined;
248
+ }, {
249
+ value: string | number;
250
+ code?: string | undefined;
251
+ system?: string | undefined;
252
+ unit?: string | undefined;
253
+ }>>;
254
+ denominator: z.ZodOptional<z.ZodObject<{
255
+ value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
256
+ unit: z.ZodOptional<z.ZodString>;
257
+ system: z.ZodOptional<z.ZodString>;
258
+ code: z.ZodOptional<z.ZodString>;
259
+ }, "strip", z.ZodTypeAny, {
260
+ value: string | number;
261
+ code?: string | undefined;
262
+ system?: string | undefined;
263
+ unit?: string | undefined;
264
+ }, {
265
+ value: string | number;
266
+ code?: string | undefined;
267
+ system?: string | undefined;
268
+ unit?: string | undefined;
269
+ }>>;
270
+ }, "strip", z.ZodTypeAny, {
271
+ numerator?: {
272
+ value: string | number;
273
+ code?: string | undefined;
274
+ system?: string | undefined;
275
+ unit?: string | undefined;
276
+ } | undefined;
277
+ denominator?: {
278
+ value: string | number;
279
+ code?: string | undefined;
280
+ system?: string | undefined;
281
+ unit?: string | undefined;
282
+ } | undefined;
283
+ }, {
284
+ numerator?: {
285
+ value: string | number;
286
+ code?: string | undefined;
287
+ system?: string | undefined;
288
+ unit?: string | undefined;
289
+ } | undefined;
290
+ denominator?: {
291
+ value: string | number;
292
+ code?: string | undefined;
293
+ system?: string | undefined;
294
+ unit?: string | undefined;
295
+ } | undefined;
296
+ }>>;
297
+ }, "strip", z.ZodTypeAny, {
298
+ itemCodeableConcept?: {
299
+ coding: {
300
+ code: string;
301
+ system: string;
302
+ display?: string | undefined;
303
+ }[];
304
+ text?: string | undefined;
305
+ } | undefined;
306
+ itemReference?: {
307
+ reference: string;
308
+ type?: string | undefined;
309
+ display?: string | undefined;
310
+ } | undefined;
311
+ isActive?: boolean | undefined;
312
+ strength?: {
313
+ numerator?: {
314
+ value: string | number;
315
+ code?: string | undefined;
316
+ system?: string | undefined;
317
+ unit?: string | undefined;
318
+ } | undefined;
319
+ denominator?: {
320
+ value: string | number;
321
+ code?: string | undefined;
322
+ system?: string | undefined;
323
+ unit?: string | undefined;
324
+ } | undefined;
325
+ } | undefined;
326
+ }, {
327
+ itemCodeableConcept?: {
328
+ coding: {
329
+ code: string;
330
+ system: string;
331
+ display?: string | undefined;
332
+ }[];
333
+ text?: string | undefined;
334
+ } | undefined;
335
+ itemReference?: {
336
+ reference: string;
337
+ type?: string | undefined;
338
+ display?: string | undefined;
339
+ } | undefined;
340
+ isActive?: boolean | undefined;
341
+ strength?: {
342
+ numerator?: {
343
+ value: string | number;
344
+ code?: string | undefined;
345
+ system?: string | undefined;
346
+ unit?: string | undefined;
347
+ } | undefined;
348
+ denominator?: {
349
+ value: string | number;
350
+ code?: string | undefined;
351
+ system?: string | undefined;
352
+ unit?: string | undefined;
353
+ } | undefined;
354
+ } | undefined;
355
+ }>;
356
+ export declare const MedicationBatchSchema: z.ZodObject<{
357
+ lotNumber: z.ZodOptional<z.ZodString>;
358
+ expirationDate: z.ZodOptional<z.ZodString>;
359
+ }, "strip", z.ZodTypeAny, {
360
+ lotNumber?: string | undefined;
361
+ expirationDate?: string | undefined;
362
+ }, {
363
+ lotNumber?: string | undefined;
364
+ expirationDate?: string | undefined;
365
+ }>;
366
+ export declare const MedicationPatchOperationSchema: z.ZodObject<{
367
+ op: z.ZodLiteral<"replace">;
368
+ path: z.ZodString;
369
+ value: z.ZodUnknown;
370
+ }, "strip", z.ZodTypeAny, {
371
+ path: string;
372
+ op: "replace";
373
+ value?: unknown;
374
+ }, {
375
+ path: string;
376
+ op: "replace";
377
+ value?: unknown;
378
+ }>;
379
+ export declare const MedicationPatchSchema: z.ZodArray<z.ZodObject<{
380
+ op: z.ZodLiteral<"replace">;
381
+ path: z.ZodString;
382
+ value: z.ZodUnknown;
383
+ }, "strip", z.ZodTypeAny, {
384
+ path: string;
385
+ op: "replace";
386
+ value?: unknown;
387
+ }, {
388
+ path: string;
389
+ op: "replace";
390
+ value?: unknown;
391
+ }>, "many">;
392
+ export declare const MedicationBaseSchema: z.ZodObject<{
393
+ resourceType: z.ZodLiteral<"Medication">;
394
+ identifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
395
+ use: z.ZodOptional<z.ZodString>;
396
+ } & {
397
+ system: z.ZodString;
398
+ value: z.ZodString;
399
+ }, "strip", z.ZodTypeAny, {
400
+ value: string;
401
+ system: string;
402
+ use?: string | undefined;
403
+ }, {
404
+ value: string;
405
+ system: string;
406
+ use?: string | undefined;
407
+ }>, "many">>;
408
+ code: z.ZodOptional<z.ZodObject<{
409
+ text: z.ZodOptional<z.ZodString>;
410
+ } & {
411
+ coding: z.ZodArray<z.ZodObject<{
412
+ system: z.ZodString;
413
+ code: z.ZodString;
414
+ display: z.ZodOptional<z.ZodString>;
415
+ }, "strip", z.ZodTypeAny, {
416
+ code: string;
417
+ system: string;
418
+ display?: string | undefined;
419
+ }, {
420
+ code: string;
421
+ system: string;
422
+ display?: string | undefined;
423
+ }>, "many">;
424
+ }, "strip", z.ZodTypeAny, {
425
+ coding: {
426
+ code: string;
427
+ system: string;
428
+ display?: string | undefined;
429
+ }[];
430
+ text?: string | undefined;
431
+ }, {
432
+ coding: {
433
+ code: string;
434
+ system: string;
435
+ display?: string | undefined;
436
+ }[];
437
+ text?: string | undefined;
438
+ }>>;
439
+ status: z.ZodOptional<z.ZodEnum<["active", "inactive", "entered-in-error"]>>;
440
+ manufacturer: z.ZodOptional<z.ZodObject<{
441
+ reference: z.ZodString;
442
+ display: z.ZodOptional<z.ZodString>;
443
+ type: z.ZodOptional<z.ZodString>;
444
+ }, "strip", z.ZodTypeAny, {
445
+ reference: string;
446
+ type?: string | undefined;
447
+ display?: string | undefined;
448
+ }, {
449
+ reference: string;
450
+ type?: string | undefined;
451
+ display?: string | undefined;
452
+ }>>;
453
+ form: z.ZodOptional<z.ZodObject<{
454
+ text: z.ZodOptional<z.ZodString>;
455
+ } & {
456
+ coding: z.ZodArray<z.ZodObject<{
457
+ system: z.ZodString;
458
+ code: z.ZodString;
459
+ display: z.ZodOptional<z.ZodString>;
460
+ }, "strip", z.ZodTypeAny, {
461
+ code: string;
462
+ system: string;
463
+ display?: string | undefined;
464
+ }, {
465
+ code: string;
466
+ system: string;
467
+ display?: string | undefined;
468
+ }>, "many">;
469
+ }, "strip", z.ZodTypeAny, {
470
+ coding: {
471
+ code: string;
472
+ system: string;
473
+ display?: string | undefined;
474
+ }[];
475
+ text?: string | undefined;
476
+ }, {
477
+ coding: {
478
+ code: string;
479
+ system: string;
480
+ display?: string | undefined;
481
+ }[];
482
+ text?: string | undefined;
483
+ }>>;
484
+ amount: z.ZodOptional<z.ZodObject<{
485
+ numerator: z.ZodOptional<z.ZodObject<{
486
+ value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
487
+ unit: z.ZodOptional<z.ZodString>;
488
+ system: z.ZodOptional<z.ZodString>;
489
+ code: z.ZodOptional<z.ZodString>;
490
+ }, "strip", z.ZodTypeAny, {
491
+ value: string | number;
492
+ code?: string | undefined;
493
+ system?: string | undefined;
494
+ unit?: string | undefined;
495
+ }, {
496
+ value: string | number;
497
+ code?: string | undefined;
498
+ system?: string | undefined;
499
+ unit?: string | undefined;
500
+ }>>;
501
+ denominator: z.ZodOptional<z.ZodObject<{
502
+ value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
503
+ unit: z.ZodOptional<z.ZodString>;
504
+ system: z.ZodOptional<z.ZodString>;
505
+ code: z.ZodOptional<z.ZodString>;
506
+ }, "strip", z.ZodTypeAny, {
507
+ value: string | number;
508
+ code?: string | undefined;
509
+ system?: string | undefined;
510
+ unit?: string | undefined;
511
+ }, {
512
+ value: string | number;
513
+ code?: string | undefined;
514
+ system?: string | undefined;
515
+ unit?: string | undefined;
516
+ }>>;
517
+ }, "strip", z.ZodTypeAny, {
518
+ numerator?: {
519
+ value: string | number;
520
+ code?: string | undefined;
521
+ system?: string | undefined;
522
+ unit?: string | undefined;
523
+ } | undefined;
524
+ denominator?: {
525
+ value: string | number;
526
+ code?: string | undefined;
527
+ system?: string | undefined;
528
+ unit?: string | undefined;
529
+ } | undefined;
530
+ }, {
531
+ numerator?: {
532
+ value: string | number;
533
+ code?: string | undefined;
534
+ system?: string | undefined;
535
+ unit?: string | undefined;
536
+ } | undefined;
537
+ denominator?: {
538
+ value: string | number;
539
+ code?: string | undefined;
540
+ system?: string | undefined;
541
+ unit?: string | undefined;
542
+ } | undefined;
543
+ }>>;
544
+ ingredient: z.ZodOptional<z.ZodArray<z.ZodObject<{
545
+ itemCodeableConcept: z.ZodOptional<z.ZodObject<{
546
+ text: z.ZodOptional<z.ZodString>;
547
+ } & {
548
+ coding: z.ZodArray<z.ZodObject<{
549
+ system: z.ZodString;
550
+ code: z.ZodString;
551
+ display: z.ZodOptional<z.ZodString>;
552
+ }, "strip", z.ZodTypeAny, {
553
+ code: string;
554
+ system: string;
555
+ display?: string | undefined;
556
+ }, {
557
+ code: string;
558
+ system: string;
559
+ display?: string | undefined;
560
+ }>, "many">;
561
+ }, "strip", z.ZodTypeAny, {
562
+ coding: {
563
+ code: string;
564
+ system: string;
565
+ display?: string | undefined;
566
+ }[];
567
+ text?: string | undefined;
568
+ }, {
569
+ coding: {
570
+ code: string;
571
+ system: string;
572
+ display?: string | undefined;
573
+ }[];
574
+ text?: string | undefined;
575
+ }>>;
576
+ itemReference: z.ZodOptional<z.ZodObject<{
577
+ reference: z.ZodString;
578
+ display: z.ZodOptional<z.ZodString>;
579
+ type: z.ZodOptional<z.ZodString>;
580
+ }, "strip", z.ZodTypeAny, {
581
+ reference: string;
582
+ type?: string | undefined;
583
+ display?: string | undefined;
584
+ }, {
585
+ reference: string;
586
+ type?: string | undefined;
587
+ display?: string | undefined;
588
+ }>>;
589
+ isActive: z.ZodOptional<z.ZodBoolean>;
590
+ strength: z.ZodOptional<z.ZodObject<{
591
+ numerator: z.ZodOptional<z.ZodObject<{
592
+ value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
593
+ unit: z.ZodOptional<z.ZodString>;
594
+ system: z.ZodOptional<z.ZodString>;
595
+ code: z.ZodOptional<z.ZodString>;
596
+ }, "strip", z.ZodTypeAny, {
597
+ value: string | number;
598
+ code?: string | undefined;
599
+ system?: string | undefined;
600
+ unit?: string | undefined;
601
+ }, {
602
+ value: string | number;
603
+ code?: string | undefined;
604
+ system?: string | undefined;
605
+ unit?: string | undefined;
606
+ }>>;
607
+ denominator: z.ZodOptional<z.ZodObject<{
608
+ value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
609
+ unit: z.ZodOptional<z.ZodString>;
610
+ system: z.ZodOptional<z.ZodString>;
611
+ code: z.ZodOptional<z.ZodString>;
612
+ }, "strip", z.ZodTypeAny, {
613
+ value: string | number;
614
+ code?: string | undefined;
615
+ system?: string | undefined;
616
+ unit?: string | undefined;
617
+ }, {
618
+ value: string | number;
619
+ code?: string | undefined;
620
+ system?: string | undefined;
621
+ unit?: string | undefined;
622
+ }>>;
623
+ }, "strip", z.ZodTypeAny, {
624
+ numerator?: {
625
+ value: string | number;
626
+ code?: string | undefined;
627
+ system?: string | undefined;
628
+ unit?: string | undefined;
629
+ } | undefined;
630
+ denominator?: {
631
+ value: string | number;
632
+ code?: string | undefined;
633
+ system?: string | undefined;
634
+ unit?: string | undefined;
635
+ } | undefined;
636
+ }, {
637
+ numerator?: {
638
+ value: string | number;
639
+ code?: string | undefined;
640
+ system?: string | undefined;
641
+ unit?: string | undefined;
642
+ } | undefined;
643
+ denominator?: {
644
+ value: string | number;
645
+ code?: string | undefined;
646
+ system?: string | undefined;
647
+ unit?: string | undefined;
648
+ } | undefined;
649
+ }>>;
650
+ }, "strip", z.ZodTypeAny, {
651
+ itemCodeableConcept?: {
652
+ coding: {
653
+ code: string;
654
+ system: string;
655
+ display?: string | undefined;
656
+ }[];
657
+ text?: string | undefined;
658
+ } | undefined;
659
+ itemReference?: {
660
+ reference: string;
661
+ type?: string | undefined;
662
+ display?: string | undefined;
663
+ } | undefined;
664
+ isActive?: boolean | undefined;
665
+ strength?: {
666
+ numerator?: {
667
+ value: string | number;
668
+ code?: string | undefined;
669
+ system?: string | undefined;
670
+ unit?: string | undefined;
671
+ } | undefined;
672
+ denominator?: {
673
+ value: string | number;
674
+ code?: string | undefined;
675
+ system?: string | undefined;
676
+ unit?: string | undefined;
677
+ } | undefined;
678
+ } | undefined;
679
+ }, {
680
+ itemCodeableConcept?: {
681
+ coding: {
682
+ code: string;
683
+ system: string;
684
+ display?: string | undefined;
685
+ }[];
686
+ text?: string | undefined;
687
+ } | undefined;
688
+ itemReference?: {
689
+ reference: string;
690
+ type?: string | undefined;
691
+ display?: string | undefined;
692
+ } | undefined;
693
+ isActive?: boolean | undefined;
694
+ strength?: {
695
+ numerator?: {
696
+ value: string | number;
697
+ code?: string | undefined;
698
+ system?: string | undefined;
699
+ unit?: string | undefined;
700
+ } | undefined;
701
+ denominator?: {
702
+ value: string | number;
703
+ code?: string | undefined;
704
+ system?: string | undefined;
705
+ unit?: string | undefined;
706
+ } | undefined;
707
+ } | undefined;
708
+ }>, "many">>;
709
+ batch: z.ZodOptional<z.ZodObject<{
710
+ lotNumber: z.ZodOptional<z.ZodString>;
711
+ expirationDate: z.ZodOptional<z.ZodString>;
712
+ }, "strip", z.ZodTypeAny, {
713
+ lotNumber?: string | undefined;
714
+ expirationDate?: string | undefined;
715
+ }, {
716
+ lotNumber?: string | undefined;
717
+ expirationDate?: string | undefined;
718
+ }>>;
719
+ extension: z.ZodArray<z.ZodObject<{
720
+ url: z.ZodLiteral<"https://fhir.kemkes.go.id/r4/StructureDefinition/MedicationType">;
721
+ valueCodeableConcept: z.ZodObject<{
722
+ text: z.ZodOptional<z.ZodString>;
723
+ } & {
724
+ coding: z.ZodArray<z.ZodObject<{
725
+ system: z.ZodString;
726
+ code: z.ZodString;
727
+ display: z.ZodOptional<z.ZodString>;
728
+ }, "strip", z.ZodTypeAny, {
729
+ code: string;
730
+ system: string;
731
+ display?: string | undefined;
732
+ }, {
733
+ code: string;
734
+ system: string;
735
+ display?: string | undefined;
736
+ }>, "many">;
737
+ }, "strip", z.ZodTypeAny, {
738
+ coding: {
739
+ code: string;
740
+ system: string;
741
+ display?: string | undefined;
742
+ }[];
743
+ text?: string | undefined;
744
+ }, {
745
+ coding: {
746
+ code: string;
747
+ system: string;
748
+ display?: string | undefined;
749
+ }[];
750
+ text?: string | undefined;
751
+ }>;
752
+ }, "strip", z.ZodTypeAny, {
753
+ url: "https://fhir.kemkes.go.id/r4/StructureDefinition/MedicationType";
754
+ valueCodeableConcept: {
755
+ coding: {
756
+ code: string;
757
+ system: string;
758
+ display?: string | undefined;
759
+ }[];
760
+ text?: string | undefined;
761
+ };
762
+ }, {
763
+ url: "https://fhir.kemkes.go.id/r4/StructureDefinition/MedicationType";
764
+ valueCodeableConcept: {
765
+ coding: {
766
+ code: string;
767
+ system: string;
768
+ display?: string | undefined;
769
+ }[];
770
+ text?: string | undefined;
771
+ };
772
+ }>, "many">;
773
+ }, "strip", z.ZodTypeAny, {
774
+ extension: {
775
+ url: "https://fhir.kemkes.go.id/r4/StructureDefinition/MedicationType";
776
+ valueCodeableConcept: {
777
+ coding: {
778
+ code: string;
779
+ system: string;
780
+ display?: string | undefined;
781
+ }[];
782
+ text?: string | undefined;
783
+ };
784
+ }[];
785
+ resourceType: "Medication";
786
+ code?: {
787
+ coding: {
788
+ code: string;
789
+ system: string;
790
+ display?: string | undefined;
791
+ }[];
792
+ text?: string | undefined;
793
+ } | undefined;
794
+ status?: "active" | "entered-in-error" | "inactive" | undefined;
795
+ identifier?: {
796
+ value: string;
797
+ system: string;
798
+ use?: string | undefined;
799
+ }[] | undefined;
800
+ manufacturer?: {
801
+ reference: string;
802
+ type?: string | undefined;
803
+ display?: string | undefined;
804
+ } | undefined;
805
+ form?: {
806
+ coding: {
807
+ code: string;
808
+ system: string;
809
+ display?: string | undefined;
810
+ }[];
811
+ text?: string | undefined;
812
+ } | undefined;
813
+ amount?: {
814
+ numerator?: {
815
+ value: string | number;
816
+ code?: string | undefined;
817
+ system?: string | undefined;
818
+ unit?: string | undefined;
819
+ } | undefined;
820
+ denominator?: {
821
+ value: string | number;
822
+ code?: string | undefined;
823
+ system?: string | undefined;
824
+ unit?: string | undefined;
825
+ } | undefined;
826
+ } | undefined;
827
+ ingredient?: {
828
+ itemCodeableConcept?: {
829
+ coding: {
830
+ code: string;
831
+ system: string;
832
+ display?: string | undefined;
833
+ }[];
834
+ text?: string | undefined;
835
+ } | undefined;
836
+ itemReference?: {
837
+ reference: string;
838
+ type?: string | undefined;
839
+ display?: string | undefined;
840
+ } | undefined;
841
+ isActive?: boolean | undefined;
842
+ strength?: {
843
+ numerator?: {
844
+ value: string | number;
845
+ code?: string | undefined;
846
+ system?: string | undefined;
847
+ unit?: string | undefined;
848
+ } | undefined;
849
+ denominator?: {
850
+ value: string | number;
851
+ code?: string | undefined;
852
+ system?: string | undefined;
853
+ unit?: string | undefined;
854
+ } | undefined;
855
+ } | undefined;
856
+ }[] | undefined;
857
+ batch?: {
858
+ lotNumber?: string | undefined;
859
+ expirationDate?: string | undefined;
860
+ } | undefined;
861
+ }, {
862
+ extension: {
863
+ url: "https://fhir.kemkes.go.id/r4/StructureDefinition/MedicationType";
864
+ valueCodeableConcept: {
865
+ coding: {
866
+ code: string;
867
+ system: string;
868
+ display?: string | undefined;
869
+ }[];
870
+ text?: string | undefined;
871
+ };
872
+ }[];
873
+ resourceType: "Medication";
874
+ code?: {
875
+ coding: {
876
+ code: string;
877
+ system: string;
878
+ display?: string | undefined;
879
+ }[];
880
+ text?: string | undefined;
881
+ } | undefined;
882
+ status?: "active" | "entered-in-error" | "inactive" | undefined;
883
+ identifier?: {
884
+ value: string;
885
+ system: string;
886
+ use?: string | undefined;
887
+ }[] | undefined;
888
+ manufacturer?: {
889
+ reference: string;
890
+ type?: string | undefined;
891
+ display?: string | undefined;
892
+ } | undefined;
893
+ form?: {
894
+ coding: {
895
+ code: string;
896
+ system: string;
897
+ display?: string | undefined;
898
+ }[];
899
+ text?: string | undefined;
900
+ } | undefined;
901
+ amount?: {
902
+ numerator?: {
903
+ value: string | number;
904
+ code?: string | undefined;
905
+ system?: string | undefined;
906
+ unit?: string | undefined;
907
+ } | undefined;
908
+ denominator?: {
909
+ value: string | number;
910
+ code?: string | undefined;
911
+ system?: string | undefined;
912
+ unit?: string | undefined;
913
+ } | undefined;
914
+ } | undefined;
915
+ ingredient?: {
916
+ itemCodeableConcept?: {
917
+ coding: {
918
+ code: string;
919
+ system: string;
920
+ display?: string | undefined;
921
+ }[];
922
+ text?: string | undefined;
923
+ } | undefined;
924
+ itemReference?: {
925
+ reference: string;
926
+ type?: string | undefined;
927
+ display?: string | undefined;
928
+ } | undefined;
929
+ isActive?: boolean | undefined;
930
+ strength?: {
931
+ numerator?: {
932
+ value: string | number;
933
+ code?: string | undefined;
934
+ system?: string | undefined;
935
+ unit?: string | undefined;
936
+ } | undefined;
937
+ denominator?: {
938
+ value: string | number;
939
+ code?: string | undefined;
940
+ system?: string | undefined;
941
+ unit?: string | undefined;
942
+ } | undefined;
943
+ } | undefined;
944
+ }[] | undefined;
945
+ batch?: {
946
+ lotNumber?: string | undefined;
947
+ expirationDate?: string | undefined;
948
+ } | undefined;
949
+ }>;
950
+ export declare const MedicationCreateSchema: z.ZodObject<{
951
+ resourceType: z.ZodLiteral<"Medication">;
952
+ identifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
953
+ use: z.ZodOptional<z.ZodString>;
954
+ } & {
955
+ system: z.ZodString;
956
+ value: z.ZodString;
957
+ }, "strip", z.ZodTypeAny, {
958
+ value: string;
959
+ system: string;
960
+ use?: string | undefined;
961
+ }, {
962
+ value: string;
963
+ system: string;
964
+ use?: string | undefined;
965
+ }>, "many">>;
966
+ code: z.ZodOptional<z.ZodObject<{
967
+ text: z.ZodOptional<z.ZodString>;
968
+ } & {
969
+ coding: z.ZodArray<z.ZodObject<{
970
+ system: z.ZodString;
971
+ code: z.ZodString;
972
+ display: z.ZodOptional<z.ZodString>;
973
+ }, "strip", z.ZodTypeAny, {
974
+ code: string;
975
+ system: string;
976
+ display?: string | undefined;
977
+ }, {
978
+ code: string;
979
+ system: string;
980
+ display?: string | undefined;
981
+ }>, "many">;
982
+ }, "strip", z.ZodTypeAny, {
983
+ coding: {
984
+ code: string;
985
+ system: string;
986
+ display?: string | undefined;
987
+ }[];
988
+ text?: string | undefined;
989
+ }, {
990
+ coding: {
991
+ code: string;
992
+ system: string;
993
+ display?: string | undefined;
994
+ }[];
995
+ text?: string | undefined;
996
+ }>>;
997
+ status: z.ZodOptional<z.ZodEnum<["active", "inactive", "entered-in-error"]>>;
998
+ manufacturer: z.ZodOptional<z.ZodObject<{
999
+ reference: z.ZodString;
1000
+ display: z.ZodOptional<z.ZodString>;
1001
+ type: z.ZodOptional<z.ZodString>;
1002
+ }, "strip", z.ZodTypeAny, {
1003
+ reference: string;
1004
+ type?: string | undefined;
1005
+ display?: string | undefined;
1006
+ }, {
1007
+ reference: string;
1008
+ type?: string | undefined;
1009
+ display?: string | undefined;
1010
+ }>>;
1011
+ form: z.ZodOptional<z.ZodObject<{
1012
+ text: z.ZodOptional<z.ZodString>;
1013
+ } & {
1014
+ coding: z.ZodArray<z.ZodObject<{
1015
+ system: z.ZodString;
1016
+ code: z.ZodString;
1017
+ display: z.ZodOptional<z.ZodString>;
1018
+ }, "strip", z.ZodTypeAny, {
1019
+ code: string;
1020
+ system: string;
1021
+ display?: string | undefined;
1022
+ }, {
1023
+ code: string;
1024
+ system: string;
1025
+ display?: string | undefined;
1026
+ }>, "many">;
1027
+ }, "strip", z.ZodTypeAny, {
1028
+ coding: {
1029
+ code: string;
1030
+ system: string;
1031
+ display?: string | undefined;
1032
+ }[];
1033
+ text?: string | undefined;
1034
+ }, {
1035
+ coding: {
1036
+ code: string;
1037
+ system: string;
1038
+ display?: string | undefined;
1039
+ }[];
1040
+ text?: string | undefined;
1041
+ }>>;
1042
+ amount: z.ZodOptional<z.ZodObject<{
1043
+ numerator: z.ZodOptional<z.ZodObject<{
1044
+ value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1045
+ unit: z.ZodOptional<z.ZodString>;
1046
+ system: z.ZodOptional<z.ZodString>;
1047
+ code: z.ZodOptional<z.ZodString>;
1048
+ }, "strip", z.ZodTypeAny, {
1049
+ value: string | number;
1050
+ code?: string | undefined;
1051
+ system?: string | undefined;
1052
+ unit?: string | undefined;
1053
+ }, {
1054
+ value: string | number;
1055
+ code?: string | undefined;
1056
+ system?: string | undefined;
1057
+ unit?: string | undefined;
1058
+ }>>;
1059
+ denominator: z.ZodOptional<z.ZodObject<{
1060
+ value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1061
+ unit: z.ZodOptional<z.ZodString>;
1062
+ system: z.ZodOptional<z.ZodString>;
1063
+ code: z.ZodOptional<z.ZodString>;
1064
+ }, "strip", z.ZodTypeAny, {
1065
+ value: string | number;
1066
+ code?: string | undefined;
1067
+ system?: string | undefined;
1068
+ unit?: string | undefined;
1069
+ }, {
1070
+ value: string | number;
1071
+ code?: string | undefined;
1072
+ system?: string | undefined;
1073
+ unit?: string | undefined;
1074
+ }>>;
1075
+ }, "strip", z.ZodTypeAny, {
1076
+ numerator?: {
1077
+ value: string | number;
1078
+ code?: string | undefined;
1079
+ system?: string | undefined;
1080
+ unit?: string | undefined;
1081
+ } | undefined;
1082
+ denominator?: {
1083
+ value: string | number;
1084
+ code?: string | undefined;
1085
+ system?: string | undefined;
1086
+ unit?: string | undefined;
1087
+ } | undefined;
1088
+ }, {
1089
+ numerator?: {
1090
+ value: string | number;
1091
+ code?: string | undefined;
1092
+ system?: string | undefined;
1093
+ unit?: string | undefined;
1094
+ } | undefined;
1095
+ denominator?: {
1096
+ value: string | number;
1097
+ code?: string | undefined;
1098
+ system?: string | undefined;
1099
+ unit?: string | undefined;
1100
+ } | undefined;
1101
+ }>>;
1102
+ ingredient: z.ZodOptional<z.ZodArray<z.ZodObject<{
1103
+ itemCodeableConcept: z.ZodOptional<z.ZodObject<{
1104
+ text: z.ZodOptional<z.ZodString>;
1105
+ } & {
1106
+ coding: z.ZodArray<z.ZodObject<{
1107
+ system: z.ZodString;
1108
+ code: z.ZodString;
1109
+ display: z.ZodOptional<z.ZodString>;
1110
+ }, "strip", z.ZodTypeAny, {
1111
+ code: string;
1112
+ system: string;
1113
+ display?: string | undefined;
1114
+ }, {
1115
+ code: string;
1116
+ system: string;
1117
+ display?: string | undefined;
1118
+ }>, "many">;
1119
+ }, "strip", z.ZodTypeAny, {
1120
+ coding: {
1121
+ code: string;
1122
+ system: string;
1123
+ display?: string | undefined;
1124
+ }[];
1125
+ text?: string | undefined;
1126
+ }, {
1127
+ coding: {
1128
+ code: string;
1129
+ system: string;
1130
+ display?: string | undefined;
1131
+ }[];
1132
+ text?: string | undefined;
1133
+ }>>;
1134
+ itemReference: z.ZodOptional<z.ZodObject<{
1135
+ reference: z.ZodString;
1136
+ display: z.ZodOptional<z.ZodString>;
1137
+ type: z.ZodOptional<z.ZodString>;
1138
+ }, "strip", z.ZodTypeAny, {
1139
+ reference: string;
1140
+ type?: string | undefined;
1141
+ display?: string | undefined;
1142
+ }, {
1143
+ reference: string;
1144
+ type?: string | undefined;
1145
+ display?: string | undefined;
1146
+ }>>;
1147
+ isActive: z.ZodOptional<z.ZodBoolean>;
1148
+ strength: z.ZodOptional<z.ZodObject<{
1149
+ numerator: z.ZodOptional<z.ZodObject<{
1150
+ value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1151
+ unit: z.ZodOptional<z.ZodString>;
1152
+ system: z.ZodOptional<z.ZodString>;
1153
+ code: z.ZodOptional<z.ZodString>;
1154
+ }, "strip", z.ZodTypeAny, {
1155
+ value: string | number;
1156
+ code?: string | undefined;
1157
+ system?: string | undefined;
1158
+ unit?: string | undefined;
1159
+ }, {
1160
+ value: string | number;
1161
+ code?: string | undefined;
1162
+ system?: string | undefined;
1163
+ unit?: string | undefined;
1164
+ }>>;
1165
+ denominator: z.ZodOptional<z.ZodObject<{
1166
+ value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1167
+ unit: z.ZodOptional<z.ZodString>;
1168
+ system: z.ZodOptional<z.ZodString>;
1169
+ code: z.ZodOptional<z.ZodString>;
1170
+ }, "strip", z.ZodTypeAny, {
1171
+ value: string | number;
1172
+ code?: string | undefined;
1173
+ system?: string | undefined;
1174
+ unit?: string | undefined;
1175
+ }, {
1176
+ value: string | number;
1177
+ code?: string | undefined;
1178
+ system?: string | undefined;
1179
+ unit?: string | undefined;
1180
+ }>>;
1181
+ }, "strip", z.ZodTypeAny, {
1182
+ numerator?: {
1183
+ value: string | number;
1184
+ code?: string | undefined;
1185
+ system?: string | undefined;
1186
+ unit?: string | undefined;
1187
+ } | undefined;
1188
+ denominator?: {
1189
+ value: string | number;
1190
+ code?: string | undefined;
1191
+ system?: string | undefined;
1192
+ unit?: string | undefined;
1193
+ } | undefined;
1194
+ }, {
1195
+ numerator?: {
1196
+ value: string | number;
1197
+ code?: string | undefined;
1198
+ system?: string | undefined;
1199
+ unit?: string | undefined;
1200
+ } | undefined;
1201
+ denominator?: {
1202
+ value: string | number;
1203
+ code?: string | undefined;
1204
+ system?: string | undefined;
1205
+ unit?: string | undefined;
1206
+ } | undefined;
1207
+ }>>;
1208
+ }, "strip", z.ZodTypeAny, {
1209
+ itemCodeableConcept?: {
1210
+ coding: {
1211
+ code: string;
1212
+ system: string;
1213
+ display?: string | undefined;
1214
+ }[];
1215
+ text?: string | undefined;
1216
+ } | undefined;
1217
+ itemReference?: {
1218
+ reference: string;
1219
+ type?: string | undefined;
1220
+ display?: string | undefined;
1221
+ } | undefined;
1222
+ isActive?: boolean | undefined;
1223
+ strength?: {
1224
+ numerator?: {
1225
+ value: string | number;
1226
+ code?: string | undefined;
1227
+ system?: string | undefined;
1228
+ unit?: string | undefined;
1229
+ } | undefined;
1230
+ denominator?: {
1231
+ value: string | number;
1232
+ code?: string | undefined;
1233
+ system?: string | undefined;
1234
+ unit?: string | undefined;
1235
+ } | undefined;
1236
+ } | undefined;
1237
+ }, {
1238
+ itemCodeableConcept?: {
1239
+ coding: {
1240
+ code: string;
1241
+ system: string;
1242
+ display?: string | undefined;
1243
+ }[];
1244
+ text?: string | undefined;
1245
+ } | undefined;
1246
+ itemReference?: {
1247
+ reference: string;
1248
+ type?: string | undefined;
1249
+ display?: string | undefined;
1250
+ } | undefined;
1251
+ isActive?: boolean | undefined;
1252
+ strength?: {
1253
+ numerator?: {
1254
+ value: string | number;
1255
+ code?: string | undefined;
1256
+ system?: string | undefined;
1257
+ unit?: string | undefined;
1258
+ } | undefined;
1259
+ denominator?: {
1260
+ value: string | number;
1261
+ code?: string | undefined;
1262
+ system?: string | undefined;
1263
+ unit?: string | undefined;
1264
+ } | undefined;
1265
+ } | undefined;
1266
+ }>, "many">>;
1267
+ batch: z.ZodOptional<z.ZodObject<{
1268
+ lotNumber: z.ZodOptional<z.ZodString>;
1269
+ expirationDate: z.ZodOptional<z.ZodString>;
1270
+ }, "strip", z.ZodTypeAny, {
1271
+ lotNumber?: string | undefined;
1272
+ expirationDate?: string | undefined;
1273
+ }, {
1274
+ lotNumber?: string | undefined;
1275
+ expirationDate?: string | undefined;
1276
+ }>>;
1277
+ extension: z.ZodArray<z.ZodObject<{
1278
+ url: z.ZodLiteral<"https://fhir.kemkes.go.id/r4/StructureDefinition/MedicationType">;
1279
+ valueCodeableConcept: z.ZodObject<{
1280
+ text: z.ZodOptional<z.ZodString>;
1281
+ } & {
1282
+ coding: z.ZodArray<z.ZodObject<{
1283
+ system: z.ZodString;
1284
+ code: z.ZodString;
1285
+ display: z.ZodOptional<z.ZodString>;
1286
+ }, "strip", z.ZodTypeAny, {
1287
+ code: string;
1288
+ system: string;
1289
+ display?: string | undefined;
1290
+ }, {
1291
+ code: string;
1292
+ system: string;
1293
+ display?: string | undefined;
1294
+ }>, "many">;
1295
+ }, "strip", z.ZodTypeAny, {
1296
+ coding: {
1297
+ code: string;
1298
+ system: string;
1299
+ display?: string | undefined;
1300
+ }[];
1301
+ text?: string | undefined;
1302
+ }, {
1303
+ coding: {
1304
+ code: string;
1305
+ system: string;
1306
+ display?: string | undefined;
1307
+ }[];
1308
+ text?: string | undefined;
1309
+ }>;
1310
+ }, "strip", z.ZodTypeAny, {
1311
+ url: "https://fhir.kemkes.go.id/r4/StructureDefinition/MedicationType";
1312
+ valueCodeableConcept: {
1313
+ coding: {
1314
+ code: string;
1315
+ system: string;
1316
+ display?: string | undefined;
1317
+ }[];
1318
+ text?: string | undefined;
1319
+ };
1320
+ }, {
1321
+ url: "https://fhir.kemkes.go.id/r4/StructureDefinition/MedicationType";
1322
+ valueCodeableConcept: {
1323
+ coding: {
1324
+ code: string;
1325
+ system: string;
1326
+ display?: string | undefined;
1327
+ }[];
1328
+ text?: string | undefined;
1329
+ };
1330
+ }>, "many">;
1331
+ }, "strip", z.ZodTypeAny, {
1332
+ extension: {
1333
+ url: "https://fhir.kemkes.go.id/r4/StructureDefinition/MedicationType";
1334
+ valueCodeableConcept: {
1335
+ coding: {
1336
+ code: string;
1337
+ system: string;
1338
+ display?: string | undefined;
1339
+ }[];
1340
+ text?: string | undefined;
1341
+ };
1342
+ }[];
1343
+ resourceType: "Medication";
1344
+ code?: {
1345
+ coding: {
1346
+ code: string;
1347
+ system: string;
1348
+ display?: string | undefined;
1349
+ }[];
1350
+ text?: string | undefined;
1351
+ } | undefined;
1352
+ status?: "active" | "entered-in-error" | "inactive" | undefined;
1353
+ identifier?: {
1354
+ value: string;
1355
+ system: string;
1356
+ use?: string | undefined;
1357
+ }[] | undefined;
1358
+ manufacturer?: {
1359
+ reference: string;
1360
+ type?: string | undefined;
1361
+ display?: string | undefined;
1362
+ } | undefined;
1363
+ form?: {
1364
+ coding: {
1365
+ code: string;
1366
+ system: string;
1367
+ display?: string | undefined;
1368
+ }[];
1369
+ text?: string | undefined;
1370
+ } | undefined;
1371
+ amount?: {
1372
+ numerator?: {
1373
+ value: string | number;
1374
+ code?: string | undefined;
1375
+ system?: string | undefined;
1376
+ unit?: string | undefined;
1377
+ } | undefined;
1378
+ denominator?: {
1379
+ value: string | number;
1380
+ code?: string | undefined;
1381
+ system?: string | undefined;
1382
+ unit?: string | undefined;
1383
+ } | undefined;
1384
+ } | undefined;
1385
+ ingredient?: {
1386
+ itemCodeableConcept?: {
1387
+ coding: {
1388
+ code: string;
1389
+ system: string;
1390
+ display?: string | undefined;
1391
+ }[];
1392
+ text?: string | undefined;
1393
+ } | undefined;
1394
+ itemReference?: {
1395
+ reference: string;
1396
+ type?: string | undefined;
1397
+ display?: string | undefined;
1398
+ } | undefined;
1399
+ isActive?: boolean | undefined;
1400
+ strength?: {
1401
+ numerator?: {
1402
+ value: string | number;
1403
+ code?: string | undefined;
1404
+ system?: string | undefined;
1405
+ unit?: string | undefined;
1406
+ } | undefined;
1407
+ denominator?: {
1408
+ value: string | number;
1409
+ code?: string | undefined;
1410
+ system?: string | undefined;
1411
+ unit?: string | undefined;
1412
+ } | undefined;
1413
+ } | undefined;
1414
+ }[] | undefined;
1415
+ batch?: {
1416
+ lotNumber?: string | undefined;
1417
+ expirationDate?: string | undefined;
1418
+ } | undefined;
1419
+ }, {
1420
+ extension: {
1421
+ url: "https://fhir.kemkes.go.id/r4/StructureDefinition/MedicationType";
1422
+ valueCodeableConcept: {
1423
+ coding: {
1424
+ code: string;
1425
+ system: string;
1426
+ display?: string | undefined;
1427
+ }[];
1428
+ text?: string | undefined;
1429
+ };
1430
+ }[];
1431
+ resourceType: "Medication";
1432
+ code?: {
1433
+ coding: {
1434
+ code: string;
1435
+ system: string;
1436
+ display?: string | undefined;
1437
+ }[];
1438
+ text?: string | undefined;
1439
+ } | undefined;
1440
+ status?: "active" | "entered-in-error" | "inactive" | undefined;
1441
+ identifier?: {
1442
+ value: string;
1443
+ system: string;
1444
+ use?: string | undefined;
1445
+ }[] | undefined;
1446
+ manufacturer?: {
1447
+ reference: string;
1448
+ type?: string | undefined;
1449
+ display?: string | undefined;
1450
+ } | undefined;
1451
+ form?: {
1452
+ coding: {
1453
+ code: string;
1454
+ system: string;
1455
+ display?: string | undefined;
1456
+ }[];
1457
+ text?: string | undefined;
1458
+ } | undefined;
1459
+ amount?: {
1460
+ numerator?: {
1461
+ value: string | number;
1462
+ code?: string | undefined;
1463
+ system?: string | undefined;
1464
+ unit?: string | undefined;
1465
+ } | undefined;
1466
+ denominator?: {
1467
+ value: string | number;
1468
+ code?: string | undefined;
1469
+ system?: string | undefined;
1470
+ unit?: string | undefined;
1471
+ } | undefined;
1472
+ } | undefined;
1473
+ ingredient?: {
1474
+ itemCodeableConcept?: {
1475
+ coding: {
1476
+ code: string;
1477
+ system: string;
1478
+ display?: string | undefined;
1479
+ }[];
1480
+ text?: string | undefined;
1481
+ } | undefined;
1482
+ itemReference?: {
1483
+ reference: string;
1484
+ type?: string | undefined;
1485
+ display?: string | undefined;
1486
+ } | undefined;
1487
+ isActive?: boolean | undefined;
1488
+ strength?: {
1489
+ numerator?: {
1490
+ value: string | number;
1491
+ code?: string | undefined;
1492
+ system?: string | undefined;
1493
+ unit?: string | undefined;
1494
+ } | undefined;
1495
+ denominator?: {
1496
+ value: string | number;
1497
+ code?: string | undefined;
1498
+ system?: string | undefined;
1499
+ unit?: string | undefined;
1500
+ } | undefined;
1501
+ } | undefined;
1502
+ }[] | undefined;
1503
+ batch?: {
1504
+ lotNumber?: string | undefined;
1505
+ expirationDate?: string | undefined;
1506
+ } | undefined;
1507
+ }>;
1508
+ export declare const MedicationSchema: z.ZodObject<{
1509
+ resourceType: z.ZodLiteral<"Medication">;
1510
+ identifier: z.ZodOptional<z.ZodArray<z.ZodObject<{
1511
+ use: z.ZodOptional<z.ZodString>;
1512
+ } & {
1513
+ system: z.ZodString;
1514
+ value: z.ZodString;
1515
+ }, "strip", z.ZodTypeAny, {
1516
+ value: string;
1517
+ system: string;
1518
+ use?: string | undefined;
1519
+ }, {
1520
+ value: string;
1521
+ system: string;
1522
+ use?: string | undefined;
1523
+ }>, "many">>;
1524
+ code: z.ZodOptional<z.ZodObject<{
1525
+ text: z.ZodOptional<z.ZodString>;
1526
+ } & {
1527
+ coding: z.ZodArray<z.ZodObject<{
1528
+ system: z.ZodString;
1529
+ code: z.ZodString;
1530
+ display: z.ZodOptional<z.ZodString>;
1531
+ }, "strip", z.ZodTypeAny, {
1532
+ code: string;
1533
+ system: string;
1534
+ display?: string | undefined;
1535
+ }, {
1536
+ code: string;
1537
+ system: string;
1538
+ display?: string | undefined;
1539
+ }>, "many">;
1540
+ }, "strip", z.ZodTypeAny, {
1541
+ coding: {
1542
+ code: string;
1543
+ system: string;
1544
+ display?: string | undefined;
1545
+ }[];
1546
+ text?: string | undefined;
1547
+ }, {
1548
+ coding: {
1549
+ code: string;
1550
+ system: string;
1551
+ display?: string | undefined;
1552
+ }[];
1553
+ text?: string | undefined;
1554
+ }>>;
1555
+ status: z.ZodOptional<z.ZodEnum<["active", "inactive", "entered-in-error"]>>;
1556
+ manufacturer: z.ZodOptional<z.ZodObject<{
1557
+ reference: z.ZodString;
1558
+ display: z.ZodOptional<z.ZodString>;
1559
+ type: z.ZodOptional<z.ZodString>;
1560
+ }, "strip", z.ZodTypeAny, {
1561
+ reference: string;
1562
+ type?: string | undefined;
1563
+ display?: string | undefined;
1564
+ }, {
1565
+ reference: string;
1566
+ type?: string | undefined;
1567
+ display?: string | undefined;
1568
+ }>>;
1569
+ form: z.ZodOptional<z.ZodObject<{
1570
+ text: z.ZodOptional<z.ZodString>;
1571
+ } & {
1572
+ coding: z.ZodArray<z.ZodObject<{
1573
+ system: z.ZodString;
1574
+ code: z.ZodString;
1575
+ display: z.ZodOptional<z.ZodString>;
1576
+ }, "strip", z.ZodTypeAny, {
1577
+ code: string;
1578
+ system: string;
1579
+ display?: string | undefined;
1580
+ }, {
1581
+ code: string;
1582
+ system: string;
1583
+ display?: string | undefined;
1584
+ }>, "many">;
1585
+ }, "strip", z.ZodTypeAny, {
1586
+ coding: {
1587
+ code: string;
1588
+ system: string;
1589
+ display?: string | undefined;
1590
+ }[];
1591
+ text?: string | undefined;
1592
+ }, {
1593
+ coding: {
1594
+ code: string;
1595
+ system: string;
1596
+ display?: string | undefined;
1597
+ }[];
1598
+ text?: string | undefined;
1599
+ }>>;
1600
+ amount: z.ZodOptional<z.ZodObject<{
1601
+ numerator: z.ZodOptional<z.ZodObject<{
1602
+ value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1603
+ unit: z.ZodOptional<z.ZodString>;
1604
+ system: z.ZodOptional<z.ZodString>;
1605
+ code: z.ZodOptional<z.ZodString>;
1606
+ }, "strip", z.ZodTypeAny, {
1607
+ value: string | number;
1608
+ code?: string | undefined;
1609
+ system?: string | undefined;
1610
+ unit?: string | undefined;
1611
+ }, {
1612
+ value: string | number;
1613
+ code?: string | undefined;
1614
+ system?: string | undefined;
1615
+ unit?: string | undefined;
1616
+ }>>;
1617
+ denominator: z.ZodOptional<z.ZodObject<{
1618
+ value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1619
+ unit: z.ZodOptional<z.ZodString>;
1620
+ system: z.ZodOptional<z.ZodString>;
1621
+ code: z.ZodOptional<z.ZodString>;
1622
+ }, "strip", z.ZodTypeAny, {
1623
+ value: string | number;
1624
+ code?: string | undefined;
1625
+ system?: string | undefined;
1626
+ unit?: string | undefined;
1627
+ }, {
1628
+ value: string | number;
1629
+ code?: string | undefined;
1630
+ system?: string | undefined;
1631
+ unit?: string | undefined;
1632
+ }>>;
1633
+ }, "strip", z.ZodTypeAny, {
1634
+ numerator?: {
1635
+ value: string | number;
1636
+ code?: string | undefined;
1637
+ system?: string | undefined;
1638
+ unit?: string | undefined;
1639
+ } | undefined;
1640
+ denominator?: {
1641
+ value: string | number;
1642
+ code?: string | undefined;
1643
+ system?: string | undefined;
1644
+ unit?: string | undefined;
1645
+ } | undefined;
1646
+ }, {
1647
+ numerator?: {
1648
+ value: string | number;
1649
+ code?: string | undefined;
1650
+ system?: string | undefined;
1651
+ unit?: string | undefined;
1652
+ } | undefined;
1653
+ denominator?: {
1654
+ value: string | number;
1655
+ code?: string | undefined;
1656
+ system?: string | undefined;
1657
+ unit?: string | undefined;
1658
+ } | undefined;
1659
+ }>>;
1660
+ ingredient: z.ZodOptional<z.ZodArray<z.ZodObject<{
1661
+ itemCodeableConcept: z.ZodOptional<z.ZodObject<{
1662
+ text: z.ZodOptional<z.ZodString>;
1663
+ } & {
1664
+ coding: z.ZodArray<z.ZodObject<{
1665
+ system: z.ZodString;
1666
+ code: z.ZodString;
1667
+ display: z.ZodOptional<z.ZodString>;
1668
+ }, "strip", z.ZodTypeAny, {
1669
+ code: string;
1670
+ system: string;
1671
+ display?: string | undefined;
1672
+ }, {
1673
+ code: string;
1674
+ system: string;
1675
+ display?: string | undefined;
1676
+ }>, "many">;
1677
+ }, "strip", z.ZodTypeAny, {
1678
+ coding: {
1679
+ code: string;
1680
+ system: string;
1681
+ display?: string | undefined;
1682
+ }[];
1683
+ text?: string | undefined;
1684
+ }, {
1685
+ coding: {
1686
+ code: string;
1687
+ system: string;
1688
+ display?: string | undefined;
1689
+ }[];
1690
+ text?: string | undefined;
1691
+ }>>;
1692
+ itemReference: z.ZodOptional<z.ZodObject<{
1693
+ reference: z.ZodString;
1694
+ display: z.ZodOptional<z.ZodString>;
1695
+ type: z.ZodOptional<z.ZodString>;
1696
+ }, "strip", z.ZodTypeAny, {
1697
+ reference: string;
1698
+ type?: string | undefined;
1699
+ display?: string | undefined;
1700
+ }, {
1701
+ reference: string;
1702
+ type?: string | undefined;
1703
+ display?: string | undefined;
1704
+ }>>;
1705
+ isActive: z.ZodOptional<z.ZodBoolean>;
1706
+ strength: z.ZodOptional<z.ZodObject<{
1707
+ numerator: z.ZodOptional<z.ZodObject<{
1708
+ value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1709
+ unit: z.ZodOptional<z.ZodString>;
1710
+ system: z.ZodOptional<z.ZodString>;
1711
+ code: z.ZodOptional<z.ZodString>;
1712
+ }, "strip", z.ZodTypeAny, {
1713
+ value: string | number;
1714
+ code?: string | undefined;
1715
+ system?: string | undefined;
1716
+ unit?: string | undefined;
1717
+ }, {
1718
+ value: string | number;
1719
+ code?: string | undefined;
1720
+ system?: string | undefined;
1721
+ unit?: string | undefined;
1722
+ }>>;
1723
+ denominator: z.ZodOptional<z.ZodObject<{
1724
+ value: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
1725
+ unit: z.ZodOptional<z.ZodString>;
1726
+ system: z.ZodOptional<z.ZodString>;
1727
+ code: z.ZodOptional<z.ZodString>;
1728
+ }, "strip", z.ZodTypeAny, {
1729
+ value: string | number;
1730
+ code?: string | undefined;
1731
+ system?: string | undefined;
1732
+ unit?: string | undefined;
1733
+ }, {
1734
+ value: string | number;
1735
+ code?: string | undefined;
1736
+ system?: string | undefined;
1737
+ unit?: string | undefined;
1738
+ }>>;
1739
+ }, "strip", z.ZodTypeAny, {
1740
+ numerator?: {
1741
+ value: string | number;
1742
+ code?: string | undefined;
1743
+ system?: string | undefined;
1744
+ unit?: string | undefined;
1745
+ } | undefined;
1746
+ denominator?: {
1747
+ value: string | number;
1748
+ code?: string | undefined;
1749
+ system?: string | undefined;
1750
+ unit?: string | undefined;
1751
+ } | undefined;
1752
+ }, {
1753
+ numerator?: {
1754
+ value: string | number;
1755
+ code?: string | undefined;
1756
+ system?: string | undefined;
1757
+ unit?: string | undefined;
1758
+ } | undefined;
1759
+ denominator?: {
1760
+ value: string | number;
1761
+ code?: string | undefined;
1762
+ system?: string | undefined;
1763
+ unit?: string | undefined;
1764
+ } | undefined;
1765
+ }>>;
1766
+ }, "strip", z.ZodTypeAny, {
1767
+ itemCodeableConcept?: {
1768
+ coding: {
1769
+ code: string;
1770
+ system: string;
1771
+ display?: string | undefined;
1772
+ }[];
1773
+ text?: string | undefined;
1774
+ } | undefined;
1775
+ itemReference?: {
1776
+ reference: string;
1777
+ type?: string | undefined;
1778
+ display?: string | undefined;
1779
+ } | undefined;
1780
+ isActive?: boolean | undefined;
1781
+ strength?: {
1782
+ numerator?: {
1783
+ value: string | number;
1784
+ code?: string | undefined;
1785
+ system?: string | undefined;
1786
+ unit?: string | undefined;
1787
+ } | undefined;
1788
+ denominator?: {
1789
+ value: string | number;
1790
+ code?: string | undefined;
1791
+ system?: string | undefined;
1792
+ unit?: string | undefined;
1793
+ } | undefined;
1794
+ } | undefined;
1795
+ }, {
1796
+ itemCodeableConcept?: {
1797
+ coding: {
1798
+ code: string;
1799
+ system: string;
1800
+ display?: string | undefined;
1801
+ }[];
1802
+ text?: string | undefined;
1803
+ } | undefined;
1804
+ itemReference?: {
1805
+ reference: string;
1806
+ type?: string | undefined;
1807
+ display?: string | undefined;
1808
+ } | undefined;
1809
+ isActive?: boolean | undefined;
1810
+ strength?: {
1811
+ numerator?: {
1812
+ value: string | number;
1813
+ code?: string | undefined;
1814
+ system?: string | undefined;
1815
+ unit?: string | undefined;
1816
+ } | undefined;
1817
+ denominator?: {
1818
+ value: string | number;
1819
+ code?: string | undefined;
1820
+ system?: string | undefined;
1821
+ unit?: string | undefined;
1822
+ } | undefined;
1823
+ } | undefined;
1824
+ }>, "many">>;
1825
+ batch: z.ZodOptional<z.ZodObject<{
1826
+ lotNumber: z.ZodOptional<z.ZodString>;
1827
+ expirationDate: z.ZodOptional<z.ZodString>;
1828
+ }, "strip", z.ZodTypeAny, {
1829
+ lotNumber?: string | undefined;
1830
+ expirationDate?: string | undefined;
1831
+ }, {
1832
+ lotNumber?: string | undefined;
1833
+ expirationDate?: string | undefined;
1834
+ }>>;
1835
+ extension: z.ZodArray<z.ZodObject<{
1836
+ url: z.ZodLiteral<"https://fhir.kemkes.go.id/r4/StructureDefinition/MedicationType">;
1837
+ valueCodeableConcept: z.ZodObject<{
1838
+ text: z.ZodOptional<z.ZodString>;
1839
+ } & {
1840
+ coding: z.ZodArray<z.ZodObject<{
1841
+ system: z.ZodString;
1842
+ code: z.ZodString;
1843
+ display: z.ZodOptional<z.ZodString>;
1844
+ }, "strip", z.ZodTypeAny, {
1845
+ code: string;
1846
+ system: string;
1847
+ display?: string | undefined;
1848
+ }, {
1849
+ code: string;
1850
+ system: string;
1851
+ display?: string | undefined;
1852
+ }>, "many">;
1853
+ }, "strip", z.ZodTypeAny, {
1854
+ coding: {
1855
+ code: string;
1856
+ system: string;
1857
+ display?: string | undefined;
1858
+ }[];
1859
+ text?: string | undefined;
1860
+ }, {
1861
+ coding: {
1862
+ code: string;
1863
+ system: string;
1864
+ display?: string | undefined;
1865
+ }[];
1866
+ text?: string | undefined;
1867
+ }>;
1868
+ }, "strip", z.ZodTypeAny, {
1869
+ url: "https://fhir.kemkes.go.id/r4/StructureDefinition/MedicationType";
1870
+ valueCodeableConcept: {
1871
+ coding: {
1872
+ code: string;
1873
+ system: string;
1874
+ display?: string | undefined;
1875
+ }[];
1876
+ text?: string | undefined;
1877
+ };
1878
+ }, {
1879
+ url: "https://fhir.kemkes.go.id/r4/StructureDefinition/MedicationType";
1880
+ valueCodeableConcept: {
1881
+ coding: {
1882
+ code: string;
1883
+ system: string;
1884
+ display?: string | undefined;
1885
+ }[];
1886
+ text?: string | undefined;
1887
+ };
1888
+ }>, "many">;
1889
+ } & {
1890
+ id: z.ZodString;
1891
+ meta: z.ZodOptional<z.ZodObject<{
1892
+ lastUpdated: z.ZodOptional<z.ZodString>;
1893
+ profile: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1894
+ versionId: z.ZodOptional<z.ZodString>;
1895
+ }, "strip", z.ZodTypeAny, {
1896
+ lastUpdated?: string | undefined;
1897
+ profile?: string[] | undefined;
1898
+ versionId?: string | undefined;
1899
+ }, {
1900
+ lastUpdated?: string | undefined;
1901
+ profile?: string[] | undefined;
1902
+ versionId?: string | undefined;
1903
+ }>>;
1904
+ }, "strip", z.ZodTypeAny, {
1905
+ extension: {
1906
+ url: "https://fhir.kemkes.go.id/r4/StructureDefinition/MedicationType";
1907
+ valueCodeableConcept: {
1908
+ coding: {
1909
+ code: string;
1910
+ system: string;
1911
+ display?: string | undefined;
1912
+ }[];
1913
+ text?: string | undefined;
1914
+ };
1915
+ }[];
1916
+ resourceType: "Medication";
1917
+ id: string;
1918
+ code?: {
1919
+ coding: {
1920
+ code: string;
1921
+ system: string;
1922
+ display?: string | undefined;
1923
+ }[];
1924
+ text?: string | undefined;
1925
+ } | undefined;
1926
+ status?: "active" | "entered-in-error" | "inactive" | undefined;
1927
+ identifier?: {
1928
+ value: string;
1929
+ system: string;
1930
+ use?: string | undefined;
1931
+ }[] | undefined;
1932
+ meta?: {
1933
+ lastUpdated?: string | undefined;
1934
+ profile?: string[] | undefined;
1935
+ versionId?: string | undefined;
1936
+ } | undefined;
1937
+ manufacturer?: {
1938
+ reference: string;
1939
+ type?: string | undefined;
1940
+ display?: string | undefined;
1941
+ } | undefined;
1942
+ form?: {
1943
+ coding: {
1944
+ code: string;
1945
+ system: string;
1946
+ display?: string | undefined;
1947
+ }[];
1948
+ text?: string | undefined;
1949
+ } | undefined;
1950
+ amount?: {
1951
+ numerator?: {
1952
+ value: string | number;
1953
+ code?: string | undefined;
1954
+ system?: string | undefined;
1955
+ unit?: string | undefined;
1956
+ } | undefined;
1957
+ denominator?: {
1958
+ value: string | number;
1959
+ code?: string | undefined;
1960
+ system?: string | undefined;
1961
+ unit?: string | undefined;
1962
+ } | undefined;
1963
+ } | undefined;
1964
+ ingredient?: {
1965
+ itemCodeableConcept?: {
1966
+ coding: {
1967
+ code: string;
1968
+ system: string;
1969
+ display?: string | undefined;
1970
+ }[];
1971
+ text?: string | undefined;
1972
+ } | undefined;
1973
+ itemReference?: {
1974
+ reference: string;
1975
+ type?: string | undefined;
1976
+ display?: string | undefined;
1977
+ } | undefined;
1978
+ isActive?: boolean | undefined;
1979
+ strength?: {
1980
+ numerator?: {
1981
+ value: string | number;
1982
+ code?: string | undefined;
1983
+ system?: string | undefined;
1984
+ unit?: string | undefined;
1985
+ } | undefined;
1986
+ denominator?: {
1987
+ value: string | number;
1988
+ code?: string | undefined;
1989
+ system?: string | undefined;
1990
+ unit?: string | undefined;
1991
+ } | undefined;
1992
+ } | undefined;
1993
+ }[] | undefined;
1994
+ batch?: {
1995
+ lotNumber?: string | undefined;
1996
+ expirationDate?: string | undefined;
1997
+ } | undefined;
1998
+ }, {
1999
+ extension: {
2000
+ url: "https://fhir.kemkes.go.id/r4/StructureDefinition/MedicationType";
2001
+ valueCodeableConcept: {
2002
+ coding: {
2003
+ code: string;
2004
+ system: string;
2005
+ display?: string | undefined;
2006
+ }[];
2007
+ text?: string | undefined;
2008
+ };
2009
+ }[];
2010
+ resourceType: "Medication";
2011
+ id: string;
2012
+ code?: {
2013
+ coding: {
2014
+ code: string;
2015
+ system: string;
2016
+ display?: string | undefined;
2017
+ }[];
2018
+ text?: string | undefined;
2019
+ } | undefined;
2020
+ status?: "active" | "entered-in-error" | "inactive" | undefined;
2021
+ identifier?: {
2022
+ value: string;
2023
+ system: string;
2024
+ use?: string | undefined;
2025
+ }[] | undefined;
2026
+ meta?: {
2027
+ lastUpdated?: string | undefined;
2028
+ profile?: string[] | undefined;
2029
+ versionId?: string | undefined;
2030
+ } | undefined;
2031
+ manufacturer?: {
2032
+ reference: string;
2033
+ type?: string | undefined;
2034
+ display?: string | undefined;
2035
+ } | undefined;
2036
+ form?: {
2037
+ coding: {
2038
+ code: string;
2039
+ system: string;
2040
+ display?: string | undefined;
2041
+ }[];
2042
+ text?: string | undefined;
2043
+ } | undefined;
2044
+ amount?: {
2045
+ numerator?: {
2046
+ value: string | number;
2047
+ code?: string | undefined;
2048
+ system?: string | undefined;
2049
+ unit?: string | undefined;
2050
+ } | undefined;
2051
+ denominator?: {
2052
+ value: string | number;
2053
+ code?: string | undefined;
2054
+ system?: string | undefined;
2055
+ unit?: string | undefined;
2056
+ } | undefined;
2057
+ } | undefined;
2058
+ ingredient?: {
2059
+ itemCodeableConcept?: {
2060
+ coding: {
2061
+ code: string;
2062
+ system: string;
2063
+ display?: string | undefined;
2064
+ }[];
2065
+ text?: string | undefined;
2066
+ } | undefined;
2067
+ itemReference?: {
2068
+ reference: string;
2069
+ type?: string | undefined;
2070
+ display?: string | undefined;
2071
+ } | undefined;
2072
+ isActive?: boolean | undefined;
2073
+ strength?: {
2074
+ numerator?: {
2075
+ value: string | number;
2076
+ code?: string | undefined;
2077
+ system?: string | undefined;
2078
+ unit?: string | undefined;
2079
+ } | undefined;
2080
+ denominator?: {
2081
+ value: string | number;
2082
+ code?: string | undefined;
2083
+ system?: string | undefined;
2084
+ unit?: string | undefined;
2085
+ } | undefined;
2086
+ } | undefined;
2087
+ }[] | undefined;
2088
+ batch?: {
2089
+ lotNumber?: string | undefined;
2090
+ expirationDate?: string | undefined;
2091
+ } | undefined;
2092
+ }>;
2093
+ export declare const MedicationUpdateParamsSchema: z.ZodObject<{
2094
+ id: z.ZodString;
2095
+ }, "strip", z.ZodTypeAny, {
2096
+ id: string;
2097
+ }, {
2098
+ id: string;
2099
+ }>;
2100
+ export type MedicationIdentifier = z.infer<typeof MedicationIdentifierSchema>;
2101
+ export type MedicationStatus = z.infer<typeof MedicationStatusSchema>;
2102
+ export type MedicationCoding = z.infer<typeof MedicationCodingSchema>;
2103
+ export type MedicationQuantity = z.infer<typeof MedicationQuantitySchema>;
2104
+ export type MedicationRatio = z.infer<typeof MedicationRatioSchema>;
2105
+ export type MedicationTypeExtension = z.infer<typeof MedicationTypeExtensionSchema>;
2106
+ export type MedicationIngredient = z.infer<typeof MedicationIngredientSchema>;
2107
+ export type MedicationBatch = z.infer<typeof MedicationBatchSchema>;
2108
+ export type MedicationPatchOperation = z.infer<typeof MedicationPatchOperationSchema>;
2109
+ export type MedicationPatchInput = z.infer<typeof MedicationPatchSchema>;
2110
+ export type Medication = z.infer<typeof MedicationSchema>;
2111
+ export type MedicationCreateInput = z.infer<typeof MedicationCreateSchema>;