candidhealth 1.13.0 → 1.14.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/Client.d.ts +0 -6
- package/Client.js +38 -48
- package/api/resources/commons/types/ProcedureModifier.d.ts +3 -0
- package/api/resources/commons/types/ProcedureModifier.js +3 -0
- package/api/resources/commons/types/index.d.ts +0 -2
- package/api/resources/commons/types/index.js +0 -2
- package/api/resources/encounters/resources/v4/client/Client.d.ts +97 -0
- package/api/resources/encounters/resources/v4/client/Client.js +312 -0
- package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +67 -0
- package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +143 -0
- package/api/resources/encounters/resources/v4/client/createUniversal.d.ts +91 -0
- package/api/resources/encounters/resources/v4/client/createUniversal.js +187 -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/updateUniversal.d.ts +67 -0
- package/api/resources/encounters/resources/v4/client/updateUniversal.js +143 -0
- package/api/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +46 -0
- package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +44 -0
- package/api/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +36 -0
- package/api/resources/encountersUniversal/types/index.d.ts +3 -0
- package/api/resources/encountersUniversal/types/index.js +3 -0
- package/api/resources/era/types/index.d.ts +0 -1
- package/api/resources/era/types/index.js +0 -1
- package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +8 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +8 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +8 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +9 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +27 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +15 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +9 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +9 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +15 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +8 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +9 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +15 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +8 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +9 -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/index.d.ts +0 -5
- package/api/resources/index.js +2 -7
- package/api/resources/serviceFacility/index.d.ts +0 -1
- package/api/resources/serviceFacility/index.js +0 -1
- package/api/resources/serviceLines/resources/v2/client/Client.js +1 -0
- package/api/resources/serviceLines/resources/v2/client/delete.d.ts +7 -1
- package/api/resources/serviceLines/resources/v2/client/delete.js +11 -0
- package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +8 -0
- package/api/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
- package/api/resources/serviceLines/resources/v2/types/index.js +1 -0
- package/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +27 -0
- package/api/resources/x12/resources/v1/types/index.d.ts +1 -4
- package/api/resources/x12/resources/v1/types/index.js +1 -4
- package/dist/Client.d.ts +0 -6
- package/dist/Client.js +38 -48
- package/dist/api/resources/commons/types/ProcedureModifier.d.ts +3 -0
- package/dist/api/resources/commons/types/ProcedureModifier.js +3 -0
- package/dist/api/resources/commons/types/index.d.ts +0 -2
- package/dist/api/resources/commons/types/index.js +0 -2
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +97 -0
- package/dist/api/resources/encounters/resources/v4/client/Client.js +312 -0
- package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +67 -0
- package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +143 -0
- package/dist/api/resources/encounters/resources/v4/client/createUniversal.d.ts +91 -0
- package/dist/api/resources/encounters/resources/v4/client/createUniversal.js +187 -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/updateUniversal.d.ts +67 -0
- package/dist/api/resources/encounters/resources/v4/client/updateUniversal.js +143 -0
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +46 -0
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +44 -0
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +36 -0
- package/dist/api/resources/encountersUniversal/types/index.d.ts +3 -0
- package/dist/api/resources/encountersUniversal/types/index.js +3 -0
- package/dist/api/resources/era/types/index.d.ts +0 -1
- package/dist/api/resources/era/types/index.js +0 -1
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +8 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +3 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +8 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +3 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +8 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +3 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +9 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +3 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +27 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +3 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +15 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +3 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +9 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +3 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +9 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +3 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +15 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +3 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +8 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +3 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +9 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +3 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +15 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +3 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +8 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +3 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +9 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +3 -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/index.d.ts +0 -5
- package/dist/api/resources/index.js +2 -7
- package/dist/api/resources/serviceFacility/index.d.ts +0 -1
- package/dist/api/resources/serviceFacility/index.js +0 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +1 -0
- package/dist/api/resources/serviceLines/resources/v2/client/delete.d.ts +7 -1
- package/dist/api/resources/serviceLines/resources/v2/client/delete.js +11 -0
- package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +8 -0
- package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +3 -0
- package/dist/api/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
- package/dist/api/resources/serviceLines/resources/v2/types/index.js +1 -0
- package/dist/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +27 -0
- package/dist/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js +3 -0
- package/dist/api/resources/x12/resources/v1/types/index.d.ts +1 -4
- package/dist/api/resources/x12/resources/v1/types/index.js +1 -4
- package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
- package/dist/serialization/resources/commons/types/ProcedureModifier.js +1 -0
- package/dist/serialization/resources/commons/types/index.d.ts +0 -2
- package/dist/serialization/resources/commons/types/index.js +0 -2
- package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +46 -0
- package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +110 -0
- package/dist/serialization/resources/encounters/resources/v4/client/createUniversal.d.ts +66 -0
- package/dist/serialization/resources/encounters/resources/v4/client/createUniversal.js +134 -0
- package/dist/serialization/resources/encounters/resources/v4/client/index.d.ts +3 -0
- package/dist/serialization/resources/encounters/resources/v4/client/index.js +4 -1
- package/dist/serialization/resources/encounters/resources/v4/client/updateUniversal.d.ts +47 -0
- package/dist/serialization/resources/encounters/resources/v4/client/updateUniversal.js +111 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +36 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.js +70 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +34 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +68 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +29 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.js +63 -0
- package/dist/serialization/resources/encountersUniversal/types/index.d.ts +3 -0
- package/dist/serialization/resources/encountersUniversal/types/index.js +3 -0
- package/dist/serialization/resources/era/types/index.d.ts +0 -1
- package/dist/serialization/resources/era/types/index.js +0 -1
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +13 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +47 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +13 -0
- package/dist/serialization/resources/{insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.js → healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js} +10 -6
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +13 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +47 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +15 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +49 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +34 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +66 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +15 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +49 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +15 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +49 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +15 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +49 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +15 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +49 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +13 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +47 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +15 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +49 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +15 -0
- package/dist/serialization/resources/{x12/resources/v1/types/RemittanceAdviceRemarkCode.js → healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js} +12 -5
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +13 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +47 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +15 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +49 -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 +0 -5
- package/dist/serialization/resources/index.js +2 -7
- package/dist/serialization/resources/serviceLines/resources/v2/client/delete.d.ts +6 -1
- package/dist/serialization/resources/serviceLines/resources/v2/client/delete.js +6 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +12 -0
- package/dist/serialization/resources/{remitDrafts/resources/v1/types/RemitDraftId.js → serviceLines/resources/v2/types/UniversalServiceLineCreate.js} +9 -6
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.js +1 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +15 -0
- package/{serialization/resources/remits/resources/v1/types/PayeeIdentifier.js → dist/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js} +5 -11
- package/dist/serialization/resources/x12/resources/v1/types/index.d.ts +1 -4
- package/dist/serialization/resources/x12/resources/v1/types/index.js +1 -4
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +236 -353
- package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
- package/serialization/resources/commons/types/ProcedureModifier.js +1 -0
- package/serialization/resources/commons/types/index.d.ts +0 -2
- package/serialization/resources/commons/types/index.js +0 -2
- package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +46 -0
- package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +110 -0
- package/serialization/resources/encounters/resources/v4/client/createUniversal.d.ts +66 -0
- package/serialization/resources/encounters/resources/v4/client/createUniversal.js +134 -0
- package/serialization/resources/encounters/resources/v4/client/index.d.ts +3 -0
- package/serialization/resources/encounters/resources/v4/client/index.js +4 -1
- package/serialization/resources/encounters/resources/v4/client/updateUniversal.d.ts +47 -0
- package/serialization/resources/encounters/resources/v4/client/updateUniversal.js +111 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +36 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.js +70 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +34 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +68 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +29 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.js +63 -0
- package/serialization/resources/encountersUniversal/types/index.d.ts +3 -0
- package/serialization/resources/encountersUniversal/types/index.js +3 -0
- package/serialization/resources/era/types/index.d.ts +0 -1
- package/serialization/resources/era/types/index.js +0 -1
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +13 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +47 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +13 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +47 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +13 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +47 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +15 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +49 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +34 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +66 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +15 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +49 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +15 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +49 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +15 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +49 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +15 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +49 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +13 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +47 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +15 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +49 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +15 -0
- package/serialization/resources/{x12/resources/v1/types/RemittanceAdviceRemarkCode.js → healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js} +12 -5
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +13 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +47 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +15 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +49 -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 +0 -5
- package/serialization/resources/index.js +2 -7
- package/serialization/resources/serviceLines/resources/v2/client/delete.d.ts +6 -1
- package/serialization/resources/serviceLines/resources/v2/client/delete.js +6 -0
- package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +12 -0
- package/{dist/serialization/resources/remits/resources/v1/types/Payee.js → serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js} +9 -6
- package/serialization/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/index.js +1 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +15 -0
- package/{dist/serialization/resources/remits/resources/v1/types/PayeeIdentifier.js → serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js} +5 -11
- package/serialization/resources/x12/resources/v1/types/index.d.ts +1 -4
- package/serialization/resources/x12/resources/v1/types/index.js +1 -4
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +0 -13
- package/api/resources/commons/types/ClaimAdjustmentGroupCodes.js +0 -16
- package/api/resources/commons/types/TaxId.d.ts +0 -5
- package/api/resources/commons/types/TaxId.js +0 -7
- package/api/resources/era/types/EraNotFullyProcessedErrorMessage.d.ts +0 -5
- package/api/resources/eraCommons/index.d.ts +0 -1
- package/api/resources/eraCommons/index.js +0 -17
- package/api/resources/eraCommons/types/ClaimStatusCodeCreate.d.ts +0 -13
- package/api/resources/eraCommons/types/ClaimStatusCodeCreate.js +0 -16
- package/api/resources/eraCommons/types/index.d.ts +0 -1
- package/api/resources/eraCommons/types/index.js +0 -17
- package/api/resources/insuranceAdjudications/client/Client.d.ts +0 -14
- package/api/resources/insuranceAdjudications/client/Client.js +0 -15
- package/api/resources/insuranceAdjudications/client/index.d.ts +0 -1
- package/api/resources/insuranceAdjudications/client/index.js +0 -2
- package/api/resources/insuranceAdjudications/index.d.ts +0 -2
- package/api/resources/insuranceAdjudications/index.js +0 -18
- package/api/resources/insuranceAdjudications/resources/index.d.ts +0 -1
- package/api/resources/insuranceAdjudications/resources/index.js +0 -37
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +0 -153
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +0 -342
- package/api/resources/insuranceAdjudications/resources/v1/client/create.d.ts +0 -25
- package/api/resources/insuranceAdjudications/resources/v1/client/create.js +0 -66
- package/api/resources/insuranceAdjudications/resources/v1/client/delete.d.ts +0 -19
- package/api/resources/insuranceAdjudications/resources/v1/client/delete.js +0 -55
- package/api/resources/insuranceAdjudications/resources/v1/client/get.d.ts +0 -19
- package/api/resources/insuranceAdjudications/resources/v1/client/get.js +0 -55
- package/api/resources/insuranceAdjudications/resources/v1/client/index.d.ts +0 -3
- package/api/resources/insuranceAdjudications/resources/v1/client/index.js +0 -39
- package/api/resources/insuranceAdjudications/resources/v1/index.d.ts +0 -2
- package/api/resources/insuranceAdjudications/resources/v1/index.js +0 -18
- package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +0 -10
- package/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +0 -9
- package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -10
- package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +0 -12
- package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.d.ts +0 -5
- package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.js +0 -7
- package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +0 -13
- package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +0 -12
- package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.d.ts +0 -5
- package/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.js +0 -7
- package/api/resources/insuranceAdjudications/resources/v1/types/index.d.ts +0 -8
- package/api/resources/insuranceAdjudications/resources/v1/types/index.js +0 -24
- package/api/resources/remitDrafts/index.d.ts +0 -1
- package/api/resources/remitDrafts/index.js +0 -17
- package/api/resources/remitDrafts/resources/index.d.ts +0 -1
- package/api/resources/remitDrafts/resources/index.js +0 -37
- package/api/resources/remitDrafts/resources/v1/index.d.ts +0 -1
- package/api/resources/remitDrafts/resources/v1/index.js +0 -17
- package/api/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +0 -5
- package/api/resources/remitDrafts/resources/v1/types/RemitDraftId.js +0 -7
- package/api/resources/remitDrafts/resources/v1/types/index.d.ts +0 -1
- package/api/resources/remitDrafts/resources/v1/types/index.js +0 -17
- package/api/resources/remits/index.d.ts +0 -1
- package/api/resources/remits/index.js +0 -17
- package/api/resources/remits/resources/index.d.ts +0 -1
- package/api/resources/remits/resources/index.js +0 -37
- package/api/resources/remits/resources/v1/index.d.ts +0 -1
- package/api/resources/remits/resources/v1/index.js +0 -17
- package/api/resources/remits/resources/v1/types/Payee.d.ts +0 -5
- package/api/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +0 -16
- package/api/resources/remits/resources/v1/types/index.d.ts +0 -2
- package/api/resources/remits/resources/v1/types/index.js +0 -18
- package/api/resources/serviceFacility/client/Client.d.ts +0 -25
- package/api/resources/serviceFacility/client/Client.js +0 -119
- package/api/resources/serviceFacility/client/index.d.ts +0 -1
- package/api/resources/serviceFacility/client/index.js +0 -37
- package/api/resources/serviceFacility/client/update.d.ts +0 -19
- package/api/resources/serviceFacility/client/update.js +0 -55
- package/api/resources/x12/resources/v1/types/Carc.d.ts +0 -407
- package/api/resources/x12/resources/v1/types/Carc.js +0 -410
- package/api/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +0 -6
- package/api/resources/x12/resources/v1/types/Rarc.d.ts +0 -1190
- package/api/resources/x12/resources/v1/types/Rarc.js +0 -1193
- package/api/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +0 -4
- package/dist/api/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +0 -13
- package/dist/api/resources/commons/types/ClaimAdjustmentGroupCodes.js +0 -16
- package/dist/api/resources/commons/types/TaxId.d.ts +0 -5
- package/dist/api/resources/commons/types/TaxId.js +0 -7
- package/dist/api/resources/era/types/EraNotFullyProcessedErrorMessage.d.ts +0 -5
- package/dist/api/resources/eraCommons/index.d.ts +0 -1
- package/dist/api/resources/eraCommons/index.js +0 -17
- package/dist/api/resources/eraCommons/types/ClaimStatusCodeCreate.d.ts +0 -13
- package/dist/api/resources/eraCommons/types/ClaimStatusCodeCreate.js +0 -16
- package/dist/api/resources/eraCommons/types/index.d.ts +0 -1
- package/dist/api/resources/eraCommons/types/index.js +0 -17
- package/dist/api/resources/insuranceAdjudications/client/Client.d.ts +0 -14
- package/dist/api/resources/insuranceAdjudications/client/Client.js +0 -15
- package/dist/api/resources/insuranceAdjudications/client/index.d.ts +0 -1
- package/dist/api/resources/insuranceAdjudications/client/index.js +0 -2
- package/dist/api/resources/insuranceAdjudications/index.d.ts +0 -2
- package/dist/api/resources/insuranceAdjudications/index.js +0 -18
- package/dist/api/resources/insuranceAdjudications/resources/index.d.ts +0 -1
- package/dist/api/resources/insuranceAdjudications/resources/index.js +0 -37
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +0 -153
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +0 -342
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/create.d.ts +0 -25
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/create.js +0 -66
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/delete.d.ts +0 -19
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/delete.js +0 -55
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/get.d.ts +0 -19
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/get.js +0 -55
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/index.d.ts +0 -3
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/index.js +0 -39
- package/dist/api/resources/insuranceAdjudications/resources/v1/index.d.ts +0 -2
- package/dist/api/resources/insuranceAdjudications/resources/v1/index.js +0 -18
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +0 -10
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +0 -9
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -10
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +0 -12
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.d.ts +0 -5
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.js +0 -7
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +0 -13
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +0 -12
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.d.ts +0 -5
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.js +0 -7
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/index.d.ts +0 -8
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/index.js +0 -24
- package/dist/api/resources/remitDrafts/index.d.ts +0 -1
- package/dist/api/resources/remitDrafts/index.js +0 -17
- package/dist/api/resources/remitDrafts/resources/index.d.ts +0 -1
- package/dist/api/resources/remitDrafts/resources/index.js +0 -37
- package/dist/api/resources/remitDrafts/resources/v1/index.d.ts +0 -1
- package/dist/api/resources/remitDrafts/resources/v1/index.js +0 -17
- package/dist/api/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +0 -5
- package/dist/api/resources/remitDrafts/resources/v1/types/RemitDraftId.js +0 -7
- package/dist/api/resources/remitDrafts/resources/v1/types/index.d.ts +0 -1
- package/dist/api/resources/remitDrafts/resources/v1/types/index.js +0 -17
- package/dist/api/resources/remits/index.d.ts +0 -1
- package/dist/api/resources/remits/index.js +0 -17
- package/dist/api/resources/remits/resources/index.d.ts +0 -1
- package/dist/api/resources/remits/resources/index.js +0 -37
- package/dist/api/resources/remits/resources/v1/index.d.ts +0 -1
- package/dist/api/resources/remits/resources/v1/index.js +0 -17
- package/dist/api/resources/remits/resources/v1/types/Payee.d.ts +0 -5
- package/dist/api/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +0 -16
- package/dist/api/resources/remits/resources/v1/types/index.d.ts +0 -2
- package/dist/api/resources/remits/resources/v1/types/index.js +0 -18
- package/dist/api/resources/serviceFacility/client/Client.d.ts +0 -25
- package/dist/api/resources/serviceFacility/client/Client.js +0 -119
- package/dist/api/resources/serviceFacility/client/index.d.ts +0 -1
- package/dist/api/resources/serviceFacility/client/index.js +0 -37
- package/dist/api/resources/serviceFacility/client/update.d.ts +0 -19
- package/dist/api/resources/serviceFacility/client/update.js +0 -55
- package/dist/api/resources/x12/resources/v1/types/Carc.d.ts +0 -407
- package/dist/api/resources/x12/resources/v1/types/Carc.js +0 -410
- package/dist/api/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +0 -6
- package/dist/api/resources/x12/resources/v1/types/Rarc.d.ts +0 -1190
- package/dist/api/resources/x12/resources/v1/types/Rarc.js +0 -1193
- package/dist/api/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +0 -4
- package/dist/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +0 -7
- package/dist/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.js +0 -39
- package/dist/serialization/resources/commons/types/TaxId.d.ts +0 -7
- package/dist/serialization/resources/commons/types/TaxId.js +0 -45
- package/dist/serialization/resources/era/types/EraNotFullyProcessedErrorMessage.d.ts +0 -11
- package/dist/serialization/resources/era/types/EraNotFullyProcessedErrorMessage.js +0 -43
- package/dist/serialization/resources/eraCommons/index.d.ts +0 -1
- package/dist/serialization/resources/eraCommons/index.js +0 -17
- package/dist/serialization/resources/eraCommons/types/ClaimStatusCodeCreate.d.ts +0 -7
- package/dist/serialization/resources/eraCommons/types/ClaimStatusCodeCreate.js +0 -39
- package/dist/serialization/resources/eraCommons/types/index.d.ts +0 -1
- package/dist/serialization/resources/eraCommons/types/index.js +0 -17
- package/dist/serialization/resources/insuranceAdjudications/index.d.ts +0 -1
- package/dist/serialization/resources/insuranceAdjudications/index.js +0 -17
- package/dist/serialization/resources/insuranceAdjudications/resources/index.d.ts +0 -1
- package/dist/serialization/resources/insuranceAdjudications/resources/index.js +0 -37
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/client/create.d.ts +0 -12
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/client/create.js +0 -69
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/client/index.d.ts +0 -1
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/client/index.js +0 -37
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/index.d.ts +0 -2
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/index.js +0 -18
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +0 -19
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +0 -51
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +0 -18
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +0 -50
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -19
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +0 -51
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +0 -22
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +0 -54
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.d.ts +0 -7
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.js +0 -43
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +0 -21
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +0 -53
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +0 -19
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.js +0 -51
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.d.ts +0 -7
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/index.d.ts +0 -8
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/index.js +0 -24
- package/dist/serialization/resources/remitDrafts/index.d.ts +0 -1
- package/dist/serialization/resources/remitDrafts/index.js +0 -17
- package/dist/serialization/resources/remitDrafts/resources/index.d.ts +0 -1
- package/dist/serialization/resources/remitDrafts/resources/index.js +0 -37
- package/dist/serialization/resources/remitDrafts/resources/v1/index.d.ts +0 -1
- package/dist/serialization/resources/remitDrafts/resources/v1/index.js +0 -17
- package/dist/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +0 -7
- package/dist/serialization/resources/remitDrafts/resources/v1/types/index.d.ts +0 -1
- package/dist/serialization/resources/remitDrafts/resources/v1/types/index.js +0 -17
- package/dist/serialization/resources/remits/index.d.ts +0 -1
- package/dist/serialization/resources/remits/index.js +0 -17
- package/dist/serialization/resources/remits/resources/index.d.ts +0 -1
- package/dist/serialization/resources/remits/resources/index.js +0 -37
- package/dist/serialization/resources/remits/resources/v1/index.d.ts +0 -1
- package/dist/serialization/resources/remits/resources/v1/index.js +0 -17
- package/dist/serialization/resources/remits/resources/v1/types/Payee.d.ts +0 -11
- package/dist/serialization/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +0 -21
- package/dist/serialization/resources/remits/resources/v1/types/index.d.ts +0 -2
- package/dist/serialization/resources/remits/resources/v1/types/index.js +0 -18
- package/dist/serialization/resources/x12/resources/v1/types/Carc.d.ts +0 -7
- package/dist/serialization/resources/x12/resources/v1/types/Carc.js +0 -444
- package/dist/serialization/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +0 -13
- package/dist/serialization/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.js +0 -45
- package/dist/serialization/resources/x12/resources/v1/types/Rarc.d.ts +0 -7
- package/dist/serialization/resources/x12/resources/v1/types/Rarc.js +0 -1227
- package/dist/serialization/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +0 -10
- package/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.d.ts +0 -7
- package/serialization/resources/commons/types/ClaimAdjustmentGroupCodes.js +0 -39
- package/serialization/resources/commons/types/TaxId.d.ts +0 -7
- package/serialization/resources/commons/types/TaxId.js +0 -45
- package/serialization/resources/era/types/EraNotFullyProcessedErrorMessage.d.ts +0 -11
- package/serialization/resources/era/types/EraNotFullyProcessedErrorMessage.js +0 -43
- package/serialization/resources/eraCommons/index.d.ts +0 -1
- package/serialization/resources/eraCommons/index.js +0 -17
- package/serialization/resources/eraCommons/types/ClaimStatusCodeCreate.d.ts +0 -7
- package/serialization/resources/eraCommons/types/ClaimStatusCodeCreate.js +0 -39
- package/serialization/resources/eraCommons/types/index.d.ts +0 -1
- package/serialization/resources/eraCommons/types/index.js +0 -17
- package/serialization/resources/insuranceAdjudications/index.d.ts +0 -1
- package/serialization/resources/insuranceAdjudications/index.js +0 -17
- package/serialization/resources/insuranceAdjudications/resources/index.d.ts +0 -1
- package/serialization/resources/insuranceAdjudications/resources/index.js +0 -37
- package/serialization/resources/insuranceAdjudications/resources/v1/client/create.d.ts +0 -12
- package/serialization/resources/insuranceAdjudications/resources/v1/client/create.js +0 -69
- package/serialization/resources/insuranceAdjudications/resources/v1/client/index.d.ts +0 -1
- package/serialization/resources/insuranceAdjudications/resources/v1/client/index.js +0 -37
- package/serialization/resources/insuranceAdjudications/resources/v1/index.d.ts +0 -2
- package/serialization/resources/insuranceAdjudications/resources/v1/index.js +0 -18
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.d.ts +0 -19
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js +0 -51
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.d.ts +0 -18
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js +0 -50
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.d.ts +0 -19
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js +0 -51
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +0 -22
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +0 -54
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.d.ts +0 -7
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationId.js +0 -43
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.d.ts +0 -21
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js +0 -53
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.d.ts +0 -19
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.js +0 -51
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.d.ts +0 -7
- package/serialization/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationId.js +0 -43
- package/serialization/resources/insuranceAdjudications/resources/v1/types/index.d.ts +0 -8
- package/serialization/resources/insuranceAdjudications/resources/v1/types/index.js +0 -24
- package/serialization/resources/remitDrafts/index.d.ts +0 -1
- package/serialization/resources/remitDrafts/index.js +0 -17
- package/serialization/resources/remitDrafts/resources/index.d.ts +0 -1
- package/serialization/resources/remitDrafts/resources/index.js +0 -37
- package/serialization/resources/remitDrafts/resources/v1/index.d.ts +0 -1
- package/serialization/resources/remitDrafts/resources/v1/index.js +0 -17
- package/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.d.ts +0 -7
- package/serialization/resources/remitDrafts/resources/v1/types/RemitDraftId.js +0 -43
- package/serialization/resources/remitDrafts/resources/v1/types/index.d.ts +0 -1
- package/serialization/resources/remitDrafts/resources/v1/types/index.js +0 -17
- package/serialization/resources/remits/index.d.ts +0 -1
- package/serialization/resources/remits/index.js +0 -17
- package/serialization/resources/remits/resources/index.d.ts +0 -1
- package/serialization/resources/remits/resources/index.js +0 -37
- package/serialization/resources/remits/resources/v1/index.d.ts +0 -1
- package/serialization/resources/remits/resources/v1/index.js +0 -17
- package/serialization/resources/remits/resources/v1/types/Payee.d.ts +0 -11
- package/serialization/resources/remits/resources/v1/types/Payee.js +0 -43
- package/serialization/resources/remits/resources/v1/types/PayeeIdentifier.d.ts +0 -21
- package/serialization/resources/remits/resources/v1/types/index.d.ts +0 -2
- package/serialization/resources/remits/resources/v1/types/index.js +0 -18
- package/serialization/resources/x12/resources/v1/types/Carc.d.ts +0 -7
- package/serialization/resources/x12/resources/v1/types/Carc.js +0 -444
- package/serialization/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.d.ts +0 -13
- package/serialization/resources/x12/resources/v1/types/ClaimAdjustmentReasonCode.js +0 -45
- package/serialization/resources/x12/resources/v1/types/Rarc.d.ts +0 -7
- package/serialization/resources/x12/resources/v1/types/Rarc.js +0 -1227
- package/serialization/resources/x12/resources/v1/types/RemittanceAdviceRemarkCode.d.ts +0 -10
- /package/api/resources/{era/types/EraNotFullyProcessedErrorMessage.js → encountersUniversal/types/UniversalEncounterCreate.js} +0 -0
- /package/api/resources/{insuranceAdjudications/resources/v1/types/ClaimAdjudication.js → encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js} +0 -0
- /package/api/resources/{insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js → encountersUniversal/types/UniversalEncounterUpdate.js} +0 -0
- /package/api/resources/{insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js → healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js} +0 -0
- /package/api/resources/{insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js → healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js} +0 -0
- /package/api/resources/{insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js → healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js} +0 -0
- /package/api/resources/{insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.js → healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js} +0 -0
- /package/api/resources/{remits/resources/v1/types/Payee.js → healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js} +0 -0
- /package/api/resources/{remits/resources/v1/types/PayeeIdentifier.js → healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js} +0 -0
- /package/api/resources/{x12/resources/v1/types/ClaimAdjustmentReasonCode.js → healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js} +0 -0
- /package/api/resources/{x12/resources/v1/types/RemittanceAdviceRemarkCode.js → healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js} +0 -0
- /package/{dist/api/resources/era/types/EraNotFullyProcessedErrorMessage.js → api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js} +0 -0
- /package/{dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudication.js → api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js} +0 -0
- /package/{dist/api/resources/insuranceAdjudications/resources/v1/types/ClaimAdjudicationCreate.js → api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js} +0 -0
- /package/{dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudication.js → api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js} +0 -0
- /package/{dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js → api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js} +0 -0
- /package/{dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudication.js → api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js} +0 -0
- /package/{dist/api/resources/insuranceAdjudications/resources/v1/types/ServiceLineAdjudicationCreate.js → api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js} +0 -0
- /package/{dist/api/resources/remits/resources/v1/types/Payee.js → api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js} +0 -0
- /package/dist/api/resources/{remits/resources/v1/types/PayeeIdentifier.js → encountersUniversal/types/UniversalEncounterCreate.js} +0 -0
- /package/dist/api/resources/{x12/resources/v1/types/ClaimAdjustmentReasonCode.js → encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js} +0 -0
- /package/dist/api/resources/{x12/resources/v1/types/RemittanceAdviceRemarkCode.js → encountersUniversal/types/UniversalEncounterUpdate.js} +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../index";
|
|
4
|
+
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
5
|
+
import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
|
|
6
|
+
import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
|
|
7
|
+
import { EncounterExternalIdUniquenessErrorType } from "../types/EncounterExternalIdUniquenessErrorType";
|
|
8
|
+
import { EncounterPatientControlNumberUniquenessErrorType } from "../types/EncounterPatientControlNumberUniquenessErrorType";
|
|
9
|
+
import { PayerPlanGroupPayerDoesNotMatchInsuranceCardError } from "../types/PayerPlanGroupPayerDoesNotMatchInsuranceCardError";
|
|
10
|
+
import { SchemaInstanceValidationFailure } from "../types/SchemaInstanceValidationFailure";
|
|
11
|
+
export declare const Error: core.serialization.Schema<serializers.encounters.v4.createFromPreEncounterPatientUniversal.Error.Raw, CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error>;
|
|
12
|
+
export declare namespace Error {
|
|
13
|
+
type Raw = Error.EncounterExternalIdUniquenessError | Error.EncounterPatientControlNumberUniquenessError | Error.EntityNotFoundError | Error.UnauthorizedError | Error.HttpRequestValidationsError | Error.SchemaInstanceValidationHttpFailure | Error.HttpRequestValidationError | Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError;
|
|
14
|
+
interface EncounterExternalIdUniquenessError {
|
|
15
|
+
errorName: "EncounterExternalIdUniquenessError";
|
|
16
|
+
content: EncounterExternalIdUniquenessErrorType.Raw;
|
|
17
|
+
}
|
|
18
|
+
interface EncounterPatientControlNumberUniquenessError {
|
|
19
|
+
errorName: "EncounterPatientControlNumberUniquenessError";
|
|
20
|
+
content: EncounterPatientControlNumberUniquenessErrorType.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 HttpRequestValidationError {
|
|
39
|
+
errorName: "HttpRequestValidationError";
|
|
40
|
+
content: RequestValidationError.Raw;
|
|
41
|
+
}
|
|
42
|
+
interface PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError {
|
|
43
|
+
errorName: "PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError";
|
|
44
|
+
content: PayerPlanGroupPayerDoesNotMatchInsuranceCardError.Raw;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
37
|
+
var t = {};
|
|
38
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
39
|
+
t[p] = s[p];
|
|
40
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
41
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
42
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
43
|
+
t[p[i]] = s[p[i]];
|
|
44
|
+
}
|
|
45
|
+
return t;
|
|
46
|
+
};
|
|
47
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
|
+
exports.Error = void 0;
|
|
49
|
+
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
50
|
+
const core = __importStar(require("../../../../../../core"));
|
|
51
|
+
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
52
|
+
const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
|
|
53
|
+
const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
|
|
54
|
+
const EncounterExternalIdUniquenessErrorType_1 = require("../types/EncounterExternalIdUniquenessErrorType");
|
|
55
|
+
const EncounterPatientControlNumberUniquenessErrorType_1 = require("../types/EncounterPatientControlNumberUniquenessErrorType");
|
|
56
|
+
const PayerPlanGroupPayerDoesNotMatchInsuranceCardError_1 = require("../types/PayerPlanGroupPayerDoesNotMatchInsuranceCardError");
|
|
57
|
+
const SchemaInstanceValidationFailure_1 = require("../types/SchemaInstanceValidationFailure");
|
|
58
|
+
exports.Error = core.serialization
|
|
59
|
+
.union("errorName", {
|
|
60
|
+
EncounterExternalIdUniquenessError: core.serialization.object({
|
|
61
|
+
content: EncounterExternalIdUniquenessErrorType_1.EncounterExternalIdUniquenessErrorType,
|
|
62
|
+
}),
|
|
63
|
+
EncounterPatientControlNumberUniquenessError: core.serialization.object({
|
|
64
|
+
content: EncounterPatientControlNumberUniquenessErrorType_1.EncounterPatientControlNumberUniquenessErrorType,
|
|
65
|
+
}),
|
|
66
|
+
EntityNotFoundError: core.serialization.object({
|
|
67
|
+
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
68
|
+
}),
|
|
69
|
+
UnauthorizedError: core.serialization.object({
|
|
70
|
+
content: UnauthorizedErrorMessage_1.UnauthorizedErrorMessage,
|
|
71
|
+
}),
|
|
72
|
+
HttpRequestValidationsError: core.serialization.object({
|
|
73
|
+
content: core.serialization.list(RequestValidationError_1.RequestValidationError),
|
|
74
|
+
}),
|
|
75
|
+
SchemaInstanceValidationHttpFailure: core.serialization.object({
|
|
76
|
+
content: SchemaInstanceValidationFailure_1.SchemaInstanceValidationFailure,
|
|
77
|
+
}),
|
|
78
|
+
HttpRequestValidationError: core.serialization.object({
|
|
79
|
+
content: RequestValidationError_1.RequestValidationError,
|
|
80
|
+
}),
|
|
81
|
+
PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError: core.serialization.object({
|
|
82
|
+
content: PayerPlanGroupPayerDoesNotMatchInsuranceCardError_1.PayerPlanGroupPayerDoesNotMatchInsuranceCardError,
|
|
83
|
+
}),
|
|
84
|
+
})
|
|
85
|
+
.transform({
|
|
86
|
+
transform: (value) => {
|
|
87
|
+
switch (value.errorName) {
|
|
88
|
+
case "EncounterExternalIdUniquenessError":
|
|
89
|
+
return CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.encounterExternalIdUniquenessError(value.content);
|
|
90
|
+
case "EncounterPatientControlNumberUniquenessError":
|
|
91
|
+
return CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.encounterPatientControlNumberUniquenessError(value.content);
|
|
92
|
+
case "EntityNotFoundError":
|
|
93
|
+
return CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.entityNotFoundError(value.content);
|
|
94
|
+
case "UnauthorizedError":
|
|
95
|
+
return CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.unauthorizedError(value.content);
|
|
96
|
+
case "HttpRequestValidationsError":
|
|
97
|
+
return CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.httpRequestValidationsError(value.content);
|
|
98
|
+
case "SchemaInstanceValidationHttpFailure":
|
|
99
|
+
return CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.schemaInstanceValidationHttpFailure(value.content);
|
|
100
|
+
case "HttpRequestValidationError":
|
|
101
|
+
return CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.httpRequestValidationError(value.content);
|
|
102
|
+
case "PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError":
|
|
103
|
+
return CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error.payerPlanGroupPayerDoesNotMatchInsuranceCardHttpError(value.content);
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
untransform: (_a) => {
|
|
107
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
108
|
+
return value;
|
|
109
|
+
},
|
|
110
|
+
});
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../index";
|
|
4
|
+
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
5
|
+
import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
|
|
6
|
+
import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
|
|
7
|
+
import { CashPayPayerErrorMessage } from "../types/CashPayPayerErrorMessage";
|
|
8
|
+
import { EncounterExternalIdUniquenessErrorType } from "../types/EncounterExternalIdUniquenessErrorType";
|
|
9
|
+
import { EncounterGuarantorMissingContactInfoErrorType } from "../types/EncounterGuarantorMissingContactInfoErrorType";
|
|
10
|
+
import { EncounterPatientControlNumberUniquenessErrorType } from "../types/EncounterPatientControlNumberUniquenessErrorType";
|
|
11
|
+
import { EncounterRenderingOrAttendingProviderRequiredError } from "../types/EncounterRenderingOrAttendingProviderRequiredError";
|
|
12
|
+
import { InvalidTagNamesErrorType } from "../types/InvalidTagNamesErrorType";
|
|
13
|
+
import { PayerPlanGroupPayerDoesNotMatchInsuranceCardError } from "../types/PayerPlanGroupPayerDoesNotMatchInsuranceCardError";
|
|
14
|
+
import { SchemaInstanceValidationFailure } from "../types/SchemaInstanceValidationFailure";
|
|
15
|
+
export declare const Error: core.serialization.Schema<serializers.encounters.v4.createUniversal.Error.Raw, CandidApi.encounters.v4.createUniversal.Error>;
|
|
16
|
+
export declare namespace Error {
|
|
17
|
+
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;
|
|
18
|
+
interface EncounterExternalIdUniquenessError {
|
|
19
|
+
errorName: "EncounterExternalIdUniquenessError";
|
|
20
|
+
content: EncounterExternalIdUniquenessErrorType.Raw;
|
|
21
|
+
}
|
|
22
|
+
interface EncounterPatientControlNumberUniquenessError {
|
|
23
|
+
errorName: "EncounterPatientControlNumberUniquenessError";
|
|
24
|
+
content: EncounterPatientControlNumberUniquenessErrorType.Raw;
|
|
25
|
+
}
|
|
26
|
+
interface EntityNotFoundError {
|
|
27
|
+
errorName: "EntityNotFoundError";
|
|
28
|
+
content: EntityNotFoundErrorMessage.Raw;
|
|
29
|
+
}
|
|
30
|
+
interface UnauthorizedError {
|
|
31
|
+
errorName: "UnauthorizedError";
|
|
32
|
+
content: UnauthorizedErrorMessage.Raw;
|
|
33
|
+
}
|
|
34
|
+
interface EncounterGuarantorMissingContactInfoError {
|
|
35
|
+
errorName: "EncounterGuarantorMissingContactInfoError";
|
|
36
|
+
content: EncounterGuarantorMissingContactInfoErrorType.Raw;
|
|
37
|
+
}
|
|
38
|
+
interface HttpRequestValidationsError {
|
|
39
|
+
errorName: "HttpRequestValidationsError";
|
|
40
|
+
content: RequestValidationError.Raw[];
|
|
41
|
+
}
|
|
42
|
+
interface CashPayPayerError {
|
|
43
|
+
errorName: "CashPayPayerError";
|
|
44
|
+
content: CashPayPayerErrorMessage.Raw;
|
|
45
|
+
}
|
|
46
|
+
interface SchemaInstanceValidationHttpFailure {
|
|
47
|
+
errorName: "SchemaInstanceValidationHttpFailure";
|
|
48
|
+
content: SchemaInstanceValidationFailure.Raw;
|
|
49
|
+
}
|
|
50
|
+
interface InvalidTagNamesError {
|
|
51
|
+
errorName: "InvalidTagNamesError";
|
|
52
|
+
content: InvalidTagNamesErrorType.Raw;
|
|
53
|
+
}
|
|
54
|
+
interface HttpRequestValidationError {
|
|
55
|
+
errorName: "HttpRequestValidationError";
|
|
56
|
+
content: RequestValidationError.Raw;
|
|
57
|
+
}
|
|
58
|
+
interface PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError {
|
|
59
|
+
errorName: "PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError";
|
|
60
|
+
content: PayerPlanGroupPayerDoesNotMatchInsuranceCardError.Raw;
|
|
61
|
+
}
|
|
62
|
+
interface EncounterRenderingOrAttendingProviderRequired {
|
|
63
|
+
errorName: "EncounterRenderingOrAttendingProviderRequired";
|
|
64
|
+
content: EncounterRenderingOrAttendingProviderRequiredError.Raw;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
37
|
+
var t = {};
|
|
38
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
39
|
+
t[p] = s[p];
|
|
40
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
41
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
42
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
43
|
+
t[p[i]] = s[p[i]];
|
|
44
|
+
}
|
|
45
|
+
return t;
|
|
46
|
+
};
|
|
47
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
|
+
exports.Error = void 0;
|
|
49
|
+
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
50
|
+
const core = __importStar(require("../../../../../../core"));
|
|
51
|
+
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
52
|
+
const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
|
|
53
|
+
const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
|
|
54
|
+
const CashPayPayerErrorMessage_1 = require("../types/CashPayPayerErrorMessage");
|
|
55
|
+
const EncounterExternalIdUniquenessErrorType_1 = require("../types/EncounterExternalIdUniquenessErrorType");
|
|
56
|
+
const EncounterGuarantorMissingContactInfoErrorType_1 = require("../types/EncounterGuarantorMissingContactInfoErrorType");
|
|
57
|
+
const EncounterPatientControlNumberUniquenessErrorType_1 = require("../types/EncounterPatientControlNumberUniquenessErrorType");
|
|
58
|
+
const EncounterRenderingOrAttendingProviderRequiredError_1 = require("../types/EncounterRenderingOrAttendingProviderRequiredError");
|
|
59
|
+
const InvalidTagNamesErrorType_1 = require("../types/InvalidTagNamesErrorType");
|
|
60
|
+
const PayerPlanGroupPayerDoesNotMatchInsuranceCardError_1 = require("../types/PayerPlanGroupPayerDoesNotMatchInsuranceCardError");
|
|
61
|
+
const SchemaInstanceValidationFailure_1 = require("../types/SchemaInstanceValidationFailure");
|
|
62
|
+
exports.Error = core.serialization
|
|
63
|
+
.union("errorName", {
|
|
64
|
+
EncounterExternalIdUniquenessError: core.serialization.object({
|
|
65
|
+
content: EncounterExternalIdUniquenessErrorType_1.EncounterExternalIdUniquenessErrorType,
|
|
66
|
+
}),
|
|
67
|
+
EncounterPatientControlNumberUniquenessError: core.serialization.object({
|
|
68
|
+
content: EncounterPatientControlNumberUniquenessErrorType_1.EncounterPatientControlNumberUniquenessErrorType,
|
|
69
|
+
}),
|
|
70
|
+
EntityNotFoundError: core.serialization.object({
|
|
71
|
+
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
72
|
+
}),
|
|
73
|
+
UnauthorizedError: core.serialization.object({
|
|
74
|
+
content: UnauthorizedErrorMessage_1.UnauthorizedErrorMessage,
|
|
75
|
+
}),
|
|
76
|
+
EncounterGuarantorMissingContactInfoError: core.serialization.object({
|
|
77
|
+
content: EncounterGuarantorMissingContactInfoErrorType_1.EncounterGuarantorMissingContactInfoErrorType,
|
|
78
|
+
}),
|
|
79
|
+
HttpRequestValidationsError: core.serialization.object({
|
|
80
|
+
content: core.serialization.list(RequestValidationError_1.RequestValidationError),
|
|
81
|
+
}),
|
|
82
|
+
CashPayPayerError: core.serialization.object({
|
|
83
|
+
content: CashPayPayerErrorMessage_1.CashPayPayerErrorMessage,
|
|
84
|
+
}),
|
|
85
|
+
SchemaInstanceValidationHttpFailure: core.serialization.object({
|
|
86
|
+
content: SchemaInstanceValidationFailure_1.SchemaInstanceValidationFailure,
|
|
87
|
+
}),
|
|
88
|
+
InvalidTagNamesError: core.serialization.object({
|
|
89
|
+
content: InvalidTagNamesErrorType_1.InvalidTagNamesErrorType,
|
|
90
|
+
}),
|
|
91
|
+
HttpRequestValidationError: core.serialization.object({
|
|
92
|
+
content: RequestValidationError_1.RequestValidationError,
|
|
93
|
+
}),
|
|
94
|
+
PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError: core.serialization.object({
|
|
95
|
+
content: PayerPlanGroupPayerDoesNotMatchInsuranceCardError_1.PayerPlanGroupPayerDoesNotMatchInsuranceCardError,
|
|
96
|
+
}),
|
|
97
|
+
EncounterRenderingOrAttendingProviderRequired: core.serialization.object({
|
|
98
|
+
content: EncounterRenderingOrAttendingProviderRequiredError_1.EncounterRenderingOrAttendingProviderRequiredError,
|
|
99
|
+
}),
|
|
100
|
+
})
|
|
101
|
+
.transform({
|
|
102
|
+
transform: (value) => {
|
|
103
|
+
switch (value.errorName) {
|
|
104
|
+
case "EncounterExternalIdUniquenessError":
|
|
105
|
+
return CandidApi.encounters.v4.createUniversal.Error.encounterExternalIdUniquenessError(value.content);
|
|
106
|
+
case "EncounterPatientControlNumberUniquenessError":
|
|
107
|
+
return CandidApi.encounters.v4.createUniversal.Error.encounterPatientControlNumberUniquenessError(value.content);
|
|
108
|
+
case "EntityNotFoundError":
|
|
109
|
+
return CandidApi.encounters.v4.createUniversal.Error.entityNotFoundError(value.content);
|
|
110
|
+
case "UnauthorizedError":
|
|
111
|
+
return CandidApi.encounters.v4.createUniversal.Error.unauthorizedError(value.content);
|
|
112
|
+
case "EncounterGuarantorMissingContactInfoError":
|
|
113
|
+
return CandidApi.encounters.v4.createUniversal.Error.encounterGuarantorMissingContactInfoError(value.content);
|
|
114
|
+
case "HttpRequestValidationsError":
|
|
115
|
+
return CandidApi.encounters.v4.createUniversal.Error.httpRequestValidationsError(value.content);
|
|
116
|
+
case "CashPayPayerError":
|
|
117
|
+
return CandidApi.encounters.v4.createUniversal.Error.cashPayPayerError(value.content);
|
|
118
|
+
case "SchemaInstanceValidationHttpFailure":
|
|
119
|
+
return CandidApi.encounters.v4.createUniversal.Error.schemaInstanceValidationHttpFailure(value.content);
|
|
120
|
+
case "InvalidTagNamesError":
|
|
121
|
+
return CandidApi.encounters.v4.createUniversal.Error.invalidTagNamesError(value.content);
|
|
122
|
+
case "HttpRequestValidationError":
|
|
123
|
+
return CandidApi.encounters.v4.createUniversal.Error.httpRequestValidationError(value.content);
|
|
124
|
+
case "PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError":
|
|
125
|
+
return CandidApi.encounters.v4.createUniversal.Error.payerPlanGroupPayerDoesNotMatchInsuranceCardHttpError(value.content);
|
|
126
|
+
case "EncounterRenderingOrAttendingProviderRequired":
|
|
127
|
+
return CandidApi.encounters.v4.createUniversal.Error.encounterRenderingOrAttendingProviderRequired(value.content);
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
untransform: (_a) => {
|
|
131
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
132
|
+
return value;
|
|
133
|
+
},
|
|
134
|
+
});
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
export * as create from "./create";
|
|
2
2
|
export * as createFromPreEncounterPatient from "./createFromPreEncounterPatient";
|
|
3
|
+
export * as createFromPreEncounterPatientUniversal from "./createFromPreEncounterPatientUniversal";
|
|
4
|
+
export * as createUniversal from "./createUniversal";
|
|
3
5
|
export * as update from "./update";
|
|
6
|
+
export * as updateUniversal from "./updateUniversal";
|
|
@@ -33,7 +33,10 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.update = exports.createFromPreEncounterPatient = exports.create = void 0;
|
|
36
|
+
exports.updateUniversal = exports.update = exports.createUniversal = exports.createFromPreEncounterPatientUniversal = exports.createFromPreEncounterPatient = exports.create = void 0;
|
|
37
37
|
exports.create = __importStar(require("./create"));
|
|
38
38
|
exports.createFromPreEncounterPatient = __importStar(require("./createFromPreEncounterPatient"));
|
|
39
|
+
exports.createFromPreEncounterPatientUniversal = __importStar(require("./createFromPreEncounterPatientUniversal"));
|
|
40
|
+
exports.createUniversal = __importStar(require("./createUniversal"));
|
|
39
41
|
exports.update = __importStar(require("./update"));
|
|
42
|
+
exports.updateUniversal = __importStar(require("./updateUniversal"));
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../index";
|
|
4
|
+
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
5
|
+
import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
|
|
6
|
+
import { UnauthorizedErrorMessage } from "../../../../commons/types/UnauthorizedErrorMessage";
|
|
7
|
+
import { UnprocessableEntityErrorMessage } from "../../../../commons/types/UnprocessableEntityErrorMessage";
|
|
8
|
+
import { EncounterExternalIdUniquenessErrorType } from "../types/EncounterExternalIdUniquenessErrorType";
|
|
9
|
+
import { InvalidTagNamesErrorType } from "../types/InvalidTagNamesErrorType";
|
|
10
|
+
import { PayerPlanGroupPayerDoesNotMatchInsuranceCardError } from "../types/PayerPlanGroupPayerDoesNotMatchInsuranceCardError";
|
|
11
|
+
import { SchemaInstanceValidationFailure } from "../types/SchemaInstanceValidationFailure";
|
|
12
|
+
export declare const Error: core.serialization.Schema<serializers.encounters.v4.updateUniversal.Error.Raw, CandidApi.encounters.v4.updateUniversal.Error>;
|
|
13
|
+
export declare namespace Error {
|
|
14
|
+
type Raw = Error.EncounterExternalIdUniquenessError | Error.EntityNotFoundError | Error.UnauthorizedError | Error.HttpRequestValidationsError | Error.SchemaInstanceValidationHttpFailure | Error.UnprocessableEntityError | Error.InvalidTagNamesError | Error.PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError;
|
|
15
|
+
interface EncounterExternalIdUniquenessError {
|
|
16
|
+
errorName: "EncounterExternalIdUniquenessError";
|
|
17
|
+
content: EncounterExternalIdUniquenessErrorType.Raw;
|
|
18
|
+
}
|
|
19
|
+
interface EntityNotFoundError {
|
|
20
|
+
errorName: "EntityNotFoundError";
|
|
21
|
+
content: EntityNotFoundErrorMessage.Raw;
|
|
22
|
+
}
|
|
23
|
+
interface UnauthorizedError {
|
|
24
|
+
errorName: "UnauthorizedError";
|
|
25
|
+
content: UnauthorizedErrorMessage.Raw;
|
|
26
|
+
}
|
|
27
|
+
interface HttpRequestValidationsError {
|
|
28
|
+
errorName: "HttpRequestValidationsError";
|
|
29
|
+
content: RequestValidationError.Raw[];
|
|
30
|
+
}
|
|
31
|
+
interface SchemaInstanceValidationHttpFailure {
|
|
32
|
+
errorName: "SchemaInstanceValidationHttpFailure";
|
|
33
|
+
content: SchemaInstanceValidationFailure.Raw;
|
|
34
|
+
}
|
|
35
|
+
interface UnprocessableEntityError {
|
|
36
|
+
errorName: "UnprocessableEntityError";
|
|
37
|
+
content: UnprocessableEntityErrorMessage.Raw;
|
|
38
|
+
}
|
|
39
|
+
interface InvalidTagNamesError {
|
|
40
|
+
errorName: "InvalidTagNamesError";
|
|
41
|
+
content: InvalidTagNamesErrorType.Raw;
|
|
42
|
+
}
|
|
43
|
+
interface PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError {
|
|
44
|
+
errorName: "PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError";
|
|
45
|
+
content: PayerPlanGroupPayerDoesNotMatchInsuranceCardError.Raw;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
37
|
+
var t = {};
|
|
38
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
39
|
+
t[p] = s[p];
|
|
40
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
41
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
42
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
43
|
+
t[p[i]] = s[p[i]];
|
|
44
|
+
}
|
|
45
|
+
return t;
|
|
46
|
+
};
|
|
47
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
|
+
exports.Error = void 0;
|
|
49
|
+
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
50
|
+
const core = __importStar(require("../../../../../../core"));
|
|
51
|
+
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
52
|
+
const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
|
|
53
|
+
const UnauthorizedErrorMessage_1 = require("../../../../commons/types/UnauthorizedErrorMessage");
|
|
54
|
+
const UnprocessableEntityErrorMessage_1 = require("../../../../commons/types/UnprocessableEntityErrorMessage");
|
|
55
|
+
const EncounterExternalIdUniquenessErrorType_1 = require("../types/EncounterExternalIdUniquenessErrorType");
|
|
56
|
+
const InvalidTagNamesErrorType_1 = require("../types/InvalidTagNamesErrorType");
|
|
57
|
+
const PayerPlanGroupPayerDoesNotMatchInsuranceCardError_1 = require("../types/PayerPlanGroupPayerDoesNotMatchInsuranceCardError");
|
|
58
|
+
const SchemaInstanceValidationFailure_1 = require("../types/SchemaInstanceValidationFailure");
|
|
59
|
+
exports.Error = core.serialization
|
|
60
|
+
.union("errorName", {
|
|
61
|
+
EncounterExternalIdUniquenessError: core.serialization.object({
|
|
62
|
+
content: EncounterExternalIdUniquenessErrorType_1.EncounterExternalIdUniquenessErrorType,
|
|
63
|
+
}),
|
|
64
|
+
EntityNotFoundError: core.serialization.object({
|
|
65
|
+
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
66
|
+
}),
|
|
67
|
+
UnauthorizedError: core.serialization.object({
|
|
68
|
+
content: UnauthorizedErrorMessage_1.UnauthorizedErrorMessage,
|
|
69
|
+
}),
|
|
70
|
+
HttpRequestValidationsError: core.serialization.object({
|
|
71
|
+
content: core.serialization.list(RequestValidationError_1.RequestValidationError),
|
|
72
|
+
}),
|
|
73
|
+
SchemaInstanceValidationHttpFailure: core.serialization.object({
|
|
74
|
+
content: SchemaInstanceValidationFailure_1.SchemaInstanceValidationFailure,
|
|
75
|
+
}),
|
|
76
|
+
UnprocessableEntityError: core.serialization.object({
|
|
77
|
+
content: UnprocessableEntityErrorMessage_1.UnprocessableEntityErrorMessage,
|
|
78
|
+
}),
|
|
79
|
+
InvalidTagNamesError: core.serialization.object({
|
|
80
|
+
content: InvalidTagNamesErrorType_1.InvalidTagNamesErrorType,
|
|
81
|
+
}),
|
|
82
|
+
PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError: core.serialization.object({
|
|
83
|
+
content: PayerPlanGroupPayerDoesNotMatchInsuranceCardError_1.PayerPlanGroupPayerDoesNotMatchInsuranceCardError,
|
|
84
|
+
}),
|
|
85
|
+
})
|
|
86
|
+
.transform({
|
|
87
|
+
transform: (value) => {
|
|
88
|
+
switch (value.errorName) {
|
|
89
|
+
case "EncounterExternalIdUniquenessError":
|
|
90
|
+
return CandidApi.encounters.v4.updateUniversal.Error.encounterExternalIdUniquenessError(value.content);
|
|
91
|
+
case "EntityNotFoundError":
|
|
92
|
+
return CandidApi.encounters.v4.updateUniversal.Error.entityNotFoundError(value.content);
|
|
93
|
+
case "UnauthorizedError":
|
|
94
|
+
return CandidApi.encounters.v4.updateUniversal.Error.unauthorizedError(value.content);
|
|
95
|
+
case "HttpRequestValidationsError":
|
|
96
|
+
return CandidApi.encounters.v4.updateUniversal.Error.httpRequestValidationsError(value.content);
|
|
97
|
+
case "SchemaInstanceValidationHttpFailure":
|
|
98
|
+
return CandidApi.encounters.v4.updateUniversal.Error.schemaInstanceValidationHttpFailure(value.content);
|
|
99
|
+
case "UnprocessableEntityError":
|
|
100
|
+
return CandidApi.encounters.v4.updateUniversal.Error.unprocessableEntityError(value.content);
|
|
101
|
+
case "InvalidTagNamesError":
|
|
102
|
+
return CandidApi.encounters.v4.updateUniversal.Error.invalidTagNamesError(value.content);
|
|
103
|
+
case "PayerPlanGroupPayerDoesNotMatchInsuranceCardHttpError":
|
|
104
|
+
return CandidApi.encounters.v4.updateUniversal.Error.payerPlanGroupPayerDoesNotMatchInsuranceCardHttpError(value.content);
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
untransform: (_a) => {
|
|
108
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
109
|
+
return value;
|
|
110
|
+
},
|
|
111
|
+
});
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { FacilityTypeCode } from "../../commons/types/FacilityTypeCode";
|
|
5
|
+
import { State } from "../../commons/types/State";
|
|
6
|
+
import { BillingProvider } from "../../encounterProviders/resources/v2/types/BillingProvider";
|
|
7
|
+
import { RenderingProvider } from "../../encounterProviders/resources/v2/types/RenderingProvider";
|
|
8
|
+
import { EncounterSubmissionExpectation } from "../../encounters/resources/v4/types/EncounterSubmissionExpectation";
|
|
9
|
+
import { HealthCareCodeInformationCreate } from "../../healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate";
|
|
10
|
+
import { UniversalServiceLineCreate } from "../../serviceLines/resources/v2/types/UniversalServiceLineCreate";
|
|
11
|
+
import { PatientDischargeStatusCode } from "../../x12/resources/v1/types/PatientDischargeStatusCode";
|
|
12
|
+
import { PointOfOriginForAdmissionOrVisitCode } from "../../x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode";
|
|
13
|
+
import { TypeOfAdmissionOrVisitCode } from "../../x12/resources/v1/types/TypeOfAdmissionOrVisitCode";
|
|
14
|
+
import { TypeOfBillCompositeUpdate } from "../../x12/resources/v1/types/TypeOfBillCompositeUpdate";
|
|
15
|
+
import { UniversalEncounterCreateBase } from "./UniversalEncounterCreateBase";
|
|
16
|
+
export declare const UniversalEncounterCreate: core.serialization.ObjectSchema<serializers.encountersUniversal.UniversalEncounterCreate.Raw, CandidApi.encountersUniversal.UniversalEncounterCreate>;
|
|
17
|
+
export declare namespace UniversalEncounterCreate {
|
|
18
|
+
interface Raw extends UniversalEncounterCreateBase.Raw {
|
|
19
|
+
billing_provider: BillingProvider.Raw;
|
|
20
|
+
place_of_service_code?: FacilityTypeCode.Raw | null;
|
|
21
|
+
rendering_provider?: RenderingProvider.Raw | null;
|
|
22
|
+
service_lines?: UniversalServiceLineCreate.Raw[] | null;
|
|
23
|
+
health_care_code_information?: HealthCareCodeInformationCreate.Raw | null;
|
|
24
|
+
submission_expectation: EncounterSubmissionExpectation.Raw;
|
|
25
|
+
attending_provider?: RenderingProvider.Raw | null;
|
|
26
|
+
admission_hour?: number | null;
|
|
27
|
+
admission_type_code?: TypeOfAdmissionOrVisitCode.Raw | null;
|
|
28
|
+
admission_source_code?: PointOfOriginForAdmissionOrVisitCode.Raw | null;
|
|
29
|
+
discharge_hour?: number | null;
|
|
30
|
+
discharge_status?: PatientDischargeStatusCode.Raw | null;
|
|
31
|
+
operating_provider?: RenderingProvider.Raw | null;
|
|
32
|
+
other_operating_provider?: RenderingProvider.Raw | null;
|
|
33
|
+
type_of_bill?: TypeOfBillCompositeUpdate.Raw | null;
|
|
34
|
+
accident_state_or_province_code?: State.Raw | null;
|
|
35
|
+
}
|
|
36
|
+
}
|