candidhealth 0.34.2 → 0.34.4

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 (148) hide show
  1. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  2. package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  3. package/api/resources/claims/types/Claim.d.ts +5 -1
  4. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  5. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  6. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  7. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  8. package/api/resources/encounters/resources/v4/client/Client.d.ts +9 -1
  9. package/api/resources/encounters/resources/v4/client/Client.js +14 -6
  10. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +4 -0
  11. package/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +6 -2
  12. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +5 -1
  13. package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +5 -1
  14. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  15. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  16. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  17. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  18. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  19. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  20. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  21. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  22. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  23. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  24. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  25. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  26. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  27. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  28. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  29. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  30. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  31. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  32. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  33. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +12 -0
  34. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +58 -5
  35. package/api/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +2 -0
  36. package/api/resources/preEncounter/resources/appointments/resources/v1/client/index.js +6 -1
  37. package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/AppointmentScanRequest.d.ts +12 -0
  38. package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/AppointmentScanRequest.js +5 -0
  39. package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/index.d.ts +1 -0
  40. package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/index.js +2 -0
  41. package/api/resources/preEncounter/resources/appointments/resources/v1/client/scan.d.ts +22 -0
  42. package/api/resources/preEncounter/resources/appointments/resources/v1/client/scan.js +47 -0
  43. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
  44. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  45. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +8 -8
  46. package/api/resources/serviceFacility/client/Client.js +1 -1
  47. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +5 -1
  48. package/api/resources/serviceLines/resources/v2/client/Client.js +8 -4
  49. package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +7 -1
  50. package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -0
  51. package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -0
  52. package/api/resources/serviceLines/resources/v2/types/TestResult.d.ts +15 -0
  53. package/api/resources/serviceLines/resources/v2/types/TestResult.js +5 -0
  54. package/api/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
  55. package/api/resources/serviceLines/resources/v2/types/index.js +1 -0
  56. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  57. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  58. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  59. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  60. package/dist/api/resources/claims/types/Claim.d.ts +5 -1
  61. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  62. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  63. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  64. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  65. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +9 -1
  66. package/dist/api/resources/encounters/resources/v4/client/Client.js +14 -6
  67. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +4 -0
  68. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +6 -2
  69. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +5 -1
  70. package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +5 -1
  71. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  72. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  73. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  74. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  75. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  76. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  77. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  78. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  79. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  80. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  81. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  82. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  83. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  84. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  85. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  86. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  87. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  88. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  89. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  90. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +12 -0
  91. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +58 -5
  92. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +2 -0
  93. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/index.js +6 -1
  94. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/AppointmentScanRequest.d.ts +12 -0
  95. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/AppointmentScanRequest.js +5 -0
  96. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/index.d.ts +1 -0
  97. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/index.js +2 -0
  98. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/scan.d.ts +22 -0
  99. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/scan.js +47 -0
  100. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
  101. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  102. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +8 -8
  103. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  104. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +5 -1
  105. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +8 -4
  106. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +7 -1
  107. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -0
  108. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -0
  109. package/dist/api/resources/serviceLines/resources/v2/types/TestResult.d.ts +15 -0
  110. package/dist/api/resources/serviceLines/resources/v2/types/TestResult.js +5 -0
  111. package/dist/api/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
  112. package/dist/api/resources/serviceLines/resources/v2/types/index.js +1 -0
  113. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  114. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  115. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +1 -1
  116. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.js +1 -1
  117. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +1 -0
  118. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.js +2 -1
  119. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/scan.d.ts +11 -0
  120. package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/client/scan.js +32 -0
  121. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
  122. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +2 -0
  123. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -0
  124. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +2 -0
  125. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -0
  126. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +2 -0
  127. package/dist/serialization/resources/serviceLines/resources/v2/types/TestResult.d.ts +18 -0
  128. package/dist/serialization/resources/serviceLines/resources/v2/types/TestResult.js +43 -0
  129. package/dist/serialization/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
  130. package/dist/serialization/resources/serviceLines/resources/v2/types/index.js +1 -0
  131. package/package.json +1 -1
  132. package/reference.md +78 -1
  133. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +1 -1
  134. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.js +1 -1
  135. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.d.ts +1 -0
  136. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/index.js +2 -1
  137. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/scan.d.ts +11 -0
  138. package/serialization/resources/preEncounter/resources/appointments/resources/v1/client/scan.js +32 -0
  139. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -0
  140. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +2 -0
  141. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -0
  142. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +2 -0
  143. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -0
  144. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +2 -0
  145. package/serialization/resources/serviceLines/resources/v2/types/TestResult.d.ts +18 -0
  146. package/serialization/resources/serviceLines/resources/v2/types/TestResult.js +43 -0
  147. package/serialization/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
  148. package/serialization/resources/serviceLines/resources/v2/types/index.js +1 -0
