candidhealth 0.4.4 → 0.4.7

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 (221) hide show
  1. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  2. package/api/resources/billingNotes/client/Client.js +1 -1
  3. package/api/resources/claims/types/Claim.d.ts +1 -1
  4. package/api/resources/commons/types/index.d.ts +1 -0
  5. package/api/resources/commons/types/index.js +1 -0
  6. package/api/resources/encounters/resources/v4/client/Client.js +12 -9
  7. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
  8. package/api/resources/encounters/resources/v4/client/requests/GetAllEncountersRequest.d.ts +1 -0
  9. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +3 -0
  10. package/api/resources/encounters/resources/v4/types/EncounterOwnerOfNextActionType.d.ts +10 -0
  11. package/api/resources/encounters/resources/v4/types/EncounterOwnerOfNextActionType.js +12 -0
  12. package/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
  13. package/api/resources/encounters/resources/v4/types/index.js +1 -0
  14. package/api/resources/expectedNetworkStatus/client/Client.js +1 -1
  15. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  16. package/api/resources/index.d.ts +1 -3
  17. package/api/resources/index.js +2 -4
  18. package/api/resources/payers/client/Client.js +2 -2
  19. package/api/resources/serviceLines/index.d.ts +1 -1
  20. package/api/resources/serviceLines/index.js +1 -1
  21. package/api/resources/serviceLines/resources/index.d.ts +1 -0
  22. package/api/resources/serviceLines/resources/index.js +27 -0
  23. package/api/resources/serviceLines/resources/v2/index.d.ts +1 -0
  24. package/{dist/serialization/resources/tasks/types → api/resources/serviceLines/resources/v2}/index.js +1 -1
  25. package/{dist/api/resources/serviceLines → api/resources/serviceLines/resources/v2}/types/DrugIdentification.d.ts +3 -3
  26. package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +39 -0
  27. package/api/resources/serviceLines/{types → resources/v2/types}/ServiceLineCreate.d.ts +4 -3
  28. package/{dist/api/resources/serviceLines → api/resources/serviceLines/resources/v2}/types/ServiceLineDenialReason.d.ts +2 -2
  29. package/{dist/api/resources/serviceLines → api/resources/serviceLines/resources/v2}/types/ServiceLineEraData.d.ts +2 -2
  30. package/api/resources/serviceLines/{types → resources/v2/types}/index.d.ts +0 -2
  31. package/{dist/api/resources/serviceLines → api/resources/serviceLines/resources/v2}/types/index.js +0 -2
  32. package/api/resources/tasks/index.d.ts +0 -1
  33. package/api/resources/tasks/index.js +0 -1
  34. package/api/resources/tasks/resources/v3/client/Client.js +1 -1
  35. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  36. package/dist/api/resources/billingNotes/client/Client.js +1 -1
  37. package/dist/api/resources/claims/types/Claim.d.ts +1 -1
  38. package/dist/api/resources/commons/types/index.d.ts +1 -0
  39. package/dist/api/resources/commons/types/index.js +1 -0
  40. package/dist/api/resources/encounters/resources/v4/client/Client.js +12 -9
  41. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
  42. package/dist/api/resources/encounters/resources/v4/client/requests/GetAllEncountersRequest.d.ts +1 -0
  43. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +3 -0
  44. package/dist/api/resources/encounters/resources/v4/types/EncounterOwnerOfNextActionType.d.ts +10 -0
  45. package/dist/api/resources/encounters/resources/v4/types/EncounterOwnerOfNextActionType.js +12 -0
  46. package/dist/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
  47. package/dist/api/resources/encounters/resources/v4/types/index.js +1 -0
  48. package/dist/api/resources/expectedNetworkStatus/client/Client.js +1 -1
  49. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  50. package/dist/api/resources/index.d.ts +1 -3
  51. package/dist/api/resources/index.js +2 -4
  52. package/dist/api/resources/payers/client/Client.js +2 -2
  53. package/dist/api/resources/serviceLines/index.d.ts +1 -1
  54. package/dist/api/resources/serviceLines/index.js +1 -1
  55. package/dist/api/resources/serviceLines/resources/index.d.ts +1 -0
  56. package/dist/api/resources/serviceLines/resources/index.js +27 -0
  57. package/dist/api/resources/serviceLines/resources/v2/index.d.ts +1 -0
  58. package/{serialization/resources/tasks/types → dist/api/resources/serviceLines/resources/v2}/index.js +1 -1
  59. package/{api/resources/serviceLines → dist/api/resources/serviceLines/resources/v2}/types/DrugIdentification.d.ts +3 -3
  60. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +39 -0
  61. package/dist/api/resources/serviceLines/{types → resources/v2/types}/ServiceLineCreate.d.ts +4 -3
  62. package/{api/resources/serviceLines → dist/api/resources/serviceLines/resources/v2}/types/ServiceLineDenialReason.d.ts +2 -2
  63. package/{api/resources/serviceLines → dist/api/resources/serviceLines/resources/v2}/types/ServiceLineEraData.d.ts +2 -2
  64. package/dist/{serialization/resources/serviceLines → api/resources/serviceLines/resources/v2}/types/index.d.ts +0 -2
  65. package/dist/{serialization/resources/serviceLines → api/resources/serviceLines/resources/v2}/types/index.js +0 -2
  66. package/dist/api/resources/tasks/index.d.ts +0 -1
  67. package/dist/api/resources/tasks/index.js +0 -1
  68. package/dist/api/resources/tasks/resources/v3/client/Client.js +1 -1
  69. package/dist/serialization/resources/claims/types/Claim.d.ts +1 -1
  70. package/dist/serialization/resources/claims/types/Claim.js +1 -1
  71. package/dist/serialization/resources/commons/types/index.d.ts +1 -0
  72. package/dist/serialization/resources/commons/types/index.js +1 -0
  73. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
  74. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -1
  75. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
  76. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
  77. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOwnerOfNextActionType.d.ts +10 -0
  78. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOwnerOfNextActionType.js +31 -0
  79. package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
  80. package/dist/serialization/resources/encounters/resources/v4/types/index.js +1 -0
  81. package/dist/serialization/resources/index.d.ts +1 -3
  82. package/dist/serialization/resources/index.js +2 -4
  83. package/dist/serialization/resources/serviceLines/index.d.ts +1 -1
  84. package/dist/serialization/resources/serviceLines/index.js +1 -1
  85. package/dist/serialization/resources/serviceLines/resources/index.d.ts +1 -0
  86. package/dist/serialization/resources/serviceLines/resources/index.js +27 -0
  87. package/dist/serialization/resources/serviceLines/resources/v2/index.d.ts +1 -0
  88. package/{api/resources/tasks/types → dist/serialization/resources/serviceLines/resources/v2}/index.js +1 -1
  89. package/dist/serialization/resources/serviceLines/{types → resources/v2/types}/DenialReasonContent.d.ts +4 -4
  90. package/dist/serialization/resources/serviceLines/{types → resources/v2/types}/DenialReasonContent.js +1 -1
  91. package/dist/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +17 -0
  92. package/{serialization/resources/serviceLines → dist/serialization/resources/serviceLines/resources/v2}/types/DrugIdentification.js +3 -3
  93. package/dist/serialization/resources/serviceLines/resources/v2/types/MeasurementUnitCode.d.ts +10 -0
  94. package/{serialization/resources/serviceLines → dist/serialization/resources/serviceLines/resources/v2}/types/MeasurementUnitCode.js +1 -1
  95. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceIdQualifier.d.ts +10 -0
  96. package/{serialization/resources/serviceLines → dist/serialization/resources/serviceLines/resources/v2}/types/ServiceIdQualifier.js +1 -1
  97. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +33 -0
  98. package/{serialization/resources/serviceLines/types/ServiceLineBaseWithOptionals.js → dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js} +26 -15
  99. package/{serialization/resources/serviceLines → dist/serialization/resources/serviceLines/resources/v2}/types/ServiceLineAdjustment.d.ts +4 -4
  100. package/{serialization/resources/serviceLines → dist/serialization/resources/serviceLines/resources/v2}/types/ServiceLineAdjustment.js +1 -1
  101. package/{serialization/resources/serviceLines → dist/serialization/resources/serviceLines/resources/v2}/types/ServiceLineCreate.d.ts +7 -6
  102. package/dist/serialization/resources/serviceLines/{types → resources/v2/types}/ServiceLineCreate.js +12 -9
  103. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineDenialReason.d.ts +12 -0
  104. package/dist/serialization/resources/serviceLines/{types → resources/v2/types}/ServiceLineDenialReason.js +4 -2
  105. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineEraData.d.ts +13 -0
  106. package/{serialization/resources/serviceLines → dist/serialization/resources/serviceLines/resources/v2}/types/ServiceLineEraData.js +2 -2
  107. package/dist/{api/resources/serviceLines → serialization/resources/serviceLines/resources/v2}/types/index.d.ts +0 -2
  108. package/{api/resources/serviceLines → dist/serialization/resources/serviceLines/resources/v2}/types/index.js +0 -2
  109. package/dist/serialization/resources/tasks/index.d.ts +0 -1
  110. package/dist/serialization/resources/tasks/index.js +0 -1
  111. package/package.json +1 -1
  112. package/serialization/resources/claims/types/Claim.d.ts +1 -1
  113. package/serialization/resources/claims/types/Claim.js +1 -1
  114. package/serialization/resources/commons/types/index.d.ts +1 -0
  115. package/serialization/resources/commons/types/index.js +1 -0
  116. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
  117. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -1
  118. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
  119. package/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
  120. package/serialization/resources/encounters/resources/v4/types/EncounterOwnerOfNextActionType.d.ts +10 -0
  121. package/serialization/resources/encounters/resources/v4/types/EncounterOwnerOfNextActionType.js +31 -0
  122. package/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
  123. package/serialization/resources/encounters/resources/v4/types/index.js +1 -0
  124. package/serialization/resources/index.d.ts +1 -3
  125. package/serialization/resources/index.js +2 -4
  126. package/serialization/resources/serviceLines/index.d.ts +1 -1
  127. package/serialization/resources/serviceLines/index.js +1 -1
  128. package/serialization/resources/serviceLines/resources/index.d.ts +1 -0
  129. package/serialization/resources/serviceLines/resources/index.js +27 -0
  130. package/serialization/resources/serviceLines/resources/v2/index.d.ts +1 -0
  131. package/{dist/api/resources/tasks/types → serialization/resources/serviceLines/resources/v2}/index.js +1 -1
  132. package/serialization/resources/serviceLines/{types → resources/v2/types}/DenialReasonContent.d.ts +4 -4
  133. package/serialization/resources/serviceLines/{types → resources/v2/types}/DenialReasonContent.js +1 -1
  134. package/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +17 -0
  135. package/{dist/serialization/resources/serviceLines → serialization/resources/serviceLines/resources/v2}/types/DrugIdentification.js +3 -3
  136. package/serialization/resources/serviceLines/resources/v2/types/MeasurementUnitCode.d.ts +10 -0
  137. package/{dist/serialization/resources/serviceLines → serialization/resources/serviceLines/resources/v2}/types/MeasurementUnitCode.js +1 -1
  138. package/serialization/resources/serviceLines/resources/v2/types/ServiceIdQualifier.d.ts +10 -0
  139. package/{dist/serialization/resources/serviceLines → serialization/resources/serviceLines/resources/v2}/types/ServiceIdQualifier.js +1 -1
  140. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +33 -0
  141. package/{dist/serialization/resources/serviceLines/types/ServiceLineBaseWithOptionals.js → serialization/resources/serviceLines/resources/v2/types/ServiceLine.js} +26 -15
  142. package/{dist/serialization/resources/serviceLines → serialization/resources/serviceLines/resources/v2}/types/ServiceLineAdjustment.d.ts +4 -4
  143. package/{dist/serialization/resources/serviceLines → serialization/resources/serviceLines/resources/v2}/types/ServiceLineAdjustment.js +1 -1
  144. package/{dist/serialization/resources/serviceLines → serialization/resources/serviceLines/resources/v2}/types/ServiceLineCreate.d.ts +7 -6
  145. package/serialization/resources/serviceLines/{types → resources/v2/types}/ServiceLineCreate.js +12 -9
  146. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineDenialReason.d.ts +12 -0
  147. package/serialization/resources/serviceLines/{types → resources/v2/types}/ServiceLineDenialReason.js +4 -2
  148. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineEraData.d.ts +13 -0
  149. package/{dist/serialization/resources/serviceLines → serialization/resources/serviceLines/resources/v2}/types/ServiceLineEraData.js +2 -2
  150. package/serialization/resources/serviceLines/{types → resources/v2/types}/index.d.ts +0 -2
  151. package/serialization/resources/serviceLines/{types → resources/v2/types}/index.js +0 -2
  152. package/serialization/resources/tasks/index.d.ts +0 -1
  153. package/serialization/resources/tasks/index.js +0 -1
  154. package/api/resources/serviceLines/types/ServiceLine.d.ts +0 -23
  155. package/api/resources/serviceLines/types/ServiceLineBase.d.ts +0 -7
  156. package/api/resources/serviceLines/types/ServiceLineBase.js +0 -5
  157. package/api/resources/serviceLines/types/ServiceLineBaseWithOptionals.d.ts +0 -21
  158. package/api/resources/serviceLines/types/ServiceLineBaseWithOptionals.js +0 -5
  159. package/api/resources/tasks/types/index.d.ts +0 -1
  160. package/dist/api/resources/serviceLines/types/ServiceLine.d.ts +0 -23
  161. package/dist/api/resources/serviceLines/types/ServiceLineBase.d.ts +0 -7
  162. package/dist/api/resources/serviceLines/types/ServiceLineBase.js +0 -5
  163. package/dist/api/resources/serviceLines/types/ServiceLineBaseWithOptionals.d.ts +0 -21
  164. package/dist/api/resources/serviceLines/types/ServiceLineBaseWithOptionals.js +0 -5
  165. package/dist/api/resources/tasks/types/index.d.ts +0 -1
  166. package/dist/serialization/resources/serviceLines/types/DrugIdentification.d.ts +0 -17
  167. package/dist/serialization/resources/serviceLines/types/MeasurementUnitCode.d.ts +0 -10
  168. package/dist/serialization/resources/serviceLines/types/ServiceIdQualifier.d.ts +0 -10
  169. package/dist/serialization/resources/serviceLines/types/ServiceLine.d.ts +0 -17
  170. package/dist/serialization/resources/serviceLines/types/ServiceLine.js +0 -40
  171. package/dist/serialization/resources/serviceLines/types/ServiceLineBase.d.ts +0 -12
  172. package/dist/serialization/resources/serviceLines/types/ServiceLineBase.js +0 -35
  173. package/dist/serialization/resources/serviceLines/types/ServiceLineBaseWithOptionals.d.ts +0 -26
  174. package/dist/serialization/resources/serviceLines/types/ServiceLineDenialReason.d.ts +0 -12
  175. package/dist/serialization/resources/serviceLines/types/ServiceLineEraData.d.ts +0 -13
  176. package/dist/serialization/resources/tasks/types/index.d.ts +0 -1
  177. package/serialization/resources/serviceLines/types/DrugIdentification.d.ts +0 -17
  178. package/serialization/resources/serviceLines/types/MeasurementUnitCode.d.ts +0 -10
  179. package/serialization/resources/serviceLines/types/ServiceIdQualifier.d.ts +0 -10
  180. package/serialization/resources/serviceLines/types/ServiceLine.d.ts +0 -17
  181. package/serialization/resources/serviceLines/types/ServiceLine.js +0 -40
  182. package/serialization/resources/serviceLines/types/ServiceLineBase.d.ts +0 -12
  183. package/serialization/resources/serviceLines/types/ServiceLineBase.js +0 -35
  184. package/serialization/resources/serviceLines/types/ServiceLineBaseWithOptionals.d.ts +0 -26
  185. package/serialization/resources/serviceLines/types/ServiceLineDenialReason.d.ts +0 -12
  186. package/serialization/resources/serviceLines/types/ServiceLineEraData.d.ts +0 -13
  187. package/serialization/resources/tasks/types/index.d.ts +0 -1
  188. /package/api/resources/{tasks → commons}/types/TaskId.d.ts +0 -0
  189. /package/api/resources/{tasks → commons}/types/TaskId.js +0 -0
  190. /package/api/resources/serviceLines/{types → resources/v2/types}/DenialReasonContent.d.ts +0 -0
  191. /package/api/resources/serviceLines/{types → resources/v2/types}/DenialReasonContent.js +0 -0
  192. /package/api/resources/serviceLines/{types → resources/v2/types}/DrugIdentification.js +0 -0
  193. /package/api/resources/serviceLines/{types → resources/v2/types}/MeasurementUnitCode.d.ts +0 -0
  194. /package/api/resources/serviceLines/{types → resources/v2/types}/MeasurementUnitCode.js +0 -0
  195. /package/api/resources/serviceLines/{types → resources/v2/types}/ServiceIdQualifier.d.ts +0 -0
  196. /package/api/resources/serviceLines/{types → resources/v2/types}/ServiceIdQualifier.js +0 -0
  197. /package/api/resources/serviceLines/{types → resources/v2/types}/ServiceLine.js +0 -0
  198. /package/api/resources/serviceLines/{types → resources/v2/types}/ServiceLineAdjustment.d.ts +0 -0
  199. /package/api/resources/serviceLines/{types → resources/v2/types}/ServiceLineAdjustment.js +0 -0
  200. /package/api/resources/serviceLines/{types → resources/v2/types}/ServiceLineCreate.js +0 -0
  201. /package/api/resources/serviceLines/{types → resources/v2/types}/ServiceLineDenialReason.js +0 -0
  202. /package/api/resources/serviceLines/{types → resources/v2/types}/ServiceLineEraData.js +0 -0
  203. /package/dist/api/resources/{tasks → commons}/types/TaskId.d.ts +0 -0
  204. /package/dist/api/resources/{tasks → commons}/types/TaskId.js +0 -0
  205. /package/dist/api/resources/serviceLines/{types → resources/v2/types}/DenialReasonContent.d.ts +0 -0
  206. /package/dist/api/resources/serviceLines/{types → resources/v2/types}/DenialReasonContent.js +0 -0
  207. /package/dist/api/resources/serviceLines/{types → resources/v2/types}/DrugIdentification.js +0 -0
  208. /package/dist/api/resources/serviceLines/{types → resources/v2/types}/MeasurementUnitCode.d.ts +0 -0
  209. /package/dist/api/resources/serviceLines/{types → resources/v2/types}/MeasurementUnitCode.js +0 -0
  210. /package/dist/api/resources/serviceLines/{types → resources/v2/types}/ServiceIdQualifier.d.ts +0 -0
  211. /package/dist/api/resources/serviceLines/{types → resources/v2/types}/ServiceIdQualifier.js +0 -0
  212. /package/dist/api/resources/serviceLines/{types → resources/v2/types}/ServiceLine.js +0 -0
  213. /package/dist/api/resources/serviceLines/{types → resources/v2/types}/ServiceLineAdjustment.d.ts +0 -0
  214. /package/dist/api/resources/serviceLines/{types → resources/v2/types}/ServiceLineAdjustment.js +0 -0
  215. /package/dist/api/resources/serviceLines/{types → resources/v2/types}/ServiceLineCreate.js +0 -0
  216. /package/dist/api/resources/serviceLines/{types → resources/v2/types}/ServiceLineDenialReason.js +0 -0
  217. /package/dist/api/resources/serviceLines/{types → resources/v2/types}/ServiceLineEraData.js +0 -0
  218. /package/dist/serialization/resources/{tasks → commons}/types/TaskId.d.ts +0 -0
  219. /package/dist/serialization/resources/{tasks → commons}/types/TaskId.js +0 -0
  220. /package/serialization/resources/{tasks → commons}/types/TaskId.d.ts +0 -0
  221. /package/serialization/resources/{tasks → commons}/types/TaskId.js +0 -0
