candidhealth 0.40.0 → 0.40.1

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 (114) hide show
  1. package/api/resources/auth/resources/v2/client/Client.js +1 -1
  2. package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  3. package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +2 -1
  4. package/api/resources/chargeCapture/resources/v1/client/Client.js +11 -7
  5. package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +6 -1
  6. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  7. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  8. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  9. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  10. package/api/resources/diagnoses/client/Client.js +3 -3
  11. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  12. package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  13. package/api/resources/encounters/resources/v4/client/Client.d.ts +30 -0
  14. package/api/resources/encounters/resources/v4/client/Client.js +35 -5
  15. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +35 -0
  16. package/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
  17. package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -0
  18. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  19. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  20. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  21. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  22. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  23. package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  24. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  25. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  26. package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  27. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  28. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  29. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  30. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  31. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  32. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  33. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  34. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  35. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  36. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  37. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  38. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
  39. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  40. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  41. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  42. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  43. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  44. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  45. package/api/resources/serviceFacility/client/Client.js +1 -1
  46. package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  47. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  48. package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  49. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  50. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  51. package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +2 -1
  52. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +11 -7
  53. package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +6 -1
  54. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  55. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  56. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  57. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  58. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  59. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  60. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
  61. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +30 -0
  62. package/dist/api/resources/encounters/resources/v4/client/Client.js +35 -5
  63. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +35 -0
  64. package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
  65. package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -0
  66. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  67. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  68. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  69. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  70. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  71. package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
  72. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  73. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  74. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
  75. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  76. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  77. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  78. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  79. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  80. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  81. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  82. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  83. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  84. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  85. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  86. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +9 -9
  87. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  88. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  89. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  90. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  91. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  92. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  93. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  94. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
  95. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  96. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  97. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
  98. package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
  99. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  100. package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  101. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +1 -0
  102. package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +1 -0
  103. package/dist/version.d.ts +1 -1
  104. package/dist/version.js +1 -1
  105. package/package.json +1 -1
  106. package/reference.md +31 -0
  107. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
  108. package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
  109. package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
  110. package/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
  111. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +1 -0
  112. package/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +1 -0
  113. package/version.d.ts +1 -1
  114. package/version.js +1 -1
package/reference.md CHANGED
@@ -632,6 +632,7 @@ await client.chargeCapture.v1.getAll({
632
632
  status: "planned",
633
633
  chargeExternalId: "string",
634
634
  dateOfService: "2023-01-15",
635
+ excludeBundled: true,
635
636
  });
