candidhealth 0.43.0 → 0.43.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 (176) 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 +5 -239
  4. package/api/resources/chargeCapture/resources/v1/client/Client.js +16 -249
  5. package/api/resources/chargeCapture/resources/v1/client/create.d.ts +7 -1
  6. package/api/resources/chargeCapture/resources/v1/client/create.js +11 -0
  7. package/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
  8. package/api/resources/chargeCapture/resources/v1/client/index.js +2 -2
  9. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +8 -0
  10. package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -118
  11. package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +1 -118
  12. package/api/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.d.ts → updatePostBilledChanges.d.ts} +6 -6
  13. package/api/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.js → updatePostBilledChanges.js} +3 -3
  14. package/api/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +6 -0
  15. package/api/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js +5 -0
  16. package/api/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
  17. package/api/resources/chargeCapture/resources/v1/types/index.js +1 -0
  18. package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  19. package/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +3 -1
  20. package/api/resources/contracts/resources/v2/client/Client.js +5 -5
  21. package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  22. package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  23. package/api/resources/diagnoses/client/Client.js +3 -3
  24. package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  25. package/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +1 -1
  26. package/api/resources/encounterAttachments/resources/v1/client/Client.js +4 -4
  27. package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +3 -1
  28. package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +2 -0
  29. package/api/resources/encounterProviders/resources/v2/client/Client.d.ts +66 -8
  30. package/api/resources/encounterProviders/resources/v2/client/Client.js +78 -20
  31. package/api/resources/encounters/resources/v4/client/Client.d.ts +100 -110
  32. package/api/resources/encounters/resources/v4/client/Client.js +105 -115
  33. package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +83 -9
  34. package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -97
  35. package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  36. package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  37. package/api/resources/exports/resources/v3/client/Client.js +1 -1
  38. package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  39. package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  40. package/api/resources/guarantor/resources/v1/client/Client.d.ts +21 -1
  41. package/api/resources/guarantor/resources/v1/client/Client.js +24 -4
  42. package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  43. package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  44. package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  45. package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  46. package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  47. package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  48. package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  49. package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  50. package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  51. package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  52. package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  53. package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  54. package/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  55. package/api/resources/payers/resources/v3/client/Client.js +2 -2
  56. package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  57. package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  58. package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  59. package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  60. package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  61. package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  62. package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  63. package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  64. package/api/resources/serviceFacility/client/Client.js +1 -1
  65. package/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -1
  66. package/api/resources/serviceLines/resources/v2/client/Client.js +7 -4
  67. package/api/resources/superbills/resources/v1/client/Client.js +1 -1
  68. package/api/resources/tasks/resources/v3/client/Client.js +5 -5
  69. package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  70. package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
  71. package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
  72. package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -239
  73. package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +16 -249
  74. package/dist/api/resources/chargeCapture/resources/v1/client/create.d.ts +7 -1
  75. package/dist/api/resources/chargeCapture/resources/v1/client/create.js +11 -0
  76. package/dist/api/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
  77. package/dist/api/resources/chargeCapture/resources/v1/client/index.js +2 -2
  78. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +8 -0
  79. package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -118
  80. package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +1 -118
  81. package/dist/api/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.d.ts → updatePostBilledChanges.d.ts} +6 -6
  82. package/dist/api/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.js → updatePostBilledChanges.js} +3 -3
  83. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +6 -0
  84. package/dist/api/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js +5 -0
  85. package/dist/api/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
  86. package/dist/api/resources/chargeCapture/resources/v1/types/index.js +1 -0
  87. package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
  88. package/dist/api/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +3 -1
  89. package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
  90. package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
  91. package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
  92. package/dist/api/resources/diagnoses/client/Client.js +3 -3
  93. package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
  94. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +1 -1
  95. package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +4 -4
  96. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +3 -1
  97. package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +2 -0
  98. package/dist/api/resources/encounterProviders/resources/v2/client/Client.d.ts +66 -8
  99. package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +78 -20
  100. package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +100 -110
  101. package/dist/api/resources/encounters/resources/v4/client/Client.js +105 -115
  102. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +83 -9
  103. package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -97
  104. package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
  105. package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
  106. package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
  107. package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
  108. package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
  109. package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +21 -1
  110. package/dist/api/resources/guarantor/resources/v1/client/Client.js +24 -4
  111. package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
  112. package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
  113. package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
  114. package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
  115. package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
  116. package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
  117. package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
  118. package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
  119. package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
  120. package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
  121. package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
  122. package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
  123. package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
  124. package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
  125. package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
  126. package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
  127. package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
  128. package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
  129. package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
  130. package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
  131. package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
  132. package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
  133. package/dist/api/resources/serviceFacility/client/Client.js +1 -1
  134. package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -1
  135. package/dist/api/resources/serviceLines/resources/v2/client/Client.js +7 -4
  136. package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
  137. package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
  138. package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
  139. package/dist/serialization/resources/chargeCapture/resources/v1/client/create.d.ts +6 -1
  140. package/dist/serialization/resources/chargeCapture/resources/v1/client/create.js +6 -0
  141. package/dist/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
  142. package/dist/serialization/resources/chargeCapture/resources/v1/client/index.js +2 -2
  143. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +2 -0
  144. package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.js +2 -0
  145. package/dist/serialization/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.d.ts → updatePostBilledChanges.d.ts} +6 -1
  146. package/dist/serialization/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.js → updatePostBilledChanges.js} +5 -3
  147. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +12 -0
  148. package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js +43 -0
  149. package/dist/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
  150. package/dist/serialization/resources/chargeCapture/resources/v1/types/index.js +1 -0
  151. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +3 -1
  152. package/dist/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.js +3 -1
  153. package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +1 -1
  154. package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +1 -1
  155. package/dist/version.d.ts +1 -1
  156. package/dist/version.js +1 -1
  157. package/package.json +1 -1
  158. package/reference.md +181 -358
  159. package/serialization/resources/chargeCapture/resources/v1/client/create.d.ts +6 -1
  160. package/serialization/resources/chargeCapture/resources/v1/client/create.js +6 -0
  161. package/serialization/resources/chargeCapture/resources/v1/client/index.d.ts +1 -1
  162. package/serialization/resources/chargeCapture/resources/v1/client/index.js +2 -2
  163. package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +2 -0
  164. package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.js +2 -0
  165. package/serialization/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.d.ts → updatePostBilledChanges.d.ts} +6 -1
  166. package/serialization/resources/chargeCapture/resources/v1/client/{updatePostBilledChange.js → updatePostBilledChanges.js} +5 -3
  167. package/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.d.ts +12 -0
  168. package/serialization/resources/chargeCapture/resources/v1/types/ChargeExternalIdConflictErrorMessage.js +43 -0
  169. package/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +1 -0
  170. package/serialization/resources/chargeCapture/resources/v1/types/index.js +1 -0
  171. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.d.ts +3 -1
  172. package/serialization/resources/chargeCaptureBundles/resources/v1/types/ChargeCaptureClaimCreation.js +3 -1
  173. package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.d.ts +1 -1
  174. package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachmentType.js +1 -1
  175. package/version.d.ts +1 -1
  176. package/version.js +1 -1
