candidhealth 1.12.1 → 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 +3 -3
- package/Client.js +53 -53
- package/api/resources/commons/types/ProcedureModifier.d.ts +3 -0
- package/api/resources/commons/types/ProcedureModifier.js +3 -0
- package/api/resources/commons/types/index.d.ts +2 -0
- package/api/resources/commons/types/index.js +2 -0
- package/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +12 -1
- package/api/resources/encounterAttachments/resources/v1/client/Client.js +64 -1
- package/api/resources/encounterAttachments/resources/v1/client/createWithDescription.d.ts +19 -0
- package/api/resources/encounterAttachments/resources/v1/client/createWithDescription.js +55 -0
- package/api/resources/encounterAttachments/resources/v1/client/index.d.ts +1 -0
- package/api/resources/encounterAttachments/resources/v1/client/index.js +2 -1
- package/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentV2Request.d.ts +5 -0
- package/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentV2Request.js +3 -0
- package/api/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +2 -0
- package/api/resources/encounterSupplementalInformation/client/Client.d.ts +14 -0
- package/api/resources/encounterSupplementalInformation/client/Client.js +15 -0
- package/api/resources/encounterSupplementalInformation/client/index.d.ts +1 -0
- package/api/resources/encounterSupplementalInformation/client/index.js +2 -0
- package/api/resources/encounterSupplementalInformation/index.d.ts +2 -0
- package/api/resources/encounterSupplementalInformation/index.js +18 -0
- package/api/resources/encounterSupplementalInformation/resources/index.d.ts +1 -0
- package/{dist/api/resources/serviceFacility/client → api/resources/encounterSupplementalInformation/resources}/index.js +2 -2
- package/api/resources/encounterSupplementalInformation/resources/v1/client/Client.d.ts +59 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/client/Client.js +328 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/client/create.d.ts +25 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/client/create.js +66 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/client/delete.d.ts +25 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/client/delete.js +66 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/client/get.d.ts +19 -0
- package/api/resources/{serviceFacility/client/update.js → encounterSupplementalInformation/resources/v1/client/get.js} +2 -2
- package/api/resources/encounterSupplementalInformation/resources/v1/client/index.d.ts +4 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/client/index.js +40 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/client/update.d.ts +25 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/client/update.js +66 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/index.d.ts +2 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/index.js +18 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/types/AttachmentInclusion.d.ts +6 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/types/AttachmentInclusion.js +9 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/types/CreateSupplementalInformationRequest.d.ts +8 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/types/CreateSupplementalInformationRequest.js +3 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformation.d.ts +10 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformation.js +3 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformationId.d.ts +5 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformationId.js +7 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/types/UpdateSupplementalInformationRequest.d.ts +8 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/types/UpdateSupplementalInformationRequest.js +3 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/types/index.d.ts +5 -0
- package/api/resources/encounterSupplementalInformation/resources/v1/types/index.js +21 -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/encounters/resources/v4/types/ClaimSupplementalInformation.d.ts +2 -2
- package/api/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.d.ts +2 -2
- package/api/resources/encounters/resources/v4/types/index.d.ts +0 -2
- package/api/resources/encounters/resources/v4/types/index.js +0 -2
- 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/index.d.ts +2 -0
- package/api/resources/index.js +4 -2
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +2 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +2 -0
- package/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +2 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +1 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +2 -2
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +6 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientScanRequest.d.ts +1 -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/users/index.d.ts +1 -0
- package/api/resources/users/index.js +17 -0
- package/api/resources/users/resources/index.d.ts +1 -0
- package/api/resources/{serviceFacility/client → users/resources}/index.js +2 -2
- package/api/resources/users/resources/v2/index.d.ts +1 -0
- package/api/resources/users/resources/v2/index.js +17 -0
- package/api/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +9 -0
- package/api/resources/users/resources/v2/types/AuthZeroMetadata.js +3 -0
- package/api/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +3 -0
- package/api/resources/users/resources/v2/types/GoogleAppsMetadata.js +3 -0
- package/api/resources/users/resources/v2/types/HumanUserMetadata.d.ts +13 -0
- package/api/resources/users/resources/v2/types/HumanUserMetadata.js +3 -0
- package/api/resources/users/resources/v2/types/IdpUserMetadata.d.ts +20 -0
- package/api/resources/users/resources/v2/types/IdpUserMetadata.js +3 -0
- package/api/resources/users/resources/v2/types/MachineUserMetadata.d.ts +3 -0
- package/api/resources/users/resources/v2/types/MachineUserMetadata.js +3 -0
- package/api/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +3 -0
- package/api/resources/users/resources/v2/types/OtherIdpMetadata.js +3 -0
- package/api/resources/users/resources/v2/types/UserMetadata.d.ts +19 -0
- package/api/resources/users/resources/v2/types/UserMetadata.js +3 -0
- package/api/resources/users/resources/v2/types/UserV2.d.ts +24 -0
- package/api/resources/users/resources/v2/types/UserV2.js +3 -0
- package/api/resources/users/resources/v2/types/index.d.ts +8 -0
- package/api/resources/users/resources/v2/types/index.js +24 -0
- package/api/resources/x12/resources/v1/types/Carc.d.ts +1 -0
- package/api/resources/x12/resources/v1/types/Carc.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 +3 -3
- package/dist/Client.js +53 -53
- package/dist/api/resources/commons/types/ProcedureModifier.d.ts +3 -0
- package/dist/api/resources/commons/types/ProcedureModifier.js +3 -0
- package/dist/api/resources/commons/types/index.d.ts +2 -0
- package/dist/api/resources/commons/types/index.js +2 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +12 -1
- package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +64 -1
- package/dist/api/resources/encounterAttachments/resources/v1/client/createWithDescription.d.ts +19 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/createWithDescription.js +55 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/index.js +2 -1
- package/dist/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentV2Request.d.ts +5 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentV2Request.js +3 -0
- package/dist/api/resources/encounterAttachments/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +2 -0
- package/dist/api/resources/encounterSupplementalInformation/client/Client.d.ts +14 -0
- package/dist/api/resources/encounterSupplementalInformation/client/Client.js +15 -0
- package/dist/api/resources/encounterSupplementalInformation/client/index.d.ts +1 -0
- package/dist/api/resources/encounterSupplementalInformation/client/index.js +2 -0
- package/dist/api/resources/encounterSupplementalInformation/index.d.ts +2 -0
- package/dist/api/resources/encounterSupplementalInformation/index.js +18 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/index.d.ts +1 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/index.js +37 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/client/Client.d.ts +59 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/client/Client.js +328 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/client/create.d.ts +25 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/client/create.js +66 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/client/delete.d.ts +25 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/client/delete.js +66 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/client/get.d.ts +19 -0
- package/dist/api/resources/{serviceFacility/client/update.js → encounterSupplementalInformation/resources/v1/client/get.js} +2 -2
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/client/index.d.ts +4 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/client/index.js +40 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/client/update.d.ts +25 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/client/update.js +66 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/index.js +18 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/types/AttachmentInclusion.d.ts +6 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/types/AttachmentInclusion.js +9 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/types/CreateSupplementalInformationRequest.d.ts +8 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/types/CreateSupplementalInformationRequest.js +3 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformation.d.ts +10 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformation.js +3 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformationId.d.ts +5 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformationId.js +7 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/types/UpdateSupplementalInformationRequest.d.ts +8 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/types/UpdateSupplementalInformationRequest.js +3 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/types/index.d.ts +5 -0
- package/dist/api/resources/encounterSupplementalInformation/resources/v1/types/index.js +21 -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/encounters/resources/v4/types/ClaimSupplementalInformation.d.ts +2 -2
- package/dist/api/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.d.ts +2 -2
- package/dist/api/resources/encounters/resources/v4/types/index.d.ts +0 -2
- package/dist/api/resources/encounters/resources/v4/types/index.js +0 -2
- 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/index.d.ts +2 -0
- package/dist/api/resources/index.js +4 -2
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +2 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +2 -0
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +2 -2
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +6 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientScanRequest.d.ts +1 -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/users/index.d.ts +1 -0
- package/dist/api/resources/users/index.js +17 -0
- package/dist/api/resources/users/resources/index.d.ts +1 -0
- package/dist/api/resources/users/resources/index.js +37 -0
- package/dist/api/resources/users/resources/v2/index.d.ts +1 -0
- package/dist/api/resources/users/resources/v2/index.js +17 -0
- package/dist/api/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +9 -0
- package/dist/api/resources/users/resources/v2/types/AuthZeroMetadata.js +3 -0
- package/dist/api/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +3 -0
- package/dist/api/resources/users/resources/v2/types/GoogleAppsMetadata.js +3 -0
- package/dist/api/resources/users/resources/v2/types/HumanUserMetadata.d.ts +13 -0
- package/dist/api/resources/users/resources/v2/types/HumanUserMetadata.js +3 -0
- package/dist/api/resources/users/resources/v2/types/IdpUserMetadata.d.ts +20 -0
- package/dist/api/resources/users/resources/v2/types/IdpUserMetadata.js +3 -0
- package/dist/api/resources/users/resources/v2/types/MachineUserMetadata.d.ts +3 -0
- package/dist/api/resources/users/resources/v2/types/MachineUserMetadata.js +3 -0
- package/dist/api/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +3 -0
- package/dist/api/resources/users/resources/v2/types/OtherIdpMetadata.js +3 -0
- package/dist/api/resources/users/resources/v2/types/UserMetadata.d.ts +19 -0
- package/dist/api/resources/users/resources/v2/types/UserMetadata.js +3 -0
- package/dist/api/resources/users/resources/v2/types/UserV2.d.ts +24 -0
- package/dist/api/resources/users/resources/v2/types/UserV2.js +3 -0
- package/dist/api/resources/users/resources/v2/types/index.d.ts +8 -0
- package/dist/api/resources/users/resources/v2/types/index.js +24 -0
- package/dist/api/resources/x12/resources/v1/types/Carc.d.ts +1 -0
- package/dist/api/resources/x12/resources/v1/types/Carc.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/commons/types/ReportTransmissionCode.d.ts +7 -0
- package/dist/serialization/resources/{encounters/resources/v4 → commons}/types/ReportTransmissionCode.js +1 -1
- package/{serialization/resources/encounters/resources/v4 → dist/serialization/resources/commons}/types/ReportTypeCode.d.ts +4 -4
- package/{serialization/resources/encounters/resources/v4 → dist/serialization/resources/commons}/types/ReportTypeCode.js +1 -1
- package/dist/serialization/resources/commons/types/index.d.ts +2 -0
- package/dist/serialization/resources/commons/types/index.js +2 -0
- package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +3 -0
- package/dist/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js +3 -0
- package/dist/serialization/resources/encounterSupplementalInformation/index.d.ts +1 -0
- package/dist/serialization/resources/encounterSupplementalInformation/index.js +17 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/index.d.ts +1 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/index.js +37 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/client/create.d.ts +12 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/client/create.js +69 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/client/delete.d.ts +12 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/client/delete.js +69 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/client/get.d.ts +8 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/client/get.js +40 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/client/index.d.ts +4 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/client/index.js +40 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/client/update.d.ts +12 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/client/update.js +69 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/index.d.ts +2 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/index.js +18 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/types/AttachmentInclusion.d.ts +7 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/types/AttachmentInclusion.js +39 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/types/CreateSupplementalInformationRequest.d.ts +17 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/types/CreateSupplementalInformationRequest.js +49 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformation.d.ts +21 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformation.js +53 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformationId.d.ts +7 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformationId.js +43 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/types/UpdateSupplementalInformationRequest.d.ts +17 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/types/UpdateSupplementalInformationRequest.js +49 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/types/index.d.ts +5 -0
- package/dist/serialization/resources/encounterSupplementalInformation/resources/v1/types/index.js +21 -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/encounters/resources/v4/types/ClaimSupplementalInformation.d.ts +2 -2
- package/dist/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformation.js +2 -2
- package/dist/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.d.ts +2 -2
- package/dist/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.js +2 -2
- package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +0 -2
- package/dist/serialization/resources/encounters/resources/v4/types/index.js +0 -2
- 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/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +4 -2
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +1 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.js +1 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +1 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.js +1 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +1 -0
- package/dist/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.js +2 -2
- package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +12 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +46 -0
- 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/users/index.d.ts +1 -0
- package/dist/serialization/resources/users/index.js +17 -0
- package/dist/serialization/resources/users/resources/index.d.ts +1 -0
- package/dist/serialization/resources/users/resources/index.js +37 -0
- package/dist/serialization/resources/users/resources/v2/index.d.ts +1 -0
- package/dist/serialization/resources/users/resources/v2/index.js +17 -0
- package/dist/serialization/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +9 -0
- package/dist/serialization/resources/users/resources/v2/types/AuthZeroMetadata.js +41 -0
- package/dist/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +9 -0
- package/dist/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.js +41 -0
- package/dist/serialization/resources/users/resources/v2/types/HumanUserMetadata.d.ts +11 -0
- package/dist/serialization/resources/users/resources/v2/types/HumanUserMetadata.js +43 -0
- package/dist/serialization/resources/users/resources/v2/types/IdpUserMetadata.d.ts +19 -0
- package/dist/serialization/resources/users/resources/v2/types/IdpUserMetadata.js +51 -0
- package/dist/serialization/resources/users/resources/v2/types/MachineUserMetadata.d.ts +9 -0
- package/dist/serialization/resources/users/resources/v2/types/MachineUserMetadata.js +41 -0
- package/dist/serialization/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +9 -0
- package/dist/serialization/resources/users/resources/v2/types/OtherIdpMetadata.js +41 -0
- package/dist/serialization/resources/users/resources/v2/types/UserMetadata.d.ts +15 -0
- package/dist/serialization/resources/users/resources/v2/types/UserMetadata.js +49 -0
- package/dist/serialization/resources/users/resources/v2/types/UserV2.d.ts +16 -0
- package/dist/serialization/resources/users/resources/v2/types/UserV2.js +48 -0
- package/dist/serialization/resources/users/resources/v2/types/index.d.ts +8 -0
- package/dist/serialization/resources/users/resources/v2/types/index.js +24 -0
- package/dist/serialization/resources/x12/resources/v1/types/Carc.d.ts +1 -1
- package/dist/serialization/resources/x12/resources/v1/types/Carc.js +1 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +15 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js +50 -0
- 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 +471 -60
- package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
- package/serialization/resources/commons/types/ProcedureModifier.js +1 -0
- package/serialization/resources/commons/types/ReportTransmissionCode.d.ts +7 -0
- package/serialization/resources/{encounters/resources/v4 → commons}/types/ReportTransmissionCode.js +1 -1
- package/{dist/serialization/resources/encounters/resources/v4 → serialization/resources/commons}/types/ReportTypeCode.d.ts +4 -4
- package/{dist/serialization/resources/encounters/resources/v4 → serialization/resources/commons}/types/ReportTypeCode.js +1 -1
- package/serialization/resources/commons/types/index.d.ts +2 -0
- package/serialization/resources/commons/types/index.js +2 -0
- package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.d.ts +3 -0
- package/serialization/resources/encounterAttachments/resources/v1/types/EncounterAttachment.js +3 -0
- package/serialization/resources/encounterSupplementalInformation/index.d.ts +1 -0
- package/serialization/resources/encounterSupplementalInformation/index.js +17 -0
- package/serialization/resources/encounterSupplementalInformation/resources/index.d.ts +1 -0
- package/serialization/resources/encounterSupplementalInformation/resources/index.js +37 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/client/create.d.ts +12 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/client/create.js +69 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/client/delete.d.ts +12 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/client/delete.js +69 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/client/get.d.ts +8 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/client/get.js +40 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/client/index.d.ts +4 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/client/index.js +40 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/client/update.d.ts +12 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/client/update.js +69 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/index.d.ts +2 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/index.js +18 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/types/AttachmentInclusion.d.ts +7 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/types/AttachmentInclusion.js +39 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/types/CreateSupplementalInformationRequest.d.ts +17 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/types/CreateSupplementalInformationRequest.js +49 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformation.d.ts +21 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformation.js +53 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformationId.d.ts +7 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/types/SupplementalInformationId.js +43 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/types/UpdateSupplementalInformationRequest.d.ts +17 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/types/UpdateSupplementalInformationRequest.js +49 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/types/index.d.ts +5 -0
- package/serialization/resources/encounterSupplementalInformation/resources/v1/types/index.js +21 -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/encounters/resources/v4/types/ClaimSupplementalInformation.d.ts +2 -2
- package/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformation.js +2 -2
- package/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.d.ts +2 -2
- package/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.js +2 -2
- package/serialization/resources/encounters/resources/v4/types/index.d.ts +0 -2
- package/serialization/resources/encounters/resources/v4/types/index.js +0 -2
- 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/index.d.ts +2 -0
- package/serialization/resources/index.js +4 -2
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.d.ts +1 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacility.js +1 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.d.ts +1 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityCreate.js +1 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.d.ts +1 -0
- package/serialization/resources/organizationServiceFacilities/resources/v2/types/OrganizationServiceFacilityUpdate.js +1 -0
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/appointments/resources/v1/types/Visit.js +2 -2
- package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +12 -0
- package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +46 -0
- 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/users/index.d.ts +1 -0
- package/serialization/resources/users/index.js +17 -0
- package/serialization/resources/users/resources/index.d.ts +1 -0
- package/serialization/resources/users/resources/index.js +37 -0
- package/serialization/resources/users/resources/v2/index.d.ts +1 -0
- package/serialization/resources/users/resources/v2/index.js +17 -0
- package/serialization/resources/users/resources/v2/types/AuthZeroMetadata.d.ts +9 -0
- package/serialization/resources/users/resources/v2/types/AuthZeroMetadata.js +41 -0
- package/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.d.ts +9 -0
- package/serialization/resources/users/resources/v2/types/GoogleAppsMetadata.js +41 -0
- package/serialization/resources/users/resources/v2/types/HumanUserMetadata.d.ts +11 -0
- package/serialization/resources/users/resources/v2/types/HumanUserMetadata.js +43 -0
- package/serialization/resources/users/resources/v2/types/IdpUserMetadata.d.ts +19 -0
- package/serialization/resources/users/resources/v2/types/IdpUserMetadata.js +51 -0
- package/serialization/resources/users/resources/v2/types/MachineUserMetadata.d.ts +9 -0
- package/serialization/resources/users/resources/v2/types/MachineUserMetadata.js +41 -0
- package/serialization/resources/users/resources/v2/types/OtherIdpMetadata.d.ts +9 -0
- package/serialization/resources/users/resources/v2/types/OtherIdpMetadata.js +41 -0
- package/serialization/resources/users/resources/v2/types/UserMetadata.d.ts +15 -0
- package/serialization/resources/users/resources/v2/types/UserMetadata.js +49 -0
- package/serialization/resources/users/resources/v2/types/UserV2.d.ts +16 -0
- package/serialization/resources/users/resources/v2/types/UserV2.js +48 -0
- package/serialization/resources/users/resources/v2/types/index.d.ts +8 -0
- package/serialization/resources/users/resources/v2/types/index.js +24 -0
- package/serialization/resources/x12/resources/v1/types/Carc.d.ts +1 -1
- package/serialization/resources/x12/resources/v1/types/Carc.js +1 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +15 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js +50 -0
- 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/dist/serialization/resources/encounters/resources/v4/types/ReportTransmissionCode.d.ts +0 -7
- package/serialization/resources/encounters/resources/v4/types/ReportTransmissionCode.d.ts +0 -7
- /package/api/resources/{encounters/resources/v4 → commons}/types/ReportTransmissionCode.d.ts +0 -0
- /package/api/resources/{encounters/resources/v4 → commons}/types/ReportTransmissionCode.js +0 -0
- /package/api/resources/{encounters/resources/v4 → commons}/types/ReportTypeCode.d.ts +0 -0
- /package/api/resources/{encounters/resources/v4 → commons}/types/ReportTypeCode.js +0 -0
- /package/dist/api/resources/{encounters/resources/v4 → commons}/types/ReportTransmissionCode.d.ts +0 -0
- /package/dist/api/resources/{encounters/resources/v4 → commons}/types/ReportTransmissionCode.js +0 -0
- /package/dist/api/resources/{encounters/resources/v4 → commons}/types/ReportTypeCode.d.ts +0 -0
- /package/dist/api/resources/{encounters/resources/v4 → commons}/types/ReportTypeCode.js +0 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* type: "auth_zero_metadata",
|
|
6
|
+
* auth0Id: "auth0|5f9b3b5a7b0b0d006a2b0b0b"
|
|
7
|
+
* }
|
|
8
|
+
*/
|
|
9
|
+
export type IdpUserMetadata = CandidApi.users.v2.IdpUserMetadata.AuthZeroMetadata | CandidApi.users.v2.IdpUserMetadata.GoogleAppsMetadata | CandidApi.users.v2.IdpUserMetadata.OtherIdpMetadata;
|
|
10
|
+
export declare namespace IdpUserMetadata {
|
|
11
|
+
interface AuthZeroMetadata extends CandidApi.users.v2.AuthZeroMetadata {
|
|
12
|
+
type: "auth_zero_metadata";
|
|
13
|
+
}
|
|
14
|
+
interface GoogleAppsMetadata extends CandidApi.users.v2.GoogleAppsMetadata {
|
|
15
|
+
type: "google_apps_metadata";
|
|
16
|
+
}
|
|
17
|
+
interface OtherIdpMetadata extends CandidApi.users.v2.OtherIdpMetadata {
|
|
18
|
+
type: "other_idp_metadata";
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* type: "human_user_metadata",
|
|
6
|
+
* firstName: "John",
|
|
7
|
+
* lastName: "Doe",
|
|
8
|
+
* email: "john.doe@example.com"
|
|
9
|
+
* }
|
|
10
|
+
*/
|
|
11
|
+
export type UserMetadata = CandidApi.users.v2.UserMetadata.MachineUserMetadata | CandidApi.users.v2.UserMetadata.HumanUserMetadata;
|
|
12
|
+
export declare namespace UserMetadata {
|
|
13
|
+
interface MachineUserMetadata extends CandidApi.users.v2.MachineUserMetadata {
|
|
14
|
+
type: "machine_user_metadata";
|
|
15
|
+
}
|
|
16
|
+
interface HumanUserMetadata extends CandidApi.users.v2.HumanUserMetadata {
|
|
17
|
+
type: "human_user_metadata";
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* userId: CandidApi.UserId("1503a782-35f6-45a7-b5c3-53ca2ebe8887"),
|
|
6
|
+
* idpMetadata: [{
|
|
7
|
+
* type: "auth_zero_metadata",
|
|
8
|
+
* auth0Id: "auth0|5f9b3b5a7b0b0d006a2b0b0b"
|
|
9
|
+
* }],
|
|
10
|
+
* primaryOrganizationId: CandidApi.OrganizationId("83a2a782-35f6-45a7-b5c3-53ca2ebe8887"),
|
|
11
|
+
* userMetadata: {
|
|
12
|
+
* type: "human_user_metadata",
|
|
13
|
+
* firstName: "John",
|
|
14
|
+
* lastName: "Doe",
|
|
15
|
+
* email: "john.doe@example.com"
|
|
16
|
+
* }
|
|
17
|
+
* }
|
|
18
|
+
*/
|
|
19
|
+
export interface UserV2 {
|
|
20
|
+
userId: CandidApi.UserId;
|
|
21
|
+
idpMetadata: CandidApi.users.v2.IdpUserMetadata[];
|
|
22
|
+
primaryOrganizationId?: CandidApi.OrganizationId;
|
|
23
|
+
userMetadata: CandidApi.users.v2.UserMetadata;
|
|
24
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from "./AuthZeroMetadata";
|
|
2
|
+
export * from "./GoogleAppsMetadata";
|
|
3
|
+
export * from "./HumanUserMetadata";
|
|
4
|
+
export * from "./IdpUserMetadata";
|
|
5
|
+
export * from "./MachineUserMetadata";
|
|
6
|
+
export * from "./OtherIdpMetadata";
|
|
7
|
+
export * from "./UserMetadata";
|
|
8
|
+
export * from "./UserV2";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./AuthZeroMetadata"), exports);
|
|
18
|
+
__exportStar(require("./GoogleAppsMetadata"), exports);
|
|
19
|
+
__exportStar(require("./HumanUserMetadata"), exports);
|
|
20
|
+
__exportStar(require("./IdpUserMetadata"), exports);
|
|
21
|
+
__exportStar(require("./MachineUserMetadata"), exports);
|
|
22
|
+
__exportStar(require("./OtherIdpMetadata"), exports);
|
|
23
|
+
__exportStar(require("./UserMetadata"), exports);
|
|
24
|
+
__exportStar(require("./UserV2"), exports);
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type * as CandidApi from "../../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* A type of bill can either be seen as a compositio of structured parts, or as a literal string.
|
|
4
|
+
* This union represents the potential to express a type of bill either as one of those two shapes.
|
|
5
|
+
* Passing a string, this update will be seen as a complete 4 digit code, along with a padding code 0, that
|
|
6
|
+
* should match a valid composition.
|
|
7
|
+
* Passing as a structure, the update will be seen as three parts and will be joined together by the server
|
|
8
|
+
* to represent a valid composition for you.
|
|
9
|
+
* Which you use depends upon whether you are "passing through" coded information or making a decision about its
|
|
10
|
+
* structure explicitly.
|
|
11
|
+
*/
|
|
12
|
+
export type TypeOfBillCompositeUpdate =
|
|
13
|
+
/**
|
|
14
|
+
* Full 4 digit type of bill code, starting with a leading 0. */
|
|
15
|
+
CandidApi.x12.v1.TypeOfBillCompositeUpdate.RawCode
|
|
16
|
+
/**
|
|
17
|
+
* Use composite_codes to send type_of_care, type_of_facility and frequency_code as separate enums. */
|
|
18
|
+
| CandidApi.x12.v1.TypeOfBillCompositeUpdate.CompositeCodes;
|
|
19
|
+
export declare namespace TypeOfBillCompositeUpdate {
|
|
20
|
+
interface RawCode {
|
|
21
|
+
type: "raw_code";
|
|
22
|
+
value: string;
|
|
23
|
+
}
|
|
24
|
+
interface CompositeCodes extends CandidApi.x12.v1.TypeOfBillCompositeBase {
|
|
25
|
+
type: "composite_codes";
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -7,6 +7,7 @@ export * from "./RemittanceAdviceRemarkCode";
|
|
|
7
7
|
export * from "./TypeOfAdmissionOrVisitCode";
|
|
8
8
|
export * from "./TypeOfBillComposite";
|
|
9
9
|
export * from "./TypeOfBillCompositeBase";
|
|
10
|
+
export * from "./TypeOfBillCompositeUpdate";
|
|
10
11
|
export * from "./TypeOfBillFrequencyCode";
|
|
11
12
|
export * from "./TypeOfCareCode";
|
|
12
13
|
export * from "./TypeOfFacilityCode";
|
|
@@ -23,6 +23,7 @@ __exportStar(require("./RemittanceAdviceRemarkCode"), exports);
|
|
|
23
23
|
__exportStar(require("./TypeOfAdmissionOrVisitCode"), exports);
|
|
24
24
|
__exportStar(require("./TypeOfBillComposite"), exports);
|
|
25
25
|
__exportStar(require("./TypeOfBillCompositeBase"), exports);
|
|
26
|
+
__exportStar(require("./TypeOfBillCompositeUpdate"), exports);
|
|
26
27
|
__exportStar(require("./TypeOfBillFrequencyCode"), exports);
|
|
27
28
|
__exportStar(require("./TypeOfCareCode"), exports);
|
|
28
29
|
__exportStar(require("./TypeOfFacilityCode"), exports);
|
package/dist/Client.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ import { Diagnoses } from "./api/resources/diagnoses/client/Client";
|
|
|
9
9
|
import { Eligibility } from "./api/resources/eligibility/client/Client";
|
|
10
10
|
import { EncounterAttachments } from "./api/resources/encounterAttachments/client/Client";
|
|
11
11
|
import { EncounterProviders } from "./api/resources/encounterProviders/client/Client";
|
|
12
|
+
import { EncounterSupplementalInformation } from "./api/resources/encounterSupplementalInformation/client/Client";
|
|
12
13
|
import { Encounters } from "./api/resources/encounters/client/Client";
|
|
13
14
|
import { ExpectedNetworkStatus } from "./api/resources/expectedNetworkStatus/client/Client";
|
|
14
15
|
import { Exports } from "./api/resources/exports/client/Client";
|
|
@@ -32,7 +33,6 @@ import { PatientRefunds } from "./api/resources/patientRefunds/client/Client";
|
|
|
32
33
|
import { PayerPlanGroups } from "./api/resources/payerPlanGroups/client/Client";
|
|
33
34
|
import { Payers } from "./api/resources/payers/client/Client";
|
|
34
35
|
import { PreEncounter } from "./api/resources/preEncounter/client/Client";
|
|
35
|
-
import { ServiceFacility } from "./api/resources/serviceFacility/client/Client";
|
|
36
36
|
import { ServiceLines } from "./api/resources/serviceLines/client/Client";
|
|
37
37
|
import { Superbills } from "./api/resources/superbills/client/Client";
|
|
38
38
|
import { Tasks } from "./api/resources/tasks/client/Client";
|
|
@@ -60,6 +60,7 @@ export declare class CandidApiClient {
|
|
|
60
60
|
protected _eligibility: Eligibility | undefined;
|
|
61
61
|
protected _encounterAttachments: EncounterAttachments | undefined;
|
|
62
62
|
protected _encounterProviders: EncounterProviders | undefined;
|
|
63
|
+
protected _encounterSupplementalInformation: EncounterSupplementalInformation | undefined;
|
|
63
64
|
protected _encounters: Encounters | undefined;
|
|
64
65
|
protected _expectedNetworkStatus: ExpectedNetworkStatus | undefined;
|
|
65
66
|
protected _exports: Exports | undefined;
|
|
@@ -88,7 +89,6 @@ export declare class CandidApiClient {
|
|
|
88
89
|
protected _writeOffs: WriteOffs | undefined;
|
|
89
90
|
protected _preEncounter: PreEncounter | undefined;
|
|
90
91
|
protected _diagnoses: Diagnoses | undefined;
|
|
91
|
-
protected _serviceFacility: ServiceFacility | undefined;
|
|
92
92
|
constructor(_options: CandidApiClient.Options);
|
|
93
93
|
get auth(): Auth;
|
|
94
94
|
get billingNotes(): BillingNotes;
|
|
@@ -100,6 +100,7 @@ export declare class CandidApiClient {
|
|
|
100
100
|
get eligibility(): Eligibility;
|
|
101
101
|
get encounterAttachments(): EncounterAttachments;
|
|
102
102
|
get encounterProviders(): EncounterProviders;
|
|
103
|
+
get encounterSupplementalInformation(): EncounterSupplementalInformation;
|
|
103
104
|
get encounters(): Encounters;
|
|
104
105
|
get expectedNetworkStatus(): ExpectedNetworkStatus;
|
|
105
106
|
get exports(): Exports;
|
|
@@ -128,5 +129,4 @@ export declare class CandidApiClient {
|
|
|
128
129
|
get writeOffs(): WriteOffs;
|
|
129
130
|
get preEncounter(): PreEncounter;
|
|
130
131
|
get diagnoses(): Diagnoses;
|
|
131
|
-
get serviceFacility(): ServiceFacility;
|
|
132
132
|
}
|
package/dist/Client.js
CHANGED
|
@@ -56,30 +56,30 @@ const Client_9 = require("./api/resources/diagnoses/client/Client");
|
|
|
56
56
|
const Client_10 = require("./api/resources/eligibility/client/Client");
|
|
57
57
|
const Client_11 = require("./api/resources/encounterAttachments/client/Client");
|
|
58
58
|
const Client_12 = require("./api/resources/encounterProviders/client/Client");
|
|
59
|
-
const Client_13 = require("./api/resources/
|
|
60
|
-
const Client_14 = require("./api/resources/
|
|
61
|
-
const Client_15 = require("./api/resources/
|
|
62
|
-
const Client_16 = require("./api/resources/
|
|
63
|
-
const Client_17 = require("./api/resources/
|
|
64
|
-
const Client_18 = require("./api/resources/
|
|
65
|
-
const Client_19 = require("./api/resources/
|
|
66
|
-
const Client_20 = require("./api/resources/
|
|
67
|
-
const Client_21 = require("./api/resources/
|
|
68
|
-
const Client_22 = require("./api/resources/
|
|
69
|
-
const Client_23 = require("./api/resources/
|
|
70
|
-
const Client_24 = require("./api/resources/
|
|
71
|
-
const Client_25 = require("./api/resources/
|
|
72
|
-
const Client_26 = require("./api/resources/
|
|
73
|
-
const Client_27 = require("./api/resources/
|
|
74
|
-
const Client_28 = require("./api/resources/
|
|
75
|
-
const Client_29 = require("./api/resources/
|
|
76
|
-
const Client_30 = require("./api/resources/
|
|
77
|
-
const Client_31 = require("./api/resources/
|
|
78
|
-
const Client_32 = require("./api/resources/
|
|
79
|
-
const Client_33 = require("./api/resources/
|
|
80
|
-
const Client_34 = require("./api/resources/
|
|
81
|
-
const Client_35 = require("./api/resources/
|
|
82
|
-
const Client_36 = require("./api/resources/
|
|
59
|
+
const Client_13 = require("./api/resources/encounterSupplementalInformation/client/Client");
|
|
60
|
+
const Client_14 = require("./api/resources/encounters/client/Client");
|
|
61
|
+
const Client_15 = require("./api/resources/expectedNetworkStatus/client/Client");
|
|
62
|
+
const Client_16 = require("./api/resources/exports/client/Client");
|
|
63
|
+
const Client_17 = require("./api/resources/externalPaymentAccountConfig/client/Client");
|
|
64
|
+
const Client_18 = require("./api/resources/feeSchedules/client/Client");
|
|
65
|
+
const Client_19 = require("./api/resources/guarantor/client/Client");
|
|
66
|
+
const Client_20 = require("./api/resources/healthCareCodeInformation/client/Client");
|
|
67
|
+
const Client_21 = require("./api/resources/importInvoice/client/Client");
|
|
68
|
+
const Client_22 = require("./api/resources/insuranceAdjudications/client/Client");
|
|
69
|
+
const Client_23 = require("./api/resources/insurancePayments/client/Client");
|
|
70
|
+
const Client_24 = require("./api/resources/insuranceRefunds/client/Client");
|
|
71
|
+
const Client_25 = require("./api/resources/medicationDispense/client/Client");
|
|
72
|
+
const Client_26 = require("./api/resources/nonInsurancePayerPayments/client/Client");
|
|
73
|
+
const Client_27 = require("./api/resources/nonInsurancePayerRefunds/client/Client");
|
|
74
|
+
const Client_28 = require("./api/resources/nonInsurancePayers/client/Client");
|
|
75
|
+
const Client_29 = require("./api/resources/organizationProviders/client/Client");
|
|
76
|
+
const Client_30 = require("./api/resources/organizationServiceFacilities/client/Client");
|
|
77
|
+
const Client_31 = require("./api/resources/patientAr/client/Client");
|
|
78
|
+
const Client_32 = require("./api/resources/patientPayments/client/Client");
|
|
79
|
+
const Client_33 = require("./api/resources/patientRefunds/client/Client");
|
|
80
|
+
const Client_34 = require("./api/resources/payerPlanGroups/client/Client");
|
|
81
|
+
const Client_35 = require("./api/resources/payers/client/Client");
|
|
82
|
+
const Client_36 = require("./api/resources/preEncounter/client/Client");
|
|
83
83
|
const Client_37 = require("./api/resources/serviceLines/client/Client");
|
|
84
84
|
const Client_38 = require("./api/resources/superbills/client/Client");
|
|
85
85
|
const Client_39 = require("./api/resources/tasks/client/Client");
|
|
@@ -91,8 +91,8 @@ class CandidApiClient {
|
|
|
91
91
|
this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_1.mergeHeaders)({
|
|
92
92
|
"X-Fern-Language": "JavaScript",
|
|
93
93
|
"X-Fern-SDK-Name": "candidhealth",
|
|
94
|
-
"X-Fern-SDK-Version": "1.
|
|
95
|
-
"User-Agent": "candidhealth/1.
|
|
94
|
+
"X-Fern-SDK-Version": "1.14.0",
|
|
95
|
+
"User-Agent": "candidhealth/1.14.0",
|
|
96
96
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
97
97
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
98
98
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -142,93 +142,97 @@ class CandidApiClient {
|
|
|
142
142
|
var _a;
|
|
143
143
|
return ((_a = this._encounterProviders) !== null && _a !== void 0 ? _a : (this._encounterProviders = new Client_12.EncounterProviders(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
144
144
|
}
|
|
145
|
+
get encounterSupplementalInformation() {
|
|
146
|
+
var _a;
|
|
147
|
+
return ((_a = this._encounterSupplementalInformation) !== null && _a !== void 0 ? _a : (this._encounterSupplementalInformation = new Client_13.EncounterSupplementalInformation(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
148
|
+
}
|
|
145
149
|
get encounters() {
|
|
146
150
|
var _a;
|
|
147
|
-
return ((_a = this._encounters) !== null && _a !== void 0 ? _a : (this._encounters = new
|
|
151
|
+
return ((_a = this._encounters) !== null && _a !== void 0 ? _a : (this._encounters = new Client_14.Encounters(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
148
152
|
}
|
|
149
153
|
get expectedNetworkStatus() {
|
|
150
154
|
var _a;
|
|
151
|
-
return ((_a = this._expectedNetworkStatus) !== null && _a !== void 0 ? _a : (this._expectedNetworkStatus = new
|
|
155
|
+
return ((_a = this._expectedNetworkStatus) !== null && _a !== void 0 ? _a : (this._expectedNetworkStatus = new Client_15.ExpectedNetworkStatus(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
152
156
|
}
|
|
153
157
|
get exports() {
|
|
154
158
|
var _a;
|
|
155
|
-
return ((_a = this._exports) !== null && _a !== void 0 ? _a : (this._exports = new
|
|
159
|
+
return ((_a = this._exports) !== null && _a !== void 0 ? _a : (this._exports = new Client_16.Exports(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
156
160
|
}
|
|
157
161
|
get externalPaymentAccountConfig() {
|
|
158
162
|
var _a;
|
|
159
|
-
return ((_a = this._externalPaymentAccountConfig) !== null && _a !== void 0 ? _a : (this._externalPaymentAccountConfig = new
|
|
163
|
+
return ((_a = this._externalPaymentAccountConfig) !== null && _a !== void 0 ? _a : (this._externalPaymentAccountConfig = new Client_17.ExternalPaymentAccountConfig(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
160
164
|
}
|
|
161
165
|
get feeSchedules() {
|
|
162
166
|
var _a;
|
|
163
|
-
return ((_a = this._feeSchedules) !== null && _a !== void 0 ? _a : (this._feeSchedules = new
|
|
167
|
+
return ((_a = this._feeSchedules) !== null && _a !== void 0 ? _a : (this._feeSchedules = new Client_18.FeeSchedules(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
164
168
|
}
|
|
165
169
|
get guarantor() {
|
|
166
170
|
var _a;
|
|
167
|
-
return ((_a = this._guarantor) !== null && _a !== void 0 ? _a : (this._guarantor = new
|
|
171
|
+
return ((_a = this._guarantor) !== null && _a !== void 0 ? _a : (this._guarantor = new Client_19.Guarantor(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
168
172
|
}
|
|
169
173
|
get healthCareCodeInformation() {
|
|
170
174
|
var _a;
|
|
171
|
-
return ((_a = this._healthCareCodeInformation) !== null && _a !== void 0 ? _a : (this._healthCareCodeInformation = new
|
|
175
|
+
return ((_a = this._healthCareCodeInformation) !== null && _a !== void 0 ? _a : (this._healthCareCodeInformation = new Client_20.HealthCareCodeInformation(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
172
176
|
}
|
|
173
177
|
get importInvoice() {
|
|
174
178
|
var _a;
|
|
175
|
-
return ((_a = this._importInvoice) !== null && _a !== void 0 ? _a : (this._importInvoice = new
|
|
179
|
+
return ((_a = this._importInvoice) !== null && _a !== void 0 ? _a : (this._importInvoice = new Client_21.ImportInvoice(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
176
180
|
}
|
|
177
181
|
get insuranceAdjudications() {
|
|
178
182
|
var _a;
|
|
179
|
-
return ((_a = this._insuranceAdjudications) !== null && _a !== void 0 ? _a : (this._insuranceAdjudications = new
|
|
183
|
+
return ((_a = this._insuranceAdjudications) !== null && _a !== void 0 ? _a : (this._insuranceAdjudications = new Client_22.InsuranceAdjudications(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
180
184
|
}
|
|
181
185
|
get insurancePayments() {
|
|
182
186
|
var _a;
|
|
183
|
-
return ((_a = this._insurancePayments) !== null && _a !== void 0 ? _a : (this._insurancePayments = new
|
|
187
|
+
return ((_a = this._insurancePayments) !== null && _a !== void 0 ? _a : (this._insurancePayments = new Client_23.InsurancePayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
184
188
|
}
|
|
185
189
|
get insuranceRefunds() {
|
|
186
190
|
var _a;
|
|
187
|
-
return ((_a = this._insuranceRefunds) !== null && _a !== void 0 ? _a : (this._insuranceRefunds = new
|
|
191
|
+
return ((_a = this._insuranceRefunds) !== null && _a !== void 0 ? _a : (this._insuranceRefunds = new Client_24.InsuranceRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
188
192
|
}
|
|
189
193
|
get medicationDispense() {
|
|
190
194
|
var _a;
|
|
191
|
-
return ((_a = this._medicationDispense) !== null && _a !== void 0 ? _a : (this._medicationDispense = new
|
|
195
|
+
return ((_a = this._medicationDispense) !== null && _a !== void 0 ? _a : (this._medicationDispense = new Client_25.MedicationDispense(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
192
196
|
}
|
|
193
197
|
get nonInsurancePayerPayments() {
|
|
194
198
|
var _a;
|
|
195
|
-
return ((_a = this._nonInsurancePayerPayments) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerPayments = new
|
|
199
|
+
return ((_a = this._nonInsurancePayerPayments) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerPayments = new Client_26.NonInsurancePayerPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
196
200
|
}
|
|
197
201
|
get nonInsurancePayerRefunds() {
|
|
198
202
|
var _a;
|
|
199
|
-
return ((_a = this._nonInsurancePayerRefunds) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerRefunds = new
|
|
203
|
+
return ((_a = this._nonInsurancePayerRefunds) !== null && _a !== void 0 ? _a : (this._nonInsurancePayerRefunds = new Client_27.NonInsurancePayerRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
200
204
|
}
|
|
201
205
|
get nonInsurancePayers() {
|
|
202
206
|
var _a;
|
|
203
|
-
return ((_a = this._nonInsurancePayers) !== null && _a !== void 0 ? _a : (this._nonInsurancePayers = new
|
|
207
|
+
return ((_a = this._nonInsurancePayers) !== null && _a !== void 0 ? _a : (this._nonInsurancePayers = new Client_28.NonInsurancePayers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
204
208
|
}
|
|
205
209
|
get organizationProviders() {
|
|
206
210
|
var _a;
|
|
207
|
-
return ((_a = this._organizationProviders) !== null && _a !== void 0 ? _a : (this._organizationProviders = new
|
|
211
|
+
return ((_a = this._organizationProviders) !== null && _a !== void 0 ? _a : (this._organizationProviders = new Client_29.OrganizationProviders(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
208
212
|
}
|
|
209
213
|
get organizationServiceFacilities() {
|
|
210
214
|
var _a;
|
|
211
|
-
return ((_a = this._organizationServiceFacilities) !== null && _a !== void 0 ? _a : (this._organizationServiceFacilities = new
|
|
215
|
+
return ((_a = this._organizationServiceFacilities) !== null && _a !== void 0 ? _a : (this._organizationServiceFacilities = new Client_30.OrganizationServiceFacilities(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
212
216
|
}
|
|
213
217
|
get patientAr() {
|
|
214
218
|
var _a;
|
|
215
|
-
return ((_a = this._patientAr) !== null && _a !== void 0 ? _a : (this._patientAr = new
|
|
219
|
+
return ((_a = this._patientAr) !== null && _a !== void 0 ? _a : (this._patientAr = new Client_31.PatientAr(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
216
220
|
}
|
|
217
221
|
get patientPayments() {
|
|
218
222
|
var _a;
|
|
219
|
-
return ((_a = this._patientPayments) !== null && _a !== void 0 ? _a : (this._patientPayments = new
|
|
223
|
+
return ((_a = this._patientPayments) !== null && _a !== void 0 ? _a : (this._patientPayments = new Client_32.PatientPayments(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
220
224
|
}
|
|
221
225
|
get patientRefunds() {
|
|
222
226
|
var _a;
|
|
223
|
-
return ((_a = this._patientRefunds) !== null && _a !== void 0 ? _a : (this._patientRefunds = new
|
|
227
|
+
return ((_a = this._patientRefunds) !== null && _a !== void 0 ? _a : (this._patientRefunds = new Client_33.PatientRefunds(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
224
228
|
}
|
|
225
229
|
get payerPlanGroups() {
|
|
226
230
|
var _a;
|
|
227
|
-
return ((_a = this._payerPlanGroups) !== null && _a !== void 0 ? _a : (this._payerPlanGroups = new
|
|
231
|
+
return ((_a = this._payerPlanGroups) !== null && _a !== void 0 ? _a : (this._payerPlanGroups = new Client_34.PayerPlanGroups(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
228
232
|
}
|
|
229
233
|
get payers() {
|
|
230
234
|
var _a;
|
|
231
|
-
return ((_a = this._payers) !== null && _a !== void 0 ? _a : (this._payers = new
|
|
235
|
+
return ((_a = this._payers) !== null && _a !== void 0 ? _a : (this._payers = new Client_35.Payers(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
232
236
|
}
|
|
233
237
|
get serviceLines() {
|
|
234
238
|
var _a;
|
|
@@ -248,15 +252,11 @@ class CandidApiClient {
|
|
|
248
252
|
}
|
|
249
253
|
get preEncounter() {
|
|
250
254
|
var _a;
|
|
251
|
-
return ((_a = this._preEncounter) !== null && _a !== void 0 ? _a : (this._preEncounter = new
|
|
255
|
+
return ((_a = this._preEncounter) !== null && _a !== void 0 ? _a : (this._preEncounter = new Client_36.PreEncounter(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
252
256
|
}
|
|
253
257
|
get diagnoses() {
|
|
254
258
|
var _a;
|
|
255
259
|
return ((_a = this._diagnoses) !== null && _a !== void 0 ? _a : (this._diagnoses = new Client_9.Diagnoses(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
256
260
|
}
|
|
257
|
-
get serviceFacility() {
|
|
258
|
-
var _a;
|
|
259
|
-
return ((_a = this._serviceFacility) !== null && _a !== void 0 ? _a : (this._serviceFacility = new Client_36.ServiceFacility(Object.assign(Object.assign({}, this._options), { token: () => __awaiter(this, void 0, void 0, function* () { return yield this._oauthTokenProvider.getToken(); }) }))));
|
|
260
|
-
}
|
|
261
261
|
}
|
|
262
262
|
exports.CandidApiClient = CandidApiClient;
|
|
@@ -51,6 +51,8 @@ export * from "./RegionNational";
|
|
|
51
51
|
export * from "./RegionStates";
|
|
52
52
|
export * from "./Regions";
|
|
53
53
|
export * from "./RemovableDateRangeOptionalEnd";
|
|
54
|
+
export * from "./ReportTransmissionCode";
|
|
55
|
+
export * from "./ReportTypeCode";
|
|
54
56
|
export * from "./RequestValidationError";
|
|
55
57
|
export * from "./ResourcePage";
|
|
56
58
|
export * from "./SchemaId";
|
|
@@ -67,6 +67,8 @@ __exportStar(require("./RegionNational"), exports);
|
|
|
67
67
|
__exportStar(require("./RegionStates"), exports);
|
|
68
68
|
__exportStar(require("./Regions"), exports);
|
|
69
69
|
__exportStar(require("./RemovableDateRangeOptionalEnd"), exports);
|
|
70
|
+
__exportStar(require("./ReportTransmissionCode"), exports);
|
|
71
|
+
__exportStar(require("./ReportTypeCode"), exports);
|
|
70
72
|
__exportStar(require("./RequestValidationError"), exports);
|
|
71
73
|
__exportStar(require("./ResourcePage"), exports);
|
|
72
74
|
__exportStar(require("./SchemaId"), exports);
|
|
@@ -24,7 +24,7 @@ export declare class V1 {
|
|
|
24
24
|
private __get;
|
|
25
25
|
/**
|
|
26
26
|
* Uploads a file to the encounter. The file will be stored in the
|
|
27
|
-
* encounter's attachments.
|
|
27
|
+
* encounter's attachments. Deprecated: Use create-v2 instead.
|
|
28
28
|
*
|
|
29
29
|
* @param {File | fs.ReadStream | Blob} attachmentFile
|
|
30
30
|
* @param {CandidApi.EncounterId} encounterId
|
|
@@ -33,6 +33,17 @@ export declare class V1 {
|
|
|
33
33
|
*/
|
|
34
34
|
create(attachmentFile: File | fs.ReadStream | Blob, encounterId: CandidApi.EncounterId, request: CandidApi.encounterAttachments.v1.CreateAttachmentRequest, requestOptions?: V1.RequestOptions): core.HttpResponsePromise<core.APIResponse<CandidApi.encounterAttachments.v1.AttachmentId, CandidApi.encounterAttachments.v1.create.Error>>;
|
|
35
35
|
private __create;
|
|
36
|
+
/**
|
|
37
|
+
* Uploads a file to the encounter. The file will be stored in the
|
|
38
|
+
* encounter's attachments.
|
|
39
|
+
*
|
|
40
|
+
* @param {File | fs.ReadStream | Blob} attachmentFile
|
|
41
|
+
* @param {CandidApi.EncounterId} encounterId
|
|
42
|
+
* @param {CandidApi.encounterAttachments.v1.CreateAttachmentV2Request} request
|
|
43
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
44
|
+
*/
|
|
45
|
+
createWithDescription(attachmentFile: File | fs.ReadStream | Blob, encounterId: CandidApi.EncounterId, request: CandidApi.encounterAttachments.v1.CreateAttachmentV2Request, requestOptions?: V1.RequestOptions): core.HttpResponsePromise<core.APIResponse<CandidApi.encounterAttachments.v1.AttachmentId, CandidApi.encounterAttachments.v1.createWithDescription.Error>>;
|
|
46
|
+
private __createWithDescription;
|
|
36
47
|
/**
|
|
37
48
|
* @param {CandidApi.EncounterId} encounterId
|
|
38
49
|
* @param {CandidApi.encounterAttachments.v1.DeleteAttachmentRequest} request
|