@@ -134,7 +134,7 @@ class V1 {
134
134
  Authorization: yield this._getAuthorizationHeader(),
135
135
  "X-Fern-Language": "JavaScript",
136
136
  "X-Fern-SDK-Name": "candidhealth",
137
- "X-Fern-SDK-Version": "0.34.2",
137
+ "X-Fern-SDK-Version": "0.34.4",
138
138
  "X-Fern-Runtime": core.RUNTIME.type,
139
139
  "X-Fern-Runtime-Version": core.RUNTIME.version,
140
140
  },
@@ -252,7 +252,7 @@ class V1 {
252
252
  Authorization: yield this._getAuthorizationHeader(),
253
253
  "X-Fern-Language": "JavaScript",
254
254
  "X-Fern-SDK-Name": "candidhealth",
255
- "X-Fern-SDK-Version": "0.34.2",
255
+ "X-Fern-SDK-Version": "0.34.4",
256
256
  "X-Fern-Runtime": core.RUNTIME.type,
257
257
  "X-Fern-Runtime-Version": core.RUNTIME.version,
258
258
  },
@@ -317,7 +317,7 @@ class V1 {
317
317
  Authorization: yield this._getAuthorizationHeader(),
318
318
  "X-Fern-Language": "JavaScript",
319
319
  "X-Fern-SDK-Name": "candidhealth",
320
- "X-Fern-SDK-Version": "0.34.2",
320
+ "X-Fern-SDK-Version": "0.34.4",
321
321
  "X-Fern-Runtime": core.RUNTIME.type,
322
322
  "X-Fern-Runtime-Version": core.RUNTIME.version,
323
323
  },
@@ -364,7 +364,7 @@ class V1 {
364
364
  Authorization: yield this._getAuthorizationHeader(),
365
365
  "X-Fern-Language": "JavaScript",
366
366
  "X-Fern-SDK-Name": "candidhealth",
367
- "X-Fern-SDK-Version": "0.34.2",
367
+ "X-Fern-SDK-Version": "0.34.4",
368
368
  "X-Fern-Runtime": core.RUNTIME.type,
369
369
  "X-Fern-Runtime-Version": core.RUNTIME.version,
370
370
  },
@@ -432,7 +432,7 @@ class V1 {
432
432
  Authorization: yield this._getAuthorizationHeader(),
433
433
  "X-Fern-Language": "JavaScript",
434
434
  "X-Fern-SDK-Name": "candidhealth",
435
- "X-Fern-SDK-Version": "0.34.2",
435
+ "X-Fern-SDK-Version": "0.34.4",
436
436
  "X-Fern-Runtime": core.RUNTIME.type,
437
437
  "X-Fern-Runtime-Version": core.RUNTIME.version,
438
438
  },
@@ -485,7 +485,7 @@ class V1 {
485
485
  Authorization: yield this._getAuthorizationHeader(),
486
486
  "X-Fern-Language": "JavaScript",
487
487
  "X-Fern-SDK-Name": "candidhealth",
488
- "X-Fern-SDK-Version": "0.34.2",
488
+ "X-Fern-SDK-Version": "0.34.4",
489
489
  "X-Fern-Runtime": core.RUNTIME.type,
490
490
  "X-Fern-Runtime-Version": core.RUNTIME.version,
491
491
  },
@@ -538,7 +538,7 @@ class V1 {
538
538
  Authorization: yield this._getAuthorizationHeader(),
539
539
  "X-Fern-Language": "JavaScript",
540
540
  "X-Fern-SDK-Name": "candidhealth",
541
- "X-Fern-SDK-Version": "0.34.2",
541
+ "X-Fern-SDK-Version": "0.34.4",
542
542
  "X-Fern-Runtime": core.RUNTIME.type,
543
543
  "X-Fern-Runtime-Version": core.RUNTIME.version,
544
544
  },
@@ -589,7 +589,7 @@ class V1 {
589
589
  Authorization: yield this._getAuthorizationHeader(),
590
590
  "X-Fern-Language": "JavaScript",
591
591
  "X-Fern-SDK-Name": "candidhealth",
592
- "X-Fern-SDK-Version": "0.34.2",
592
+ "X-Fern-SDK-Version": "0.34.4",
593
593
  "X-Fern-Runtime": core.RUNTIME.type,
594
594
  "X-Fern-Runtime-Version": core.RUNTIME.version,
595
595
  },
