candidhealth 0.22.2-15e24b1 → 0.24.0-2a6d412
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 +4 -1
- package/Client.js +5 -0
- package/api/resources/auth/client/Client.d.ts +1 -1
- package/api/resources/auth/resources/v2/client/Client.d.ts +1 -1
- package/api/resources/auth/resources/v2/client/Client.js +3 -2
- package/api/resources/billingNotes/client/Client.d.ts +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.d.ts +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +3 -2
- package/api/resources/commons/types/QualifierCode.d.ts +14 -0
- package/api/resources/commons/types/QualifierCode.js +12 -0
- package/api/resources/commons/types/index.d.ts +1 -0
- package/api/resources/commons/types/index.js +1 -0
- package/api/resources/contracts/client/Client.d.ts +1 -1
- package/api/resources/contracts/resources/v2/client/Client.d.ts +1 -1
- package/api/resources/contracts/resources/v2/client/Client.js +15 -10
- package/api/resources/eligibility/client/Client.d.ts +1 -1
- package/api/resources/eligibility/resources/v2/client/Client.d.ts +1 -1
- package/api/resources/eligibility/resources/v2/client/Client.js +9 -6
- package/api/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +1 -0
- package/api/resources/encounterProviders/resources/v2/types/InitialReferringProvider.d.ts +14 -0
- package/api/resources/encounterProviders/resources/v2/types/InitialReferringProvider.js +5 -0
- package/api/resources/encounterProviders/resources/v2/types/OrderingProvider.d.ts +13 -0
- package/api/resources/encounterProviders/resources/v2/types/OrderingProvider.js +5 -0
- package/api/resources/encounterProviders/resources/v2/types/SupervisingProvider.d.ts +13 -0
- package/api/resources/encounterProviders/resources/v2/types/SupervisingProvider.js +5 -0
- package/api/resources/encounterProviders/resources/v2/types/index.d.ts +3 -0
- package/api/resources/encounterProviders/resources/v2/types/index.js +3 -0
- package/api/resources/encounters/client/Client.d.ts +1 -1
- package/api/resources/encounters/resources/v4/client/Client.d.ts +109 -2
- package/api/resources/encounters/resources/v4/client/Client.js +120 -9
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +128 -4
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +3 -0
- package/api/resources/expectedNetworkStatus/client/Client.d.ts +1 -1
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +1 -1
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +3 -2
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +6 -4
- package/api/resources/exports/client/Client.d.ts +1 -1
- package/api/resources/exports/resources/v3/client/Client.d.ts +1 -1
- package/api/resources/exports/resources/v3/client/Client.js +3 -2
- package/api/resources/externalPaymentAccountConfig/client/Client.d.ts +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +3 -2
- package/api/resources/feeSchedules/client/Client.d.ts +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.js +30 -20
- package/api/resources/guarantor/client/Client.d.ts +1 -1
- package/api/resources/guarantor/resources/v1/client/Client.d.ts +1 -1
- package/api/resources/guarantor/resources/v1/client/Client.js +9 -6
- package/api/resources/importInvoice/client/Client.d.ts +1 -1
- package/api/resources/importInvoice/resources/v1/client/Client.d.ts +1 -1
- package/api/resources/importInvoice/resources/v1/client/Client.js +12 -8
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +2 -1
- package/api/resources/insuranceAdjudications/client/Client.d.ts +1 -1
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +1 -1
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +9 -6
- package/api/resources/insurancePayments/client/Client.d.ts +1 -1
- package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +1 -1
- package/api/resources/insurancePayments/resources/v1/client/Client.js +15 -10
- package/api/resources/insuranceRefunds/client/Client.d.ts +1 -1
- package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +1 -1
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +15 -10
- package/api/resources/organizationProviders/client/Client.d.ts +1 -1
- package/api/resources/organizationProviders/resources/v3/client/Client.d.ts +1 -1
- package/api/resources/organizationProviders/resources/v3/client/Client.js +12 -8
- package/api/resources/organizationServiceFacilities/client/Client.d.ts +1 -1
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +1 -1
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +15 -10
- package/api/resources/patientPayments/client/Client.d.ts +1 -1
- package/api/resources/patientPayments/resources/v4/client/Client.d.ts +1 -1
- package/api/resources/patientPayments/resources/v4/client/Client.js +15 -10
- package/api/resources/patientRefunds/client/Client.d.ts +1 -1
- package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +1 -1
- package/api/resources/patientRefunds/resources/v1/client/Client.js +15 -10
- package/api/resources/payers/client/Client.d.ts +1 -1
- package/api/resources/payers/resources/v3/client/Client.d.ts +1 -1
- package/api/resources/payers/resources/v3/client/Client.js +6 -4
- package/api/resources/preEncounter/client/Client.d.ts +26 -0
- package/api/resources/preEncounter/client/Client.js +22 -0
- package/api/resources/preEncounter/client/index.d.ts +1 -0
- package/api/resources/preEncounter/client/index.js +2 -0
- package/api/resources/preEncounter/index.d.ts +2 -0
- package/api/resources/preEncounter/index.js +18 -0
- package/api/resources/preEncounter/resources/common/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/common/index.js +17 -0
- package/api/resources/preEncounter/resources/common/types/Address.d.ts +13 -0
- package/api/resources/preEncounter/resources/common/types/Address.js +5 -0
- package/api/resources/preEncounter/resources/common/types/AddressUse.d.ts +11 -0
- package/api/resources/preEncounter/resources/common/types/AddressUse.js +13 -0
- package/api/resources/preEncounter/resources/common/types/ContactPoint.d.ts +9 -0
- package/api/resources/preEncounter/resources/common/types/ContactPoint.js +5 -0
- package/api/resources/preEncounter/resources/common/types/ContactPointUse.d.ts +11 -0
- package/api/resources/preEncounter/resources/common/types/ContactPointUse.js +13 -0
- package/api/resources/preEncounter/resources/common/types/ErrorBase.d.ts +6 -0
- package/api/resources/preEncounter/resources/common/types/ErrorBase.js +5 -0
- package/api/resources/preEncounter/resources/common/types/Gender.d.ts +10 -0
- package/api/resources/preEncounter/resources/common/types/Gender.js +12 -0
- package/api/resources/preEncounter/resources/common/types/HumanName.d.ts +10 -0
- package/api/resources/preEncounter/resources/common/types/HumanName.js +5 -0
- package/api/resources/preEncounter/resources/common/types/NameUse.d.ts +13 -0
- package/api/resources/preEncounter/resources/common/types/NameUse.js +15 -0
- package/api/resources/preEncounter/resources/common/types/NotFoundErrorBody.d.ts +7 -0
- package/api/resources/preEncounter/resources/common/types/NotFoundErrorBody.js +5 -0
- package/api/resources/preEncounter/resources/common/types/OrganizationId.d.ts +11 -0
- package/api/resources/preEncounter/resources/common/types/OrganizationId.js +10 -0
- package/api/resources/preEncounter/resources/common/types/PayerId.d.ts +11 -0
- package/api/resources/preEncounter/resources/common/types/PayerId.js +10 -0
- package/api/resources/preEncounter/resources/common/types/Period.d.ts +7 -0
- package/api/resources/preEncounter/resources/common/types/Period.js +5 -0
- package/api/resources/preEncounter/resources/common/types/Relationship.d.ts +11 -0
- package/api/resources/preEncounter/resources/common/types/Relationship.js +13 -0
- package/api/resources/preEncounter/resources/common/types/UserId.d.ts +11 -0
- package/api/resources/preEncounter/resources/common/types/UserId.js +10 -0
- package/api/resources/preEncounter/resources/common/types/VersionConflictErrorBody.d.ts +8 -0
- package/api/resources/preEncounter/resources/common/types/VersionConflictErrorBody.js +5 -0
- package/api/resources/preEncounter/resources/common/types/index.d.ts +15 -0
- package/api/resources/preEncounter/resources/common/types/index.js +31 -0
- package/api/resources/preEncounter/resources/coverages/client/Client.d.ts +23 -0
- package/api/resources/preEncounter/resources/coverages/client/Client.js +17 -0
- package/api/resources/preEncounter/resources/coverages/client/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/coverages/client/index.js +2 -0
- package/api/resources/preEncounter/resources/coverages/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/coverages/index.js +18 -0
- package/api/resources/preEncounter/resources/coverages/resources/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/index.js +27 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +23 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +17 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/index.js +2 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/index.js +18 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.d.ts +144 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.js +445 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/create.d.ts +22 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/create.js +47 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/get.d.ts +22 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/get.js +47 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.d.ts +28 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.js +58 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.d.ts +22 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.js +47 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/index.d.ts +7 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/index.js +36 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests/CoverageScanRequest.d.ts +12 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests/CoverageScanRequest.js +5 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests/GetAllCoveragesRequest.d.ts +12 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests/GetAllCoveragesRequest.js +5 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests/index.js +2 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.d.ts +22 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.js +47 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/update.d.ts +34 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/update.js +69 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.js +18 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Coverage.d.ts +19 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Coverage.js +5 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageId.d.ts +11 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageId.js +10 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageStatus.d.ts +13 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageStatus.js +12 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.d.ts +8 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.js +10 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/InsurancePlan.d.ts +14 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/InsurancePlan.js +5 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/MutableCoverage.d.ts +17 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/MutableCoverage.js +5 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Subscriber.d.ts +9 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Subscriber.js +5 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/index.d.ts +7 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/index.js +23 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +3 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +32 -0
- package/api/resources/preEncounter/resources/index.d.ts +4 -0
- package/api/resources/preEncounter/resources/index.js +33 -0
- package/api/resources/preEncounter/resources/patients/client/Client.d.ts +23 -0
- package/api/resources/preEncounter/resources/patients/client/Client.js +17 -0
- package/api/resources/preEncounter/resources/patients/client/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/patients/client/index.js +2 -0
- package/api/resources/preEncounter/resources/patients/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/patients/index.js +18 -0
- package/api/resources/preEncounter/resources/patients/resources/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/patients/resources/index.js +27 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +23 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +17 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/index.js +18 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +3 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/index.js +32 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.d.ts +335 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.js +709 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/create.d.ts +28 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/create.js +58 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.d.ts +34 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.js +69 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/get.d.ts +28 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/get.js +58 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/getHistory.d.ts +28 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/getHistory.js +58 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.d.ts +8 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.js +37 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/requests/PatientScanRequest.d.ts +12 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/requests/PatientScanRequest.js +5 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/requests/PatientsSearchRequest.d.ts +12 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/requests/PatientsSearchRequest.js +5 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/requests/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/requests/index.js +2 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/scan.d.ts +22 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/scan.js +47 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.d.ts +22 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.js +47 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/update.d.ts +34 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/update.js +69 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.js +18 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Contact.d.ts +12 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Contact.js +5 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvenance.d.ts +10 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvenance.js +5 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.d.ts +10 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.js +5 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MaritalStatus.d.ts +18 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MaritalStatus.js +20 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.d.ts +34 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.js +5 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Patient.d.ts +19 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Patient.js +5 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/PatientId.d.ts +11 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/PatientId.js +10 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/index.d.ts +7 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/index.js +23 -0
- package/api/resources/serviceFacility/client/Client.d.ts +1 -1
- package/api/resources/serviceFacility/client/Client.js +3 -2
- package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +4 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +22 -0
- package/api/resources/tasks/client/Client.d.ts +1 -1
- package/api/resources/tasks/resources/v3/client/Client.d.ts +1 -1
- package/api/resources/tasks/resources/v3/client/Client.js +15 -10
- package/api/resources/writeOffs/client/Client.d.ts +1 -1
- package/api/resources/writeOffs/resources/v1/client/Client.d.ts +1 -1
- package/api/resources/writeOffs/resources/v1/client/Client.js +12 -8
- package/dist/Client.d.ts +4 -1
- package/dist/Client.js +5 -0
- package/dist/api/resources/auth/client/Client.d.ts +1 -1
- package/dist/api/resources/auth/resources/v2/client/Client.d.ts +1 -1
- package/dist/api/resources/auth/resources/v2/client/Client.js +3 -2
- package/dist/api/resources/billingNotes/client/Client.d.ts +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.d.ts +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -2
- package/dist/api/resources/commons/types/QualifierCode.d.ts +14 -0
- package/dist/api/resources/commons/types/QualifierCode.js +12 -0
- package/dist/api/resources/commons/types/index.d.ts +1 -0
- package/dist/api/resources/commons/types/index.js +1 -0
- package/dist/api/resources/contracts/client/Client.d.ts +1 -1
- package/dist/api/resources/contracts/resources/v2/client/Client.d.ts +1 -1
- package/dist/api/resources/contracts/resources/v2/client/Client.js +15 -10
- package/dist/api/resources/eligibility/client/Client.d.ts +1 -1
- package/dist/api/resources/eligibility/resources/v2/client/Client.d.ts +1 -1
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +9 -6
- package/dist/api/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +1 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/InitialReferringProvider.d.ts +14 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/InitialReferringProvider.js +5 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/OrderingProvider.d.ts +13 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/OrderingProvider.js +5 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/SupervisingProvider.d.ts +13 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/SupervisingProvider.js +5 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/index.d.ts +3 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/index.js +3 -0
- package/dist/api/resources/encounters/client/Client.d.ts +1 -1
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +109 -2
- package/dist/api/resources/encounters/resources/v4/client/Client.js +120 -9
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +128 -4
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +3 -0
- package/dist/api/resources/expectedNetworkStatus/client/Client.d.ts +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +3 -2
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +6 -4
- package/dist/api/resources/exports/client/Client.d.ts +1 -1
- package/dist/api/resources/exports/resources/v3/client/Client.d.ts +1 -1
- package/dist/api/resources/exports/resources/v3/client/Client.js +3 -2
- package/dist/api/resources/externalPaymentAccountConfig/client/Client.d.ts +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +3 -2
- package/dist/api/resources/feeSchedules/client/Client.d.ts +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +30 -20
- package/dist/api/resources/guarantor/client/Client.d.ts +1 -1
- package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +1 -1
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +9 -6
- package/dist/api/resources/importInvoice/client/Client.d.ts +1 -1
- package/dist/api/resources/importInvoice/resources/v1/client/Client.d.ts +1 -1
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +12 -8
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +2 -1
- package/dist/api/resources/insuranceAdjudications/client/Client.d.ts +1 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +1 -1
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +9 -6
- package/dist/api/resources/insurancePayments/client/Client.d.ts +1 -1
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +1 -1
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +15 -10
- package/dist/api/resources/insuranceRefunds/client/Client.d.ts +1 -1
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +1 -1
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +15 -10
- package/dist/api/resources/organizationProviders/client/Client.d.ts +1 -1
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.d.ts +1 -1
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +12 -8
- package/dist/api/resources/organizationServiceFacilities/client/Client.d.ts +1 -1
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +1 -1
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +15 -10
- package/dist/api/resources/patientPayments/client/Client.d.ts +1 -1
- package/dist/api/resources/patientPayments/resources/v4/client/Client.d.ts +1 -1
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +15 -10
- package/dist/api/resources/patientRefunds/client/Client.d.ts +1 -1
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +1 -1
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +15 -10
- package/dist/api/resources/payers/client/Client.d.ts +1 -1
- package/dist/api/resources/payers/resources/v3/client/Client.d.ts +1 -1
- package/dist/api/resources/payers/resources/v3/client/Client.js +6 -4
- package/dist/api/resources/preEncounter/client/Client.d.ts +26 -0
- package/dist/api/resources/preEncounter/client/Client.js +22 -0
- package/dist/api/resources/preEncounter/client/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/client/index.js +2 -0
- package/dist/api/resources/preEncounter/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/index.js +18 -0
- package/dist/api/resources/preEncounter/resources/common/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/common/index.js +17 -0
- package/dist/api/resources/preEncounter/resources/common/types/Address.d.ts +13 -0
- package/dist/api/resources/preEncounter/resources/common/types/Address.js +5 -0
- package/dist/api/resources/preEncounter/resources/common/types/AddressUse.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/common/types/AddressUse.js +13 -0
- package/dist/api/resources/preEncounter/resources/common/types/ContactPoint.d.ts +9 -0
- package/dist/api/resources/preEncounter/resources/common/types/ContactPoint.js +5 -0
- package/dist/api/resources/preEncounter/resources/common/types/ContactPointUse.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/common/types/ContactPointUse.js +13 -0
- package/dist/api/resources/preEncounter/resources/common/types/ErrorBase.d.ts +6 -0
- package/dist/api/resources/preEncounter/resources/common/types/ErrorBase.js +5 -0
- package/dist/api/resources/preEncounter/resources/common/types/Gender.d.ts +10 -0
- package/dist/api/resources/preEncounter/resources/common/types/Gender.js +12 -0
- package/dist/api/resources/preEncounter/resources/common/types/HumanName.d.ts +10 -0
- package/dist/api/resources/preEncounter/resources/common/types/HumanName.js +5 -0
- package/dist/api/resources/preEncounter/resources/common/types/NameUse.d.ts +13 -0
- package/dist/api/resources/preEncounter/resources/common/types/NameUse.js +15 -0
- package/dist/api/resources/preEncounter/resources/common/types/NotFoundErrorBody.d.ts +7 -0
- package/dist/api/resources/preEncounter/resources/common/types/NotFoundErrorBody.js +5 -0
- package/dist/api/resources/preEncounter/resources/common/types/OrganizationId.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/common/types/OrganizationId.js +10 -0
- package/dist/api/resources/preEncounter/resources/common/types/PayerId.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/common/types/PayerId.js +10 -0
- package/dist/api/resources/preEncounter/resources/common/types/Period.d.ts +7 -0
- package/dist/api/resources/preEncounter/resources/common/types/Period.js +5 -0
- package/dist/api/resources/preEncounter/resources/common/types/Relationship.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/common/types/Relationship.js +13 -0
- package/dist/api/resources/preEncounter/resources/common/types/UserId.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/common/types/UserId.js +10 -0
- package/dist/api/resources/preEncounter/resources/common/types/VersionConflictErrorBody.d.ts +8 -0
- package/dist/api/resources/preEncounter/resources/common/types/VersionConflictErrorBody.js +5 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +15 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.js +31 -0
- package/dist/api/resources/preEncounter/resources/coverages/client/Client.d.ts +23 -0
- package/dist/api/resources/preEncounter/resources/coverages/client/Client.js +17 -0
- package/dist/api/resources/preEncounter/resources/coverages/client/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/client/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/coverages/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/coverages/index.js +18 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/index.js +27 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +23 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +17 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/index.js +18 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.d.ts +144 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.js +445 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/create.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/create.js +47 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/get.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/get.js +47 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.d.ts +28 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.js +58 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.js +47 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/index.d.ts +7 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/index.js +36 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests/CoverageScanRequest.d.ts +12 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests/CoverageScanRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests/GetAllCoveragesRequest.d.ts +12 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests/GetAllCoveragesRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/requests/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.js +47 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/update.d.ts +34 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/update.js +69 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.js +18 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Coverage.d.ts +19 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Coverage.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageId.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageId.js +10 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageStatus.d.ts +13 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageStatus.js +12 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.d.ts +8 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.js +10 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/InsurancePlan.d.ts +14 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/InsurancePlan.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/MutableCoverage.d.ts +17 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/MutableCoverage.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Subscriber.d.ts +9 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Subscriber.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/index.d.ts +7 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/index.js +23 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +3 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +32 -0
- package/dist/api/resources/preEncounter/resources/index.d.ts +4 -0
- package/dist/api/resources/preEncounter/resources/index.js +33 -0
- package/dist/api/resources/preEncounter/resources/patients/client/Client.d.ts +23 -0
- package/dist/api/resources/preEncounter/resources/patients/client/Client.js +17 -0
- package/dist/api/resources/preEncounter/resources/patients/client/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/patients/client/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/patients/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/patients/index.js +18 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/index.js +27 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +23 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +17 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/index.js +18 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +3 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/index.js +32 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.d.ts +335 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.js +709 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/create.d.ts +28 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/create.js +58 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.d.ts +34 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.js +69 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/get.d.ts +28 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/get.js +58 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/getHistory.d.ts +28 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/getHistory.js +58 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.d.ts +8 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.js +37 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/requests/PatientScanRequest.d.ts +12 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/requests/PatientScanRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/requests/PatientsSearchRequest.d.ts +12 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/requests/PatientsSearchRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/requests/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/requests/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/scan.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/scan.js +47 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.js +47 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/update.d.ts +34 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/update.js +69 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.js +18 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Contact.d.ts +12 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Contact.js +5 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvenance.d.ts +10 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvenance.js +5 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.d.ts +10 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.js +5 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MaritalStatus.d.ts +18 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MaritalStatus.js +20 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.d.ts +34 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.js +5 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Patient.d.ts +19 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Patient.js +5 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/PatientId.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/PatientId.js +10 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/index.d.ts +7 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/index.js +23 -0
- package/dist/api/resources/serviceFacility/client/Client.d.ts +1 -1
- package/dist/api/resources/serviceFacility/client/Client.js +3 -2
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +4 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +22 -0
- package/dist/api/resources/tasks/client/Client.d.ts +1 -1
- package/dist/api/resources/tasks/resources/v3/client/Client.d.ts +1 -1
- package/dist/api/resources/tasks/resources/v3/client/Client.js +15 -10
- package/dist/api/resources/writeOffs/client/Client.d.ts +1 -1
- package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +1 -1
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +12 -8
- package/dist/environments.d.ts +12 -2
- package/dist/environments.js +8 -2
- package/dist/index.d.ts +1 -1
- package/dist/serialization/resources/commons/types/QualifierCode.d.ts +10 -0
- package/dist/serialization/resources/commons/types/QualifierCode.js +31 -0
- package/dist/serialization/resources/commons/types/index.d.ts +1 -0
- package/dist/serialization/resources/commons/types/index.js +1 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.js +2 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProvider.d.ts +18 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProvider.js +41 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/OrderingProvider.d.ts +16 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/OrderingProvider.js +39 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/SupervisingProvider.d.ts +16 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/SupervisingProvider.js +39 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +3 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/index.js +3 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +6 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +6 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +3 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +3 -0
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +2 -1
- package/dist/serialization/resources/preEncounter/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/index.js +17 -0
- package/dist/serialization/resources/preEncounter/resources/common/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/common/index.js +17 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/Address.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/Address.js +41 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/AddressUse.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/AddressUse.js +31 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/ContactPoint.d.ts +16 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/ContactPoint.js +37 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/ContactPointUse.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/ContactPointUse.js +31 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/ErrorBase.d.ts +12 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/ErrorBase.js +33 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/Gender.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/Gender.js +31 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/HumanName.d.ts +17 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/HumanName.js +38 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/NameUse.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/NameUse.js +31 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/NotFoundErrorBody.d.ts +13 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/NotFoundErrorBody.js +36 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/OrganizationId.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/OrganizationId.js +35 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/PayerId.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/PayerId.js +35 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/Period.d.ts +13 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/Period.js +34 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/Relationship.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/Relationship.js +31 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/UserId.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/UserId.js +35 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.d.ts +14 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.js +37 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +15 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/index.js +31 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/index.js +17 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/index.js +27 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/index.js +17 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.js +63 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.d.ts +11 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.js +32 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/index.d.ts +4 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/index.js +30 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.d.ts +11 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.js +32 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/update.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/update.js +67 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.js +18 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Coverage.d.ts +21 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Coverage.js +44 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageId.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageId.js +35 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageStatus.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageStatus.js +31 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.js +31 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/InsurancePlan.d.ts +22 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/InsurancePlan.js +43 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/MutableCoverage.d.ts +22 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/MutableCoverage.js +43 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Subscriber.d.ts +16 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Subscriber.js +37 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/index.d.ts +7 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/index.js +23 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +31 -0
- package/dist/serialization/resources/preEncounter/resources/index.d.ts +4 -0
- package/dist/serialization/resources/preEncounter/resources/index.js +33 -0
- package/dist/serialization/resources/preEncounter/resources/patients/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/index.js +17 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/index.js +27 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/index.js +17 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.js +31 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/create.d.ts +15 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/create.js +61 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.js +67 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/get.d.ts +15 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/get.js +61 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/getHistory.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/getHistory.js +63 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.d.ts +7 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.js +33 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/scan.d.ts +11 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/scan.js +32 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.d.ts +11 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.js +32 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/update.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/update.js +67 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.js +18 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Contact.d.ts +23 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Contact.js +44 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvenance.d.ts +13 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvenance.js +34 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.d.ts +19 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.js +40 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MaritalStatus.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MaritalStatus.js +44 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.d.ts +35 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.js +56 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Patient.d.ts +21 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Patient.js +44 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/PatientId.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/PatientId.js +35 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/index.d.ts +7 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/index.js +23 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +5 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +5 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +8 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +8 -0
- package/environments.d.ts +12 -2
- package/environments.js +8 -2
- package/index.d.ts +1 -1
- package/package.json +1 -1
- package/serialization/resources/commons/types/QualifierCode.d.ts +10 -0
- package/serialization/resources/commons/types/QualifierCode.js +31 -0
- package/serialization/resources/commons/types/index.d.ts +1 -0
- package/serialization/resources/commons/types/index.js +1 -0
- package/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.js +2 -0
- package/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProvider.d.ts +18 -0
- package/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProvider.js +41 -0
- package/serialization/resources/encounterProviders/resources/v2/types/OrderingProvider.d.ts +16 -0
- package/serialization/resources/encounterProviders/resources/v2/types/OrderingProvider.js +39 -0
- package/serialization/resources/encounterProviders/resources/v2/types/SupervisingProvider.d.ts +16 -0
- package/serialization/resources/encounterProviders/resources/v2/types/SupervisingProvider.js +39 -0
- package/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +3 -0
- package/serialization/resources/encounterProviders/resources/v2/types/index.js +3 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +6 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +6 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +3 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.js +3 -0
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +2 -1
- package/serialization/resources/preEncounter/index.d.ts +1 -0
- package/serialization/resources/preEncounter/index.js +17 -0
- package/serialization/resources/preEncounter/resources/common/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/common/index.js +17 -0
- package/serialization/resources/preEncounter/resources/common/types/Address.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/common/types/Address.js +41 -0
- package/serialization/resources/preEncounter/resources/common/types/AddressUse.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/common/types/AddressUse.js +31 -0
- package/serialization/resources/preEncounter/resources/common/types/ContactPoint.d.ts +16 -0
- package/serialization/resources/preEncounter/resources/common/types/ContactPoint.js +37 -0
- package/serialization/resources/preEncounter/resources/common/types/ContactPointUse.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/common/types/ContactPointUse.js +31 -0
- package/serialization/resources/preEncounter/resources/common/types/ErrorBase.d.ts +12 -0
- package/serialization/resources/preEncounter/resources/common/types/ErrorBase.js +33 -0
- package/serialization/resources/preEncounter/resources/common/types/Gender.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/common/types/Gender.js +31 -0
- package/serialization/resources/preEncounter/resources/common/types/HumanName.d.ts +17 -0
- package/serialization/resources/preEncounter/resources/common/types/HumanName.js +38 -0
- package/serialization/resources/preEncounter/resources/common/types/NameUse.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/common/types/NameUse.js +31 -0
- package/serialization/resources/preEncounter/resources/common/types/NotFoundErrorBody.d.ts +13 -0
- package/serialization/resources/preEncounter/resources/common/types/NotFoundErrorBody.js +36 -0
- package/serialization/resources/preEncounter/resources/common/types/OrganizationId.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/common/types/OrganizationId.js +35 -0
- package/serialization/resources/preEncounter/resources/common/types/PayerId.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/common/types/PayerId.js +35 -0
- package/serialization/resources/preEncounter/resources/common/types/Period.d.ts +13 -0
- package/serialization/resources/preEncounter/resources/common/types/Period.js +34 -0
- package/serialization/resources/preEncounter/resources/common/types/Relationship.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/common/types/Relationship.js +31 -0
- package/serialization/resources/preEncounter/resources/common/types/UserId.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/common/types/UserId.js +35 -0
- package/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.d.ts +14 -0
- package/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.js +37 -0
- package/serialization/resources/preEncounter/resources/common/types/index.d.ts +15 -0
- package/serialization/resources/preEncounter/resources/common/types/index.js +31 -0
- package/serialization/resources/preEncounter/resources/coverages/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/coverages/index.js +17 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/index.js +27 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/index.js +17 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.js +63 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.d.ts +11 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.js +32 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/index.d.ts +4 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/index.js +30 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.d.ts +11 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.js +32 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/update.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/update.js +67 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.js +18 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Coverage.d.ts +21 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Coverage.js +44 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageId.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageId.js +35 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageStatus.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageStatus.js +31 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.js +31 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/InsurancePlan.d.ts +22 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/InsurancePlan.js +43 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/MutableCoverage.d.ts +22 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/MutableCoverage.js +43 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Subscriber.d.ts +16 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Subscriber.js +37 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/index.d.ts +7 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/index.js +23 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +31 -0
- package/serialization/resources/preEncounter/resources/index.d.ts +4 -0
- package/serialization/resources/preEncounter/resources/index.js +33 -0
- package/serialization/resources/preEncounter/resources/patients/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/patients/index.js +17 -0
- package/serialization/resources/preEncounter/resources/patients/resources/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/index.js +27 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/index.js +17 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.js +31 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/create.d.ts +15 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/create.js +61 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.js +67 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/get.d.ts +15 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/get.js +61 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/getHistory.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/getHistory.js +63 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.d.ts +7 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.js +33 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/scan.d.ts +11 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/scan.js +32 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.d.ts +11 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.js +32 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/update.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/update.js +67 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.js +18 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Contact.d.ts +23 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Contact.js +44 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvenance.d.ts +13 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvenance.js +34 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.d.ts +19 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.js +40 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MaritalStatus.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MaritalStatus.js +44 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.d.ts +35 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.js +56 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Patient.d.ts +21 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Patient.js +44 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/PatientId.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/PatientId.js +35 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/index.d.ts +7 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/index.js +23 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +5 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +5 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +8 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +8 -0
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../../../../index"));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
notFoundError: (value) => {
|
|
33
|
+
return {
|
|
34
|
+
content: value,
|
|
35
|
+
errorName: "NotFoundError",
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.preEncounter.patients.v1.patients.update.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
versionConflictError: (value) => {
|
|
42
|
+
return {
|
|
43
|
+
content: value,
|
|
44
|
+
errorName: "VersionConflictError",
|
|
45
|
+
_visit: function (visitor) {
|
|
46
|
+
return CandidApi.preEncounter.patients.v1.patients.update.Error._visit(this, visitor);
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
_unknown: (fetcherError) => {
|
|
51
|
+
return {
|
|
52
|
+
errorName: undefined,
|
|
53
|
+
content: fetcherError,
|
|
54
|
+
_visit: function (visitor) {
|
|
55
|
+
return CandidApi.preEncounter.patients.v1.patients.update.Error._visit(this, visitor);
|
|
56
|
+
},
|
|
57
|
+
};
|
|
58
|
+
},
|
|
59
|
+
_visit: (value, visitor) => {
|
|
60
|
+
switch (value.errorName) {
|
|
61
|
+
case "NotFoundError":
|
|
62
|
+
return visitor.notFoundError(value.content);
|
|
63
|
+
case "VersionConflictError":
|
|
64
|
+
return visitor.versionConflictError(value.content);
|
|
65
|
+
default:
|
|
66
|
+
return visitor._other(value);
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
};
|
package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
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("./types"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../../../../index";
|
|
5
|
+
export interface Contact {
|
|
6
|
+
relationship: CandidApi.preEncounter.Relationship[];
|
|
7
|
+
name: CandidApi.preEncounter.HumanName;
|
|
8
|
+
gender?: CandidApi.preEncounter.Gender;
|
|
9
|
+
telecoms: CandidApi.preEncounter.ContactPoint[];
|
|
10
|
+
addresses: CandidApi.preEncounter.Address[];
|
|
11
|
+
period?: CandidApi.preEncounter.Period;
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../../../../index";
|
|
5
|
+
export interface ExternalProvider {
|
|
6
|
+
name: CandidApi.preEncounter.HumanName;
|
|
7
|
+
telecoms: CandidApi.preEncounter.ContactPoint[];
|
|
8
|
+
addresses: CandidApi.preEncounter.Address[];
|
|
9
|
+
period?: CandidApi.preEncounter.Period;
|
|
10
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export declare type MaritalStatus = "ANNULLED" | "DIVORCED" | "INTERLOCUTORY" | "SEPARATED" | "MARRIED" | "COMMON_LAW" | "POLYGAMOUS" | "DOMESTIC_PARTNER" | "UNMARRIED" | "NEVER_MARRIED" | "WIDOWED" | "UNKNOWN";
|
|
5
|
+
export declare const MaritalStatus: {
|
|
6
|
+
readonly Annulled: "ANNULLED";
|
|
7
|
+
readonly Divorced: "DIVORCED";
|
|
8
|
+
readonly Interlocutory: "INTERLOCUTORY";
|
|
9
|
+
readonly Separated: "SEPARATED";
|
|
10
|
+
readonly Married: "MARRIED";
|
|
11
|
+
readonly CommonLaw: "COMMON_LAW";
|
|
12
|
+
readonly Polygamous: "POLYGAMOUS";
|
|
13
|
+
readonly DomesticPartner: "DOMESTIC_PARTNER";
|
|
14
|
+
readonly Unmarried: "UNMARRIED";
|
|
15
|
+
readonly NeverMarried: "NEVER_MARRIED";
|
|
16
|
+
readonly Widowed: "WIDOWED";
|
|
17
|
+
readonly Unknown: "UNKNOWN";
|
|
18
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.MaritalStatus = void 0;
|
|
7
|
+
exports.MaritalStatus = {
|
|
8
|
+
Annulled: "ANNULLED",
|
|
9
|
+
Divorced: "DIVORCED",
|
|
10
|
+
Interlocutory: "INTERLOCUTORY",
|
|
11
|
+
Separated: "SEPARATED",
|
|
12
|
+
Married: "MARRIED",
|
|
13
|
+
CommonLaw: "COMMON_LAW",
|
|
14
|
+
Polygamous: "POLYGAMOUS",
|
|
15
|
+
DomesticPartner: "DOMESTIC_PARTNER",
|
|
16
|
+
Unmarried: "UNMARRIED",
|
|
17
|
+
NeverMarried: "NEVER_MARRIED",
|
|
18
|
+
Widowed: "WIDOWED",
|
|
19
|
+
Unknown: "UNKNOWN",
|
|
20
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* An object representing patient demographics information.
|
|
7
|
+
*/
|
|
8
|
+
export interface MutablePatient {
|
|
9
|
+
name: CandidApi.preEncounter.HumanName;
|
|
10
|
+
/** Other names for the patient. */
|
|
11
|
+
otherNames: CandidApi.preEncounter.HumanName[];
|
|
12
|
+
gender: CandidApi.preEncounter.Gender;
|
|
13
|
+
birthDate: string;
|
|
14
|
+
maritalStatus?: CandidApi.preEncounter.patients.v1.MaritalStatus;
|
|
15
|
+
/** Time of death for the patient. Leave unset if the patient is not deceased. */
|
|
16
|
+
deceased?: Date;
|
|
17
|
+
/** The number of siblings the patient was born with. Leave unset if the patient was not part of a multiple birth. */
|
|
18
|
+
multipleBirth?: number;
|
|
19
|
+
/** The primary address for the patient. */
|
|
20
|
+
primaryAddress: CandidApi.preEncounter.Address;
|
|
21
|
+
/** Other addresses for the patient. */
|
|
22
|
+
otherAddresses: CandidApi.preEncounter.Address[];
|
|
23
|
+
/** The primary phone number for the patient. */
|
|
24
|
+
primaryTelecom: CandidApi.preEncounter.ContactPoint;
|
|
25
|
+
/** Other phone numbers for the patient. */
|
|
26
|
+
otherTelecoms: CandidApi.preEncounter.ContactPoint[];
|
|
27
|
+
photo?: string;
|
|
28
|
+
language?: string;
|
|
29
|
+
/** Information about the upstream system that owns this patient data. Leave unset if Candid owns patient data. */
|
|
30
|
+
externalProvenance?: CandidApi.preEncounter.patients.v1.ExternalProvenance;
|
|
31
|
+
/** Contacts for the patient. */
|
|
32
|
+
contacts: CandidApi.preEncounter.patients.v1.Contact[];
|
|
33
|
+
generalPractitioners: CandidApi.preEncounter.patients.v1.ExternalProvider[];
|
|
34
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* A patient object with immutable server-owned properties.
|
|
7
|
+
*/
|
|
8
|
+
export interface Patient extends CandidApi.preEncounter.patients.v1.MutablePatient {
|
|
9
|
+
id: CandidApi.preEncounter.patients.v1.PatientId;
|
|
10
|
+
/** The organization that owns this patient. */
|
|
11
|
+
organizationId: CandidApi.preEncounter.OrganizationId;
|
|
12
|
+
/** True if the patient is deactivated. Deactivated patients are not returned in search results but are returned in all other endpoints including scan. */
|
|
13
|
+
deactivated: boolean;
|
|
14
|
+
/** The version of the patient. Any update to any property of a patient object will create a new version. */
|
|
15
|
+
version: number;
|
|
16
|
+
updatedAt: Date;
|
|
17
|
+
/** The user ID of the user who last updated the patient. */
|
|
18
|
+
updatingUserId: CandidApi.preEncounter.UserId;
|
|
19
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* The unique identifier for a Patient
|
|
7
|
+
*/
|
|
8
|
+
export declare type PatientId = string & {
|
|
9
|
+
preEncounter_patients_v1_PatientId: void;
|
|
10
|
+
};
|
|
11
|
+
export declare function PatientId(value: string): CandidApi.preEncounter.patients.v1.PatientId;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.PatientId = void 0;
|
|
7
|
+
function PatientId(value) {
|
|
8
|
+
return value;
|
|
9
|
+
}
|
|
10
|
+
exports.PatientId = PatientId;
|
|
@@ -0,0 +1,23 @@
|
|
|
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("./PatientId"), exports);
|
|
18
|
+
__exportStar(require("./MaritalStatus"), exports);
|
|
19
|
+
__exportStar(require("./ExternalProvenance"), exports);
|
|
20
|
+
__exportStar(require("./Contact"), exports);
|
|
21
|
+
__exportStar(require("./ExternalProvider"), exports);
|
|
22
|
+
__exportStar(require("./MutablePatient"), exports);
|
|
23
|
+
__exportStar(require("./Patient"), exports);
|
|
@@ -6,7 +6,7 @@ import * as core from "../../../../core";
|
|
|
6
6
|
import * as CandidApi from "../../../index";
|
|
7
7
|
export declare namespace ServiceFacility {
|
|
8
8
|
interface Options {
|
|
9
|
-
environment?: core.Supplier<environments.CandidApiEnvironment |
|
|
9
|
+
environment?: core.Supplier<environments.CandidApiEnvironment | environments.CandidApiEnvironmentUrls>;
|
|
10
10
|
token?: core.Supplier<core.BearerToken | undefined>;
|
|
11
11
|
}
|
|
12
12
|
interface RequestOptions {
|
|
@@ -71,13 +71,14 @@ class ServiceFacility {
|
|
|
71
71
|
var _a;
|
|
72
72
|
return __awaiter(this, void 0, void 0, function* () {
|
|
73
73
|
const _response = yield core.fetcher({
|
|
74
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
74
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
75
|
+
.candidApi, `/api/service_facility/v2/${encodeURIComponent(yield serializers.ServiceFacilityId.jsonOrThrow(serviceFacilityId))}`),
|
|
75
76
|
method: "PATCH",
|
|
76
77
|
headers: {
|
|
77
78
|
Authorization: yield this._getAuthorizationHeader(),
|
|
78
79
|
"X-Fern-Language": "JavaScript",
|
|
79
80
|
"X-Fern-SDK-Name": "candidhealth",
|
|
80
|
-
"X-Fern-SDK-Version": "0.
|
|
81
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
81
82
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
82
83
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
83
84
|
},
|
|
@@ -89,6 +89,10 @@ export interface ServiceLine {
|
|
|
89
89
|
placeOfServiceCodeAsSubmitted?: CandidApi.FacilityTypeCode;
|
|
90
90
|
serviceLineId: CandidApi.ServiceLineId;
|
|
91
91
|
procedureCode: string;
|
|
92
|
+
referringProvider?: CandidApi.encounterProviders.v2.EncounterProvider;
|
|
93
|
+
initialReferringProvider?: CandidApi.encounterProviders.v2.EncounterProvider;
|
|
94
|
+
supervisingProvider?: CandidApi.encounterProviders.v2.EncounterProvider;
|
|
95
|
+
orderingProvider?: CandidApi.encounterProviders.v2.EncounterProvider;
|
|
92
96
|
/**
|
|
93
97
|
* String representation of a Decimal that can be parsed by most libraries.
|
|
94
98
|
* A ServiceLine quantity cannot contain more than one digit of precision.
|
|
@@ -26,4 +26,26 @@ export interface ServiceLineCreate {
|
|
|
26
26
|
description?: string;
|
|
27
27
|
dateOfService?: string;
|
|
28
28
|
endDateOfService?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The final provider who referred the services that were rendered.
|
|
31
|
+
* All physicians who order services or refer Medicare beneficiaries must
|
|
32
|
+
* report this data.
|
|
33
|
+
*/
|
|
34
|
+
referringProvider?: CandidApi.encounterProviders.v2.ReferringProvider;
|
|
35
|
+
/**
|
|
36
|
+
* The second iteration of Loop ID-2310. Use code "P3 - Primary Care Provider" in this loop to
|
|
37
|
+
* indicate the initial referral from the primary care provider or whatever provider wrote the initial referral for this patient's episode of care being billed/reported in this transaction.
|
|
38
|
+
* Information in Loop ID-2310 applies to the entire claim unless overridden on a service line by the presence of Loop ID-2420 with the same value in NM101.
|
|
39
|
+
*/
|
|
40
|
+
initialReferringProvider?: CandidApi.encounterProviders.v2.InitialReferringProvider;
|
|
41
|
+
/**
|
|
42
|
+
* Required when the rendering provider is supervised by a physician. If not required by this implementation guide, do not send.
|
|
43
|
+
* Information in Loop ID-2310 applies to the entire claim unless overridden on a service line by the presence of Loop ID-2420 with the same value in NM101.
|
|
44
|
+
*/
|
|
45
|
+
supervisingProvider?: CandidApi.encounterProviders.v2.SupervisingProvider;
|
|
46
|
+
/**
|
|
47
|
+
* Required when the service or supply was ordered by a provider who is different than the rendering provider for this service line.
|
|
48
|
+
* If not required by this implementation guide, do not send.
|
|
49
|
+
*/
|
|
50
|
+
orderingProvider?: CandidApi.encounterProviders.v2.OrderingProvider;
|
|
29
51
|
}
|
|
@@ -6,7 +6,7 @@ import * as core from "../../../../core";
|
|
|
6
6
|
import { V3 } from "../resources/v3/client/Client";
|
|
7
7
|
export declare namespace Tasks {
|
|
8
8
|
interface Options {
|
|
9
|
-
environment?: core.Supplier<environments.CandidApiEnvironment |
|
|
9
|
+
environment?: core.Supplier<environments.CandidApiEnvironment | environments.CandidApiEnvironmentUrls>;
|
|
10
10
|
token?: core.Supplier<core.BearerToken | undefined>;
|
|
11
11
|
}
|
|
12
12
|
interface RequestOptions {
|
|
@@ -6,7 +6,7 @@ import * as core from "../../../../../../core";
|
|
|
6
6
|
import * as CandidApi from "../../../../../index";
|
|
7
7
|
export declare namespace V3 {
|
|
8
8
|
interface Options {
|
|
9
|
-
environment?: core.Supplier<environments.CandidApiEnvironment |
|
|
9
|
+
environment?: core.Supplier<environments.CandidApiEnvironment | environments.CandidApiEnvironmentUrls>;
|
|
10
10
|
token?: core.Supplier<core.BearerToken | undefined>;
|
|
11
11
|
}
|
|
12
12
|
interface RequestOptions {
|
|
@@ -59,13 +59,14 @@ class V3 {
|
|
|
59
59
|
var _a;
|
|
60
60
|
return __awaiter(this, void 0, void 0, function* () {
|
|
61
61
|
const _response = yield core.fetcher({
|
|
62
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
62
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
63
|
+
.candidApi, `/api/tasks/v3/${encodeURIComponent(yield serializers.TaskId.jsonOrThrow(taskId))}/actions`),
|
|
63
64
|
method: "GET",
|
|
64
65
|
headers: {
|
|
65
66
|
Authorization: yield this._getAuthorizationHeader(),
|
|
66
67
|
"X-Fern-Language": "JavaScript",
|
|
67
68
|
"X-Fern-SDK-Name": "candidhealth",
|
|
68
|
-
"X-Fern-SDK-Version": "0.
|
|
69
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
69
70
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
70
71
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
71
72
|
},
|
|
@@ -157,13 +158,14 @@ class V3 {
|
|
|
157
158
|
_queryParams["sort"] = sort;
|
|
158
159
|
}
|
|
159
160
|
const _response = yield core.fetcher({
|
|
160
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
161
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
162
|
+
.candidApi, "/api/tasks/v3"),
|
|
161
163
|
method: "GET",
|
|
162
164
|
headers: {
|
|
163
165
|
Authorization: yield this._getAuthorizationHeader(),
|
|
164
166
|
"X-Fern-Language": "JavaScript",
|
|
165
167
|
"X-Fern-SDK-Name": "candidhealth",
|
|
166
|
-
"X-Fern-SDK-Version": "0.
|
|
168
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
167
169
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
168
170
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
169
171
|
},
|
|
@@ -215,13 +217,14 @@ class V3 {
|
|
|
215
217
|
var _a, _b;
|
|
216
218
|
return __awaiter(this, void 0, void 0, function* () {
|
|
217
219
|
const _response = yield core.fetcher({
|
|
218
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
220
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
221
|
+
.candidApi, `/api/tasks/v3/${encodeURIComponent(yield serializers.TaskId.jsonOrThrow(taskId))}`),
|
|
219
222
|
method: "GET",
|
|
220
223
|
headers: {
|
|
221
224
|
Authorization: yield this._getAuthorizationHeader(),
|
|
222
225
|
"X-Fern-Language": "JavaScript",
|
|
223
226
|
"X-Fern-SDK-Name": "candidhealth",
|
|
224
|
-
"X-Fern-SDK-Version": "0.
|
|
227
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
225
228
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
226
229
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
227
230
|
},
|
|
@@ -281,13 +284,14 @@ class V3 {
|
|
|
281
284
|
var _a;
|
|
282
285
|
return __awaiter(this, void 0, void 0, function* () {
|
|
283
286
|
const _response = yield core.fetcher({
|
|
284
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
287
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
288
|
+
.candidApi, "/api/tasks/v3"),
|
|
285
289
|
method: "POST",
|
|
286
290
|
headers: {
|
|
287
291
|
Authorization: yield this._getAuthorizationHeader(),
|
|
288
292
|
"X-Fern-Language": "JavaScript",
|
|
289
293
|
"X-Fern-SDK-Name": "candidhealth",
|
|
290
|
-
"X-Fern-SDK-Version": "0.
|
|
294
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
291
295
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
292
296
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
293
297
|
},
|
|
@@ -330,13 +334,14 @@ class V3 {
|
|
|
330
334
|
var _a, _b;
|
|
331
335
|
return __awaiter(this, void 0, void 0, function* () {
|
|
332
336
|
const _response = yield core.fetcher({
|
|
333
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
337
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
338
|
+
.candidApi, `/api/tasks/v3/${encodeURIComponent(yield serializers.TaskId.jsonOrThrow(taskId))}`),
|
|
334
339
|
method: "PATCH",
|
|
335
340
|
headers: {
|
|
336
341
|
Authorization: yield this._getAuthorizationHeader(),
|
|
337
342
|
"X-Fern-Language": "JavaScript",
|
|
338
343
|
"X-Fern-SDK-Name": "candidhealth",
|
|
339
|
-
"X-Fern-SDK-Version": "0.
|
|
344
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
340
345
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
341
346
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
342
347
|
},
|
|
@@ -6,7 +6,7 @@ import * as core from "../../../../core";
|
|
|
6
6
|
import { V1 } from "../resources/v1/client/Client";
|
|
7
7
|
export declare namespace WriteOffs {
|
|
8
8
|
interface Options {
|
|
9
|
-
environment?: core.Supplier<environments.CandidApiEnvironment |
|
|
9
|
+
environment?: core.Supplier<environments.CandidApiEnvironment | environments.CandidApiEnvironmentUrls>;
|
|
10
10
|
token?: core.Supplier<core.BearerToken | undefined>;
|
|
11
11
|
}
|
|
12
12
|
interface RequestOptions {
|
|
@@ -6,7 +6,7 @@ import * as core from "../../../../../../core";
|
|
|
6
6
|
import * as CandidApi from "../../../../../index";
|
|
7
7
|
export declare namespace V1 {
|
|
8
8
|
interface Options {
|
|
9
|
-
environment?: core.Supplier<environments.CandidApiEnvironment |
|
|
9
|
+
environment?: core.Supplier<environments.CandidApiEnvironment | environments.CandidApiEnvironmentUrls>;
|
|
10
10
|
token?: core.Supplier<core.BearerToken | undefined>;
|
|
11
11
|
}
|
|
12
12
|
interface RequestOptions {
|
|
@@ -109,13 +109,14 @@ class V1 {
|
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
const _response = yield core.fetcher({
|
|
112
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
112
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
113
|
+
.candidApi, "/api/write-offs/v1"),
|
|
113
114
|
method: "GET",
|
|
114
115
|
headers: {
|
|
115
116
|
Authorization: yield this._getAuthorizationHeader(),
|
|
116
117
|
"X-Fern-Language": "JavaScript",
|
|
117
118
|
"X-Fern-SDK-Name": "candidhealth",
|
|
118
|
-
"X-Fern-SDK-Version": "0.
|
|
119
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
119
120
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
120
121
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
121
122
|
},
|
|
@@ -155,13 +156,14 @@ class V1 {
|
|
|
155
156
|
var _a;
|
|
156
157
|
return __awaiter(this, void 0, void 0, function* () {
|
|
157
158
|
const _response = yield core.fetcher({
|
|
158
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
159
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
160
|
+
.candidApi, `/api/write-offs/v1/${encodeURIComponent(yield serializers.writeOffs.v1.WriteOffId.jsonOrThrow(writeOffId))}`),
|
|
159
161
|
method: "GET",
|
|
160
162
|
headers: {
|
|
161
163
|
Authorization: yield this._getAuthorizationHeader(),
|
|
162
164
|
"X-Fern-Language": "JavaScript",
|
|
163
165
|
"X-Fern-SDK-Name": "candidhealth",
|
|
164
|
-
"X-Fern-SDK-Version": "0.
|
|
166
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
165
167
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
166
168
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
167
169
|
},
|
|
@@ -210,13 +212,14 @@ class V1 {
|
|
|
210
212
|
var _a;
|
|
211
213
|
return __awaiter(this, void 0, void 0, function* () {
|
|
212
214
|
const _response = yield core.fetcher({
|
|
213
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
215
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
216
|
+
.candidApi, "/api/write-offs/v1"),
|
|
214
217
|
method: "POST",
|
|
215
218
|
headers: {
|
|
216
219
|
Authorization: yield this._getAuthorizationHeader(),
|
|
217
220
|
"X-Fern-Language": "JavaScript",
|
|
218
221
|
"X-Fern-SDK-Name": "candidhealth",
|
|
219
|
-
"X-Fern-SDK-Version": "0.
|
|
222
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
220
223
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
221
224
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
222
225
|
},
|
|
@@ -258,13 +261,14 @@ class V1 {
|
|
|
258
261
|
var _a;
|
|
259
262
|
return __awaiter(this, void 0, void 0, function* () {
|
|
260
263
|
const _response = yield core.fetcher({
|
|
261
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production
|
|
264
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.CandidApiEnvironment.Production)
|
|
265
|
+
.candidApi, `/api/write-offs/v1/${encodeURIComponent(yield serializers.writeOffs.v1.WriteOffId.jsonOrThrow(writeOffId))}/revert`),
|
|
262
266
|
method: "POST",
|
|
263
267
|
headers: {
|
|
264
268
|
Authorization: yield this._getAuthorizationHeader(),
|
|
265
269
|
"X-Fern-Language": "JavaScript",
|
|
266
270
|
"X-Fern-SDK-Name": "candidhealth",
|
|
267
|
-
"X-Fern-SDK-Version": "0.
|
|
271
|
+
"X-Fern-SDK-Version": "0.24.0-2a6d412",
|
|
268
272
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
269
273
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
270
274
|
},
|
package/dist/environments.d.ts
CHANGED
|
@@ -1,8 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
export interface CandidApiEnvironmentUrls {
|
|
5
|
+
candidApi: string;
|
|
6
|
+
preEncounter: string;
|
|
7
|
+
}
|
|
4
8
|
export declare const CandidApiEnvironment: {
|
|
5
|
-
readonly Production:
|
|
6
|
-
|
|
9
|
+
readonly Production: {
|
|
10
|
+
readonly candidApi: "https://api.joincandidhealth.com";
|
|
11
|
+
readonly preEncounter: "https://pre-api.joincandidhealth.com";
|
|
12
|
+
};
|
|
13
|
+
readonly Staging: {
|
|
14
|
+
readonly candidApi: "https://api-staging.joincandidhealth.com";
|
|
15
|
+
readonly preEncounter: "https://pre-api-staging.joincandidhealth.com";
|
|
16
|
+
};
|
|
7
17
|
};
|
|
8
18
|
export declare type CandidApiEnvironment = typeof CandidApiEnvironment.Production | typeof CandidApiEnvironment.Staging;
|
package/dist/environments.js
CHANGED
|
@@ -5,6 +5,12 @@
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.CandidApiEnvironment = void 0;
|
|
7
7
|
exports.CandidApiEnvironment = {
|
|
8
|
-
Production:
|
|
9
|
-
|
|
8
|
+
Production: {
|
|
9
|
+
candidApi: "https://api.joincandidhealth.com",
|
|
10
|
+
preEncounter: "https://pre-api.joincandidhealth.com",
|
|
11
|
+
},
|
|
12
|
+
Staging: {
|
|
13
|
+
candidApi: "https://api-staging.joincandidhealth.com",
|
|
14
|
+
preEncounter: "https://pre-api-staging.joincandidhealth.com",
|
|
15
|
+
},
|
|
10
16
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export * as CandidApi from "./api";
|
|
2
2
|
export { CandidApiClient } from "./Client";
|
|
3
|
-
export { CandidApiEnvironment } from "./environments";
|
|
3
|
+
export { CandidApiEnvironment, CandidApiEnvironmentUrls } from "./environments";
|
|
4
4
|
export { CandidApiError, CandidApiTimeoutError } from "./errors";
|