candidhealth 0.24.4 → 0.24.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 (174) hide show
  1. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  2. package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  3. package/api/resources/commons/types/ProcedureModifier.d.ts +4 -0
  4. package/api/resources/commons/types/ProcedureModifier.js +1 -0
  5. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  6. package/api/resources/customSchemas/resources/v1/client/Client.d.ts +19 -10
  7. package/api/resources/customSchemas/resources/v1/client/Client.js +23 -14
  8. package/api/resources/customSchemas/resources/v1/client/requests/SchemaCreate.d.ts +12 -3
  9. package/api/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.d.ts +4 -4
  10. package/api/resources/customSchemas/resources/v1/types/Schema.d.ts +44 -0
  11. package/api/resources/customSchemas/resources/v1/types/SchemaField.d.ts +31 -0
  12. package/api/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.d.ts +23 -0
  13. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  14. package/api/resources/encounters/resources/v4/client/Client.js +4 -4
  15. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  16. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  17. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  18. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  19. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  20. package/api/resources/financials/types/AccountType.d.ts +2 -1
  21. package/api/resources/financials/types/AccountType.js +1 -0
  22. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  23. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  24. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  25. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  26. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  27. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  28. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  29. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  30. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  31. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  32. package/api/resources/preEncounter/resources/{patients/resources/v1 → common}/types/ExternalProvider.d.ts +3 -2
  33. package/api/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +8 -0
  34. package/api/resources/preEncounter/resources/common/types/ExternalProviderType.js +10 -0
  35. package/api/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  36. package/api/resources/preEncounter/resources/common/types/index.js +2 -0
  37. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +6 -4
  38. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +12 -10
  39. package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +2 -1
  40. package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +289 -0
  41. package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +78 -0
  42. package/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +21 -1
  43. package/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +5 -0
  44. package/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -1
  45. package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +1 -0
  46. package/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +1 -0
  47. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +2 -16
  48. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +9 -23
  49. package/api/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +0 -1
  50. package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +4 -4
  51. package/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +0 -1
  52. package/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -1
  53. package/api/resources/serviceFacility/client/Client.js +1 -1
  54. package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +3 -0
  55. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  56. package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  57. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  58. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
  59. package/dist/api/resources/commons/types/ProcedureModifier.d.ts +4 -0
  60. package/dist/api/resources/commons/types/ProcedureModifier.js +1 -0
  61. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  62. package/dist/api/resources/customSchemas/resources/v1/client/Client.d.ts +19 -10
  63. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +23 -14
  64. package/dist/api/resources/customSchemas/resources/v1/client/requests/SchemaCreate.d.ts +12 -3
  65. package/dist/api/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.d.ts +4 -4
  66. package/dist/api/resources/customSchemas/resources/v1/types/Schema.d.ts +44 -0
  67. package/dist/api/resources/customSchemas/resources/v1/types/SchemaField.d.ts +31 -0
  68. package/dist/api/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.d.ts +23 -0
  69. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  70. package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
  71. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  72. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  73. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  74. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  75. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  76. package/dist/api/resources/financials/types/AccountType.d.ts +2 -1
  77. package/dist/api/resources/financials/types/AccountType.js +1 -0
  78. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  79. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  80. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  81. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  82. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  83. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  84. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  85. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  86. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  87. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  88. package/dist/api/resources/preEncounter/resources/{patients/resources/v1 → common}/types/ExternalProvider.d.ts +3 -2
  89. package/dist/api/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +8 -0
  90. package/dist/api/resources/preEncounter/resources/common/types/ExternalProviderType.js +10 -0
  91. package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  92. package/dist/api/resources/preEncounter/resources/common/types/index.js +2 -0
  93. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +6 -4
  94. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +12 -10
  95. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +2 -1
  96. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +289 -0
  97. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +78 -0
  98. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +21 -1
  99. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +5 -0
  100. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -1
  101. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +1 -0
  102. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/index.js +1 -0
  103. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +2 -16
  104. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +9 -23
  105. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +0 -1
  106. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +4 -4
  107. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +0 -1
  108. package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -1
  109. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  110. package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +3 -0
  111. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  112. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
  113. package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  114. package/dist/serialization/resources/commons/types/ProcedureModifier.js +1 -0
  115. package/dist/serialization/resources/financials/types/AccountType.d.ts +1 -1
  116. package/dist/serialization/resources/financials/types/AccountType.js +1 -1
  117. package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +22 -0
  118. package/dist/serialization/resources/preEncounter/resources/{patients/resources/v1 → common}/types/ExternalProvider.js +8 -6
  119. package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +10 -0
  120. package/dist/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.js +31 -0
  121. package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  122. package/dist/serialization/resources/preEncounter/resources/common/types/index.js +2 -0
  123. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +3 -1
  124. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.js +3 -1
  125. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +10 -0
  126. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +102 -0
  127. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +1 -1
  128. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +5 -0
  129. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +2 -2
  130. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +2 -2
  131. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +1 -0
  132. package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +1 -0
  133. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +0 -2
  134. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.js +0 -2
  135. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -3
  136. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +3 -3
  137. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +0 -1
  138. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -1
  139. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +3 -0
  140. package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +3 -0
  141. package/package.json +1 -1
  142. package/reference.md +30 -34
  143. package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
  144. package/serialization/resources/commons/types/ProcedureModifier.js +1 -0
  145. package/serialization/resources/financials/types/AccountType.d.ts +1 -1
  146. package/serialization/resources/financials/types/AccountType.js +1 -1
  147. package/serialization/resources/preEncounter/resources/common/types/ExternalProvider.d.ts +22 -0
  148. package/serialization/resources/preEncounter/resources/{patients/resources/v1 → common}/types/ExternalProvider.js +8 -6
  149. package/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.d.ts +10 -0
  150. package/serialization/resources/preEncounter/resources/common/types/ExternalProviderType.js +31 -0
  151. package/serialization/resources/preEncounter/resources/common/types/index.d.ts +2 -0
  152. package/serialization/resources/preEncounter/resources/common/types/index.js +2 -0
  153. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.d.ts +3 -1
  154. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsurancePlan.js +3 -1
  155. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +10 -0
  156. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.js +102 -0
  157. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +1 -1
  158. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +5 -0
  159. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +2 -2
  160. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +2 -2
  161. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.d.ts +1 -0
  162. package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/index.js +1 -0
  163. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +0 -2
  164. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.js +0 -2
  165. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -3
  166. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +3 -3
  167. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +0 -1
  168. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +0 -1
  169. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +3 -0
  170. package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +3 -0
  171. package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/ExternalProvider.d.ts +0 -20
  172. package/serialization/resources/preEncounter/resources/patients/resources/v1/types/ExternalProvider.d.ts +0 -20
  173. /package/api/resources/preEncounter/resources/{patients/resources/v1 → common}/types/ExternalProvider.js +0 -0
  174. /package/dist/api/resources/preEncounter/resources/{patients/resources/v1 → common}/types/ExternalProvider.js +0 -0
