candidhealth 0.4.5 → 0.4.8

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 (193) 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/encounters/resources/v4/client/Client.js +12 -9
  5. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
  6. package/api/resources/encounters/resources/v4/client/requests/GetAllEncountersRequest.d.ts +1 -0
  7. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +3 -0
  8. package/api/resources/encounters/resources/v4/types/EncounterOwnerOfNextActionType.d.ts +10 -0
  9. package/api/resources/encounters/resources/v4/types/EncounterOwnerOfNextActionType.js +12 -0
  10. package/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
  11. package/api/resources/encounters/resources/v4/types/index.js +1 -0
  12. package/api/resources/expectedNetworkStatus/client/Client.js +1 -1
  13. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  14. package/api/resources/index.d.ts +1 -2
  15. package/api/resources/index.js +2 -3
  16. package/api/resources/payers/client/Client.js +2 -2
  17. package/api/resources/serviceLines/index.d.ts +1 -1
  18. package/api/resources/serviceLines/index.js +1 -1
  19. package/api/resources/serviceLines/resources/index.d.ts +1 -0
  20. package/api/resources/serviceLines/resources/index.js +27 -0
  21. package/api/resources/serviceLines/resources/v2/index.d.ts +1 -0
  22. package/api/resources/serviceLines/resources/v2/index.js +17 -0
  23. package/{dist/api/resources/serviceLines → api/resources/serviceLines/resources/v2}/types/DrugIdentification.d.ts +3 -3
  24. package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +39 -0
  25. package/api/resources/serviceLines/{types → resources/v2/types}/ServiceLineCreate.d.ts +4 -3
  26. package/{dist/api/resources/serviceLines → api/resources/serviceLines/resources/v2}/types/ServiceLineDenialReason.d.ts +2 -2
  27. package/{dist/api/resources/serviceLines → api/resources/serviceLines/resources/v2}/types/ServiceLineEraData.d.ts +2 -2
  28. package/api/resources/serviceLines/{types → resources/v2/types}/index.d.ts +0 -2
  29. package/{dist/api/resources/serviceLines → api/resources/serviceLines/resources/v2}/types/index.js +0 -2
  30. package/api/resources/tasks/resources/v3/client/Client.js +1 -1
  31. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  32. package/dist/api/resources/billingNotes/client/Client.js +1 -1
  33. package/dist/api/resources/claims/types/Claim.d.ts +1 -1
  34. package/dist/api/resources/encounters/resources/v4/client/Client.js +12 -9
  35. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
  36. package/dist/api/resources/encounters/resources/v4/client/requests/GetAllEncountersRequest.d.ts +1 -0
  37. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +3 -0
  38. package/dist/api/resources/encounters/resources/v4/types/EncounterOwnerOfNextActionType.d.ts +10 -0
  39. package/dist/api/resources/encounters/resources/v4/types/EncounterOwnerOfNextActionType.js +12 -0
  40. package/dist/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
  41. package/dist/api/resources/encounters/resources/v4/types/index.js +1 -0
  42. package/dist/api/resources/expectedNetworkStatus/client/Client.js +1 -1
  43. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  44. package/dist/api/resources/index.d.ts +1 -2
  45. package/dist/api/resources/index.js +2 -3
  46. package/dist/api/resources/payers/client/Client.js +2 -2
  47. package/dist/api/resources/serviceLines/index.d.ts +1 -1
  48. package/dist/api/resources/serviceLines/index.js +1 -1
  49. package/dist/api/resources/serviceLines/resources/index.d.ts +1 -0
  50. package/dist/api/resources/serviceLines/resources/index.js +27 -0
  51. package/dist/api/resources/serviceLines/resources/v2/index.d.ts +1 -0
  52. package/dist/api/resources/serviceLines/resources/v2/index.js +17 -0
  53. package/{api/resources/serviceLines → dist/api/resources/serviceLines/resources/v2}/types/DrugIdentification.d.ts +3 -3
  54. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +39 -0
  55. package/dist/api/resources/serviceLines/{types → resources/v2/types}/ServiceLineCreate.d.ts +4 -3
  56. package/{api/resources/serviceLines → dist/api/resources/serviceLines/resources/v2}/types/ServiceLineDenialReason.d.ts +2 -2
  57. package/{api/resources/serviceLines → dist/api/resources/serviceLines/resources/v2}/types/ServiceLineEraData.d.ts +2 -2
  58. package/dist/api/resources/serviceLines/{types → resources/v2/types}/index.d.ts +0 -2
  59. package/dist/{serialization/resources/serviceLines → api/resources/serviceLines/resources/v2}/types/index.js +0 -2
  60. package/dist/api/resources/tasks/resources/v3/client/Client.js +1 -1
  61. package/dist/serialization/resources/claims/types/Claim.d.ts +1 -1
  62. package/dist/serialization/resources/claims/types/Claim.js +1 -1
  63. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
  64. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -1
  65. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
  66. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
  67. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOwnerOfNextActionType.d.ts +10 -0
  68. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOwnerOfNextActionType.js +31 -0
  69. package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
  70. package/dist/serialization/resources/encounters/resources/v4/types/index.js +1 -0
  71. package/dist/serialization/resources/index.d.ts +1 -2
  72. package/dist/serialization/resources/index.js +2 -3
  73. package/dist/serialization/resources/serviceLines/index.d.ts +1 -1
  74. package/dist/serialization/resources/serviceLines/index.js +1 -1
  75. package/dist/serialization/resources/serviceLines/resources/index.d.ts +1 -0
  76. package/dist/serialization/resources/serviceLines/resources/index.js +27 -0
  77. package/dist/serialization/resources/serviceLines/resources/v2/index.d.ts +1 -0
  78. package/dist/serialization/resources/serviceLines/resources/v2/index.js +17 -0
  79. package/dist/serialization/resources/serviceLines/{types → resources/v2/types}/DenialReasonContent.d.ts +4 -4
  80. package/dist/serialization/resources/serviceLines/{types → resources/v2/types}/DenialReasonContent.js +1 -1
  81. package/dist/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +17 -0
  82. package/{serialization/resources/serviceLines → dist/serialization/resources/serviceLines/resources/v2}/types/DrugIdentification.js +3 -3
  83. package/dist/serialization/resources/serviceLines/resources/v2/types/MeasurementUnitCode.d.ts +10 -0
  84. package/dist/serialization/resources/serviceLines/{types → resources/v2/types}/MeasurementUnitCode.js +1 -1
  85. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceIdQualifier.d.ts +10 -0
  86. package/dist/serialization/resources/serviceLines/{types → resources/v2/types}/ServiceIdQualifier.js +1 -1
  87. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +33 -0
  88. package/{serialization/resources/serviceLines/types/ServiceLineBaseWithOptionals.js → dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js} +26 -15
  89. package/{serialization/resources/serviceLines → dist/serialization/resources/serviceLines/resources/v2}/types/ServiceLineAdjustment.d.ts +4 -4
  90. package/{serialization/resources/serviceLines → dist/serialization/resources/serviceLines/resources/v2}/types/ServiceLineAdjustment.js +1 -1
  91. package/{serialization/resources/serviceLines → dist/serialization/resources/serviceLines/resources/v2}/types/ServiceLineCreate.d.ts +7 -6
  92. package/dist/serialization/resources/serviceLines/{types → resources/v2/types}/ServiceLineCreate.js +12 -9
  93. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineDenialReason.d.ts +12 -0
  94. package/dist/serialization/resources/serviceLines/{types → resources/v2/types}/ServiceLineDenialReason.js +4 -2
  95. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineEraData.d.ts +13 -0
  96. package/{serialization/resources/serviceLines → dist/serialization/resources/serviceLines/resources/v2}/types/ServiceLineEraData.js +2 -2
  97. package/dist/serialization/resources/serviceLines/{types → resources/v2/types}/index.d.ts +0 -2
  98. package/{api/resources/serviceLines → dist/serialization/resources/serviceLines/resources/v2}/types/index.js +0 -2
  99. package/package.json +1 -1
  100. package/serialization/resources/claims/types/Claim.d.ts +1 -1
  101. package/serialization/resources/claims/types/Claim.js +1 -1
  102. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
  103. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -1
  104. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
  105. package/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
  106. package/serialization/resources/encounters/resources/v4/types/EncounterOwnerOfNextActionType.d.ts +10 -0
  107. package/serialization/resources/encounters/resources/v4/types/EncounterOwnerOfNextActionType.js +31 -0
  108. package/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
  109. package/serialization/resources/encounters/resources/v4/types/index.js +1 -0
  110. package/serialization/resources/index.d.ts +1 -2
  111. package/serialization/resources/index.js +2 -3
  112. package/serialization/resources/serviceLines/index.d.ts +1 -1
  113. package/serialization/resources/serviceLines/index.js +1 -1
  114. package/serialization/resources/serviceLines/resources/index.d.ts +1 -0
  115. package/serialization/resources/serviceLines/resources/index.js +27 -0
  116. package/serialization/resources/serviceLines/resources/v2/index.d.ts +1 -0
  117. package/serialization/resources/serviceLines/resources/v2/index.js +17 -0
  118. package/serialization/resources/serviceLines/{types → resources/v2/types}/DenialReasonContent.d.ts +4 -4
  119. package/serialization/resources/serviceLines/{types → resources/v2/types}/DenialReasonContent.js +1 -1
  120. package/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +17 -0
  121. package/{dist/serialization/resources/serviceLines → serialization/resources/serviceLines/resources/v2}/types/DrugIdentification.js +3 -3
  122. package/serialization/resources/serviceLines/resources/v2/types/MeasurementUnitCode.d.ts +10 -0
  123. package/serialization/resources/serviceLines/{types → resources/v2/types}/MeasurementUnitCode.js +1 -1
  124. package/serialization/resources/serviceLines/resources/v2/types/ServiceIdQualifier.d.ts +10 -0
  125. package/serialization/resources/serviceLines/{types → resources/v2/types}/ServiceIdQualifier.js +1 -1
  126. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +33 -0
  127. package/{dist/serialization/resources/serviceLines/types/ServiceLineBaseWithOptionals.js → serialization/resources/serviceLines/resources/v2/types/ServiceLine.js} +26 -15
  128. package/{dist/serialization/resources/serviceLines → serialization/resources/serviceLines/resources/v2}/types/ServiceLineAdjustment.d.ts +4 -4
  129. package/{dist/serialization/resources/serviceLines → serialization/resources/serviceLines/resources/v2}/types/ServiceLineAdjustment.js +1 -1
  130. package/{dist/serialization/resources/serviceLines → serialization/resources/serviceLines/resources/v2}/types/ServiceLineCreate.d.ts +7 -6
  131. package/serialization/resources/serviceLines/{types → resources/v2/types}/ServiceLineCreate.js +12 -9
  132. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineDenialReason.d.ts +12 -0
  133. package/serialization/resources/serviceLines/{types → resources/v2/types}/ServiceLineDenialReason.js +4 -2
  134. package/serialization/resources/serviceLines/resources/v2/types/ServiceLineEraData.d.ts +13 -0
  135. package/{dist/serialization/resources/serviceLines → serialization/resources/serviceLines/resources/v2}/types/ServiceLineEraData.js +2 -2
  136. package/serialization/resources/serviceLines/{types → resources/v2/types}/index.d.ts +0 -2
  137. package/serialization/resources/serviceLines/{types → resources/v2/types}/index.js +0 -2
  138. package/api/resources/serviceLines/types/ServiceLine.d.ts +0 -23
  139. package/api/resources/serviceLines/types/ServiceLineBase.d.ts +0 -7
  140. package/api/resources/serviceLines/types/ServiceLineBase.js +0 -5
  141. package/api/resources/serviceLines/types/ServiceLineBaseWithOptionals.d.ts +0 -21
  142. package/api/resources/serviceLines/types/ServiceLineBaseWithOptionals.js +0 -5
  143. package/dist/api/resources/serviceLines/types/ServiceLine.d.ts +0 -23
  144. package/dist/api/resources/serviceLines/types/ServiceLineBase.d.ts +0 -7
  145. package/dist/api/resources/serviceLines/types/ServiceLineBase.js +0 -5
  146. package/dist/api/resources/serviceLines/types/ServiceLineBaseWithOptionals.d.ts +0 -21
  147. package/dist/api/resources/serviceLines/types/ServiceLineBaseWithOptionals.js +0 -5
  148. package/dist/serialization/resources/serviceLines/types/DrugIdentification.d.ts +0 -17
  149. package/dist/serialization/resources/serviceLines/types/MeasurementUnitCode.d.ts +0 -10
  150. package/dist/serialization/resources/serviceLines/types/ServiceIdQualifier.d.ts +0 -10
  151. package/dist/serialization/resources/serviceLines/types/ServiceLine.d.ts +0 -17
  152. package/dist/serialization/resources/serviceLines/types/ServiceLine.js +0 -40
  153. package/dist/serialization/resources/serviceLines/types/ServiceLineBase.d.ts +0 -12
  154. package/dist/serialization/resources/serviceLines/types/ServiceLineBase.js +0 -35
  155. package/dist/serialization/resources/serviceLines/types/ServiceLineBaseWithOptionals.d.ts +0 -26
  156. package/dist/serialization/resources/serviceLines/types/ServiceLineDenialReason.d.ts +0 -12
  157. package/dist/serialization/resources/serviceLines/types/ServiceLineEraData.d.ts +0 -13
  158. package/serialization/resources/serviceLines/types/DrugIdentification.d.ts +0 -17
  159. package/serialization/resources/serviceLines/types/MeasurementUnitCode.d.ts +0 -10
  160. package/serialization/resources/serviceLines/types/ServiceIdQualifier.d.ts +0 -10
  161. package/serialization/resources/serviceLines/types/ServiceLine.d.ts +0 -17
  162. package/serialization/resources/serviceLines/types/ServiceLine.js +0 -40
  163. package/serialization/resources/serviceLines/types/ServiceLineBase.d.ts +0 -12
  164. package/serialization/resources/serviceLines/types/ServiceLineBase.js +0 -35
  165. package/serialization/resources/serviceLines/types/ServiceLineBaseWithOptionals.d.ts +0 -26
  166. package/serialization/resources/serviceLines/types/ServiceLineDenialReason.d.ts +0 -12
  167. package/serialization/resources/serviceLines/types/ServiceLineEraData.d.ts +0 -13
  168. /package/api/resources/serviceLines/{types → resources/v2/types}/DenialReasonContent.d.ts +0 -0
  169. /package/api/resources/serviceLines/{types → resources/v2/types}/DenialReasonContent.js +0 -0
  170. /package/api/resources/serviceLines/{types → resources/v2/types}/DrugIdentification.js +0 -0
  171. /package/api/resources/serviceLines/{types → resources/v2/types}/MeasurementUnitCode.d.ts +0 -0
  172. /package/api/resources/serviceLines/{types → resources/v2/types}/MeasurementUnitCode.js +0 -0
  173. /package/api/resources/serviceLines/{types → resources/v2/types}/ServiceIdQualifier.d.ts +0 -0
  174. /package/api/resources/serviceLines/{types → resources/v2/types}/ServiceIdQualifier.js +0 -0
  175. /package/api/resources/serviceLines/{types → resources/v2/types}/ServiceLine.js +0 -0
  176. /package/api/resources/serviceLines/{types → resources/v2/types}/ServiceLineAdjustment.d.ts +0 -0
  177. /package/api/resources/serviceLines/{types → resources/v2/types}/ServiceLineAdjustment.js +0 -0
  178. /package/api/resources/serviceLines/{types → resources/v2/types}/ServiceLineCreate.js +0 -0
  179. /package/api/resources/serviceLines/{types → resources/v2/types}/ServiceLineDenialReason.js +0 -0
  180. /package/api/resources/serviceLines/{types → resources/v2/types}/ServiceLineEraData.js +0 -0
  181. /package/dist/api/resources/serviceLines/{types → resources/v2/types}/DenialReasonContent.d.ts +0 -0
  182. /package/dist/api/resources/serviceLines/{types → resources/v2/types}/DenialReasonContent.js +0 -0
  183. /package/dist/api/resources/serviceLines/{types → resources/v2/types}/DrugIdentification.js +0 -0
  184. /package/dist/api/resources/serviceLines/{types → resources/v2/types}/MeasurementUnitCode.d.ts +0 -0
  185. /package/dist/api/resources/serviceLines/{types → resources/v2/types}/MeasurementUnitCode.js +0 -0
  186. /package/dist/api/resources/serviceLines/{types → resources/v2/types}/ServiceIdQualifier.d.ts +0 -0
  187. /package/dist/api/resources/serviceLines/{types → resources/v2/types}/ServiceIdQualifier.js +0 -0
  188. /package/dist/api/resources/serviceLines/{types → resources/v2/types}/ServiceLine.js +0 -0
  189. /package/dist/api/resources/serviceLines/{types → resources/v2/types}/ServiceLineAdjustment.d.ts +0 -0
  190. /package/dist/api/resources/serviceLines/{types → resources/v2/types}/ServiceLineAdjustment.js +0 -0
  191. /package/dist/api/resources/serviceLines/{types → resources/v2/types}/ServiceLineCreate.js +0 -0
  192. /package/dist/api/resources/serviceLines/{types → resources/v2/types}/ServiceLineDenialReason.js +0 -0
  193. /package/dist/api/resources/serviceLines/{types → resources/v2/types}/ServiceLineEraData.js +0 -0