@@ -18,6 +18,7 @@ export * from "./NoteCategory";
18
18
  export * from "./ClinicalNote";
19
19
  export * from "./ResponsiblePartyType";
20
20
  export * from "./BillableStatusType";
21
+ export * from "./EncounterOwnerOfNextActionType";
21
22
  export * from "./SynchronicityType";
22
23
  export * from "./CodingAttributionType";
23
24
  export * from "./AttachmentId";
@@ -34,6 +34,7 @@ __exportStar(require("./NoteCategory"), exports);
34
34
  __exportStar(require("./ClinicalNote"), exports);
35
35
  __exportStar(require("./ResponsiblePartyType"), exports);
36
36
  __exportStar(require("./BillableStatusType"), exports);
37
+ __exportStar(require("./EncounterOwnerOfNextActionType"), exports);
37
38
  __exportStar(require("./SynchronicityType"), exports);
38
39
  __exportStar(require("./CodingAttributionType"), exports);
39
40
  __exportStar(require("./AttachmentId"), exports);
@@ -4,6 +4,7 @@ export * as encounters from "./encounters";
4
4
  export * as guarantor from "./guarantor";
5
5
  export * as organizationProviders from "./organizationProviders";
6
6
  export * as patientPayments from "./patientPayments";
7
+ export * as serviceLines from "./serviceLines";
7
8
  export * as tasks from "./tasks";