@@ -91,7 +91,7 @@ class V1 {
91
91
  Authorization: yield this._getAuthorizationHeader(),
92
92
  "X-Fern-Language": "JavaScript",
93
93
  "X-Fern-SDK-Name": "candidhealth",
94
- "X-Fern-SDK-Version": "0.34.2",
94
+ "X-Fern-SDK-Version": "0.34.4",
95
95
  "X-Fern-Runtime": core.RUNTIME.type,
96
96
  "X-Fern-Runtime-Version": core.RUNTIME.version,
97
97
  },
@@ -176,7 +176,7 @@ class V1 {
176
176
  Authorization: yield this._getAuthorizationHeader(),
177
177
  "X-Fern-Language": "JavaScript",
178
178
  "X-Fern-SDK-Name": "candidhealth",
179
- "X-Fern-SDK-Version": "0.34.2",
179
+ "X-Fern-SDK-Version": "0.34.4",
180
180
  "X-Fern-Runtime": core.RUNTIME.type,
181
181
  "X-Fern-Runtime-Version": core.RUNTIME.version,
182
182
  },
@@ -361,7 +361,7 @@ class V1 {
361
361
  Authorization: yield this._getAuthorizationHeader(),
362
362
  "X-Fern-Language": "JavaScript",
363
363
  "X-Fern-SDK-Name": "candidhealth",
364
- "X-Fern-SDK-Version": "0.34.2",
364
+ "X-Fern-SDK-Version": "0.34.4",
365
365
  "X-Fern-Runtime": core.RUNTIME.type,
366
366
  "X-Fern-Runtime-Version": core.RUNTIME.version,
367
367
  },
@@ -450,7 +450,7 @@ class V1 {
450
450
  Authorization: yield this._getAuthorizationHeader(),
451
451
  "X-Fern-Language": "JavaScript",
452
452
  "X-Fern-SDK-Name": "candidhealth",
453
- "X-Fern-SDK-Version": "0.34.2",
453
+ "X-Fern-SDK-Version": "0.34.4",
454
454
  "X-Fern-Runtime": core.RUNTIME.type,
455
455
  "X-Fern-Runtime-Version": core.RUNTIME.version,
456
456
  },
@@ -498,7 +498,7 @@ class V1 {
498
498
  Authorization: yield this._getAuthorizationHeader(),
499
499
  "X-Fern-Language": "JavaScript",
500
500
  "X-Fern-SDK-Name": "candidhealth",
501
- "X-Fern-SDK-Version": "0.34.2",
501
+ "X-Fern-SDK-Version": "0.34.4",
502
502
  "X-Fern-Runtime": core.RUNTIME.type,
503
503
  "X-Fern-Runtime-Version": core.RUNTIME.version,
504
504
  },
@@ -559,7 +559,7 @@ class V1 {
559
559
  Authorization: yield this._getAuthorizationHeader(),
560
560
  "X-Fern-Language": "JavaScript",
561
561
  "X-Fern-SDK-Name": "candidhealth",
562
- "X-Fern-SDK-Version": "0.34.2",
562
+ "X-Fern-SDK-Version": "0.34.4",
563
563
  "X-Fern-Runtime": core.RUNTIME.type,
564
564
  "X-Fern-Runtime-Version": core.RUNTIME.version,
565
565
  },
@@ -907,7 +907,7 @@ class V1 {
907
907
  Authorization: yield this._getAuthorizationHeader(),
908
908
  "X-Fern-Language": "JavaScript",
909
909
  "X-Fern-SDK-Name": "candidhealth",
910
- "X-Fern-SDK-Version": "0.34.2",
910
+ "X-Fern-SDK-Version": "0.34.4",
911
911
  "X-Fern-Runtime": core.RUNTIME.type,
912
912
  "X-Fern-Runtime-Version": core.RUNTIME.version,
913
913
  },
@@ -973,7 +973,7 @@ class V1 {
973
973
  Authorization: yield this._getAuthorizationHeader(),
974
974
  "X-Fern-Language": "JavaScript",
975
975
  "X-Fern-SDK-Name": "candidhealth",
976
- "X-Fern-SDK-Version": "0.34.2",
976
+ "X-Fern-SDK-Version": "0.34.4",
977
977
  "X-Fern-Runtime": core.RUNTIME.type,
978
978
  "X-Fern-Runtime-Version": core.RUNTIME.version,
979
979
  },
@@ -1041,7 +1041,7 @@ class V1 {
1041
1041
  Authorization: yield this._getAuthorizationHeader(),
1042
1042
  "X-Fern-Language": "JavaScript",
1043
1043
  "X-Fern-SDK-Name": "candidhealth",
1044
- "X-Fern-SDK-Version": "0.34.2",
1044
+ "X-Fern-SDK-Version": "0.34.4",
1045
1045
  "X-Fern-Runtime": core.RUNTIME.type,
1046
1046
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1047
1047
  },