@@ -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,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,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,17 +0,0 @@
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.DrugIdentification.Raw, CandidApi.DrugIdentification>;
8
- export declare namespace DrugIdentification {
9
- interface Raw {
10
- service_id_qualifier: serializers.ServiceIdQualifier.Raw;
11
- national_drug_code: string;
12
- national_drug_unit_count: string;
13
- measurement_unit_code: serializers.MeasurementUnitCode.Raw;
14
- link_sequence_number?: string | null;
15
- pharmacy_prescription_number?: string | null;
16
- }
17
- }
@@ -1,10 +0,0 @@
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.MeasurementUnitCode.Raw, CandidApi.MeasurementUnitCode>;
8
- export declare namespace MeasurementUnitCode {
9
- type Raw = "ML" | "UN" | "GR" | "F2" | "ME";
10
- }
@@ -1,10 +0,0 @@
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.ServiceIdQualifier.Raw, CandidApi.ServiceIdQualifier>;
8
- export declare namespace ServiceIdQualifier {
9
- type Raw = "EN" | "EO" | "HI" | "N4" | "ON" | "UK" | "UP";
10
- }
@@ -1,17 +0,0 @@
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.ServiceLine.Raw, CandidApi.ServiceLine>;
8
- export declare namespace ServiceLine {
9
- interface Raw extends serializers.ServiceLineBaseWithOptionals.Raw {
10
- service_line_id: serializers.ServiceLineId.Raw;
11
- procedure_code: string;
12
- quantity: serializers.Decimal.Raw;
13
- units: serializers.ServiceLineUnits.Raw;
14
- claim_id: serializers.ClaimId.Raw;
15
- date_of_service_range: serializers.DateRangeOptionalEnd.Raw;
16
- }
17
- }
@@ -1,40 +0,0 @@
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.ServiceLine = void 0;
30
- const core = __importStar(require("../../../../core"));
31
- exports.ServiceLine = core.serialization
32
- .object({
33
- serviceLineId: core.serialization.property("service_line_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).ServiceLineId)),
34
- procedureCode: core.serialization.property("procedure_code", core.serialization.string()),
35
- quantity: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).Decimal),
36
- units: core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).ServiceLineUnits),
37
- claimId: core.serialization.property("claim_id", core.serialization.lazy(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).ClaimId)),
38
- dateOfServiceRange: core.serialization.property("date_of_service_range", core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).DateRangeOptionalEnd)),
39
- })
40
- .extend(core.serialization.lazyObject(async () => (await Promise.resolve().then(() => __importStar(require("../../..")))).ServiceLineBaseWithOptionals));
@@ -1,12 +0,0 @@
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 ServiceLineBase: core.serialization.ObjectSchema<serializers.ServiceLineBase.Raw, CandidApi.ServiceLineBase>;
8
- export declare namespace ServiceLineBase {
9
- interface Raw {
10
- modifiers?: serializers.ProcedureModifier.Raw[] | null;
11
- }
12
- }