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
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.Clearinghouse = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.Clearinghouse = core.serialization.enum_([
|
|
42
|
+
"CHANGE_HEALTHCARE",
|
|
43
|
+
"OLIVE",
|
|
44
|
+
"UCSF_CIRIUS",
|
|
45
|
+
"AVAILITY",
|
|
46
|
+
"PAYER_PORTAL",
|
|
47
|
+
"STEDI",
|
|
48
|
+
"WAYSTAR",
|
|
49
|
+
"UNKNOWN",
|
|
50
|
+
]);
|
|
@@ -6,5 +6,5 @@ import * as CandidApi from "../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
7
|
export declare const ProcedureModifier: core.serialization.Schema<serializers.ProcedureModifier.Raw, CandidApi.ProcedureModifier>;
|
|
8
8
|
export declare namespace ProcedureModifier {
|
|
9
|
-
type Raw = "AV" | "AU" | "AW" | "22" | "23" | "24" | "25" | "26" | "27" | "32" | "33" | "47" | "50" | "51" | "52" | "53" | "54" | "55" | "56" | "57" | "58" | "59" | "62" | "63" | "66" | "74" | "76" | "77" | "78" | "79" | "80" | "81" | "82" | "90" | "91" | "92" | "93" | "95" | "96" | "97" | "99" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "A7" | "A8" | "A9" | "AA" | "AB" | "AD" | "AE" | "AF" | "AG" | "AH" | "AI" | "AJ" | "AK" | "AM" | "AO" | "AP" | "AQ" | "AR" | "AS" | "AT" | "AZ" | "BA" | "BL" | "BO" | "BP" | "BR" | "BU" | "CA" | "CB" | "CC" | "CD" | "CE" | "CF" | "CG" | "CH" | "CI" | "CJ" | "CK" | "CL" | "CM" | "CN" | "CR" | "CS" | "CT" | "CO" | "CQ" | "DA" | "E1" | "E2" | "E3" | "E4" | "EA" | "EB" | "EC" | "ED" | "EE" | "EJ" | "EM" | "EP" | "ER" | "ET" | "EX" | "EY" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "FA" | "FB" | "FC" | "FP" | "FQ" | "FR" | "FS" | "FT" | "FX" | "FY" | "G0" | "G1" | "G2" | "G3" | "G4" | "G5" | "G6" | "G7" | "G8" | "G9" | "GA" | "GB" | "GC" | "GE" | "GF" | "GG" | "GH" | "GJ" | "GK" | "GL" | "GM" | "GN" | "GO" | "GP" | "GQ" | "GR" | "GS" | "GT" | "GU" | "GV" | "GW" | "GX" | "GY" | "GZ" | "HA" | "HB" | "HC" | "HD" | "HE" | "HF" | "HG" | "HH" | "HI" | "HJ" | "HK" | "HL" | "HM" | "HN" | "HO" | "HP" | "HQ" | "HR" | "HS" | "HT" | "HU" | "HV" | "HW" | "HX" | "HY" | "HZ" | "J1" | "J2" | "J3" | "J4" | "J5" | "JA" | "JB" | "JC" | "JD" | "JE" | "JG" | "JW" | "JZ" | "K0" | "K1" | "K2" | "K3" | "K4" | "KA" | "KB" | "KC" | "KD" | "KE" | "KF" | "KG" | "KH" | "KI" | "KJ" | "KK" | "KL" | "KM" | "KN" | "KO" | "KP" | "KQ" | "KR" | "KS" | "KT" | "KU" | "KV" | "KW" | "KX" | "KY" | "KZ" | "LC" | "LD" | "LL" | "LM" | "LR" | "LS" | "LT" | "LU" | "M2" | "MA" | "MB" | "MC" | "MD" | "ME" | "MF" | "MG" | "MH" | "MS" | "N1" | "N2" | "N3" | "NB" | "NR" | "NU" | "P1" | "P2" | "P3" | "P4" | "P5" | "P6" | "PA" | "PB" | "PC" | "PD" | "PI" | "PL" | "PM" | "PN" | "PO" | "PS" | "PT" | "Q0" | "Q1" | "Q2" | "Q3" | "Q4" | "Q5" | "Q6" | "Q7" | "Q8" | "Q9" | "QA" | "QB" | "QC" | "QD" | "QE" | "QF" | "QG" | "QH" | "QJ" | "QK" | "QL" | "QM" | "QN" | "QP" | "QQ" | "QR" | "QS" | "QT" | "QW" | "QX" | "QY" | "QZ" | "RA" | "RB" | "RC" | "RD" | "RE" | "RI" | "RR" | "RT" | "SA" | "SB" | "SC" | "SD" | "SE" | "SF" | "SG" | "SH" | "SJ" | "SL" | "SM" | "SN" | "SQ" | "SS" | "ST" | "SU" | "SV" | "SW" | "SY" | "T1" | "T2" | "T3" | "T4" | "T5" | "T6" | "T7" | "T8" | "T9" | "TA" | "TB" | "TC" | "TD" | "TE" | "TF" | "TG" | "TH" | "TJ" | "TK" | "TL" | "TM" | "TN" | "TP" | "TQ" | "TR" | "TS" | "TT" | "TU" | "TV" | "TW" | "U1" | "U2" | "U3" | "U4" | "U5" | "U6" | "U7" | "U8" | "U9" | "UA" | "UB" | "UC" | "UD" | "UE" | "UF" | "UG" | "UH" | "UJ" | "UK" | "UN" | "UP" | "UQ" | "UR" | "US" | "V1" | "V2" | "V3" | "W1" | "W2" | "W3" | "X4" | "XE" | "XP" | "XS" | "XU" | "XY";
|
|
9
|
+
type Raw = "AV" | "AU" | "AW" | "07" | "08" | "09" | "10" | "11" | "12" | "13" | "14" | "15" | "16" | "22" | "23" | "24" | "25" | "26" | "27" | "28" | "32" | "33" | "47" | "50" | "51" | "52" | "53" | "54" | "55" | "56" | "57" | "58" | "59" | "62" | "63" | "66" | "74" | "76" | "77" | "78" | "79" | "80" | "81" | "82" | "90" | "91" | "92" | "93" | "95" | "96" | "97" | "99" | "A1" | "A2" | "A3" | "A4" | "A5" | "A6" | "A7" | "A8" | "A9" | "AA" | "AB" | "AD" | "AE" | "AF" | "AG" | "AH" | "AI" | "AJ" | "AK" | "AM" | "AO" | "AP" | "AQ" | "AR" | "AS" | "AT" | "AZ" | "BA" | "BL" | "BO" | "BP" | "BR" | "BU" | "CA" | "CB" | "CC" | "CD" | "CE" | "CF" | "CG" | "CH" | "CI" | "CJ" | "CK" | "CL" | "CM" | "CN" | "CR" | "CS" | "CT" | "CO" | "CQ" | "DA" | "E1" | "E2" | "E3" | "E4" | "EA" | "EB" | "EC" | "ED" | "EE" | "EJ" | "EM" | "EP" | "ER" | "ET" | "EX" | "EY" | "F1" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "FA" | "FB" | "FC" | "FP" | "FQ" | "FR" | "FS" | "FT" | "FX" | "FY" | "G0" | "G1" | "G2" | "G3" | "G4" | "G5" | "G6" | "G7" | "G8" | "G9" | "GA" | "GB" | "GC" | "GE" | "GF" | "GG" | "GH" | "GJ" | "GK" | "GL" | "GM" | "GN" | "GO" | "GP" | "GQ" | "GR" | "GS" | "GT" | "GU" | "GV" | "GW" | "GX" | "GY" | "GZ" | "HA" | "HB" | "HC" | "HD" | "HE" | "HF" | "HG" | "HH" | "HI" | "HJ" | "HK" | "HL" | "HM" | "HN" | "HO" | "HP" | "HQ" | "HR" | "HS" | "HT" | "HU" | "HV" | "HW" | "HX" | "HY" | "HZ" | "J1" | "J2" | "J3" | "J4" | "J5" | "JA" | "JB" | "JC" | "JD" | "JE" | "JG" | "JW" | "JZ" | "K0" | "K1" | "K2" | "K3" | "K4" | "KA" | "KB" | "KC" | "KD" | "KE" | "KF" | "KG" | "KH" | "KI" | "KJ" | "KK" | "KL" | "KM" | "KN" | "KO" | "KP" | "KQ" | "KR" | "KS" | "KT" | "KU" | "KV" | "KW" | "KX" | "KY" | "KZ" | "LC" | "LD" | "LL" | "LM" | "LR" | "LS" | "LT" | "LU" | "M2" | "MA" | "MB" | "MC" | "MD" | "ME" | "MF" | "MG" | "MH" | "MS" | "N1" | "N2" | "N3" | "NB" | "NR" | "NU" | "P1" | "P2" | "P3" | "P4" | "P5" | "P6" | "PA" | "PB" | "PC" | "PD" | "PI" | "PL" | "PM" | "PN" | "PO" | "PS" | "PT" | "Q0" | "Q1" | "Q2" | "Q3" | "Q4" | "Q5" | "Q6" | "Q7" | "Q8" | "Q9" | "QA" | "QB" | "QC" | "QD" | "QE" | "QF" | "QG" | "QH" | "QJ" | "QK" | "QL" | "QM" | "QN" | "QP" | "QQ" | "QR" | "QS" | "QT" | "QW" | "QX" | "QY" | "QZ" | "RA" | "RB" | "RC" | "RD" | "RE" | "RI" | "RR" | "RT" | "SA" | "SB" | "SC" | "SD" | "SE" | "SF" | "SG" | "SH" | "SJ" | "SL" | "SM" | "SN" | "SQ" | "SS" | "ST" | "SU" | "SV" | "SW" | "SY" | "T1" | "T2" | "T3" | "T4" | "T5" | "T6" | "T7" | "T8" | "T9" | "TA" | "TB" | "TC" | "TD" | "TE" | "TF" | "TG" | "TH" | "TJ" | "TK" | "TL" | "TM" | "TN" | "TP" | "TQ" | "TR" | "TS" | "TT" | "TU" | "TV" | "TW" | "U1" | "U2" | "U3" | "U4" | "U5" | "U6" | "U7" | "U8" | "U9" | "UA" | "UB" | "UC" | "UD" | "UE" | "UF" | "UG" | "UH" | "UJ" | "UK" | "UN" | "UP" | "UQ" | "UR" | "US" | "V1" | "V2" | "V3" | "W1" | "W2" | "W3" | "X4" | "XE" | "XP" | "XS" | "XU" | "XY";
|
|
10
10
|
}
|
|
@@ -42,12 +42,23 @@ exports.ProcedureModifier = core.serialization.enum_([
|
|
|
42
42
|
"AV",
|
|
43
43
|
"AU",
|
|
44
44
|
"AW",
|
|
45
|
+
"07",
|
|
46
|
+
"08",
|
|
47
|
+
"09",
|
|
48
|
+
"10",
|
|
49
|
+
"11",
|
|
50
|
+
"12",
|
|
51
|
+
"13",
|
|
52
|
+
"14",
|
|
53
|
+
"15",
|
|
54
|
+
"16",
|
|
45
55
|
"22",
|
|
46
56
|
"23",
|
|
47
57
|
"24",
|
|
48
58
|
"25",
|
|
49
59
|
"26",
|
|
50
60
|
"27",
|
|
61
|
+
"28",
|
|
51
62
|
"32",
|
|
52
63
|
"33",
|
|
53
64
|
"47",
|
|
@@ -89,3 +89,4 @@ __exportStar(require("./IntendedSubmissionMedium"), exports);
|
|
|
89
89
|
__exportStar(require("./BillingProviderCommercialLicenseType"), exports);
|
|
90
90
|
__exportStar(require("./EpsdtReferralConditionIndicatorCode"), exports);
|
|
91
91
|
__exportStar(require("./NextResponsibleParty"), exports);
|
|
92
|
+
__exportStar(require("./Clearinghouse"), exports);
|
|
@@ -14,9 +14,10 @@ import { CashPayPayerErrorMessage } from "../types/CashPayPayerErrorMessage";
|
|
|
14
14
|
import { SchemaInstanceValidationFailure } from "../types/SchemaInstanceValidationFailure";
|
|
15
15
|
import { InvalidTagNamesErrorType } from "../types/InvalidTagNamesErrorType";
|
|
16
16
|
import { PayerPlanGroupPayerDoesNotMatchInsuranceCardError } from "../types/PayerPlanGroupPayerDoesNotMatchInsuranceCardError";
|
|
17
|
+
import { EncounterRenderingOrAttendingProviderRequiredError } from "../types/EncounterRenderingOrAttendingProviderRequiredError";
|
|
17
18
|
export declare const Error: core.serialization.Schema<serializers.encounters.v4.create.Error.Raw, CandidApi.encounters.v4.create.Error>;
|
|
18
19
|
export declare namespace Error {
|
|
19
|
-
type Raw = Error.EncounterExternalIdUniquenessError | Error.EncounterPatientControlNumberUniquenessError | Error.EntityNotFoundError | Error.UnauthorizedError | Error.EncounterGuarantorMissingContactInfoError | Error.HttpRequestValidationsError | Error.CashPayPayerError | Error.SchemaInstanceValidationHttpFailure | Error.InvalidTagNamesError | Error.HttpRequestValidationError | Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError;
|
|
20
|
+
type Raw = Error.EncounterExternalIdUniquenessError | Error.EncounterPatientControlNumberUniquenessError | Error.EntityNotFoundError | Error.UnauthorizedError | Error.EncounterGuarantorMissingContactInfoError | Error.HttpRequestValidationsError | Error.CashPayPayerError | Error.SchemaInstanceValidationHttpFailure | Error.InvalidTagNamesError | Error.HttpRequestValidationError | Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError | Error.EncounterRenderingOrAttendingProviderRequired;
|
|
20
21
|
interface EncounterExternalIdUniquenessError {
|
|
21
22
|
errorName: "EncounterExternalIdUniquenessError";
|
|
22
23
|
content: EncounterExternalIdUniquenessErrorType.Raw;
|
|
@@ -61,4 +62,8 @@ export declare namespace Error {
|
|
|
61
62
|
errorName: "PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError";
|
|
62
63
|
content: PayerPlanGroupPayerDoesNotMatchInsuranceCardError.Raw;
|
|
63
64
|
}
|
|
65
|
+
interface EncounterRenderingOrAttendingProviderRequired {
|
|
66
|
+
errorName: "EncounterRenderingOrAttendingProviderRequired";
|
|
67
|
+
content: EncounterRenderingOrAttendingProviderRequiredError.Raw;
|
|
68
|
+
}
|
|
64
69
|
}
|
|
@@ -60,6 +60,7 @@ const CashPayPayerErrorMessage_1 = require("../types/CashPayPayerErrorMessage");
|
|
|
60
60
|
const SchemaInstanceValidationFailure_1 = require("../types/SchemaInstanceValidationFailure");
|
|
61
61
|
const InvalidTagNamesErrorType_1 = require("../types/InvalidTagNamesErrorType");
|
|
62
62
|
const PayerPlanGroupPayerDoesNotMatchInsuranceCardError_1 = require("../types/PayerPlanGroupPayerDoesNotMatchInsuranceCardError");
|
|
63
|
+
const EncounterRenderingOrAttendingProviderRequiredError_1 = require("../types/EncounterRenderingOrAttendingProviderRequiredError");
|
|
63
64
|
exports.Error = core.serialization
|
|
64
65
|
.union("errorName", {
|
|
65
66
|
EncounterExternalIdUniquenessError: core.serialization.object({
|
|
@@ -95,6 +96,9 @@ exports.Error = core.serialization
|
|
|
95
96
|
PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError: core.serialization.object({
|
|
96
97
|
content: PayerPlanGroupPayerDoesNotMatchInsuranceCardError_1.PayerPlanGroupPayerDoesNotMatchInsuranceCardError,
|
|
97
98
|
}),
|
|
99
|
+
EncounterRenderingOrAttendingProviderRequired: core.serialization.object({
|
|
100
|
+
content: EncounterRenderingOrAttendingProviderRequiredError_1.EncounterRenderingOrAttendingProviderRequiredError,
|
|
101
|
+
}),
|
|
98
102
|
})
|
|
99
103
|
.transform({
|
|
100
104
|
transform: (value) => {
|
|
@@ -121,6 +125,8 @@ exports.Error = core.serialization
|
|
|
121
125
|
return CandidApi.encounters.v4.create.Error.httpRequestValidationError(value.content);
|
|
122
126
|
case "PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError":
|
|
123
127
|
return CandidApi.encounters.v4.create.Error.payerPlanGroupPayerDoesNotMatchInsuranceCardHttpError(value.content);
|
|
128
|
+
case "EncounterRenderingOrAttendingProviderRequired":
|
|
129
|
+
return CandidApi.encounters.v4.create.Error.encounterRenderingOrAttendingProviderRequired(value.content);
|
|
124
130
|
}
|
|
125
131
|
},
|
|
126
132
|
untransform: (_a) => {
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { EncounterExternalIdUniquenessErrorType } from "../types/EncounterExternalIdUniquenessErrorType";
|
|
8
|
+
import { EncounterPatientControlNumberUniquenessErrorType } from "../types/EncounterPatientControlNumberUniquenessErrorType";
|
|
9
|
+
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
10
|
+
import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
|
|
11
|
+
import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
|
|
12
|
+
import { SchemaInstanceValidationFailure } from "../types/SchemaInstanceValidationFailure";
|
|
13
|
+
import { PayerPlanGroupPayerDoesNotMatchInsuranceCardError } from "../types/PayerPlanGroupPayerDoesNotMatchInsuranceCardError";
|
|
14
|
+
export declare const Error: core.serialization.Schema<serializers.encounters.v4.createFromPreEncounterPatientUniversal.Error.Raw, CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error>;
|
|
15
|
+
export declare namespace Error {
|
|
16
|
+
type Raw = Error.EncounterExternalIdUniquenessError | Error.EncounterPatientControlNumberUniquenessError | Error.EntityNotFoundError | Error.UnauthorizedError | Error.HttpRequestValidationsError | Error.SchemaInstanceValidationHttpFailure | Error.HttpRequestValidationError | Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError;
|
|
17
|
+
interface EncounterExternalIdUniquenessError {
|
|
18
|
+
errorName: "EncounterExternalIdUniquenessError";
|
|
19
|
+
content: EncounterExternalIdUniquenessErrorType.Raw;
|
|
20
|
+
}
|
|
21
|
+
interface EncounterPatientControlNumberUniquenessError {
|
|
22
|
+
errorName: "EncounterPatientControlNumberUniquenessError";
|
|
23
|
+
content: EncounterPatientControlNumberUniquenessErrorType.Raw;
|
|
24
|
+
}
|
|
25
|
+
interface EntityNotFoundError {
|
|
26
|
+
errorName: "EntityNotFoundError";
|
|
27
|
+
content: EntityNotFoundErrorMessage.Raw;
|
|
28
|
+
}
|
|
29
|
+
interface UnauthorizedError {
|
|
30
|
+
errorName: "UnauthorizedError";
|
|
31
|
+
content: UnauthorizedErrorMessage.Raw;
|
|
32
|
+
}
|
|
33
|
+
interface HttpRequestValidationsError {
|
|
34
|
+
errorName: "HttpRequestValidationsError";
|
|
35
|
+
content: RequestValidationError.Raw[];
|
|
36
|
+
}
|
|
37
|
+
interface SchemaInstanceValidationHttpFailure {
|
|
38
|
+
errorName: "SchemaInstanceValidationHttpFailure";
|
|
39
|
+
content: SchemaInstanceValidationFailure.Raw;
|
|
40
|
+
}
|
|
41
|
+
interface HttpRequestValidationError {
|
|
42
|
+
errorName: "HttpRequestValidationError";
|
|
43
|
+
content: RequestValidationError.Raw;
|
|
44
|
+
}
|
|
45
|
+
interface PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError {
|
|
46
|
+
errorName: "PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError";
|
|
47
|
+
content: PayerPlanGroupPayerDoesNotMatchInsuranceCardError.Raw;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
39
|
+
var t = {};
|
|
40
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
41
|
+
t[p] = s[p];
|
|
42
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
43
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
44
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
45
|
+
t[p[i]] = s[p[i]];
|
|
46
|
+
}
|
|
47
|
+
return t;
|
|
48
|
+
};
|
|
49
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50
|
+
exports.Error = void 0;
|
|
51
|
+
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
52
|
+
const core = __importStar(require("../../../../../../core"));
|
|
53
|
+
const EncounterExternalIdUniquenessErrorType_1 = require("../types/EncounterExternalIdUniquenessErrorType");
|
|
54
|
+
const EncounterPatientControlNumberUniquenessErrorType_1 = require("../types/EncounterPatientControlNumberUniquenessErrorType");
|
|
55
|
+
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
56
|
+
const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
|
|
57
|
+
const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
|
|
58
|
+
const SchemaInstanceValidationFailure_1 = require("../types/SchemaInstanceValidationFailure");
|
|
59
|
+
const PayerPlanGroupPayerDoesNotMatchInsuranceCardError_1 = require("../types/PayerPlanGroupPayerDoesNotMatchInsuranceCardError");
|
|
60
|
+
exports.Error = core.serialization
|
|
61
|
+
.union("errorName", {
|
|
62
|
+
EncounterExternalIdUniquenessError: core.serialization.object({
|
|
63
|
+
content: EncounterExternalIdUniquenessErrorType_1.EncounterExternalIdUniquenessErrorType,
|
|
64
|
+
}),
|
|
65
|
+
EncounterPatientControlNumberUniquenessError: core.serialization.object({
|
|
66
|
+
content: EncounterPatientControlNumberUniquenessErrorType_1.EncounterPatientControlNumberUniquenessErrorType,
|
|
67
|
+
}),
|
|
68
|
+
EntityNotFoundError: core.serialization.object({
|
|
69
|
+
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
70
|
+
}),
|
|
71
|
+
UnauthorizedError: core.serialization.object({
|
|
72
|
+
content: UnauthorizedErrorMessage_1.UnauthorizedErrorMessage,
|
|
73
|
+
}),
|
|
74
|
+
HttpRequestValidationsError: core.serialization.object({
|
|
75
|
+
content: core.serialization.list(RequestValidationError_1.RequestValidationError),
|
|
76
|
+
}),
|
|
77
|
+
SchemaInstanceValidationHttpFailure: core.serialization.object({
|
|
78
|
+
content: SchemaInstanceValidationFailure_1.SchemaInstanceValidationFailure,
|
|
79
|
+
}),
|
|
80
|
+
HttpRequestValidationError: core.serialization.object({
|
|
81
|
+
content: RequestValidationError_1.RequestValidationError,
|
|
82
|
+
}),
|
|
83
|
+
PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError: core.serialization.object({
|
|
84
|
+
content: PayerPlanGroupPayerDoesNotMatchInsuranceCardError_1.PayerPlanGroupPayerDoesNotMatchInsuranceCardError,
|
|
85
|
+
}),
|
|
86
|
+
})
|
|
87
|
+
.transform({
|
|
88
|
+
transform: (value) => {
|
|
89
|
+
switch (value.errorName) {
|
|
90
|
+
case "EncounterExternalIdUniquenessError":
|
|
91
|
+
return CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.encounterExternalIdUniquenessError(value.content);
|
|
92
|
+
case "EncounterPatientControlNumberUniquenessError":
|
|
93
|
+
return CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.encounterPatientControlNumberUniquenessError(value.content);
|
|
94
|
+
case "EntityNotFoundError":
|
|
95
|
+
return CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.entityNotFoundError(value.content);
|
|
96
|
+
case "UnauthorizedError":
|
|
97
|
+
return CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.unauthorizedError(value.content);
|
|
98
|
+
case "HttpRequestValidationsError":
|
|
99
|
+
return CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.httpRequestValidationsError(value.content);
|
|
100
|
+
case "SchemaInstanceValidationHttpFailure":
|
|
101
|
+
return CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.schemaInstanceValidationHttpFailure(value.content);
|
|
102
|
+
case "HttpRequestValidationError":
|
|
103
|
+
return CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.httpRequestValidationError(value.content);
|
|
104
|
+
case "PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError":
|
|
105
|
+
return CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.payerPlanGroupPayerDoesNotMatchInsuranceCardHttpError(value.content);
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
untransform: (_a) => {
|
|
109
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
110
|
+
return value;
|
|
111
|
+
},
|
|
112
|
+
});
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { EncounterExternalIdUniquenessErrorType } from "../types/EncounterExternalIdUniquenessErrorType";
|
|
8
|
+
import { EncounterPatientControlNumberUniquenessErrorType } from "../types/EncounterPatientControlNumberUniquenessErrorType";
|
|
9
|
+
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
10
|
+
import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
|
|
11
|
+
import { EncounterGuarantorMissingContactInfoErrorType } from "../types/EncounterGuarantorMissingContactInfoErrorType";
|
|
12
|
+
import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
|
|
13
|
+
import { CashPayPayerErrorMessage } from "../types/CashPayPayerErrorMessage";
|
|
14
|
+
import { SchemaInstanceValidationFailure } from "../types/SchemaInstanceValidationFailure";
|
|
15
|
+
import { InvalidTagNamesErrorType } from "../types/InvalidTagNamesErrorType";
|
|
16
|
+
import { PayerPlanGroupPayerDoesNotMatchInsuranceCardError } from "../types/PayerPlanGroupPayerDoesNotMatchInsuranceCardError";
|
|
17
|
+
import { EncounterRenderingOrAttendingProviderRequiredError } from "../types/EncounterRenderingOrAttendingProviderRequiredError";
|
|
18
|
+
export declare const Error: core.serialization.Schema<serializers.encounters.v4.createUniversal.Error.Raw, CandidApi.encounters.v4.createUniversal.Error>;
|
|
19
|
+
export declare namespace Error {
|
|
20
|
+
type Raw = Error.EncounterExternalIdUniquenessError | Error.EncounterPatientControlNumberUniquenessError | Error.EntityNotFoundError | Error.UnauthorizedError | Error.EncounterGuarantorMissingContactInfoError | Error.HttpRequestValidationsError | Error.CashPayPayerError | Error.SchemaInstanceValidationHttpFailure | Error.InvalidTagNamesError | Error.HttpRequestValidationError | Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError | Error.EncounterRenderingOrAttendingProviderRequired;
|
|
21
|
+
interface EncounterExternalIdUniquenessError {
|
|
22
|
+
errorName: "EncounterExternalIdUniquenessError";
|
|
23
|
+
content: EncounterExternalIdUniquenessErrorType.Raw;
|
|
24
|
+
}
|
|
25
|
+
interface EncounterPatientControlNumberUniquenessError {
|
|
26
|
+
errorName: "EncounterPatientControlNumberUniquenessError";
|
|
27
|
+
content: EncounterPatientControlNumberUniquenessErrorType.Raw;
|
|
28
|
+
}
|
|
29
|
+
interface EntityNotFoundError {
|
|
30
|
+
errorName: "EntityNotFoundError";
|
|
31
|
+
content: EntityNotFoundErrorMessage.Raw;
|
|
32
|
+
}
|
|
33
|
+
interface UnauthorizedError {
|
|
34
|
+
errorName: "UnauthorizedError";
|
|
35
|
+
content: UnauthorizedErrorMessage.Raw;
|
|
36
|
+
}
|
|
37
|
+
interface EncounterGuarantorMissingContactInfoError {
|
|
38
|
+
errorName: "EncounterGuarantorMissingContactInfoError";
|
|
39
|
+
content: EncounterGuarantorMissingContactInfoErrorType.Raw;
|
|
40
|
+
}
|
|
41
|
+
interface HttpRequestValidationsError {
|
|
42
|
+
errorName: "HttpRequestValidationsError";
|
|
43
|
+
content: RequestValidationError.Raw[];
|
|
44
|
+
}
|
|
45
|
+
interface CashPayPayerError {
|
|
46
|
+
errorName: "CashPayPayerError";
|
|
47
|
+
content: CashPayPayerErrorMessage.Raw;
|
|
48
|
+
}
|
|
49
|
+
interface SchemaInstanceValidationHttpFailure {
|
|
50
|
+
errorName: "SchemaInstanceValidationHttpFailure";
|
|
51
|
+
content: SchemaInstanceValidationFailure.Raw;
|
|
52
|
+
}
|
|
53
|
+
interface InvalidTagNamesError {
|
|
54
|
+
errorName: "InvalidTagNamesError";
|
|
55
|
+
content: InvalidTagNamesErrorType.Raw;
|
|
56
|
+
}
|
|
57
|
+
interface HttpRequestValidationError {
|
|
58
|
+
errorName: "HttpRequestValidationError";
|
|
59
|
+
content: RequestValidationError.Raw;
|
|
60
|
+
}
|
|
61
|
+
interface PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError {
|
|
62
|
+
errorName: "PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError";
|
|
63
|
+
content: PayerPlanGroupPayerDoesNotMatchInsuranceCardError.Raw;
|
|
64
|
+
}
|
|
65
|
+
interface EncounterRenderingOrAttendingProviderRequired {
|
|
66
|
+
errorName: "EncounterRenderingOrAttendingProviderRequired";
|
|
67
|
+
content: EncounterRenderingOrAttendingProviderRequiredError.Raw;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
39
|
+
var t = {};
|
|
40
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
41
|
+
t[p] = s[p];
|
|
42
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
43
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
44
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
45
|
+
t[p[i]] = s[p[i]];
|
|
46
|
+
}
|
|
47
|
+
return t;
|
|
48
|
+
};
|
|
49
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
50
|
+
exports.Error = void 0;
|
|
51
|
+
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
52
|
+
const core = __importStar(require("../../../../../../core"));
|
|
53
|
+
const EncounterExternalIdUniquenessErrorType_1 = require("../types/EncounterExternalIdUniquenessErrorType");
|
|
54
|
+
const EncounterPatientControlNumberUniquenessErrorType_1 = require("../types/EncounterPatientControlNumberUniquenessErrorType");
|
|
55
|
+
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
56
|
+
const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
|
|
57
|
+
const EncounterGuarantorMissingContactInfoErrorType_1 = require("../types/EncounterGuarantorMissingContactInfoErrorType");
|
|
58
|
+
const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
|
|
59
|
+
const CashPayPayerErrorMessage_1 = require("../types/CashPayPayerErrorMessage");
|
|
60
|
+
const SchemaInstanceValidationFailure_1 = require("../types/SchemaInstanceValidationFailure");
|
|
61
|
+
const InvalidTagNamesErrorType_1 = require("../types/InvalidTagNamesErrorType");
|
|
62
|
+
const PayerPlanGroupPayerDoesNotMatchInsuranceCardError_1 = require("../types/PayerPlanGroupPayerDoesNotMatchInsuranceCardError");
|
|
63
|
+
const EncounterRenderingOrAttendingProviderRequiredError_1 = require("../types/EncounterRenderingOrAttendingProviderRequiredError");
|
|
64
|
+
exports.Error = core.serialization
|
|
65
|
+
.union("errorName", {
|
|
66
|
+
EncounterExternalIdUniquenessError: core.serialization.object({
|
|
67
|
+
content: EncounterExternalIdUniquenessErrorType_1.EncounterExternalIdUniquenessErrorType,
|
|
68
|
+
}),
|
|
69
|
+
EncounterPatientControlNumberUniquenessError: core.serialization.object({
|
|
70
|
+
content: EncounterPatientControlNumberUniquenessErrorType_1.EncounterPatientControlNumberUniquenessErrorType,
|
|
71
|
+
}),
|
|
72
|
+
EntityNotFoundError: core.serialization.object({
|
|
73
|
+
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
74
|
+
}),
|
|
75
|
+
UnauthorizedError: core.serialization.object({
|
|
76
|
+
content: UnauthorizedErrorMessage_1.UnauthorizedErrorMessage,
|
|
77
|
+
}),
|
|
78
|
+
EncounterGuarantorMissingContactInfoError: core.serialization.object({
|
|
79
|
+
content: EncounterGuarantorMissingContactInfoErrorType_1.EncounterGuarantorMissingContactInfoErrorType,
|
|
80
|
+
}),
|
|
81
|
+
HttpRequestValidationsError: core.serialization.object({
|
|
82
|
+
content: core.serialization.list(RequestValidationError_1.RequestValidationError),
|
|
83
|
+
}),
|
|
84
|
+
CashPayPayerError: core.serialization.object({
|
|
85
|
+
content: CashPayPayerErrorMessage_1.CashPayPayerErrorMessage,
|
|
86
|
+
}),
|
|
87
|
+
SchemaInstanceValidationHttpFailure: core.serialization.object({
|
|
88
|
+
content: SchemaInstanceValidationFailure_1.SchemaInstanceValidationFailure,
|
|
89
|
+
}),
|
|
90
|
+
InvalidTagNamesError: core.serialization.object({
|
|
91
|
+
content: InvalidTagNamesErrorType_1.InvalidTagNamesErrorType,
|
|
92
|
+
}),
|
|
93
|
+
HttpRequestValidationError: core.serialization.object({
|
|
94
|
+
content: RequestValidationError_1.RequestValidationError,
|
|
95
|
+
}),
|
|
96
|
+
PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError: core.serialization.object({
|
|
97
|
+
content: PayerPlanGroupPayerDoesNotMatchInsuranceCardError_1.PayerPlanGroupPayerDoesNotMatchInsuranceCardError,
|
|
98
|
+
}),
|
|
99
|
+
EncounterRenderingOrAttendingProviderRequired: core.serialization.object({
|
|
100
|
+
content: EncounterRenderingOrAttendingProviderRequiredError_1.EncounterRenderingOrAttendingProviderRequiredError,
|
|
101
|
+
}),
|
|
102
|
+
})
|
|
103
|
+
.transform({
|
|
104
|
+
transform: (value) => {
|
|
105
|
+
switch (value.errorName) {
|
|
106
|
+
case "EncounterExternalIdUniquenessError":
|
|
107
|
+
return CandidApi.encounters.v4.createUniversal.Error.encounterExternalIdUniquenessError(value.content);
|
|
108
|
+
case "EncounterPatientControlNumberUniquenessError":
|
|
109
|
+
return CandidApi.encounters.v4.createUniversal.Error.encounterPatientControlNumberUniquenessError(value.content);
|
|
110
|
+
case "EntityNotFoundError":
|
|
111
|
+
return CandidApi.encounters.v4.createUniversal.Error.entityNotFoundError(value.content);
|
|
112
|
+
case "UnauthorizedError":
|
|
113
|
+
return CandidApi.encounters.v4.createUniversal.Error.unauthorizedError(value.content);
|
|
114
|
+
case "EncounterGuarantorMissingContactInfoError":
|
|
115
|
+
return CandidApi.encounters.v4.createUniversal.Error.encounterGuarantorMissingContactInfoError(value.content);
|
|
116
|
+
case "HttpRequestValidationsError":
|
|
117
|
+
return CandidApi.encounters.v4.createUniversal.Error.httpRequestValidationsError(value.content);
|
|
118
|
+
case "CashPayPayerError":
|
|
119
|
+
return CandidApi.encounters.v4.createUniversal.Error.cashPayPayerError(value.content);
|
|
120
|
+
case "SchemaInstanceValidationHttpFailure":
|
|
121
|
+
return CandidApi.encounters.v4.createUniversal.Error.schemaInstanceValidationHttpFailure(value.content);
|
|
122
|
+
case "InvalidTagNamesError":
|
|
123
|
+
return CandidApi.encounters.v4.createUniversal.Error.invalidTagNamesError(value.content);
|
|
124
|
+
case "HttpRequestValidationError":
|
|
125
|
+
return CandidApi.encounters.v4.createUniversal.Error.httpRequestValidationError(value.content);
|
|
126
|
+
case "PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError":
|
|
127
|
+
return CandidApi.encounters.v4.createUniversal.Error.payerPlanGroupPayerDoesNotMatchInsuranceCardHttpError(value.content);
|
|
128
|
+
case "EncounterRenderingOrAttendingProviderRequired":
|
|
129
|
+
return CandidApi.encounters.v4.createUniversal.Error.encounterRenderingOrAttendingProviderRequired(value.content);
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
untransform: (_a) => {
|
|
133
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
134
|
+
return value;
|
|
135
|
+
},
|
|
136
|
+
});
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
export * as createUniversal from "./createUniversal";
|
|
1
2
|
export * as create from "./create";
|
|
3
|
+
export * as createFromPreEncounterPatientUniversal from "./createFromPreEncounterPatientUniversal";
|
|
2
4
|
export * as createFromPreEncounterPatient from "./createFromPreEncounterPatient";
|
|
5
|
+
export * as updateUniversal from "./updateUniversal";
|
|
3
6
|
export * as update from "./update";
|
|
4
|
-
export * from "./requests";
|
|
@@ -32,12 +32,11 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
32
32
|
return result;
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
36
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
|
-
};
|
|
38
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.update = exports.createFromPreEncounterPatient = exports.create = void 0;
|
|
36
|
+
exports.update = exports.updateUniversal = exports.createFromPreEncounterPatient = exports.createFromPreEncounterPatientUniversal = exports.create = exports.createUniversal = void 0;
|
|
37
|
+
exports.createUniversal = __importStar(require("./createUniversal"));
|
|
40
38
|
exports.create = __importStar(require("./create"));
|
|
39
|
+
exports.createFromPreEncounterPatientUniversal = __importStar(require("./createFromPreEncounterPatientUniversal"));
|
|
41
40
|
exports.createFromPreEncounterPatient = __importStar(require("./createFromPreEncounterPatient"));
|
|
41
|
+
exports.updateUniversal = __importStar(require("./updateUniversal"));
|
|
42
42
|
exports.update = __importStar(require("./update"));
|
|
43
|
-
__exportStar(require("./requests"), exports);
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { EncounterExternalIdUniquenessErrorType } from "../types/EncounterExternalIdUniquenessErrorType";
|
|
8
|
+
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
9
|
+
import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
|
|
10
|
+
import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
|
|
11
|
+
import { SchemaInstanceValidationFailure } from "../types/SchemaInstanceValidationFailure";
|
|
12
|
+
import { UnprocessableEntityErrorMessage } from "../../../../commons/types/UnprocessableEntityErrorMessage";
|
|
13
|
+
import { InvalidTagNamesErrorType } from "../types/InvalidTagNamesErrorType";
|
|
14
|
+
import { PayerPlanGroupPayerDoesNotMatchInsuranceCardError } from "../types/PayerPlanGroupPayerDoesNotMatchInsuranceCardError";
|
|
15
|
+
export declare const Error: core.serialization.Schema<serializers.encounters.v4.updateUniversal.Error.Raw, CandidApi.encounters.v4.updateUniversal.Error>;
|
|
16
|
+
export declare namespace Error {
|
|
17
|
+
type Raw = Error.EncounterExternalIdUniquenessError | Error.EntityNotFoundError | Error.UnauthorizedError | Error.HttpRequestValidationsError | Error.SchemaInstanceValidationHttpFailure | Error.UnprocessableEntityError | Error.InvalidTagNamesError | Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError;
|
|
18
|
+
interface EncounterExternalIdUniquenessError {
|
|
19
|
+
errorName: "EncounterExternalIdUniquenessError";
|
|
20
|
+
content: EncounterExternalIdUniquenessErrorType.Raw;
|
|
21
|
+
}
|
|
22
|
+
interface EntityNotFoundError {
|
|
23
|
+
errorName: "EntityNotFoundError";
|
|
24
|
+
content: EntityNotFoundErrorMessage.Raw;
|
|
25
|
+
}
|
|
26
|
+
interface UnauthorizedError {
|
|
27
|
+
errorName: "UnauthorizedError";
|
|
28
|
+
content: UnauthorizedErrorMessage.Raw;
|
|
29
|
+
}
|
|
30
|
+
interface HttpRequestValidationsError {
|
|
31
|
+
errorName: "HttpRequestValidationsError";
|
|
32
|
+
content: RequestValidationError.Raw[];
|
|
33
|
+
}
|
|
34
|
+
interface SchemaInstanceValidationHttpFailure {
|
|
35
|
+
errorName: "SchemaInstanceValidationHttpFailure";
|
|
36
|
+
content: SchemaInstanceValidationFailure.Raw;
|
|
37
|
+
}
|
|
38
|
+
interface UnprocessableEntityError {
|
|
39
|
+
errorName: "UnprocessableEntityError";
|
|
40
|
+
content: UnprocessableEntityErrorMessage.Raw;
|
|
41
|
+
}
|
|
42
|
+
interface InvalidTagNamesError {
|
|
43
|
+
errorName: "InvalidTagNamesError";
|
|
44
|
+
content: InvalidTagNamesErrorType.Raw;
|
|
45
|
+
}
|
|
46
|
+
interface PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError {
|
|
47
|
+
errorName: "PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError";
|
|
48
|
+
content: PayerPlanGroupPayerDoesNotMatchInsuranceCardError.Raw;
|
|
49
|
+
}
|
|
50
|
+
}
|