@@ -5,12 +5,12 @@ import * as serializers from "../../../../../../../index";
5
5
  import * as CandidApi from "../../../../../../../../api/index";
6
6
  import * as core from "../../../../../../../../core";
7
7
  import { HumanName } from "../../../../common/types/HumanName";
8
- import { Gender } from "../../../../common/types/Gender";
8
+ import { Sex } from "../../../../common/types/Sex";
9
9
  export declare const Subscriber: core.serialization.ObjectSchema<serializers.preEncounter.coverages.v1.Subscriber.Raw, CandidApi.preEncounter.coverages.v1.Subscriber>;
10
10
  export declare namespace Subscriber {
11
11
  interface Raw {
12
12
  name: HumanName.Raw;
13
13
  date_of_birth: string;
14
- gender: Gender.Raw;
14
+ biological_sex: Sex.Raw;
15
15
  }
16
16
  }
@@ -29,9 +29,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.Subscriber = void 0;
30
30
  const core = __importStar(require("../../../../../../../../core"));
31
31
  const HumanName_1 = require("../../../../common/types/HumanName");
32
- const Gender_1 = require("../../../../common/types/Gender");
32
+ const Sex_1 = require("../../../../common/types/Sex");
33
33
  exports.Subscriber = core.serialization.object({
34
34
  name: HumanName_1.HumanName,
35
35
  dateOfBirth: core.serialization.property("date_of_birth", core.serialization.string()),
36
- gender: Gender_1.Gender,
36
+ biologicalSex: core.serialization.property("biological_sex", Sex_1.Sex),
37
37
  });
@@ -5,3 +5,4 @@ export * from "./NetworkType";
5
5
  export * from "./InsurancePlan";
6
6
  export * from "./MutableCoverage";
7
7
  export * from "./Coverage";
8
+ export * from "./InsuranceTypeCode";
@@ -21,3 +21,4 @@ __exportStar(require("./NetworkType"), exports);
21
21
  __exportStar(require("./InsurancePlan"), exports);
22
22
  __exportStar(require("./MutableCoverage"), exports);
23
23
  __exportStar(require("./Coverage"), exports);