8
9
  export * as billingNotes from "./billingNotes";
9
10
  export * from "./billingNotes/types";
@@ -31,10 +32,7 @@ export * as payers from "./payers";
31
32
  export * from "./payers/types";
32
33
  export * as serviceFacility from "./serviceFacility";
33
34
  export * from "./serviceFacility/types";
34
- export * as serviceLines from "./serviceLines";
35
- export * from "./serviceLines/types";
36
35
  export * as tags from "./tags";
37
36
  export * from "./tags/types";
38
- export * from "./tasks/types";
39
37
  export * from "./billingNotes/client/requests";
40
38
  export * from "./expectedNetworkStatus/client/requests";
@@ -26,13 +26,14 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
26
26
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.tags = exports.serviceLines = exports.serviceFacility = exports.payers = exports.invoices = exports.insuranceCard = exports.individual = exports.expectedNetworkStatus = exports.era = exports.diagnoses = exports.credentialing = exports.contracts = exports.commons = exports.claims = exports.billingNotes = exports.tasks = exports.patientPayments = exports.organizationProviders = exports.guarantor = exports.encounters = exports.encounterProviders = exports.auth = void 0;
29
+ exports.tags = exports.serviceFacility = exports.payers = exports.invoices = exports.insuranceCard = exports.individual = exports.expectedNetworkStatus = exports.era = exports.diagnoses = exports.credentialing = exports.contracts = exports.commons = exports.claims = exports.billingNotes = exports.tasks = exports.serviceLines = exports.patientPayments = exports.organizationProviders = exports.guarantor = exports.encounters = exports.encounterProviders = exports.auth = void 0;
30
30
  exports.auth = __importStar(require("./auth"));
