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,56 @@
|
|
|
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.MutablePatient = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
31
|
+
const HumanName_1 = require("../../../../../../common/types/HumanName");
|
|
32
|
+
const Gender_1 = require("../../../../../../common/types/Gender");
|
|
33
|
+
const MaritalStatus_1 = require("./MaritalStatus");
|
|
34
|
+
const Address_1 = require("../../../../../../common/types/Address");
|
|
35
|
+
const ContactPoint_1 = require("../../../../../../common/types/ContactPoint");
|
|
36
|
+
const ExternalProvenance_1 = require("./ExternalProvenance");
|
|
37
|
+
const Contact_1 = require("./Contact");
|
|
38
|
+
const ExternalProvider_1 = require("./ExternalProvider");
|
|
39
|
+
exports.MutablePatient = core.serialization.object({
|
|
40
|
+
name: HumanName_1.HumanName,
|
|
41
|
+
otherNames: core.serialization.property("other_names", core.serialization.list(HumanName_1.HumanName)),
|
|
42
|
+
gender: Gender_1.Gender,
|
|
43
|
+
birthDate: core.serialization.property("birth_date", core.serialization.string()),
|
|
44
|
+
maritalStatus: core.serialization.property("marital_status", MaritalStatus_1.MaritalStatus.optional()),
|
|
45
|
+
deceased: core.serialization.date().optional(),
|
|
46
|
+
multipleBirth: core.serialization.property("multiple_birth", core.serialization.number().optional()),
|
|
47
|
+
primaryAddress: core.serialization.property("primary_address", Address_1.Address),
|
|
48
|
+
otherAddresses: core.serialization.property("other_addresses", core.serialization.list(Address_1.Address)),
|
|
49
|
+
primaryTelecom: core.serialization.property("primary_telecom", ContactPoint_1.ContactPoint),
|
|
50
|
+
otherTelecoms: core.serialization.property("other_telecoms", core.serialization.list(ContactPoint_1.ContactPoint)),
|
|
51
|
+
photo: core.serialization.string().optional(),
|
|
52
|
+
language: core.serialization.string().optional(),
|
|
53
|
+
externalProvenance: core.serialization.property("external_provenance", ExternalProvenance_1.ExternalProvenance.optional()),
|
|
54
|
+
contacts: core.serialization.list(Contact_1.Contact),
|
|
55
|
+
generalPractitioners: core.serialization.property("general_practitioners", core.serialization.list(ExternalProvider_1.ExternalProvider)),
|
|
56
|
+
});
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
import { PatientId } from "./PatientId";
|
|
8
|
+
import { OrganizationId } from "../../../../../../common/types/OrganizationId";
|
|
9
|
+
import { UserId } from "../../../../../../common/types/UserId";
|
|
10
|
+
import { MutablePatient } from "./MutablePatient";
|
|
11
|
+
export declare const Patient: core.serialization.ObjectSchema<serializers.preEncounter.patients.v1.Patient.Raw, CandidApi.preEncounter.patients.v1.Patient>;
|
|
12
|
+
export declare namespace Patient {
|
|
13
|
+
interface Raw extends MutablePatient.Raw {
|
|
14
|
+
id: PatientId.Raw;
|
|
15
|
+
organization_id: OrganizationId.Raw;
|
|
16
|
+
deactivated: boolean;
|
|
17
|
+
version: number;
|
|
18
|
+
updated_at: string;
|
|
19
|
+
updating_user_id: UserId.Raw;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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.Patient = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
31
|
+
const PatientId_1 = require("./PatientId");
|
|
32
|
+
const OrganizationId_1 = require("../../../../../../common/types/OrganizationId");
|
|
33
|
+
const UserId_1 = require("../../../../../../common/types/UserId");
|
|
34
|
+
const MutablePatient_1 = require("./MutablePatient");
|
|
35
|
+
exports.Patient = core.serialization
|
|
36
|
+
.object({
|
|
37
|
+
id: PatientId_1.PatientId,
|
|
38
|
+
organizationId: core.serialization.property("organization_id", OrganizationId_1.OrganizationId),
|
|
39
|
+
deactivated: core.serialization.boolean(),
|
|
40
|
+
version: core.serialization.number(),
|
|
41
|
+
updatedAt: core.serialization.property("updated_at", core.serialization.date()),
|
|
42
|
+
updatingUserId: core.serialization.property("updating_user_id", UserId_1.UserId),
|
|
43
|
+
})
|
|
44
|
+
.extend(MutablePatient_1.MutablePatient);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
export declare const PatientId: core.serialization.Schema<serializers.preEncounter.patients.v1.PatientId.Raw, CandidApi.preEncounter.patients.v1.PatientId>;
|
|
8
|
+
export declare namespace PatientId {
|
|
9
|
+
type Raw = string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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.PatientId = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../../../../../api/index"));
|
|
31
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
32
|
+
exports.PatientId = core.serialization.string().transform({
|
|
33
|
+
transform: CandidApi.preEncounter.patients.v1.PatientId,
|
|
34
|
+
untransform: (value) => value,
|
|
35
|
+
});
|
|
@@ -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);
|
|
@@ -13,6 +13,7 @@ import { InvoiceInfo } from "../../../../invoices/resources/v2/types/InvoiceInfo
|
|
|
13
13
|
import { ServiceLineDenialReason } from "./ServiceLineDenialReason";
|
|
14
14
|
import { FacilityTypeCode } from "../../../../commons/types/FacilityTypeCode";
|
|
15
15
|
import { ServiceLineId } from "../../../../commons/types/ServiceLineId";
|
|
16
|
+
import { EncounterProvider } from "../../../../encounterProviders/resources/v2/types/EncounterProvider";
|
|
16
17
|
import { Decimal } from "../../../../commons/types/Decimal";
|
|
17
18
|
import { ServiceLineUnits } from "../../../../commons/types/ServiceLineUnits";
|
|
18
19
|
import { ClaimId } from "../../../../commons/types/ClaimId";
|
|
@@ -40,6 +41,10 @@ export declare namespace ServiceLine {
|
|
|
40
41
|
place_of_service_code_as_submitted?: FacilityTypeCode.Raw | null;
|
|
41
42
|
service_line_id: ServiceLineId.Raw;
|
|
42
43
|
procedure_code: string;
|
|
44
|
+
referring_provider?: EncounterProvider.Raw | null;
|
|
45
|
+
initial_referring_provider?: EncounterProvider.Raw | null;
|
|
46
|
+
supervising_provider?: EncounterProvider.Raw | null;
|
|
47
|
+
ordering_provider?: EncounterProvider.Raw | null;
|
|
43
48
|
quantity: Decimal.Raw;
|
|
44
49
|
units: ServiceLineUnits.Raw;
|
|
45
50
|
claim_id: ClaimId.Raw;
|
|
@@ -37,6 +37,7 @@ const InvoiceInfo_1 = require("../../../../invoices/resources/v2/types/InvoiceIn
|
|
|
37
37
|
const ServiceLineDenialReason_1 = require("./ServiceLineDenialReason");
|
|
38
38
|
const FacilityTypeCode_1 = require("../../../../commons/types/FacilityTypeCode");
|
|
39
39
|
const ServiceLineId_1 = require("../../../../commons/types/ServiceLineId");
|
|
40
|
+
const EncounterProvider_1 = require("../../../../encounterProviders/resources/v2/types/EncounterProvider");
|
|
40
41
|
const Decimal_1 = require("../../../../commons/types/Decimal");
|
|
41
42
|
const ServiceLineUnits_1 = require("../../../../commons/types/ServiceLineUnits");
|
|
42
43
|
const ClaimId_1 = require("../../../../commons/types/ClaimId");
|
|
@@ -62,6 +63,10 @@ exports.ServiceLine = core.serialization.object({
|
|
|
62
63
|
placeOfServiceCodeAsSubmitted: core.serialization.property("place_of_service_code_as_submitted", FacilityTypeCode_1.FacilityTypeCode.optional()),
|
|
63
64
|
serviceLineId: core.serialization.property("service_line_id", ServiceLineId_1.ServiceLineId),
|
|
64
65
|
procedureCode: core.serialization.property("procedure_code", core.serialization.string()),
|
|
66
|
+
referringProvider: core.serialization.property("referring_provider", EncounterProvider_1.EncounterProvider.optional()),
|
|
67
|
+
initialReferringProvider: core.serialization.property("initial_referring_provider", EncounterProvider_1.EncounterProvider.optional()),
|
|
68
|
+
supervisingProvider: core.serialization.property("supervising_provider", EncounterProvider_1.EncounterProvider.optional()),
|
|
69
|
+
orderingProvider: core.serialization.property("ordering_provider", EncounterProvider_1.EncounterProvider.optional()),
|
|
65
70
|
quantity: Decimal_1.Decimal,
|
|
66
71
|
units: ServiceLineUnits_1.ServiceLineUnits,
|
|
67
72
|
claimId: core.serialization.property("claim_id", ClaimId_1.ClaimId),
|
|
@@ -9,6 +9,10 @@ import { Decimal } from "../../../../commons/types/Decimal";
|
|
|
9
9
|
import { ServiceLineUnits } from "../../../../commons/types/ServiceLineUnits";
|
|
10
10
|
import { DrugIdentification } from "./DrugIdentification";
|
|
11
11
|
import { FacilityTypeCode } from "../../../../commons/types/FacilityTypeCode";
|
|
12
|
+
import { ReferringProvider } from "../../../../encounterProviders/resources/v2/types/ReferringProvider";
|
|
13
|
+
import { InitialReferringProvider } from "../../../../encounterProviders/resources/v2/types/InitialReferringProvider";
|
|
14
|
+
import { SupervisingProvider } from "../../../../encounterProviders/resources/v2/types/SupervisingProvider";
|
|
15
|
+
import { OrderingProvider } from "../../../../encounterProviders/resources/v2/types/OrderingProvider";
|
|
12
16
|
export declare const ServiceLineCreate: core.serialization.ObjectSchema<serializers.serviceLines.v2.ServiceLineCreate.Raw, CandidApi.serviceLines.v2.ServiceLineCreate>;
|
|
13
17
|
export declare namespace ServiceLineCreate {
|
|
14
18
|
interface Raw {
|
|
@@ -23,5 +27,9 @@ export declare namespace ServiceLineCreate {
|
|
|
23
27
|
description?: string | null;
|
|
24
28
|
date_of_service?: string | null;
|
|
25
29
|
end_date_of_service?: string | null;
|
|
30
|
+
referring_provider?: ReferringProvider.Raw | null;
|
|
31
|
+
initial_referring_provider?: InitialReferringProvider.Raw | null;
|
|
32
|
+
supervising_provider?: SupervisingProvider.Raw | null;
|
|
33
|
+
ordering_provider?: OrderingProvider.Raw | null;
|
|
26
34
|
}
|
|
27
35
|
}
|
|
@@ -33,6 +33,10 @@ const Decimal_1 = require("../../../../commons/types/Decimal");
|
|
|
33
33
|
const ServiceLineUnits_1 = require("../../../../commons/types/ServiceLineUnits");
|
|
34
34
|
const DrugIdentification_1 = require("./DrugIdentification");
|
|
35
35
|
const FacilityTypeCode_1 = require("../../../../commons/types/FacilityTypeCode");
|
|
36
|
+
const ReferringProvider_1 = require("../../../../encounterProviders/resources/v2/types/ReferringProvider");
|
|
37
|
+
const InitialReferringProvider_1 = require("../../../../encounterProviders/resources/v2/types/InitialReferringProvider");
|
|
38
|
+
const SupervisingProvider_1 = require("../../../../encounterProviders/resources/v2/types/SupervisingProvider");
|
|
39
|
+
const OrderingProvider_1 = require("../../../../encounterProviders/resources/v2/types/OrderingProvider");
|
|
36
40
|
exports.ServiceLineCreate = core.serialization.object({
|
|
37
41
|
modifiers: core.serialization.list(ProcedureModifier_1.ProcedureModifier).optional(),
|
|
38
42
|
procedureCode: core.serialization.property("procedure_code", core.serialization.string()),
|
|
@@ -45,4 +49,8 @@ exports.ServiceLineCreate = core.serialization.object({
|
|
|
45
49
|
description: core.serialization.string().optional(),
|
|
46
50
|
dateOfService: core.serialization.property("date_of_service", core.serialization.string().optional()),
|
|
47
51
|
endDateOfService: core.serialization.property("end_date_of_service", core.serialization.string().optional()),
|
|
52
|
+
referringProvider: core.serialization.property("referring_provider", ReferringProvider_1.ReferringProvider.optional()),
|
|
53
|
+
initialReferringProvider: core.serialization.property("initial_referring_provider", InitialReferringProvider_1.InitialReferringProvider.optional()),
|
|
54
|
+
supervisingProvider: core.serialization.property("supervising_provider", SupervisingProvider_1.SupervisingProvider.optional()),
|
|
55
|
+
orderingProvider: core.serialization.property("ordering_provider", OrderingProvider_1.OrderingProvider.optional()),
|
|
48
56
|
});
|
package/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/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/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";
|
package/package.json
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const QualifierCode: core.serialization.Schema<serializers.QualifierCode.Raw, CandidApi.QualifierCode>;
|
|
8
|
+
export declare namespace QualifierCode {
|
|
9
|
+
type Raw = "DQ" | "DN" | "DK" | "P3";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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.QualifierCode = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
exports.QualifierCode = core.serialization.enum_(["DQ", "DN", "DK", "P3"]);
|
|
@@ -33,6 +33,7 @@ __exportStar(require("./RateId"), exports);
|
|
|
33
33
|
__exportStar(require("./LinkUrl"), exports);
|
|
34
34
|
__exportStar(require("./PageToken"), exports);
|
|
35
35
|
__exportStar(require("./SortDirection"), exports);
|
|
36
|
+
__exportStar(require("./QualifierCode"), exports);
|
|
36
37
|
__exportStar(require("./Date_"), exports);
|
|
37
38
|
__exportStar(require("./DateRangeOptionalEnd"), exports);
|
|
38
39
|
__exportStar(require("./Decimal"), exports);
|
package/serialization/resources/encounterProviders/resources/v2/types/EncounterProvider.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import * as CandidApi from "../../../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
7
|
import { ProviderId } from "./ProviderId";
|
|
8
8
|
import { StreetAddressLongZip } from "../../../../commons/types/StreetAddressLongZip";
|
|
9
|
+
import { QualifierCode } from "../../../../commons/types/QualifierCode";
|
|
9
10
|
import { EncounterProviderBase } from "./EncounterProviderBase";
|
|
10
11
|
export declare const EncounterProvider: core.serialization.ObjectSchema<serializers.encounterProviders.v2.EncounterProvider.Raw, CandidApi.encounterProviders.v2.EncounterProvider>;
|
|
11
12
|
export declare namespace EncounterProvider {
|
|
@@ -15,5 +16,6 @@ export declare namespace EncounterProvider {
|
|
|
15
16
|
tax_id?: string | null;
|
|
16
17
|
npi: string;
|
|
17
18
|
taxonomy_code?: string | null;
|
|
19
|
+
qualifier?: QualifierCode.Raw | null;
|
|
18
20
|
}
|
|
19
21
|
}
|
|
@@ -30,6 +30,7 @@ exports.EncounterProvider = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
31
|
const ProviderId_1 = require("./ProviderId");
|
|
32
32
|
const StreetAddressLongZip_1 = require("../../../../commons/types/StreetAddressLongZip");
|
|
33
|
+
const QualifierCode_1 = require("../../../../commons/types/QualifierCode");
|
|
33
34
|
const EncounterProviderBase_1 = require("./EncounterProviderBase");
|
|
34
35
|
exports.EncounterProvider = core.serialization
|
|
35
36
|
.object({
|
|
@@ -38,5 +39,6 @@ exports.EncounterProvider = core.serialization
|
|
|
38
39
|
taxId: core.serialization.property("tax_id", core.serialization.string().optional()),
|
|
39
40
|
npi: core.serialization.string(),
|
|
40
41
|
taxonomyCode: core.serialization.property("taxonomy_code", core.serialization.string().optional()),
|
|
42
|
+
qualifier: QualifierCode_1.QualifierCode.optional(),
|
|
41
43
|
})
|
|
42
44
|
.extend(EncounterProviderBase_1.EncounterProviderBase);
|
package/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProvider.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { StreetAddressLongZip } from "../../../../commons/types/StreetAddressLongZip";
|
|
8
|
+
import { QualifierCode } from "../../../../commons/types/QualifierCode";
|
|
9
|
+
import { EncounterProviderBase } from "./EncounterProviderBase";
|
|
10
|
+
export declare const InitialReferringProvider: core.serialization.ObjectSchema<serializers.encounterProviders.v2.InitialReferringProvider.Raw, CandidApi.encounterProviders.v2.InitialReferringProvider>;
|
|
11
|
+
export declare namespace InitialReferringProvider {
|
|
12
|
+
interface Raw extends EncounterProviderBase.Raw {
|
|
13
|
+
npi: string;
|
|
14
|
+
taxonomy_code?: string | null;
|
|
15
|
+
address?: StreetAddressLongZip.Raw | null;
|
|
16
|
+
qualifier?: QualifierCode.Raw | null;
|
|
17
|
+
}
|
|
18
|
+
}
|
package/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProvider.js
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
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.InitialReferringProvider = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
const StreetAddressLongZip_1 = require("../../../../commons/types/StreetAddressLongZip");
|
|
32
|
+
const QualifierCode_1 = require("../../../../commons/types/QualifierCode");
|
|
33
|
+
const EncounterProviderBase_1 = require("./EncounterProviderBase");
|
|
34
|
+
exports.InitialReferringProvider = core.serialization
|
|
35
|
+
.object({
|
|
36
|
+
npi: core.serialization.string(),
|
|
37
|
+
taxonomyCode: core.serialization.property("taxonomy_code", core.serialization.string().optional()),
|
|
38
|
+
address: StreetAddressLongZip_1.StreetAddressLongZip.optional(),
|
|
39
|
+
qualifier: QualifierCode_1.QualifierCode.optional(),
|
|
40
|
+
})
|
|
41
|
+
.extend(EncounterProviderBase_1.EncounterProviderBase);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { StreetAddressLongZip } from "../../../../commons/types/StreetAddressLongZip";
|
|
8
|
+
import { EncounterProviderBase } from "./EncounterProviderBase";
|
|
9
|
+
export declare const OrderingProvider: core.serialization.ObjectSchema<serializers.encounterProviders.v2.OrderingProvider.Raw, CandidApi.encounterProviders.v2.OrderingProvider>;
|
|
10
|
+
export declare namespace OrderingProvider {
|
|
11
|
+
interface Raw extends EncounterProviderBase.Raw {
|
|
12
|
+
npi: string;
|
|
13
|
+
taxonomy_code?: string | null;
|
|
14
|
+
address?: StreetAddressLongZip.Raw | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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.OrderingProvider = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
const StreetAddressLongZip_1 = require("../../../../commons/types/StreetAddressLongZip");
|
|
32
|
+
const EncounterProviderBase_1 = require("./EncounterProviderBase");
|
|
33
|
+
exports.OrderingProvider = core.serialization
|
|
34
|
+
.object({
|
|
35
|
+
npi: core.serialization.string(),
|
|
36
|
+
taxonomyCode: core.serialization.property("taxonomy_code", core.serialization.string().optional()),
|
|
37
|
+
address: StreetAddressLongZip_1.StreetAddressLongZip.optional(),
|
|
38
|
+
})
|
|
39
|
+
.extend(EncounterProviderBase_1.EncounterProviderBase);
|
package/serialization/resources/encounterProviders/resources/v2/types/SupervisingProvider.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { StreetAddressLongZip } from "../../../../commons/types/StreetAddressLongZip";
|
|
8
|
+
import { EncounterProviderBase } from "./EncounterProviderBase";
|
|
9
|
+
export declare const SupervisingProvider: core.serialization.ObjectSchema<serializers.encounterProviders.v2.SupervisingProvider.Raw, CandidApi.encounterProviders.v2.SupervisingProvider>;
|
|
10
|
+
export declare namespace SupervisingProvider {
|
|
11
|
+
interface Raw extends EncounterProviderBase.Raw {
|
|
12
|
+
npi: string;
|
|
13
|
+
taxonomy_code?: string | null;
|
|
14
|
+
address?: StreetAddressLongZip.Raw | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
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.SupervisingProvider = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
const StreetAddressLongZip_1 = require("../../../../commons/types/StreetAddressLongZip");
|
|
32
|
+
const EncounterProviderBase_1 = require("./EncounterProviderBase");
|
|
33
|
+
exports.SupervisingProvider = core.serialization
|
|
34
|
+
.object({
|
|
35
|
+
npi: core.serialization.string(),
|
|
36
|
+
taxonomyCode: core.serialization.property("taxonomy_code", core.serialization.string().optional()),
|
|
37
|
+
address: StreetAddressLongZip_1.StreetAddressLongZip.optional(),
|
|
38
|
+
})
|
|
39
|
+
.extend(EncounterProviderBase_1.EncounterProviderBase);
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export * from "./EncounterProviderBase";
|
|
2
2
|
export * from "./RenderingProvider";
|
|
3
3
|
export * from "./ReferringProvider";
|
|
4
|
+
export * from "./InitialReferringProvider";
|
|
5
|
+
export * from "./SupervisingProvider";
|
|
6
|
+
export * from "./OrderingProvider";
|
|
4
7
|
export * from "./BillingProvider";
|
|
5
8
|
export * from "./ProviderId";
|
|
6
9
|
export * from "./EncounterProvider";
|