candidhealth 0.34.6 → 0.35.0
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.
- package/Client.d.ts +3 -0
- package/Client.js +61 -56
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/api/resources/commons/types/ProviderCredentialingSpanId.d.ts +8 -0
- package/api/resources/commons/types/ProviderCredentialingSpanId.js +10 -0
- package/api/resources/commons/types/index.d.ts +1 -0
- package/api/resources/commons/types/index.js +1 -0
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/credentialing/client/Client.d.ts +26 -0
- package/api/resources/credentialing/client/Client.js +17 -0
- package/api/resources/credentialing/client/index.d.ts +1 -0
- package/api/resources/credentialing/client/index.js +2 -0
- package/api/resources/credentialing/index.d.ts +2 -0
- package/api/resources/credentialing/index.js +18 -0
- package/api/resources/credentialing/resources/index.d.ts +1 -0
- package/api/resources/credentialing/resources/index.js +27 -0
- package/api/resources/credentialing/resources/v2/client/Client.d.ts +97 -0
- package/api/resources/credentialing/resources/v2/client/Client.js +413 -0
- package/api/resources/credentialing/resources/v2/client/create.d.ts +34 -0
- package/api/resources/credentialing/resources/v2/client/create.js +69 -0
- package/api/resources/credentialing/resources/v2/client/delete.d.ts +34 -0
- package/api/resources/credentialing/resources/v2/client/delete.js +69 -0
- package/api/resources/credentialing/resources/v2/client/get.d.ts +34 -0
- package/api/resources/credentialing/resources/v2/client/get.js +69 -0
- package/api/resources/credentialing/resources/v2/client/getAll.d.ts +28 -0
- package/api/resources/credentialing/resources/v2/client/getAll.js +58 -0
- package/api/resources/credentialing/resources/v2/client/index.d.ts +6 -0
- package/api/resources/credentialing/resources/v2/client/index.js +35 -0
- package/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +33 -0
- package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +44 -0
- package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +41 -0
- package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +5 -0
- package/api/resources/credentialing/resources/v2/client/requests/index.d.ts +3 -0
- package/api/resources/credentialing/resources/v2/client/requests/index.js +2 -0
- package/api/resources/credentialing/resources/v2/client/update.d.ts +46 -0
- package/api/resources/credentialing/resources/v2/client/update.js +91 -0
- package/api/resources/credentialing/resources/v2/index.d.ts +2 -0
- package/api/resources/credentialing/resources/v2/index.js +18 -0
- package/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +13 -0
- package/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.js +12 -0
- package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +31 -0
- package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +5 -0
- package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +8 -0
- package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +10 -0
- package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +7 -0
- package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +5 -0
- package/api/resources/credentialing/resources/v2/types/index.d.ts +4 -0
- package/api/resources/credentialing/resources/v2/types/index.js +20 -0
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/diagnoses/client/Client.js +3 -3
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/api/resources/encounters/resources/v4/client/Client.d.ts +13 -3
- package/api/resources/encounters/resources/v4/client/Client.js +18 -9
- package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -7
- package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -11
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +10 -0
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +12 -2
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +25 -1
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +23 -1
- package/api/resources/encounters/resources/v4/types/index.d.ts +0 -1
- package/api/resources/encounters/resources/v4/types/index.js +0 -1
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +2 -1
- package/api/resources/individual/types/Patient.d.ts +24 -1
- package/api/resources/individual/types/PatientCreate.d.ts +1 -0
- package/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +27 -0
- package/api/resources/individual/types/PatientNonInsurancePayerInfo.js +5 -0
- package/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +8 -0
- package/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +5 -0
- package/api/resources/individual/types/PatientUpdate.d.ts +2 -0
- package/api/resources/individual/types/index.d.ts +2 -0
- package/api/resources/individual/types/index.js +2 -0
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +2 -17
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +5 -20
- package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +12 -1
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +18 -7
- package/api/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +8 -1
- package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.d.ts +14 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.js +5 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +1 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
- package/api/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
- package/api/resources/organizationProviders/resources/v3/client/Client.d.ts +2 -8
- package/api/resources/organizationProviders/resources/v3/client/Client.js +6 -12
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +8 -46
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +14 -52
- package/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +8 -0
- package/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +5 -0
- package/api/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/common/types/index.js +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +26 -50
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +34 -58
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -0
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +56 -310
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +64 -318
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +28 -155
- package/api/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.d.ts +30 -1
- package/api/resources/serviceLines/resources/v2/client/Client.js +33 -4
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +8 -0
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/api/resources/x12/resources/v1/types/Rarc.d.ts +2 -1
- package/api/resources/x12/resources/v1/types/Rarc.js +1 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +61 -56
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/commons/types/ProviderCredentialingSpanId.d.ts +8 -0
- package/dist/api/resources/commons/types/ProviderCredentialingSpanId.js +10 -0
- package/dist/api/resources/commons/types/index.d.ts +1 -0
- package/dist/api/resources/commons/types/index.js +1 -0
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/credentialing/client/Client.d.ts +26 -0
- package/dist/api/resources/credentialing/client/Client.js +17 -0
- package/dist/api/resources/credentialing/client/index.d.ts +1 -0
- package/dist/api/resources/credentialing/client/index.js +2 -0
- package/dist/api/resources/credentialing/index.d.ts +2 -0
- package/dist/api/resources/credentialing/index.js +18 -0
- package/dist/api/resources/credentialing/resources/index.d.ts +1 -0
- package/dist/api/resources/credentialing/resources/index.js +27 -0
- package/dist/api/resources/credentialing/resources/v2/client/Client.d.ts +97 -0
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +413 -0
- package/dist/api/resources/credentialing/resources/v2/client/create.d.ts +34 -0
- package/dist/api/resources/credentialing/resources/v2/client/create.js +69 -0
- package/dist/api/resources/credentialing/resources/v2/client/delete.d.ts +34 -0
- package/dist/api/resources/credentialing/resources/v2/client/delete.js +69 -0
- package/dist/api/resources/credentialing/resources/v2/client/get.d.ts +34 -0
- package/dist/api/resources/credentialing/resources/v2/client/get.js +69 -0
- package/dist/api/resources/credentialing/resources/v2/client/getAll.d.ts +28 -0
- package/dist/api/resources/credentialing/resources/v2/client/getAll.js +58 -0
- package/dist/api/resources/credentialing/resources/v2/client/index.d.ts +6 -0
- package/dist/api/resources/credentialing/resources/v2/client/index.js +35 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +33 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.js +5 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +44 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js +5 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +41 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +5 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/index.d.ts +3 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/index.js +2 -0
- package/dist/api/resources/credentialing/resources/v2/client/update.d.ts +46 -0
- package/dist/api/resources/credentialing/resources/v2/client/update.js +91 -0
- package/dist/api/resources/credentialing/resources/v2/index.d.ts +2 -0
- package/dist/api/resources/credentialing/resources/v2/index.js +18 -0
- package/dist/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +13 -0
- package/dist/api/resources/credentialing/resources/v2/types/CredentialingSpanStatus.js +12 -0
- package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +31 -0
- package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +5 -0
- package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +8 -0
- package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +10 -0
- package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +7 -0
- package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +5 -0
- package/dist/api/resources/credentialing/resources/v2/types/index.d.ts +4 -0
- package/dist/api/resources/credentialing/resources/v2/types/index.js +20 -0
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/diagnoses/client/Client.js +3 -3
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +13 -3
- package/dist/api/resources/encounters/resources/v4/client/Client.js +18 -9
- package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -7
- package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -11
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +10 -0
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +12 -2
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +25 -1
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +23 -1
- package/dist/api/resources/encounters/resources/v4/types/index.d.ts +0 -1
- package/dist/api/resources/encounters/resources/v4/types/index.js +0 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +2 -1
- package/dist/api/resources/individual/types/Patient.d.ts +24 -1
- package/dist/api/resources/individual/types/PatientCreate.d.ts +1 -0
- package/dist/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +27 -0
- package/dist/api/resources/individual/types/PatientNonInsurancePayerInfo.js +5 -0
- package/dist/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +8 -0
- package/dist/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +5 -0
- package/dist/api/resources/individual/types/PatientUpdate.d.ts +2 -0
- package/dist/api/resources/individual/types/index.d.ts +2 -0
- package/dist/api/resources/individual/types/index.js +2 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +2 -17
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +5 -20
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +12 -1
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +18 -7
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +8 -1
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.d.ts +14 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.js +5 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +1 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.d.ts +2 -8
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +6 -12
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +8 -46
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +14 -52
- package/dist/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +8 -0
- package/dist/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +5 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.js +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +26 -50
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +34 -58
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +56 -310
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +64 -318
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +28 -155
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +30 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +33 -4
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +8 -0
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/x12/resources/v1/types/Rarc.d.ts +2 -1
- package/dist/api/resources/x12/resources/v1/types/Rarc.js +1 -0
- package/dist/serialization/resources/commons/types/ProviderCredentialingSpanId.d.ts +10 -0
- package/dist/serialization/resources/commons/types/ProviderCredentialingSpanId.js +35 -0
- package/dist/serialization/resources/commons/types/index.d.ts +1 -0
- package/dist/serialization/resources/commons/types/index.js +1 -0
- package/dist/serialization/resources/credentialing/index.d.ts +1 -0
- package/dist/serialization/resources/credentialing/index.js +17 -0
- package/dist/serialization/resources/credentialing/resources/index.d.ts +1 -0
- package/dist/serialization/resources/credentialing/resources/index.js +27 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/create.d.ts +20 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/create.js +67 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/delete.d.ts +20 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/delete.js +67 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/get.d.ts +20 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/get.js +67 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/getAll.d.ts +15 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/getAll.js +61 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/index.d.ts +6 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/index.js +35 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +20 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js +41 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +19 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +40 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/requests/index.js +7 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/update.d.ts +30 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/update.js +79 -0
- package/dist/serialization/resources/credentialing/resources/v2/index.d.ts +2 -0
- package/dist/serialization/resources/credentialing/resources/v2/index.js +18 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +10 -0
- package/dist/serialization/resources/{encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → credentialing/resources/v2/types/CredentialingSpanStatus.js} +2 -4
- package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +29 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +50 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +10 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +35 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +14 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +37 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/index.d.ts +4 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/index.js +20 -0
- package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -6
- package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -6
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +0 -1
- package/dist/serialization/resources/encounters/resources/v4/types/index.js +0 -1
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +2 -1
- package/dist/serialization/resources/individual/types/Patient.d.ts +2 -0
- package/dist/serialization/resources/individual/types/Patient.js +2 -0
- package/dist/serialization/resources/individual/types/PatientCreate.d.ts +2 -0
- package/dist/serialization/resources/individual/types/PatientCreate.js +2 -0
- package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +14 -0
- package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfo.js +35 -0
- package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +14 -0
- package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +35 -0
- package/dist/serialization/resources/individual/types/PatientUpdate.d.ts +2 -0
- package/dist/serialization/resources/individual/types/PatientUpdate.js +2 -0
- package/dist/serialization/resources/individual/types/index.d.ts +2 -0
- package/dist/serialization/resources/individual/types/index.js +2 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.js +2 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +2 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +2 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.d.ts +18 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.js +42 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +2 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.js +2 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +14 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +35 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/index.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +3 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +6 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +6 -0
- package/dist/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
- package/dist/serialization/resources/x12/resources/v1/types/Rarc.js +1 -0
- package/package.json +1 -1
- package/reference.md +6630 -1164
- package/serialization/resources/commons/types/ProviderCredentialingSpanId.d.ts +10 -0
- package/serialization/resources/commons/types/ProviderCredentialingSpanId.js +35 -0
- package/serialization/resources/commons/types/index.d.ts +1 -0
- package/serialization/resources/commons/types/index.js +1 -0
- package/serialization/resources/credentialing/index.d.ts +1 -0
- package/serialization/resources/credentialing/index.js +17 -0
- package/serialization/resources/credentialing/resources/index.d.ts +1 -0
- package/serialization/resources/credentialing/resources/index.js +27 -0
- package/serialization/resources/credentialing/resources/v2/client/create.d.ts +20 -0
- package/serialization/resources/credentialing/resources/v2/client/create.js +67 -0
- package/serialization/resources/credentialing/resources/v2/client/delete.d.ts +20 -0
- package/serialization/resources/credentialing/resources/v2/client/delete.js +67 -0
- package/serialization/resources/credentialing/resources/v2/client/get.d.ts +20 -0
- package/serialization/resources/credentialing/resources/v2/client/get.js +67 -0
- package/serialization/resources/credentialing/resources/v2/client/getAll.d.ts +15 -0
- package/serialization/resources/credentialing/resources/v2/client/getAll.js +61 -0
- package/serialization/resources/credentialing/resources/v2/client/index.d.ts +6 -0
- package/serialization/resources/credentialing/resources/v2/client/index.js +35 -0
- package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +20 -0
- package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js +41 -0
- package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +19 -0
- package/serialization/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.js +40 -0
- package/serialization/resources/credentialing/resources/v2/client/requests/index.d.ts +2 -0
- package/serialization/resources/credentialing/resources/v2/client/requests/index.js +7 -0
- package/serialization/resources/credentialing/resources/v2/client/update.d.ts +30 -0
- package/serialization/resources/credentialing/resources/v2/client/update.js +79 -0
- package/serialization/resources/credentialing/resources/v2/index.d.ts +2 -0
- package/serialization/resources/credentialing/resources/v2/index.js +18 -0
- package/serialization/resources/credentialing/resources/v2/types/CredentialingSpanStatus.d.ts +10 -0
- package/serialization/resources/{encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → credentialing/resources/v2/types/CredentialingSpanStatus.js} +2 -4
- package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +29 -0
- package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +50 -0
- package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.d.ts +10 -0
- package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanId.js +35 -0
- package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.d.ts +14 -0
- package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpanPage.js +37 -0
- package/serialization/resources/credentialing/resources/v2/types/index.d.ts +4 -0
- package/serialization/resources/credentialing/resources/v2/types/index.js +20 -0
- package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.d.ts +1 -6
- package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatient.js +0 -6
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +1 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
- package/serialization/resources/encounters/resources/v4/types/index.d.ts +0 -1
- package/serialization/resources/encounters/resources/v4/types/index.js +0 -1
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +2 -1
- package/serialization/resources/individual/types/Patient.d.ts +2 -0
- package/serialization/resources/individual/types/Patient.js +2 -0
- package/serialization/resources/individual/types/PatientCreate.d.ts +2 -0
- package/serialization/resources/individual/types/PatientCreate.js +2 -0
- package/serialization/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +14 -0
- package/serialization/resources/individual/types/PatientNonInsurancePayerInfo.js +35 -0
- package/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +14 -0
- package/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +35 -0
- package/serialization/resources/individual/types/PatientUpdate.d.ts +2 -0
- package/serialization/resources/individual/types/PatientUpdate.js +2 -0
- package/serialization/resources/individual/types/index.d.ts +2 -0
- package/serialization/resources/individual/types/index.js +2 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.js +2 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +2 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +2 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.d.ts +18 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerAddressUpdate.js +42 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.d.ts +2 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayerUpdateRequest.js +2 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/index.js +1 -0
- package/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +14 -0
- package/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.js +35 -0
- package/serialization/resources/preEncounter/resources/common/types/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/common/types/index.js +1 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +2 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.js +1 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +3 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +6 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +6 -0
- package/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
- package/serialization/resources/x12/resources/v1/types/Rarc.js +1 -0
- package/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -6
- package/dist/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -6
- package/dist/serialization/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -12
- package/serialization/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.d.ts +0 -12
- /package/api/resources/{encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.js} +0 -0
- /package/{dist/api/resources/encounters/resources/v4/types/InsurancePayMissingPrimaryCoverageErrorType.js → api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.js} +0 -0
|
@@ -67,7 +67,7 @@ class V1 {
|
|
|
67
67
|
Authorization: yield this._getAuthorizationHeader(),
|
|
68
68
|
"X-Fern-Language": "JavaScript",
|
|
69
69
|
"X-Fern-SDK-Name": "candidhealth",
|
|
70
|
-
"X-Fern-SDK-Version": "0.
|
|
70
|
+
"X-Fern-SDK-Version": "0.35.0",
|
|
71
71
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
72
72
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
73
73
|
},
|
|
@@ -128,7 +128,7 @@ class V1 {
|
|
|
128
128
|
Authorization: yield this._getAuthorizationHeader(),
|
|
129
129
|
"X-Fern-Language": "JavaScript",
|
|
130
130
|
"X-Fern-SDK-Name": "candidhealth",
|
|
131
|
-
"X-Fern-SDK-Version": "0.
|
|
131
|
+
"X-Fern-SDK-Version": "0.35.0",
|
|
132
132
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
133
133
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
134
134
|
},
|
|
@@ -207,7 +207,7 @@ class V1 {
|
|
|
207
207
|
Authorization: yield this._getAuthorizationHeader(),
|
|
208
208
|
"X-Fern-Language": "JavaScript",
|
|
209
209
|
"X-Fern-SDK-Name": "candidhealth",
|
|
210
|
-
"X-Fern-SDK-Version": "0.
|
|
210
|
+
"X-Fern-SDK-Version": "0.35.0",
|
|
211
211
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
212
212
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
213
213
|
},
|
|
@@ -277,7 +277,7 @@ class V1 {
|
|
|
277
277
|
Authorization: yield this._getAuthorizationHeader(),
|
|
278
278
|
"X-Fern-Language": "JavaScript",
|
|
279
279
|
"X-Fern-SDK-Name": "candidhealth",
|
|
280
|
-
"X-Fern-SDK-Version": "0.
|
|
280
|
+
"X-Fern-SDK-Version": "0.35.0",
|
|
281
281
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
282
282
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
283
283
|
},
|
|
@@ -73,7 +73,7 @@ class Diagnoses {
|
|
|
73
73
|
Authorization: yield this._getAuthorizationHeader(),
|
|
74
74
|
"X-Fern-Language": "JavaScript",
|
|
75
75
|
"X-Fern-SDK-Name": "candidhealth",
|
|
76
|
-
"X-Fern-SDK-Version": "0.
|
|
76
|
+
"X-Fern-SDK-Version": "0.35.0",
|
|
77
77
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
78
78
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
79
79
|
},
|
|
@@ -126,7 +126,7 @@ class Diagnoses {
|
|
|
126
126
|
Authorization: yield this._getAuthorizationHeader(),
|
|
127
127
|
"X-Fern-Language": "JavaScript",
|
|
128
128
|
"X-Fern-SDK-Name": "candidhealth",
|
|
129
|
-
"X-Fern-SDK-Version": "0.
|
|
129
|
+
"X-Fern-SDK-Version": "0.35.0",
|
|
130
130
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
131
131
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
132
132
|
},
|
|
@@ -188,7 +188,7 @@ class Diagnoses {
|
|
|
188
188
|
Authorization: yield this._getAuthorizationHeader(),
|
|
189
189
|
"X-Fern-Language": "JavaScript",
|
|
190
190
|
"X-Fern-SDK-Name": "candidhealth",
|
|
191
|
-
"X-Fern-SDK-Version": "0.
|
|
191
|
+
"X-Fern-SDK-Version": "0.35.0",
|
|
192
192
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
193
193
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
194
194
|
},
|
|
@@ -83,7 +83,7 @@ class V2 {
|
|
|
83
83
|
Authorization: yield this._getAuthorizationHeader(),
|
|
84
84
|
"X-Fern-Language": "JavaScript",
|
|
85
85
|
"X-Fern-SDK-Name": "candidhealth",
|
|
86
|
-
"X-Fern-SDK-Version": "0.
|
|
86
|
+
"X-Fern-SDK-Version": "0.35.0",
|
|
87
87
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
88
88
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
89
89
|
},
|
|
@@ -156,7 +156,7 @@ class V2 {
|
|
|
156
156
|
Authorization: yield this._getAuthorizationHeader(),
|
|
157
157
|
"X-Fern-Language": "JavaScript",
|
|
158
158
|
"X-Fern-SDK-Name": "candidhealth",
|
|
159
|
-
"X-Fern-SDK-Version": "0.
|
|
159
|
+
"X-Fern-SDK-Version": "0.35.0",
|
|
160
160
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
161
161
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
162
162
|
},
|
|
@@ -227,7 +227,7 @@ class V2 {
|
|
|
227
227
|
Authorization: yield this._getAuthorizationHeader(),
|
|
228
228
|
"X-Fern-Language": "JavaScript",
|
|
229
229
|
"X-Fern-SDK-Name": "candidhealth",
|
|
230
|
-
"X-Fern-SDK-Version": "0.
|
|
230
|
+
"X-Fern-SDK-Version": "0.35.0",
|
|
231
231
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
232
232
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
233
233
|
},
|
|
@@ -81,7 +81,7 @@ class V2 {
|
|
|
81
81
|
Authorization: yield this._getAuthorizationHeader(),
|
|
82
82
|
"X-Fern-Language": "JavaScript",
|
|
83
83
|
"X-Fern-SDK-Name": "candidhealth",
|
|
84
|
-
"X-Fern-SDK-Version": "0.
|
|
84
|
+
"X-Fern-SDK-Version": "0.35.0",
|
|
85
85
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
86
86
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
87
87
|
},
|
|
@@ -160,7 +160,7 @@ class V2 {
|
|
|
160
160
|
Authorization: yield this._getAuthorizationHeader(),
|
|
161
161
|
"X-Fern-Language": "JavaScript",
|
|
162
162
|
"X-Fern-SDK-Name": "candidhealth",
|
|
163
|
-
"X-Fern-SDK-Version": "0.
|
|
163
|
+
"X-Fern-SDK-Version": "0.35.0",
|
|
164
164
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
165
165
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
166
166
|
},
|
|
@@ -239,7 +239,7 @@ class V2 {
|
|
|
239
239
|
Authorization: yield this._getAuthorizationHeader(),
|
|
240
240
|
"X-Fern-Language": "JavaScript",
|
|
241
241
|
"X-Fern-SDK-Name": "candidhealth",
|
|
242
|
-
"X-Fern-SDK-Version": "0.
|
|
242
|
+
"X-Fern-SDK-Version": "0.35.0",
|
|
243
243
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
244
244
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
245
245
|
},
|
|
@@ -318,7 +318,7 @@ class V2 {
|
|
|
318
318
|
Authorization: yield this._getAuthorizationHeader(),
|
|
319
319
|
"X-Fern-Language": "JavaScript",
|
|
320
320
|
"X-Fern-SDK-Name": "candidhealth",
|
|
321
|
-
"X-Fern-SDK-Version": "0.
|
|
321
|
+
"X-Fern-SDK-Version": "0.35.0",
|
|
322
322
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
323
323
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
324
324
|
},
|
|
@@ -396,7 +396,7 @@ class V2 {
|
|
|
396
396
|
Authorization: yield this._getAuthorizationHeader(),
|
|
397
397
|
"X-Fern-Language": "JavaScript",
|
|
398
398
|
"X-Fern-SDK-Name": "candidhealth",
|
|
399
|
-
"X-Fern-SDK-Version": "0.
|
|
399
|
+
"X-Fern-SDK-Version": "0.35.0",
|
|
400
400
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
401
401
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
402
402
|
},
|
|
@@ -476,7 +476,7 @@ class V2 {
|
|
|
476
476
|
Authorization: yield this._getAuthorizationHeader(),
|
|
477
477
|
"X-Fern-Language": "JavaScript",
|
|
478
478
|
"X-Fern-SDK-Name": "candidhealth",
|
|
479
|
-
"X-Fern-SDK-Version": "0.
|
|
479
|
+
"X-Fern-SDK-Version": "0.35.0",
|
|
480
480
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
481
481
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
482
482
|
},
|
|
@@ -557,7 +557,7 @@ class V2 {
|
|
|
557
557
|
Authorization: yield this._getAuthorizationHeader(),
|
|
558
558
|
"X-Fern-Language": "JavaScript",
|
|
559
559
|
"X-Fern-SDK-Name": "candidhealth",
|
|
560
|
-
"X-Fern-SDK-Version": "0.
|
|
560
|
+
"X-Fern-SDK-Version": "0.35.0",
|
|
561
561
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
562
562
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
563
563
|
},
|
|
@@ -637,7 +637,7 @@ class V2 {
|
|
|
637
637
|
Authorization: yield this._getAuthorizationHeader(),
|
|
638
638
|
"X-Fern-Language": "JavaScript",
|
|
639
639
|
"X-Fern-SDK-Name": "candidhealth",
|
|
640
|
-
"X-Fern-SDK-Version": "0.
|
|
640
|
+
"X-Fern-SDK-Version": "0.35.0",
|
|
641
641
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
642
642
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
643
643
|
},
|
|
@@ -701,7 +701,7 @@ class V2 {
|
|
|
701
701
|
Authorization: yield this._getAuthorizationHeader(),
|
|
702
702
|
"X-Fern-Language": "JavaScript",
|
|
703
703
|
"X-Fern-SDK-Name": "candidhealth",
|
|
704
|
-
"X-Fern-SDK-Version": "0.
|
|
704
|
+
"X-Fern-SDK-Version": "0.35.0",
|
|
705
705
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
706
706
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
707
707
|
},
|
|
@@ -756,7 +756,7 @@ class V2 {
|
|
|
756
756
|
Authorization: yield this._getAuthorizationHeader(),
|
|
757
757
|
"X-Fern-Language": "JavaScript",
|
|
758
758
|
"X-Fern-SDK-Name": "candidhealth",
|
|
759
|
-
"X-Fern-SDK-Version": "0.
|
|
759
|
+
"X-Fern-SDK-Version": "0.35.0",
|
|
760
760
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
761
761
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
762
762
|
},
|
|
@@ -811,7 +811,7 @@ class V2 {
|
|
|
811
811
|
Authorization: yield this._getAuthorizationHeader(),
|
|
812
812
|
"X-Fern-Language": "JavaScript",
|
|
813
813
|
"X-Fern-SDK-Name": "candidhealth",
|
|
814
|
-
"X-Fern-SDK-Version": "0.
|
|
814
|
+
"X-Fern-SDK-Version": "0.35.0",
|
|
815
815
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
816
816
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
817
817
|
},
|
|
@@ -866,7 +866,7 @@ class V2 {
|
|
|
866
866
|
Authorization: yield this._getAuthorizationHeader(),
|
|
867
867
|
"X-Fern-Language": "JavaScript",
|
|
868
868
|
"X-Fern-SDK-Name": "candidhealth",
|
|
869
|
-
"X-Fern-SDK-Version": "0.
|
|
869
|
+
"X-Fern-SDK-Version": "0.35.0",
|
|
870
870
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
871
871
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
872
872
|
},
|
|
@@ -62,6 +62,10 @@ export declare class V4 {
|
|
|
62
62
|
* phoneConsent: true,
|
|
63
63
|
* email: CandidApi.Email("johndoe@joincandidhealth.com"),
|
|
64
64
|
* nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
65
|
+
* nonInsurancePayersInfo: [{
|
|
66
|
+
* nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
67
|
+
* memberId: "string"
|
|
68
|
+
* }],
|
|
65
69
|
* emailConsent: true,
|
|
66
70
|
* externalId: "string",
|
|
67
71
|
* dateOfBirth: "2023-01-15",
|
|
@@ -346,6 +350,7 @@ export declare class V4 {
|
|
|
346
350
|
* "age": 38
|
|
347
351
|
* }
|
|
348
352
|
* }],
|
|
353
|
+
* referralNumber: "string",
|
|
349
354
|
* externalId: CandidApi.EncounterExternalId("string"),
|
|
350
355
|
* dateOfService: "2023-01-15",
|
|
351
356
|
* endDateOfService: "2023-01-15",
|
|
@@ -420,7 +425,7 @@ export declare class V4 {
|
|
|
420
425
|
* - Referring Provider
|
|
421
426
|
* - Subscriber Primary
|
|
422
427
|
* - Subscriber Secondary
|
|
423
|
-
* -
|
|
428
|
+
* - Referral Number
|
|
424
429
|
* - Responsible Party
|
|
425
430
|
* - Guarantor
|
|
426
431
|
*
|
|
@@ -793,7 +798,11 @@ export declare class V4 {
|
|
|
793
798
|
* phoneConsent: true,
|
|
794
799
|
* email: CandidApi.Email("johndoe@joincandidhealth.com"),
|
|
795
800
|
* emailConsent: true,
|
|
796
|
-
* nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
|
|
801
|
+
* nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
802
|
+
* nonInsurancePayersInfo: [{
|
|
803
|
+
* nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
804
|
+
* memberId: "string"
|
|
805
|
+
* }]
|
|
797
806
|
* },
|
|
798
807
|
* patientAuthorizedRelease: true,
|
|
799
808
|
* schemaInstances: [{
|
|
@@ -930,7 +939,8 @@ export declare class V4 {
|
|
|
930
939
|
* firstName: "string",
|
|
931
940
|
* lastName: "string",
|
|
932
941
|
* organizationName: "string"
|
|
933
|
-
* }
|
|
942
|
+
* },
|
|
943
|
+
* referralNumber: "string"
|
|
934
944
|
* })
|
|
935
945
|
*/
|
|
936
946
|
update(encounterId: CandidApi.EncounterId, request?: CandidApi.encounters.v4.EncounterUpdate, requestOptions?: V4.RequestOptions): Promise<core.APIResponse<CandidApi.encounters.v4.Encounter, CandidApi.encounters.v4.update.Error>>;
|
|
@@ -132,7 +132,7 @@ class V4 {
|
|
|
132
132
|
Authorization: yield this._getAuthorizationHeader(),
|
|
133
133
|
"X-Fern-Language": "JavaScript",
|
|
134
134
|
"X-Fern-SDK-Name": "candidhealth",
|
|
135
|
-
"X-Fern-SDK-Version": "0.
|
|
135
|
+
"X-Fern-SDK-Version": "0.35.0",
|
|
136
136
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
137
137
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
138
138
|
},
|
|
@@ -178,7 +178,7 @@ class V4 {
|
|
|
178
178
|
Authorization: yield this._getAuthorizationHeader(),
|
|
179
179
|
"X-Fern-Language": "JavaScript",
|
|
180
180
|
"X-Fern-SDK-Name": "candidhealth",
|
|
181
|
-
"X-Fern-SDK-Version": "0.
|
|
181
|
+
"X-Fern-SDK-Version": "0.35.0",
|
|
182
182
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
183
183
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
184
184
|
},
|
|
@@ -219,6 +219,10 @@ class V4 {
|
|
|
219
219
|
* phoneConsent: true,
|
|
220
220
|
* email: CandidApi.Email("johndoe@joincandidhealth.com"),
|
|
221
221
|
* nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
222
|
+
* nonInsurancePayersInfo: [{
|
|
223
|
+
* nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
224
|
+
* memberId: "string"
|
|
225
|
+
* }],
|
|
222
226
|
* emailConsent: true,
|
|
223
227
|
* externalId: "string",
|
|
224
228
|
* dateOfBirth: "2023-01-15",
|
|
@@ -503,6 +507,7 @@ class V4 {
|
|
|
503
507
|
* "age": 38
|
|
504
508
|
* }
|
|
505
509
|
* }],
|
|
510
|
+
* referralNumber: "string",
|
|
506
511
|
* externalId: CandidApi.EncounterExternalId("string"),
|
|
507
512
|
* dateOfService: "2023-01-15",
|
|
508
513
|
* endDateOfService: "2023-01-15",
|
|
@@ -575,7 +580,7 @@ class V4 {
|
|
|
575
580
|
Authorization: yield this._getAuthorizationHeader(),
|
|
576
581
|
"X-Fern-Language": "JavaScript",
|
|
577
582
|
"X-Fern-SDK-Name": "candidhealth",
|
|
578
|
-
"X-Fern-SDK-Version": "0.
|
|
583
|
+
"X-Fern-SDK-Version": "0.35.0",
|
|
579
584
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
580
585
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
581
586
|
},
|
|
@@ -635,7 +640,7 @@ class V4 {
|
|
|
635
640
|
* - Referring Provider
|
|
636
641
|
* - Subscriber Primary
|
|
637
642
|
* - Subscriber Secondary
|
|
638
|
-
* -
|
|
643
|
+
* - Referral Number
|
|
639
644
|
* - Responsible Party
|
|
640
645
|
* - Guarantor
|
|
641
646
|
*
|
|
@@ -894,7 +899,7 @@ class V4 {
|
|
|
894
899
|
Authorization: yield this._getAuthorizationHeader(),
|
|
895
900
|
"X-Fern-Language": "JavaScript",
|
|
896
901
|
"X-Fern-SDK-Name": "candidhealth",
|
|
897
|
-
"X-Fern-SDK-Version": "0.
|
|
902
|
+
"X-Fern-SDK-Version": "0.35.0",
|
|
898
903
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
899
904
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
900
905
|
},
|
|
@@ -925,7 +930,6 @@ class V4 {
|
|
|
925
930
|
case "EntityNotFoundError":
|
|
926
931
|
case "HttpRequestValidationsError":
|
|
927
932
|
case "SchemaInstanceValidationHttpFailure":
|
|
928
|
-
case "InsurancePayMissingPrimaryCoverageError":
|
|
929
933
|
return {
|
|
930
934
|
ok: false,
|
|
931
935
|
error: serializers.encounters.v4.createFromPreEncounterPatient.Error.parseOrThrow(_response.error.body, {
|
|
@@ -1067,7 +1071,11 @@ class V4 {
|
|
|
1067
1071
|
* phoneConsent: true,
|
|
1068
1072
|
* email: CandidApi.Email("johndoe@joincandidhealth.com"),
|
|
1069
1073
|
* emailConsent: true,
|
|
1070
|
-
* nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
|
|
1074
|
+
* nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
1075
|
+
* nonInsurancePayersInfo: [{
|
|
1076
|
+
* nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
1077
|
+
* memberId: "string"
|
|
1078
|
+
* }]
|
|
1071
1079
|
* },
|
|
1072
1080
|
* patientAuthorizedRelease: true,
|
|
1073
1081
|
* schemaInstances: [{
|
|
@@ -1204,7 +1212,8 @@ class V4 {
|
|
|
1204
1212
|
* firstName: "string",
|
|
1205
1213
|
* lastName: "string",
|
|
1206
1214
|
* organizationName: "string"
|
|
1207
|
-
* }
|
|
1215
|
+
* },
|
|
1216
|
+
* referralNumber: "string"
|
|
1208
1217
|
* })
|
|
1209
1218
|
*/
|
|
1210
1219
|
update(encounterId, request = {}, requestOptions) {
|
|
@@ -1218,7 +1227,7 @@ class V4 {
|
|
|
1218
1227
|
Authorization: yield this._getAuthorizationHeader(),
|
|
1219
1228
|
"X-Fern-Language": "JavaScript",
|
|
1220
1229
|
"X-Fern-SDK-Name": "candidhealth",
|
|
1221
|
-
"X-Fern-SDK-Version": "0.
|
|
1230
|
+
"X-Fern-SDK-Version": "0.35.0",
|
|
1222
1231
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
1223
1232
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
1224
1233
|
},
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../../index";
|
|
5
5
|
import * as core from "../../../../../../core";
|
|
6
|
-
export declare type Error = CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EncounterPatientControlNumberUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EntityNotFoundError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.HttpRequestValidationsError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.SchemaInstanceValidationHttpFailure | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.
|
|
6
|
+
export declare type Error = CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EncounterExternalIdUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EncounterPatientControlNumberUniquenessError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EntityNotFoundError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.HttpRequestValidationsError | CandidApi.encounters.v4.createFromPreEncounterPatient.Error.SchemaInstanceValidationHttpFailure | CandidApi.encounters.v4.createFromPreEncounterPatient.Error._Unknown;
|
|
7
7
|
export declare namespace Error {
|
|
8
8
|
interface EncounterExternalIdUniquenessError extends _Utils {
|
|
9
9
|
errorName: "EncounterExternalIdUniquenessError";
|
|
@@ -25,10 +25,6 @@ export declare namespace Error {
|
|
|
25
25
|
errorName: "SchemaInstanceValidationHttpFailure";
|
|
26
26
|
content: CandidApi.encounters.v4.SchemaInstanceValidationFailure;
|
|
27
27
|
}
|
|
28
|
-
interface InsurancePayMissingPrimaryCoverageError extends _Utils {
|
|
29
|
-
errorName: "InsurancePayMissingPrimaryCoverageError";
|
|
30
|
-
content: CandidApi.encounters.v4.InsurancePayMissingPrimaryCoverageErrorType;
|
|
31
|
-
}
|
|
32
28
|
interface _Unknown extends _Utils {
|
|
33
29
|
errorName: void;
|
|
34
30
|
content: core.Fetcher.Error;
|
|
@@ -42,7 +38,6 @@ export declare namespace Error {
|
|
|
42
38
|
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
43
39
|
httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => _Result;
|
|
44
40
|
schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => _Result;
|
|
45
|
-
insurancePayMissingPrimaryCoverageError: (value: CandidApi.encounters.v4.InsurancePayMissingPrimaryCoverageErrorType) => _Result;
|
|
46
41
|
_other: (value: core.Fetcher.Error) => _Result;
|
|
47
42
|
}
|
|
48
43
|
}
|
|
@@ -52,7 +47,6 @@ export declare const Error: {
|
|
|
52
47
|
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error.EntityNotFoundError;
|
|
53
48
|
readonly httpRequestValidationsError: (value: CandidApi.RequestValidationError[]) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error.HttpRequestValidationsError;
|
|
54
49
|
readonly schemaInstanceValidationHttpFailure: (value: CandidApi.encounters.v4.SchemaInstanceValidationFailure) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error.SchemaInstanceValidationHttpFailure;
|
|
55
|
-
readonly insurancePayMissingPrimaryCoverageError: (value: CandidApi.encounters.v4.InsurancePayMissingPrimaryCoverageErrorType) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error.InsurancePayMissingPrimaryCoverageError;
|
|
56
50
|
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.encounters.v4.createFromPreEncounterPatient.Error._Unknown;
|
|
57
51
|
readonly _visit: <_Result>(value: CandidApi.encounters.v4.createFromPreEncounterPatient.Error, visitor: CandidApi.encounters.v4.createFromPreEncounterPatient.Error._Visitor<_Result>) => _Result;
|
|
58
52
|
};
|
|
@@ -74,15 +74,6 @@ exports.Error = {
|
|
|
74
74
|
},
|
|
75
75
|
};
|
|
76
76
|
},
|
|
77
|
-
insurancePayMissingPrimaryCoverageError: (value) => {
|
|
78
|
-
return {
|
|
79
|
-
content: value,
|
|
80
|
-
errorName: "InsurancePayMissingPrimaryCoverageError",
|
|
81
|
-
_visit: function (visitor) {
|
|
82
|
-
return CandidApi.encounters.v4.createFromPreEncounterPatient.Error._visit(this, visitor);
|
|
83
|
-
},
|
|
84
|
-
};
|
|
85
|
-
},
|
|
86
77
|
_unknown: (fetcherError) => {
|
|
87
78
|
return {
|
|
88
79
|
errorName: undefined,
|
|
@@ -104,8 +95,6 @@ exports.Error = {
|
|
|
104
95
|
return visitor.httpRequestValidationsError(value.content);
|
|
105
96
|
case "SchemaInstanceValidationHttpFailure":
|
|
106
97
|
return visitor.schemaInstanceValidationHttpFailure(value.content);
|
|
107
|
-
case "InsurancePayMissingPrimaryCoverageError":
|
|
108
|
-
return visitor.insurancePayMissingPrimaryCoverageError(value.content);
|
|
109
98
|
default:
|
|
110
99
|
return visitor._other(value);
|
|
111
100
|
}
|
|
@@ -13,6 +13,10 @@ import * as CandidApi from "../../../../../../index";
|
|
|
13
13
|
* phoneConsent: true,
|
|
14
14
|
* email: CandidApi.Email("johndoe@joincandidhealth.com"),
|
|
15
15
|
* nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
16
|
+
* nonInsurancePayersInfo: [{
|
|
17
|
+
* nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
18
|
+
* memberId: "string"
|
|
19
|
+
* }],
|
|
16
20
|
* emailConsent: true,
|
|
17
21
|
* externalId: "string",
|
|
18
22
|
* dateOfBirth: "2023-01-15",
|
|
@@ -297,6 +301,7 @@ import * as CandidApi from "../../../../../../index";
|
|
|
297
301
|
* "age": 38
|
|
298
302
|
* }
|
|
299
303
|
* }],
|
|
304
|
+
* referralNumber: "string",
|
|
300
305
|
* externalId: CandidApi.EncounterExternalId("string"),
|
|
301
306
|
* dateOfService: "2023-01-15",
|
|
302
307
|
* endDateOfService: "2023-01-15",
|
|
@@ -466,4 +471,9 @@ export interface EncounterCreate extends CandidApi.encounters.v4.EncounterBase {
|
|
|
466
471
|
*
|
|
467
472
|
*/
|
|
468
473
|
schemaInstances?: CandidApi.customSchemas.v1.SchemaInstance[];
|
|
474
|
+
/**
|
|
475
|
+
* Refers to REF*9F on the 837p. Value cannot be greater than 50 characters.
|
|
476
|
+
*
|
|
477
|
+
*/
|
|
478
|
+
referralNumber?: string;
|
|
469
479
|
}
|
|
@@ -122,7 +122,11 @@ import * as CandidApi from "../../../../../../index";
|
|
|
122
122
|
* phoneConsent: true,
|
|
123
123
|
* email: CandidApi.Email("johndoe@joincandidhealth.com"),
|
|
124
124
|
* emailConsent: true,
|
|
125
|
-
* nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
|
|
125
|
+
* nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
126
|
+
* nonInsurancePayersInfo: [{
|
|
127
|
+
* nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
128
|
+
* memberId: "string"
|
|
129
|
+
* }]
|
|
126
130
|
* },
|
|
127
131
|
* patientAuthorizedRelease: true,
|
|
128
132
|
* schemaInstances: [{
|
|
@@ -259,7 +263,8 @@ import * as CandidApi from "../../../../../../index";
|
|
|
259
263
|
* firstName: "string",
|
|
260
264
|
* lastName: "string",
|
|
261
265
|
* organizationName: "string"
|
|
262
|
-
* }
|
|
266
|
+
* },
|
|
267
|
+
* referralNumber: "string"
|
|
263
268
|
* }
|
|
264
269
|
*/
|
|
265
270
|
export interface EncounterUpdate {
|
|
@@ -466,4 +471,9 @@ export interface EncounterUpdate {
|
|
|
466
471
|
*
|
|
467
472
|
*/
|
|
468
473
|
initialReferringProvider?: CandidApi.encounterProviders.v2.InitialReferringProviderUpdate;
|
|
474
|
+
/**
|
|
475
|
+
* Refers to REF*9F on the 837p. Value cannot be greater than 50 characters.
|
|
476
|
+
*
|
|
477
|
+
*/
|
|
478
|
+
referralNumber?: string;
|
|
469
479
|
}
|
|
@@ -96,7 +96,29 @@ import * as CandidApi from "../../../../../index";
|
|
|
96
96
|
* name: "Sunrise Foundation",
|
|
97
97
|
* category: "Foundation",
|
|
98
98
|
* description: "Sunrise Foundation is a non-profit organization that provides financial assistance to patients in need.",
|
|
99
|
-
* enabled: true
|
|
99
|
+
* enabled: true,
|
|
100
|
+
* address: {
|
|
101
|
+
* address1: "123 Main St",
|
|
102
|
+
* city: "San Francisco",
|
|
103
|
+
* state: CandidApi.State.Ca,
|
|
104
|
+
* zipCode: "94105"
|
|
105
|
+
* }
|
|
106
|
+
* }],
|
|
107
|
+
* nonInsurancePayersInfo: [{
|
|
108
|
+
* nonInsurancePayer: {
|
|
109
|
+
* nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("EB7623AB-D5BC-4B25-B257-2B8FCEC578DE"),
|
|
110
|
+
* name: "Sunrise Foundation",
|
|
111
|
+
* category: "Foundation",
|
|
112
|
+
* description: "Sunrise Foundation is a non-profit organization that provides financial assistance to patients in need.",
|
|
113
|
+
* enabled: true,
|
|
114
|
+
* address: {
|
|
115
|
+
* address1: "123 Main St",
|
|
116
|
+
* city: "San Francisco",
|
|
117
|
+
* state: CandidApi.State.Ca,
|
|
118
|
+
* zipCode: "94105"
|
|
119
|
+
* }
|
|
120
|
+
* },
|
|
121
|
+
* memberId: "123456789"
|
|
100
122
|
* }],
|
|
101
123
|
* phoneConsent: true,
|
|
102
124
|
* email: CandidApi.Email("johndoe@joincandidhealth.com"),
|
|
@@ -471,4 +493,6 @@ export interface Encounter extends CandidApi.encounters.v4.EncounterBase {
|
|
|
471
493
|
* instances cannot be created for the same schema on an encounter.
|
|
472
494
|
*/
|
|
473
495
|
schemaInstances: CandidApi.customSchemas.v1.SchemaInstance[];
|
|
496
|
+
/** Refers to REF\*9F on the 837p. Value cannot be greater than 50 characters. */
|
|
497
|
+
referralNumber?: string;
|
|
474
498
|
}
|
|
@@ -97,7 +97,29 @@ import * as CandidApi from "../../../../../index";
|
|
|
97
97
|
* name: "Sunrise Foundation",
|
|
98
98
|
* category: "Foundation",
|
|
99
99
|
* description: "Sunrise Foundation is a non-profit organization that provides financial assistance to patients in need.",
|
|
100
|
-
* enabled: true
|
|
100
|
+
* enabled: true,
|
|
101
|
+
* address: {
|
|
102
|
+
* address1: "123 Main St",
|
|
103
|
+
* city: "San Francisco",
|
|
104
|
+
* state: CandidApi.State.Ca,
|
|
105
|
+
* zipCode: "94105"
|
|
106
|
+
* }
|
|
107
|
+
* }],
|
|
108
|
+
* nonInsurancePayersInfo: [{
|
|
109
|
+
* nonInsurancePayer: {
|
|
110
|
+
* nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("EB7623AB-D5BC-4B25-B257-2B8FCEC578DE"),
|
|
111
|
+
* name: "Sunrise Foundation",
|
|
112
|
+
* category: "Foundation",
|
|
113
|
+
* description: "Sunrise Foundation is a non-profit organization that provides financial assistance to patients in need.",
|
|
114
|
+
* enabled: true,
|
|
115
|
+
* address: {
|
|
116
|
+
* address1: "123 Main St",
|
|
117
|
+
* city: "San Francisco",
|
|
118
|
+
* state: CandidApi.State.Ca,
|
|
119
|
+
* zipCode: "94105"
|
|
120
|
+
* }
|
|
121
|
+
* },
|
|
122
|
+
* memberId: "123456789"
|
|
101
123
|
* }],
|
|
102
124
|
* phoneConsent: true,
|
|
103
125
|
* email: CandidApi.Email("johndoe@joincandidhealth.com"),
|
|
@@ -28,7 +28,6 @@ export * from "./PriorAuthorizationNumber";
|
|
|
28
28
|
export * from "./RxCui";
|
|
29
29
|
export * from "./IntakeQuestionId";
|
|
30
30
|
export * from "./IntakeFollowUpId";
|
|
31
|
-
export * from "./InsurancePayMissingPrimaryCoverageErrorType";
|
|
32
31
|
export * from "./EncounterExternalIdUniquenessErrorType";
|
|
33
32
|
export * from "./EncounterPatientControlNumberUniquenessErrorType";
|
|
34
33
|
export * from "./EncounterGuarantorMissingContactInfoErrorType";
|
|
@@ -44,7 +44,6 @@ __exportStar(require("./PriorAuthorizationNumber"), exports);
|
|
|
44
44
|
__exportStar(require("./RxCui"), exports);
|
|
45
45
|
__exportStar(require("./IntakeQuestionId"), exports);
|
|
46
46
|
__exportStar(require("./IntakeFollowUpId"), exports);
|
|
47
|
-
__exportStar(require("./InsurancePayMissingPrimaryCoverageErrorType"), exports);
|
|
48
47
|
__exportStar(require("./EncounterExternalIdUniquenessErrorType"), exports);
|
|
49
48
|
__exportStar(require("./EncounterPatientControlNumberUniquenessErrorType"), exports);
|
|
50
49
|
__exportStar(require("./EncounterGuarantorMissingContactInfoErrorType"), exports);
|
|
@@ -79,7 +79,7 @@ class V1 {
|
|
|
79
79
|
Authorization: yield this._getAuthorizationHeader(),
|
|
80
80
|
"X-Fern-Language": "JavaScript",
|
|
81
81
|
"X-Fern-SDK-Name": "candidhealth",
|
|
82
|
-
"X-Fern-SDK-Version": "0.
|
|
82
|
+
"X-Fern-SDK-Version": "0.35.0",
|
|
83
83
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
84
84
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
85
85
|
},
|
|
@@ -96,7 +96,7 @@ class V2 {
|
|
|
96
96
|
Authorization: yield this._getAuthorizationHeader(),
|
|
97
97
|
"X-Fern-Language": "JavaScript",
|
|
98
98
|
"X-Fern-SDK-Name": "candidhealth",
|
|
99
|
-
"X-Fern-SDK-Version": "0.
|
|
99
|
+
"X-Fern-SDK-Version": "0.35.0",
|
|
100
100
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
101
101
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
102
102
|
},
|
|
@@ -189,7 +189,7 @@ class V2 {
|
|
|
189
189
|
Authorization: yield this._getAuthorizationHeader(),
|
|
190
190
|
"X-Fern-Language": "JavaScript",
|
|
191
191
|
"X-Fern-SDK-Name": "candidhealth",
|
|
192
|
-
"X-Fern-SDK-Version": "0.
|
|
192
|
+
"X-Fern-SDK-Version": "0.35.0",
|
|
193
193
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
194
194
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
195
195
|
},
|
|
@@ -86,7 +86,7 @@ class V3 {
|
|
|
86
86
|
Authorization: yield this._getAuthorizationHeader(),
|
|
87
87
|
"X-Fern-Language": "JavaScript",
|
|
88
88
|
"X-Fern-SDK-Name": "candidhealth",
|
|
89
|
-
"X-Fern-SDK-Version": "0.
|
|
89
|
+
"X-Fern-SDK-Version": "0.35.0",
|
|
90
90
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
91
91
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
92
92
|
},
|
|
@@ -82,7 +82,7 @@ class V1 {
|
|
|
82
82
|
Authorization: yield this._getAuthorizationHeader(),
|
|
83
83
|
"X-Fern-Language": "JavaScript",
|
|
84
84
|
"X-Fern-SDK-Name": "candidhealth",
|
|
85
|
-
"X-Fern-SDK-Version": "0.
|
|
85
|
+
"X-Fern-SDK-Version": "0.35.0",
|
|
86
86
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
87
87
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
88
88
|
},
|