31
31
  exports.encounterProviders = __importStar(require("./encounterProviders"));
32
32
  exports.encounters = __importStar(require("./encounters"));
33
33
  exports.guarantor = __importStar(require("./guarantor"));
34
34
  exports.organizationProviders = __importStar(require("./organizationProviders"));
35
35
  exports.patientPayments = __importStar(require("./patientPayments"));
36
+ exports.serviceLines = __importStar(require("./serviceLines"));
36
37
  exports.tasks = __importStar(require("./tasks"));
37
38
  exports.billingNotes = __importStar(require("./billingNotes"));
38
39
  __exportStar(require("./billingNotes/types"), exports);
@@ -60,10 +61,7 @@ exports.payers = __importStar(require("./payers"));
60
61
  __exportStar(require("./payers/types"), exports);
61
62
  exports.serviceFacility = __importStar(require("./serviceFacility"));
62
63
  __exportStar(require("./serviceFacility/types"), exports);
63
- exports.serviceLines = __importStar(require("./serviceLines"));
64
- __exportStar(require("./serviceLines/types"), exports);
65
64
  exports.tags = __importStar(require("./tags"));
66
65
  __exportStar(require("./tags/types"), exports);
67
- __exportStar(require("./tasks/types"), exports);
68
66
  __exportStar(require("./billingNotes/client/requests"), exports);