636
637
  ```
637
638
 
@@ -2915,6 +2916,36 @@ await client.encounters.v4.create({
2915
2916
  lastName: "string",
2916
2917
  gender: "male",
2917
2918
  },
2919
+ subscriberTertiary: {
2920
+ insuranceCard: {
2921
+ memberId: "string",
2922
+ payerName: "string",
2923
+ payerId: "string",
2924
+ rxBin: "string",
2925
+ rxPcn: "string",
2926
+ imageUrlFront: "string",
2927
+ imageUrlBack: "string",
2928
+ emrPayerCrosswalk: "HEALTHIE",
2929
+ groupNumber: "string",
2930
+ planName: "string",
2931
+ planType: "09",
2932
+ insuranceType: "01",
2933
+ payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
2934
+ },
2935
+ patientRelationshipToSubscriberCode: "01",
2936
+ dateOfBirth: "2023-01-15",
2937
+ address: {
2938
+ address1: "123 Main St",
2939
+ address2: "Apt 1",
2940
+ city: "New York",
2941
+ state: "NY",
2942
+ zipCode: "10001",
2943
+ zipPlusFourCode: "1234",
2944
+ },
2945
+ firstName: "string",
2946
+ lastName: "string",
2947
+ gender: "male",
2948
+ },
2918
2949
  priorAuthorizationNumber: CandidApi.PriorAuthorizationNumber("string"),
2919
2950
  responsibleParty: "INSURANCE_PAY",
2920
2951
  diagnoses: [
@@ -39,6 +39,7 @@ export declare namespace EncounterCreate {
39
39
  service_facility?: EncounterServiceFacilityBase.Raw | null;
40
40
  subscriber_primary?: SubscriberCreate.Raw | null;
41
41
  subscriber_secondary?: SubscriberCreate.Raw | null;
42
+ subscriber_tertiary?: SubscriberCreate.Raw | null;
42
43
  prior_authorization_number?: PriorAuthorizationNumber.Raw | null;
43
44
  responsible_party: ResponsiblePartyType.Raw;
44
45
  diagnoses: DiagnosisCreate.Raw[];
@@ -72,6 +72,7 @@ exports.EncounterCreate = core.serialization
72
72
  serviceFacility: core.serialization.property("service_facility", EncounterServiceFacilityBase_1.EncounterServiceFacilityBase.optional()),
73
73
  subscriberPrimary: core.serialization.property("subscriber_primary", SubscriberCreate_1.SubscriberCreate.optional()),
74
74
  subscriberSecondary: core.serialization.property("subscriber_secondary", SubscriberCreate_1.SubscriberCreate.optional()),
75
+ subscriberTertiary: core.serialization.property("subscriber_tertiary", SubscriberCreate_1.SubscriberCreate.optional()),
75
76
  priorAuthorizationNumber: core.serialization.property("prior_authorization_number", PriorAuthorizationNumber_1.PriorAuthorizationNumber.optional()),
76
77
  responsibleParty: core.serialization.property("responsible_party", ResponsiblePartyType_1.ResponsiblePartyType),
77
78
  diagnoses: core.serialization.list(DiagnosisCreate_1.DiagnosisCreate),
@@ -45,6 +45,7 @@ export declare namespace Encounter {
45
45
  service_facility: EncounterServiceFacility.Raw;
46
46
  subscriber_primary?: Subscriber.Raw | null;
47
47
  subscriber_secondary?: Subscriber.Raw | null;
48
+ subscriber_tertiary?: Subscriber.Raw | null;
48
49
  prior_authorization_number?: PriorAuthorizationNumber.Raw | null;
49
50
  responsible_party: ResponsiblePartyType.Raw;
50
51
  url: LinkUrl.Raw;
@@ -78,6 +78,7 @@ exports.Encounter = core.serialization
78
78
  serviceFacility: core.serialization.property("service_facility", EncounterServiceFacility_1.EncounterServiceFacility),
79
79
  subscriberPrimary: core.serialization.property("subscriber_primary", Subscriber_1.Subscriber.optional()),
80
80
  subscriberSecondary: core.serialization.property("subscriber_secondary", Subscriber_1.Subscriber.optional()),
81
+ subscriberTertiary: core.serialization.property("subscriber_tertiary", Subscriber_1.Subscriber.optional()),
81
82
  priorAuthorizationNumber: core.serialization.property("prior_authorization_number", PriorAuthorizationNumber_1.PriorAuthorizationNumber.optional()),
82
83
  responsibleParty: core.serialization.property("responsible_party", ResponsiblePartyType_1.ResponsiblePartyType),
83
84
  url: LinkUrl_1.LinkUrl,
@@ -48,6 +48,7 @@ export declare namespace EncounterOptional {
48
48
  end_date_of_service?: string | null;
49
49
  subscriber_primary?: SubscriberCreate.Raw | null;
50
50
  subscriber_secondary?: SubscriberCreate.Raw | null;
51
+ subscriber_tertiary?: SubscriberCreate.Raw | null;
51
52
  additional_information?: string | null;
52
53
  service_authorization_exception_code?: ServiceAuthorizationExceptionCode.Raw | null;
53
54
  admission_date?: string | null;
@@ -80,6 +80,7 @@ exports.EncounterOptional = core.serialization.object({
80
80
  endDateOfService: core.serialization.property("end_date_of_service", core.serialization.string().optional()),
81
81
  subscriberPrimary: core.serialization.property("subscriber_primary", SubscriberCreate_1.SubscriberCreate.optional()),
82
82
  subscriberSecondary: core.serialization.property("subscriber_secondary", SubscriberCreate_1.SubscriberCreate.optional()),
83
+ subscriberTertiary: core.serialization.property("subscriber_tertiary", SubscriberCreate_1.SubscriberCreate.optional()),
83
84
  additionalInformation: core.serialization.property("additional_information", core.serialization.string().optional()),
84
85
  serviceAuthorizationExceptionCode: core.serialization.property("service_authorization_exception_code", ServiceAuthorizationExceptionCode_1.ServiceAuthorizationExceptionCode.optional()),
85
86
  admissionDate: core.serialization.property("admission_date", core.serialization.string().optional()),
package/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.40.0";
1
+ export declare const SDK_VERSION = "0.40.1";
package/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.40.0";
4
+ exports.SDK_VERSION = "0.40.1";