candidhealth 1.0.0 → 1.3.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.js +2 -2
- package/README.md +1 -1
- package/api/resources/auth/client/Client.d.ts +3 -3
- package/api/resources/auth/client/Client.js +3 -3
- package/api/resources/auth/resources/{v2 → default}/client/Client.d.ts +23 -9
- package/{dist/api/resources/auth/resources/v2 → api/resources/auth/resources/default}/client/Client.js +29 -12
- package/api/resources/auth/resources/default/client/getToken.d.ts +34 -0
- package/{dist/api/resources/auth/resources/v2 → api/resources/auth/resources/default}/client/getToken.js +13 -2
- package/api/resources/auth/resources/default/types/InvalidContentTypeErrorType.d.ts +6 -0
- package/{dist/api/resources/auth/resources/v2 → api/resources/auth/resources/default}/types/index.d.ts +1 -0
- package/{dist/serialization/resources/auth/resources/v2 → api/resources/auth/resources/default}/types/index.js +1 -0
- package/api/resources/auth/resources/index.d.ts +1 -1
- package/api/resources/auth/resources/index.js +2 -2
- package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/api/resources/billingNotes/resources/v2/types/BillingNoteBaseOptional.d.ts +7 -0
- package/api/resources/billingNotes/resources/v2/types/index.d.ts +1 -0
- package/api/resources/billingNotes/resources/v2/types/index.js +1 -0
- package/api/resources/chargeCapture/resources/v1/client/Client.js +5 -5
- package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +4 -0
- package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +4 -0
- package/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -0
- package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +1 -52
- package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +6 -0
- package/api/resources/chargeCapture/resources/v1/types/index.d.ts +1 -1
- package/api/resources/chargeCapture/resources/v1/types/index.js +1 -1
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +9 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +55 -3
- package/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +1 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/index.js +2 -1
- package/api/resources/chargeCaptureBundles/resources/v1/client/requests/ChargeCaptureBundleErrorResolution.d.ts +13 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/resolveChargeCreationError.d.ts +34 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/resolveChargeCreationError.js +79 -0
- package/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.d.ts +34 -0
- package/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.js +5 -0
- package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.d.ts +43 -0
- package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.js +5 -0
- package/api/resources/claimSubmission/resources/v1/types/index.d.ts +2 -0
- package/api/resources/claimSubmission/resources/v1/types/index.js +2 -0
- package/api/resources/commons/types/PhoneNumberOptional.d.ts +15 -0
- package/api/resources/commons/types/PhoneNumberOptional.js +5 -0
- package/api/resources/commons/types/ProcedureModifier.d.ts +9 -1
- package/api/resources/commons/types/ProcedureModifier.js +2 -0
- package/api/resources/commons/types/StreetAddressLongZipOptional.d.ts +19 -0
- package/api/resources/commons/types/StreetAddressLongZipOptional.js +5 -0
- package/api/resources/commons/types/index.d.ts +2 -0
- package/api/resources/commons/types/index.js +2 -0
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/customSchemas/resources/v1/types/SchemaInstanceOptional.d.ts +22 -0
- package/api/resources/customSchemas/resources/v1/types/SchemaInstanceOptional.js +5 -0
- package/api/resources/customSchemas/resources/v1/types/index.d.ts +1 -0
- package/api/resources/customSchemas/resources/v1/types/index.js +1 -0
- package/api/resources/diagnoses/client/Client.js +3 -3
- package/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +7 -0
- package/api/resources/diagnoses/types/DiagnosisCreate.d.ts +7 -0
- package/api/resources/diagnoses/types/DiagnosisCreateOptional.d.ts +28 -0
- package/api/resources/diagnoses/types/DiagnosisCreateOptional.js +5 -0
- package/api/resources/diagnoses/types/index.d.ts +1 -0
- package/api/resources/diagnoses/types/index.js +1 -0
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -3
- package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/api/resources/encounterProviders/resources/v2/types/OrderingProviderOptional.d.ts +13 -0
- package/api/resources/encounterProviders/resources/v2/types/OrderingProviderOptional.js +5 -0
- package/api/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/api/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/api/resources/encounters/resources/v4/client/Client.js +5 -5
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +26 -0
- package/api/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.d.ts +9 -0
- package/api/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.js +5 -0
- package/api/resources/encounters/resources/v4/types/ClinicalNoteCategoryCreateOptional.d.ts +8 -0
- package/api/resources/encounters/resources/v4/types/ClinicalNoteCategoryCreateOptional.js +5 -0
- package/api/resources/encounters/resources/v4/types/ClinicalNoteOptional.d.ts +10 -0
- package/api/resources/encounters/resources/v4/types/ClinicalNoteOptional.js +5 -0
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +3 -1
- package/api/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.d.ts +1 -1
- package/api/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +80 -0
- package/api/resources/encounters/resources/v4/types/EncounterDeepOptional.js +5 -0
- package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +0 -26
- package/api/resources/encounters/resources/v4/types/EpsdtReferralOptional.d.ts +9 -0
- package/api/resources/encounters/resources/v4/types/EpsdtReferralOptional.js +5 -0
- package/api/resources/encounters/resources/v4/types/IntakeQuestionOptional.d.ts +24 -0
- package/api/resources/encounters/resources/v4/types/IntakeQuestionOptional.js +5 -0
- package/api/resources/encounters/resources/v4/types/InterventionOptional.d.ts +14 -0
- package/api/resources/encounters/resources/v4/types/InterventionOptional.js +5 -0
- package/api/resources/encounters/resources/v4/types/LabOptional.d.ts +17 -0
- package/api/resources/encounters/resources/v4/types/LabOptional.js +5 -0
- package/api/resources/encounters/resources/v4/types/MedicationOptional.d.ts +12 -0
- package/api/resources/encounters/resources/v4/types/MedicationOptional.js +5 -0
- package/api/resources/encounters/resources/v4/types/PatientHistoryCategoryOptional.d.ts +9 -0
- package/api/resources/encounters/resources/v4/types/PatientHistoryCategoryOptional.js +5 -0
- package/api/resources/encounters/resources/v4/types/index.d.ts +10 -0
- package/api/resources/encounters/resources/v4/types/index.js +10 -0
- 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/guarantor/resources/v1/types/GuarantorOptional.d.ts +17 -0
- package/api/resources/guarantor/resources/v1/types/GuarantorOptional.js +5 -0
- package/api/resources/guarantor/resources/v1/types/index.d.ts +1 -0
- package/api/resources/guarantor/resources/v1/types/index.js +1 -0
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/index.d.ts +2 -0
- package/api/resources/index.js +3 -1
- package/api/resources/individual/types/IndividualBaseOptional.d.ts +9 -0
- package/api/resources/individual/types/IndividualBaseOptional.js +5 -0
- package/api/resources/individual/types/PatientNonInsurancePayerInfoCreateOptional.d.ts +9 -0
- package/api/resources/individual/types/PatientNonInsurancePayerInfoCreateOptional.js +5 -0
- package/api/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +2 -2
- package/api/resources/individual/types/SubscriberBaseOptional.d.ts +9 -0
- package/api/resources/individual/types/SubscriberBaseOptional.js +5 -0
- package/api/resources/individual/types/SubscriberCreateOptional.d.ts +7 -0
- package/api/resources/individual/types/SubscriberCreateOptional.js +5 -0
- package/api/resources/individual/types/index.d.ts +4 -0
- package/api/resources/individual/types/index.js +4 -0
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -0
- package/api/resources/insuranceCards/resources/v2/types/InsuranceCardCreateOptional.d.ts +14 -0
- package/api/resources/insuranceCards/resources/v2/types/InsuranceCardCreateOptional.js +5 -0
- package/api/resources/insuranceCards/resources/v2/types/index.d.ts +1 -0
- package/api/resources/insuranceCards/resources/v2/types/index.js +1 -0
- package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
- 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.js +6 -6
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- 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/payerPlanGroups/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.js +7 -7
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +3 -3
- package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
- package/api/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +2 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- package/api/resources/serviceLines/resources/v2/types/DrugIdentificationOptional.d.ts +14 -0
- package/api/resources/serviceLines/resources/v2/types/DrugIdentificationOptional.js +5 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +50 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +5 -0
- package/api/resources/serviceLines/resources/v2/types/TestResultOptional.d.ts +8 -0
- package/api/resources/serviceLines/resources/v2/types/TestResultOptional.js +5 -0
- package/api/resources/serviceLines/resources/v2/types/index.d.ts +3 -0
- package/api/resources/serviceLines/resources/v2/types/index.js +3 -0
- package/api/resources/superbills/resources/v1/client/Client.js +1 -1
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
- package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.d.ts +2 -1
- package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.js +1 -0
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +2 -1
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
- package/api/resources/yesNoIndicator/index.d.ts +1 -0
- package/api/resources/yesNoIndicator/index.js +17 -0
- package/api/resources/yesNoIndicator/types/YesNoIndicator.d.ts +10 -0
- package/api/resources/yesNoIndicator/types/YesNoIndicator.js +12 -0
- package/api/resources/yesNoIndicator/types/index.d.ts +1 -0
- package/api/resources/yesNoIndicator/types/index.js +17 -0
- package/core/auth/OAuthTokenProvider.d.ts +2 -2
- package/dist/Client.js +2 -2
- package/dist/api/resources/auth/client/Client.d.ts +3 -3
- package/dist/api/resources/auth/client/Client.js +3 -3
- package/dist/api/resources/auth/resources/{v2 → default}/client/Client.d.ts +23 -9
- package/{api/resources/auth/resources/v2 → dist/api/resources/auth/resources/default}/client/Client.js +29 -12
- package/dist/api/resources/auth/resources/default/client/getToken.d.ts +34 -0
- package/{api/resources/auth/resources/v2 → dist/api/resources/auth/resources/default}/client/getToken.js +13 -2
- package/dist/api/resources/auth/resources/default/client/requests/AuthGetTokenRequest.js +5 -0
- package/dist/api/resources/auth/resources/default/types/AuthGetTokenResponse.js +5 -0
- package/dist/api/resources/auth/resources/default/types/InvalidContentTypeErrorType.d.ts +6 -0
- package/dist/api/resources/auth/resources/default/types/InvalidContentTypeErrorType.js +5 -0
- package/dist/api/resources/auth/resources/default/types/TooManyRequestsErrorType.js +5 -0
- package/dist/{serialization/resources/auth/resources/v2 → api/resources/auth/resources/default}/types/index.d.ts +1 -0
- package/{api/resources/auth/resources/v2 → dist/api/resources/auth/resources/default}/types/index.js +1 -0
- package/dist/api/resources/auth/resources/index.d.ts +1 -1
- package/dist/api/resources/auth/resources/index.js +2 -2
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/billingNotes/resources/v2/types/BillingNoteBaseOptional.d.ts +7 -0
- package/dist/api/resources/billingNotes/resources/v2/types/BillingNoteBaseOptional.js +5 -0
- package/dist/api/resources/billingNotes/resources/v2/types/index.d.ts +1 -0
- package/dist/api/resources/billingNotes/resources/v2/types/index.js +1 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +4 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +4 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +1 -52
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +6 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/index.d.ts +1 -1
- package/dist/api/resources/chargeCapture/resources/v1/types/index.js +1 -1
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +9 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +55 -3
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.js +2 -1
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/ChargeCaptureBundleErrorResolution.d.ts +13 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/ChargeCaptureBundleErrorResolution.js +5 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/resolveChargeCreationError.d.ts +34 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/resolveChargeCreationError.js +79 -0
- package/dist/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.d.ts +34 -0
- package/dist/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.js +5 -0
- package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.d.ts +43 -0
- package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.js +5 -0
- package/dist/api/resources/claimSubmission/resources/v1/types/index.d.ts +2 -0
- package/dist/api/resources/claimSubmission/resources/v1/types/index.js +2 -0
- package/dist/api/resources/commons/types/PhoneNumberOptional.d.ts +15 -0
- package/dist/api/resources/commons/types/PhoneNumberOptional.js +5 -0
- package/dist/api/resources/commons/types/ProcedureModifier.d.ts +9 -1
- package/dist/api/resources/commons/types/ProcedureModifier.js +2 -0
- package/dist/api/resources/commons/types/StreetAddressLongZipOptional.d.ts +19 -0
- package/dist/api/resources/commons/types/StreetAddressLongZipOptional.js +5 -0
- package/dist/api/resources/commons/types/index.d.ts +2 -0
- package/dist/api/resources/commons/types/index.js +2 -0
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/customSchemas/resources/v1/types/SchemaInstanceOptional.d.ts +22 -0
- package/dist/api/resources/customSchemas/resources/v1/types/SchemaInstanceOptional.js +5 -0
- package/dist/api/resources/customSchemas/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/customSchemas/resources/v1/types/index.js +1 -0
- package/dist/api/resources/diagnoses/client/Client.js +3 -3
- package/dist/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +7 -0
- package/dist/api/resources/diagnoses/types/DiagnosisCreate.d.ts +7 -0
- package/dist/api/resources/diagnoses/types/DiagnosisCreateOptional.d.ts +28 -0
- package/dist/api/resources/diagnoses/types/DiagnosisCreateOptional.js +5 -0
- package/dist/api/resources/diagnoses/types/index.d.ts +1 -0
- package/dist/api/resources/diagnoses/types/index.js +1 -0
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/dist/api/resources/encounterProviders/resources/v2/types/OrderingProviderOptional.d.ts +13 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/OrderingProviderOptional.js +5 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +26 -0
- package/dist/api/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.d.ts +9 -0
- package/dist/api/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/ClinicalNoteCategoryCreateOptional.d.ts +8 -0
- package/dist/api/resources/encounters/resources/v4/types/ClinicalNoteCategoryCreateOptional.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/ClinicalNoteOptional.d.ts +10 -0
- package/dist/api/resources/encounters/resources/v4/types/ClinicalNoteOptional.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +3 -1
- package/dist/api/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.d.ts +1 -1
- package/dist/api/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +80 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterDeepOptional.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +0 -26
- package/dist/api/resources/encounters/resources/v4/types/EpsdtReferralOptional.d.ts +9 -0
- package/dist/api/resources/encounters/resources/v4/types/EpsdtReferralOptional.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/IntakeQuestionOptional.d.ts +24 -0
- package/dist/api/resources/encounters/resources/v4/types/IntakeQuestionOptional.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/InterventionOptional.d.ts +14 -0
- package/dist/api/resources/encounters/resources/v4/types/InterventionOptional.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/LabOptional.d.ts +17 -0
- package/dist/api/resources/encounters/resources/v4/types/LabOptional.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/MedicationOptional.d.ts +12 -0
- package/dist/api/resources/encounters/resources/v4/types/MedicationOptional.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/PatientHistoryCategoryOptional.d.ts +9 -0
- package/dist/api/resources/encounters/resources/v4/types/PatientHistoryCategoryOptional.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/index.d.ts +10 -0
- package/dist/api/resources/encounters/resources/v4/types/index.js +10 -0
- 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/guarantor/resources/v1/types/GuarantorOptional.d.ts +17 -0
- package/dist/api/resources/guarantor/resources/v1/types/GuarantorOptional.js +5 -0
- package/dist/api/resources/guarantor/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/guarantor/resources/v1/types/index.js +1 -0
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/index.d.ts +2 -0
- package/dist/api/resources/index.js +3 -1
- package/dist/api/resources/individual/types/IndividualBaseOptional.d.ts +9 -0
- package/dist/api/resources/individual/types/IndividualBaseOptional.js +5 -0
- package/dist/api/resources/individual/types/PatientNonInsurancePayerInfoCreateOptional.d.ts +9 -0
- package/dist/api/resources/individual/types/PatientNonInsurancePayerInfoCreateOptional.js +5 -0
- package/dist/api/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +2 -2
- package/dist/api/resources/individual/types/SubscriberBaseOptional.d.ts +9 -0
- package/dist/api/resources/individual/types/SubscriberBaseOptional.js +5 -0
- package/dist/api/resources/individual/types/SubscriberCreateOptional.d.ts +7 -0
- package/dist/api/resources/individual/types/SubscriberCreateOptional.js +5 -0
- package/dist/api/resources/individual/types/index.d.ts +4 -0
- package/dist/api/resources/individual/types/index.js +4 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -0
- package/dist/api/resources/insuranceCards/resources/v2/types/InsuranceCardCreateOptional.d.ts +14 -0
- package/dist/api/resources/insuranceCards/resources/v2/types/InsuranceCardCreateOptional.js +5 -0
- package/dist/api/resources/insuranceCards/resources/v2/types/index.d.ts +1 -0
- package/dist/api/resources/insuranceCards/resources/v2/types/index.js +1 -0
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
- 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.js +6 -6
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- 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/payerPlanGroups/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.js +7 -7
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +11 -11
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/serviceLines/resources/v2/types/DrugIdentificationOptional.d.ts +14 -0
- package/dist/api/resources/serviceLines/resources/v2/types/DrugIdentificationOptional.js +5 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +50 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +5 -0
- package/dist/api/resources/serviceLines/resources/v2/types/TestResultOptional.d.ts +8 -0
- package/dist/api/resources/serviceLines/resources/v2/types/TestResultOptional.js +5 -0
- package/dist/api/resources/serviceLines/resources/v2/types/index.d.ts +3 -0
- package/dist/api/resources/serviceLines/resources/v2/types/index.js +3 -0
- package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.d.ts +2 -1
- package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.js +1 -0
- package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +2 -1
- package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
- package/dist/api/resources/yesNoIndicator/index.d.ts +1 -0
- package/dist/api/resources/yesNoIndicator/index.js +17 -0
- package/dist/api/resources/yesNoIndicator/types/YesNoIndicator.d.ts +10 -0
- package/dist/api/resources/yesNoIndicator/types/YesNoIndicator.js +12 -0
- package/dist/api/resources/yesNoIndicator/types/index.d.ts +1 -0
- package/dist/api/resources/yesNoIndicator/types/index.js +17 -0
- package/dist/core/auth/OAuthTokenProvider.d.ts +2 -2
- package/dist/serialization/resources/auth/resources/{v2 → default}/client/getToken.d.ts +7 -2
- package/dist/serialization/resources/auth/resources/{v2 → default}/client/getToken.js +7 -1
- package/dist/serialization/resources/auth/resources/{v2 → default}/client/requests/AuthGetTokenRequest.d.ts +1 -1
- package/{serialization/resources/auth/resources/v2 → dist/serialization/resources/auth/resources/default}/types/AuthGetTokenResponse.d.ts +1 -1
- package/dist/serialization/resources/auth/resources/default/types/InvalidContentTypeErrorType.d.ts +12 -0
- package/dist/serialization/resources/auth/resources/default/types/InvalidContentTypeErrorType.js +43 -0
- package/{serialization/resources/auth/resources/v2 → dist/serialization/resources/auth/resources/default}/types/TooManyRequestsErrorType.d.ts +1 -1
- package/{serialization/resources/auth/resources/v2 → dist/serialization/resources/auth/resources/default}/types/index.d.ts +1 -0
- package/dist/{api/resources/auth/resources/v2 → serialization/resources/auth/resources/default}/types/index.js +1 -0
- package/dist/serialization/resources/auth/resources/index.d.ts +1 -1
- package/dist/serialization/resources/auth/resources/index.js +2 -2
- package/dist/serialization/resources/billingNotes/resources/v2/types/BillingNoteBaseOptional.d.ts +12 -0
- package/dist/serialization/resources/billingNotes/resources/v2/types/BillingNoteBaseOptional.js +43 -0
- package/dist/serialization/resources/billingNotes/resources/v2/types/index.d.ts +1 -0
- package/dist/serialization/resources/billingNotes/resources/v2/types/index.js +1 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +2 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +2 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +2 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +2 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +2 -30
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +2 -33
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +3 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.js +3 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +1 -1
- package/dist/serialization/resources/chargeCapture/resources/v1/types/index.js +1 -1
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +2 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/index.js +41 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/requests/ChargeCaptureBundleErrorResolution.d.ts +13 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/requests/ChargeCaptureBundleErrorResolution.js +44 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/requests/index.js +5 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/resolveChargeCreationError.d.ts +20 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/resolveChargeCreationError.js +77 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/index.d.ts +1 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/index.js +1 -0
- package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.d.ts +18 -0
- package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.js +49 -0
- package/dist/serialization/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.d.ts +15 -0
- package/dist/serialization/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.js +46 -0
- package/dist/serialization/resources/claimSubmission/resources/v1/types/index.d.ts +2 -0
- package/dist/serialization/resources/claimSubmission/resources/v1/types/index.js +2 -0
- package/dist/serialization/resources/commons/types/PhoneNumberOptional.d.ts +14 -0
- package/dist/serialization/resources/commons/types/PhoneNumberOptional.js +45 -0
- package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
- package/dist/serialization/resources/commons/types/ProcedureModifier.js +2 -0
- package/dist/serialization/resources/commons/types/StreetAddressLongZipOptional.d.ts +13 -0
- package/dist/serialization/resources/commons/types/StreetAddressLongZipOptional.js +46 -0
- package/dist/serialization/resources/commons/types/index.d.ts +2 -0
- package/dist/serialization/resources/commons/types/index.js +2 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaInstanceOptional.d.ts +14 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaInstanceOptional.js +45 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/index.js +1 -0
- package/dist/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +2 -0
- package/dist/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.js +2 -0
- package/dist/serialization/resources/diagnoses/types/DiagnosisCreate.d.ts +2 -0
- package/dist/serialization/resources/diagnoses/types/DiagnosisCreate.js +2 -0
- package/dist/serialization/resources/diagnoses/types/DiagnosisCreateOptional.d.ts +17 -0
- package/dist/serialization/resources/diagnoses/types/DiagnosisCreateOptional.js +48 -0
- package/dist/serialization/resources/diagnoses/types/index.d.ts +1 -0
- package/dist/serialization/resources/diagnoses/types/index.js +1 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/OrderingProviderOptional.d.ts +16 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/OrderingProviderOptional.js +49 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +16 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +16 -0
- package/dist/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.d.ts +16 -0
- package/dist/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.js +47 -0
- package/dist/serialization/resources/encounters/resources/v4/types/ClinicalNoteCategoryCreateOptional.d.ts +15 -0
- package/dist/serialization/resources/encounters/resources/v4/types/ClinicalNoteCategoryCreateOptional.js +46 -0
- package/dist/serialization/resources/encounters/resources/v4/types/ClinicalNoteOptional.d.ts +16 -0
- package/dist/serialization/resources/encounters/resources/v4/types/ClinicalNoteOptional.js +47 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +56 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.js +89 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +0 -16
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +0 -16
- package/dist/serialization/resources/encounters/resources/v4/types/EpsdtReferralOptional.d.ts +15 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EpsdtReferralOptional.js +46 -0
- package/dist/serialization/resources/encounters/resources/v4/types/IntakeQuestionOptional.d.ts +16 -0
- package/dist/serialization/resources/encounters/resources/v4/types/IntakeQuestionOptional.js +47 -0
- package/dist/serialization/resources/encounters/resources/v4/types/InterventionOptional.d.ts +19 -0
- package/dist/serialization/resources/encounters/resources/v4/types/InterventionOptional.js +50 -0
- package/dist/serialization/resources/encounters/resources/v4/types/LabOptional.d.ts +15 -0
- package/dist/serialization/resources/encounters/resources/v4/types/LabOptional.js +46 -0
- package/dist/serialization/resources/encounters/resources/v4/types/MedicationOptional.d.ts +18 -0
- package/dist/serialization/resources/encounters/resources/v4/types/MedicationOptional.js +49 -0
- package/dist/serialization/resources/encounters/resources/v4/types/PatientHistoryCategoryOptional.d.ts +15 -0
- package/dist/serialization/resources/encounters/resources/v4/types/PatientHistoryCategoryOptional.js +46 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +10 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.js +10 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.d.ts +23 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.js +54 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/index.js +1 -0
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/resources/individual/types/IndividualBaseOptional.d.ts +15 -0
- package/dist/serialization/resources/individual/types/IndividualBaseOptional.js +46 -0
- package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreateOptional.d.ts +16 -0
- package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreateOptional.js +47 -0
- package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +4 -4
- package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +4 -4
- package/dist/serialization/resources/individual/types/SubscriberBaseOptional.d.ts +17 -0
- package/dist/serialization/resources/individual/types/SubscriberBaseOptional.js +50 -0
- package/dist/serialization/resources/individual/types/SubscriberCreateOptional.d.ts +14 -0
- package/dist/serialization/resources/individual/types/SubscriberCreateOptional.js +47 -0
- package/dist/serialization/resources/individual/types/index.d.ts +4 -0
- package/dist/serialization/resources/individual/types/index.js +4 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +1 -0
- package/dist/serialization/resources/insuranceCards/resources/v2/types/InsuranceCardCreateOptional.d.ts +21 -0
- package/dist/serialization/resources/insuranceCards/resources/v2/types/InsuranceCardCreateOptional.js +54 -0
- package/dist/serialization/resources/insuranceCards/resources/v2/types/index.d.ts +1 -0
- package/dist/serialization/resources/insuranceCards/resources/v2/types/index.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/DrugIdentificationOptional.d.ts +21 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/DrugIdentificationOptional.js +52 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +33 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +64 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/TestResultOptional.d.ts +14 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/TestResultOptional.js +45 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.d.ts +3 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.js +3 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.d.ts +1 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.js +1 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +1 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
- package/dist/serialization/resources/yesNoIndicator/index.d.ts +1 -0
- package/dist/serialization/resources/yesNoIndicator/index.js +17 -0
- package/dist/serialization/resources/yesNoIndicator/types/YesNoIndicator.d.ts +10 -0
- package/dist/serialization/resources/yesNoIndicator/types/YesNoIndicator.js +41 -0
- package/dist/serialization/resources/yesNoIndicator/types/index.d.ts +1 -0
- package/dist/serialization/resources/yesNoIndicator/types/index.js +17 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +77 -6
- package/serialization/resources/auth/resources/{v2 → default}/client/getToken.d.ts +7 -2
- package/serialization/resources/auth/resources/{v2 → default}/client/getToken.js +7 -1
- package/serialization/resources/auth/resources/{v2 → default}/client/requests/AuthGetTokenRequest.d.ts +1 -1
- package/{dist/serialization/resources/auth/resources/v2 → serialization/resources/auth/resources/default}/types/AuthGetTokenResponse.d.ts +1 -1
- package/serialization/resources/auth/resources/default/types/InvalidContentTypeErrorType.d.ts +12 -0
- package/serialization/resources/auth/resources/default/types/InvalidContentTypeErrorType.js +43 -0
- package/{dist/serialization/resources/auth/resources/v2 → serialization/resources/auth/resources/default}/types/TooManyRequestsErrorType.d.ts +1 -1
- package/{api/resources/auth/resources/v2 → serialization/resources/auth/resources/default}/types/index.d.ts +1 -0
- package/serialization/resources/auth/resources/{v2 → default}/types/index.js +1 -0
- package/serialization/resources/auth/resources/index.d.ts +1 -1
- package/serialization/resources/auth/resources/index.js +2 -2
- package/serialization/resources/billingNotes/resources/v2/types/BillingNoteBaseOptional.d.ts +12 -0
- package/serialization/resources/billingNotes/resources/v2/types/BillingNoteBaseOptional.js +43 -0
- package/serialization/resources/billingNotes/resources/v2/types/index.d.ts +1 -0
- package/serialization/resources/billingNotes/resources/v2/types/index.js +1 -0
- package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +2 -0
- package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +2 -0
- package/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +2 -0
- package/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +2 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +2 -30
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +2 -33
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +3 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.js +3 -0
- package/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +1 -1
- package/serialization/resources/chargeCapture/resources/v1/types/index.js +1 -1
- package/serialization/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +2 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/client/index.js +41 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/client/requests/ChargeCaptureBundleErrorResolution.d.ts +13 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/client/requests/ChargeCaptureBundleErrorResolution.js +44 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/client/requests/index.d.ts +1 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/client/requests/index.js +5 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/client/resolveChargeCreationError.d.ts +20 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/client/resolveChargeCreationError.js +77 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/index.d.ts +1 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/index.js +1 -0
- package/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.d.ts +18 -0
- package/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.js +49 -0
- package/serialization/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.d.ts +15 -0
- package/serialization/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.js +46 -0
- package/serialization/resources/claimSubmission/resources/v1/types/index.d.ts +2 -0
- package/serialization/resources/claimSubmission/resources/v1/types/index.js +2 -0
- package/serialization/resources/commons/types/PhoneNumberOptional.d.ts +14 -0
- package/serialization/resources/commons/types/PhoneNumberOptional.js +45 -0
- package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
- package/serialization/resources/commons/types/ProcedureModifier.js +2 -0
- package/serialization/resources/commons/types/StreetAddressLongZipOptional.d.ts +13 -0
- package/serialization/resources/commons/types/StreetAddressLongZipOptional.js +46 -0
- package/serialization/resources/commons/types/index.d.ts +2 -0
- package/serialization/resources/commons/types/index.js +2 -0
- package/serialization/resources/customSchemas/resources/v1/types/SchemaInstanceOptional.d.ts +14 -0
- package/serialization/resources/customSchemas/resources/v1/types/SchemaInstanceOptional.js +45 -0
- package/serialization/resources/customSchemas/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/customSchemas/resources/v1/types/index.js +1 -0
- package/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +2 -0
- package/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.js +2 -0
- package/serialization/resources/diagnoses/types/DiagnosisCreate.d.ts +2 -0
- package/serialization/resources/diagnoses/types/DiagnosisCreate.js +2 -0
- package/serialization/resources/diagnoses/types/DiagnosisCreateOptional.d.ts +17 -0
- package/serialization/resources/diagnoses/types/DiagnosisCreateOptional.js +48 -0
- package/serialization/resources/diagnoses/types/index.d.ts +1 -0
- package/serialization/resources/diagnoses/types/index.js +1 -0
- package/serialization/resources/encounterProviders/resources/v2/types/OrderingProviderOptional.d.ts +16 -0
- package/serialization/resources/encounterProviders/resources/v2/types/OrderingProviderOptional.js +49 -0
- package/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/serialization/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +16 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +16 -0
- package/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.d.ts +16 -0
- package/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.js +47 -0
- package/serialization/resources/encounters/resources/v4/types/ClinicalNoteCategoryCreateOptional.d.ts +15 -0
- package/serialization/resources/encounters/resources/v4/types/ClinicalNoteCategoryCreateOptional.js +46 -0
- package/serialization/resources/encounters/resources/v4/types/ClinicalNoteOptional.d.ts +16 -0
- package/serialization/resources/encounters/resources/v4/types/ClinicalNoteOptional.js +47 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +56 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.js +89 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +0 -16
- package/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +0 -16
- package/serialization/resources/encounters/resources/v4/types/EpsdtReferralOptional.d.ts +15 -0
- package/serialization/resources/encounters/resources/v4/types/EpsdtReferralOptional.js +46 -0
- package/serialization/resources/encounters/resources/v4/types/IntakeQuestionOptional.d.ts +16 -0
- package/serialization/resources/encounters/resources/v4/types/IntakeQuestionOptional.js +47 -0
- package/serialization/resources/encounters/resources/v4/types/InterventionOptional.d.ts +19 -0
- package/serialization/resources/encounters/resources/v4/types/InterventionOptional.js +50 -0
- package/serialization/resources/encounters/resources/v4/types/LabOptional.d.ts +15 -0
- package/serialization/resources/encounters/resources/v4/types/LabOptional.js +46 -0
- package/serialization/resources/encounters/resources/v4/types/MedicationOptional.d.ts +18 -0
- package/serialization/resources/encounters/resources/v4/types/MedicationOptional.js +49 -0
- package/serialization/resources/encounters/resources/v4/types/PatientHistoryCategoryOptional.d.ts +15 -0
- package/serialization/resources/encounters/resources/v4/types/PatientHistoryCategoryOptional.js +46 -0
- package/serialization/resources/encounters/resources/v4/types/index.d.ts +10 -0
- package/serialization/resources/encounters/resources/v4/types/index.js +10 -0
- package/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.d.ts +23 -0
- package/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.js +54 -0
- package/serialization/resources/guarantor/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/guarantor/resources/v1/types/index.js +1 -0
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/resources/individual/types/IndividualBaseOptional.d.ts +15 -0
- package/serialization/resources/individual/types/IndividualBaseOptional.js +46 -0
- package/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreateOptional.d.ts +16 -0
- package/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreateOptional.js +47 -0
- package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +4 -4
- package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +4 -4
- package/serialization/resources/individual/types/SubscriberBaseOptional.d.ts +17 -0
- package/serialization/resources/individual/types/SubscriberBaseOptional.js +50 -0
- package/serialization/resources/individual/types/SubscriberCreateOptional.d.ts +14 -0
- package/serialization/resources/individual/types/SubscriberCreateOptional.js +47 -0
- package/serialization/resources/individual/types/index.d.ts +4 -0
- package/serialization/resources/individual/types/index.js +4 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +1 -0
- package/serialization/resources/insuranceCards/resources/v2/types/InsuranceCardCreateOptional.d.ts +21 -0
- package/serialization/resources/insuranceCards/resources/v2/types/InsuranceCardCreateOptional.js +54 -0
- package/serialization/resources/insuranceCards/resources/v2/types/index.d.ts +1 -0
- package/serialization/resources/insuranceCards/resources/v2/types/index.js +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/DrugIdentificationOptional.d.ts +21 -0
- package/serialization/resources/serviceLines/resources/v2/types/DrugIdentificationOptional.js +52 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +33 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +64 -0
- package/serialization/resources/serviceLines/resources/v2/types/TestResultOptional.d.ts +14 -0
- package/serialization/resources/serviceLines/resources/v2/types/TestResultOptional.js +45 -0
- package/serialization/resources/serviceLines/resources/v2/types/index.d.ts +3 -0
- package/serialization/resources/serviceLines/resources/v2/types/index.js +3 -0
- package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.d.ts +1 -1
- package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.js +1 -0
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +1 -1
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
- package/serialization/resources/yesNoIndicator/index.d.ts +1 -0
- package/serialization/resources/yesNoIndicator/index.js +17 -0
- package/serialization/resources/yesNoIndicator/types/YesNoIndicator.d.ts +10 -0
- package/serialization/resources/yesNoIndicator/types/YesNoIndicator.js +41 -0
- package/serialization/resources/yesNoIndicator/types/index.d.ts +1 -0
- package/serialization/resources/yesNoIndicator/types/index.js +17 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/auth/resources/v2/client/getToken.d.ts +0 -28
- package/dist/api/resources/auth/resources/v2/client/getToken.d.ts +0 -28
- /package/api/resources/auth/resources/{v2 → default}/client/index.d.ts +0 -0
- /package/api/resources/auth/resources/{v2 → default}/client/index.js +0 -0
- /package/api/resources/auth/resources/{v2 → default}/client/requests/AuthGetTokenRequest.d.ts +0 -0
- /package/api/resources/auth/resources/{v2 → default}/client/requests/AuthGetTokenRequest.js +0 -0
- /package/api/resources/auth/resources/{v2 → default}/client/requests/index.d.ts +0 -0
- /package/api/resources/auth/resources/{v2 → default}/client/requests/index.js +0 -0
- /package/api/resources/auth/resources/{v2 → default}/index.d.ts +0 -0
- /package/api/resources/auth/resources/{v2 → default}/index.js +0 -0
- /package/api/resources/auth/resources/{v2 → default}/types/AuthGetTokenResponse.d.ts +0 -0
- /package/api/resources/auth/resources/{v2 → default}/types/AuthGetTokenResponse.js +0 -0
- /package/api/resources/auth/resources/{v2/types/TooManyRequestsErrorType.js → default/types/InvalidContentTypeErrorType.js} +0 -0
- /package/api/resources/auth/resources/{v2 → default}/types/TooManyRequestsErrorType.d.ts +0 -0
- /package/{dist/api/resources/auth/resources/v2 → api/resources/auth/resources/default}/types/TooManyRequestsErrorType.js +0 -0
- /package/{dist/api/resources/auth/resources/v2/client/requests/AuthGetTokenRequest.js → api/resources/billingNotes/resources/v2/types/BillingNoteBaseOptional.js} +0 -0
- /package/{dist/api/resources/auth/resources/v2/types/AuthGetTokenResponse.js → api/resources/chargeCaptureBundles/resources/v1/client/requests/ChargeCaptureBundleErrorResolution.js} +0 -0
- /package/dist/api/resources/auth/resources/{v2 → default}/client/index.d.ts +0 -0
- /package/dist/api/resources/auth/resources/{v2 → default}/client/index.js +0 -0
- /package/dist/api/resources/auth/resources/{v2 → default}/client/requests/AuthGetTokenRequest.d.ts +0 -0
- /package/dist/api/resources/auth/resources/{v2 → default}/client/requests/index.d.ts +0 -0
- /package/dist/api/resources/auth/resources/{v2 → default}/client/requests/index.js +0 -0
- /package/dist/api/resources/auth/resources/{v2 → default}/index.d.ts +0 -0
- /package/dist/api/resources/auth/resources/{v2 → default}/index.js +0 -0
- /package/dist/api/resources/auth/resources/{v2 → default}/types/AuthGetTokenResponse.d.ts +0 -0
- /package/dist/api/resources/auth/resources/{v2 → default}/types/TooManyRequestsErrorType.d.ts +0 -0
- /package/dist/serialization/resources/auth/resources/{v2 → default}/client/index.d.ts +0 -0
- /package/dist/serialization/resources/auth/resources/{v2 → default}/client/index.js +0 -0
- /package/dist/serialization/resources/auth/resources/{v2 → default}/client/requests/AuthGetTokenRequest.js +0 -0
- /package/dist/serialization/resources/auth/resources/{v2 → default}/client/requests/index.d.ts +0 -0
- /package/dist/serialization/resources/auth/resources/{v2 → default}/client/requests/index.js +0 -0
- /package/dist/serialization/resources/auth/resources/{v2 → default}/index.d.ts +0 -0
- /package/dist/serialization/resources/auth/resources/{v2 → default}/index.js +0 -0
- /package/dist/serialization/resources/auth/resources/{v2 → default}/types/AuthGetTokenResponse.js +0 -0
- /package/dist/serialization/resources/auth/resources/{v2 → default}/types/TooManyRequestsErrorType.js +0 -0
- /package/serialization/resources/auth/resources/{v2 → default}/client/index.d.ts +0 -0
- /package/serialization/resources/auth/resources/{v2 → default}/client/index.js +0 -0
- /package/serialization/resources/auth/resources/{v2 → default}/client/requests/AuthGetTokenRequest.js +0 -0
- /package/serialization/resources/auth/resources/{v2 → default}/client/requests/index.d.ts +0 -0
- /package/serialization/resources/auth/resources/{v2 → default}/client/requests/index.js +0 -0
- /package/serialization/resources/auth/resources/{v2 → default}/index.d.ts +0 -0
- /package/serialization/resources/auth/resources/{v2 → default}/index.js +0 -0
- /package/serialization/resources/auth/resources/{v2 → default}/types/AuthGetTokenResponse.js +0 -0
- /package/serialization/resources/auth/resources/{v2 → default}/types/TooManyRequestsErrorType.js +0 -0
|
@@ -73,7 +73,7 @@ class V1 {
|
|
|
73
73
|
const _response = yield core.fetcher({
|
|
74
74
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/notes/v1/${encodeURIComponent(serializers.preEncounter.NoteId.jsonOrThrow(id))}`),
|
|
75
75
|
method: "GET",
|
|
76
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
76
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "candidhealth/1.3.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
77
77
|
contentType: "application/json",
|
|
78
78
|
requestType: "json",
|
|
79
79
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -114,7 +114,7 @@ class V1 {
|
|
|
114
114
|
const _response = yield core.fetcher({
|
|
115
115
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/notes/v1"),
|
|
116
116
|
method: "POST",
|
|
117
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
117
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "candidhealth/1.3.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
118
118
|
contentType: "application/json",
|
|
119
119
|
requestType: "json",
|
|
120
120
|
body: serializers.preEncounter.notes.v1.MutableNote.jsonOrThrow(request, {
|
|
@@ -160,7 +160,7 @@ class V1 {
|
|
|
160
160
|
const _response = yield core.fetcher({
|
|
161
161
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/notes/v1/${encodeURIComponent(serializers.preEncounter.NoteId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
|
|
162
162
|
method: "PUT",
|
|
163
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
163
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "candidhealth/1.3.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
164
164
|
contentType: "application/json",
|
|
165
165
|
requestType: "json",
|
|
166
166
|
body: serializers.preEncounter.notes.v1.MutableNote.jsonOrThrow(request, {
|
|
@@ -203,7 +203,7 @@ class V1 {
|
|
|
203
203
|
const _response = yield core.fetcher({
|
|
204
204
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/notes/v1/${encodeURIComponent(serializers.preEncounter.NoteId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
|
|
205
205
|
method: "DELETE",
|
|
206
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
206
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "candidhealth/1.3.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
207
207
|
contentType: "application/json",
|
|
208
208
|
requestType: "json",
|
|
209
209
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -220,7 +220,7 @@ class V1 {
|
|
|
220
220
|
const _response = yield core.fetcher({
|
|
221
221
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/patients/v1"),
|
|
222
222
|
method: "POST",
|
|
223
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
223
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "candidhealth/1.3.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
224
224
|
contentType: "application/json",
|
|
225
225
|
queryParameters: _queryParams,
|
|
226
226
|
requestType: "json",
|
|
@@ -425,7 +425,7 @@ class V1 {
|
|
|
425
425
|
const _response = yield core.fetcher({
|
|
426
426
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/patients/v1/with_mrn"),
|
|
427
427
|
method: "POST",
|
|
428
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
428
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "candidhealth/1.3.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
429
429
|
contentType: "application/json",
|
|
430
430
|
queryParameters: _queryParams,
|
|
431
431
|
requestType: "json",
|
|
@@ -502,7 +502,7 @@ class V1 {
|
|
|
502
502
|
const _response = yield core.fetcher({
|
|
503
503
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/patients/v1/get_multi"),
|
|
504
504
|
method: "GET",
|
|
505
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
505
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "candidhealth/1.3.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
506
506
|
contentType: "application/json",
|
|
507
507
|
queryParameters: _queryParams,
|
|
508
508
|
requestType: "json",
|
|
@@ -547,7 +547,7 @@ class V1 {
|
|
|
547
547
|
const _response = yield core.fetcher({
|
|
548
548
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/patients/v1/search_providers"),
|
|
549
549
|
method: "GET",
|
|
550
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
550
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "candidhealth/1.3.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
551
551
|
contentType: "application/json",
|
|
552
552
|
queryParameters: _queryParams,
|
|
553
553
|
requestType: "json",
|
|
@@ -587,7 +587,7 @@ class V1 {
|
|
|
587
587
|
const _response = yield core.fetcher({
|
|
588
588
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/patients/v1/${encodeURIComponent(serializers.preEncounter.PatientId.jsonOrThrow(id))}`),
|
|
589
589
|
method: "GET",
|
|
590
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
590
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "candidhealth/1.3.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
591
591
|
contentType: "application/json",
|
|
592
592
|
requestType: "json",
|
|
593
593
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -640,7 +640,7 @@ class V1 {
|
|
|
640
640
|
const _response = yield core.fetcher({
|
|
641
641
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/patients/v1/${encodeURIComponent(serializers.preEncounter.PatientId.jsonOrThrow(id))}/history`),
|
|
642
642
|
method: "GET",
|
|
643
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
643
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "candidhealth/1.3.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
644
644
|
contentType: "application/json",
|
|
645
645
|
requestType: "json",
|
|
646
646
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -835,7 +835,7 @@ class V1 {
|
|
|
835
835
|
const _response = yield core.fetcher({
|
|
836
836
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/patients/v1/${encodeURIComponent(serializers.preEncounter.PatientId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
|
|
837
837
|
method: "PUT",
|
|
838
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
838
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "candidhealth/1.3.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
839
839
|
contentType: "application/json",
|
|
840
840
|
requestType: "json",
|
|
841
841
|
body: serializers.preEncounter.patients.v1.MutablePatient.jsonOrThrow(request, {
|
|
@@ -893,7 +893,7 @@ class V1 {
|
|
|
893
893
|
const _response = yield core.fetcher({
|
|
894
894
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/patients/v1/${encodeURIComponent(serializers.preEncounter.PatientId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
|
|
895
895
|
method: "DELETE",
|
|
896
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
896
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "candidhealth/1.3.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
897
897
|
contentType: "application/json",
|
|
898
898
|
requestType: "json",
|
|
899
899
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -943,7 +943,7 @@ class V1 {
|
|
|
943
943
|
const _response = yield core.fetcher({
|
|
944
944
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/patients/v1/${encodeURIComponent(serializers.preEncounter.PatientId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
|
|
945
945
|
method: "PATCH",
|
|
946
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
946
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "candidhealth/1.3.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
947
947
|
contentType: "application/json",
|
|
948
948
|
requestType: "json",
|
|
949
949
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1000,7 +1000,7 @@ class V1 {
|
|
|
1000
1000
|
const _response = yield core.fetcher({
|
|
1001
1001
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/patients/v1"),
|
|
1002
1002
|
method: "GET",
|
|
1003
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
1003
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "candidhealth/1.3.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1004
1004
|
contentType: "application/json",
|
|
1005
1005
|
queryParameters: _queryParams,
|
|
1006
1006
|
requestType: "json",
|
|
@@ -1045,7 +1045,7 @@ class V1 {
|
|
|
1045
1045
|
const _response = yield core.fetcher({
|
|
1046
1046
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/patients/v1/updates/scan"),
|
|
1047
1047
|
method: "GET",
|
|
1048
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
1048
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "candidhealth/1.3.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1049
1049
|
contentType: "application/json",
|
|
1050
1050
|
queryParameters: _queryParams,
|
|
1051
1051
|
requestType: "json",
|
|
@@ -10,6 +10,8 @@ export interface Authorization {
|
|
|
10
10
|
cptCode: string;
|
|
11
11
|
/** If true, then the authorization will apply for all claims for the payer that fall in range the `period`. */
|
|
12
12
|
applyForAllCptCodes?: boolean;
|
|
13
|
+
/** If true, indicates that prior authorization is not required and prior authorization number will not be set on the claim for this authorization. */
|
|
14
|
+
noPriorAuthorizationRequired?: boolean;
|
|
13
15
|
units: CandidApi.preEncounter.patients.v1.AuthorizationUnit;
|
|
14
16
|
quantity?: number;
|
|
15
17
|
period?: CandidApi.preEncounter.Period;
|
|
@@ -73,7 +73,7 @@ class V1 {
|
|
|
73
73
|
const _response = yield core.fetcher({
|
|
74
74
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/tags/v1/${encodeURIComponent(serializers.preEncounter.TagId.jsonOrThrow(id))}`),
|
|
75
75
|
method: "GET",
|
|
76
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
76
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "candidhealth/1.3.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
77
77
|
contentType: "application/json",
|
|
78
78
|
requestType: "json",
|
|
79
79
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -120,7 +120,7 @@ class V1 {
|
|
|
120
120
|
const _response = yield core.fetcher({
|
|
121
121
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/tags/v1"),
|
|
122
122
|
method: "GET",
|
|
123
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
123
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "candidhealth/1.3.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
124
124
|
contentType: "application/json",
|
|
125
125
|
queryParameters: _queryParams,
|
|
126
126
|
requestType: "json",
|
|
@@ -162,7 +162,7 @@ class V1 {
|
|
|
162
162
|
const _response = yield core.fetcher({
|
|
163
163
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/tags/v1"),
|
|
164
164
|
method: "POST",
|
|
165
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
165
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "candidhealth/1.3.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
166
166
|
contentType: "application/json",
|
|
167
167
|
requestType: "json",
|
|
168
168
|
body: serializers.preEncounter.tags.v1.MutableTag.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -206,7 +206,7 @@ class V1 {
|
|
|
206
206
|
const _response = yield core.fetcher({
|
|
207
207
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/tags/v1/${encodeURIComponent(serializers.preEncounter.TagId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
|
|
208
208
|
method: "PUT",
|
|
209
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
209
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "candidhealth/1.3.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
210
210
|
contentType: "application/json",
|
|
211
211
|
requestType: "json",
|
|
212
212
|
body: serializers.preEncounter.tags.v1.MutableTag.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -247,7 +247,7 @@ class V1 {
|
|
|
247
247
|
const _response = yield core.fetcher({
|
|
248
248
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/tags/v1/${encodeURIComponent(serializers.preEncounter.TagId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
|
|
249
249
|
method: "DELETE",
|
|
250
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
250
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "candidhealth/1.3.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
251
251
|
contentType: "application/json",
|
|
252
252
|
requestType: "json",
|
|
253
253
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -72,7 +72,7 @@ class ServiceFacility {
|
|
|
72
72
|
const _response = yield core.fetcher({
|
|
73
73
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/service_facility/v2/${encodeURIComponent(serializers.ServiceFacilityId.jsonOrThrow(serviceFacilityId))}`),
|
|
74
74
|
method: "PATCH",
|
|
75
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
75
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "candidhealth/1.3.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
76
76
|
contentType: "application/json",
|
|
77
77
|
requestType: "json",
|
|
78
78
|
body: serializers.EncounterServiceFacilityUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -76,7 +76,7 @@ class V2 {
|
|
|
76
76
|
const _response = yield core.fetcher({
|
|
77
77
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/service-lines/v2"),
|
|
78
78
|
method: "POST",
|
|
79
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
79
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "candidhealth/1.3.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
80
80
|
contentType: "application/json",
|
|
81
81
|
requestType: "json",
|
|
82
82
|
body: serializers.serviceLines.v2.ServiceLineCreateStandalone.jsonOrThrow(request, {
|
|
@@ -131,7 +131,7 @@ class V2 {
|
|
|
131
131
|
const _response = yield core.fetcher({
|
|
132
132
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/service-lines/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}`),
|
|
133
133
|
method: "PATCH",
|
|
134
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
134
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "candidhealth/1.3.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
135
135
|
contentType: "application/json",
|
|
136
136
|
requestType: "json",
|
|
137
137
|
body: serializers.serviceLines.v2.ServiceLineUpdate.jsonOrThrow(request, {
|
|
@@ -187,7 +187,7 @@ class V2 {
|
|
|
187
187
|
const _response = yield core.fetcher({
|
|
188
188
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/service-lines/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}`),
|
|
189
189
|
method: "DELETE",
|
|
190
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
190
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "candidhealth/1.3.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
191
191
|
contentType: "application/json",
|
|
192
192
|
requestType: "json",
|
|
193
193
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
export interface DrugIdentificationOptional {
|
|
6
|
+
serviceIdQualifier?: CandidApi.serviceLines.v2.ServiceIdQualifier;
|
|
7
|
+
nationalDrugCode?: string;
|
|
8
|
+
nationalDrugUnitCount?: string;
|
|
9
|
+
measurementUnitCode?: CandidApi.serviceLines.v2.MeasurementUnitCode;
|
|
10
|
+
linkSequenceNumber?: string;
|
|
11
|
+
pharmacyPrescriptionNumber?: string;
|
|
12
|
+
conversionFormula?: string;
|
|
13
|
+
drugDescription?: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
export interface ServiceLineCreateOptional {
|
|
6
|
+
modifiers?: CandidApi.ProcedureModifier[];
|
|
7
|
+
/**
|
|
8
|
+
* Maps to SV1-11 on the 837-P and Box 24H on the CMS-1500.
|
|
9
|
+
* If the value is true, the box will be populated with "Y". Otherwise, the box will not be populated.
|
|
10
|
+
*/
|
|
11
|
+
hasEpsdtIndicator?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Maps to SV1-12 on the 837-P and Box 24I on the CMS-1500.
|
|
14
|
+
* If the value is true, the box will be populated with "Y". Otherwise, the box will not be populated.
|
|
15
|
+
*/
|
|
16
|
+
hasFamilyPlanningIndicator?: boolean;
|
|
17
|
+
procedureCode?: string;
|
|
18
|
+
/**
|
|
19
|
+
* String representation of a Decimal that can be parsed by most libraries.
|
|
20
|
+
* A ServiceLine quantity cannot contain more than one digit of precision.
|
|
21
|
+
* Example: 1.1 is valid, 1.11 is not.
|
|
22
|
+
*/
|
|
23
|
+
quantity?: CandidApi.Decimal;
|
|
24
|
+
units?: CandidApi.ServiceLineUnits;
|
|
25
|
+
/**
|
|
26
|
+
* The total amount charged for this service line taking quantity into account. For example, if a single unit
|
|
27
|
+
* costs 100 cents and 2 units were rendered, the `charge_amount_cents` should be 200. Should be greater than or
|
|
28
|
+
* equal to 0.
|
|
29
|
+
*/
|
|
30
|
+
chargeAmountCents?: number;
|
|
31
|
+
/** Indices (zero-indexed) of all the diagnoses this service line references */
|
|
32
|
+
diagnosisPointers?: number[];
|
|
33
|
+
drugIdentification?: CandidApi.serviceLines.v2.DrugIdentificationOptional;
|
|
34
|
+
/** 837p Loop2300, SV105. If your organization does not intend to submit claims with a different place of service at the service line level, this field should not be populated. 02 for telemedicine, 11 for in-person. Full list [here](https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set). */
|
|
35
|
+
placeOfServiceCode?: CandidApi.FacilityTypeCode;
|
|
36
|
+
/** A free-form description to clarify the related data elements and their content. Maps to SV1-01, C003-07 on the 837-P. */
|
|
37
|
+
description?: string;
|
|
38
|
+
dateOfService?: string;
|
|
39
|
+
endDateOfService?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Required when the service or supply was ordered by a provider who is different than the rendering provider for this service line.
|
|
42
|
+
* If not required by this implementation guide, do not send.
|
|
43
|
+
*/
|
|
44
|
+
orderingProvider?: CandidApi.encounterProviders.v2.OrderingProviderOptional;
|
|
45
|
+
/**
|
|
46
|
+
* Contains a list of test results. Test result types may map to MEA-02 on the 837-P (ex: Hemoglobin, Hematocrit).
|
|
47
|
+
* No more than 5 MEA-02 test results may be submitted per service line.
|
|
48
|
+
*/
|
|
49
|
+
testResults?: CandidApi.serviceLines.v2.TestResultOptional[];
|
|
50
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from "./ServiceLineCreate";
|
|
2
|
+
export * from "./ServiceLineCreateOptional";
|
|
2
3
|
export * from "./ServiceLineCreateStandalone";
|
|
3
4
|
export * from "./ServiceLineUpdate";
|
|
4
5
|
export * from "./ServiceLine";
|
|
@@ -6,8 +7,10 @@ export * from "./ServiceLineEraData";
|
|
|
6
7
|
export * from "./ServiceLineAdjustment";
|
|
7
8
|
export * from "./ServiceLineDenialReason";
|
|
8
9
|
export * from "./DenialReasonContent";
|
|
10
|
+
export * from "./DrugIdentificationOptional";
|
|
9
11
|
export * from "./DrugIdentification";
|
|
10
12
|
export * from "./TestResultType";
|
|
13
|
+
export * from "./TestResultOptional";
|
|
11
14
|
export * from "./TestResult";
|
|
12
15
|
export * from "./ServiceIdQualifier";
|
|
13
16
|
export * from "./MeasurementUnitCode";
|
|
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./ServiceLineCreate"), exports);
|
|
18
|
+
__exportStar(require("./ServiceLineCreateOptional"), exports);
|
|
18
19
|
__exportStar(require("./ServiceLineCreateStandalone"), exports);
|
|
19
20
|
__exportStar(require("./ServiceLineUpdate"), exports);
|
|
20
21
|
__exportStar(require("./ServiceLine"), exports);
|
|
@@ -22,8 +23,10 @@ __exportStar(require("./ServiceLineEraData"), exports);
|
|
|
22
23
|
__exportStar(require("./ServiceLineAdjustment"), exports);
|
|
23
24
|
__exportStar(require("./ServiceLineDenialReason"), exports);
|
|
24
25
|
__exportStar(require("./DenialReasonContent"), exports);
|
|
26
|
+
__exportStar(require("./DrugIdentificationOptional"), exports);
|
|
25
27
|
__exportStar(require("./DrugIdentification"), exports);
|
|
26
28
|
__exportStar(require("./TestResultType"), exports);
|
|
29
|
+
__exportStar(require("./TestResultOptional"), exports);
|
|
27
30
|
__exportStar(require("./TestResult"), exports);
|
|
28
31
|
__exportStar(require("./ServiceIdQualifier"), exports);
|
|
29
32
|
__exportStar(require("./MeasurementUnitCode"), exports);
|
|
@@ -75,7 +75,7 @@ class V1 {
|
|
|
75
75
|
const _response = yield core.fetcher({
|
|
76
76
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/superbill/v1"),
|
|
77
77
|
method: "POST",
|
|
78
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
78
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "candidhealth/1.3.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
79
79
|
contentType: "application/json",
|
|
80
80
|
requestType: "json",
|
|
81
81
|
body: serializers.superbills.v1.CreateSuperbillRequest.jsonOrThrow(request, {
|
|
@@ -71,7 +71,7 @@ class V3 {
|
|
|
71
71
|
const _response = yield core.fetcher({
|
|
72
72
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/tasks/v3/${encodeURIComponent(serializers.TaskId.jsonOrThrow(taskId))}/actions`),
|
|
73
73
|
method: "GET",
|
|
74
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
74
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "candidhealth/1.3.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
75
75
|
contentType: "application/json",
|
|
76
76
|
requestType: "json",
|
|
77
77
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -155,7 +155,7 @@ class V3 {
|
|
|
155
155
|
const _response = yield core.fetcher({
|
|
156
156
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/tasks/v3"),
|
|
157
157
|
method: "GET",
|
|
158
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
158
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "candidhealth/1.3.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
159
159
|
contentType: "application/json",
|
|
160
160
|
queryParameters: _queryParams,
|
|
161
161
|
requestType: "json",
|
|
@@ -207,7 +207,7 @@ class V3 {
|
|
|
207
207
|
const _response = yield core.fetcher({
|
|
208
208
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/tasks/v3/${encodeURIComponent(serializers.TaskId.jsonOrThrow(taskId))}`),
|
|
209
209
|
method: "GET",
|
|
210
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
210
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "candidhealth/1.3.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
211
211
|
contentType: "application/json",
|
|
212
212
|
requestType: "json",
|
|
213
213
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -264,7 +264,7 @@ class V3 {
|
|
|
264
264
|
const _response = yield core.fetcher({
|
|
265
265
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/tasks/v3"),
|
|
266
266
|
method: "POST",
|
|
267
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
267
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "candidhealth/1.3.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
268
268
|
contentType: "application/json",
|
|
269
269
|
requestType: "json",
|
|
270
270
|
body: serializers.tasks.v3.TaskCreateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -303,7 +303,7 @@ class V3 {
|
|
|
303
303
|
const _response = yield core.fetcher({
|
|
304
304
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/tasks/v3/${encodeURIComponent(serializers.TaskId.jsonOrThrow(taskId))}`),
|
|
305
305
|
method: "PATCH",
|
|
306
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
306
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "candidhealth/1.3.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
307
307
|
contentType: "application/json",
|
|
308
308
|
requestType: "json",
|
|
309
309
|
body: serializers.tasks.v3.TaskUpdateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -116,7 +116,7 @@ class V1 {
|
|
|
116
116
|
const _response = yield core.fetcher({
|
|
117
117
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/write-offs/v1"),
|
|
118
118
|
method: "GET",
|
|
119
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
119
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "candidhealth/1.3.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
120
120
|
contentType: "application/json",
|
|
121
121
|
queryParameters: _queryParams,
|
|
122
122
|
requestType: "json",
|
|
@@ -156,7 +156,7 @@ class V1 {
|
|
|
156
156
|
const _response = yield core.fetcher({
|
|
157
157
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/write-offs/v1/${encodeURIComponent(serializers.writeOffs.v1.WriteOffId.jsonOrThrow(writeOffId))}`),
|
|
158
158
|
method: "GET",
|
|
159
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
159
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "candidhealth/1.3.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
160
160
|
contentType: "application/json",
|
|
161
161
|
requestType: "json",
|
|
162
162
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -210,7 +210,7 @@ class V1 {
|
|
|
210
210
|
const _response = yield core.fetcher({
|
|
211
211
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/write-offs/v1"),
|
|
212
212
|
method: "POST",
|
|
213
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
213
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "candidhealth/1.3.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
214
214
|
contentType: "application/json",
|
|
215
215
|
requestType: "json",
|
|
216
216
|
body: serializers.writeOffs.v1.CreateWriteOffsRequest.jsonOrThrow(request, {
|
|
@@ -252,7 +252,7 @@ class V1 {
|
|
|
252
252
|
const _response = yield core.fetcher({
|
|
253
253
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/write-offs/v1/${encodeURIComponent(serializers.writeOffs.v1.WriteOffId.jsonOrThrow(writeOffId))}/revert`),
|
|
254
254
|
method: "POST",
|
|
255
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
255
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "candidhealth/1.3.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
256
256
|
contentType: "application/json",
|
|
257
257
|
requestType: "json",
|
|
258
258
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -291,7 +291,7 @@ class V1 {
|
|
|
291
291
|
const _response = yield core.fetcher({
|
|
292
292
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/write-offs/v1/${encodeURIComponent(serializers.AdjustmentId.jsonOrThrow(adjustmentId))}/revert`),
|
|
293
293
|
method: "POST",
|
|
294
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
294
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "candidhealth/1.3.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
295
295
|
contentType: "application/json",
|
|
296
296
|
requestType: "json",
|
|
297
297
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -330,7 +330,7 @@ class V1 {
|
|
|
330
330
|
const _response = yield core.fetcher({
|
|
331
331
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/write-offs/v1/${encodeURIComponent(serializers.AdjustmentId.jsonOrThrow(adjustmentId))}/revert-era-originated`),
|
|
332
332
|
method: "POST",
|
|
333
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
333
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.3.0", "User-Agent": "candidhealth/1.3.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
334
334
|
contentType: "application/json",
|
|
335
335
|
requestType: "json",
|
|
336
336
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type InsuranceWriteOffReason = "SMALL_BALANCE" | "NO_AUTHORIZATION_REFERRAL" | "TIMELY_FILING" | "STALE_DATE" | "TIMELY_FILING_LATE_ENCOUNTER" | "CREDENTIALING_OR_CONTRACTING" | "NON_COVERED_MAX_BENEFIT" | "NOT_MEDICALLY_NECESSARY" | "BUNDLED_OR_INCLUSIVE" | "UNCOLLECTIBLE_OR_NON_BILLABLE" | "EFFORTS_EXHAUSTED" | "ADMINISTRATIVE_WRITE_OFF" | "CASE_RATE_OR_CAPITATED" | "OTHER" | "UNKNOWN" | "CONTRACTUAL_ADJUSTMENT";
|
|
4
|
+
export type InsuranceWriteOffReason = "SMALL_BALANCE" | "NO_AUTHORIZATION_REFERRAL" | "TIMELY_FILING" | "STALE_DATE" | "TIMELY_FILING_LATE_ENCOUNTER" | "CREDENTIALING_OR_CONTRACTING" | "NON_COVERED_MAX_BENEFIT" | "NOT_MEDICALLY_NECESSARY" | "BUNDLED_OR_INCLUSIVE" | "UNCOLLECTIBLE_OR_NON_BILLABLE" | "EFFORTS_EXHAUSTED" | "ADMINISTRATIVE_WRITE_OFF" | "CASE_RATE_OR_CAPITATED" | "OTHER" | "UNKNOWN" | "CONTRACTUAL_ADJUSTMENT" | "PRIMARY_PAID_MAX_BENEFITS";
|
|
5
5
|
export declare const InsuranceWriteOffReason: {
|
|
6
6
|
readonly SmallBalance: "SMALL_BALANCE";
|
|
7
7
|
readonly NoAuthorizationReferral: "NO_AUTHORIZATION_REFERRAL";
|
|
@@ -19,4 +19,5 @@ export declare const InsuranceWriteOffReason: {
|
|
|
19
19
|
readonly Other: "OTHER";
|
|
20
20
|
readonly Unknown: "UNKNOWN";
|
|
21
21
|
readonly ContractualAdjustment: "CONTRACTUAL_ADJUSTMENT";
|
|
22
|
+
readonly PrimaryPaidMaxBenefits: "PRIMARY_PAID_MAX_BENEFITS";
|
|
22
23
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type PatientWriteOffReason = "SMALL_BALANCE" | "CHARITY_OR_FINANCIAL_ASSISTANCE" | "PATIENT_EXPERIENCE_OR_SERVICE_RECOVERY" | "OON_COURTESY_ADJUSTMENT" | "PROMPT_PAY_DISCOUNT" | "BAD_DEBT" | "COLLECTION_AGENCY" | "OTHER" | "UNKNOWN" | "UNCOLLECTIBLE_OR_NON_BILLABLE" | "DECEASED";
|
|
4
|
+
export type PatientWriteOffReason = "SMALL_BALANCE" | "CHARITY_OR_FINANCIAL_ASSISTANCE" | "PATIENT_EXPERIENCE_OR_SERVICE_RECOVERY" | "OON_COURTESY_ADJUSTMENT" | "PROMPT_PAY_DISCOUNT" | "BAD_DEBT" | "COLLECTION_AGENCY" | "OTHER" | "UNKNOWN" | "UNCOLLECTIBLE_OR_NON_BILLABLE" | "DECEASED" | "BANKRUPTCY";
|
|
5
5
|
export declare const PatientWriteOffReason: {
|
|
6
6
|
readonly SmallBalance: "SMALL_BALANCE";
|
|
7
7
|
readonly CharityOrFinancialAssistance: "CHARITY_OR_FINANCIAL_ASSISTANCE";
|
|
@@ -14,4 +14,5 @@ export declare const PatientWriteOffReason: {
|
|
|
14
14
|
readonly Unknown: "UNKNOWN";
|
|
15
15
|
readonly UncollectibleOrNonBillable: "UNCOLLECTIBLE_OR_NON_BILLABLE";
|
|
16
16
|
readonly Deceased: "DECEASED";
|
|
17
|
+
readonly Bankruptcy: "BANKRUPTCY";
|
|
17
18
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./types";
|