@@ -1094,7 +1094,7 @@ class V1 {
1094
1094
  Authorization: yield this._getAuthorizationHeader(),
1095
1095
  "X-Fern-Language": "JavaScript",
1096
1096
  "X-Fern-SDK-Name": "candidhealth",
1097
- "X-Fern-SDK-Version": "0.34.2",
1097
+ "X-Fern-SDK-Version": "0.34.4",
1098
1098
  "X-Fern-Runtime": core.RUNTIME.type,
1099
1099
  "X-Fern-Runtime-Version": core.RUNTIME.version,
1100
1100
  },
@@ -77,7 +77,7 @@ class ServiceFacility {
77
77
  Authorization: yield this._getAuthorizationHeader(),
78
78
  "X-Fern-Language": "JavaScript",
79
79
  "X-Fern-SDK-Name": "candidhealth",
80
- "X-Fern-SDK-Version": "0.34.2",
80
+ "X-Fern-SDK-Version": "0.34.4",
81
81
  "X-Fern-Runtime": core.RUNTIME.type,
82
82
  "X-Fern-Runtime-Version": core.RUNTIME.version,
83
83
  },
@@ -79,7 +79,11 @@ export declare class V2 {
79
79
  * quantity: CandidApi.Decimal("string"),
80
80
  * description: "string",
81
81
  * dateOfService: "2023-01-15",
82
- * endDateOfService: "2023-01-15"
82
+ * endDateOfService: "2023-01-15",
83
+ * testResult: {
84
+ * type: "hematocrit",
85
+ * value: 1.1
86
+ * }
83
87
  * })
84
88
  */
85
89
  update(serviceLineId: CandidApi.ServiceLineId, request: CandidApi.serviceLines.v2.ServiceLineUpdate, requestOptions?: V2.RequestOptions): Promise<core.APIResponse<CandidApi.serviceLines.v2.ServiceLine, CandidApi.serviceLines.v2.update.Error>>;
@@ -84,7 +84,7 @@ class V2 {
84
84
  Authorization: yield this._getAuthorizationHeader(),
85
85
  "X-Fern-Language": "JavaScript",
86
86
  "X-Fern-SDK-Name": "candidhealth",
87
- "X-Fern-SDK-Version": "0.34.2",
87
+ "X-Fern-SDK-Version": "0.34.4",
88
88
  "X-Fern-Runtime": core.RUNTIME.type,
89
89
  "X-Fern-Runtime-Version": core.RUNTIME.version,
90
90
  },
@@ -160,7 +160,11 @@ class V2 {
160
160
  * quantity: CandidApi.Decimal("string"),
161
161
  * description: "string",
162
162
  * dateOfService: "2023-01-15",
163
- * endDateOfService: "2023-01-15"
163
+ * endDateOfService: "2023-01-15",
164
+ * testResult: {
165
+ * type: "hematocrit",
166
+ * value: 1.1
167
+ * }
164
168
  * })
165
169
  */
166
170
  update(serviceLineId, request, requestOptions) {
@@ -174,7 +178,7 @@ class V2 {
174
178
  Authorization: yield this._getAuthorizationHeader(),
175
179
  "X-Fern-Language": "JavaScript",
176
180
  "X-Fern-SDK-Name": "candidhealth",
177
- "X-Fern-SDK-Version": "0.34.2",
181
+ "X-Fern-SDK-Version": "0.34.4",
178
182
  "X-Fern-Runtime": core.RUNTIME.type,
179
183
  "X-Fern-Runtime-Version": core.RUNTIME.version,
180
184
  },
@@ -238,7 +242,7 @@ class V2 {
238
242
  Authorization: yield this._getAuthorizationHeader(),
239
243
  "X-Fern-Language": "JavaScript",
240
244
  "X-Fern-SDK-Name": "candidhealth",
241
- "X-Fern-SDK-Version": "0.34.2",
245
+ "X-Fern-SDK-Version": "0.34.4",
242
246
  "X-Fern-Runtime": core.RUNTIME.type,
243
247
  "X-Fern-Runtime-Version": core.RUNTIME.version,
244
248
  },
@@ -65,7 +65,11 @@ import * as CandidApi from "../../../../../index";
65
65
  * endDate: CandidApi.Date_("2023-01-03")
66
66
  * },
67
67
  * dateOfService: "2023-01-01",
68
- * endDateOfService: "2023-01-03"
68
+ * endDateOfService: "2023-01-03",
69
+ * testResult: {
70
+ * type: "hemoglobin",
71
+ * value: 2.4
72
+ * }
69
73
  * }
70
74
  */