69
67
  __exportStar(require("./expectedNetworkStatus/client/requests"), exports);
@@ -1 +1 @@
1
- export * from "./types";
1
+ export * from "./resources";
@@ -14,4 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./types"), exports);
17
+ __exportStar(require("./resources"), exports);
@@ -0,0 +1 @@
1
+ export * as v2 from "./v2";
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.v2 = void 0;
27
+ exports.v2 = __importStar(require("./v2"));
@@ -0,0 +1 @@
1
+ export * from "./types";
@@ -14,4 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./TaskId"), exports);
17
+ __exportStar(require("./types"), exports);
@@ -1,10 +1,10 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as serializers from "../../..";
5
- import * as CandidApi from "../../../../api";
6
- import * as core from "../../../../core";
7
- export declare const DenialReasonContent: core.serialization.Schema<serializers.DenialReasonContent.Raw, CandidApi.DenialReasonContent>;
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const DenialReasonContent: core.serialization.Schema<serializers.serviceLines.v2.DenialReasonContent.Raw, CandidApi.serviceLines.v2.DenialReasonContent>;
8
8
  export declare namespace DenialReasonContent {
9
9
  type Raw = "Authorization Required" | "Referral Required" | "Medical Records Requested" | "Timely Filing" | "Duplicate Claim" | "Incorrect Place of Service" | "Incorrect Patient Gender" | "Bundled" | "Exceeded Billable Time" | "Invalid Provider Information" | "Invalid Diagnosis Code" | "Incorrect Procedure Code" | "Invalid Modifier" | "Missing NDC Code" | "Invalid Insurance Data" | "No Active Coverage" | "Coordination of Benefits" | "Incorrect Payer" | "Credentialing" | "No Effective Contract" | "Missing W-9" | "Missing Contract Linkage" | "Non-Covered Benefit" | "Experimental Procedure" | "Not Medically Necessary" | "Info Requested from Provider" | "Info Requested from Patient" | "Billing Error" | "Unknown" | "Max Benefit Reached";
10
10
  }
@@ -27,7 +27,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.DenialReasonContent = void 0;
30
- const core = __importStar(require("../../../../core"));
30
+ const core = __importStar(require("../../../../../../core"));
31
31
  exports.DenialReasonContent = core.serialization.enum_([
32
32
  "Authorization Required",
33
33
  "Referral Required",
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const DrugIdentification: core.serialization.ObjectSchema<serializers.serviceLines.v2.DrugIdentification.Raw, CandidApi.serviceLines.v2.DrugIdentification>;
8
+ export declare namespace DrugIdentification {
9
+ interface Raw {
10
+ service_id_qualifier: serializers.serviceLines.v2.ServiceIdQualifier.Raw;
11
+ national_drug_code: string;
12
+ national_drug_unit_count: string;
13
+ measurement_unit_code: serializers.serviceLines.v2.MeasurementUnitCode.Raw;
14
+ link_sequence_number?: string | null;
15
+ pharmacy_prescription_number?: string | null;
16
+ }
17
+ }
@@ -27,12 +27,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.DrugIdentification = void 0;
30
- const core = __importStar(require("../../../../core"));
30
+ const core = __importStar(require("../../../../../../core"));
31
31
  exports.DrugIdentification = core.serialization.object({
32
- serviceIdQualifier: core.serialization.property("service_id_qualifier", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).ServiceIdQualifier)),
32
+ serviceIdQualifier: core.serialization.property("service_id_qualifier", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).serviceLines.v2.ServiceIdQualifier)),
33
33
  nationalDrugCode: core.serialization.property("national_drug_code", core.serialization.string()),
34
34
  nationalDrugUnitCount: core.serialization.property("national_drug_unit_count", core.serialization.string()),
35
- measurementUnitCode: core.serialization.property("measurement_unit_code", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).MeasurementUnitCode)),
35
+ measurementUnitCode: core.serialization.property("measurement_unit_code", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).serviceLines.v2.MeasurementUnitCode)),
36
36
  linkSequenceNumber: core.serialization.property("link_sequence_number", core.serialization.string().optional()),
37
37
  pharmacyPrescriptionNumber: core.serialization.property("pharmacy_prescription_number", core.serialization.string().optional()),
