candidhealth 1.7.0 → 1.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/auth/resources/default/client/Client.d.ts +3 -1
- package/api/resources/auth/resources/default/client/Client.js +5 -3
- package/api/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +9 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/api/resources/chargeCapture/resources/v1/client/Client.js +76 -7
- package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +36 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +42 -5
- package/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +20 -0
- package/api/resources/commons/types/Clearinghouse.d.ts +14 -0
- package/api/resources/commons/types/Clearinghouse.js +16 -0
- package/api/resources/commons/types/ProcedureModifier.d.ts +13 -2
- package/api/resources/commons/types/ProcedureModifier.js +11 -0
- package/api/resources/commons/types/index.d.ts +1 -0
- package/api/resources/commons/types/index.js +1 -0
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/credentialing/resources/v2/client/Client.js +10 -10
- 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/encounterProviders/resources/v2/types/BillingProvider.d.ts +1 -1
- package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +1 -1
- package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +1 -1
- package/api/resources/encounters/resources/v4/client/Client.d.ts +108 -9
- package/api/resources/encounters/resources/v4/client/Client.js +279 -15
- package/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
- package/api/resources/encounters/resources/v4/client/create.js +11 -0
- package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +70 -0
- package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +145 -0
- package/api/resources/encounters/resources/v4/client/createUniversal.d.ts +94 -0
- package/api/resources/encounters/resources/v4/client/createUniversal.js +189 -0
- package/api/resources/encounters/resources/v4/client/index.d.ts +3 -0
- package/api/resources/encounters/resources/v4/client/index.js +4 -1
- package/api/resources/encounters/resources/v4/client/requests/index.d.ts +0 -2
- package/api/resources/encounters/resources/v4/client/updateUniversal.d.ts +70 -0
- package/api/resources/encounters/resources/v4/client/updateUniversal.js +145 -0
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +15 -29
- package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +10 -11
- package/api/resources/encounters/resources/v4/types/EncounterCreate.d.ts +27 -0
- package/api/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.d.ts +3 -36
- package/api/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +9 -4
- package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +10 -16
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +2 -9
- package/api/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.d.ts +5 -0
- package/api/resources/encounters/resources/v4/types/EncounterUpdate.d.ts +17 -0
- package/api/resources/encounters/resources/v4/types/index.d.ts +7 -4
- package/api/resources/encounters/resources/v4/types/index.js +7 -4
- package/api/resources/encountersUniversal/index.d.ts +1 -0
- package/api/resources/encountersUniversal/index.js +17 -0
- package/api/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +49 -0
- package/api/resources/{encounters/resources/v4/client/requests/EncounterCreate.d.ts → encountersUniversal/types/UniversalEncounterCreateBase.d.ts} +9 -70
- package/api/resources/encountersUniversal/types/UniversalEncounterCreateBase.js +5 -0
- package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +47 -0
- package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +5 -0
- package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +40 -0
- package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +5 -0
- package/api/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +39 -0
- package/api/resources/encountersUniversal/types/UniversalEncounterUpdate.js +5 -0
- package/api/resources/{encounters/resources/v4/client/requests/EncounterUpdate.d.ts → encountersUniversal/types/UniversalEncounterUpdateBase.d.ts} +9 -18
- package/api/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js +5 -0
- package/api/resources/encountersUniversal/types/index.d.ts +6 -0
- package/api/resources/encountersUniversal/types/index.js +22 -0
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +12 -0
- package/api/resources/feeSchedules/resources/v3/client/Client.js +55 -11
- package/api/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.d.ts +22 -0
- package/api/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.js +57 -0
- package/api/resources/feeSchedules/resources/v3/client/index.d.ts +1 -0
- package/api/resources/feeSchedules/resources/v3/client/index.js +2 -1
- package/api/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.d.ts +13 -0
- package/api/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.js +5 -0
- package/api/resources/feeSchedules/resources/v3/client/requests/index.d.ts +1 -0
- package/api/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +4 -1
- package/api/resources/financials/types/PatientTransactionSource.d.ts +2 -1
- package/api/resources/financials/types/PatientTransactionSource.js +1 -0
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/guarantor/resources/v1/types/Guarantor.d.ts +2 -0
- package/api/resources/guarantor/resources/v1/types/GuarantorCreate.d.ts +2 -0
- package/api/resources/guarantor/resources/v1/types/GuarantorOptional.d.ts +1 -0
- package/api/resources/guarantor/resources/v1/types/GuarantorUpdate.d.ts +1 -0
- package/api/resources/healthCareCodeInformation/resources/v1/client/Client.js +2 -2
- package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +11 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +11 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +11 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +12 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +19 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +12 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +12 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +12 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +12 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +11 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +12 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +12 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +11 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +12 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +14 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/index.js +14 -0
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +3 -2
- package/api/resources/individual/types/Patient.d.ts +2 -0
- package/api/resources/individual/types/PatientBase.d.ts +2 -2
- package/api/resources/individual/types/PatientCreate.d.ts +2 -0
- package/api/resources/individual/types/PatientUpdate.d.ts +3 -2
- package/api/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +3 -2
- 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/v2/types/LicenseType.d.ts +3 -1
- package/api/resources/organizationProviders/resources/v2/types/LicenseType.js +2 -0
- 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/resources/v1/client/Client.js +2 -2
- 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/client/Client.d.ts +3 -0
- package/api/resources/payers/client/Client.js +5 -0
- package/api/resources/payers/resources/index.d.ts +1 -0
- package/api/resources/payers/resources/index.js +2 -1
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/payers/resources/v4/client/Client.d.ts +45 -0
- package/api/resources/payers/resources/v4/client/Client.js +157 -0
- package/api/resources/payers/resources/v4/client/get.d.ts +22 -0
- package/api/resources/payers/resources/v4/client/get.js +57 -0
- package/api/resources/payers/resources/v4/client/getAll.d.ts +22 -0
- package/api/resources/payers/resources/v4/client/getAll.js +57 -0
- package/api/resources/payers/resources/v4/client/index.d.ts +3 -0
- package/api/resources/payers/resources/v4/client/index.js +42 -0
- package/api/resources/payers/resources/v4/client/requests/GetAllPayersRequest.d.ts +16 -0
- package/api/resources/payers/resources/v4/client/requests/GetAllPayersRequest.js +5 -0
- package/api/resources/payers/resources/v4/client/requests/index.d.ts +1 -0
- package/api/resources/payers/resources/v4/client/requests/index.js +2 -0
- package/api/resources/payers/resources/v4/index.d.ts +2 -0
- package/api/resources/payers/resources/v4/index.js +18 -0
- package/api/resources/payers/resources/v4/types/ClearinghousePayerInfo.d.ts +20 -0
- package/api/resources/payers/resources/v4/types/ClearinghousePayerInfo.js +5 -0
- package/api/resources/payers/resources/v4/types/Payer.d.ts +14 -0
- package/api/resources/payers/resources/v4/types/Payer.js +5 -0
- package/api/resources/payers/resources/v4/types/PayerIds.d.ts +11 -0
- package/api/resources/payers/resources/v4/types/PayerIds.js +5 -0
- package/api/resources/payers/resources/v4/types/PayerPage.d.ts +7 -0
- package/api/resources/payers/resources/v4/types/PayerPage.js +5 -0
- package/api/resources/payers/resources/v4/types/PayerUuid.d.ts +8 -0
- package/api/resources/payers/resources/v4/types/PayerUuid.js +9 -0
- package/api/resources/payers/resources/v4/types/PrimaryPayerIds.d.ts +11 -0
- package/api/resources/payers/resources/v4/types/PrimaryPayerIds.js +5 -0
- package/api/resources/payers/resources/v4/types/SupportState.d.ts +9 -0
- package/api/resources/payers/resources/v4/types/SupportState.js +11 -0
- package/api/resources/payers/resources/v4/types/index.d.ts +7 -0
- package/api/resources/payers/resources/v4/types/index.js +23 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +0 -2
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -12
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -1
- 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.d.ts +10 -12
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +64 -23
- package/api/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.d.ts +28 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.js +68 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +0 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +0 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.d.ts +7 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.js +5 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.d.ts +2 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.js +1 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +1 -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.d.ts +23 -2
- package/api/resources/serviceLines/resources/v2/client/Client.js +120 -5
- package/api/resources/serviceLines/resources/v2/client/createUniversal.d.ts +28 -0
- package/api/resources/serviceLines/resources/v2/client/createUniversal.js +68 -0
- package/api/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
- package/api/resources/serviceLines/resources/v2/client/index.js +3 -1
- package/api/resources/serviceLines/resources/v2/client/updateUniversal.d.ts +40 -0
- package/api/resources/serviceLines/resources/v2/client/updateUniversal.js +90 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +7 -4
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -45
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.d.ts +7 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.js +5 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +47 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.js +5 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +9 -9
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -47
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.d.ts +7 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.js +5 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.d.ts +49 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.js +5 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -45
- package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +45 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.js +5 -0
- package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +11 -0
- package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +5 -0
- package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +13 -0
- package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.js +5 -0
- package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.d.ts +12 -0
- package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.js +5 -0
- package/api/resources/serviceLines/resources/v2/types/index.d.ts +8 -0
- package/api/resources/serviceLines/resources/v2/types/index.js +8 -0
- package/api/resources/superbills/resources/v1/client/Client.js +1 -1
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
- package/api/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +1 -7
- package/api/resources/x12/resources/v1/types/TypeOfBillCompositeBase.d.ts +12 -0
- package/api/resources/x12/resources/v1/types/TypeOfBillCompositeBase.js +5 -0
- package/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +30 -0
- package/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js +5 -0
- package/api/resources/x12/resources/v1/types/index.d.ts +2 -0
- package/api/resources/x12/resources/v1/types/index.js +2 -0
- package/dist/api/resources/auth/resources/default/client/Client.d.ts +3 -1
- package/dist/api/resources/auth/resources/default/client/Client.js +5 -3
- package/dist/api/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +9 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +76 -7
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +36 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +42 -5
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +20 -0
- package/dist/api/resources/commons/types/Clearinghouse.d.ts +14 -0
- package/dist/api/resources/commons/types/Clearinghouse.js +16 -0
- package/dist/api/resources/commons/types/ProcedureModifier.d.ts +13 -2
- package/dist/api/resources/commons/types/ProcedureModifier.js +11 -0
- package/dist/api/resources/commons/types/index.d.ts +1 -0
- package/dist/api/resources/commons/types/index.js +1 -0
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +10 -10
- 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/encounterProviders/resources/v2/types/BillingProvider.d.ts +1 -1
- package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +1 -1
- package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +1 -1
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +108 -9
- package/dist/api/resources/encounters/resources/v4/client/Client.js +279 -15
- package/dist/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
- package/dist/api/resources/encounters/resources/v4/client/create.js +11 -0
- package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +70 -0
- package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +145 -0
- package/dist/api/resources/encounters/resources/v4/client/createUniversal.d.ts +94 -0
- package/dist/api/resources/encounters/resources/v4/client/createUniversal.js +189 -0
- package/dist/api/resources/encounters/resources/v4/client/index.d.ts +3 -0
- package/dist/api/resources/encounters/resources/v4/client/index.js +4 -1
- package/dist/api/resources/encounters/resources/v4/client/requests/index.d.ts +0 -2
- package/dist/api/resources/encounters/resources/v4/client/updateUniversal.d.ts +70 -0
- package/dist/api/resources/encounters/resources/v4/client/updateUniversal.js +145 -0
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +15 -29
- package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +10 -11
- package/dist/api/resources/encounters/resources/v4/types/EncounterCreate.d.ts +27 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterCreate.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.d.ts +3 -36
- package/dist/api/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +9 -4
- package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +10 -16
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +2 -9
- package/dist/api/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.d.ts +5 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterUpdate.d.ts +17 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterUpdate.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/index.d.ts +7 -4
- package/dist/api/resources/encounters/resources/v4/types/index.js +7 -4
- package/dist/api/resources/encountersUniversal/index.d.ts +1 -0
- package/dist/api/resources/encountersUniversal/index.js +17 -0
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +49 -0
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreate.js +5 -0
- package/dist/api/resources/{encounters/resources/v4/client/requests/EncounterCreate.d.ts → encountersUniversal/types/UniversalEncounterCreateBase.d.ts} +9 -70
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateBase.js +5 -0
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +47 -0
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +5 -0
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +40 -0
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +5 -0
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +39 -0
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterUpdate.js +5 -0
- package/dist/api/resources/{encounters/resources/v4/client/requests/EncounterUpdate.d.ts → encountersUniversal/types/UniversalEncounterUpdateBase.d.ts} +9 -18
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js +5 -0
- package/dist/api/resources/encountersUniversal/types/index.d.ts +6 -0
- package/dist/api/resources/encountersUniversal/types/index.js +22 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +12 -0
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +55 -11
- package/dist/api/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.d.ts +22 -0
- package/dist/api/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.js +57 -0
- package/dist/api/resources/feeSchedules/resources/v3/client/index.d.ts +1 -0
- package/dist/api/resources/feeSchedules/resources/v3/client/index.js +2 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.d.ts +13 -0
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.js +5 -0
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/index.d.ts +1 -0
- package/dist/api/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +4 -1
- package/dist/api/resources/financials/types/PatientTransactionSource.d.ts +2 -1
- package/dist/api/resources/financials/types/PatientTransactionSource.js +1 -0
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/guarantor/resources/v1/types/Guarantor.d.ts +2 -0
- package/dist/api/resources/guarantor/resources/v1/types/GuarantorCreate.d.ts +2 -0
- package/dist/api/resources/guarantor/resources/v1/types/GuarantorOptional.d.ts +1 -0
- package/dist/api/resources/guarantor/resources/v1/types/GuarantorUpdate.d.ts +1 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +11 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +11 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +11 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +12 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +19 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +12 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +12 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +12 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +12 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +11 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +12 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +12 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +11 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +12 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +14 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/index.js +14 -0
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +3 -2
- package/dist/api/resources/individual/types/Patient.d.ts +2 -0
- package/dist/api/resources/individual/types/PatientBase.d.ts +2 -2
- package/dist/api/resources/individual/types/PatientCreate.d.ts +2 -0
- package/dist/api/resources/individual/types/PatientUpdate.d.ts +3 -2
- package/dist/api/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +3 -2
- 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/v2/types/LicenseType.d.ts +3 -1
- package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.js +2 -0
- 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/resources/v1/client/Client.js +2 -2
- 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/client/Client.d.ts +3 -0
- package/dist/api/resources/payers/client/Client.js +5 -0
- package/dist/api/resources/payers/resources/index.d.ts +1 -0
- package/dist/api/resources/payers/resources/index.js +2 -1
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/payers/resources/v4/client/Client.d.ts +45 -0
- package/dist/api/resources/payers/resources/v4/client/Client.js +157 -0
- package/dist/api/resources/payers/resources/v4/client/get.d.ts +22 -0
- package/dist/api/resources/payers/resources/v4/client/get.js +57 -0
- package/dist/api/resources/payers/resources/v4/client/getAll.d.ts +22 -0
- package/dist/api/resources/payers/resources/v4/client/getAll.js +57 -0
- package/dist/api/resources/payers/resources/v4/client/index.d.ts +3 -0
- package/dist/api/resources/payers/resources/v4/client/index.js +42 -0
- package/dist/api/resources/payers/resources/v4/client/requests/GetAllPayersRequest.d.ts +16 -0
- package/dist/api/resources/payers/resources/v4/client/requests/GetAllPayersRequest.js +5 -0
- package/dist/api/resources/payers/resources/v4/client/requests/index.d.ts +1 -0
- package/dist/api/resources/payers/resources/v4/client/requests/index.js +2 -0
- package/dist/api/resources/payers/resources/v4/index.d.ts +2 -0
- package/dist/api/resources/payers/resources/v4/index.js +18 -0
- package/dist/api/resources/payers/resources/v4/types/ClearinghousePayerInfo.d.ts +20 -0
- package/dist/api/resources/payers/resources/v4/types/ClearinghousePayerInfo.js +5 -0
- package/dist/api/resources/payers/resources/v4/types/Payer.d.ts +14 -0
- package/dist/api/resources/payers/resources/v4/types/Payer.js +5 -0
- package/dist/api/resources/payers/resources/v4/types/PayerIds.d.ts +11 -0
- package/dist/api/resources/payers/resources/v4/types/PayerIds.js +5 -0
- package/dist/api/resources/payers/resources/v4/types/PayerPage.d.ts +7 -0
- package/dist/api/resources/payers/resources/v4/types/PayerPage.js +5 -0
- package/dist/api/resources/payers/resources/v4/types/PayerUuid.d.ts +8 -0
- package/dist/api/resources/payers/resources/v4/types/PayerUuid.js +9 -0
- package/dist/api/resources/payers/resources/v4/types/PrimaryPayerIds.d.ts +11 -0
- package/dist/api/resources/payers/resources/v4/types/PrimaryPayerIds.js +5 -0
- package/dist/api/resources/payers/resources/v4/types/SupportState.d.ts +9 -0
- package/dist/api/resources/payers/resources/v4/types/SupportState.js +11 -0
- package/dist/api/resources/payers/resources/v4/types/index.d.ts +7 -0
- package/dist/api/resources/payers/resources/v4/types/index.js +23 -0
- 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.d.ts +0 -2
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -12
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -1
- 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.d.ts +10 -12
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +64 -23
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.d.ts +28 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.js +68 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +0 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +0 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.d.ts +7 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.js +5 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.d.ts +2 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.js +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +1 -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.d.ts +23 -2
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +120 -5
- package/dist/api/resources/serviceLines/resources/v2/client/createUniversal.d.ts +28 -0
- package/dist/api/resources/serviceLines/resources/v2/client/createUniversal.js +68 -0
- package/dist/api/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
- package/dist/api/resources/serviceLines/resources/v2/client/index.js +3 -1
- package/dist/api/resources/serviceLines/resources/v2/client/updateUniversal.d.ts +40 -0
- package/dist/api/resources/serviceLines/resources/v2/client/updateUniversal.js +90 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +7 -4
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -45
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.d.ts +7 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.js +5 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +47 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.js +5 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +9 -9
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -47
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.d.ts +7 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.js +5 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.d.ts +49 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.js +5 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -45
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +45 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.js +5 -0
- package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +11 -0
- package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +5 -0
- package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +13 -0
- package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.js +5 -0
- package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.d.ts +12 -0
- package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.js +5 -0
- package/dist/api/resources/serviceLines/resources/v2/types/index.d.ts +8 -0
- package/dist/api/resources/serviceLines/resources/v2/types/index.js +8 -0
- package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +1 -7
- package/dist/api/resources/x12/resources/v1/types/TypeOfBillCompositeBase.d.ts +12 -0
- package/dist/api/resources/x12/resources/v1/types/TypeOfBillCompositeBase.js +5 -0
- package/dist/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +30 -0
- package/dist/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js +5 -0
- package/dist/api/resources/x12/resources/v1/types/index.d.ts +2 -0
- package/dist/api/resources/x12/resources/v1/types/index.js +2 -0
- package/dist/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +3 -0
- package/dist/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js +3 -0
- package/dist/serialization/resources/commons/types/Clearinghouse.d.ts +10 -0
- package/dist/serialization/resources/commons/types/Clearinghouse.js +50 -0
- package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
- package/dist/serialization/resources/commons/types/ProcedureModifier.js +11 -0
- package/dist/serialization/resources/commons/types/index.d.ts +1 -0
- package/dist/serialization/resources/commons/types/index.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/client/create.d.ts +6 -1
- package/dist/serialization/resources/encounters/resources/v4/client/create.js +6 -0
- package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +49 -0
- package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +112 -0
- package/dist/serialization/resources/encounters/resources/v4/client/createUniversal.d.ts +69 -0
- package/dist/serialization/resources/encounters/resources/v4/client/createUniversal.js +136 -0
- package/dist/serialization/resources/encounters/resources/v4/client/index.d.ts +3 -1
- package/dist/serialization/resources/encounters/resources/v4/client/index.js +4 -5
- package/dist/serialization/resources/encounters/resources/v4/client/updateUniversal.d.ts +50 -0
- package/dist/serialization/resources/encounters/resources/v4/client/updateUniversal.js +113 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +3 -4
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +3 -4
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +2 -2
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.js +2 -2
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterCreate.d.ts +22 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterCreate.js +55 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.d.ts +4 -28
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.js +4 -28
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.js +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +0 -2
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +0 -2
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.d.ts +11 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.js +41 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterUpdate.d.ts +16 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterUpdate.js +49 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +7 -4
- package/dist/serialization/resources/encounters/resources/v4/types/index.js +7 -4
- package/dist/serialization/resources/encountersUniversal/index.d.ts +1 -0
- package/dist/serialization/resources/encountersUniversal/index.js +17 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +39 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.js +72 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +50 -0
- package/{serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js → dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.js} +21 -31
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +37 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +70 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +36 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +69 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +32 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.js +65 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +46 -0
- package/{serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js → dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js} +20 -22
- package/dist/serialization/resources/encountersUniversal/types/index.d.ts +6 -0
- package/dist/serialization/resources/encountersUniversal/types/index.js +22 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.d.ts +9 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.js +41 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/client/index.d.ts +1 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/client/index.js +2 -1
- package/dist/serialization/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.d.ts +13 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.js +44 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/client/requests/index.js +3 -1
- package/dist/serialization/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +4 -1
- package/dist/serialization/resources/feeSchedules/resources/v3/types/ValidationError.js +1 -0
- package/dist/serialization/resources/financials/types/PatientTransactionSource.d.ts +1 -1
- package/dist/serialization/resources/financials/types/PatientTransactionSource.js +10 -1
- package/dist/serialization/resources/guarantor/resources/v1/types/Guarantor.d.ts +1 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/Guarantor.js +1 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorCreate.d.ts +1 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorCreate.js +1 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.d.ts +1 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.js +1 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorUpdate.d.ts +1 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorUpdate.js +1 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +16 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +49 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +16 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +49 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +16 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +49 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +18 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +51 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +37 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +68 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +18 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +51 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +18 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +51 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +18 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +51 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +18 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +51 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +16 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +49 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +18 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +51 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +18 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +51 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +16 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +49 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +18 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +51 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +14 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/index.js +14 -0
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +3 -2
- package/dist/serialization/resources/individual/types/Patient.d.ts +1 -0
- package/dist/serialization/resources/individual/types/Patient.js +1 -0
- package/dist/serialization/resources/individual/types/PatientCreate.d.ts +1 -0
- package/dist/serialization/resources/individual/types/PatientCreate.js +1 -0
- package/dist/serialization/resources/individual/types/PatientUpdate.d.ts +1 -0
- package/dist/serialization/resources/individual/types/PatientUpdate.js +1 -0
- package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +1 -0
- package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +1 -0
- package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
- package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +2 -0
- package/dist/serialization/resources/payers/resources/index.d.ts +1 -0
- package/dist/serialization/resources/payers/resources/index.js +2 -1
- package/dist/serialization/resources/payers/resources/v4/index.d.ts +1 -0
- package/dist/serialization/resources/payers/resources/v4/index.js +17 -0
- package/dist/serialization/resources/payers/resources/v4/types/ClearinghousePayerInfo.d.ts +20 -0
- package/dist/serialization/resources/payers/resources/v4/types/ClearinghousePayerInfo.js +51 -0
- package/dist/serialization/resources/payers/resources/v4/types/Payer.d.ts +21 -0
- package/dist/serialization/resources/payers/resources/v4/types/Payer.js +52 -0
- package/dist/serialization/resources/payers/resources/v4/types/PayerIds.d.ts +14 -0
- package/dist/serialization/resources/payers/resources/v4/types/PayerIds.js +45 -0
- package/dist/serialization/resources/payers/resources/v4/types/PayerPage.d.ts +14 -0
- package/dist/serialization/resources/payers/resources/v4/types/PayerPage.js +47 -0
- package/dist/serialization/resources/payers/resources/v4/types/PayerUuid.d.ts +10 -0
- package/dist/serialization/resources/payers/resources/v4/types/PayerUuid.js +45 -0
- package/dist/serialization/resources/payers/resources/v4/types/PrimaryPayerIds.d.ts +14 -0
- package/dist/serialization/resources/payers/resources/v4/types/PrimaryPayerIds.js +45 -0
- package/dist/serialization/resources/payers/resources/v4/types/SupportState.d.ts +10 -0
- package/dist/serialization/resources/payers/resources/v4/types/SupportState.js +41 -0
- package/dist/serialization/resources/payers/resources/v4/types/index.d.ts +7 -0
- package/dist/serialization/resources/payers/resources/v4/types/index.js +23 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.d.ts +15 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.js +71 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.d.ts +13 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.js +44 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +3 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.d.ts +1 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/client/createUniversal.d.ts +15 -0
- package/dist/serialization/resources/serviceLines/resources/v2/client/createUniversal.js +71 -0
- package/dist/serialization/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/client/index.js +3 -1
- package/dist/serialization/resources/serviceLines/resources/v2/client/updateUniversal.d.ts +25 -0
- package/dist/serialization/resources/serviceLines/resources/v2/client/updateUniversal.js +83 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -23
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +5 -24
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.d.ts +13 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.js +46 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +32 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.js +63 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -27
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +5 -28
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.d.ts +13 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.js +46 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.d.ts +36 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.js +67 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -24
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +5 -25
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +34 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.js +65 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +15 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +48 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +19 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.js +52 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.d.ts +18 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.js +51 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.d.ts +8 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.js +8 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +2 -7
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.js +5 -8
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeBase.d.ts +17 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeBase.js +48 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +18 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js +52 -0
- package/dist/serialization/resources/x12/resources/v1/types/index.d.ts +2 -0
- package/dist/serialization/resources/x12/resources/v1/types/index.js +2 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +682 -114
- package/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +3 -0
- package/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js +3 -0
- package/serialization/resources/commons/types/Clearinghouse.d.ts +10 -0
- package/serialization/resources/commons/types/Clearinghouse.js +50 -0
- package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
- package/serialization/resources/commons/types/ProcedureModifier.js +11 -0
- package/serialization/resources/commons/types/index.d.ts +1 -0
- package/serialization/resources/commons/types/index.js +1 -0
- package/serialization/resources/encounters/resources/v4/client/create.d.ts +6 -1
- package/serialization/resources/encounters/resources/v4/client/create.js +6 -0
- package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +49 -0
- package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +112 -0
- package/serialization/resources/encounters/resources/v4/client/createUniversal.d.ts +69 -0
- package/serialization/resources/encounters/resources/v4/client/createUniversal.js +136 -0
- package/serialization/resources/encounters/resources/v4/client/index.d.ts +3 -1
- package/serialization/resources/encounters/resources/v4/client/index.js +4 -5
- package/serialization/resources/encounters/resources/v4/client/updateUniversal.d.ts +50 -0
- package/serialization/resources/encounters/resources/v4/client/updateUniversal.js +113 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +3 -4
- package/serialization/resources/encounters/resources/v4/types/Encounter.js +3 -4
- package/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +2 -2
- package/serialization/resources/encounters/resources/v4/types/EncounterBase.js +2 -2
- package/serialization/resources/encounters/resources/v4/types/EncounterCreate.d.ts +22 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterCreate.js +55 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.d.ts +4 -28
- package/serialization/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.js +4 -28
- package/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +2 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.js +2 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +0 -2
- package/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +0 -2
- package/serialization/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.d.ts +11 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.js +41 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterUpdate.d.ts +16 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterUpdate.js +49 -0
- package/serialization/resources/encounters/resources/v4/types/index.d.ts +7 -4
- package/serialization/resources/encounters/resources/v4/types/index.js +7 -4
- package/serialization/resources/encountersUniversal/index.d.ts +1 -0
- package/serialization/resources/encountersUniversal/index.js +17 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +39 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.js +72 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +50 -0
- package/{dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js → serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.js} +21 -31
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +37 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +70 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +36 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +69 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +32 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.js +65 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +46 -0
- package/{dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js → serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js} +20 -22
- package/serialization/resources/encountersUniversal/types/index.d.ts +6 -0
- package/serialization/resources/encountersUniversal/types/index.js +22 -0
- package/serialization/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.d.ts +9 -0
- package/serialization/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.js +41 -0
- package/serialization/resources/feeSchedules/resources/v3/client/index.d.ts +1 -0
- package/serialization/resources/feeSchedules/resources/v3/client/index.js +2 -1
- package/serialization/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.d.ts +13 -0
- package/serialization/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.js +44 -0
- package/serialization/resources/feeSchedules/resources/v3/client/requests/index.d.ts +1 -0
- package/serialization/resources/feeSchedules/resources/v3/client/requests/index.js +3 -1
- package/serialization/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +4 -1
- package/serialization/resources/feeSchedules/resources/v3/types/ValidationError.js +1 -0
- package/serialization/resources/financials/types/PatientTransactionSource.d.ts +1 -1
- package/serialization/resources/financials/types/PatientTransactionSource.js +10 -1
- package/serialization/resources/guarantor/resources/v1/types/Guarantor.d.ts +1 -0
- package/serialization/resources/guarantor/resources/v1/types/Guarantor.js +1 -0
- package/serialization/resources/guarantor/resources/v1/types/GuarantorCreate.d.ts +1 -0
- package/serialization/resources/guarantor/resources/v1/types/GuarantorCreate.js +1 -0
- package/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.d.ts +1 -0
- package/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.js +1 -0
- package/serialization/resources/guarantor/resources/v1/types/GuarantorUpdate.d.ts +1 -0
- package/serialization/resources/guarantor/resources/v1/types/GuarantorUpdate.js +1 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +16 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +49 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +16 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +49 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +16 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +49 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +18 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +51 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +37 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +68 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +18 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +51 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +18 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +51 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +18 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +51 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +18 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +51 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +16 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +49 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +18 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +51 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +18 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +51 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +16 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +49 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +18 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +51 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +14 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/index.js +14 -0
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +3 -2
- package/serialization/resources/individual/types/Patient.d.ts +1 -0
- package/serialization/resources/individual/types/Patient.js +1 -0
- package/serialization/resources/individual/types/PatientCreate.d.ts +1 -0
- package/serialization/resources/individual/types/PatientCreate.js +1 -0
- package/serialization/resources/individual/types/PatientUpdate.d.ts +1 -0
- package/serialization/resources/individual/types/PatientUpdate.js +1 -0
- package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +1 -0
- package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +1 -0
- package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
- package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +2 -0
- package/serialization/resources/payers/resources/index.d.ts +1 -0
- package/serialization/resources/payers/resources/index.js +2 -1
- package/serialization/resources/payers/resources/v4/index.d.ts +1 -0
- package/serialization/resources/payers/resources/v4/index.js +17 -0
- package/serialization/resources/payers/resources/v4/types/ClearinghousePayerInfo.d.ts +20 -0
- package/serialization/resources/payers/resources/v4/types/ClearinghousePayerInfo.js +51 -0
- package/serialization/resources/payers/resources/v4/types/Payer.d.ts +21 -0
- package/serialization/resources/payers/resources/v4/types/Payer.js +52 -0
- package/serialization/resources/payers/resources/v4/types/PayerIds.d.ts +14 -0
- package/serialization/resources/payers/resources/v4/types/PayerIds.js +45 -0
- package/serialization/resources/payers/resources/v4/types/PayerPage.d.ts +14 -0
- package/serialization/resources/payers/resources/v4/types/PayerPage.js +47 -0
- package/serialization/resources/payers/resources/v4/types/PayerUuid.d.ts +10 -0
- package/serialization/resources/payers/resources/v4/types/PayerUuid.js +45 -0
- package/serialization/resources/payers/resources/v4/types/PrimaryPayerIds.d.ts +14 -0
- package/serialization/resources/payers/resources/v4/types/PrimaryPayerIds.js +45 -0
- package/serialization/resources/payers/resources/v4/types/SupportState.d.ts +10 -0
- package/serialization/resources/payers/resources/v4/types/SupportState.js +41 -0
- package/serialization/resources/payers/resources/v4/types/index.d.ts +7 -0
- package/serialization/resources/payers/resources/v4/types/index.js +23 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +1 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.d.ts +15 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.js +71 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.js +1 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.d.ts +13 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.js +44 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +3 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.js +1 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/client/createUniversal.d.ts +15 -0
- package/serialization/resources/serviceLines/resources/v2/client/createUniversal.js +71 -0
- package/serialization/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
- package/serialization/resources/serviceLines/resources/v2/client/index.js +3 -1
- package/serialization/resources/serviceLines/resources/v2/client/updateUniversal.d.ts +25 -0
- package/serialization/resources/serviceLines/resources/v2/client/updateUniversal.js +83 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -23
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +5 -24
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.d.ts +13 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.js +46 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +32 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.js +63 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -27
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +5 -28
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.d.ts +13 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.js +46 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.d.ts +36 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.js +67 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -24
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +5 -25
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +34 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.js +65 -0
- package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +15 -0
- package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +48 -0
- package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +19 -0
- package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.js +52 -0
- package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.d.ts +18 -0
- package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.js +51 -0
- package/serialization/resources/serviceLines/resources/v2/types/index.d.ts +8 -0
- package/serialization/resources/serviceLines/resources/v2/types/index.js +8 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +2 -7
- package/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.js +5 -8
- package/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeBase.d.ts +17 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeBase.js +48 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +18 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js +52 -0
- package/serialization/resources/x12/resources/v1/types/index.d.ts +2 -0
- package/serialization/resources/x12/resources/v1/types/index.js +2 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +0 -60
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +0 -48
- package/dist/serialization/resources/encounters/resources/v4/client/requests/index.d.ts +0 -2
- package/dist/serialization/resources/encounters/resources/v4/client/requests/index.js +0 -7
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +0 -60
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +0 -48
- package/serialization/resources/encounters/resources/v4/client/requests/index.d.ts +0 -2
- package/serialization/resources/encounters/resources/v4/client/requests/index.js +0 -7
- /package/api/resources/encounters/resources/v4/{client/requests → types}/EncounterCreate.js +0 -0
- /package/api/resources/encounters/resources/v4/{client/requests/EncounterUpdate.js → types/EncounterRenderingOrAttendingProviderRequiredError.js} +0 -0
- /package/{dist/api/resources/encounters/resources/v4/client/requests → api/resources/encounters/resources/v4/types}/EncounterUpdate.js +0 -0
- /package/{dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.js → api/resources/encountersUniversal/types/UniversalEncounterCreate.js} +0 -0
|
@@ -2,55 +2,9 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../../index";
|
|
5
|
-
export interface ServiceLineCreateStandalone {
|
|
6
|
-
modifiers?: CandidApi.ProcedureModifier[];
|
|
7
|
-
/**
|
|
8
|
-
* The total amount charged for this service line, factoring in quantity. If left unfilled, the system will attempt to set it based on
|
|
9
|
-
* chargemasters entries and the service line's quantity. For example, if a single unit has an entry of 100 cents and 2 units were rendered,
|
|
10
|
-
* the `charge_amount_cents` will be set to 200, if this field is unfilled.
|
|
11
|
-
*/
|
|
12
|
-
chargeAmountCents?: number;
|
|
5
|
+
export interface ServiceLineCreateStandalone extends CandidApi.serviceLines.v2.ServiceLineCreateStandaloneBase {
|
|
13
6
|
diagnosisIdZero?: CandidApi.DiagnosisId;
|
|
14
7
|
diagnosisIdOne?: CandidApi.DiagnosisId;
|
|
15
8
|
diagnosisIdTwo?: CandidApi.DiagnosisId;
|
|
16
9
|
diagnosisIdThree?: CandidApi.DiagnosisId;
|
|
17
|
-
denialReason?: CandidApi.serviceLines.v2.ServiceLineDenialReason;
|
|
18
|
-
/** 837p Loop2300, SV105. If your organization does not intend to submit claims with a different place of service at the service line level, this field should not be populated. 02 for telemedicine, 11 for in-person. Full list [here](https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set). */
|
|
19
|
-
placeOfServiceCode?: CandidApi.FacilityTypeCode;
|
|
20
|
-
procedureCode: string;
|
|
21
|
-
/**
|
|
22
|
-
* String representation of a Decimal that can be parsed by most libraries.
|
|
23
|
-
* A ServiceLine quantity cannot contain more than one digit of precision.
|
|
24
|
-
* Example: 1.1 is valid, 1.11 is not.
|
|
25
|
-
*/
|
|
26
|
-
quantity: CandidApi.Decimal;
|
|
27
|
-
units: CandidApi.ServiceLineUnits;
|
|
28
|
-
claimId: CandidApi.ClaimId;
|
|
29
|
-
/** A free-form description to clarify the related data elements and their content. Maps to SV1-01, C003-07 on the 837-P. */
|
|
30
|
-
description?: string;
|
|
31
|
-
dateOfService?: string;
|
|
32
|
-
endDateOfService?: string;
|
|
33
|
-
drugIdentification?: CandidApi.serviceLines.v2.DrugIdentification;
|
|
34
|
-
/**
|
|
35
|
-
* Required when the service or supply was ordered by a provider who is different than the rendering provider for this service line.
|
|
36
|
-
* If not required by this implementation guide, do not send.
|
|
37
|
-
*/
|
|
38
|
-
orderingProvider?: CandidApi.encounterProviders.v2.OrderingProvider;
|
|
39
|
-
/**
|
|
40
|
-
* Contains a list of test results. Test result types may map to MEA-02 on the 837-P (ex: Hemoglobin, Hematocrit).
|
|
41
|
-
* No more than 5 MEA-02 test results may be submitted per service line.
|
|
42
|
-
*/
|
|
43
|
-
testResults?: CandidApi.serviceLines.v2.TestResult[];
|
|
44
|
-
/**
|
|
45
|
-
* Maps to SV1-11 on the 837-P and Box 24H on the CMS-1500.
|
|
46
|
-
* If the value is true, the box will be populated with "Y". Otherwise, the box will not be populated.
|
|
47
|
-
*/
|
|
48
|
-
hasEpsdtIndicator?: boolean;
|
|
49
|
-
/**
|
|
50
|
-
* Maps to SV1-12 on the 837-P and Box 24I on the CMS-1500.
|
|
51
|
-
* If the value is true, the box will be populated with "Y". Otherwise, the box will not be populated.
|
|
52
|
-
*/
|
|
53
|
-
hasFamilyPlanningIndicator?: boolean;
|
|
54
|
-
/** Maps to NTE02 loop 2400 on the EDI 837. */
|
|
55
|
-
note?: string;
|
|
56
10
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
export interface ServiceLineCreateStandaloneBase extends CandidApi.serviceLines.v2.ServiceLineCreateStandaloneBaseBase {
|
|
6
|
+
procedureCode: string;
|
|
7
|
+
}
|
package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.d.ts
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
export interface ServiceLineCreateStandaloneBaseBase {
|
|
6
|
+
modifiers?: CandidApi.ProcedureModifier[];
|
|
7
|
+
/** The total amount charged for this service line, factoring in quantity. The system will attempt to set it based on the chargemaster configuration and the service line’s quantity. For example, if a single unit has an entry of 100 cents and 2 units were rendered, the charge_amount_cents will be set to 200. If there is no chargemaster entry, the system will default to the amount set via this field. */
|
|
8
|
+
chargeAmountCents?: number;
|
|
9
|
+
denialReason?: CandidApi.serviceLines.v2.ServiceLineDenialReason;
|
|
10
|
+
/** 837p Loop2300, SV105. This enum is not used or required in 837i claims. If your organization does not intend to submit claims with a different place of service at the service line level, this field should not be populated. 02 for telemedicine, 11 for in-person. Full list [here](https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set). */
|
|
11
|
+
placeOfServiceCode?: CandidApi.FacilityTypeCode;
|
|
12
|
+
/**
|
|
13
|
+
* String representation of a Decimal that can be parsed by most libraries.
|
|
14
|
+
* For professional claims, a ServiceLine quantity cannot contain more than one digit of precision
|
|
15
|
+
* (Example: 1.1 is valid, 1.11 is not). For institutional claims, a ServiceLine quantity cannot contain
|
|
16
|
+
* more than three decimal digits of precision.
|
|
17
|
+
*/
|
|
18
|
+
quantity: CandidApi.Decimal;
|
|
19
|
+
units: CandidApi.ServiceLineUnits;
|
|
20
|
+
claimId: CandidApi.ClaimId;
|
|
21
|
+
/** A free-form description to clarify the related data elements and their content. Maps to SV1-01, C003-07 on a 837-P and SV2-02, C003-07 on a 837-I form. */
|
|
22
|
+
description?: string;
|
|
23
|
+
dateOfService?: string;
|
|
24
|
+
endDateOfService?: string;
|
|
25
|
+
drugIdentification?: CandidApi.serviceLines.v2.DrugIdentification;
|
|
26
|
+
/**
|
|
27
|
+
* Required when the service or supply was ordered by a provider who is different than the rendering provider for this service line.
|
|
28
|
+
* If not required by this implementation guide, do not send.
|
|
29
|
+
*/
|
|
30
|
+
orderingProvider?: CandidApi.encounterProviders.v2.OrderingProvider;
|
|
31
|
+
/**
|
|
32
|
+
* Contains a list of test results. Test result types may map to MEA-02 on the 837-P (ex: Hemoglobin, Hematocrit).
|
|
33
|
+
* This is unused by 837-i and ignored for institutional service lines.
|
|
34
|
+
* No more than 5 MEA-02 test results may be submitted per service line.
|
|
35
|
+
*/
|
|
36
|
+
testResults?: CandidApi.serviceLines.v2.TestResult[];
|
|
37
|
+
/**
|
|
38
|
+
* Maps to SV1-11 on the 837-P and Box 24H on the CMS-1500.
|
|
39
|
+
* If the value is true, the box will be populated with "Y". Otherwise, the box will not be populated.
|
|
40
|
+
*/
|
|
41
|
+
hasEpsdtIndicator?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Maps to SV1-12 on the 837-P and Box 24I on the CMS-1500.
|
|
44
|
+
* If the value is true, the box will be populated with "Y". Otherwise, the box will not be populated.
|
|
45
|
+
*/
|
|
46
|
+
hasFamilyPlanningIndicator?: boolean;
|
|
47
|
+
/** Maps to NTE02 loop 2400 on the EDI 837. */
|
|
48
|
+
note?: string;
|
|
49
|
+
}
|
|
@@ -2,53 +2,9 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../../index";
|
|
5
|
-
export interface ServiceLineUpdate {
|
|
6
|
-
editReason?: string;
|
|
7
|
-
modifiers?: CandidApi.ProcedureModifier[];
|
|
8
|
-
/**
|
|
9
|
-
* The total amount charged for this service line, factoring in quantity. If `procedure_code` is updated and this is not, the system will attempt
|
|
10
|
-
* to set it based on chargemasters entries and the service line's quantity. For example, if a single unit has an entry of 100 cents and 2
|
|
11
|
-
* units were rendered, the `charge_amount_cents` will be set to 200, if this field is unfilled.
|
|
12
|
-
*/
|
|
13
|
-
chargeAmountCents?: number;
|
|
5
|
+
export interface ServiceLineUpdate extends CandidApi.serviceLines.v2.ServiceLineUpdateBase {
|
|
14
6
|
diagnosisIdZero?: CandidApi.DiagnosisId;
|
|
15
7
|
diagnosisIdOne?: CandidApi.DiagnosisId;
|
|
16
8
|
diagnosisIdTwo?: CandidApi.DiagnosisId;
|
|
17
9
|
diagnosisIdThree?: CandidApi.DiagnosisId;
|
|
18
|
-
drugIdentification?: CandidApi.serviceLines.v2.DrugIdentification;
|
|
19
|
-
denialReason?: CandidApi.serviceLines.v2.ServiceLineDenialReason;
|
|
20
|
-
/** 837p Loop2300, SV105. If your organization does not intend to submit claims with a different place of service at the service line level, this field should not be populated. 02 for telemedicine, 11 for in-person. Full list [here](https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set). */
|
|
21
|
-
placeOfServiceCode?: CandidApi.FacilityTypeCode;
|
|
22
|
-
units?: CandidApi.ServiceLineUnits;
|
|
23
|
-
/** If `procedure_code` is updated, and `charge_amount_cents` is not, then `charge_amount_cents` will be set by the system. */
|
|
24
|
-
procedureCode?: string;
|
|
25
|
-
/**
|
|
26
|
-
* String representation of a Decimal that can be parsed by most libraries.
|
|
27
|
-
* A ServiceLine quantity cannot contain more than one digit of precision.
|
|
28
|
-
* Example: 1.1 is valid, 1.11 is not.
|
|
29
|
-
*/
|
|
30
|
-
quantity?: CandidApi.Decimal;
|
|
31
|
-
/** A free-form description to clarify the related data elements and their content. Maps to SV1-01, C003-07 on the 837-P. */
|
|
32
|
-
description?: string;
|
|
33
|
-
/** date_of_service must be defined on either the encounter or the service lines but not both. */
|
|
34
|
-
dateOfService?: string;
|
|
35
|
-
endDateOfService?: string;
|
|
36
|
-
/**
|
|
37
|
-
* Contains a list of test results. Test result types may map to MEA-02 on the 837-P (ex: Hemoglobin, Hematocrit).
|
|
38
|
-
* No more than 5 MEA-02 test results may be submitted per service line.
|
|
39
|
-
* Updating test results utilizes PUT semantics, so the test results on the service line will be set to whatever inputs are provided.
|
|
40
|
-
*/
|
|
41
|
-
testResults?: CandidApi.serviceLines.v2.TestResult[];
|
|
42
|
-
/**
|
|
43
|
-
* Maps to SV1-11 on the 837-P and Box 24H on the CMS-1500.
|
|
44
|
-
* If the value is true, the box will be populated with "Y". Otherwise, the box will not be populated.
|
|
45
|
-
*/
|
|
46
|
-
hasEpsdtIndicator?: boolean;
|
|
47
|
-
/**
|
|
48
|
-
* Maps to SV1-12 on the 837-P and Box 24I on the CMS-1500.
|
|
49
|
-
* If the value is true, the box will be populated with "Y". Otherwise, the box will not be populated.
|
|
50
|
-
*/
|
|
51
|
-
hasFamilyPlanningIndicator?: boolean;
|
|
52
|
-
/** Maps to NTE02 loop 2400 on the EDI 837. */
|
|
53
|
-
note?: string;
|
|
54
10
|
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
export interface ServiceLineUpdateBase {
|
|
6
|
+
editReason?: string;
|
|
7
|
+
modifiers?: CandidApi.ProcedureModifier[];
|
|
8
|
+
/** The total amount charged for this service line, factoring in quantity. If procedure_code is updated and this is not, the system will attempt to set it based on chargemasters entries and the service line’s quantity. For example, if a single unit has an entry of 100 cents and 2 units were rendered, the charge_amount_cents will be set to 200, if there is no chargemaster entry, it will default to the amount set in this field. */
|
|
9
|
+
chargeAmountCents?: number;
|
|
10
|
+
drugIdentification?: CandidApi.serviceLines.v2.DrugIdentification;
|
|
11
|
+
denialReason?: CandidApi.serviceLines.v2.ServiceLineDenialReason;
|
|
12
|
+
/** 837p Loop2300, SV105. This enum is not used or required in 837i claims. If your organization does not intend to submit claims with a different place of service at the service line level, this field should not be populated. 02 for telemedicine, 11 for in-person. Full list [here](https://www.cms.gov/Medicare/Coding/place-of-service-codes/Place_of_Service_Code_Set). */
|
|
13
|
+
placeOfServiceCode?: CandidApi.FacilityTypeCode;
|
|
14
|
+
units?: CandidApi.ServiceLineUnits;
|
|
15
|
+
/** If `procedure_code` is updated, and `charge_amount_cents` is not, then `charge_amount_cents` will be set by the system. */
|
|
16
|
+
procedureCode?: string;
|
|
17
|
+
/**
|
|
18
|
+
* String representation of a Decimal that can be parsed by most libraries.
|
|
19
|
+
* For professional claims, a ServiceLine quantity cannot contain more than one digit of precision
|
|
20
|
+
* (Example: 1.1 is valid, 1.11 is not). For institutional claims, a ServiceLine quantity cannot contain
|
|
21
|
+
* more than three decimal digits of precision.
|
|
22
|
+
*/
|
|
23
|
+
quantity?: CandidApi.Decimal;
|
|
24
|
+
/** A free-form description to clarify the related data elements and their content. Maps to SV1-01, C003-07 on a 837-P and SV2-02, C003-07 on a 837-I form. */
|
|
25
|
+
description?: string;
|
|
26
|
+
/** date_of_service must be defined on either the encounter or the service lines but not both. */
|
|
27
|
+
dateOfService?: string;
|
|
28
|
+
endDateOfService?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Contains a list of test results. Test result types may map to MEA-02 on the 837-P (ex: Hemoglobin, Hematocrit).
|
|
31
|
+
* This is unused by 837-i and ignored for institutional service lines.
|
|
32
|
+
* No more than 5 MEA-02 test results may be submitted per service line.
|
|
33
|
+
* Updating test results utilizes PUT semantics, so the test results on the service line will be set to whatever inputs are provided.
|
|
34
|
+
*/
|
|
35
|
+
testResults?: CandidApi.serviceLines.v2.TestResult[];
|
|
36
|
+
/** Maps to SV1-12 on the 837-P and Box 24I on the CMS-1500. If the value is true, the box will be populated with “Y”. Otherwise, the box will not be populated. This box is not used on an 837i. */
|
|
37
|
+
hasEpsdtIndicator?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Maps to SV1-12 on the 837-P and Box 24I on the CMS-1500.
|
|
40
|
+
* If the value is true, the box will be populated with "Y". Otherwise, the box will not be populated.
|
|
41
|
+
*/
|
|
42
|
+
hasFamilyPlanningIndicator?: boolean;
|
|
43
|
+
/** Maps to NTE02 loop 2400 on the EDI 837. */
|
|
44
|
+
note?: string;
|
|
45
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
export interface UniversalServiceLineCreate extends CandidApi.serviceLines.v2.ServiceLineCreateBaseBase {
|
|
6
|
+
/** Indices (zero-indexed) of all the diagnoses this service line references */
|
|
7
|
+
diagnosisPointers?: number[];
|
|
8
|
+
/** A 4 digit code that specifies facility department or type of service arrangement for institutional service line items (837i). This code is not required for professional claim billing (837p). */
|
|
9
|
+
revenueCode?: string;
|
|
10
|
+
procedureCode?: string;
|
|
11
|
+
}
|
package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
export interface UniversalServiceLineCreateStandalone extends CandidApi.serviceLines.v2.ServiceLineCreateStandaloneBaseBase {
|
|
6
|
+
diagnosisIdZero?: CandidApi.DiagnosisId;
|
|
7
|
+
diagnosisIdOne?: CandidApi.DiagnosisId;
|
|
8
|
+
diagnosisIdTwo?: CandidApi.DiagnosisId;
|
|
9
|
+
diagnosisIdThree?: CandidApi.DiagnosisId;
|
|
10
|
+
/** A 4 digit code that specifies facility department or type of service arrangement for institutional service line items (837i). This code is not required for professional claim billing (837p). */
|
|
11
|
+
revenueCode?: string;
|
|
12
|
+
procedureCode?: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
export interface UniversalServiceLineUpdate extends CandidApi.serviceLines.v2.ServiceLineUpdateBase {
|
|
6
|
+
/** A 4 digit code that specifies facility department or type of service arrangement for institutional service line items (837i). This code is not required for professional claim billing (837p). */
|
|
7
|
+
revenueCode?: string;
|
|
8
|
+
diagnosisIdZero?: CandidApi.DiagnosisId;
|
|
9
|
+
diagnosisIdOne?: CandidApi.DiagnosisId;
|
|
10
|
+
diagnosisIdTwo?: CandidApi.DiagnosisId;
|
|
11
|
+
diagnosisIdThree?: CandidApi.DiagnosisId;
|
|
12
|
+
}
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
export * from "./ServiceLineCreate";
|
|
2
|
+
export * from "./UniversalServiceLineCreate";
|
|
3
|
+
export * from "./ServiceLineCreateBase";
|
|
4
|
+
export * from "./ServiceLineCreateBaseBase";
|
|
2
5
|
export * from "./ServiceLineCreateOptional";
|
|
6
|
+
export * from "./UniversalServiceLineCreateStandalone";
|
|
3
7
|
export * from "./ServiceLineCreateStandalone";
|
|
8
|
+
export * from "./ServiceLineCreateStandaloneBase";
|
|
9
|
+
export * from "./ServiceLineCreateStandaloneBaseBase";
|
|
10
|
+
export * from "./UniversalServiceLineUpdate";
|
|
4
11
|
export * from "./ServiceLineUpdate";
|
|
12
|
+
export * from "./ServiceLineUpdateBase";
|
|
5
13
|
export * from "./ServiceLine";
|
|
6
14
|
export * from "./ServiceLineEraData";
|
|
7
15
|
export * from "./ServiceLineAdjustment";
|
|
@@ -15,9 +15,17 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./ServiceLineCreate"), exports);
|
|
18
|
+
__exportStar(require("./UniversalServiceLineCreate"), exports);
|
|
19
|
+
__exportStar(require("./ServiceLineCreateBase"), exports);
|
|
20
|
+
__exportStar(require("./ServiceLineCreateBaseBase"), exports);
|
|
18
21
|
__exportStar(require("./ServiceLineCreateOptional"), exports);
|
|
22
|
+
__exportStar(require("./UniversalServiceLineCreateStandalone"), exports);
|
|
19
23
|
__exportStar(require("./ServiceLineCreateStandalone"), exports);
|
|
24
|
+
__exportStar(require("./ServiceLineCreateStandaloneBase"), exports);
|
|
25
|
+
__exportStar(require("./ServiceLineCreateStandaloneBaseBase"), exports);
|
|
26
|
+
__exportStar(require("./UniversalServiceLineUpdate"), exports);
|
|
20
27
|
__exportStar(require("./ServiceLineUpdate"), exports);
|
|
28
|
+
__exportStar(require("./ServiceLineUpdateBase"), exports);
|
|
21
29
|
__exportStar(require("./ServiceLine"), exports);
|
|
22
30
|
__exportStar(require("./ServiceLineEraData"), exports);
|
|
23
31
|
__exportStar(require("./ServiceLineAdjustment"), exports);
|
|
@@ -75,7 +75,7 @@ class V1 {
|
|
|
75
75
|
const _response = yield core.fetcher({
|
|
76
76
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/superbill/v1"),
|
|
77
77
|
method: "POST",
|
|
78
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
78
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
79
79
|
contentType: "application/json",
|
|
80
80
|
requestType: "json",
|
|
81
81
|
body: serializers.superbills.v1.CreateSuperbillRequest.jsonOrThrow(request, {
|
|
@@ -71,7 +71,7 @@ class V3 {
|
|
|
71
71
|
const _response = yield core.fetcher({
|
|
72
72
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/tasks/v3/${encodeURIComponent(serializers.TaskId.jsonOrThrow(taskId))}/actions`),
|
|
73
73
|
method: "GET",
|
|
74
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
74
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
75
75
|
contentType: "application/json",
|
|
76
76
|
requestType: "json",
|
|
77
77
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -155,7 +155,7 @@ class V3 {
|
|
|
155
155
|
const _response = yield core.fetcher({
|
|
156
156
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/tasks/v3"),
|
|
157
157
|
method: "GET",
|
|
158
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
158
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
159
159
|
contentType: "application/json",
|
|
160
160
|
queryParameters: _queryParams,
|
|
161
161
|
requestType: "json",
|
|
@@ -207,7 +207,7 @@ class V3 {
|
|
|
207
207
|
const _response = yield core.fetcher({
|
|
208
208
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/tasks/v3/${encodeURIComponent(serializers.TaskId.jsonOrThrow(taskId))}`),
|
|
209
209
|
method: "GET",
|
|
210
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
210
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
211
211
|
contentType: "application/json",
|
|
212
212
|
requestType: "json",
|
|
213
213
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -264,7 +264,7 @@ class V3 {
|
|
|
264
264
|
const _response = yield core.fetcher({
|
|
265
265
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/tasks/v3"),
|
|
266
266
|
method: "POST",
|
|
267
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
267
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
268
268
|
contentType: "application/json",
|
|
269
269
|
requestType: "json",
|
|
270
270
|
body: serializers.tasks.v3.TaskCreateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -303,7 +303,7 @@ class V3 {
|
|
|
303
303
|
const _response = yield core.fetcher({
|
|
304
304
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/tasks/v3/${encodeURIComponent(serializers.TaskId.jsonOrThrow(taskId))}`),
|
|
305
305
|
method: "PATCH",
|
|
306
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
306
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
307
307
|
contentType: "application/json",
|
|
308
308
|
requestType: "json",
|
|
309
309
|
body: serializers.tasks.v3.TaskUpdateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -116,7 +116,7 @@ class V1 {
|
|
|
116
116
|
const _response = yield core.fetcher({
|
|
117
117
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/write-offs/v1"),
|
|
118
118
|
method: "GET",
|
|
119
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
119
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
120
120
|
contentType: "application/json",
|
|
121
121
|
queryParameters: _queryParams,
|
|
122
122
|
requestType: "json",
|
|
@@ -156,7 +156,7 @@ class V1 {
|
|
|
156
156
|
const _response = yield core.fetcher({
|
|
157
157
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/write-offs/v1/${encodeURIComponent(serializers.writeOffs.v1.WriteOffId.jsonOrThrow(writeOffId))}`),
|
|
158
158
|
method: "GET",
|
|
159
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
159
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
160
160
|
contentType: "application/json",
|
|
161
161
|
requestType: "json",
|
|
162
162
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -210,7 +210,7 @@ class V1 {
|
|
|
210
210
|
const _response = yield core.fetcher({
|
|
211
211
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, "/api/write-offs/v1"),
|
|
212
212
|
method: "POST",
|
|
213
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
213
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
214
214
|
contentType: "application/json",
|
|
215
215
|
requestType: "json",
|
|
216
216
|
body: serializers.writeOffs.v1.CreateWriteOffsRequest.jsonOrThrow(request, {
|
|
@@ -252,7 +252,7 @@ class V1 {
|
|
|
252
252
|
const _response = yield core.fetcher({
|
|
253
253
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/write-offs/v1/${encodeURIComponent(serializers.writeOffs.v1.WriteOffId.jsonOrThrow(writeOffId))}/revert`),
|
|
254
254
|
method: "POST",
|
|
255
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
255
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
256
256
|
contentType: "application/json",
|
|
257
257
|
requestType: "json",
|
|
258
258
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -291,7 +291,7 @@ class V1 {
|
|
|
291
291
|
const _response = yield core.fetcher({
|
|
292
292
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/write-offs/v1/${encodeURIComponent(serializers.AdjustmentId.jsonOrThrow(adjustmentId))}/revert`),
|
|
293
293
|
method: "POST",
|
|
294
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
294
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
295
295
|
contentType: "application/json",
|
|
296
296
|
requestType: "json",
|
|
297
297
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -330,7 +330,7 @@ class V1 {
|
|
|
330
330
|
const _response = yield core.fetcher({
|
|
331
331
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/write-offs/v1/${encodeURIComponent(serializers.AdjustmentId.jsonOrThrow(adjustmentId))}/revert-era-originated`),
|
|
332
332
|
method: "POST",
|
|
333
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
333
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
334
334
|
contentType: "application/json",
|
|
335
335
|
requestType: "json",
|
|
336
336
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -2,13 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as CandidApi from "../../../../../index";
|
|
5
|
-
export interface TypeOfBillComposite {
|
|
5
|
+
export interface TypeOfBillComposite extends CandidApi.x12.v1.TypeOfBillCompositeBase {
|
|
6
6
|
/** The composite, 4 digit code of the composite, starting with a padding code 0. */
|
|
7
7
|
code: string;
|
|
8
|
-
/** The FL04 Institutional type of facility code for the bill. The second digit of the composite code. */
|
|
9
|
-
typeOfFacility: CandidApi.x12.v1.TypeOfFacilityCode;
|
|
10
|
-
/** The FL04 Institutional type of care code for the bill. The second digit of the composite code. */
|
|
11
|
-
typeOfCare: CandidApi.x12.v1.TypeOfCareCode;
|
|
12
|
-
/** The FL04 Institutional frequency code for the bill. The fourth digit of the composite code. */
|
|
13
|
-
frequencyCode: CandidApi.x12.v1.TypeOfBillFrequencyCode;
|
|
14
8
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
export interface TypeOfBillCompositeBase {
|
|
6
|
+
/** The FL04 Institutional type of facility code for the bill. The second digit of the composite code. */
|
|
7
|
+
typeOfFacility: CandidApi.x12.v1.TypeOfFacilityCode;
|
|
8
|
+
/** The FL04 Institutional type of care code for the bill. The third digit of the composite code. */
|
|
9
|
+
typeOfCare: CandidApi.x12.v1.TypeOfCareCode;
|
|
10
|
+
/** The FL04 Institutional frequency code for the bill. The fourth digit of the composite code. */
|
|
11
|
+
frequencyCode: CandidApi.x12.v1.TypeOfBillFrequencyCode;
|
|
12
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* A type of bill can either be seen as a compositio of structured parts, or as a literal string.
|
|
7
|
+
* This union represents the potential to express a type of bill either as one of those two shapes.
|
|
8
|
+
* Passing a string, this update will be seen as a complete 4 digit code, along with a padding code 0, that
|
|
9
|
+
* should match a valid composition.
|
|
10
|
+
* Passing as a structure, the update will be seen as three parts and will be joined together by the server
|
|
11
|
+
* to represent a valid composition for you.
|
|
12
|
+
* Which you use depends upon whether you are "passing through" coded information or making a decision about its
|
|
13
|
+
* structure explicitly.
|
|
14
|
+
*/
|
|
15
|
+
export type TypeOfBillCompositeUpdate =
|
|
16
|
+
/**
|
|
17
|
+
* Full 4 digit type of bill code, starting with a leading 0. */
|
|
18
|
+
CandidApi.x12.v1.TypeOfBillCompositeUpdate.RawCode
|
|
19
|
+
/**
|
|
20
|
+
* Use composite_codes to send type_of_care, type_of_facility and frequency_code as separate enums. */
|
|
21
|
+
| CandidApi.x12.v1.TypeOfBillCompositeUpdate.CompositeCodes;
|
|
22
|
+
export declare namespace TypeOfBillCompositeUpdate {
|
|
23
|
+
interface RawCode {
|
|
24
|
+
type: "raw_code";
|
|
25
|
+
value: string;
|
|
26
|
+
}
|
|
27
|
+
interface CompositeCodes extends CandidApi.x12.v1.TypeOfBillCompositeBase {
|
|
28
|
+
type: "composite_codes";
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -5,7 +5,9 @@ export * from "./Rarc";
|
|
|
5
5
|
export * from "./TypeOfFacilityCode";
|
|
6
6
|
export * from "./TypeOfCareCode";
|
|
7
7
|
export * from "./TypeOfBillFrequencyCode";
|
|
8
|
+
export * from "./TypeOfBillCompositeUpdate";
|
|
8
9
|
export * from "./TypeOfBillComposite";
|
|
10
|
+
export * from "./TypeOfBillCompositeBase";
|
|
9
11
|
export * from "./TypeOfAdmissionOrVisitCode";
|
|
10
12
|
export * from "./PointOfOriginForAdmissionOrVisitCode";
|
|
11
13
|
export * from "./PatientDischargeStatusCode";
|
|
@@ -21,7 +21,9 @@ __exportStar(require("./Rarc"), exports);
|
|
|
21
21
|
__exportStar(require("./TypeOfFacilityCode"), exports);
|
|
22
22
|
__exportStar(require("./TypeOfCareCode"), exports);
|
|
23
23
|
__exportStar(require("./TypeOfBillFrequencyCode"), exports);
|
|
24
|
+
__exportStar(require("./TypeOfBillCompositeUpdate"), exports);
|
|
24
25
|
__exportStar(require("./TypeOfBillComposite"), exports);
|
|
26
|
+
__exportStar(require("./TypeOfBillCompositeBase"), exports);
|
|
25
27
|
__exportStar(require("./TypeOfAdmissionOrVisitCode"), exports);
|
|
26
28
|
__exportStar(require("./PointOfOriginForAdmissionOrVisitCode"), exports);
|
|
27
29
|
__exportStar(require("./PatientDischargeStatusCode"), exports);
|
|
@@ -74,7 +74,9 @@ export declare class Default {
|
|
|
74
74
|
*
|
|
75
75
|
* @example
|
|
76
76
|
* await client.auth.default.getMachineTokenForOrgId({
|
|
77
|
-
* orgId: "org_id"
|
|
77
|
+
* orgId: "org_id",
|
|
78
|
+
* clientId: "client_id",
|
|
79
|
+
* clientSecret: "client_secret"
|
|
78
80
|
* })
|
|
79
81
|
*/
|
|
80
82
|
getMachineTokenForOrgId(request: CandidApi.auth.default_.AuthGetTokenForOrgRequest, requestOptions?: Default.RequestOptions): Promise<core.APIResponse<CandidApi.auth.default_.AuthGetTokenResponse, CandidApi.auth.default_.getMachineTokenForOrgId.Error>>;
|
|
@@ -106,7 +106,7 @@ class Default {
|
|
|
106
106
|
const _response = yield core.fetcher({
|
|
107
107
|
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/auth/v2/token"),
|
|
108
108
|
method: "POST",
|
|
109
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
109
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
110
110
|
contentType: "application/json",
|
|
111
111
|
requestType: "json",
|
|
112
112
|
body: serializers.auth.default_.AuthGetTokenRequest.jsonOrThrow(request, {
|
|
@@ -154,7 +154,9 @@ class Default {
|
|
|
154
154
|
*
|
|
155
155
|
* @example
|
|
156
156
|
* await client.auth.default.getMachineTokenForOrgId({
|
|
157
|
-
* orgId: "org_id"
|
|
157
|
+
* orgId: "org_id",
|
|
158
|
+
* clientId: "client_id",
|
|
159
|
+
* clientSecret: "client_secret"
|
|
158
160
|
* })
|
|
159
161
|
*/
|
|
160
162
|
getMachineTokenForOrgId(request, requestOptions) {
|
|
@@ -163,7 +165,7 @@ class Default {
|
|
|
163
165
|
const _response = yield core.fetcher({
|
|
164
166
|
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/auth/v2/machine-token-for-org-id"),
|
|
165
167
|
method: "POST",
|
|
166
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
168
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
167
169
|
contentType: "application/json",
|
|
168
170
|
requestType: "json",
|
|
169
171
|
body: serializers.auth.default_.AuthGetTokenForOrgRequest.jsonOrThrow(request, {
|