71
75
  export interface ServiceLine {
@@ -111,4 +115,6 @@ export interface ServiceLine {
111
115
  description?: string;
112
116
  dateOfService: string;
113
117
  endDateOfService?: string;
118
+ /** Contains a single test result value. Maps to MEA-02 on the 837-P. */
119
+ testResult?: CandidApi.serviceLines.v2.TestResult;
114
120
  }
@@ -31,4 +31,6 @@ export interface ServiceLineCreate {
31
31
  * If not required by this implementation guide, do not send.
32
32
  */
33
33
  orderingProvider?: CandidApi.encounterProviders.v2.OrderingProvider;
34
+ /** Contains a single test result value. Maps to MEA-02 on the 837-P. */
35
+ testResult?: CandidApi.serviceLines.v2.TestResult;
34
36
  }
@@ -26,4 +26,6 @@ export interface ServiceLineUpdate {
26
26
  /** date_of_service must be defined on either the encounter or the service lines but not both. */
27
27
  dateOfService?: string;
28
28
  endDateOfService?: string;
29
+ /** Contains a single test result value. Maps to MEA-02 on the 837-P. */
30
+ testResult?: CandidApi.serviceLines.v2.TestResult;
29
31
  }
@@ -0,0 +1,15 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CandidApi from "../../../../../index";
5
+ export declare type TestResult = CandidApi.serviceLines.v2.TestResult.Hematocrit | CandidApi.serviceLines.v2.TestResult.Hemoglobin;
6
+ export declare namespace TestResult {
7
+ interface Hematocrit {
8
+ type: "hematocrit";
9
+ value: number;
10
+ }
11
+ interface Hemoglobin {
12
+ type: "hemoglobin";
13
+ value: number;
14
+ }
15
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -7,5 +7,6 @@ export * from "./ServiceLineAdjustment";
7
7
  export * from "./ServiceLineDenialReason";
8
8
  export * from "./DenialReasonContent";
9
9
  export * from "./DrugIdentification";
10
+ export * from "./TestResult";
10
11
  export * from "./ServiceIdQualifier";
11
12
  export * from "./MeasurementUnitCode";
@@ -23,5 +23,6 @@ __exportStar(require("./ServiceLineAdjustment"), exports);
23
23
  __exportStar(require("./ServiceLineDenialReason"), exports);
24
24
  __exportStar(require("./DenialReasonContent"), exports);
25
25
  __exportStar(require("./DrugIdentification"), exports);
26
+ __exportStar(require("./TestResult"), exports);
26
27
  __exportStar(require("./ServiceIdQualifier"), exports);
27
28
  __exportStar(require("./MeasurementUnitCode"), exports);
@@ -66,7 +66,7 @@ class V3 {
66
66
  Authorization: yield this._getAuthorizationHeader(),
67
67
  "X-Fern-Language": "JavaScript",
68
68
  "X-Fern-SDK-Name": "candidhealth",
69
- "X-Fern-SDK-Version": "0.34.2",
69
+ "X-Fern-SDK-Version": "0.34.4",
70
70
  "X-Fern-Runtime": core.RUNTIME.type,
71
71
  "X-Fern-Runtime-Version": core.RUNTIME.version,
72
72
  },
@@ -166,7 +166,7 @@ class V3 {
166
166
  Authorization: yield this._getAuthorizationHeader(),
167
167
  "X-Fern-Language": "JavaScript",
168
168
  "X-Fern-SDK-Name": "candidhealth",
169
- "X-Fern-SDK-Version": "0.34.2",
169
+ "X-Fern-SDK-Version": "0.34.4",
170
170
  "X-Fern-Runtime": core.RUNTIME.type,
171
171
  "X-Fern-Runtime-Version": core.RUNTIME.version,
172
172
  },
@@ -226,7 +226,7 @@ class V3 {
226
226
  Authorization: yield this._getAuthorizationHeader(),
227
227
  "X-Fern-Language": "JavaScript",
228
228
  "X-Fern-SDK-Name": "candidhealth",
229
- "X-Fern-SDK-Version": "0.34.2",
229
+ "X-Fern-SDK-Version": "0.34.4",
230
230
  "X-Fern-Runtime": core.RUNTIME.type,
231
231
  "X-Fern-Runtime-Version": core.RUNTIME.version,
232
232
  },
@@ -294,7 +294,7 @@ class V3 {
294
294
  Authorization: yield this._getAuthorizationHeader(),
295
295
  "X-Fern-Language": "JavaScript",
296
296
  "X-Fern-SDK-Name": "candidhealth",
297
- "X-Fern-SDK-Version": "0.34.2",
297
+ "X-Fern-SDK-Version": "0.34.4",
298
298
  "X-Fern-Runtime": core.RUNTIME.type,
299
299
  "X-Fern-Runtime-Version": core.RUNTIME.version,
300
300
  },
@@ -345,7 +345,7 @@ class V3 {
345
345
  Authorization: yield this._getAuthorizationHeader(),
346
346
  "X-Fern-Language": "JavaScript",
347
347
  "X-Fern-SDK-Name": "candidhealth",
348
- "X-Fern-SDK-Version": "0.34.2",
348
+ "X-Fern-SDK-Version": "0.34.4",
349
349
  "X-Fern-Runtime": core.RUNTIME.type,
350
350
  "X-Fern-Runtime-Version": core.RUNTIME.version,
351
351
  },
@@ -116,7 +116,7 @@ class V1 {
116
116
  Authorization: yield this._getAuthorizationHeader(),
117
117
  "X-Fern-Language": "JavaScript",
118
118
  "X-Fern-SDK-Name": "candidhealth",
119
- "X-Fern-SDK-Version": "0.34.2",
119
+ "X-Fern-SDK-Version": "0.34.4",
120
120
  "X-Fern-Runtime": core.RUNTIME.type,
121
121
  "X-Fern-Runtime-Version": core.RUNTIME.version,
122
122
  },
@@ -164,7 +164,7 @@ class V1 {
164
164
  Authorization: yield this._getAuthorizationHeader(),
165
165
  "X-Fern-Language": "JavaScript",
166
166
  "X-Fern-SDK-Name": "candidhealth",
167
- "X-Fern-SDK-Version": "0.34.2",
167
+ "X-Fern-SDK-Version": "0.34.4",
168
168
  "X-Fern-Runtime": core.RUNTIME.type,
169
169
  "X-Fern-Runtime-Version": core.RUNTIME.version,
170
170
  },
@@ -221,7 +221,7 @@ class V1 {
221
221
  Authorization: yield this._getAuthorizationHeader(),
222
222
  "X-Fern-Language": "JavaScript",
223
223
  "X-Fern-SDK-Name": "candidhealth",
224
- "X-Fern-SDK-Version": "0.34.2",
224
+ "X-Fern-SDK-Version": "0.34.4",
225
225
  "X-Fern-Runtime": core.RUNTIME.type,
226
226
  "X-Fern-Runtime-Version": core.RUNTIME.version,
227
227
  },
@@ -271,7 +271,7 @@ class V1 {
271
271
  Authorization: yield this._getAuthorizationHeader(),
272
272
  "X-Fern-Language": "JavaScript",
273
273
  "X-Fern-SDK-Name": "candidhealth",
274
- "X-Fern-SDK-Version": "0.34.2",
274
+ "X-Fern-SDK-Version": "0.34.4",
275
275
  "X-Fern-Runtime": core.RUNTIME.type,
276
276
  "X-Fern-Runtime-Version": core.RUNTIME.version,
277
277
  },
@@ -25,7 +25,7 @@ export declare const EncounterCreateFromPreEncounter: core.serialization.Schema<
25
25
  export declare namespace EncounterCreateFromPreEncounter {
26
26
  interface Raw extends EncounterBase.Raw {
27
27
  pre_encounter_patient_id: PreEncounterPatientId.Raw;
28
- pre_encounter_appointment_id: PreEncounterAppointmentId.Raw;
28
+ pre_encounter_appointment_ids: PreEncounterAppointmentId.Raw[];
29
29
  billing_provider: BillingProvider.Raw;
30
30
  rendering_provider: RenderingProvider.Raw;
31
31
  initial_referring_provider?: InitialReferringProvider.Raw | null;
@@ -48,7 +48,7 @@ const EncounterBase_1 = require("../../types/EncounterBase");
48
48
  exports.EncounterCreateFromPreEncounter = core.serialization
49
49
  .object({
50
50
  preEncounterPatientId: core.serialization.property("pre_encounter_patient_id", PreEncounterPatientId_1.PreEncounterPatientId),
51
- preEncounterAppointmentId: core.serialization.property("pre_encounter_appointment_id", PreEncounterAppointmentId_1.PreEncounterAppointmentId),
51
+ preEncounterAppointmentIds: core.serialization.property("pre_encounter_appointment_ids", core.serialization.list(PreEncounterAppointmentId_1.PreEncounterAppointmentId)),
52
52
  billingProvider: core.serialization.property("billing_provider", BillingProvider_1.BillingProvider),
53
53
  renderingProvider: core.serialization.property("rendering_provider", RenderingProvider_1.RenderingProvider),
54
54
  initialReferringProvider: core.serialization.property("initial_referring_provider", InitialReferringProvider_1.InitialReferringProvider.optional()),
@@ -2,4 +2,5 @@ export * as create from "./create";
2
2
  export * as get from "./get";
3
3
  export * as getHistory from "./getHistory";
4
4
  export * as update from "./update";
5
+ export * as scan from "./scan";
5
6
  export * as deactivate from "./deactivate";
@@ -23,9 +23,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.deactivate = exports.update = exports.getHistory = exports.get = exports.create = void 0;
26
+ exports.deactivate = exports.scan = exports.update = exports.getHistory = exports.get = exports.create = void 0;
27
27
  exports.create = __importStar(require("./create"));
28
28
  exports.get = __importStar(require("./get"));
29
29
  exports.getHistory = __importStar(require("./getHistory"));
30
30
  exports.update = __importStar(require("./update"));
31
+ exports.scan = __importStar(require("./scan"));
31
32
  exports.deactivate = __importStar(require("./deactivate"));
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../../../index";
5
+ import * as CandidApi from "../../../../../../../../api/index";
6
+ import * as core from "../../../../../../../../core";
7
+ import { Appointment } from "../types/Appointment";
8
+ export declare const Response: core.serialization.Schema<serializers.preEncounter.appointments.v1.scan.Response.Raw, CandidApi.preEncounter.appointments.v1.Appointment[]>;
9
+ export declare namespace Response {
10
+ type Raw = Appointment.Raw[];
11
+ }
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.Response = void 0;
30
+ const core = __importStar(require("../../../../../../../../core"));
31
+ const Appointment_1 = require("../types/Appointment");
32
+ exports.Response = core.serialization.list(Appointment_1.Appointment);
@@ -19,6 +19,7 @@ import { Decimal } from "../../../../commons/types/Decimal";
19
19
  import { ServiceLineUnits } from "../../../../commons/types/ServiceLineUnits";
20
20
  import { ClaimId } from "../../../../commons/types/ClaimId";
21
21
  import { DateRangeOptionalEnd } from "../../../../commons/types/DateRangeOptionalEnd";
22
+ import { TestResult } from "./TestResult";
22
23
  export declare const ServiceLine: core.serialization.ObjectSchema<serializers.serviceLines.v2.ServiceLine.Raw, CandidApi.serviceLines.v2.ServiceLine>;
23
24
  export declare namespace ServiceLine {
24
25
  interface Raw {
@@ -54,5 +55,6 @@ export declare namespace ServiceLine {
54
55
  description?: string | null;
55
56
  date_of_service: string;
56
57
  end_date_of_service?: string | null;
58
+ test_result?: TestResult.Raw | null;
57
59
  }
58
60
  }
@@ -43,6 +43,7 @@ const Decimal_1 = require("../../../../commons/types/Decimal");
43
43
  const ServiceLineUnits_1 = require("../../../../commons/types/ServiceLineUnits");
44
44
  const ClaimId_1 = require("../../../../commons/types/ClaimId");
45
45
  const DateRangeOptionalEnd_1 = require("../../../../commons/types/DateRangeOptionalEnd");
46
+ const TestResult_1 = require("./TestResult");
46
47
  exports.ServiceLine = core.serialization.object({
47
48
  modifiers: core.serialization.list(ProcedureModifier_1.ProcedureModifier).optional(),
48
49
  chargeAmountCents: core.serialization.property("charge_amount_cents", core.serialization.number().optional()),
@@ -76,4 +77,5 @@ exports.ServiceLine = core.serialization.object({
76
77
  description: core.serialization.string().optional(),
77
78
  dateOfService: core.serialization.property("date_of_service", core.serialization.string()),
78
79
  endDateOfService: core.serialization.property("end_date_of_service", core.serialization.string().optional()),
80
+ testResult: core.serialization.property("test_result", TestResult_1.TestResult.optional()),
79
81
  });
@@ -10,6 +10,7 @@ import { ServiceLineUnits } from "../../../../commons/types/ServiceLineUnits";
10
10
  import { DrugIdentification } from "./DrugIdentification";
11
11
  import { FacilityTypeCode } from "../../../../commons/types/FacilityTypeCode";
12
12
  import { OrderingProvider } from "../../../../encounterProviders/resources/v2/types/OrderingProvider";
13
+ import { TestResult } from "./TestResult";
13
14
  export declare const ServiceLineCreate: core.serialization.ObjectSchema<serializers.serviceLines.v2.ServiceLineCreate.Raw, CandidApi.serviceLines.v2.ServiceLineCreate>;
14
15
  export declare namespace ServiceLineCreate {
15
16
  interface Raw {
@@ -25,5 +26,6 @@ export declare namespace ServiceLineCreate {
25
26
  date_of_service?: string | null;
26
27
  end_date_of_service?: string | null;
27
28
  ordering_provider?: OrderingProvider.Raw | null;
29
+ test_result?: TestResult.Raw | null;
28
30
  }
29
31
  }
@@ -34,6 +34,7 @@ const ServiceLineUnits_1 = require("../../../../commons/types/ServiceLineUnits")
34
34
  const DrugIdentification_1 = require("./DrugIdentification");
35
35
  const FacilityTypeCode_1 = require("../../../../commons/types/FacilityTypeCode");
36
36
  const OrderingProvider_1 = require("../../../../encounterProviders/resources/v2/types/OrderingProvider");
37
+ const TestResult_1 = require("./TestResult");
37
38
  exports.ServiceLineCreate = core.serialization.object({
38
39
  modifiers: core.serialization.list(ProcedureModifier_1.ProcedureModifier).optional(),
39
40
  procedureCode: core.serialization.property("procedure_code", core.serialization.string()),
@@ -47,4 +48,5 @@ exports.ServiceLineCreate = core.serialization.object({
47
48
  dateOfService: core.serialization.property("date_of_service", core.serialization.string().optional()),
48
49
  endDateOfService: core.serialization.property("end_date_of_service", core.serialization.string().optional()),
49
50
  orderingProvider: core.serialization.property("ordering_provider", OrderingProvider_1.OrderingProvider.optional()),
51
+ testResult: core.serialization.property("test_result", TestResult_1.TestResult.optional()),
50
52
  });
@@ -11,6 +11,7 @@ import { ServiceLineDenialReason } from "./ServiceLineDenialReason";
11
11
  import { FacilityTypeCode } from "../../../../commons/types/FacilityTypeCode";
12
12
  import { ServiceLineUnits } from "../../../../commons/types/ServiceLineUnits";
13
13
  import { Decimal } from "../../../../commons/types/Decimal";
14
+ import { TestResult } from "./TestResult";
14
15
  export declare const ServiceLineUpdate: core.serialization.ObjectSchema<serializers.serviceLines.v2.ServiceLineUpdate.Raw, CandidApi.serviceLines.v2.ServiceLineUpdate>;
15
16
  export declare namespace ServiceLineUpdate {
16
17
  interface Raw {
@@ -30,5 +31,6 @@ export declare namespace ServiceLineUpdate {
30
31
  description?: string | null;
31
32
  date_of_service?: string | null;
32
33
  end_date_of_service?: string | null;
34
+ test_result?: TestResult.Raw | null;
33
35
  }
34
36
  }
@@ -35,6 +35,7 @@ const ServiceLineDenialReason_1 = require("./ServiceLineDenialReason");
35
35
  const FacilityTypeCode_1 = require("../../../../commons/types/FacilityTypeCode");
36
36
  const ServiceLineUnits_1 = require("../../../../commons/types/ServiceLineUnits");
37
37
  const Decimal_1 = require("../../../../commons/types/Decimal");
38
+ const TestResult_1 = require("./TestResult");
38
39
  exports.ServiceLineUpdate = core.serialization.object({
39
40
  editReason: core.serialization.property("edit_reason", core.serialization.string().optional()),
40
41
  modifiers: core.serialization.list(ProcedureModifier_1.ProcedureModifier).optional(),
@@ -52,4 +53,5 @@ exports.ServiceLineUpdate = core.serialization.object({
52
53
  description: core.serialization.string().optional(),
53
54
  dateOfService: core.serialization.property("date_of_service", core.serialization.string().optional()),
54
55
  endDateOfService: core.serialization.property("end_date_of_service", core.serialization.string().optional()),
56
+ testResult: core.serialization.property("test_result", TestResult_1.TestResult.optional()),
55
57
  });
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../../index";
5
+ import * as CandidApi from "../../../../../../api/index";
6
+ import * as core from "../../../../../../core";
7
+ export declare const TestResult: core.serialization.Schema<serializers.serviceLines.v2.TestResult.Raw, CandidApi.serviceLines.v2.TestResult>;
8
+ export declare namespace TestResult {
9
+ type Raw = TestResult.Hematocrit | TestResult.Hemoglobin;
10
+ interface Hematocrit {
11
+ type: "hematocrit";
12
+ value: number;
13
+ }
14
+ interface Hemoglobin {
15
+ type: "hemoglobin";
16
+ value: number;
17
+ }
18
+ }
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.TestResult = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.TestResult = core.serialization
32
+ .union("type", {
33
+ hematocrit: core.serialization.object({
34
+ value: core.serialization.number(),
35
+ }),
36
+ hemoglobin: core.serialization.object({
37
+ value: core.serialization.number(),
38
+ }),
39
+ })
40
+ .transform({
41
+ transform: (value) => value,
42
+ untransform: (value) => value,
43
+ });