38
38
  });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const MeasurementUnitCode: core.serialization.Schema<serializers.serviceLines.v2.MeasurementUnitCode.Raw, CandidApi.serviceLines.v2.MeasurementUnitCode>;
8
+ export declare namespace MeasurementUnitCode {
9
+ type Raw = "ML" | "UN" | "GR" | "F2" | "ME";
10
+ }
@@ -27,5 +27,5 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.MeasurementUnitCode = void 0;
30
- const core = __importStar(require("../../../../core"));
30
+ const core = __importStar(require("../../../../../../core"));
31
31
  exports.MeasurementUnitCode = core.serialization.enum_(["ML", "UN", "GR", "F2", "ME"]);
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const ServiceIdQualifier: core.serialization.Schema<serializers.serviceLines.v2.ServiceIdQualifier.Raw, CandidApi.serviceLines.v2.ServiceIdQualifier>;
8
+ export declare namespace ServiceIdQualifier {
9
+ type Raw = "EN" | "EO" | "HI" | "N4" | "ON" | "UK" | "UP";
10
+ }
@@ -27,5 +27,5 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.ServiceIdQualifier = void 0;
30
- const core = __importStar(require("../../../../core"));
30
+ const core = __importStar(require("../../../../../../core"));
31
31
  exports.ServiceIdQualifier = core.serialization.enum_(["EN", "EO", "HI", "N4", "ON", "UK", "UP"]);
@@ -0,0 +1,33 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const ServiceLine: core.serialization.ObjectSchema<serializers.serviceLines.v2.ServiceLine.Raw, CandidApi.serviceLines.v2.ServiceLine>;
8
+ export declare namespace ServiceLine {
9
+ interface Raw {
10
+ modifiers?: serializers.ProcedureModifier.Raw[] | null;
11
+ charge_amount_cents?: number | null;
12
+ allowed_amount_cents?: number | null;
13
+ insurance_balance_cents?: number | null;
14
+ patient_balance_cents?: number | null;
15
+ paid_amount_cents?: number | null;
16
+ patient_responsibility_cents?: number | null;
17
+ diagnosis_id_zero?: serializers.DiagnosisId.Raw | null;
18
+ diagnosis_id_one?: serializers.DiagnosisId.Raw | null;
19
+ diagnosis_id_two?: serializers.DiagnosisId.Raw | null;
20
+ diagnosis_id_three?: serializers.DiagnosisId.Raw | null;
21
+ service_line_era_data?: serializers.serviceLines.v2.ServiceLineEraData.Raw | null;
22
+ service_line_manual_adjustments?: serializers.serviceLines.v2.ServiceLineAdjustment.Raw[] | null;
23
+ related_invoices?: serializers.Invoice.Raw[] | null;
24
+ denial_reason?: serializers.serviceLines.v2.ServiceLineDenialReason.Raw | null;
25
+ place_of_service_code?: serializers.FacilityTypeCode.Raw | null;
26
+ service_line_id: serializers.ServiceLineId.Raw;
27
+ procedure_code: string;
28
+ quantity: serializers.Decimal.Raw;
29
+ units: serializers.ServiceLineUnits.Raw;
30
+ claim_id: serializers.ClaimId.Raw;
31
+ date_of_service_range: serializers.DateRangeOptionalEnd.Raw;
32
+ }
33
+ }
@@ -26,28 +26,39 @@ var __importStar = (this && this.__importStar) || function (mod) {
26
26
  return result;
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.ServiceLineBaseWithOptionals = void 0;
30
- const core = __importStar(require("../../../../core"));
31
- exports.ServiceLineBaseWithOptionals = core.serialization
32
- .object({
29
+ exports.ServiceLine = void 0;
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.ServiceLine = core.serialization.object({
32
+ modifiers: core.serialization
33
+ .list(core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ProcedureModifier))
34
+ .optional(),
33
35
  chargeAmountCents: core.serialization.property("charge_amount_cents", core.serialization.number().optional()),
34
36
  allowedAmountCents: core.serialization.property("allowed_amount_cents", core.serialization.number().optional()),
35
37
  insuranceBalanceCents: core.serialization.property("insurance_balance_cents", core.serialization.number().optional()),
36
38
  patientBalanceCents: core.serialization.property("patient_balance_cents", core.serialization.number().optional()),
37
39
  paidAmountCents: core.serialization.property("paid_amount_cents", core.serialization.number().optional()),
38
40
  patientResponsibilityCents: core.serialization.property("patient_responsibility_cents", core.serialization.number().optional()),
39
- diagnosisIdZero: core.serialization.property("diagnosis_id_zero", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).DiagnosisId).optional()),
40
- diagnosisIdOne: core.serialization.property("diagnosis_id_one", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).DiagnosisId).optional()),
41
- diagnosisIdTwo: core.serialization.property("diagnosis_id_two", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).DiagnosisId).optional()),
42
- diagnosisIdThree: core.serialization.property("diagnosis_id_three", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).DiagnosisId).optional()),
43
- serviceLineEraData: core.serialization.property("service_line_era_data", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).ServiceLineEraData).optional()),
41
+ diagnosisIdZero: core.serialization.property("diagnosis_id_zero", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).DiagnosisId).optional()),
42
+ diagnosisIdOne: core.serialization.property("diagnosis_id_one", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).DiagnosisId).optional()),
43
+ diagnosisIdTwo: core.serialization.property("diagnosis_id_two", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).DiagnosisId).optional()),
44
+ diagnosisIdThree: core.serialization.property("diagnosis_id_three", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).DiagnosisId).optional()),
45
+ serviceLineEraData: core.serialization.property("service_line_era_data", core.serialization
46
+ .lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).serviceLines.v2.ServiceLineEraData)
47
+ .optional()),
44
48
  serviceLineManualAdjustments: core.serialization.property("service_line_manual_adjustments", core.serialization
45
- .list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).ServiceLineAdjustment))
49
+ .list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).serviceLines.v2.ServiceLineAdjustment))
46
50
  .optional()),
