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
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.UniversalEncounterCreate = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const FacilityTypeCode_1 = require("../../commons/types/FacilityTypeCode");
|
|
40
|
+
const State_1 = require("../../commons/types/State");
|
|
41
|
+
const BillingProvider_1 = require("../../encounterProviders/resources/v2/types/BillingProvider");
|
|
42
|
+
const RenderingProvider_1 = require("../../encounterProviders/resources/v2/types/RenderingProvider");
|
|
43
|
+
const EncounterSubmissionExpectation_1 = require("../../encounters/resources/v4/types/EncounterSubmissionExpectation");
|
|
44
|
+
const HealthCareCodeInformationCreate_1 = require("../../healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate");
|
|
45
|
+
const UniversalServiceLineCreate_1 = require("../../serviceLines/resources/v2/types/UniversalServiceLineCreate");
|
|
46
|
+
const PatientDischargeStatusCode_1 = require("../../x12/resources/v1/types/PatientDischargeStatusCode");
|
|
47
|
+
const PointOfOriginForAdmissionOrVisitCode_1 = require("../../x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode");
|
|
48
|
+
const TypeOfAdmissionOrVisitCode_1 = require("../../x12/resources/v1/types/TypeOfAdmissionOrVisitCode");
|
|
49
|
+
const TypeOfBillCompositeUpdate_1 = require("../../x12/resources/v1/types/TypeOfBillCompositeUpdate");
|
|
50
|
+
const UniversalEncounterCreateBase_1 = require("./UniversalEncounterCreateBase");
|
|
51
|
+
exports.UniversalEncounterCreate = core.serialization
|
|
52
|
+
.object({
|
|
53
|
+
billingProvider: core.serialization.property("billing_provider", BillingProvider_1.BillingProvider),
|
|
54
|
+
placeOfServiceCode: core.serialization.property("place_of_service_code", FacilityTypeCode_1.FacilityTypeCode.optional()),
|
|
55
|
+
renderingProvider: core.serialization.property("rendering_provider", RenderingProvider_1.RenderingProvider.optional()),
|
|
56
|
+
serviceLines: core.serialization.property("service_lines", core.serialization.list(UniversalServiceLineCreate_1.UniversalServiceLineCreate).optional()),
|
|
57
|
+
healthCareCodeInformation: core.serialization.property("health_care_code_information", HealthCareCodeInformationCreate_1.HealthCareCodeInformationCreate.optional()),
|
|
58
|
+
submissionExpectation: core.serialization.property("submission_expectation", EncounterSubmissionExpectation_1.EncounterSubmissionExpectation),
|
|
59
|
+
attendingProvider: core.serialization.property("attending_provider", RenderingProvider_1.RenderingProvider.optional()),
|
|
60
|
+
admissionHour: core.serialization.property("admission_hour", core.serialization.number().optional()),
|
|
61
|
+
admissionTypeCode: core.serialization.property("admission_type_code", TypeOfAdmissionOrVisitCode_1.TypeOfAdmissionOrVisitCode.optional()),
|
|
62
|
+
admissionSourceCode: core.serialization.property("admission_source_code", PointOfOriginForAdmissionOrVisitCode_1.PointOfOriginForAdmissionOrVisitCode.optional()),
|
|
63
|
+
dischargeHour: core.serialization.property("discharge_hour", core.serialization.number().optional()),
|
|
64
|
+
dischargeStatus: core.serialization.property("discharge_status", PatientDischargeStatusCode_1.PatientDischargeStatusCode.optional()),
|
|
65
|
+
operatingProvider: core.serialization.property("operating_provider", RenderingProvider_1.RenderingProvider.optional()),
|
|
66
|
+
otherOperatingProvider: core.serialization.property("other_operating_provider", RenderingProvider_1.RenderingProvider.optional()),
|
|
67
|
+
typeOfBill: core.serialization.property("type_of_bill", TypeOfBillCompositeUpdate_1.TypeOfBillCompositeUpdate.optional()),
|
|
68
|
+
accidentStateOrProvinceCode: core.serialization.property("accident_state_or_province_code", State_1.State.optional()),
|
|
69
|
+
})
|
|
70
|
+
.extend(UniversalEncounterCreateBase_1.UniversalEncounterCreateBase);
|
|
@@ -0,0 +1,34 @@
|
|
|
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 { RenderingProvider } from "../../encounterProviders/resources/v2/types/RenderingProvider";
|
|
7
|
+
import { EncounterSubmissionExpectation } from "../../encounters/resources/v4/types/EncounterSubmissionExpectation";
|
|
8
|
+
import { HealthCareCodeInformationCreate } from "../../healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate";
|
|
9
|
+
import { UniversalServiceLineCreate } from "../../serviceLines/resources/v2/types/UniversalServiceLineCreate";
|
|
10
|
+
import { PatientDischargeStatusCode } from "../../x12/resources/v1/types/PatientDischargeStatusCode";
|
|
11
|
+
import { PointOfOriginForAdmissionOrVisitCode } from "../../x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode";
|
|
12
|
+
import { TypeOfAdmissionOrVisitCode } from "../../x12/resources/v1/types/TypeOfAdmissionOrVisitCode";
|
|
13
|
+
import { TypeOfBillCompositeUpdate } from "../../x12/resources/v1/types/TypeOfBillCompositeUpdate";
|
|
14
|
+
import { UniversalEncounterCreateFromPreEncounterBase } from "./UniversalEncounterCreateFromPreEncounterBase";
|
|
15
|
+
export declare const UniversalEncounterCreateFromPreEncounter: core.serialization.ObjectSchema<serializers.encountersUniversal.UniversalEncounterCreateFromPreEncounter.Raw, CandidApi.encountersUniversal.UniversalEncounterCreateFromPreEncounter>;
|
|
16
|
+
export declare namespace UniversalEncounterCreateFromPreEncounter {
|
|
17
|
+
interface Raw extends UniversalEncounterCreateFromPreEncounterBase.Raw {
|
|
18
|
+
submission_expectation: EncounterSubmissionExpectation.Raw;
|
|
19
|
+
rendering_provider?: RenderingProvider.Raw | null;
|
|
20
|
+
health_care_code_information?: HealthCareCodeInformationCreate.Raw | null;
|
|
21
|
+
place_of_service_code?: FacilityTypeCode.Raw | null;
|
|
22
|
+
service_lines?: UniversalServiceLineCreate.Raw[] | null;
|
|
23
|
+
attending_provider?: RenderingProvider.Raw | null;
|
|
24
|
+
admission_hour?: number | null;
|
|
25
|
+
admission_type_code?: TypeOfAdmissionOrVisitCode.Raw | null;
|
|
26
|
+
admission_source_code?: PointOfOriginForAdmissionOrVisitCode.Raw | null;
|
|
27
|
+
discharge_hour?: number | null;
|
|
28
|
+
discharge_status?: PatientDischargeStatusCode.Raw | null;
|
|
29
|
+
operating_provider?: RenderingProvider.Raw | null;
|
|
30
|
+
other_operating_provider?: RenderingProvider.Raw | null;
|
|
31
|
+
type_of_bill?: TypeOfBillCompositeUpdate.Raw | null;
|
|
32
|
+
accident_state_or_province_code?: State.Raw | null;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.UniversalEncounterCreateFromPreEncounter = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const FacilityTypeCode_1 = require("../../commons/types/FacilityTypeCode");
|
|
40
|
+
const State_1 = require("../../commons/types/State");
|
|
41
|
+
const RenderingProvider_1 = require("../../encounterProviders/resources/v2/types/RenderingProvider");
|
|
42
|
+
const EncounterSubmissionExpectation_1 = require("../../encounters/resources/v4/types/EncounterSubmissionExpectation");
|
|
43
|
+
const HealthCareCodeInformationCreate_1 = require("../../healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate");
|
|
44
|
+
const UniversalServiceLineCreate_1 = require("../../serviceLines/resources/v2/types/UniversalServiceLineCreate");
|
|
45
|
+
const PatientDischargeStatusCode_1 = require("../../x12/resources/v1/types/PatientDischargeStatusCode");
|
|
46
|
+
const PointOfOriginForAdmissionOrVisitCode_1 = require("../../x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode");
|
|
47
|
+
const TypeOfAdmissionOrVisitCode_1 = require("../../x12/resources/v1/types/TypeOfAdmissionOrVisitCode");
|
|
48
|
+
const TypeOfBillCompositeUpdate_1 = require("../../x12/resources/v1/types/TypeOfBillCompositeUpdate");
|
|
49
|
+
const UniversalEncounterCreateFromPreEncounterBase_1 = require("./UniversalEncounterCreateFromPreEncounterBase");
|
|
50
|
+
exports.UniversalEncounterCreateFromPreEncounter = core.serialization
|
|
51
|
+
.object({
|
|
52
|
+
submissionExpectation: core.serialization.property("submission_expectation", EncounterSubmissionExpectation_1.EncounterSubmissionExpectation),
|
|
53
|
+
renderingProvider: core.serialization.property("rendering_provider", RenderingProvider_1.RenderingProvider.optional()),
|
|
54
|
+
healthCareCodeInformation: core.serialization.property("health_care_code_information", HealthCareCodeInformationCreate_1.HealthCareCodeInformationCreate.optional()),
|
|
55
|
+
placeOfServiceCode: core.serialization.property("place_of_service_code", FacilityTypeCode_1.FacilityTypeCode.optional()),
|
|
56
|
+
serviceLines: core.serialization.property("service_lines", core.serialization.list(UniversalServiceLineCreate_1.UniversalServiceLineCreate).optional()),
|
|
57
|
+
attendingProvider: core.serialization.property("attending_provider", RenderingProvider_1.RenderingProvider.optional()),
|
|
58
|
+
admissionHour: core.serialization.property("admission_hour", core.serialization.number().optional()),
|
|
59
|
+
admissionTypeCode: core.serialization.property("admission_type_code", TypeOfAdmissionOrVisitCode_1.TypeOfAdmissionOrVisitCode.optional()),
|
|
60
|
+
admissionSourceCode: core.serialization.property("admission_source_code", PointOfOriginForAdmissionOrVisitCode_1.PointOfOriginForAdmissionOrVisitCode.optional()),
|
|
61
|
+
dischargeHour: core.serialization.property("discharge_hour", core.serialization.number().optional()),
|
|
62
|
+
dischargeStatus: core.serialization.property("discharge_status", PatientDischargeStatusCode_1.PatientDischargeStatusCode.optional()),
|
|
63
|
+
operatingProvider: core.serialization.property("operating_provider", RenderingProvider_1.RenderingProvider.optional()),
|
|
64
|
+
otherOperatingProvider: core.serialization.property("other_operating_provider", RenderingProvider_1.RenderingProvider.optional()),
|
|
65
|
+
typeOfBill: core.serialization.property("type_of_bill", TypeOfBillCompositeUpdate_1.TypeOfBillCompositeUpdate.optional()),
|
|
66
|
+
accidentStateOrProvinceCode: core.serialization.property("accident_state_or_province_code", State_1.State.optional()),
|
|
67
|
+
})
|
|
68
|
+
.extend(UniversalEncounterCreateFromPreEncounterBase_1.UniversalEncounterCreateFromPreEncounterBase);
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { State } from "../../commons/types/State";
|
|
5
|
+
import { RenderingProviderUpdate } from "../../encounterProviders/resources/v2/types/RenderingProviderUpdate";
|
|
6
|
+
import { EncounterSubmissionExpectation } from "../../encounters/resources/v4/types/EncounterSubmissionExpectation";
|
|
7
|
+
import { HealthCareCodeInformationUpdate } from "../../healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate";
|
|
8
|
+
import { PatientDischargeStatusCode } from "../../x12/resources/v1/types/PatientDischargeStatusCode";
|
|
9
|
+
import { PointOfOriginForAdmissionOrVisitCode } from "../../x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode";
|
|
10
|
+
import { TypeOfAdmissionOrVisitCode } from "../../x12/resources/v1/types/TypeOfAdmissionOrVisitCode";
|
|
11
|
+
import { TypeOfBillCompositeUpdate } from "../../x12/resources/v1/types/TypeOfBillCompositeUpdate";
|
|
12
|
+
import { UniversalEncounterUpdateBase } from "./UniversalEncounterUpdateBase";
|
|
13
|
+
export declare const UniversalEncounterUpdate: core.serialization.ObjectSchema<serializers.encountersUniversal.UniversalEncounterUpdate.Raw, CandidApi.encountersUniversal.UniversalEncounterUpdate>;
|
|
14
|
+
export declare namespace UniversalEncounterUpdate {
|
|
15
|
+
interface Raw extends UniversalEncounterUpdateBase.Raw {
|
|
16
|
+
health_care_code_information?: HealthCareCodeInformationUpdate.Raw | null;
|
|
17
|
+
attending_provider?: RenderingProviderUpdate.Raw | null;
|
|
18
|
+
admission_hour?: number | null;
|
|
19
|
+
admission_type_code?: TypeOfAdmissionOrVisitCode.Raw | null;
|
|
20
|
+
admission_source_code?: PointOfOriginForAdmissionOrVisitCode.Raw | null;
|
|
21
|
+
discharge_hour?: number | null;
|
|
22
|
+
discharge_status?: PatientDischargeStatusCode.Raw | null;
|
|
23
|
+
operating_provider?: RenderingProviderUpdate.Raw | null;
|
|
24
|
+
other_operating_provider?: RenderingProviderUpdate.Raw | null;
|
|
25
|
+
type_of_bill?: TypeOfBillCompositeUpdate.Raw | null;
|
|
26
|
+
accident_state_or_province_code?: State.Raw | null;
|
|
27
|
+
submission_expectation?: EncounterSubmissionExpectation.Raw | null;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.UniversalEncounterUpdate = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../core"));
|
|
39
|
+
const State_1 = require("../../commons/types/State");
|
|
40
|
+
const RenderingProviderUpdate_1 = require("../../encounterProviders/resources/v2/types/RenderingProviderUpdate");
|
|
41
|
+
const EncounterSubmissionExpectation_1 = require("../../encounters/resources/v4/types/EncounterSubmissionExpectation");
|
|
42
|
+
const HealthCareCodeInformationUpdate_1 = require("../../healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationUpdate");
|
|
43
|
+
const PatientDischargeStatusCode_1 = require("../../x12/resources/v1/types/PatientDischargeStatusCode");
|
|
44
|
+
const PointOfOriginForAdmissionOrVisitCode_1 = require("../../x12/resources/v1/types/PointOfOriginForAdmissionOrVisitCode");
|
|
45
|
+
const TypeOfAdmissionOrVisitCode_1 = require("../../x12/resources/v1/types/TypeOfAdmissionOrVisitCode");
|
|
46
|
+
const TypeOfBillCompositeUpdate_1 = require("../../x12/resources/v1/types/TypeOfBillCompositeUpdate");
|
|
47
|
+
const UniversalEncounterUpdateBase_1 = require("./UniversalEncounterUpdateBase");
|
|
48
|
+
exports.UniversalEncounterUpdate = core.serialization
|
|
49
|
+
.object({
|
|
50
|
+
healthCareCodeInformation: core.serialization.property("health_care_code_information", HealthCareCodeInformationUpdate_1.HealthCareCodeInformationUpdate.optional()),
|
|
51
|
+
attendingProvider: core.serialization.property("attending_provider", RenderingProviderUpdate_1.RenderingProviderUpdate.optional()),
|
|
52
|
+
admissionHour: core.serialization.property("admission_hour", core.serialization.number().optional()),
|
|
53
|
+
admissionTypeCode: core.serialization.property("admission_type_code", TypeOfAdmissionOrVisitCode_1.TypeOfAdmissionOrVisitCode.optional()),
|
|
54
|
+
admissionSourceCode: core.serialization.property("admission_source_code", PointOfOriginForAdmissionOrVisitCode_1.PointOfOriginForAdmissionOrVisitCode.optional()),
|
|
55
|
+
dischargeHour: core.serialization.property("discharge_hour", core.serialization.number().optional()),
|
|
56
|
+
dischargeStatus: core.serialization.property("discharge_status", PatientDischargeStatusCode_1.PatientDischargeStatusCode.optional()),
|
|
57
|
+
operatingProvider: core.serialization.property("operating_provider", RenderingProviderUpdate_1.RenderingProviderUpdate.optional()),
|
|
58
|
+
otherOperatingProvider: core.serialization.property("other_operating_provider", RenderingProviderUpdate_1.RenderingProviderUpdate.optional()),
|
|
59
|
+
typeOfBill: core.serialization.property("type_of_bill", TypeOfBillCompositeUpdate_1.TypeOfBillCompositeUpdate.optional()),
|
|
60
|
+
accidentStateOrProvinceCode: core.serialization.property("accident_state_or_province_code", State_1.State.optional()),
|
|
61
|
+
submissionExpectation: core.serialization.property("submission_expectation", EncounterSubmissionExpectation_1.EncounterSubmissionExpectation.optional()),
|
|
62
|
+
})
|
|
63
|
+
.extend(UniversalEncounterUpdateBase_1.UniversalEncounterUpdateBase);
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
export * from "./UniversalEncounterCreate";
|
|
1
2
|
export * from "./UniversalEncounterCreateBase";
|
|
3
|
+
export * from "./UniversalEncounterCreateFromPreEncounter";
|
|
2
4
|
export * from "./UniversalEncounterCreateFromPreEncounterBase";
|
|
5
|
+
export * from "./UniversalEncounterUpdate";
|
|
3
6
|
export * from "./UniversalEncounterUpdateBase";
|
|
@@ -14,6 +14,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./UniversalEncounterCreate"), exports);
|
|
17
18
|
__exportStar(require("./UniversalEncounterCreateBase"), exports);
|
|
19
|
+
__exportStar(require("./UniversalEncounterCreateFromPreEncounter"), exports);
|
|
18
20
|
__exportStar(require("./UniversalEncounterCreateFromPreEncounterBase"), exports);
|
|
21
|
+
__exportStar(require("./UniversalEncounterUpdate"), exports);
|
|
19
22
|
__exportStar(require("./UniversalEncounterUpdateBase"), exports);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../index";
|
|
4
|
+
import { AdmittingDiagnosisCodeQualifier } from "./AdmittingDiagnosisCodeQualifier";
|
|
5
|
+
import { HealthCareCodeInformationNew } from "./HealthCareCodeInformationNew";
|
|
6
|
+
import { IcdCode } from "./IcdCode";
|
|
7
|
+
export declare const AdmittingDiagnosisNew: core.serialization.ObjectSchema<serializers.healthCareCodeInformation.v1.AdmittingDiagnosisNew.Raw, CandidApi.healthCareCodeInformation.v1.AdmittingDiagnosisNew>;
|
|
8
|
+
export declare namespace AdmittingDiagnosisNew {
|
|
9
|
+
interface Raw extends HealthCareCodeInformationNew.Raw {
|
|
10
|
+
admitting_diagnosis_code_qualifier: AdmittingDiagnosisCodeQualifier.Raw;
|
|
11
|
+
admitting_diagnosis_code: IcdCode.Raw;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.AdmittingDiagnosisNew = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../core"));
|
|
39
|
+
const AdmittingDiagnosisCodeQualifier_1 = require("./AdmittingDiagnosisCodeQualifier");
|
|
40
|
+
const HealthCareCodeInformationNew_1 = require("./HealthCareCodeInformationNew");
|
|
41
|
+
const IcdCode_1 = require("./IcdCode");
|
|
42
|
+
exports.AdmittingDiagnosisNew = core.serialization
|
|
43
|
+
.object({
|
|
44
|
+
admittingDiagnosisCodeQualifier: core.serialization.property("admitting_diagnosis_code_qualifier", AdmittingDiagnosisCodeQualifier_1.AdmittingDiagnosisCodeQualifier),
|
|
45
|
+
admittingDiagnosisCode: core.serialization.property("admitting_diagnosis_code", IcdCode_1.IcdCode),
|
|
46
|
+
})
|
|
47
|
+
.extend(HealthCareCodeInformationNew_1.HealthCareCodeInformationNew);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../index";
|
|
4
|
+
import { ConditionCode } from "./ConditionCode";
|
|
5
|
+
import { ConditionInformationCodeQualifier } from "./ConditionInformationCodeQualifier";
|
|
6
|
+
import { HealthCareCodeInformationNew } from "./HealthCareCodeInformationNew";
|
|
7
|
+
export declare const ConditionInformationNew: core.serialization.ObjectSchema<serializers.healthCareCodeInformation.v1.ConditionInformationNew.Raw, CandidApi.healthCareCodeInformation.v1.ConditionInformationNew>;
|
|
8
|
+
export declare namespace ConditionInformationNew {
|
|
9
|
+
interface Raw extends HealthCareCodeInformationNew.Raw {
|
|
10
|
+
condition_code_qualifier: ConditionInformationCodeQualifier.Raw;
|
|
11
|
+
condition_code: ConditionCode.Raw;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.ConditionInformationNew = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../core"));
|
|
39
|
+
const ConditionCode_1 = require("./ConditionCode");
|
|
40
|
+
const ConditionInformationCodeQualifier_1 = require("./ConditionInformationCodeQualifier");
|
|
41
|
+
const HealthCareCodeInformationNew_1 = require("./HealthCareCodeInformationNew");
|
|
42
|
+
exports.ConditionInformationNew = core.serialization
|
|
43
|
+
.object({
|
|
44
|
+
conditionCodeQualifier: core.serialization.property("condition_code_qualifier", ConditionInformationCodeQualifier_1.ConditionInformationCodeQualifier),
|
|
45
|
+
conditionCode: core.serialization.property("condition_code", ConditionCode_1.ConditionCode),
|
|
46
|
+
})
|
|
47
|
+
.extend(HealthCareCodeInformationNew_1.HealthCareCodeInformationNew);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../../index";
|
|
4
|
+
import { DiagnosisRelatedGroupCodeQualifier } from "./DiagnosisRelatedGroupCodeQualifier";
|
|
5
|
+
import { HealthCareCodeInformationNew } from "./HealthCareCodeInformationNew";
|
|
6
|
+
import { MsdrgCode } from "./MsdrgCode";
|
|
7
|
+
export declare const DiagnosisRelatedGroupNew: core.serialization.ObjectSchema<serializers.healthCareCodeInformation.v1.DiagnosisRelatedGroupNew.Raw, CandidApi.healthCareCodeInformation.v1.DiagnosisRelatedGroupNew>;
|
|
8
|
+
export declare namespace DiagnosisRelatedGroupNew {
|
|
9
|
+
interface Raw extends HealthCareCodeInformationNew.Raw {
|
|
10
|
+
diagnosis_related_group_code_qualifier: DiagnosisRelatedGroupCodeQualifier.Raw;
|
|
11
|
+
diagnosis_related_group_code: MsdrgCode.Raw;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.DiagnosisRelatedGroupNew = void 0;
|
|
38
|
+
const core = __importStar(require("../../../../../../core"));
|
|
39
|
+
const DiagnosisRelatedGroupCodeQualifier_1 = require("./DiagnosisRelatedGroupCodeQualifier");
|
|
40
|
+
const HealthCareCodeInformationNew_1 = require("./HealthCareCodeInformationNew");
|
|
41
|
+
const MsdrgCode_1 = require("./MsdrgCode");
|
|
42
|
+
exports.DiagnosisRelatedGroupNew = core.serialization
|
|
43
|
+
.object({
|
|
44
|
+
diagnosisRelatedGroupCodeQualifier: core.serialization.property("diagnosis_related_group_code_qualifier", DiagnosisRelatedGroupCodeQualifier_1.DiagnosisRelatedGroupCodeQualifier),
|
|
45
|
+
diagnosisRelatedGroupCode: core.serialization.property("diagnosis_related_group_code", MsdrgCode_1.MsdrgCode),
|
|
46
|
+
})
|
|
47
|
+
.extend(HealthCareCodeInformationNew_1.HealthCareCodeInformationNew);
|