24
+ __exportStar(require("./InsuranceTypeCode"), exports);
@@ -6,7 +6,6 @@ import * as CandidApi from "../../../../../../../../api/index";
6
6
  import * as core from "../../../../../../../../core";
7
7
  import { Relationship } from "../../../../common/types/Relationship";
8
8
  import { HumanName } from "../../../../common/types/HumanName";
9
- import { Gender } from "../../../../common/types/Gender";
10
9
  import { ContactPoint } from "../../../../common/types/ContactPoint";
11
10
  import { Address } from "../../../../common/types/Address";
12
11
  import { Period } from "../../../../common/types/Period";
@@ -15,7 +14,6 @@ export declare namespace Contact {
15
14
  interface Raw {
16
15
  relationship: Relationship.Raw[];
17
16
  name: HumanName.Raw;
18
- gender?: Gender.Raw | null;
19
17
  telecoms: ContactPoint.Raw[];
20
18
  addresses: Address.Raw[];
21
19
  period?: Period.Raw | null;
@@ -30,14 +30,12 @@ exports.Contact = void 0;
30
30
  const core = __importStar(require("../../../../../../../../core"));
31
31
  const Relationship_1 = require("../../../../common/types/Relationship");
32
32
  const HumanName_1 = require("../../../../common/types/HumanName");
33
- const Gender_1 = require("../../../../common/types/Gender");
34
33
  const ContactPoint_1 = require("../../../../common/types/ContactPoint");
35
34
  const Address_1 = require("../../../../common/types/Address");
36
35
  const Period_1 = require("../../../../common/types/Period");
37
36
  exports.Contact = core.serialization.object({
38
37
  relationship: core.serialization.list(Relationship_1.Relationship),
39
38
  name: HumanName_1.HumanName,
40
- gender: Gender_1.Gender.optional(),
41
39
  telecoms: core.serialization.list(ContactPoint_1.ContactPoint),
42
40
  addresses: core.serialization.list(Address_1.Address),
43
41
  period: Period_1.Period.optional(),
@@ -16,17 +16,17 @@ import { Address } from "../../../../common/types/Address";
16
16
  import { ContactPoint } from "../../../../common/types/ContactPoint";
17
17
  import { ExternalProvenance } from "./ExternalProvenance";
18
18
  import { Contact } from "./Contact";
19
- import { ExternalProvider } from "./ExternalProvider";
19
+ import { ExternalProvider } from "../../../../common/types/ExternalProvider";
20
20
  import { FilingOrder } from "./FilingOrder";
21
21
  export declare const MutablePatient: core.serialization.ObjectSchema<serializers.preEncounter.patients.v1.MutablePatient.Raw, CandidApi.preEncounter.patients.v1.MutablePatient>;
22
22
  export declare namespace MutablePatient {
23
23
  interface Raw {
24
24
  name: HumanName.Raw;
25
25
  other_names: HumanName.Raw[];
26
- gender: Gender.Raw;
26
+ gender?: Gender.Raw | null;
27
27
  birth_date: string;
28
28
  social_security_number?: string | null;
29
- biological_sex?: Sex.Raw | null;
29
+ biological_sex: Sex.Raw;
30
30
  sexual_orientation?: SexualOrientation.Raw | null;
31
31
  race?: Race.Raw | null;
32
32
  ethnicity?: Ethnicity.Raw | null;
@@ -40,15 +40,15 @@ const Address_1 = require("../../../../common/types/Address");
40
40
  const ContactPoint_1 = require("../../../../common/types/ContactPoint");
41
41
  const ExternalProvenance_1 = require("./ExternalProvenance");
42
42
  const Contact_1 = require("./Contact");
43
- const ExternalProvider_1 = require("./ExternalProvider");
43
+ const ExternalProvider_1 = require("../../../../common/types/ExternalProvider");
44
44
  const FilingOrder_1 = require("./FilingOrder");
45
45
  exports.MutablePatient = core.serialization.object({
46
46
  name: HumanName_1.HumanName,
47
47
  otherNames: core.serialization.property("other_names", core.serialization.list(HumanName_1.HumanName)),
48
- gender: Gender_1.Gender,
48
+ gender: Gender_1.Gender.optional(),
49
49
  birthDate: core.serialization.property("birth_date", core.serialization.string()),
50
50
  socialSecurityNumber: core.serialization.property("social_security_number", core.serialization.string().optional()),
51
- biologicalSex: core.serialization.property("biological_sex", Sex_1.Sex.optional()),
51
+ biologicalSex: core.serialization.property("biological_sex", Sex_1.Sex),
52
52
  sexualOrientation: core.serialization.property("sexual_orientation", SexualOrientation_1.SexualOrientation.optional()),
53
53
  race: Race_1.Race.optional(),
54
54
  ethnicity: Ethnicity_1.Ethnicity.optional(),
@@ -2,7 +2,6 @@ export * from "./PatientId";
2
2
  export * from "./MaritalStatus";
3
3
  export * from "./ExternalProvenance";
4
4
  export * from "./Contact";
5
- export * from "./ExternalProvider";
6
5
  export * from "./FilingOrder";
7
6
  export * from "./MutablePatient";
8
7
  export * from "./Patient";
@@ -18,7 +18,6 @@ __exportStar(require("./PatientId"), exports);
18
18
  __exportStar(require("./MaritalStatus"), exports);
19
19
  __exportStar(require("./ExternalProvenance"), exports);
20
20
  __exportStar(require("./Contact"), exports);
21
- __exportStar(require("./ExternalProvider"), exports);
22
21
  __exportStar(require("./FilingOrder"), exports);
23
22
  __exportStar(require("./MutablePatient"), exports);
24
23
  __exportStar(require("./Patient"), exports);
@@ -27,6 +27,9 @@ export declare namespace ServiceLine {
27
27
  insurance_balance_cents?: number | null;
28
28
  patient_balance_cents?: number | null;
29
29
  paid_amount_cents?: number | null;
30
+ primary_paid_amount_cents?: number | null;
31
+ secondary_paid_amount_cents?: number | null;
32
+ tertiary_paid_amount_cents?: number | null;
30
33
  patient_responsibility_cents?: number | null;
31
34
  diagnosis_id_zero?: DiagnosisId.Raw | null;
32
35
  diagnosis_id_one?: DiagnosisId.Raw | null;
@@ -49,6 +49,9 @@ exports.ServiceLine = core.serialization.object({
49
49
  insuranceBalanceCents: core.serialization.property("insurance_balance_cents", core.serialization.number().optional()),
50
50
  patientBalanceCents: core.serialization.property("patient_balance_cents", core.serialization.number().optional()),
51
51
  paidAmountCents: core.serialization.property("paid_amount_cents", core.serialization.number().optional()),
52
+ primaryPaidAmountCents: core.serialization.property("primary_paid_amount_cents", core.serialization.number().optional()),
53
+ secondaryPaidAmountCents: core.serialization.property("secondary_paid_amount_cents", core.serialization.number().optional()),
54
+ tertiaryPaidAmountCents: core.serialization.property("tertiary_paid_amount_cents", core.serialization.number().optional()),
52
55
  patientResponsibilityCents: core.serialization.property("patient_responsibility_cents", core.serialization.number().optional()),
53
56
  diagnosisIdZero: core.serialization.property("diagnosis_id_zero", DiagnosisId_1.DiagnosisId.optional()),
54
57
  diagnosisIdOne: core.serialization.property("diagnosis_id_one", DiagnosisId_1.DiagnosisId.optional()),
@@ -1,20 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../../../../index";
5
- import * as CandidApi from "../../../../../../../../api/index";
6
- import * as core from "../../../../../../../../core";
7
- import { HumanName } from "../../../../common/types/HumanName";
8
- import { ContactPoint } from "../../../../common/types/ContactPoint";
9
- import { Address } from "../../../../common/types/Address";
10
- import { Period } from "../../../../common/types/Period";
11
- export declare const ExternalProvider: core.serialization.ObjectSchema<serializers.preEncounter.patients.v1.ExternalProvider.Raw, CandidApi.preEncounter.patients.v1.ExternalProvider>;
12
- export declare namespace ExternalProvider {
13
- interface Raw {
14
- name: HumanName.Raw;
15
- npi: string;
16
- telecoms: ContactPoint.Raw[];
17
- addresses: Address.Raw[];
18
- period?: Period.Raw | null;
19
- }
20
- }
@@ -1,20 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../../../../../index";
5
- import * as CandidApi from "../../../../../../../../api/index";
6
- import * as core from "../../../../../../../../core";
7
- import { HumanName } from "../../../../common/types/HumanName";
8
- import { ContactPoint } from "../../../../common/types/ContactPoint";
9
- import { Address } from "../../../../common/types/Address";
10
- import { Period } from "../../../../common/types/Period";
11
- export declare const ExternalProvider: core.serialization.ObjectSchema<serializers.preEncounter.patients.v1.ExternalProvider.Raw, CandidApi.preEncounter.patients.v1.ExternalProvider>;
12
- export declare namespace ExternalProvider {
13
- interface Raw {
14
- name: HumanName.Raw;
15
- npi: string;
16
- telecoms: ContactPoint.Raw[];
17
- addresses: Address.Raw[];
18
- period?: Period.Raw | null;
19
- }
20
- }