package/reference.md CHANGED
@@ -419,127 +419,7 @@ await client.chargeCaptureBundles.v1.getAll({
419
419
 
420
420
  ```typescript
421
421
  await client.chargeCapture.v1.create({
422
- data: {
423
- diagnoses: [],
424
- interventions: [],
425
- externalClaimSubmission: {
426
- claimCreatedAt: "2023-01-01T12:00:00.000000Z",
427
- patientControlNumber: "PATIENT_CONTROL_NUMBER",
428
- submissionRecords: [
429
- {
430
- submittedAt: "2023-01-01T13:00:00.000000Z",
431
- claimFrequencyCode: "1",
432
- payerResponsibility: "primary",
433
- intendedSubmissionMedium: "electronic",
434
- },
435
- {
436
- submittedAt: "2023-01-04T12:00:00.000000Z",
437
- claimFrequencyCode: "7",
438
- payerResponsibility: "primary",
439
- intendedSubmissionMedium: "paper",
440
- },
441
- ],
442
- },
443
- serviceLines: [],
444
- patientHistories: [],
445
- billingNotes: [],
446
- benefitsAssignedToProvider: true,
447
- priorAuthorizationNumber: CandidApi.PriorAuthorizationNumber("string"),
448
- externalId: CandidApi.EncounterExternalId("string"),
449
- dateOfService: "2023-01-15",
450
- tagIds: [],
451
- clinicalNotes: [],
452
- payToAddress: {
453
- address1: "123 Main St",
454
- address2: "Apt 1",
455
- city: "New York",
456
- state: "NY",
457
- zipCode: "10001",
458
- zipPlusFourCode: "1234",
459
- },
460
- billableStatus: "BILLABLE",
461
- responsibleParty: "INSURANCE_PAY",
462
- providerAcceptsAssignment: true,
463
- synchronicity: "Synchronous",
464
- placeOfServiceCode: "01",
465
- appointmentType: "string",
466
- endDateOfService: "2023-01-15",
467
- subscriberPrimary: {
468
- insuranceCard: {
469
- memberId: "string",
470
- payerName: "string",
471
- payerId: "string",
472
- },
473
- patientRelationshipToSubscriberCode: "01",
474
- firstName: "string",
475
- lastName: "string",
476
- gender: "male",
477
- },
478
- subscriberSecondary: {
479
- insuranceCard: {
480
- memberId: "string",
481
- payerName: "string",
482
- payerId: "string",
483
- },
484
- patientRelationshipToSubscriberCode: "01",
485
- firstName: "string",
486
- lastName: "string",
487
- gender: "male",
488
- },
489
- subscriberTertiary: {
490
- insuranceCard: {
491
- memberId: "string",
492
- payerName: "string",
493
- payerId: "string",
494
- },
495
- patientRelationshipToSubscriberCode: "01",
496
- firstName: "string",
497
- lastName: "string",
498
- gender: "male",
499
- },
500
- additionalInformation: "string",
501
- serviceAuthorizationExceptionCode: "1",
502
- admissionDate: "2023-01-15",
503
- dischargeDate: "2023-01-15",
504
- onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
505
- lastMenstrualPeriodDate: "2023-01-15",
506
- delayReasonCode: "1",
507
- patient: {},
508
- patientAuthorizedRelease: true,
509
- schemaInstances: [],
510
- vitals: {
511
- heightIn: 70,
512
- weightLbs: 165,
513
- bloodPressureSystolicMmhg: 115,
514
- bloodPressureDiastolicMmhg: 85,
515
- bodyTemperatureF: 98,
516
- hemoglobinGdl: 15.1,
517
- hematocritPct: 51.2,
518
- },
519
- existingMedications: [],
520
- renderingProvider: {},
521
- serviceFacility: {
522
- organizationName: "Test Organization",
523
- address: {
524
- address1: "123 Main St",
525
- address2: "Apt 1",
526
- city: "New York",
527
- state: "NY",
528
- zipCode: "10001",
529
- zipPlusFourCode: "1234",
530
- },
531
- },
532
- guarantor: {},
533
- billingProvider: {},
534
- supervisingProvider: {},
535
- referringProvider: {},
536
- initialReferringProvider: {},
537
- referralNumber: "string",
538
- epsdtReferral: {
539
- conditionIndicator1: "AV",
540
- },
541
- claimSupplementalInformation: [],
542
- },
422
+ data: {},
543
423
  chargeExternalId: "string",
544
424
  ehrSourceUrl: "string",
545
425
  patientExternalId: "string",
@@ -641,127 +521,7 @@ await client.chargeCapture.v1.delete(CandidApi.ChargeCaptureId("d5e9c84f-c2b2-4b
641
521
 
642
522
  ```typescript
643
523
  await client.chargeCapture.v1.update(CandidApi.ChargeCaptureId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
644
- data: {
645
- diagnoses: [],
646
- interventions: [],
647
- externalClaimSubmission: {
648
- claimCreatedAt: "2023-01-01T12:00:00.000000Z",
649
- patientControlNumber: "PATIENT_CONTROL_NUMBER",
650
- submissionRecords: [
651
- {
652
- submittedAt: "2023-01-01T13:00:00.000000Z",
653
- claimFrequencyCode: "1",
654
- payerResponsibility: "primary",
655
- intendedSubmissionMedium: "electronic",
656
- },
657
- {
658
- submittedAt: "2023-01-04T12:00:00.000000Z",
659
- claimFrequencyCode: "7",
660
- payerResponsibility: "primary",
661
- intendedSubmissionMedium: "paper",
662
- },
663
- ],
664
- },
665
- serviceLines: [],
666
- patientHistories: [],
667
- billingNotes: [],
668
- benefitsAssignedToProvider: true,
669
- priorAuthorizationNumber: CandidApi.PriorAuthorizationNumber("string"),
670
- externalId: CandidApi.EncounterExternalId("string"),
671
- dateOfService: "2023-01-15",
672
- tagIds: [],
673
- clinicalNotes: [],
674
- payToAddress: {
675
- address1: "123 Main St",
676
- address2: "Apt 1",
677
- city: "New York",
678
- state: "NY",
679
- zipCode: "10001",
680
- zipPlusFourCode: "1234",
681
- },
682
- billableStatus: "BILLABLE",
683
- responsibleParty: "INSURANCE_PAY",
684
- providerAcceptsAssignment: true,
685
- synchronicity: "Synchronous",
686
- placeOfServiceCode: "01",
687
- appointmentType: "string",
688
- endDateOfService: "2023-01-15",
689
- subscriberPrimary: {
690
- insuranceCard: {
691
- memberId: "string",
692
- payerName: "string",
693
- payerId: "string",
694
- },
695
- patientRelationshipToSubscriberCode: "01",
696
- firstName: "string",
697
- lastName: "string",
698
- gender: "male",
699
- },
700
- subscriberSecondary: {
701
- insuranceCard: {
702
- memberId: "string",
703
- payerName: "string",
704
- payerId: "string",
705
- },
706
- patientRelationshipToSubscriberCode: "01",
707
- firstName: "string",
708
- lastName: "string",
709
- gender: "male",
710
- },
711
- subscriberTertiary: {
712
- insuranceCard: {
713
- memberId: "string",
714
- payerName: "string",
715
- payerId: "string",
716
- },
717
- patientRelationshipToSubscriberCode: "01",
718
- firstName: "string",
719
- lastName: "string",
720
- gender: "male",
721
- },
722
- additionalInformation: "string",
723
- serviceAuthorizationExceptionCode: "1",
724
- admissionDate: "2023-01-15",
725
- dischargeDate: "2023-01-15",
726
- onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
727
- lastMenstrualPeriodDate: "2023-01-15",
728
- delayReasonCode: "1",
729
- patient: {},
730
- patientAuthorizedRelease: true,
731
- schemaInstances: [],
732
- vitals: {
733
- heightIn: 70,
734
- weightLbs: 165,
735
- bloodPressureSystolicMmhg: 115,
736
- bloodPressureDiastolicMmhg: 85,
737
- bodyTemperatureF: 98,
738
- hemoglobinGdl: 15.1,
739
- hematocritPct: 51.2,
740
- },
741
- existingMedications: [],
742
- renderingProvider: {},
743
- serviceFacility: {
744
- organizationName: "Test Organization",
745
- address: {
746
- address1: "123 Main St",
747
- address2: "Apt 1",
748
- city: "New York",
749
- state: "NY",
750
- zipCode: "10001",
751
- zipPlusFourCode: "1234",
752
- },
753
- },
754
- guarantor: {},
755
- billingProvider: {},
756
- supervisingProvider: {},
757
- referringProvider: {},
758
- initialReferringProvider: {},
759
- referralNumber: "string",
760
- epsdtReferral: {
761
- conditionIndicator1: "AV",
762
- },
763
- claimSupplementalInformation: [],
764
- },
524
+ data: {},
765
525
  chargeExternalId: "string",
766
526
  ehrSourceUrl: "string",
767
527
  patientExternalId: "string",
@@ -939,7 +699,7 @@ await client.chargeCapture.v1.getAll({
939
699
  </dl>
940
700
  </details>
941
701
 
942
- <details><summary><code>client.chargeCapture.v1.<a href="/src/api/resources/chargeCapture/resources/v1/client/Client.ts">updatePostBilledChange</a>(chargeCaptureChangeId, { ...params }) -> core.APIResponse<CandidApi.ChargeCapturePostBilledChange, CandidApi.chargeCapture.v1.updatePostBilledChange.Error></code></summary>
702
+ <details><summary><code>client.chargeCapture.v1.<a href="/src/api/resources/chargeCapture/resources/v1/client/Client.ts">updatePostBilledChanges</a>({ ...params }) -> core.APIResponse<CandidApi.ChargeCapturePostBilledChange[], CandidApi.chargeCapture.v1.updatePostBilledChanges.Error></code></summary>
943
703
  <dl>
944
704
  <dd>
945
705
 
@@ -952,12 +712,10 @@ await client.chargeCapture.v1.getAll({
952
712
  <dd>
953
713
 
954
714
  ```typescript
955
- await client.chargeCapture.v1.updatePostBilledChange(
956
- CandidApi.ChargeCapturePostBilledChangeId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
957
- {
958
- resolved: true,
959
- },
960
- );
715
+ await client.chargeCapture.v1.updatePostBilledChanges({
716
+ chargeCaptureChangeIds: [CandidApi.ChargeCapturePostBilledChangeId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
717
+ resolved: true,
718
+ });
961
719
  ```
962
720
 
963
721
  </dd>
@@ -973,14 +731,6 @@ await client.chargeCapture.v1.updatePostBilledChange(
973
731
  <dl>
974
732
  <dd>
975
733
 
976
- **chargeCaptureChangeId:** `CandidApi.ChargeCapturePostBilledChangeId`
977
-
978
- </dd>
979
- </dl>
980
-
981
- <dl>
982
- <dd>
983
-
984
734
  **request:** `CandidApi.chargeCapture.v1.ChargeCapturePostBilledChangeUpdate`
985
735
 
986
736
  </dd>
@@ -2213,7 +1963,7 @@ await client.encounterAttachments.v1.get(CandidApi.EncounterId("d5e9c84f-c2b2-4b
2213
1963
  <dd>
2214
1964
 
2215
1965
  Uploads a file to the encounter. The file will be stored in the
2216
- encounter's attachments. The maximum file size is 25MB.
1966
+ encounter's attachments.
2217
1967
 
2218
1968
  </dd>
2219
1969
  </dl>
@@ -2359,7 +2109,21 @@ await client.encounterAttachments.v1.delete(CandidApi.EncounterId("d5e9c84f-c2b2
2359
2109
  ```typescript
2360
2110
  await client.encounterProviders.v2.updateReferringProvider(
2361
2111
  CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
2362
- {},
2112
+ {
2113
+ npi: "string",
2114
+ taxonomyCode: "string",
2115
+ address: {
2116
+ address1: "123 Main St",
2117
+ address2: "Apt 1",
2118
+ city: "New York",
2119
+ state: "NY",
2120
+ zipCode: "10001",
2121
+ zipPlusFourCode: "1234",
2122
+ },
2123
+ firstName: "string",
2124
+ lastName: "string",
2125
+ organizationName: "string",
2126
+ },
2363
2127
  );
2364
2128
  ```
2365
2129
 
@@ -2418,7 +2182,22 @@ await client.encounterProviders.v2.updateReferringProvider(
2418
2182
  ```typescript
2419
2183
  await client.encounterProviders.v2.updateInitialReferringProvider(
2420
2184
  CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
2421
- {},
2185
+ {
2186
+ npi: "string",
2187
+ taxonomyCode: "string",
2188
+ address: {
2189
+ address1: "123 Main St",
2190
+ address2: "Apt 1",
2191
+ city: "New York",
2192
+ state: "NY",
2193
+ zipCode: "10001",
2194
+ zipPlusFourCode: "1234",
2195
+ },
2196
+ qualifier: "DQ",
2197
+ firstName: "string",
2198
+ lastName: "string",
2199
+ organizationName: "string",
2200
+ },
2422
2201
  );
2423
2202
  ```
2424
2203
 
@@ -2477,7 +2256,21 @@ await client.encounterProviders.v2.updateInitialReferringProvider(
2477
2256
  ```typescript
2478
2257
  await client.encounterProviders.v2.updateSupervisingProvider(
2479
2258
  CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
2480
- {},
2259
+ {
2260
+ npi: "string",
2261
+ taxonomyCode: "string",
2262
+ address: {
2263
+ address1: "123 Main St",
2264
+ address2: "Apt 1",
2265
+ city: "New York",
2266
+ state: "NY",
2267
+ zipCode: "10001",
2268
+ zipPlusFourCode: "1234",
2269
+ },
2270
+ firstName: "string",
2271
+ lastName: "string",
2272
+ organizationName: "string",
2273
+ },
2481
2274
  );
2482
2275
  ```
2483
2276
 
@@ -2547,6 +2340,9 @@ await client.encounterProviders.v2.updateOrderingProvider(
2547
2340
  zipCode: "10001",
2548
2341
  zipPlusFourCode: "1234",
2549
2342
  },
2343
+ firstName: "string",
2344
+ lastName: "string",
2345
+ organizationName: "string",
2550
2346
  },
2551
2347
  );
2552
2348
  ```
@@ -2617,6 +2413,9 @@ await client.encounterProviders.v2.createReferringProvider(
2617
2413
  zipCode: "10001",
2618
2414
  zipPlusFourCode: "1234",
2619
2415
  },
2416
+ firstName: "string",
2417
+ lastName: "string",
2418
+ organizationName: "string",
2620
2419
  },
2621
2420
  );
2622
2421
  ```
@@ -2688,6 +2487,9 @@ await client.encounterProviders.v2.createInitialReferringProvider(
2688
2487
  zipPlusFourCode: "1234",
2689
2488
  },
2690
2489
  qualifier: "DQ",
2490
+ firstName: "string",
2491
+ lastName: "string",
2492
+ organizationName: "string",
2691
2493
  },
2692
2494
  );
2693
2495
  ```
@@ -2758,6 +2560,9 @@ await client.encounterProviders.v2.createSupervisingProvider(
2758
2560
  zipCode: "10001",
2759
2561
  zipPlusFourCode: "1234",
2760
2562
  },
2563
+ firstName: "string",
2564
+ lastName: "string",
2565
+ organizationName: "string",
2761
2566
  },
2762
2567
  );
2763
2568
  ```
@@ -2828,6 +2633,9 @@ await client.encounterProviders.v2.createOrderingProvider(
2828
2633
  zipCode: "10001",
2829
2634
  zipPlusFourCode: "1234",
2830
2635
  },
2636
+ firstName: "string",
2637
+ lastName: "string",
2638
+ organizationName: "string",
2831
2639
  },
2832
2640
  );
2833
2641
  ```
@@ -3244,6 +3052,9 @@ await client.encounters.v4.create({
3244
3052
  npi: "string",
3245
3053
  taxonomyCode: "string",
3246
3054
  providerCommercialLicenseType: "0",
3055
+ firstName: "string",
3056
+ lastName: "string",
3057
+ organizationName: "string",
3247
3058
  },
3248
3059
  renderingProvider: {
3249
3060
  npi: "string",
@@ -3256,6 +3067,9 @@ await client.encounters.v4.create({
3256
3067
  zipCode: "10001",
3257
3068
  zipPlusFourCode: "1234",
3258
3069
  },
3070
+ firstName: "string",
3071
+ lastName: "string",
3072
+ organizationName: "string",
3259
3073
  },
3260
3074
  referringProvider: {
3261
3075
  npi: "string",
@@ -3268,6 +3082,9 @@ await client.encounters.v4.create({
3268
3082
  zipCode: "10001",
3269
3083
  zipPlusFourCode: "1234",
3270
3084
  },
3085
+ firstName: "string",
3086
+ lastName: "string",
3087
+ organizationName: "string",
3271
3088
  },
3272
3089
  initialReferringProvider: {
3273
3090
  npi: "string",
@@ -3281,6 +3098,9 @@ await client.encounters.v4.create({
3281
3098
  zipPlusFourCode: "1234",
3282
3099
  },
3283
3100
  qualifier: "DQ",
3101
+ firstName: "string",
3102
+ lastName: "string",
3103
+ organizationName: "string",
3284
3104
  },
3285
3105
  supervisingProvider: {
3286
3106
  npi: "string",
@@ -3293,6 +3113,9 @@ await client.encounters.v4.create({
3293
3113
  zipCode: "10001",
3294
3114
  zipPlusFourCode: "1234",
3295
3115
  },
3116
+ firstName: "string",
3117
+ lastName: "string",
3118
+ organizationName: "string",
3296
3119
  },
3297
3120
  serviceFacility: {
3298
3121
  organizationName: "string",
@@ -3312,8 +3135,27 @@ await client.encounters.v4.create({
3312
3135
  memberId: "string",
3313
3136
  payerName: "string",
3314
3137
  payerId: "string",
3138
+ rxBin: "string",
3139
+ rxPcn: "string",
3140
+ imageUrlFront: "string",
3141
+ imageUrlBack: "string",
3142
+ emrPayerCrosswalk: "HEALTHIE",
3143
+ groupNumber: "string",
3144
+ planName: "string",
3145
+ planType: "09",
3146
+ insuranceType: "01",
3147
+ payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
3315
3148
  },
3316
3149
  patientRelationshipToSubscriberCode: "01",
3150
+ dateOfBirth: "2023-01-15",
3151
+ address: {
3152
+ address1: "123 Main St",
3153
+ address2: "Apt 1",
3154
+ city: "New York",
3155
+ state: "NY",
3156
+ zipCode: "10001",
3157
+ zipPlusFourCode: "1234",
3158
+ },
3317
3159
  firstName: "string",
3318
3160
  lastName: "string",
3319
3161
  gender: "male",
@@ -3323,8 +3165,27 @@ await client.encounters.v4.create({
3323
3165
  memberId: "string",
3324
3166
  payerName: "string",
3325
3167
  payerId: "string",
3168
+ rxBin: "string",
3169
+ rxPcn: "string",
3170
+ imageUrlFront: "string",
3171
+ imageUrlBack: "string",
3172
+ emrPayerCrosswalk: "HEALTHIE",
3173
+ groupNumber: "string",
3174
+ planName: "string",
3175
+ planType: "09",
3176
+ insuranceType: "01",
3177
+ payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
3326
3178
  },
3327
3179
  patientRelationshipToSubscriberCode: "01",
3180
+ dateOfBirth: "2023-01-15",
3181
+ address: {
3182
+ address1: "123 Main St",
3183
+ address2: "Apt 1",
3184
+ city: "New York",
3185
+ state: "NY",
3186
+ zipCode: "10001",
3187
+ zipPlusFourCode: "1234",
3188
+ },
3328
3189
  firstName: "string",
3329
3190
  lastName: "string",
3330
3191
  gender: "male",
@@ -3334,8 +3195,27 @@ await client.encounters.v4.create({
3334
3195
  memberId: "string",
3335
3196
  payerName: "string",
3336
3197
  payerId: "string",
3198
+ rxBin: "string",
3199
+ rxPcn: "string",
3200
+ imageUrlFront: "string",
3201
+ imageUrlBack: "string",
3202
+ emrPayerCrosswalk: "HEALTHIE",
3203
+ groupNumber: "string",
3204
+ planName: "string",
3205
+ planType: "09",
3206
+ insuranceType: "01",
3207
+ payerPlanGroupId: CandidApi.PayerPlanGroupId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
3337
3208
  },
3338
3209
  patientRelationshipToSubscriberCode: "01",
3210
+ dateOfBirth: "2023-01-15",
3211
+ address: {
3212
+ address1: "123 Main St",
3213
+ address2: "Apt 1",
3214
+ city: "New York",
3215
+ state: "NY",
3216
+ zipCode: "10001",
3217
+ zipPlusFourCode: "1234",
3218
+ },
3339
3219
  firstName: "string",
3340
3220
  lastName: "string",
3341
3221
  gender: "male",
@@ -3448,6 +3328,8 @@ await client.encounters.v4.create({
3448
3328
  referralNumber: "string",
3449
3329
  epsdtReferral: {
3450
3330
  conditionIndicator1: "AV",
3331
+ conditionIndicator2: "AV",
3332
+ conditionIndicator3: "AV",
3451
3333
  },
3452
3334
  claimSupplementalInformation: [
3453
3335
  {
@@ -3616,6 +3498,9 @@ await client.encounters.v4.createFromPreEncounterPatient({
3616
3498
  npi: "string",
3617
3499
  taxonomyCode: "string",
3618
3500
  providerCommercialLicenseType: "0",
3501
+ firstName: "string",
3502
+ lastName: "string",
3503
+ organizationName: "string",
3619
3504
  },
3620
3505
  renderingProvider: {
3621
3506
  npi: "string",
@@ -3628,6 +3513,9 @@ await client.encounters.v4.createFromPreEncounterPatient({
3628
3513
  zipCode: "10001",
3629
3514
  zipPlusFourCode: "1234",
3630
3515
  },
3516
+ firstName: "string",
3517
+ lastName: "string",
3518
+ organizationName: "string",
3631
3519
  },
3632
3520
  initialReferringProvider: {
3633
3521
  npi: "string",
@@ -3641,6 +3529,9 @@ await client.encounters.v4.createFromPreEncounterPatient({
3641
3529
  zipPlusFourCode: "1234",
3642
3530
  },
3643
3531
  qualifier: "DQ",
3532
+ firstName: "string",
3533
+ lastName: "string",
3534
+ organizationName: "string",
3644
3535
  },
3645
3536
  supervisingProvider: {
3646
3537
  npi: "string",
@@ -3653,6 +3544,9 @@ await client.encounters.v4.createFromPreEncounterPatient({
3653
3544
  zipCode: "10001",
3654
3545
  zipPlusFourCode: "1234",
3655
3546
  },
3547
+ firstName: "string",
3548
+ lastName: "string",
3549
+ organizationName: "string",
3656
3550
  },
3657
3551
  serviceFacility: {
3658
3552
  organizationName: "string",
@@ -3864,102 +3758,6 @@ await client.encounters.v4.createFromPreEncounterPatient({
3864
3758
  await client.encounters.v4.update(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
3865
3759
  diagnosisIds: [CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
3866
3760
  placeOfServiceCodeAsSubmitted: "01",
3867
- benefitsAssignedToProvider: true,
3868
- priorAuthorizationNumber: CandidApi.PriorAuthorizationNumber("string"),
3869
- externalId: CandidApi.EncounterExternalId("string"),
3870
- dateOfService: "2023-01-15",
3871
- tagIds: [],
3872
- clinicalNotes: [],
3873
- payToAddress: {
3874
- address1: "123 Main St",
3875
- address2: "Apt 1",
3876
- city: "New York",
3877
- state: "NY",
3878
- zipCode: "10001",
3879
- zipPlusFourCode: "1234",
3880
- },
3881
- billableStatus: "BILLABLE",
3882
- responsibleParty: "INSURANCE_PAY",
3883
- providerAcceptsAssignment: true,
3884
- synchronicity: "Synchronous",
3885
- placeOfServiceCode: "01",
3886
- appointmentType: "string",
3887
- endDateOfService: "2023-01-15",
3888
- subscriberPrimary: {
3889
- insuranceCard: {
3890
- memberId: "string",
3891
- payerName: "string",
3892
- payerId: "string",
3893
- },
3894
- patientRelationshipToSubscriberCode: "01",
3895
- firstName: "string",
3896
- lastName: "string",
3897
- gender: "male",
3898
- },
3899
- subscriberSecondary: {
3900
- insuranceCard: {
3901
- memberId: "string",
3902
- payerName: "string",
3903
- payerId: "string",
3904
- },
3905
- patientRelationshipToSubscriberCode: "01",
3906
- firstName: "string",
3907
- lastName: "string",
3908
- gender: "male",
3909
- },
3910
- subscriberTertiary: {
3911
- insuranceCard: {
3912
- memberId: "string",
3913
- payerName: "string",
3914
- payerId: "string",
3915
- },
3916
- patientRelationshipToSubscriberCode: "01",
3917
- firstName: "string",
3918
- lastName: "string",
3919
- gender: "male",
3920
- },
3921
- additionalInformation: "string",
3922
- serviceAuthorizationExceptionCode: "1",
3923
- admissionDate: "2023-01-15",
3924
- dischargeDate: "2023-01-15",
3925
- onsetOfCurrentIllnessOrSymptomDate: "2023-01-15",
3926
- lastMenstrualPeriodDate: "2023-01-15",
3927
- delayReasonCode: "1",
3928
- patient: {},
3929
- patientAuthorizedRelease: true,
3930
- schemaInstances: [],
3931
- vitals: {
3932
- heightIn: 70,
3933
- weightLbs: 165,
3934
- bloodPressureSystolicMmhg: 115,
3935
- bloodPressureDiastolicMmhg: 85,
3936
- bodyTemperatureF: 98,
3937
- hemoglobinGdl: 15.1,
3938
- hematocritPct: 51.2,
3939
- },
3940
- existingMedications: [],
3941
- renderingProvider: {},
3942
- serviceFacility: {
3943
- organizationName: "Test Organization",
3944
- address: {
3945
- address1: "123 Main St",
3946
- address2: "Apt 1",
3947
- city: "New York",
3948
- state: "NY",
3949
- zipCode: "10001",
3950
- zipPlusFourCode: "1234",
3951
- },
3952
- },
3953
- guarantor: {},
3954
- billingProvider: {},
3955
- supervisingProvider: {},
3956
- referringProvider: {},
3957
- initialReferringProvider: {},
3958
- referralNumber: "string",
3959
- epsdtReferral: {
3960
- conditionIndicator1: "AV",
3961
- },
3962
- claimSupplementalInformation: [],
3963
3761
  });
3964
3762
  ```
3965
3763
 
@@ -5305,7 +5103,29 @@ Updates a guarantor by its `guarantor_id`.
5305
5103
  <dd>
5306
5104
 
5307
5105
  ```typescript
5308
- await client.guarantor.v1.update(CandidApi.GuarantorId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {});
5106
+ await client.guarantor.v1.update(CandidApi.GuarantorId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
5107
+ firstName: "string",
5108
+ lastName: "string",
5109
+ externalId: "string",
5110
+ dateOfBirth: "2023-01-15",
5111
+ address: {
5112
+ address1: "123 Main St",
5113
+ address2: "Apt 1",
5114
+ city: "New York",
5115
+ state: "NY",
5116
+ zipCode: "10001",
5117
+ zipPlusFourCode: "1234",
5118
+ },
5119
+ phoneNumbers: [
5120
+ {
5121
+ number: "1234567890",
5122
+ type: "Home",
5123
+ },
5124
+ ],
5125
+ phoneConsent: true,
5126
+ email: CandidApi.Email("johndoe@joincandidhealth.com"),
5127
+ emailConsent: true,
5128
+ });
5309
5129
  ```
5310
5130
 
5311
5131
  </dd>
@@ -9326,6 +9146,9 @@ await client.serviceLines.v2.create({
9326
9146
  zipCode: "10001",
9327
9147
  zipPlusFourCode: "1234",
9328
9148
  },
9149
+ firstName: "string",
9150
+ lastName: "string",
9151
+ organizationName: "string",
9329
9152
  },
9330
9153
  testResults: [
9331
9154
  {