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,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../../../../index";
|
|
5
|
+
import * as core from "../../../../../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.preEncounter.coverages.v1.coverages.get.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface _Unknown extends _Utils {
|
|
9
|
+
errorName: void;
|
|
10
|
+
content: core.Fetcher.Error;
|
|
11
|
+
}
|
|
12
|
+
interface _Utils {
|
|
13
|
+
_visit: <_Result>(visitor: CandidApi.preEncounter.coverages.v1.coverages.get.Error._Visitor<_Result>) => _Result;
|
|
14
|
+
}
|
|
15
|
+
interface _Visitor<_Result> {
|
|
16
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export declare const Error: {
|
|
20
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.coverages.v1.coverages.get.Error._Unknown;
|
|
21
|
+
readonly _visit: <_Result>(value: CandidApi.preEncounter.coverages.v1.coverages.get.Error, visitor: CandidApi.preEncounter.coverages.v1.coverages.get.Error._Visitor<_Result>) => _Result;
|
|
22
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../../../../index"));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
_unknown: (fetcherError) => {
|
|
33
|
+
return {
|
|
34
|
+
errorName: undefined,
|
|
35
|
+
content: fetcherError,
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.preEncounter.coverages.v1.coverages.get.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
_visit: (value, visitor) => {
|
|
42
|
+
switch (value.errorName) {
|
|
43
|
+
default:
|
|
44
|
+
return visitor._other(value);
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../../../../index";
|
|
5
|
+
import * as core from "../../../../../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.preEncounter.coverages.v1.coverages.getHistory.Error.NotFoundError | CandidApi.preEncounter.coverages.v1.coverages.getHistory.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface NotFoundError extends _Utils {
|
|
9
|
+
errorName: "NotFoundError";
|
|
10
|
+
content: CandidApi.preEncounter.NotFoundErrorBody;
|
|
11
|
+
}
|
|
12
|
+
interface _Unknown extends _Utils {
|
|
13
|
+
errorName: void;
|
|
14
|
+
content: core.Fetcher.Error;
|
|
15
|
+
}
|
|
16
|
+
interface _Utils {
|
|
17
|
+
_visit: <_Result>(visitor: CandidApi.preEncounter.coverages.v1.coverages.getHistory.Error._Visitor<_Result>) => _Result;
|
|
18
|
+
}
|
|
19
|
+
interface _Visitor<_Result> {
|
|
20
|
+
notFoundError: (value: CandidApi.preEncounter.NotFoundErrorBody) => _Result;
|
|
21
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
export declare const Error: {
|
|
25
|
+
readonly notFoundError: (value: CandidApi.preEncounter.NotFoundErrorBody) => CandidApi.preEncounter.coverages.v1.coverages.getHistory.Error.NotFoundError;
|
|
26
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.coverages.v1.coverages.getHistory.Error._Unknown;
|
|
27
|
+
readonly _visit: <_Result>(value: CandidApi.preEncounter.coverages.v1.coverages.getHistory.Error, visitor: CandidApi.preEncounter.coverages.v1.coverages.getHistory.Error._Visitor<_Result>) => _Result;
|
|
28
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../../../../index"));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
notFoundError: (value) => {
|
|
33
|
+
return {
|
|
34
|
+
content: value,
|
|
35
|
+
errorName: "NotFoundError",
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.preEncounter.coverages.v1.coverages.getHistory.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
_unknown: (fetcherError) => {
|
|
42
|
+
return {
|
|
43
|
+
errorName: undefined,
|
|
44
|
+
content: fetcherError,
|
|
45
|
+
_visit: function (visitor) {
|
|
46
|
+
return CandidApi.preEncounter.coverages.v1.coverages.getHistory.Error._visit(this, visitor);
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
_visit: (value, visitor) => {
|
|
51
|
+
switch (value.errorName) {
|
|
52
|
+
case "NotFoundError":
|
|
53
|
+
return visitor.notFoundError(value.content);
|
|
54
|
+
default:
|
|
55
|
+
return visitor._other(value);
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../../../../index";
|
|
5
|
+
import * as core from "../../../../../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.preEncounter.coverages.v1.coverages.getMulti.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface _Unknown extends _Utils {
|
|
9
|
+
errorName: void;
|
|
10
|
+
content: core.Fetcher.Error;
|
|
11
|
+
}
|
|
12
|
+
interface _Utils {
|
|
13
|
+
_visit: <_Result>(visitor: CandidApi.preEncounter.coverages.v1.coverages.getMulti.Error._Visitor<_Result>) => _Result;
|
|
14
|
+
}
|
|
15
|
+
interface _Visitor<_Result> {
|
|
16
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export declare const Error: {
|
|
20
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.coverages.v1.coverages.getMulti.Error._Unknown;
|
|
21
|
+
readonly _visit: <_Result>(value: CandidApi.preEncounter.coverages.v1.coverages.getMulti.Error, visitor: CandidApi.preEncounter.coverages.v1.coverages.getMulti.Error._Visitor<_Result>) => _Result;
|
|
22
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../../../../index"));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
_unknown: (fetcherError) => {
|
|
33
|
+
return {
|
|
34
|
+
errorName: undefined,
|
|
35
|
+
content: fetcherError,
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.preEncounter.coverages.v1.coverages.getMulti.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
_visit: (value, visitor) => {
|
|
42
|
+
switch (value.errorName) {
|
|
43
|
+
default:
|
|
44
|
+
return visitor._other(value);
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
19
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
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.scan = exports.getMulti = exports.getHistory = exports.get = exports.update = exports.create = void 0;
|
|
30
|
+
__exportStar(require("./requests"), exports);
|
|
31
|
+
exports.create = __importStar(require("./create"));
|
|
32
|
+
exports.update = __importStar(require("./update"));
|
|
33
|
+
exports.get = __importStar(require("./get"));
|
|
34
|
+
exports.getHistory = __importStar(require("./getHistory"));
|
|
35
|
+
exports.getMulti = __importStar(require("./getMulti"));
|
|
36
|
+
exports.scan = __importStar(require("./scan"));
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../../../../index";
|
|
5
|
+
import * as core from "../../../../../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.preEncounter.coverages.v1.coverages.scan.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface _Unknown extends _Utils {
|
|
9
|
+
errorName: void;
|
|
10
|
+
content: core.Fetcher.Error;
|
|
11
|
+
}
|
|
12
|
+
interface _Utils {
|
|
13
|
+
_visit: <_Result>(visitor: CandidApi.preEncounter.coverages.v1.coverages.scan.Error._Visitor<_Result>) => _Result;
|
|
14
|
+
}
|
|
15
|
+
interface _Visitor<_Result> {
|
|
16
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export declare const Error: {
|
|
20
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.coverages.v1.coverages.scan.Error._Unknown;
|
|
21
|
+
readonly _visit: <_Result>(value: CandidApi.preEncounter.coverages.v1.coverages.scan.Error, visitor: CandidApi.preEncounter.coverages.v1.coverages.scan.Error._Visitor<_Result>) => _Result;
|
|
22
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../../../../index"));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
_unknown: (fetcherError) => {
|
|
33
|
+
return {
|
|
34
|
+
errorName: undefined,
|
|
35
|
+
content: fetcherError,
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.preEncounter.coverages.v1.coverages.scan.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
_visit: (value, visitor) => {
|
|
42
|
+
switch (value.errorName) {
|
|
43
|
+
default:
|
|
44
|
+
return visitor._other(value);
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../../../../index";
|
|
5
|
+
import * as core from "../../../../../../../../../../core";
|
|
6
|
+
export declare type Error = CandidApi.preEncounter.coverages.v1.coverages.update.Error.NotFoundError | CandidApi.preEncounter.coverages.v1.coverages.update.Error.VersionConflictError | CandidApi.preEncounter.coverages.v1.coverages.update.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface NotFoundError extends _Utils {
|
|
9
|
+
errorName: "NotFoundError";
|
|
10
|
+
content: CandidApi.preEncounter.NotFoundErrorBody;
|
|
11
|
+
}
|
|
12
|
+
interface VersionConflictError extends _Utils {
|
|
13
|
+
errorName: "VersionConflictError";
|
|
14
|
+
content: CandidApi.preEncounter.VersionConflictErrorBody;
|
|
15
|
+
}
|
|
16
|
+
interface _Unknown extends _Utils {
|
|
17
|
+
errorName: void;
|
|
18
|
+
content: core.Fetcher.Error;
|
|
19
|
+
}
|
|
20
|
+
interface _Utils {
|
|
21
|
+
_visit: <_Result>(visitor: CandidApi.preEncounter.coverages.v1.coverages.update.Error._Visitor<_Result>) => _Result;
|
|
22
|
+
}
|
|
23
|
+
interface _Visitor<_Result> {
|
|
24
|
+
notFoundError: (value: CandidApi.preEncounter.NotFoundErrorBody) => _Result;
|
|
25
|
+
versionConflictError: (value: CandidApi.preEncounter.VersionConflictErrorBody) => _Result;
|
|
26
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
export declare const Error: {
|
|
30
|
+
readonly notFoundError: (value: CandidApi.preEncounter.NotFoundErrorBody) => CandidApi.preEncounter.coverages.v1.coverages.update.Error.NotFoundError;
|
|
31
|
+
readonly versionConflictError: (value: CandidApi.preEncounter.VersionConflictErrorBody) => CandidApi.preEncounter.coverages.v1.coverages.update.Error.VersionConflictError;
|
|
32
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.coverages.v1.coverages.update.Error._Unknown;
|
|
33
|
+
readonly _visit: <_Result>(value: CandidApi.preEncounter.coverages.v1.coverages.update.Error, visitor: CandidApi.preEncounter.coverages.v1.coverages.update.Error._Visitor<_Result>) => _Result;
|
|
34
|
+
};
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.Error = void 0;
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../../../../index"));
|
|
31
|
+
exports.Error = {
|
|
32
|
+
notFoundError: (value) => {
|
|
33
|
+
return {
|
|
34
|
+
content: value,
|
|
35
|
+
errorName: "NotFoundError",
|
|
36
|
+
_visit: function (visitor) {
|
|
37
|
+
return CandidApi.preEncounter.coverages.v1.coverages.update.Error._visit(this, visitor);
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
},
|
|
41
|
+
versionConflictError: (value) => {
|
|
42
|
+
return {
|
|
43
|
+
content: value,
|
|
44
|
+
errorName: "VersionConflictError",
|
|
45
|
+
_visit: function (visitor) {
|
|
46
|
+
return CandidApi.preEncounter.coverages.v1.coverages.update.Error._visit(this, visitor);
|
|
47
|
+
},
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
_unknown: (fetcherError) => {
|
|
51
|
+
return {
|
|
52
|
+
errorName: undefined,
|
|
53
|
+
content: fetcherError,
|
|
54
|
+
_visit: function (visitor) {
|
|
55
|
+
return CandidApi.preEncounter.coverages.v1.coverages.update.Error._visit(this, visitor);
|
|
56
|
+
},
|
|
57
|
+
};
|
|
58
|
+
},
|
|
59
|
+
_visit: (value, visitor) => {
|
|
60
|
+
switch (value.errorName) {
|
|
61
|
+
case "NotFoundError":
|
|
62
|
+
return visitor.notFoundError(value.content);
|
|
63
|
+
case "VersionConflictError":
|
|
64
|
+
return visitor.versionConflictError(value.content);
|
|
65
|
+
default:
|
|
66
|
+
return visitor._other(value);
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* A coverage object with immutable server-owned properties.
|
|
7
|
+
*/
|
|
8
|
+
export interface Coverage extends CandidApi.preEncounter.coverages.v1.MutableCoverage {
|
|
9
|
+
id: CandidApi.preEncounter.coverages.v1.CoverageId;
|
|
10
|
+
/** The organization that owns this coverage. */
|
|
11
|
+
organizationId: CandidApi.preEncounter.OrganizationId;
|
|
12
|
+
/** True if the coverage is deactivated. Deactivated coverages are not returned in search results but are returned in all other endpoints including scan. */
|
|
13
|
+
deactivated: boolean;
|
|
14
|
+
/** The version of the coverage. Any update to any property of a coverage object will create a new version. */
|
|
15
|
+
version: number;
|
|
16
|
+
updatedAt: Date;
|
|
17
|
+
/** The user ID of the user who last updated the coverage. */
|
|
18
|
+
updatingUserId: CandidApi.preEncounter.UserId;
|
|
19
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* The unique identifier for a Coverage in the database
|
|
7
|
+
*/
|
|
8
|
+
export declare type CoverageId = string & {
|
|
9
|
+
preEncounter_coverages_v1_CoverageId: void;
|
|
10
|
+
};
|
|
11
|
+
export declare function CoverageId(value: string): CandidApi.preEncounter.coverages.v1.CoverageId;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.CoverageId = void 0;
|
|
7
|
+
function CoverageId(value) {
|
|
8
|
+
return value;
|
|
9
|
+
}
|
|
10
|
+
exports.CoverageId = CoverageId;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* enum to represent the statuses defined at https://build.fhir.org/valueset-fm-status.html
|
|
6
|
+
*/
|
|
7
|
+
export declare type CoverageStatus = "ACTIVE" | "CANCELLED" | "DRAFT" | "ENTERED_IN_ERROR";
|
|
8
|
+
export declare const CoverageStatus: {
|
|
9
|
+
readonly Active: "ACTIVE";
|
|
10
|
+
readonly Cancelled: "CANCELLED";
|
|
11
|
+
readonly Draft: "DRAFT";
|
|
12
|
+
readonly EnteredInError: "ENTERED_IN_ERROR";
|
|
13
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.CoverageStatus = void 0;
|
|
7
|
+
exports.CoverageStatus = {
|
|
8
|
+
Active: "ACTIVE",
|
|
9
|
+
Cancelled: "CANCELLED",
|
|
10
|
+
Draft: "DRAFT",
|
|
11
|
+
EnteredInError: "ENTERED_IN_ERROR",
|
|
12
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../../../../index";
|
|
5
|
+
export interface InsurancePlan {
|
|
6
|
+
memberId: string;
|
|
7
|
+
payerId: CandidApi.preEncounter.PayerId;
|
|
8
|
+
payerName: string;
|
|
9
|
+
groupNumber?: string;
|
|
10
|
+
name?: string;
|
|
11
|
+
type?: CandidApi.preEncounter.coverages.v1.CoverageType;
|
|
12
|
+
period?: CandidApi.preEncounter.Period;
|
|
13
|
+
insuranceCardImageLocator?: string;
|
|
14
|
+
}
|