47
51
  relatedInvoices: core.serialization.property("related_invoices", core.serialization
48
- .list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).Invoice))
52
+ .list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Invoice))
53
+ .optional()),
54
+ denialReason: core.serialization.property("denial_reason", core.serialization
55
+ .lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).serviceLines.v2.ServiceLineDenialReason)
49
56
  .optional()),
50
- denialReason: core.serialization.property("denial_reason", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).ServiceLineDenialReason).optional()),
51
- placeOfServiceCode: core.serialization.property("place_of_service_code", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).FacilityTypeCode).optional()),
52
- })
53
- .extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).ServiceLineBase));
57
+ placeOfServiceCode: core.serialization.property("place_of_service_code", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).FacilityTypeCode).optional()),
58
+ serviceLineId: core.serialization.property("service_line_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ServiceLineId)),
59
+ procedureCode: core.serialization.property("procedure_code", core.serialization.string()),
60
+ quantity: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Decimal),
61
+ units: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ServiceLineUnits),
62
+ claimId: core.serialization.property("claim_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ClaimId)),
63
+ dateOfServiceRange: core.serialization.property("date_of_service_range", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).DateRangeOptionalEnd)),
64
+ });
@@ -1,10 +1,10 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as serializers from "../../..";
5
- import * as CandidApi from "../../../../api";
6
- import * as core from "../../../../core";
7
- export declare const ServiceLineAdjustment: core.serialization.ObjectSchema<serializers.ServiceLineAdjustment.Raw, CandidApi.ServiceLineAdjustment>;
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const ServiceLineAdjustment: core.serialization.ObjectSchema<serializers.serviceLines.v2.ServiceLineAdjustment.Raw, CandidApi.serviceLines.v2.ServiceLineAdjustment>;
8
8
  export declare namespace ServiceLineAdjustment {
9
9
  interface Raw {
10
10
  created_at: string;
@@ -27,7 +27,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.ServiceLineAdjustment = void 0;
30
- const core = __importStar(require("../../../../core"));
30
+ const core = __importStar(require("../../../../../../core"));
31
31
  exports.ServiceLineAdjustment = core.serialization.object({
32
32
  createdAt: core.serialization.property("created_at", core.serialization.date()),
33
33
  adjustmentGroupCode: core.serialization.property("adjustment_group_code", core.serialization.string().optional()),
@@ -1,18 +1,19 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as serializers from "../../..";
5
- import * as CandidApi from "../../../../api";
6
- import * as core from "../../../../core";
7
- export declare const ServiceLineCreate: core.serialization.ObjectSchema<serializers.ServiceLineCreate.Raw, CandidApi.ServiceLineCreate>;
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const ServiceLineCreate: core.serialization.ObjectSchema<serializers.serviceLines.v2.ServiceLineCreate.Raw, CandidApi.serviceLines.v2.ServiceLineCreate>;
8
8
  export declare namespace ServiceLineCreate {
9
- interface Raw extends serializers.ServiceLineBase.Raw {
9
+ interface Raw {
10
+ modifiers?: serializers.ProcedureModifier.Raw[] | null;
10
11
  procedure_code: string;
11
12
  quantity: serializers.Decimal.Raw;
12
13
  units: serializers.ServiceLineUnits.Raw;
13
14
  charge_amount_cents?: number | null;
14
15
  diagnosis_pointers: number[];
15
- drug_identification?: serializers.DrugIdentification.Raw | null;
16
+ drug_identification?: serializers.serviceLines.v2.DrugIdentification.Raw | null;
16
17
  place_of_service_code?: serializers.FacilityTypeCode.Raw | null;
17
18
  }
18
19
  }
@@ -27,15 +27,18 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.ServiceLineCreate = void 0;
30
- const core = __importStar(require("../../../../core"));
31
- exports.ServiceLineCreate = core.serialization
32
- .object({
30
+ const core = __importStar(require("../../../../../../core"));
31
+ exports.ServiceLineCreate = core.serialization.object({
32
+ modifiers: core.serialization
33
+ .list(core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ProcedureModifier))
34
+ .optional(),
33
35
  procedureCode: core.serialization.property("procedure_code", core.serialization.string()),
34
- quantity: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).Decimal),
35
- units: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).ServiceLineUnits),
36
+ quantity: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).Decimal),
37
+ units: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).ServiceLineUnits),
36
38
  chargeAmountCents: core.serialization.property("charge_amount_cents", core.serialization.number().optional()),
37
39
  diagnosisPointers: core.serialization.property("diagnosis_pointers", core.serialization.list(core.serialization.number())),
38
- drugIdentification: core.serialization.property("drug_identification", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).DrugIdentification).optional()),
39
- placeOfServiceCode: core.serialization.property("place_of_service_code", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).FacilityTypeCode).optional()),
40
- })
41
- .extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).ServiceLineBase));
40
+ drugIdentification: core.serialization.property("drug_identification", core.serialization
41
+ .lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).serviceLines.v2.DrugIdentification)
42
+ .optional()),
43
+ placeOfServiceCode: core.serialization.property("place_of_service_code", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).FacilityTypeCode).optional()),
44
+ });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const ServiceLineDenialReason: core.serialization.ObjectSchema<serializers.serviceLines.v2.ServiceLineDenialReason.Raw, CandidApi.serviceLines.v2.ServiceLineDenialReason>;
8
+ export declare namespace ServiceLineDenialReason {
9
+ interface Raw {
10
+ reason?: serializers.serviceLines.v2.DenialReasonContent.Raw | null;
11
+ }
12
+ }
@@ -27,7 +27,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.ServiceLineDenialReason = void 0;
30
- const core = __importStar(require("../../../../core"));
30
+ const core = __importStar(require("../../../../../../core"));
31
31
  exports.ServiceLineDenialReason = core.serialization.object({
32
- reason: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).DenialReasonContent).optional(),
32
+ reason: core.serialization
33
+ .lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).serviceLines.v2.DenialReasonContent)
34
+ .optional(),
33
35
  });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as serializers from "../../../../..";
