candidhealth 1.5.0 → 1.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +9 -3
- package/Client.js +52 -42
- package/README.md +1 -1
- package/api/resources/auth/resources/default/client/Client.d.ts +10 -0
- package/api/resources/auth/resources/default/client/Client.js +43 -1
- package/api/resources/auth/resources/default/client/getMachineTokenForOrgId.d.ts +22 -0
- package/api/resources/auth/resources/default/client/getMachineTokenForOrgId.js +57 -0
- package/api/resources/auth/resources/default/client/index.d.ts +1 -0
- package/api/resources/auth/resources/default/client/index.js +2 -1
- package/api/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +13 -0
- package/api/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js +5 -0
- package/api/resources/auth/resources/default/client/requests/index.d.ts +1 -0
- package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/api/resources/chargeCapture/resources/v1/client/Client.js +6 -6
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -4
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/credentialing/resources/v2/client/Client.d.ts +49 -0
- package/api/resources/credentialing/resources/v2/client/Client.js +295 -5
- package/api/resources/credentialing/resources/v2/client/createFacility.d.ts +34 -0
- package/api/resources/credentialing/resources/v2/client/createFacility.js +79 -0
- package/api/resources/credentialing/resources/v2/client/deleteFacility.d.ts +34 -0
- package/api/resources/credentialing/resources/v2/client/deleteFacility.js +79 -0
- package/api/resources/credentialing/resources/v2/client/getAllFacilities.d.ts +34 -0
- package/api/resources/credentialing/resources/v2/client/getAllFacilities.js +79 -0
- package/api/resources/credentialing/resources/v2/client/getFacility.d.ts +34 -0
- package/api/resources/credentialing/resources/v2/client/getFacility.js +79 -0
- package/api/resources/credentialing/resources/v2/client/index.d.ts +5 -0
- package/api/resources/credentialing/resources/v2/client/index.js +6 -1
- package/api/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanCreate.d.ts +27 -0
- package/api/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanCreate.js +5 -0
- package/api/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanUpdate.d.ts +26 -0
- package/api/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanUpdate.js +5 -0
- package/api/resources/credentialing/resources/v2/client/requests/GetAllFacilityCredentialingSpansRequest.d.ts +27 -0
- package/api/resources/credentialing/resources/v2/client/requests/GetAllFacilityCredentialingSpansRequest.js +5 -0
- package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +1 -1
- package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +1 -1
- package/api/resources/credentialing/resources/v2/client/requests/index.d.ts +3 -0
- package/api/resources/credentialing/resources/v2/client/updateFacility.d.ts +46 -0
- package/api/resources/credentialing/resources/v2/client/updateFacility.js +101 -0
- package/api/resources/credentialing/resources/v2/types/BaseCredentialingSpan.d.ts +22 -0
- package/api/resources/credentialing/resources/v2/types/BaseCredentialingSpan.js +5 -0
- package/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpan.d.ts +9 -0
- package/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpan.js +5 -0
- package/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpanId.d.ts +8 -0
- package/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpanId.js +9 -0
- package/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpanPage.d.ts +7 -0
- package/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpanPage.js +5 -0
- package/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +3 -19
- package/api/resources/credentialing/resources/v2/types/index.d.ts +4 -0
- package/api/resources/credentialing/resources/v2/types/index.js +4 -0
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/diagnoses/client/Client.js +3 -3
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -3
- package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/api/resources/encounters/resources/v4/client/Client.js +5 -5
- 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 +11 -11
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/healthCareCodeInformation/client/Client.d.ts +30 -0
- package/api/resources/healthCareCodeInformation/client/Client.js +17 -0
- package/api/resources/healthCareCodeInformation/client/index.d.ts +1 -0
- package/api/resources/healthCareCodeInformation/client/index.js +2 -0
- package/api/resources/healthCareCodeInformation/index.d.ts +2 -0
- package/api/resources/healthCareCodeInformation/index.js +18 -0
- package/api/resources/healthCareCodeInformation/resources/index.d.ts +1 -0
- package/api/resources/healthCareCodeInformation/resources/index.js +37 -0
- package/api/resources/healthCareCodeInformation/resources/v1/client/Client.d.ts +46 -0
- package/api/resources/healthCareCodeInformation/resources/v1/client/Client.js +179 -0
- package/api/resources/healthCareCodeInformation/resources/v1/client/getAllForEncounter.d.ts +28 -0
- package/api/resources/healthCareCodeInformation/resources/v1/client/getAllForEncounter.js +68 -0
- package/api/resources/healthCareCodeInformation/resources/v1/client/index.d.ts +2 -0
- package/api/resources/healthCareCodeInformation/resources/v1/client/index.js +38 -0
- package/api/resources/healthCareCodeInformation/resources/v1/client/update.d.ts +34 -0
- package/api/resources/healthCareCodeInformation/resources/v1/client/update.js +79 -0
- package/api/resources/healthCareCodeInformation/resources/v1/index.d.ts +2 -0
- package/api/resources/healthCareCodeInformation/resources/v1/index.js +18 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosis.d.ts +11 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosis.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisCodeQualifier.d.ts +14 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisCodeQualifier.js +10 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.d.ts +4230 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.js +1064 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.d.ts +242 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.js +67 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformation.d.ts +11 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformation.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationCodeQualifier.d.ts +10 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationCodeQualifier.js +9 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/D8Date.d.ts +4 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/D8Date.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.d.ts +174 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.js +50 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroup.d.ts +11 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroup.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupCodeQualifier.d.ts +10 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupCodeQualifier.js +9 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjury.d.ts +12 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjury.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryCodeQualifier.d.ts +14 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryCodeQualifier.js +10 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformation.d.ts +18 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformation.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.d.ts +19 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.d.ts +57 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.d.ts +19 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/IcdCode.d.ts +8 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/IcdCode.js +9 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/MsdrgCode.d.ts +8 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/MsdrgCode.js +9 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.d.ts +242 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.js +67 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.d.ts +12 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationCodeQualifier.d.ts +10 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationCodeQualifier.js +9 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.d.ts +58 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.js +21 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCodeQualifier.d.ts +10 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCodeQualifier.js +9 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformation.d.ts +12 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformation.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformation.d.ts +12 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformation.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationCodeQualifier.d.ts +14 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationCodeQualifier.js +10 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.d.ts +12 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationCodeQualifier.d.ts +14 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationCodeQualifier.js +10 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisit.d.ts +11 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisit.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitCodeQualifier.d.ts +14 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitCodeQualifier.js +10 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PresentOnAdmissionIndicatorCode.d.ts +26 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PresentOnAdmissionIndicatorCode.js +13 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosis.d.ts +12 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosis.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisCodeQualifier.d.ts +14 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisCodeQualifier.js +10 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.d.ts +12 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationCodeQualifier.d.ts +18 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationCodeQualifier.js +11 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.d.ts +7 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearAdmittingDiagnosis.d.ts +7 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearAdmittingDiagnosis.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearDiagnosisRelatedGroup.d.ts +7 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearDiagnosisRelatedGroup.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalDiagnosis.d.ts +7 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalDiagnosis.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalProcedureInformation.d.ts +7 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalProcedureInformation.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCode.d.ts +8 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCode.js +9 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformation.d.ts +11 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformation.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeQualifier.d.ts +10 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeQualifier.js +9 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ValueCode.d.ts +541 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ValueCode.js +115 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ValueCodeQualifier.d.ts +10 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ValueCodeQualifier.js +9 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformation.d.ts +12 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformation.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +46 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/index.js +62 -0
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/index.d.ts +3 -1
- package/api/resources/index.js +5 -3
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- 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 +7 -7
- 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/patientAr/client/Client.d.ts +30 -0
- package/api/resources/patientAr/client/Client.js +17 -0
- package/api/resources/patientAr/client/index.d.ts +1 -0
- package/api/resources/patientAr/client/index.js +2 -0
- package/api/resources/patientAr/index.d.ts +2 -0
- package/api/resources/patientAr/index.js +18 -0
- package/api/resources/patientAr/resources/index.d.ts +1 -0
- package/api/resources/patientAr/resources/index.js +37 -0
- package/api/resources/patientAr/resources/v1/client/Client.d.ts +54 -0
- package/api/resources/patientAr/resources/v1/client/Client.js +196 -0
- package/api/resources/patientAr/resources/v1/client/index.d.ts +3 -0
- package/api/resources/patientAr/resources/v1/client/index.js +42 -0
- package/api/resources/patientAr/resources/v1/client/itemize.d.ts +34 -0
- package/api/resources/patientAr/resources/v1/client/itemize.js +79 -0
- package/api/resources/patientAr/resources/v1/client/listInventory.d.ts +34 -0
- package/api/resources/patientAr/resources/v1/client/listInventory.js +79 -0
- package/api/resources/patientAr/resources/v1/client/requests/GetInventoryRecordsRequest.d.ts +19 -0
- package/api/resources/patientAr/resources/v1/client/requests/GetInventoryRecordsRequest.js +5 -0
- package/api/resources/patientAr/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/patientAr/resources/v1/client/requests/index.js +2 -0
- package/api/resources/patientAr/resources/v1/index.d.ts +2 -0
- package/api/resources/patientAr/resources/v1/index.js +18 -0
- package/api/resources/patientAr/resources/v1/types/InsuranceAdjustmentInfo.d.ts +7 -0
- package/api/resources/patientAr/resources/v1/types/InsuranceAdjustmentInfo.js +5 -0
- package/api/resources/patientAr/resources/v1/types/InsurancePaymentInfo.d.ts +7 -0
- package/api/resources/patientAr/resources/v1/types/InsurancePaymentInfo.js +5 -0
- package/api/resources/patientAr/resources/v1/types/InvalidFiltersErrorType.d.ts +6 -0
- package/api/resources/patientAr/resources/v1/types/InvalidFiltersErrorType.js +5 -0
- package/api/resources/patientAr/resources/v1/types/InventoryRecord.d.ts +11 -0
- package/api/resources/patientAr/resources/v1/types/InventoryRecord.js +5 -0
- package/api/resources/patientAr/resources/v1/types/InvoiceItemizationResponse.d.ts +13 -0
- package/api/resources/patientAr/resources/v1/types/InvoiceItemizationResponse.js +5 -0
- package/api/resources/patientAr/resources/v1/types/ListInventoryPagedResponse.d.ts +10 -0
- package/api/resources/patientAr/resources/v1/types/ListInventoryPagedResponse.js +5 -0
- package/api/resources/patientAr/resources/v1/types/NonInsuranceAdjustmentInfo.d.ts +7 -0
- package/api/resources/patientAr/resources/v1/types/NonInsuranceAdjustmentInfo.js +5 -0
- package/api/resources/patientAr/resources/v1/types/NonInsurancePaymentInfo.d.ts +7 -0
- package/api/resources/patientAr/resources/v1/types/NonInsurancePaymentInfo.js +5 -0
- package/api/resources/patientAr/resources/v1/types/PatientAdjustmentInfo.d.ts +7 -0
- package/api/resources/patientAr/resources/v1/types/PatientAdjustmentInfo.js +5 -0
- package/api/resources/patientAr/resources/v1/types/PatientArStatus.d.ts +8 -0
- package/api/resources/patientAr/resources/v1/types/PatientArStatus.js +10 -0
- package/api/resources/patientAr/resources/v1/types/PatientPaymentAllocation.d.ts +12 -0
- package/api/resources/patientAr/resources/v1/types/PatientPaymentAllocation.js +5 -0
- package/api/resources/patientAr/resources/v1/types/PatientPaymentInfo.d.ts +10 -0
- package/api/resources/patientAr/resources/v1/types/PatientPaymentInfo.js +5 -0
- package/api/resources/patientAr/resources/v1/types/ServiceLineItemization.d.ts +28 -0
- package/api/resources/patientAr/resources/v1/types/ServiceLineItemization.js +5 -0
- package/api/resources/patientAr/resources/v1/types/index.d.ts +13 -0
- package/api/resources/patientAr/resources/v1/types/index.js +29 -0
- 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 +6 -6
- 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/MutablePatient.d.ts +2 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/OriginationDetail.d.ts +10 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/OriginationDetail.js +5 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralSource.d.ts +10 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralSource.js +12 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.d.ts +8 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.js +10 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/SpecializationCategory.d.ts +34 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/SpecializationCategory.js +36 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +4 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +4 -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/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/dist/Client.d.ts +9 -3
- package/dist/Client.js +52 -42
- package/dist/api/resources/auth/resources/default/client/Client.d.ts +10 -0
- package/dist/api/resources/auth/resources/default/client/Client.js +43 -1
- package/dist/api/resources/auth/resources/default/client/getMachineTokenForOrgId.d.ts +22 -0
- package/dist/api/resources/auth/resources/default/client/getMachineTokenForOrgId.js +57 -0
- package/dist/api/resources/auth/resources/default/client/index.d.ts +1 -0
- package/dist/api/resources/auth/resources/default/client/index.js +2 -1
- package/dist/api/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +13 -0
- package/dist/api/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js +5 -0
- package/dist/api/resources/auth/resources/default/client/requests/index.d.ts +1 -0
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/credentialing/resources/v2/client/Client.d.ts +49 -0
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +295 -5
- package/dist/api/resources/credentialing/resources/v2/client/createFacility.d.ts +34 -0
- package/dist/api/resources/credentialing/resources/v2/client/createFacility.js +79 -0
- package/dist/api/resources/credentialing/resources/v2/client/deleteFacility.d.ts +34 -0
- package/dist/api/resources/credentialing/resources/v2/client/deleteFacility.js +79 -0
- package/dist/api/resources/credentialing/resources/v2/client/getAllFacilities.d.ts +34 -0
- package/dist/api/resources/credentialing/resources/v2/client/getAllFacilities.js +79 -0
- package/dist/api/resources/credentialing/resources/v2/client/getFacility.d.ts +34 -0
- package/dist/api/resources/credentialing/resources/v2/client/getFacility.js +79 -0
- package/dist/api/resources/credentialing/resources/v2/client/index.d.ts +5 -0
- package/dist/api/resources/credentialing/resources/v2/client/index.js +6 -1
- package/dist/api/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanCreate.d.ts +27 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanCreate.js +5 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanUpdate.d.ts +26 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanUpdate.js +5 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllFacilityCredentialingSpansRequest.d.ts +27 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllFacilityCredentialingSpansRequest.js +5 -0
- package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +1 -1
- package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +1 -1
- package/dist/api/resources/credentialing/resources/v2/client/requests/index.d.ts +3 -0
- package/dist/api/resources/credentialing/resources/v2/client/updateFacility.d.ts +46 -0
- package/dist/api/resources/credentialing/resources/v2/client/updateFacility.js +101 -0
- package/dist/api/resources/credentialing/resources/v2/types/BaseCredentialingSpan.d.ts +22 -0
- package/dist/api/resources/credentialing/resources/v2/types/BaseCredentialingSpan.js +5 -0
- package/dist/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpan.d.ts +9 -0
- package/dist/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpan.js +5 -0
- package/dist/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpanId.d.ts +8 -0
- package/dist/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpanId.js +9 -0
- package/dist/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpanPage.d.ts +7 -0
- package/dist/api/resources/credentialing/resources/v2/types/FacilityCredentialingSpanPage.js +5 -0
- package/dist/api/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +3 -19
- package/dist/api/resources/credentialing/resources/v2/types/index.d.ts +4 -0
- package/dist/api/resources/credentialing/resources/v2/types/index.js +4 -0
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/diagnoses/client/Client.js +3 -3
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -5
- 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 +11 -11
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/healthCareCodeInformation/client/Client.d.ts +30 -0
- package/dist/api/resources/healthCareCodeInformation/client/Client.js +17 -0
- package/dist/api/resources/healthCareCodeInformation/client/index.d.ts +1 -0
- package/dist/api/resources/healthCareCodeInformation/client/index.js +2 -0
- package/dist/api/resources/healthCareCodeInformation/index.d.ts +2 -0
- package/dist/api/resources/healthCareCodeInformation/index.js +18 -0
- package/dist/api/resources/healthCareCodeInformation/resources/index.d.ts +1 -0
- package/dist/api/resources/healthCareCodeInformation/resources/index.js +37 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/client/Client.d.ts +46 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/client/Client.js +179 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/client/getAllForEncounter.d.ts +28 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/client/getAllForEncounter.js +68 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/client/index.d.ts +2 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/client/index.js +38 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/client/update.d.ts +34 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/client/update.js +79 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/index.js +18 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosis.d.ts +11 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosis.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisCodeQualifier.d.ts +14 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisCodeQualifier.js +10 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.d.ts +4230 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.js +1064 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.d.ts +242 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.js +67 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformation.d.ts +11 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformation.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationCodeQualifier.d.ts +10 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationCodeQualifier.js +9 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/D8Date.d.ts +4 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/D8Date.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.d.ts +174 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.js +50 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroup.d.ts +11 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroup.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupCodeQualifier.d.ts +10 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupCodeQualifier.js +9 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjury.d.ts +12 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjury.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryCodeQualifier.d.ts +14 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryCodeQualifier.js +10 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformation.d.ts +18 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformation.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.d.ts +19 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.d.ts +57 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.d.ts +19 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/IcdCode.d.ts +8 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/IcdCode.js +9 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/MsdrgCode.d.ts +8 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/MsdrgCode.js +9 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.d.ts +242 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.js +67 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.d.ts +12 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationCodeQualifier.d.ts +10 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationCodeQualifier.js +9 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.d.ts +58 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.js +21 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCodeQualifier.d.ts +10 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCodeQualifier.js +9 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformation.d.ts +12 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformation.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformation.d.ts +12 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformation.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationCodeQualifier.d.ts +14 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationCodeQualifier.js +10 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.d.ts +12 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationCodeQualifier.d.ts +14 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationCodeQualifier.js +10 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisit.d.ts +11 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisit.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitCodeQualifier.d.ts +14 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitCodeQualifier.js +10 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PresentOnAdmissionIndicatorCode.d.ts +26 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PresentOnAdmissionIndicatorCode.js +13 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosis.d.ts +12 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosis.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisCodeQualifier.d.ts +14 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisCodeQualifier.js +10 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.d.ts +12 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationCodeQualifier.d.ts +18 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationCodeQualifier.js +11 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.d.ts +7 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearAdmittingDiagnosis.d.ts +7 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearAdmittingDiagnosis.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearDiagnosisRelatedGroup.d.ts +7 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearDiagnosisRelatedGroup.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalDiagnosis.d.ts +7 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalDiagnosis.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalProcedureInformation.d.ts +7 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalProcedureInformation.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCode.d.ts +8 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCode.js +9 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformation.d.ts +11 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformation.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeQualifier.d.ts +10 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeQualifier.js +9 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueCode.d.ts +541 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueCode.js +115 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueCodeQualifier.d.ts +10 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueCodeQualifier.js +9 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformation.d.ts +12 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformation.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +46 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/index.js +62 -0
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/index.d.ts +3 -1
- package/dist/api/resources/index.js +5 -3
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- 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 +7 -7
- 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/patientAr/client/Client.d.ts +30 -0
- package/dist/api/resources/patientAr/client/Client.js +17 -0
- package/dist/api/resources/patientAr/client/index.d.ts +1 -0
- package/dist/api/resources/patientAr/client/index.js +2 -0
- package/dist/api/resources/patientAr/index.d.ts +2 -0
- package/dist/api/resources/patientAr/index.js +18 -0
- package/dist/api/resources/patientAr/resources/index.d.ts +1 -0
- package/dist/api/resources/patientAr/resources/index.js +37 -0
- package/dist/api/resources/patientAr/resources/v1/client/Client.d.ts +54 -0
- package/dist/api/resources/patientAr/resources/v1/client/Client.js +196 -0
- package/dist/api/resources/patientAr/resources/v1/client/index.d.ts +3 -0
- package/dist/api/resources/patientAr/resources/v1/client/index.js +42 -0
- package/dist/api/resources/patientAr/resources/v1/client/itemize.d.ts +34 -0
- package/dist/api/resources/patientAr/resources/v1/client/itemize.js +79 -0
- package/dist/api/resources/patientAr/resources/v1/client/listInventory.d.ts +34 -0
- package/dist/api/resources/patientAr/resources/v1/client/listInventory.js +79 -0
- package/dist/api/resources/patientAr/resources/v1/client/requests/GetInventoryRecordsRequest.d.ts +19 -0
- package/dist/api/resources/patientAr/resources/v1/client/requests/GetInventoryRecordsRequest.js +5 -0
- package/dist/api/resources/patientAr/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/patientAr/resources/v1/client/requests/index.js +2 -0
- package/dist/api/resources/patientAr/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/patientAr/resources/v1/index.js +18 -0
- package/dist/api/resources/patientAr/resources/v1/types/InsuranceAdjustmentInfo.d.ts +7 -0
- package/dist/api/resources/patientAr/resources/v1/types/InsuranceAdjustmentInfo.js +5 -0
- package/dist/api/resources/patientAr/resources/v1/types/InsurancePaymentInfo.d.ts +7 -0
- package/dist/api/resources/patientAr/resources/v1/types/InsurancePaymentInfo.js +5 -0
- package/dist/api/resources/patientAr/resources/v1/types/InvalidFiltersErrorType.d.ts +6 -0
- package/dist/api/resources/patientAr/resources/v1/types/InvalidFiltersErrorType.js +5 -0
- package/dist/api/resources/patientAr/resources/v1/types/InventoryRecord.d.ts +11 -0
- package/dist/api/resources/patientAr/resources/v1/types/InventoryRecord.js +5 -0
- package/dist/api/resources/patientAr/resources/v1/types/InvoiceItemizationResponse.d.ts +13 -0
- package/dist/api/resources/patientAr/resources/v1/types/InvoiceItemizationResponse.js +5 -0
- package/dist/api/resources/patientAr/resources/v1/types/ListInventoryPagedResponse.d.ts +10 -0
- package/dist/api/resources/patientAr/resources/v1/types/ListInventoryPagedResponse.js +5 -0
- package/dist/api/resources/patientAr/resources/v1/types/NonInsuranceAdjustmentInfo.d.ts +7 -0
- package/dist/api/resources/patientAr/resources/v1/types/NonInsuranceAdjustmentInfo.js +5 -0
- package/dist/api/resources/patientAr/resources/v1/types/NonInsurancePaymentInfo.d.ts +7 -0
- package/dist/api/resources/patientAr/resources/v1/types/NonInsurancePaymentInfo.js +5 -0
- package/dist/api/resources/patientAr/resources/v1/types/PatientAdjustmentInfo.d.ts +7 -0
- package/dist/api/resources/patientAr/resources/v1/types/PatientAdjustmentInfo.js +5 -0
- package/dist/api/resources/patientAr/resources/v1/types/PatientArStatus.d.ts +8 -0
- package/dist/api/resources/patientAr/resources/v1/types/PatientArStatus.js +10 -0
- package/dist/api/resources/patientAr/resources/v1/types/PatientPaymentAllocation.d.ts +12 -0
- package/dist/api/resources/patientAr/resources/v1/types/PatientPaymentAllocation.js +5 -0
- package/dist/api/resources/patientAr/resources/v1/types/PatientPaymentInfo.d.ts +10 -0
- package/dist/api/resources/patientAr/resources/v1/types/PatientPaymentInfo.js +5 -0
- package/dist/api/resources/patientAr/resources/v1/types/ServiceLineItemization.d.ts +28 -0
- package/dist/api/resources/patientAr/resources/v1/types/ServiceLineItemization.js +5 -0
- package/dist/api/resources/patientAr/resources/v1/types/index.d.ts +13 -0
- package/dist/api/resources/patientAr/resources/v1/types/index.js +29 -0
- 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 +6 -6
- 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/MutablePatient.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/OriginationDetail.d.ts +10 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/OriginationDetail.js +5 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralSource.d.ts +10 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralSource.js +12 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.d.ts +8 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.js +10 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/SpecializationCategory.d.ts +34 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/SpecializationCategory.js +36 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +4 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +4 -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/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/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +12 -0
- package/dist/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js +43 -0
- package/dist/serialization/resources/auth/resources/default/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/auth/resources/default/client/requests/index.js +3 -1
- package/dist/serialization/resources/credentialing/resources/v2/client/createFacility.d.ts +20 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/createFacility.js +77 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/deleteFacility.d.ts +20 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/deleteFacility.js +77 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/getAllFacilities.d.ts +20 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/getAllFacilities.js +77 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/getFacility.d.ts +20 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/getFacility.js +77 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/index.d.ts +5 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/index.js +6 -1
- package/dist/serialization/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanCreate.d.ts +18 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanCreate.js +49 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanUpdate.d.ts +19 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanUpdate.js +50 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/requests/index.js +5 -1
- package/dist/serialization/resources/credentialing/resources/v2/client/updateFacility.d.ts +30 -0
- package/dist/serialization/resources/credentialing/resources/v2/client/updateFacility.js +89 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/BaseCredentialingSpan.d.ts +22 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/BaseCredentialingSpan.js +53 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpan.d.ts +16 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpan.js +49 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpanId.d.ts +10 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpanId.js +45 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpanPage.d.ts +14 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpanPage.js +47 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +3 -12
- package/dist/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +6 -13
- package/dist/serialization/resources/credentialing/resources/v2/types/index.d.ts +4 -0
- package/dist/serialization/resources/credentialing/resources/v2/types/index.js +4 -0
- package/dist/serialization/resources/healthCareCodeInformation/index.d.ts +1 -0
- package/dist/serialization/resources/healthCareCodeInformation/index.js +17 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/index.d.ts +1 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/index.js +37 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/client/getAllForEncounter.d.ts +15 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/client/getAllForEncounter.js +71 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/client/index.d.ts +2 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/client/index.js +38 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/client/update.d.ts +20 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/client/update.js +77 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/index.d.ts +2 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/index.js +18 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosis.d.ts +16 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosis.js +49 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisCodeQualifier.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisCodeQualifier.js +41 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.js +1098 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.js +101 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformation.d.ts +16 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformation.js +49 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationCodeQualifier.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationCodeQualifier.js +41 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/D8Date.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/D8Date.js +41 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.js +84 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroup.d.ts +16 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroup.js +49 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupCodeQualifier.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupCodeQualifier.js +41 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjury.d.ts +18 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjury.js +51 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryCodeQualifier.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryCodeQualifier.js +41 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformation.d.ts +15 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformation.js +48 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.d.ts +37 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.js +68 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.d.ts +23 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.js +54 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.d.ts +37 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.js +68 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/IcdCode.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/IcdCode.js +45 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/MsdrgCode.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/MsdrgCode.js +45 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.js +101 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.d.ts +18 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.js +51 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationCodeQualifier.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationCodeQualifier.js +41 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.js +41 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCodeQualifier.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCodeQualifier.js +41 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformation.d.ts +18 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformation.js +51 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformation.d.ts +18 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformation.js +51 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationCodeQualifier.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationCodeQualifier.js +41 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.d.ts +18 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.js +51 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationCodeQualifier.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationCodeQualifier.js +41 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisit.d.ts +16 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisit.js +49 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitCodeQualifier.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitCodeQualifier.js +41 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PresentOnAdmissionIndicatorCode.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PresentOnAdmissionIndicatorCode.js +41 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosis.d.ts +18 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosis.js +51 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisCodeQualifier.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisCodeQualifier.js +41 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.d.ts +18 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.js +51 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationCodeQualifier.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationCodeQualifier.js +41 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.d.ts +13 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.js +44 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearAdmittingDiagnosis.d.ts +13 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearAdmittingDiagnosis.js +44 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearDiagnosisRelatedGroup.d.ts +13 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearDiagnosisRelatedGroup.js +44 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalDiagnosis.d.ts +13 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalDiagnosis.js +44 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalProcedureInformation.d.ts +13 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalProcedureInformation.js +44 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCode.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCode.js +45 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformation.d.ts +16 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformation.js +49 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeQualifier.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeQualifier.js +41 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueCode.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueCode.js +149 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueCodeQualifier.d.ts +10 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueCodeQualifier.js +41 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformation.d.ts +18 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformation.js +51 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +46 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/index.js +62 -0
- package/dist/serialization/resources/index.d.ts +3 -1
- package/dist/serialization/resources/index.js +5 -3
- package/dist/serialization/resources/patientAr/index.d.ts +1 -0
- package/dist/serialization/resources/patientAr/index.js +17 -0
- package/dist/serialization/resources/patientAr/resources/index.d.ts +1 -0
- package/dist/serialization/resources/patientAr/resources/index.js +37 -0
- package/dist/serialization/resources/patientAr/resources/v1/client/index.d.ts +2 -0
- package/dist/serialization/resources/patientAr/resources/v1/client/index.js +38 -0
- package/dist/serialization/resources/patientAr/resources/v1/client/itemize.d.ts +20 -0
- package/dist/serialization/resources/patientAr/resources/v1/client/itemize.js +77 -0
- package/dist/serialization/resources/patientAr/resources/v1/client/listInventory.d.ts +20 -0
- package/dist/serialization/resources/patientAr/resources/v1/client/listInventory.js +77 -0
- package/dist/serialization/resources/patientAr/resources/v1/index.d.ts +2 -0
- package/dist/serialization/resources/patientAr/resources/v1/index.js +18 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/InsuranceAdjustmentInfo.d.ts +12 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/InsuranceAdjustmentInfo.js +43 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/InsurancePaymentInfo.d.ts +12 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/InsurancePaymentInfo.js +43 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/InvalidFiltersErrorType.d.ts +12 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/InvalidFiltersErrorType.js +43 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/InventoryRecord.d.ts +20 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/InventoryRecord.js +51 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/InvoiceItemizationResponse.d.ts +18 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/InvoiceItemizationResponse.js +49 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/ListInventoryPagedResponse.d.ts +15 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/ListInventoryPagedResponse.js +46 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/NonInsuranceAdjustmentInfo.d.ts +12 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/NonInsuranceAdjustmentInfo.js +43 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/NonInsurancePaymentInfo.d.ts +12 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/NonInsurancePaymentInfo.js +43 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/PatientAdjustmentInfo.d.ts +12 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/PatientAdjustmentInfo.js +43 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/PatientArStatus.d.ts +10 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/PatientArStatus.js +41 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/PatientPaymentAllocation.d.ts +13 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/PatientPaymentAllocation.js +44 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/PatientPaymentInfo.d.ts +14 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/PatientPaymentInfo.js +45 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/ServiceLineItemization.d.ts +32 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/ServiceLineItemization.js +63 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/index.d.ts +13 -0
- package/dist/serialization/resources/patientAr/resources/v1/types/index.js +29 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/OriginationDetail.d.ts +19 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/OriginationDetail.js +50 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralSource.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralSource.js +41 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.js +41 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/SpecializationCategory.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/SpecializationCategory.js +70 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +4 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +4 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +898 -331
- package/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +12 -0
- package/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js +43 -0
- package/serialization/resources/auth/resources/default/client/requests/index.d.ts +1 -0
- package/serialization/resources/auth/resources/default/client/requests/index.js +3 -1
- package/serialization/resources/credentialing/resources/v2/client/createFacility.d.ts +20 -0
- package/serialization/resources/credentialing/resources/v2/client/createFacility.js +77 -0
- package/serialization/resources/credentialing/resources/v2/client/deleteFacility.d.ts +20 -0
- package/serialization/resources/credentialing/resources/v2/client/deleteFacility.js +77 -0
- package/serialization/resources/credentialing/resources/v2/client/getAllFacilities.d.ts +20 -0
- package/serialization/resources/credentialing/resources/v2/client/getAllFacilities.js +77 -0
- package/serialization/resources/credentialing/resources/v2/client/getFacility.d.ts +20 -0
- package/serialization/resources/credentialing/resources/v2/client/getFacility.js +77 -0
- package/serialization/resources/credentialing/resources/v2/client/index.d.ts +5 -0
- package/serialization/resources/credentialing/resources/v2/client/index.js +6 -1
- package/serialization/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanCreate.d.ts +18 -0
- package/serialization/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanCreate.js +49 -0
- package/serialization/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanUpdate.d.ts +19 -0
- package/serialization/resources/credentialing/resources/v2/client/requests/FacilityCredentialingSpanUpdate.js +50 -0
- package/serialization/resources/credentialing/resources/v2/client/requests/index.d.ts +2 -0
- package/serialization/resources/credentialing/resources/v2/client/requests/index.js +5 -1
- package/serialization/resources/credentialing/resources/v2/client/updateFacility.d.ts +30 -0
- package/serialization/resources/credentialing/resources/v2/client/updateFacility.js +89 -0
- package/serialization/resources/credentialing/resources/v2/types/BaseCredentialingSpan.d.ts +22 -0
- package/serialization/resources/credentialing/resources/v2/types/BaseCredentialingSpan.js +53 -0
- package/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpan.d.ts +16 -0
- package/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpan.js +49 -0
- package/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpanId.d.ts +10 -0
- package/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpanId.js +45 -0
- package/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpanPage.d.ts +14 -0
- package/serialization/resources/credentialing/resources/v2/types/FacilityCredentialingSpanPage.js +47 -0
- package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.d.ts +3 -12
- package/serialization/resources/credentialing/resources/v2/types/ProviderCredentialingSpan.js +6 -13
- package/serialization/resources/credentialing/resources/v2/types/index.d.ts +4 -0
- package/serialization/resources/credentialing/resources/v2/types/index.js +4 -0
- package/serialization/resources/healthCareCodeInformation/index.d.ts +1 -0
- package/serialization/resources/healthCareCodeInformation/index.js +17 -0
- package/serialization/resources/healthCareCodeInformation/resources/index.d.ts +1 -0
- package/serialization/resources/healthCareCodeInformation/resources/index.js +37 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/client/getAllForEncounter.d.ts +15 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/client/getAllForEncounter.js +71 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/client/index.d.ts +2 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/client/index.js +38 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/client/update.d.ts +20 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/client/update.js +77 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/index.d.ts +2 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/index.js +18 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosis.d.ts +16 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosis.js +49 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisCodeQualifier.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisCodeQualifier.js +41 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/CodeListQualifierCode.js +1098 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionCode.js +101 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformation.d.ts +16 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformation.js +49 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationCodeQualifier.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationCodeQualifier.js +41 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/D8Date.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/D8Date.js +41 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/DateTimePeriodFormatQualifier.js +84 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroup.d.ts +16 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroup.js +49 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupCodeQualifier.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupCodeQualifier.js +41 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjury.d.ts +18 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjury.js +51 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryCodeQualifier.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryCodeQualifier.js +41 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformation.d.ts +15 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformation.js +48 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.d.ts +37 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationGetAllResponse.js +68 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.d.ts +23 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationNew.js +54 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.d.ts +37 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate.js +68 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/IcdCode.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/IcdCode.js +45 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/MsdrgCode.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/MsdrgCode.js +45 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceCode.js +101 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.d.ts +18 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformation.js +51 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationCodeQualifier.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationCodeQualifier.js +41 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCode.js +41 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCodeQualifier.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanCodeQualifier.js +41 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformation.d.ts +18 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformation.js +51 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformation.d.ts +18 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformation.js +51 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationCodeQualifier.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationCodeQualifier.js +41 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.d.ts +18 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformation.js +51 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationCodeQualifier.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationCodeQualifier.js +41 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisit.d.ts +16 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisit.js +49 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitCodeQualifier.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitCodeQualifier.js +41 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PresentOnAdmissionIndicatorCode.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PresentOnAdmissionIndicatorCode.js +41 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosis.d.ts +18 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosis.js +51 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisCodeQualifier.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisCodeQualifier.js +41 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.d.ts +18 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformation.js +51 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationCodeQualifier.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationCodeQualifier.js +41 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.d.ts +13 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/Rd8Date.js +44 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearAdmittingDiagnosis.d.ts +13 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearAdmittingDiagnosis.js +44 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearDiagnosisRelatedGroup.d.ts +13 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearDiagnosisRelatedGroup.js +44 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalDiagnosis.d.ts +13 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalDiagnosis.js +44 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalProcedureInformation.d.ts +13 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/SetOrClearPrincipalProcedureInformation.js +44 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCode.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCode.js +45 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformation.d.ts +16 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformation.js +49 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeQualifier.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeQualifier.js +41 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueCode.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueCode.js +149 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueCodeQualifier.d.ts +10 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueCodeQualifier.js +41 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformation.d.ts +18 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformation.js +51 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +46 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/index.js +62 -0
- package/serialization/resources/index.d.ts +3 -1
- package/serialization/resources/index.js +5 -3
- package/serialization/resources/patientAr/index.d.ts +1 -0
- package/serialization/resources/patientAr/index.js +17 -0
- package/serialization/resources/patientAr/resources/index.d.ts +1 -0
- package/serialization/resources/patientAr/resources/index.js +37 -0
- package/serialization/resources/patientAr/resources/v1/client/index.d.ts +2 -0
- package/serialization/resources/patientAr/resources/v1/client/index.js +38 -0
- package/serialization/resources/patientAr/resources/v1/client/itemize.d.ts +20 -0
- package/serialization/resources/patientAr/resources/v1/client/itemize.js +77 -0
- package/serialization/resources/patientAr/resources/v1/client/listInventory.d.ts +20 -0
- package/serialization/resources/patientAr/resources/v1/client/listInventory.js +77 -0
- package/serialization/resources/patientAr/resources/v1/index.d.ts +2 -0
- package/serialization/resources/patientAr/resources/v1/index.js +18 -0
- package/serialization/resources/patientAr/resources/v1/types/InsuranceAdjustmentInfo.d.ts +12 -0
- package/serialization/resources/patientAr/resources/v1/types/InsuranceAdjustmentInfo.js +43 -0
- package/serialization/resources/patientAr/resources/v1/types/InsurancePaymentInfo.d.ts +12 -0
- package/serialization/resources/patientAr/resources/v1/types/InsurancePaymentInfo.js +43 -0
- package/serialization/resources/patientAr/resources/v1/types/InvalidFiltersErrorType.d.ts +12 -0
- package/serialization/resources/patientAr/resources/v1/types/InvalidFiltersErrorType.js +43 -0
- package/serialization/resources/patientAr/resources/v1/types/InventoryRecord.d.ts +20 -0
- package/serialization/resources/patientAr/resources/v1/types/InventoryRecord.js +51 -0
- package/serialization/resources/patientAr/resources/v1/types/InvoiceItemizationResponse.d.ts +18 -0
- package/serialization/resources/patientAr/resources/v1/types/InvoiceItemizationResponse.js +49 -0
- package/serialization/resources/patientAr/resources/v1/types/ListInventoryPagedResponse.d.ts +15 -0
- package/serialization/resources/patientAr/resources/v1/types/ListInventoryPagedResponse.js +46 -0
- package/serialization/resources/patientAr/resources/v1/types/NonInsuranceAdjustmentInfo.d.ts +12 -0
- package/serialization/resources/patientAr/resources/v1/types/NonInsuranceAdjustmentInfo.js +43 -0
- package/serialization/resources/patientAr/resources/v1/types/NonInsurancePaymentInfo.d.ts +12 -0
- package/serialization/resources/patientAr/resources/v1/types/NonInsurancePaymentInfo.js +43 -0
- package/serialization/resources/patientAr/resources/v1/types/PatientAdjustmentInfo.d.ts +12 -0
- package/serialization/resources/patientAr/resources/v1/types/PatientAdjustmentInfo.js +43 -0
- package/serialization/resources/patientAr/resources/v1/types/PatientArStatus.d.ts +10 -0
- package/serialization/resources/patientAr/resources/v1/types/PatientArStatus.js +41 -0
- package/serialization/resources/patientAr/resources/v1/types/PatientPaymentAllocation.d.ts +13 -0
- package/serialization/resources/patientAr/resources/v1/types/PatientPaymentAllocation.js +44 -0
- package/serialization/resources/patientAr/resources/v1/types/PatientPaymentInfo.d.ts +14 -0
- package/serialization/resources/patientAr/resources/v1/types/PatientPaymentInfo.js +45 -0
- package/serialization/resources/patientAr/resources/v1/types/ServiceLineItemization.d.ts +32 -0
- package/serialization/resources/patientAr/resources/v1/types/ServiceLineItemization.js +63 -0
- package/serialization/resources/patientAr/resources/v1/types/index.d.ts +13 -0
- package/serialization/resources/patientAr/resources/v1/types/index.js +29 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +2 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/OriginationDetail.d.ts +19 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/OriginationDetail.js +50 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralSource.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralSource.js +41 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.js +41 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/SpecializationCategory.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/SpecializationCategory.js +70 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +4 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +4 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -71,7 +71,7 @@ class V2 {
|
|
|
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/organization-service-facilities/v2/${encodeURIComponent(serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityId.jsonOrThrow(organizationServiceFacilityId))}`),
|
|
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.7.0", "User-Agent": "candidhealth/1.7.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,
|
|
@@ -147,7 +147,7 @@ class V2 {
|
|
|
147
147
|
const _response = yield core.fetcher({
|
|
148
148
|
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/organization-service-facilities/v2"),
|
|
149
149
|
method: "GET",
|
|
150
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
150
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.7.0", "User-Agent": "candidhealth/1.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
151
151
|
contentType: "application/json",
|
|
152
152
|
queryParameters: _queryParams,
|
|
153
153
|
requestType: "json",
|
|
@@ -203,7 +203,7 @@ class V2 {
|
|
|
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).candidApi, "/api/organization-service-facilities/v2"),
|
|
205
205
|
method: "POST",
|
|
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.7.0", "User-Agent": "candidhealth/1.7.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
|
body: serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityCreate.jsonOrThrow(request, {
|
|
@@ -276,7 +276,7 @@ class V2 {
|
|
|
276
276
|
const _response = yield core.fetcher({
|
|
277
277
|
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/organization-service-facilities/v2/${encodeURIComponent(serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityId.jsonOrThrow(organizationServiceFacilityId))}`),
|
|
278
278
|
method: "PATCH",
|
|
279
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
279
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.7.0", "User-Agent": "candidhealth/1.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
280
280
|
contentType: "application/json",
|
|
281
281
|
requestType: "json",
|
|
282
282
|
body: serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityUpdate.jsonOrThrow(request, {
|
|
@@ -331,7 +331,7 @@ class V2 {
|
|
|
331
331
|
const _response = yield core.fetcher({
|
|
332
332
|
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/organization-service-facilities/v2/${encodeURIComponent(serializers.organizationServiceFacilities.v2.OrganizationServiceFacilityId.jsonOrThrow(organizationServiceFacilityId))}`),
|
|
333
333
|
method: "DELETE",
|
|
334
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
334
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.7.0", "User-Agent": "candidhealth/1.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
335
335
|
contentType: "application/json",
|
|
336
336
|
requestType: "json",
|
|
337
337
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../environments";
|
|
5
|
+
import * as core from "../../../../core";
|
|
6
|
+
import { V1 } from "../resources/v1/client/Client";
|
|
7
|
+
export declare namespace PatientAr {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: core.Supplier<environments.CandidApiEnvironment | environments.CandidApiEnvironmentUrls>;
|
|
10
|
+
/** Specify a custom URL to connect the client to. */
|
|
11
|
+
baseUrl?: core.Supplier<string>;
|
|
12
|
+
token?: core.Supplier<core.BearerToken | undefined>;
|
|
13
|
+
}
|
|
14
|
+
interface RequestOptions {
|
|
15
|
+
/** The maximum time to wait for a response in seconds. */
|
|
16
|
+
timeoutInSeconds?: number;
|
|
17
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
18
|
+
maxRetries?: number;
|
|
19
|
+
/** A hook to abort the request. */
|
|
20
|
+
abortSignal?: AbortSignal;
|
|
21
|
+
/** Additional headers to include in the request. */
|
|
22
|
+
headers?: Record<string, string>;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
export declare class PatientAr {
|
|
26
|
+
protected readonly _options: PatientAr.Options;
|
|
27
|
+
protected _v1: V1 | undefined;
|
|
28
|
+
constructor(_options?: PatientAr.Options);
|
|
29
|
+
get v1(): V1;
|
|
30
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.PatientAr = void 0;
|
|
7
|
+
const Client_1 = require("../resources/v1/client/Client");
|
|
8
|
+
class PatientAr {
|
|
9
|
+
constructor(_options = {}) {
|
|
10
|
+
this._options = _options;
|
|
11
|
+
}
|
|
12
|
+
get v1() {
|
|
13
|
+
var _a;
|
|
14
|
+
return ((_a = this._v1) !== null && _a !== void 0 ? _a : (this._v1 = new Client_1.V1(this._options)));
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.PatientAr = PatientAr;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./resources"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as v1 from "./v1";
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.v1 = void 0;
|
|
37
|
+
exports.v1 = __importStar(require("./v1"));
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../../../environments";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
import * as CandidApi from "../../../../../index";
|
|
7
|
+
export declare namespace V1 {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: core.Supplier<environments.CandidApiEnvironment | environments.CandidApiEnvironmentUrls>;
|
|
10
|
+
/** Specify a custom URL to connect the client to. */
|
|
11
|
+
baseUrl?: core.Supplier<string>;
|
|
12
|
+
token?: core.Supplier<core.BearerToken | undefined>;
|
|
13
|
+
}
|
|
14
|
+
interface RequestOptions {
|
|
15
|
+
/** The maximum time to wait for a response in seconds. */
|
|
16
|
+
timeoutInSeconds?: number;
|
|
17
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
18
|
+
maxRetries?: number;
|
|
19
|
+
/** A hook to abort the request. */
|
|
20
|
+
abortSignal?: AbortSignal;
|
|
21
|
+
/** Additional headers to include in the request. */
|
|
22
|
+
headers?: Record<string, string>;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
export declare class V1 {
|
|
26
|
+
protected readonly _options: V1.Options;
|
|
27
|
+
constructor(_options?: V1.Options);
|
|
28
|
+
/**
|
|
29
|
+
* NOTE: This service is in-development and can only be used by select partners. Please contact Candid Health to request access.
|
|
30
|
+
*
|
|
31
|
+
* Retrieve a list of inventory records based on the provided filters. Each inventory record provides the latest invoiceable status of the associated claim.
|
|
32
|
+
* The response is paginated, and the `page_token` can be used to retrieve subsequent pages. Initial requests should not include `page_token`.
|
|
33
|
+
*
|
|
34
|
+
* @param {CandidApi.patientAr.v1.GetInventoryRecordsRequest} request
|
|
35
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* await client.patientAr.v1.listInventory()
|
|
39
|
+
*/
|
|
40
|
+
listInventory(request?: CandidApi.patientAr.v1.GetInventoryRecordsRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.patientAr.v1.ListInventoryPagedResponse, CandidApi.patientAr.v1.listInventory.Error>>;
|
|
41
|
+
/**
|
|
42
|
+
* NOTE: This service is in-development and can only be used by select partners. Please contact Candid Health to request access.
|
|
43
|
+
*
|
|
44
|
+
* Provides detailed itemization of invoice data for a specific claim.
|
|
45
|
+
*
|
|
46
|
+
* @param {CandidApi.ClaimId} claimId
|
|
47
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* await client.patientAr.v1.itemize(CandidApi.ClaimId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
51
|
+
*/
|
|
52
|
+
itemize(claimId: CandidApi.ClaimId, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.patientAr.v1.InvoiceItemizationResponse, CandidApi.patientAr.v1.itemize.Error>>;
|
|
53
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
39
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
40
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
41
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
42
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
43
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
44
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
45
|
+
});
|
|
46
|
+
};
|
|
47
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
48
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
49
|
+
};
|
|
50
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
51
|
+
exports.V1 = void 0;
|
|
52
|
+
const environments = __importStar(require("../../../../../../environments"));
|
|
53
|
+
const core = __importStar(require("../../../../../../core"));
|
|
54
|
+
const CandidApi = __importStar(require("../../../../../index"));
|
|
55
|
+
const url_join_1 = __importDefault(require("url-join"));
|
|
56
|
+
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
57
|
+
class V1 {
|
|
58
|
+
constructor(_options = {}) {
|
|
59
|
+
this._options = _options;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* NOTE: This service is in-development and can only be used by select partners. Please contact Candid Health to request access.
|
|
63
|
+
*
|
|
64
|
+
* Retrieve a list of inventory records based on the provided filters. Each inventory record provides the latest invoiceable status of the associated claim.
|
|
65
|
+
* The response is paginated, and the `page_token` can be used to retrieve subsequent pages. Initial requests should not include `page_token`.
|
|
66
|
+
*
|
|
67
|
+
* @param {CandidApi.patientAr.v1.GetInventoryRecordsRequest} request
|
|
68
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
69
|
+
*
|
|
70
|
+
* @example
|
|
71
|
+
* await client.patientAr.v1.listInventory()
|
|
72
|
+
*/
|
|
73
|
+
listInventory() {
|
|
74
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
75
|
+
var _a, _b, _c;
|
|
76
|
+
const { since, limit, pageToken } = request;
|
|
77
|
+
const _queryParams = {};
|
|
78
|
+
if (since != null) {
|
|
79
|
+
_queryParams["since"] = since.toISOString();
|
|
80
|
+
}
|
|
81
|
+
if (limit != null) {
|
|
82
|
+
_queryParams["limit"] = limit.toString();
|
|
83
|
+
}
|
|
84
|
+
if (pageToken != null) {
|
|
85
|
+
_queryParams["page_token"] = pageToken;
|
|
86
|
+
}
|
|
87
|
+
const _response = yield core.fetcher({
|
|
88
|
+
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/patient-ar/v1/inventory"),
|
|
89
|
+
method: "GET",
|
|
90
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.7.0", "User-Agent": "candidhealth/1.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
91
|
+
contentType: "application/json",
|
|
92
|
+
queryParameters: _queryParams,
|
|
93
|
+
requestType: "json",
|
|
94
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
95
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
96
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
97
|
+
});
|
|
98
|
+
if (_response.ok) {
|
|
99
|
+
return {
|
|
100
|
+
ok: true,
|
|
101
|
+
body: serializers.patientAr.v1.ListInventoryPagedResponse.parseOrThrow(_response.body, {
|
|
102
|
+
unrecognizedObjectKeys: "passthrough",
|
|
103
|
+
allowUnrecognizedUnionMembers: true,
|
|
104
|
+
allowUnrecognizedEnumValues: true,
|
|
105
|
+
breadcrumbsPrefix: ["response"],
|
|
106
|
+
}),
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
if (_response.error.reason === "status-code") {
|
|
110
|
+
switch ((_c = _response.error.body) === null || _c === void 0 ? void 0 : _c.errorName) {
|
|
111
|
+
case "InvalidFiltersError":
|
|
112
|
+
case "UnauthorizedError":
|
|
113
|
+
return {
|
|
114
|
+
ok: false,
|
|
115
|
+
error: serializers.patientAr.v1.listInventory.Error.parseOrThrow(_response.error.body, {
|
|
116
|
+
unrecognizedObjectKeys: "passthrough",
|
|
117
|
+
allowUnrecognizedUnionMembers: true,
|
|
118
|
+
allowUnrecognizedEnumValues: true,
|
|
119
|
+
breadcrumbsPrefix: ["response"],
|
|
120
|
+
}),
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
return {
|
|
125
|
+
ok: false,
|
|
126
|
+
error: CandidApi.patientAr.v1.listInventory.Error._unknown(_response.error),
|
|
127
|
+
};
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* NOTE: This service is in-development and can only be used by select partners. Please contact Candid Health to request access.
|
|
132
|
+
*
|
|
133
|
+
* Provides detailed itemization of invoice data for a specific claim.
|
|
134
|
+
*
|
|
135
|
+
* @param {CandidApi.ClaimId} claimId
|
|
136
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
137
|
+
*
|
|
138
|
+
* @example
|
|
139
|
+
* await client.patientAr.v1.itemize(CandidApi.ClaimId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
140
|
+
*/
|
|
141
|
+
itemize(claimId, requestOptions) {
|
|
142
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
143
|
+
var _a, _b, _c;
|
|
144
|
+
const _response = yield core.fetcher({
|
|
145
|
+
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/patient-ar/v1/invoice-itemization/${encodeURIComponent(serializers.ClaimId.jsonOrThrow(claimId))}`),
|
|
146
|
+
method: "GET",
|
|
147
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.7.0", "User-Agent": "candidhealth/1.7.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
148
|
+
contentType: "application/json",
|
|
149
|
+
requestType: "json",
|
|
150
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
151
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
152
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
153
|
+
});
|
|
154
|
+
if (_response.ok) {
|
|
155
|
+
return {
|
|
156
|
+
ok: true,
|
|
157
|
+
body: serializers.patientAr.v1.InvoiceItemizationResponse.parseOrThrow(_response.body, {
|
|
158
|
+
unrecognizedObjectKeys: "passthrough",
|
|
159
|
+
allowUnrecognizedUnionMembers: true,
|
|
160
|
+
allowUnrecognizedEnumValues: true,
|
|
161
|
+
breadcrumbsPrefix: ["response"],
|
|
162
|
+
}),
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
if (_response.error.reason === "status-code") {
|
|
166
|
+
switch ((_c = _response.error.body) === null || _c === void 0 ? void 0 : _c.errorName) {
|
|
167
|
+
case "EntityNotFoundError":
|
|
168
|
+
case "UnauthorizedError":
|
|
169
|
+
return {
|
|
170
|
+
ok: false,
|
|
171
|
+
error: serializers.patientAr.v1.itemize.Error.parseOrThrow(_response.error.body, {
|
|
172
|
+
unrecognizedObjectKeys: "passthrough",
|
|
173
|
+
allowUnrecognizedUnionMembers: true,
|
|
174
|
+
allowUnrecognizedEnumValues: true,
|
|
175
|
+
breadcrumbsPrefix: ["response"],
|
|
176
|
+
}),
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
return {
|
|
181
|
+
ok: false,
|
|
182
|
+
error: CandidApi.patientAr.v1.itemize.Error._unknown(_response.error),
|
|
183
|
+
};
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
_getAuthorizationHeader() {
|
|
187
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
188
|
+
const bearer = yield core.Supplier.get(this._options.token);
|
|
189
|
+
if (bearer != null) {
|
|
190
|
+
return `Bearer ${bearer}`;
|
|
191
|
+
}
|
|
192
|
+
return undefined;
|
|
193
|
+
});
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
exports.V1 = V1;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
19
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
20
|
+
};
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.itemize = exports.listInventory = void 0;
|
|
40
|
+
__exportStar(require("./requests"), exports);
|
|
41
|
+
exports.listInventory = __importStar(require("./listInventory"));
|
|
42
|
+
exports.itemize = __importStar(require("./itemize"));
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
export type Error = CandidApi.patientAr.v1.itemize.Error.EntityNotFoundError | CandidApi.patientAr.v1.itemize.Error.UnauthorizedError | CandidApi.patientAr.v1.itemize.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface EntityNotFoundError extends _Utils {
|
|
9
|
+
errorName: "EntityNotFoundError";
|
|
10
|
+
content: CandidApi.EntityNotFoundErrorMessage;
|
|
11
|
+
}
|
|
12
|
+
interface UnauthorizedError extends _Utils {
|
|
13
|
+
errorName: "UnauthorizedError";
|
|
14
|
+
content: CandidApi.UnauthorizedErrorMessage;
|
|
15
|
+
}
|
|
16
|
+
interface _Unknown extends _Utils {
|
|
17
|
+
errorName: void;
|
|
18
|
+
content: core.Fetcher.Error;
|
|
19
|
+
}
|
|
20
|
+
interface _Utils {
|
|
21
|
+
_visit: <_Result>(visitor: CandidApi.patientAr.v1.itemize.Error._Visitor<_Result>) => _Result;
|
|
22
|
+
}
|
|
23
|
+
interface _Visitor<_Result> {
|
|
24
|
+
entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => _Result;
|
|
25
|
+
unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => _Result;
|
|
26
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
export declare const Error: {
|
|
30
|
+
readonly entityNotFoundError: (value: CandidApi.EntityNotFoundErrorMessage) => CandidApi.patientAr.v1.itemize.Error.EntityNotFoundError;
|
|
31
|
+
readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.patientAr.v1.itemize.Error.UnauthorizedError;
|
|
32
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.patientAr.v1.itemize.Error._Unknown;
|
|
33
|
+
readonly _visit: <_Result>(value: CandidApi.patientAr.v1.itemize.Error, visitor: CandidApi.patientAr.v1.itemize.Error._Visitor<_Result>) => _Result;
|
|
34
|
+
};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.Error = void 0;
|
|
40
|
+
const CandidApi = __importStar(require("../../../../../index"));
|
|
41
|
+
exports.Error = {
|
|
42
|
+
entityNotFoundError: (value) => {
|
|
43
|
+
return {
|
|
44
|
+
content: value,
|
|
45
|
+
errorName: "EntityNotFoundError",
|
|
46
|
+
_visit: function (visitor) {
|
|
47
|
+
return CandidApi.patientAr.v1.itemize.Error._visit(this, visitor);
|
|
48
|
+
},
|
|
49
|
+
};
|
|
50
|
+
},
|
|
51
|
+
unauthorizedError: (value) => {
|
|
52
|
+
return {
|
|
53
|
+
content: value,
|
|
54
|
+
errorName: "UnauthorizedError",
|
|
55
|
+
_visit: function (visitor) {
|
|
56
|
+
return CandidApi.patientAr.v1.itemize.Error._visit(this, visitor);
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
},
|
|
60
|
+
_unknown: (fetcherError) => {
|
|
61
|
+
return {
|
|
62
|
+
errorName: undefined,
|
|
63
|
+
content: fetcherError,
|
|
64
|
+
_visit: function (visitor) {
|
|
65
|
+
return CandidApi.patientAr.v1.itemize.Error._visit(this, visitor);
|
|
66
|
+
},
|
|
67
|
+
};
|
|
68
|
+
},
|
|
69
|
+
_visit: (value, visitor) => {
|
|
70
|
+
switch (value.errorName) {
|
|
71
|
+
case "EntityNotFoundError":
|
|
72
|
+
return visitor.entityNotFoundError(value.content);
|
|
73
|
+
case "UnauthorizedError":
|
|
74
|
+
return visitor.unauthorizedError(value.content);
|
|
75
|
+
default:
|
|
76
|
+
return visitor._other(value);
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
export type Error = CandidApi.patientAr.v1.listInventory.Error.InvalidFiltersError | CandidApi.patientAr.v1.listInventory.Error.UnauthorizedError | CandidApi.patientAr.v1.listInventory.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface InvalidFiltersError extends _Utils {
|
|
9
|
+
errorName: "InvalidFiltersError";
|
|
10
|
+
content: CandidApi.patientAr.v1.InvalidFiltersErrorType;
|
|
11
|
+
}
|
|
12
|
+
interface UnauthorizedError extends _Utils {
|
|
13
|
+
errorName: "UnauthorizedError";
|
|
14
|
+
content: CandidApi.UnauthorizedErrorMessage;
|
|
15
|
+
}
|
|
16
|
+
interface _Unknown extends _Utils {
|
|
17
|
+
errorName: void;
|
|
18
|
+
content: core.Fetcher.Error;
|
|
19
|
+
}
|
|
20
|
+
interface _Utils {
|
|
21
|
+
_visit: <_Result>(visitor: CandidApi.patientAr.v1.listInventory.Error._Visitor<_Result>) => _Result;
|
|
22
|
+
}
|
|
23
|
+
interface _Visitor<_Result> {
|
|
24
|
+
invalidFiltersError: (value: CandidApi.patientAr.v1.InvalidFiltersErrorType) => _Result;
|
|
25
|
+
unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => _Result;
|
|
26
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
export declare const Error: {
|
|
30
|
+
readonly invalidFiltersError: (value: CandidApi.patientAr.v1.InvalidFiltersErrorType) => CandidApi.patientAr.v1.listInventory.Error.InvalidFiltersError;
|
|
31
|
+
readonly unauthorizedError: (value: CandidApi.UnauthorizedErrorMessage) => CandidApi.patientAr.v1.listInventory.Error.UnauthorizedError;
|
|
32
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.patientAr.v1.listInventory.Error._Unknown;
|
|
33
|
+
readonly _visit: <_Result>(value: CandidApi.patientAr.v1.listInventory.Error, visitor: CandidApi.patientAr.v1.listInventory.Error._Visitor<_Result>) => _Result;
|
|
34
|
+
};
|