candidhealth 1.13.0 → 1.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.d.ts +0 -3
- package/Client.js +10 -15
- package/api/resources/commons/types/ProcedureModifier.d.ts +3 -0
- package/api/resources/commons/types/ProcedureModifier.js +3 -0
- 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/UniversalEncounterCreate.js +3 -0
- package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +44 -0
- package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +3 -0
- package/api/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +36 -0
- package/api/resources/encountersUniversal/types/UniversalEncounterUpdate.js +3 -0
- package/api/resources/encountersUniversal/types/index.d.ts +3 -0
- package/api/resources/encountersUniversal/types/index.js +3 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +8 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +3 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +8 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +3 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +8 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +3 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +9 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +3 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +27 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +3 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +15 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +3 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +9 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +3 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +9 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +3 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +15 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +3 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +8 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +3 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +9 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +3 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +15 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +3 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +8 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +3 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +9 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +3 -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/serviceFacility/index.d.ts +0 -1
- package/api/resources/serviceFacility/index.js +0 -1
- package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +8 -0
- package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +3 -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/TypeOfBillCompositeUpdate.js +3 -0
- package/api/resources/x12/resources/v1/types/index.d.ts +1 -0
- package/api/resources/x12/resources/v1/types/index.js +1 -0
- package/dist/Client.d.ts +0 -3
- package/dist/Client.js +10 -15
- 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/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/UniversalEncounterCreate.js +3 -0
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +44 -0
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +3 -0
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +36 -0
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterUpdate.js +3 -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/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/serviceFacility/index.d.ts +0 -1
- package/dist/api/resources/serviceFacility/index.js +0 -1
- 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 -0
- package/dist/api/resources/x12/resources/v1/types/index.js +1 -0
- 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/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/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/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +47 -0
- 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/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +49 -0
- 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/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +12 -0
- package/dist/{api/resources/serviceFacility/client/index.js → serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js} +11 -2
- 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/{api/resources/serviceFacility/client/update.js → dist/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js} +14 -19
- package/dist/serialization/resources/x12/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/x12/resources/v1/types/index.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +236 -58
- package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
- package/serialization/resources/commons/types/ProcedureModifier.js +1 -0
- 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/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/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +49 -0
- 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/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +12 -0
- package/{api/resources/serviceFacility/client/index.js → serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js} +11 -2
- 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/api/resources/serviceFacility/client/update.js → serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js} +14 -19
- package/serialization/resources/x12/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/x12/resources/v1/types/index.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- 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/update.d.ts +0 -19
- 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/update.d.ts +0 -19
package/reference.md
CHANGED
|
@@ -3257,6 +3257,87 @@ await client.encounters.v4.get(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7f
|
|
|
3257
3257
|
</dl>
|
|
3258
3258
|
|
|
3259
3259
|
|
|
3260
|
+
</dd>
|
|
3261
|
+
</dl>
|
|
3262
|
+
</details>
|
|
3263
|
+
|
|
3264
|
+
<details><summary><code>client.encounters.v4.<a href="/src/api/resources/encounters/resources/v4/client/Client.ts">createUniversal</a>({ ...params }) -> core.APIResponse<CandidApi.Encounter, CandidApi.encounters.v4.createUniversal.Error></code></summary>
|
|
3265
|
+
<dl>
|
|
3266
|
+
<dd>
|
|
3267
|
+
|
|
3268
|
+
#### 🔌 Usage
|
|
3269
|
+
|
|
3270
|
+
<dl>
|
|
3271
|
+
<dd>
|
|
3272
|
+
|
|
3273
|
+
<dl>
|
|
3274
|
+
<dd>
|
|
3275
|
+
|
|
3276
|
+
```typescript
|
|
3277
|
+
await client.encounters.v4.createUniversal({
|
|
3278
|
+
billingProvider: {
|
|
3279
|
+
address: {
|
|
3280
|
+
zipPlusFourCode: "zip_plus_four_code",
|
|
3281
|
+
address1: "address1",
|
|
3282
|
+
city: "city",
|
|
3283
|
+
state: "AA",
|
|
3284
|
+
zipCode: "zip_code"
|
|
3285
|
+
},
|
|
3286
|
+
taxId: "tax_id",
|
|
3287
|
+
npi: "npi"
|
|
3288
|
+
},
|
|
3289
|
+
submissionExpectation: "TARGET_PROFESSIONAL",
|
|
3290
|
+
patient: {
|
|
3291
|
+
externalId: "external_id",
|
|
3292
|
+
dateOfBirth: "2023-01-15",
|
|
3293
|
+
address: {
|
|
3294
|
+
address1: "address1",
|
|
3295
|
+
city: "city",
|
|
3296
|
+
state: "AA",
|
|
3297
|
+
zipCode: "zip_code"
|
|
3298
|
+
},
|
|
3299
|
+
firstName: "first_name",
|
|
3300
|
+
lastName: "last_name",
|
|
3301
|
+
gender: "male"
|
|
3302
|
+
},
|
|
3303
|
+
responsibleParty: "INSURANCE_PAY",
|
|
3304
|
+
externalId: CandidApi.EncounterExternalId("external_id"),
|
|
3305
|
+
patientAuthorizedRelease: true,
|
|
3306
|
+
benefitsAssignedToProvider: true,
|
|
3307
|
+
providerAcceptsAssignment: true,
|
|
3308
|
+
billableStatus: "BILLABLE"
|
|
3309
|
+
});
|
|
3310
|
+
|
|
3311
|
+
```
|
|
3312
|
+
</dd>
|
|
3313
|
+
</dl>
|
|
3314
|
+
</dd>
|
|
3315
|
+
</dl>
|
|
3316
|
+
|
|
3317
|
+
#### ⚙️ Parameters
|
|
3318
|
+
|
|
3319
|
+
<dl>
|
|
3320
|
+
<dd>
|
|
3321
|
+
|
|
3322
|
+
<dl>
|
|
3323
|
+
<dd>
|
|
3324
|
+
|
|
3325
|
+
**request:** `CandidApi.UniversalEncounterCreate`
|
|
3326
|
+
|
|
3327
|
+
</dd>
|
|
3328
|
+
</dl>
|
|
3329
|
+
|
|
3330
|
+
<dl>
|
|
3331
|
+
<dd>
|
|
3332
|
+
|
|
3333
|
+
**requestOptions:** `V4.RequestOptions`
|
|
3334
|
+
|
|
3335
|
+
</dd>
|
|
3336
|
+
</dl>
|
|
3337
|
+
</dd>
|
|
3338
|
+
</dl>
|
|
3339
|
+
|
|
3340
|
+
|
|
3260
3341
|
</dd>
|
|
3261
3342
|
</dl>
|
|
3262
3343
|
</details>
|
|
@@ -3348,6 +3429,104 @@ await client.encounters.v4.create({
|
|
|
3348
3429
|
</dl>
|
|
3349
3430
|
|
|
3350
3431
|
|
|
3432
|
+
</dd>
|
|
3433
|
+
</dl>
|
|
3434
|
+
</details>
|
|
3435
|
+
|
|
3436
|
+
<details><summary><code>client.encounters.v4.<a href="/src/api/resources/encounters/resources/v4/client/Client.ts">createFromPreEncounterPatientUniversal</a>({ ...params }) -> core.APIResponse<CandidApi.Encounter, CandidApi.encounters.v4.createFromPreEncounterPatientUniversal.Error></code></summary>
|
|
3437
|
+
<dl>
|
|
3438
|
+
<dd>
|
|
3439
|
+
|
|
3440
|
+
#### 📝 Description
|
|
3441
|
+
|
|
3442
|
+
<dl>
|
|
3443
|
+
<dd>
|
|
3444
|
+
|
|
3445
|
+
<dl>
|
|
3446
|
+
<dd>
|
|
3447
|
+
|
|
3448
|
+
Create an encounter from a pre-encounter patient and appointment. This endpoint is intended to be used by consumers who are managing
|
|
3449
|
+
patients and appointments in the pre-encounter service and is currently under development. Consumers who are not taking advantage
|
|
3450
|
+
of the pre-encounter service should use the standard create endpoint.
|
|
3451
|
+
|
|
3452
|
+
The endpoint will create an encounter from the provided fields, pulling information from the provided patient and appointment objects
|
|
3453
|
+
where applicable. In particular, the following fields are populated from the patient and appointment objects:
|
|
3454
|
+
- Patient
|
|
3455
|
+
- Referring Provider
|
|
3456
|
+
- Subscriber Primary
|
|
3457
|
+
- Subscriber Secondary
|
|
3458
|
+
- Referral Number
|
|
3459
|
+
- Responsible Party
|
|
3460
|
+
- Guarantor
|
|
3461
|
+
|
|
3462
|
+
Utilizing this endpoint opts you into automatic updating of the encounter when the patient or appointment is updated, assuming the
|
|
3463
|
+
encounter has not already been submitted or adjudicated.
|
|
3464
|
+
</dd>
|
|
3465
|
+
</dl>
|
|
3466
|
+
</dd>
|
|
3467
|
+
</dl>
|
|
3468
|
+
|
|
3469
|
+
#### 🔌 Usage
|
|
3470
|
+
|
|
3471
|
+
<dl>
|
|
3472
|
+
<dd>
|
|
3473
|
+
|
|
3474
|
+
<dl>
|
|
3475
|
+
<dd>
|
|
3476
|
+
|
|
3477
|
+
```typescript
|
|
3478
|
+
await client.encounters.v4.createFromPreEncounterPatientUniversal({
|
|
3479
|
+
submissionExpectation: "TARGET_PROFESSIONAL",
|
|
3480
|
+
preEncounterPatientId: CandidApi.PreEncounterPatientId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
3481
|
+
preEncounterAppointmentIds: [CandidApi.PreEncounterAppointmentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), CandidApi.PreEncounterAppointmentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
3482
|
+
billingProvider: {
|
|
3483
|
+
address: {
|
|
3484
|
+
zipPlusFourCode: "zip_plus_four_code",
|
|
3485
|
+
address1: "address1",
|
|
3486
|
+
city: "city",
|
|
3487
|
+
state: "AA",
|
|
3488
|
+
zipCode: "zip_code"
|
|
3489
|
+
},
|
|
3490
|
+
taxId: "tax_id",
|
|
3491
|
+
npi: "npi"
|
|
3492
|
+
},
|
|
3493
|
+
externalId: CandidApi.EncounterExternalId("external_id"),
|
|
3494
|
+
patientAuthorizedRelease: true,
|
|
3495
|
+
benefitsAssignedToProvider: true,
|
|
3496
|
+
providerAcceptsAssignment: true,
|
|
3497
|
+
billableStatus: "BILLABLE"
|
|
3498
|
+
});
|
|
3499
|
+
|
|
3500
|
+
```
|
|
3501
|
+
</dd>
|
|
3502
|
+
</dl>
|
|
3503
|
+
</dd>
|
|
3504
|
+
</dl>
|
|
3505
|
+
|
|
3506
|
+
#### ⚙️ Parameters
|
|
3507
|
+
|
|
3508
|
+
<dl>
|
|
3509
|
+
<dd>
|
|
3510
|
+
|
|
3511
|
+
<dl>
|
|
3512
|
+
<dd>
|
|
3513
|
+
|
|
3514
|
+
**request:** `CandidApi.UniversalEncounterCreateFromPreEncounter`
|
|
3515
|
+
|
|
3516
|
+
</dd>
|
|
3517
|
+
</dl>
|
|
3518
|
+
|
|
3519
|
+
<dl>
|
|
3520
|
+
<dd>
|
|
3521
|
+
|
|
3522
|
+
**requestOptions:** `V4.RequestOptions`
|
|
3523
|
+
|
|
3524
|
+
</dd>
|
|
3525
|
+
</dl>
|
|
3526
|
+
</dd>
|
|
3527
|
+
</dl>
|
|
3528
|
+
|
|
3529
|
+
|
|
3351
3530
|
</dd>
|
|
3352
3531
|
</dl>
|
|
3353
3532
|
</details>
|
|
@@ -3456,6 +3635,63 @@ await client.encounters.v4.createFromPreEncounterPatient({
|
|
|
3456
3635
|
</dl>
|
|
3457
3636
|
|
|
3458
3637
|
|
|
3638
|
+
</dd>
|
|
3639
|
+
</dl>
|
|
3640
|
+
</details>
|
|
3641
|
+
|
|
3642
|
+
<details><summary><code>client.encounters.v4.<a href="/src/api/resources/encounters/resources/v4/client/Client.ts">updateUniversal</a>(encounterId, { ...params }) -> core.APIResponse<CandidApi.Encounter, CandidApi.encounters.v4.updateUniversal.Error></code></summary>
|
|
3643
|
+
<dl>
|
|
3644
|
+
<dd>
|
|
3645
|
+
|
|
3646
|
+
#### 🔌 Usage
|
|
3647
|
+
|
|
3648
|
+
<dl>
|
|
3649
|
+
<dd>
|
|
3650
|
+
|
|
3651
|
+
<dl>
|
|
3652
|
+
<dd>
|
|
3653
|
+
|
|
3654
|
+
```typescript
|
|
3655
|
+
await client.encounters.v4.updateUniversal(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {});
|
|
3656
|
+
|
|
3657
|
+
```
|
|
3658
|
+
</dd>
|
|
3659
|
+
</dl>
|
|
3660
|
+
</dd>
|
|
3661
|
+
</dl>
|
|
3662
|
+
|
|
3663
|
+
#### ⚙️ Parameters
|
|
3664
|
+
|
|
3665
|
+
<dl>
|
|
3666
|
+
<dd>
|
|
3667
|
+
|
|
3668
|
+
<dl>
|
|
3669
|
+
<dd>
|
|
3670
|
+
|
|
3671
|
+
**encounterId:** `CandidApi.EncounterId`
|
|
3672
|
+
|
|
3673
|
+
</dd>
|
|
3674
|
+
</dl>
|
|
3675
|
+
|
|
3676
|
+
<dl>
|
|
3677
|
+
<dd>
|
|
3678
|
+
|
|
3679
|
+
**request:** `CandidApi.UniversalEncounterUpdate`
|
|
3680
|
+
|
|
3681
|
+
</dd>
|
|
3682
|
+
</dl>
|
|
3683
|
+
|
|
3684
|
+
<dl>
|
|
3685
|
+
<dd>
|
|
3686
|
+
|
|
3687
|
+
**requestOptions:** `V4.RequestOptions`
|
|
3688
|
+
|
|
3689
|
+
</dd>
|
|
3690
|
+
</dl>
|
|
3691
|
+
</dd>
|
|
3692
|
+
</dl>
|
|
3693
|
+
|
|
3694
|
+
|
|
3459
3695
|
</dd>
|
|
3460
3696
|
</dl>
|
|
3461
3697
|
</details>
|
|
@@ -14290,64 +14526,6 @@ await client.diagnoses.delete(CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ff
|
|
|
14290
14526
|
</dl>
|
|
14291
14527
|
|
|
14292
14528
|
|
|
14293
|
-
</dd>
|
|
14294
|
-
</dl>
|
|
14295
|
-
</details>
|
|
14296
|
-
|
|
14297
|
-
## ServiceFacility
|
|
14298
|
-
<details><summary><code>client.serviceFacility.<a href="/src/api/resources/serviceFacility/client/Client.ts">update</a>(serviceFacilityId, { ...params }) -> core.APIResponse<CandidApi.EncounterServiceFacility, CandidApi.serviceFacility.update.Error></code></summary>
|
|
14299
|
-
<dl>
|
|
14300
|
-
<dd>
|
|
14301
|
-
|
|
14302
|
-
#### 🔌 Usage
|
|
14303
|
-
|
|
14304
|
-
<dl>
|
|
14305
|
-
<dd>
|
|
14306
|
-
|
|
14307
|
-
<dl>
|
|
14308
|
-
<dd>
|
|
14309
|
-
|
|
14310
|
-
```typescript
|
|
14311
|
-
await client.serviceFacility.update(CandidApi.ServiceFacilityId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {});
|
|
14312
|
-
|
|
14313
|
-
```
|
|
14314
|
-
</dd>
|
|
14315
|
-
</dl>
|
|
14316
|
-
</dd>
|
|
14317
|
-
</dl>
|
|
14318
|
-
|
|
14319
|
-
#### ⚙️ Parameters
|
|
14320
|
-
|
|
14321
|
-
<dl>
|
|
14322
|
-
<dd>
|
|
14323
|
-
|
|
14324
|
-
<dl>
|
|
14325
|
-
<dd>
|
|
14326
|
-
|
|
14327
|
-
**serviceFacilityId:** `CandidApi.ServiceFacilityId`
|
|
14328
|
-
|
|
14329
|
-
</dd>
|
|
14330
|
-
</dl>
|
|
14331
|
-
|
|
14332
|
-
<dl>
|
|
14333
|
-
<dd>
|
|
14334
|
-
|
|
14335
|
-
**request:** `CandidApi.EncounterServiceFacilityUpdate`
|
|
14336
|
-
|
|
14337
|
-
</dd>
|
|
14338
|
-
</dl>
|
|
14339
|
-
|
|
14340
|
-
<dl>
|
|
14341
|
-
<dd>
|
|
14342
|
-
|
|
14343
|
-
**requestOptions:** `ServiceFacility.RequestOptions`
|
|
14344
|
-
|
|
14345
|
-
</dd>
|
|
14346
|
-
</dl>
|
|
14347
|
-
</dd>
|
|
14348
|
-
</dl>
|
|
14349
|
-
|
|
14350
|
-
|
|
14351
14529
|
</dd>
|
|
14352
14530
|
</dl>
|
|
14353
14531
|
</details>
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
export declare const ProcedureModifier: core.serialization.Schema<serializers.ProcedureModifier.Raw, CandidApi.ProcedureModifier>;
|
|
5
5
|
export declare namespace ProcedureModifier {
|
|
6
|
-
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";
|
|
6
|
+
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" | "EV" | "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";
|
|
7
7
|
}
|
|
@@ -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
|
+
}
|