@crvouga/mockingbird-service-junction 0.1.1 → 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.
Files changed (79) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/README.md +448 -133
  3. package/dist/chunk-4C6VYRJN.js +18 -0
  4. package/dist/chunk-4C6VYRJN.js.map +7 -0
  5. package/dist/chunk-KKNULV7X.js +406 -0
  6. package/dist/chunk-KKNULV7X.js.map +7 -0
  7. package/dist/chunk-MA3HSUVD.js +7771 -0
  8. package/dist/chunk-MA3HSUVD.js.map +7 -0
  9. package/dist/chunk-MD4KYEIM.js +145758 -0
  10. package/dist/chunk-MD4KYEIM.js.map +7 -0
  11. package/dist/cli.js +214 -0
  12. package/dist/cli.js.map +7 -0
  13. package/dist/corpus.d.ts +97 -0
  14. package/dist/corpus.js +8 -0
  15. package/dist/corpus.js.map +7 -0
  16. package/dist/index.d.ts +1131 -21
  17. package/dist/index.js +82 -120
  18. package/dist/index.js.map +7 -1
  19. package/dist/server.d.ts +978 -0
  20. package/dist/server.js +16 -0
  21. package/dist/server.js.map +7 -0
  22. package/package.json +32 -12
  23. package/dist/catalog.d.ts +0 -63
  24. package/dist/catalog.d.ts.map +0 -1
  25. package/dist/catalog.js +0 -736
  26. package/dist/catalog.js.map +0 -1
  27. package/dist/coverage-corpus.d.ts +0 -76
  28. package/dist/coverage-corpus.d.ts.map +0 -1
  29. package/dist/coverage-corpus.js +0 -166
  30. package/dist/coverage-corpus.js.map +0 -1
  31. package/dist/generated/openapi.d.ts +0 -7
  32. package/dist/generated/openapi.d.ts.map +0 -1
  33. package/dist/generated/openapi.js +0 -5
  34. package/dist/generated/openapi.js.map +0 -1
  35. package/dist/index.d.ts.map +0 -1
  36. package/dist/lab-accounts.d.ts +0 -38
  37. package/dist/lab-accounts.d.ts.map +0 -1
  38. package/dist/lab-accounts.js +0 -213
  39. package/dist/lab-accounts.js.map +0 -1
  40. package/dist/orders.d.ts +0 -18
  41. package/dist/orders.d.ts.map +0 -1
  42. package/dist/orders.js +0 -1247
  43. package/dist/orders.js.map +0 -1
  44. package/dist/prefetch.d.ts +0 -43
  45. package/dist/prefetch.d.ts.map +0 -1
  46. package/dist/prefetch.js +0 -131
  47. package/dist/prefetch.js.map +0 -1
  48. package/dist/reshape.d.ts +0 -22
  49. package/dist/reshape.d.ts.map +0 -1
  50. package/dist/reshape.js +0 -190
  51. package/dist/reshape.js.map +0 -1
  52. package/dist/results.d.ts +0 -19
  53. package/dist/results.d.ts.map +0 -1
  54. package/dist/results.js +0 -221
  55. package/dist/results.js.map +0 -1
  56. package/dist/scheduling.d.ts +0 -113
  57. package/dist/scheduling.d.ts.map +0 -1
  58. package/dist/scheduling.js +0 -1508
  59. package/dist/scheduling.js.map +0 -1
  60. package/dist/sealed-corpus.d.ts +0 -28
  61. package/dist/sealed-corpus.d.ts.map +0 -1
  62. package/dist/sealed-corpus.js +0 -17
  63. package/dist/sealed-corpus.js.map +0 -1
  64. package/dist/seed-from.d.ts +0 -27
  65. package/dist/seed-from.d.ts.map +0 -1
  66. package/dist/seed-from.js +0 -523
  67. package/dist/seed-from.js.map +0 -1
  68. package/dist/seeds.d.ts +0 -9
  69. package/dist/seeds.d.ts.map +0 -1
  70. package/dist/seeds.js +0 -9
  71. package/dist/seeds.js.map +0 -1
  72. package/dist/state.d.ts +0 -270
  73. package/dist/state.d.ts.map +0 -1
  74. package/dist/state.js +0 -448
  75. package/dist/state.js.map +0 -1
  76. package/dist/users.d.ts +0 -13
  77. package/dist/users.d.ts.map +0 -1
  78. package/dist/users.js +0 -669
  79. package/dist/users.js.map +0 -1