5
+ import * as CandidApi from "../../../../../../api";
6
+ import * as core from "../../../../../../core";
7
+ export declare const ServiceLineEraData: core.serialization.ObjectSchema<serializers.serviceLines.v2.ServiceLineEraData.Raw, CandidApi.serviceLines.v2.ServiceLineEraData>;
8
+ export declare namespace ServiceLineEraData {
9
+ interface Raw {
10
+ service_line_adjustments: serializers.serviceLines.v2.ServiceLineAdjustment.Raw[];
11
+ remittance_advice_remark_codes: string[];
12
+ }
13
+ }
@@ -27,8 +27,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.ServiceLineEraData = void 0;
30
- const core = __importStar(require("../../../../core"));
30
+ const core = __importStar(require("../../../../../../core"));
31
31
  exports.ServiceLineEraData = core.serialization.object({
32
- serviceLineAdjustments: core.serialization.property("service_line_adjustments", core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).ServiceLineAdjustment))),
32
+ serviceLineAdjustments: core.serialization.property("service_line_adjustments", core.serialization.list(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../../../..")))).serviceLines.v2.ServiceLineAdjustment))),
33
33
  remittanceAdviceRemarkCodes: core.serialization.property("remittance_advice_remark_codes", core.serialization.list(core.serialization.string())),
34
34
  });
@@ -1,5 +1,3 @@
1
- export * from "./ServiceLineBase";
2
- export * from "./ServiceLineBaseWithOptionals";
3
1
  export * from "./ServiceLineCreate";
4
2
  export * from "./ServiceLine";
5
3
  export * from "./ServiceLineEraData";
@@ -14,8 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./ServiceLineBase"), exports);
18
- __exportStar(require("./ServiceLineBaseWithOptionals"), exports);
19
17
  __exportStar(require("./ServiceLineCreate"), exports);
20
18
  __exportStar(require("./ServiceLine"), exports);
21
19
  __exportStar(require("./ServiceLineEraData"), exports);
@@ -1,2 +1 @@
1
1
  export * from "./resources";
2
- export * from "./types";
@@ -15,4 +15,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./resources"), exports);
18
- __exportStar(require("./types"), exports);
@@ -1,23 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as CandidApi from "../../..";
5
- export interface ServiceLine extends CandidApi.ServiceLineBaseWithOptionals {
6
- serviceLineId: CandidApi.ServiceLineId;
7
- procedureCode: string;
8
- /**
9
- * String representation of a Decimal that can be parsed by most libraries.
10
- * A ServiceLine quantity cannot contain more than one digit of precision.
11
- * Example: 1.1 is valid, 1.11 is not.
12
- *
13
- */
14
- quantity: CandidApi.Decimal;
15
- units: CandidApi.ServiceLineUnits;
16
- claimId: CandidApi.ClaimId;
17
- /**
18
- * A range of dates of service for this service line. If the service line is for a single date, the end date
19
- * will be empty.
20
- *
21
- */
22
- dateOfServiceRange: CandidApi.DateRangeOptionalEnd;
23
- }
@@ -1,7 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as CandidApi from "../../..";
5
- export interface ServiceLineBase {
6
- modifiers?: CandidApi.ProcedureModifier[];
7
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,21 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as CandidApi from "../../..";
5
- export interface ServiceLineBaseWithOptionals extends CandidApi.ServiceLineBase {
6
- chargeAmountCents?: number;
7
- allowedAmountCents?: number;
8
- insuranceBalanceCents?: number;
9
- patientBalanceCents?: number;
10
- paidAmountCents?: number;
11
- patientResponsibilityCents?: number;
12
- diagnosisIdZero?: CandidApi.DiagnosisId;
13
- diagnosisIdOne?: CandidApi.DiagnosisId;
14
- diagnosisIdTwo?: CandidApi.DiagnosisId;
15
- diagnosisIdThree?: CandidApi.DiagnosisId;
16
- serviceLineEraData?: CandidApi.ServiceLineEraData;
17
- serviceLineManualAdjustments?: CandidApi.ServiceLineAdjustment[];
18
- relatedInvoices?: CandidApi.Invoice[];
19
- denialReason?: CandidApi.ServiceLineDenialReason;
20
- placeOfServiceCode?: CandidApi.FacilityTypeCode;
21
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export * from "./TaskId";
@@ -1,23 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as CandidApi from "../../..";
5
- export interface ServiceLine extends CandidApi.ServiceLineBaseWithOptionals {
6
- serviceLineId: CandidApi.ServiceLineId;
7
- procedureCode: string;
8
- /**
9
- * String representation of a Decimal that can be parsed by most libraries.
10
- * A ServiceLine quantity cannot contain more than one digit of precision.
11
- * Example: 1.1 is valid, 1.11 is not.
12
- *
13
- */
14
- quantity: CandidApi.Decimal;
15
- units: CandidApi.ServiceLineUnits;
16
- claimId: CandidApi.ClaimId;
17
- /**
18
- * A range of dates of service for this service line. If the service line is for a single date, the end date
19
- * will be empty.
20
- *
21
- */
22
- dateOfServiceRange: CandidApi.DateRangeOptionalEnd;
23
- }
@@ -1,7 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as CandidApi from "../../..";
5
- export interface ServiceLineBase {
6
- modifiers?: CandidApi.ProcedureModifier[];
7
- }
@@ -1,5 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- Object.defineProperty(exports, "__esModule", { value: true });