package/dist/catalog.js DELETED
@@ -1,736 +0,0 @@
1
- export const LAB_TEST_CATALOG = [
2
- {
3
- id: "c533549c-1e62-4afe-9a0e-0567a9b2bcc2",
4
- slug: "comprehensive_metabolic_panel",
5
- name: "CMP",
6
- sample_type: "serum",
7
- method: "walk_in_test",
8
- price: 0,
9
- is_active: true,
10
- status: "active",
11
- fasting: false,
12
- lab: {
13
- id: 6,
14
- slug: "labcorp",
15
- name: "Labcorp",
16
- first_line_address: "Labcorp",
17
- city: "San Diego",
18
- zipcode: "92128",
19
- collection_methods: ["at_home_phlebotomy", "walk_in_test", "on_site_collection"],
20
- sample_types: ["serum", "saliva", "urine"],
21
- logo_url: null,
22
- },
23
- markers: [
24
- {
25
- id: 2075,
26
- name: "Comp. Metabolic Panel (14)",
27
- slug: "comp-metabolic-panel-14",
28
- description: "Comp. Metabolic Panel (14)",
29
- lab_id: 6,
30
- provider_id: "322000",
31
- type: "biomarker",
32
- unit: null,
33
- price: "N/A",
34
- aoe: {
35
- questions: [
36
- {
37
- id: 1,
38
- required: false,
39
- code: "FSTING",
40
- value: "FASTING",
41
- type: "choice",
42
- sequence: 1,
43
- answers: [
44
- { id: 1, code: "N", value: "No" },
45
- { id: 2, code: "Y", value: "Yes" },
46
- ],
47
- constraint: null,
48
- default: null,
49
- },
50
- ],
51
- },
52
- a_la_carte_enabled: true,
53
- common_tat_days: 3,
54
- worst_case_tat_days: 5,
55
- is_orderable: true,
56
- },
57
- ],
58
- is_delegated: false,
59
- auto_generated: false,
60
- has_collection_instructions: false,
61
- common_tat_days: 3,
62
- worst_case_tat_days: 5,
63
- },
64
- {
65
- id: "0cb9f34f-c3df-4a13-8ca1-19429a82611b",
66
- slug: "general_wellness_female_002",
67
- name: "Female General Wellness",
68
- sample_type: "dried_blood_spot",
69
- method: "testkit",
70
- price: 45,
71
- is_active: true,
72
- status: "active",
73
- fasting: false,
74
- lab: {
75
- id: 3,
76
- slug: "ussl",
77
- name: "USSL",
78
- first_line_address: "15150 Avenue of Science, Suite 100",
79
- city: "San Diego",
80
- zipcode: "92128",
81
- collection_methods: ["testkit"],
82
- sample_types: ["dried_blood_spot"],
83
- logo_url: null,
84
- },
85
- markers: null,
86
- is_delegated: false,
87
- auto_generated: false,
88
- has_collection_instructions: false,
89
- common_tat_days: null,
90
- worst_case_tat_days: null,
91
- },
92
- {
93
- id: "b439efda-1e07-4d2c-8afb-51771c7cc0cb",
94
- slug: "lipid_panel_athome",
95
- name: "Lipid Panel: At Home",
96
- sample_type: "serum",
97
- method: "at_home_phlebotomy",
98
- price: 0,
99
- is_active: true,
100
- status: "active",
101
- fasting: false,
102
- lab: {
103
- id: 6,
104
- slug: "labcorp",
105
- name: "Labcorp",
106
- first_line_address: "Labcorp",
107
- city: "San Diego",
108
- zipcode: "92128",
109
- collection_methods: ["at_home_phlebotomy", "walk_in_test", "on_site_collection"],
110
- sample_types: ["serum", "saliva", "urine"],
111
- logo_url: null,
112
- },
113
- markers: [
114
- {
115
- id: 1975,
116
- name: "Lipid Panel",
117
- slug: "lipid-panel",
118
- description: "Lipid Panel",
119
- lab_id: 6,
120
- provider_id: "303756",
121
- type: "biomarker",
122
- unit: null,
123
- price: "N/A",
124
- aoe: {
125
- questions: [
126
- {
127
- id: 1,
128
- required: false,
129
- code: "FSTING",
130
- value: "FASTING",
131
- type: "choice",
132
- sequence: 1,
133
- answers: [
134
- { id: 1, code: "N", value: "No" },
135
- { id: 2, code: "Y", value: "Yes" },
136
- ],
137
- constraint: null,
138
- default: null,
139
- },
140
- ],
141
- },
142
- a_la_carte_enabled: true,
143
- common_tat_days: 3,
144
- worst_case_tat_days: 5,
145
- is_orderable: true,
146
- },
147
- ],
148
- is_delegated: false,
149
- auto_generated: false,
150
- has_collection_instructions: false,
151
- common_tat_days: 3,
152
- worst_case_tat_days: 5,
153
- },
154
- ];
155
- export const labTestById = (id) => LAB_TEST_CATALOG.find((test) => test.id === id);
156
- /**
157
- * Team lab inventory mirrored from the sandbox (`GET /v3/lab_tests/labs`). The endpoint
158
- * returns the team's full lab list — not just the labs referenced by catalog tests — in
159
- * this exact order.
160
- */
161
- export const TEAM_LABS = [
162
- {
163
- id: 24,
164
- slug: "my_uti",
165
- name: "MyUTI",
166
- first_line_address: "No Address",
167
- city: "Chicago",
168
- zipcode: "00000",
169
- collection_methods: ["testkit"],
170
- sample_types: ["dried_blood_spot"],
171
- logo_url: null,
172
- },
173
- {
174
- id: 25,
175
- slug: "sonora_quest",
176
- name: "Sonora Quest",
177
- first_line_address: "1255 West Washington Street",
178
- city: "Tempe",
179
- zipcode: "85281",
180
- collection_methods: ["at_home_phlebotomy", "walk_in_test", "on_site_collection"],
181
- sample_types: ["serum", "saliva", "urine"],
182
- logo_url: null,
183
- },
184
- {
185
- id: 26,
186
- slug: "crl",
187
- name: "CRL",
188
- first_line_address: "11711 W 83rd Terrace",
189
- city: "Lenexa",
190
- zipcode: "66214",
191
- collection_methods: ["testkit"],
192
- sample_types: ["arm_collector"],
193
- logo_url: null,
194
- },
195
- {
196
- id: 27,
197
- slug: "mtl",
198
- name: "Molecular Testing Labs",
199
- first_line_address: "14401 SE 1st Street",
200
- city: "Vancouver",
201
- zipcode: "98684",
202
- collection_methods: ["testkit"],
203
- sample_types: ["saliva"],
204
- logo_url: null,
205
- },
206
- {
207
- id: 22,
208
- slug: "nexus",
209
- name: "Nexus",
210
- first_line_address: "313 Pleasant Street",
211
- city: "Watertown",
212
- zipcode: "02472",
213
- collection_methods: ["testkit"],
214
- sample_types: ["urine", "dried_blood_spot"],
215
- logo_url: null,
216
- },
217
- {
218
- id: 17,
219
- slug: "precision_analytical",
220
- name: "Precision Analytical",
221
- first_line_address: "3138 NE Rivergate Street",
222
- city: "McMinnville",
223
- zipcode: "97128",
224
- collection_methods: ["testkit"],
225
- sample_types: ["dried_blood_spot"],
226
- logo_url: null,
227
- },
228
- {
229
- id: 20,
230
- slug: "boston_heart_at_home_kit",
231
- name: "Boston Heart At-Home Kit",
232
- first_line_address: "200 Crossing Boulevard",
233
- city: "Framingham",
234
- zipcode: "01702",
235
- collection_methods: ["testkit"],
236
- sample_types: ["dried_blood_spot", "saliva"],
237
- logo_url: null,
238
- },
239
- {
240
- id: 7,
241
- slug: "diagnosticsolutions",
242
- name: "Diagnostic Solutions",
243
- first_line_address: " 5895 Shiloh Rd",
244
- city: "Alpharetta",
245
- zipcode: "30005",
246
- collection_methods: ["at_home_phlebotomy", "walk_in_test", "testkit"],
247
- sample_types: ["serum", "dried_blood_spot", "saliva"],
248
- logo_url: null,
249
- },
250
- {
251
- id: 8,
252
- slug: "cellsciencesystems",
253
- name: "Cell Science Systems",
254
- first_line_address: "852 S. Military Trail",
255
- city: "Deerfield Beach",
256
- zipcode: "33442",
257
- collection_methods: ["at_home_phlebotomy", "walk_in_test", "testkit"],
258
- sample_types: ["serum", "dried_blood_spot", "saliva"],
259
- logo_url: null,
260
- },
261
- {
262
- id: 6,
263
- slug: "labcorp",
264
- name: "Labcorp",
265
- first_line_address: "Labcorp",
266
- city: "San Diego",
267
- zipcode: "92128",
268
- collection_methods: ["at_home_phlebotomy", "walk_in_test", "on_site_collection"],
269
- sample_types: ["serum", "saliva", "urine"],
270
- logo_url: null,
271
- },
272
- {
273
- id: 13,
274
- slug: "bioreference",
275
- name: "BioReference",
276
- first_line_address: "481 Edward H Ross Dr",
277
- city: "Elmwood park",
278
- zipcode: "07407",
279
- collection_methods: ["walk_in_test", "at_home_phlebotomy", "on_site_collection"],
280
- sample_types: ["serum", "saliva", "urine"],
281
- logo_url: null,
282
- },
283
- {
284
- id: 40,
285
- slug: "us_biotek",
286
- name: "US Biotek",
287
- first_line_address: "16020 Linden Ave N",
288
- city: "Shoreline",
289
- zipcode: "98133",
290
- collection_methods: ["testkit"],
291
- sample_types: ["dried_blood_spot"],
292
- logo_url: null,
293
- },
294
- {
295
- id: 21,
296
- slug: "ihd",
297
- name: "IHD",
298
- first_line_address: "1936 E Deere Ave. Suite 115",
299
- city: "Santa Ana",
300
- zipcode: "92705",
301
- collection_methods: ["testkit", "at_home_phlebotomy", "walk_in_test"],
302
- sample_types: ["urine", "serum"],
303
- logo_url: null,
304
- },
305
- {
306
- id: 4,
307
- slug: "quest",
308
- name: "Quest",
309
- first_line_address: "Quest",
310
- city: "San Diego",
311
- zipcode: "92128",
312
- collection_methods: ["at_home_phlebotomy", "walk_in_test", "on_site_collection"],
313
- sample_types: ["serum", "saliva", "urine"],
314
- logo_url: null,
315
- },
316
- {
317
- id: 23,
318
- slug: "sanocardio",
319
- name: "SanoCardio",
320
- first_line_address: "N/A",
321
- city: "N/a",
322
- zipcode: "N/A",
323
- collection_methods: ["testkit"],
324
- sample_types: ["dried_blood_spot"],
325
- logo_url: null,
326
- },
327
- {
328
- id: 1,
329
- slug: "ayumetrix",
330
- name: "Ayumetrix",
331
- first_line_address: "17387 SW 63rd Ave",
332
- city: "Lake Oswego",
333
- zipcode: "97035",
334
- collection_methods: ["testkit"],
335
- sample_types: ["dried_blood_spot", "saliva"],
336
- logo_url: null,
337
- },
338
- {
339
- id: 9,
340
- slug: "genova",
341
- name: "Genova Diagnostics",
342
- first_line_address: " P.O. Box 3220",
343
- city: "Asheville",
344
- zipcode: "28802",
345
- collection_methods: ["at_home_phlebotomy", "walk_in_test", "testkit"],
346
- sample_types: ["serum", "dried_blood_spot", "saliva"],
347
- logo_url: null,
348
- },
349
- {
350
- id: 14,
351
- slug: "zrt",
352
- name: "ZRT Laboratory",
353
- first_line_address: "8605 SW Creekside Pl",
354
- city: "Beaverton",
355
- zipcode: "97008",
356
- collection_methods: ["testkit"],
357
- sample_types: ["serum", "dried_blood_spot", "saliva"],
358
- logo_url: null,
359
- },
360
- {
361
- id: 3,
362
- slug: "ussl",
363
- name: "USSL",
364
- first_line_address: "15150 Avenue of Science, Suite 100",
365
- city: "San Diego",
366
- zipcode: "92128",
367
- collection_methods: ["testkit"],
368
- sample_types: ["dried_blood_spot"],
369
- logo_url: null,
370
- },
371
- {
372
- id: 2,
373
- slug: "spiriplex",
374
- name: "Spiriplex",
375
- first_line_address: "100 Tri State International #100",
376
- city: "Lincolnshire",
377
- zipcode: "60069",
378
- collection_methods: ["testkit"],
379
- sample_types: ["dried_blood_spot"],
380
- logo_url: null,
381
- },
382
- ];
383
- /** Panel constituents mirrored from the sandbox (`GET /v3/lab_tests/{id}/markers`). */
384
- export const EXPECTED_RESULTS = {
385
- "b439efda-1e07-4d2c-8afb-51771c7cc0cb": [
386
- {
387
- id: 1109,
388
- name: "Cholesterol, Total",
389
- slug: "cholesterol-total",
390
- lab_id: 6,
391
- provider_id: "001065",
392
- required: true,
393
- loinc: {
394
- id: 11940,
395
- name: "Cholesterol [Mass/Vol]",
396
- slug: "cholesterol-mass-vol",
397
- code: "2093-3",
398
- unit: "mg/dL",
399
- },
400
- },
401
- {
402
- id: 1110,
403
- name: "HDL Cholesterol",
404
- slug: "hdl-cholesterol",
405
- lab_id: 6,
406
- provider_id: "011817",
407
- required: true,
408
- loinc: {
409
- id: 11858,
410
- name: "Cholesterol in HDL [Mass/Vol]",
411
- slug: "cholesterol-in-hdl-mass-vol",
412
- code: "2085-9",
413
- unit: "mg/dL",
414
- },
415
- },
416
- {
417
- id: 1112,
418
- name: "Triglycerides",
419
- slug: "triglycerides",
420
- lab_id: 6,
421
- provider_id: "001172",
422
- required: true,
423
- loinc: {
424
- id: 16384,
425
- name: "Triglyceride [Mass/Vol]",
426
- slug: "triglyceride-mass-vol",
427
- code: "2571-8",
428
- unit: "mg/dL",
429
- },
430
- },
431
- {
432
- id: 242764,
433
- name: "LDL Calc Comment:",
434
- slug: "ldl-calc-comment",
435
- lab_id: 6,
436
- provider_id: "011926",
437
- required: true,
438
- loinc: {
439
- id: 53832,
440
- name: "Service comment [Interp]",
441
- slug: "service-comment-interp",
442
- code: "8251-1",
443
- unit: null,
444
- },
445
- },
446
- {
447
- id: 242780,
448
- name: "VLDL Cholesterol Cal",
449
- slug: "vldl-cholesterol-cal",
450
- lab_id: 6,
451
- provider_id: "011925",
452
- required: true,
453
- loinc: {
454
- id: 5062,
455
- name: "Cholesterol in VLDL Calc [Mass/Vol]",
456
- slug: "cholesterol-in-vldl-calc-mass-vol",
457
- code: "13458-5",
458
- unit: "mg/dL",
459
- },
460
- },
461
- {
462
- id: 242790,
463
- name: "LDL Chol Calc (NIH)",
464
- slug: "ldl-chol-calc-nih",
465
- lab_id: 6,
466
- provider_id: "012065",
467
- required: true,
468
- loinc: {
469
- id: 5060,
470
- name: "Cholesterol in LDL Calc [Mass/Vol]",
471
- slug: "cholesterol-in-ldl-calc-mass-vol",
472
- code: "13457-7",
473
- unit: "mg/dL",
474
- },
475
- },
476
- ],
477
- "c533549c-1e62-4afe-9a0e-0567a9b2bcc2": [
478
- {
479
- id: 364,
480
- name: "AST (SGOT)",
481
- slug: "ast-sgot",
482
- lab_id: 6,
483
- provider_id: "001123",
484
- required: true,
485
- loinc: {
486
- id: 10684,
487
- name: "AST [Catalytic activity/Vol]",
488
- slug: "ast-catalytic-activity-vol",
489
- code: "1920-8",
490
- unit: "U/L",
491
- },
492
- },
493
- {
494
- id: 471,
495
- name: "ALT (SGPT)",
496
- slug: "alt-sgpt",
497
- lab_id: 6,
498
- provider_id: "001545",
499
- required: true,
500
- loinc: {
501
- id: 9362,
502
- name: "ALT [Catalytic activity/Vol]",
503
- slug: "alt-catalytic-activity-vol",
504
- code: "1742-6",
505
- unit: "U/L",
506
- },
507
- },
508
- {
509
- id: 1045,
510
- name: "BUN",
511
- slug: "bun",
512
- lab_id: 6,
513
- provider_id: "001040",
514
- required: true,
515
- loinc: {
516
- id: 19958,
517
- name: "Urea nitrogen [Mass/Vol]",
518
- slug: "urea-nitrogen-mass-vol",
519
- code: "3094-0",
520
- unit: "mg/dL",
521
- },
522
- },
523
- {
524
- id: 1050,
525
- name: "eGFR",
526
- slug: "egfr",
527
- lab_id: 6,
528
- provider_id: "100779",
529
- required: true,
530
- loinc: {
531
- id: 61049,
532
- name: "GFR/1.73 sq M.predicted Creatinine-based formula (CKD-EPI 2021) (S/P/Bld) [Vol rate/Area]",
533
- slug: "gfr-1-73-sq-m-predicted-creatinine-based-formula-ckd-epi-2021-s-p-bld-vol-rate-area",
534
- code: "98979-8",
535
- unit: "mL/min/{1.73_m2}",
536
- },
537
- },
538
- {
539
- id: 1051,
540
- name: "Creatinine",
541
- slug: "creatinine",
542
- lab_id: 6,
543
- provider_id: "001370",
544
- required: true,
545
- loinc: {
546
- id: 12675,
547
- name: "Creatinine [Mass/Vol]",
548
- slug: "creatinine-mass-vol",
549
- code: "2160-0",
550
- unit: "mg/dL",
551
- },
552
- },
553
- {
554
- id: 1238,
555
- name: "Protein, Total",
556
- slug: "protein-total",
557
- lab_id: 6,
558
- provider_id: "001073",
559
- required: true,
560
- loinc: {
561
- id: 18410,
562
- name: "Protein [Mass/Vol]",
563
- slug: "protein-mass-vol",
564
- code: "2885-2",
565
- unit: "g/dL",
566
- },
567
- },
568
- {
569
- id: 1266,
570
- name: "Calcium",
571
- slug: "calcium",
572
- lab_id: 6,
573
- provider_id: "001016",
574
- required: true,
575
- loinc: {
576
- id: 9833,
577
- name: "Calcium [Mass/Vol]",
578
- slug: "calcium-mass-vol",
579
- code: "17861-6",
580
- unit: "mg/dL",
581
- },
582
- },
583
- {
584
- id: 1267,
585
- name: "BUN/Creatinine Ratio",
586
- slug: "bun-creatinine-ratio",
587
- lab_id: 6,
588
- provider_id: "011577",
589
- required: true,
590
- loinc: {
591
- id: 19962,
592
- name: "Urea nitrogen/Creatinine [Mass ratio]",
593
- slug: "urea-nitrogen-creatinine-mass-ratio",
594
- code: "3097-3",
595
- unit: "mg/mg{creat}",
596
- },
597
- },
598
- {
599
- id: 1268,
600
- name: "Carbon Dioxide, Total",
601
- slug: "carbon-dioxide-total",
602
- lab_id: 6,
603
- provider_id: "001578",
604
- required: true,
605
- loinc: {
606
- id: 11320,
607
- name: "CO2 [Moles/Vol]",
608
- slug: "co2-moles-vol",
609
- code: "2028-9",
610
- unit: "mmol/L",
611
- },
612
- },
613
- {
614
- id: 1269,
615
- name: "Glucose",
616
- slug: "glucose",
617
- lab_id: 6,
618
- provider_id: "001032",
619
- required: true,
620
- loinc: {
621
- id: 14491,
622
- name: "Glucose [Mass/Vol]",
623
- slug: "glucose-mass-vol",
624
- code: "2345-7",
625
- unit: "mg/dL",
626
- },
627
- },
628
- {
629
- id: 1270,
630
- name: "Potassium",
631
- slug: "potassium",
632
- lab_id: 6,
633
- provider_id: "001180",
634
- required: true,
635
- loinc: {
636
- id: 18272,
637
- name: "Potassium [Moles/Vol]",
638
- slug: "potassium-moles-vol",
639
- code: "2823-3",
640
- unit: "mmol/L",
641
- },
642
- },
643
- {
644
- id: 1271,
645
- name: "Sodium",
646
- slug: "sodium",
647
- lab_id: 6,
648
- provider_id: "001198",
649
- required: true,
650
- loinc: {
651
- id: 18724,
652
- name: "Sodium [Moles/Vol]",
653
- slug: "sodium-moles-vol",
654
- code: "2951-2",
655
- unit: "mmol/L",
656
- },
657
- },
658
- {
659
- id: 1272,
660
- name: "Chloride",
661
- slug: "chloride",
662
- lab_id: 6,
663
- provider_id: "001206",
664
- required: true,
665
- loinc: {
666
- id: 11738,
667
- name: "Chloride [Moles/Vol]",
668
- slug: "chloride-moles-vol",
669
- code: "2075-0",
670
- unit: "mmol/L",
671
- },
672
- },
673
- {
674
- id: 1370,
675
- name: "Bilirubin, Total",
676
- slug: "bilirubin-total",
677
- lab_id: 6,
678
- provider_id: "001099",
679
- required: true,
680
- loinc: {
681
- id: 11239,
682
- name: "Bilirubin [Mass/Vol]",
683
- slug: "bilirubin-mass-vol",
684
- code: "1975-2",
685
- unit: "mg/dL",
686
- },
687
- },
688
- {
689
- id: 1956,
690
- name: "Albumin",
691
- slug: "albumin",
692
- lab_id: 6,
693
- provider_id: "001081",
694
- required: true,
695
- loinc: {
696
- id: 9462,
697
- name: "Albumin [Mass/Vol]",
698
- slug: "albumin-mass-vol",
699
- code: "1751-7",
700
- unit: "g/dL",
701
- },
702
- },
703
- {
704
- id: 2304,
705
- name: "Globulin, Total",
706
- slug: "globulin-total",
707
- lab_id: 6,
708
- provider_id: "012039",
709
- required: true,
710
- loinc: {
711
- id: 2951,
712
- name: "Globulin Calc (S) [Mass/Vol]",
713
- slug: "globulin-calc-s-mass-vol",
714
- code: "10834-0",
715
- unit: "g/L",
716
- },
717
- },
718
- {
719
- id: 13,
720
- name: "Alkaline Phosphatase",
721
- slug: "alkaline-phosphatase",
722
- lab_id: 6,
723
- provider_id: "001107",
724
- required: true,
725
- loinc: {
726
- id: 45530,
727
- name: "ALP [Catalytic activity/Vol]",
728
- slug: "alp-catalytic-activity-vol",
729
- code: "6768-6",
730
- unit: "U/L",
731
- },
732
- },
733
- ],
734
- };
735
- export const expectedResultsFor = (labTestId) => EXPECTED_RESULTS[labTestId] ?? [];
736
- //# sourceMappingURL=catalog.js.map