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,27 @@
|
|
|
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 __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.v1 = void 0;
|
|
27
|
+
exports.v1 = __importStar(require("./v1"));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./resources";
|
|
@@ -0,0 +1,17 @@
|
|
|
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("./resources"), exports);
|
package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
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 __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
26
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.patients = void 0;
|
|
30
|
+
exports.patients = __importStar(require("./patients"));
|
|
31
|
+
__exportStar(require("./patients/types"), exports);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
import { VersionConflictErrorBody } from "../../../../../../common/types/VersionConflictErrorBody";
|
|
8
|
+
export declare const Error: core.serialization.Schema<serializers.preEncounter.patients.v1.patients.create.Error.Raw, CandidApi.preEncounter.patients.v1.patients.create.Error>;
|
|
9
|
+
export declare namespace Error {
|
|
10
|
+
type Raw = Error.VersionConflictError;
|
|
11
|
+
interface VersionConflictError {
|
|
12
|
+
errorName: "VersionConflictError";
|
|
13
|
+
content: VersionConflictErrorBody.Raw;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
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
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
29
|
+
var t = {};
|
|
30
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
31
|
+
t[p] = s[p];
|
|
32
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
33
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
34
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
35
|
+
t[p[i]] = s[p[i]];
|
|
36
|
+
}
|
|
37
|
+
return t;
|
|
38
|
+
};
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.Error = void 0;
|
|
41
|
+
const CandidApi = __importStar(require("../../../../../../../../../../api/index"));
|
|
42
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
43
|
+
const VersionConflictErrorBody_1 = require("../../../../../../common/types/VersionConflictErrorBody");
|
|
44
|
+
exports.Error = core.serialization
|
|
45
|
+
.union("errorName", {
|
|
46
|
+
VersionConflictError: core.serialization.object({
|
|
47
|
+
content: VersionConflictErrorBody_1.VersionConflictErrorBody,
|
|
48
|
+
}),
|
|
49
|
+
})
|
|
50
|
+
.transform({
|
|
51
|
+
transform: (value) => {
|
|
52
|
+
switch (value.errorName) {
|
|
53
|
+
case "VersionConflictError":
|
|
54
|
+
return CandidApi.preEncounter.patients.v1.patients.create.Error.versionConflictError(value.content);
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
untransform: (_a) => {
|
|
58
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
59
|
+
return value;
|
|
60
|
+
},
|
|
61
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
import { NotFoundErrorBody } from "../../../../../../common/types/NotFoundErrorBody";
|
|
8
|
+
import { VersionConflictErrorBody } from "../../../../../../common/types/VersionConflictErrorBody";
|
|
9
|
+
export declare const Error: core.serialization.Schema<serializers.preEncounter.patients.v1.patients.deactivate.Error.Raw, CandidApi.preEncounter.patients.v1.patients.deactivate.Error>;
|
|
10
|
+
export declare namespace Error {
|
|
11
|
+
type Raw = Error.NotFoundError | Error.VersionConflictError;
|
|
12
|
+
interface NotFoundError {
|
|
13
|
+
errorName: "NotFoundError";
|
|
14
|
+
content: NotFoundErrorBody.Raw;
|
|
15
|
+
}
|
|
16
|
+
interface VersionConflictError {
|
|
17
|
+
errorName: "VersionConflictError";
|
|
18
|
+
content: VersionConflictErrorBody.Raw;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
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
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
29
|
+
var t = {};
|
|
30
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
31
|
+
t[p] = s[p];
|
|
32
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
33
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
34
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
35
|
+
t[p[i]] = s[p[i]];
|
|
36
|
+
}
|
|
37
|
+
return t;
|
|
38
|
+
};
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.Error = void 0;
|
|
41
|
+
const CandidApi = __importStar(require("../../../../../../../../../../api/index"));
|
|
42
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
43
|
+
const NotFoundErrorBody_1 = require("../../../../../../common/types/NotFoundErrorBody");
|
|
44
|
+
const VersionConflictErrorBody_1 = require("../../../../../../common/types/VersionConflictErrorBody");
|
|
45
|
+
exports.Error = core.serialization
|
|
46
|
+
.union("errorName", {
|
|
47
|
+
NotFoundError: core.serialization.object({
|
|
48
|
+
content: NotFoundErrorBody_1.NotFoundErrorBody,
|
|
49
|
+
}),
|
|
50
|
+
VersionConflictError: core.serialization.object({
|
|
51
|
+
content: VersionConflictErrorBody_1.VersionConflictErrorBody,
|
|
52
|
+
}),
|
|
53
|
+
})
|
|
54
|
+
.transform({
|
|
55
|
+
transform: (value) => {
|
|
56
|
+
switch (value.errorName) {
|
|
57
|
+
case "NotFoundError":
|
|
58
|
+
return CandidApi.preEncounter.patients.v1.patients.deactivate.Error.notFoundError(value.content);
|
|
59
|
+
case "VersionConflictError":
|
|
60
|
+
return CandidApi.preEncounter.patients.v1.patients.deactivate.Error.versionConflictError(value.content);
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
untransform: (_a) => {
|
|
64
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
65
|
+
return value;
|
|
66
|
+
},
|
|
67
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
import { NotFoundErrorBody } from "../../../../../../common/types/NotFoundErrorBody";
|
|
8
|
+
export declare const Error: core.serialization.Schema<serializers.preEncounter.patients.v1.patients.get.Error.Raw, CandidApi.preEncounter.patients.v1.patients.get.Error>;
|
|
9
|
+
export declare namespace Error {
|
|
10
|
+
type Raw = Error.NotFoundError;
|
|
11
|
+
interface NotFoundError {
|
|
12
|
+
errorName: "NotFoundError";
|
|
13
|
+
content: NotFoundErrorBody.Raw;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
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
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
29
|
+
var t = {};
|
|
30
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
31
|
+
t[p] = s[p];
|
|
32
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
33
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
34
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
35
|
+
t[p[i]] = s[p[i]];
|
|
36
|
+
}
|
|
37
|
+
return t;
|
|
38
|
+
};
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.Error = void 0;
|
|
41
|
+
const CandidApi = __importStar(require("../../../../../../../../../../api/index"));
|
|
42
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
43
|
+
const NotFoundErrorBody_1 = require("../../../../../../common/types/NotFoundErrorBody");
|
|
44
|
+
exports.Error = core.serialization
|
|
45
|
+
.union("errorName", {
|
|
46
|
+
NotFoundError: core.serialization.object({
|
|
47
|
+
content: NotFoundErrorBody_1.NotFoundErrorBody,
|
|
48
|
+
}),
|
|
49
|
+
})
|
|
50
|
+
.transform({
|
|
51
|
+
transform: (value) => {
|
|
52
|
+
switch (value.errorName) {
|
|
53
|
+
case "NotFoundError":
|
|
54
|
+
return CandidApi.preEncounter.patients.v1.patients.get.Error.notFoundError(value.content);
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
untransform: (_a) => {
|
|
58
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
59
|
+
return value;
|
|
60
|
+
},
|
|
61
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
import { Patient } from "../types/Patient";
|
|
8
|
+
import { NotFoundErrorBody } from "../../../../../../common/types/NotFoundErrorBody";
|
|
9
|
+
export declare const Response: core.serialization.Schema<serializers.preEncounter.patients.v1.patients.getHistory.Response.Raw, CandidApi.preEncounter.patients.v1.Patient[]>;
|
|
10
|
+
export declare namespace Response {
|
|
11
|
+
type Raw = Patient.Raw[];
|
|
12
|
+
}
|
|
13
|
+
export declare const Error: core.serialization.Schema<serializers.preEncounter.patients.v1.patients.getHistory.Error.Raw, CandidApi.preEncounter.patients.v1.patients.getHistory.Error>;
|
|
14
|
+
export declare namespace Error {
|
|
15
|
+
type Raw = Error.NotFoundError;
|
|
16
|
+
interface NotFoundError {
|
|
17
|
+
errorName: "NotFoundError";
|
|
18
|
+
content: NotFoundErrorBody.Raw;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
29
|
+
var t = {};
|
|
30
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
31
|
+
t[p] = s[p];
|
|
32
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
33
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
34
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
35
|
+
t[p[i]] = s[p[i]];
|
|
36
|
+
}
|
|
37
|
+
return t;
|
|
38
|
+
};
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.Error = exports.Response = void 0;
|
|
41
|
+
const CandidApi = __importStar(require("../../../../../../../../../../api/index"));
|
|
42
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
43
|
+
const Patient_1 = require("../types/Patient");
|
|
44
|
+
const NotFoundErrorBody_1 = require("../../../../../../common/types/NotFoundErrorBody");
|
|
45
|
+
exports.Response = core.serialization.list(Patient_1.Patient);
|
|
46
|
+
exports.Error = core.serialization
|
|
47
|
+
.union("errorName", {
|
|
48
|
+
NotFoundError: core.serialization.object({
|
|
49
|
+
content: NotFoundErrorBody_1.NotFoundErrorBody,
|
|
50
|
+
}),
|
|
51
|
+
})
|
|
52
|
+
.transform({
|
|
53
|
+
transform: (value) => {
|
|
54
|
+
switch (value.errorName) {
|
|
55
|
+
case "NotFoundError":
|
|
56
|
+
return CandidApi.preEncounter.patients.v1.patients.getHistory.Error.notFoundError(value.content);
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
untransform: (_a) => {
|
|
60
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
61
|
+
return value;
|
|
62
|
+
},
|
|
63
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * as create from "./create";
|
|
2
|
+
export * as get from "./get";
|
|
3
|
+
export * as getHistory from "./getHistory";
|
|
4
|
+
export * as update from "./update";
|
|
5
|
+
export * as deactivate from "./deactivate";
|
|
6
|
+
export * as search from "./search";
|
|
7
|
+
export * as scan from "./scan";
|
|
@@ -0,0 +1,33 @@
|
|
|
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 __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.scan = exports.search = exports.deactivate = exports.update = exports.getHistory = exports.get = exports.create = void 0;
|
|
27
|
+
exports.create = __importStar(require("./create"));
|
|
28
|
+
exports.get = __importStar(require("./get"));
|
|
29
|
+
exports.getHistory = __importStar(require("./getHistory"));
|
|
30
|
+
exports.update = __importStar(require("./update"));
|
|
31
|
+
exports.deactivate = __importStar(require("./deactivate"));
|
|
32
|
+
exports.search = __importStar(require("./search"));
|
|
33
|
+
exports.scan = __importStar(require("./scan"));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
import { Patient } from "../types/Patient";
|
|
8
|
+
export declare const Response: core.serialization.Schema<serializers.preEncounter.patients.v1.patients.scan.Response.Raw, CandidApi.preEncounter.patients.v1.Patient[]>;
|
|
9
|
+
export declare namespace Response {
|
|
10
|
+
type Raw = Patient.Raw[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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.Response = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
31
|
+
const Patient_1 = require("../types/Patient");
|
|
32
|
+
exports.Response = core.serialization.list(Patient_1.Patient);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
import { Patient } from "../types/Patient";
|
|
8
|
+
export declare const Response: core.serialization.Schema<serializers.preEncounter.patients.v1.patients.search.Response.Raw, CandidApi.preEncounter.patients.v1.Patient[]>;
|
|
9
|
+
export declare namespace Response {
|
|
10
|
+
type Raw = Patient.Raw[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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.Response = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
31
|
+
const Patient_1 = require("../types/Patient");
|
|
32
|
+
exports.Response = core.serialization.list(Patient_1.Patient);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
import { NotFoundErrorBody } from "../../../../../../common/types/NotFoundErrorBody";
|
|
8
|
+
import { VersionConflictErrorBody } from "../../../../../../common/types/VersionConflictErrorBody";
|
|
9
|
+
export declare const Error: core.serialization.Schema<serializers.preEncounter.patients.v1.patients.update.Error.Raw, CandidApi.preEncounter.patients.v1.patients.update.Error>;
|
|
10
|
+
export declare namespace Error {
|
|
11
|
+
type Raw = Error.NotFoundError | Error.VersionConflictError;
|
|
12
|
+
interface NotFoundError {
|
|
13
|
+
errorName: "NotFoundError";
|
|
14
|
+
content: NotFoundErrorBody.Raw;
|
|
15
|
+
}
|
|
16
|
+
interface VersionConflictError {
|
|
17
|
+
errorName: "VersionConflictError";
|
|
18
|
+
content: VersionConflictErrorBody.Raw;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
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
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
29
|
+
var t = {};
|
|
30
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
31
|
+
t[p] = s[p];
|
|
32
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
33
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
34
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
35
|
+
t[p[i]] = s[p[i]];
|
|
36
|
+
}
|
|
37
|
+
return t;
|
|
38
|
+
};
|
|
39
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
+
exports.Error = void 0;
|
|
41
|
+
const CandidApi = __importStar(require("../../../../../../../../../../api/index"));
|
|
42
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
43
|
+
const NotFoundErrorBody_1 = require("../../../../../../common/types/NotFoundErrorBody");
|
|
44
|
+
const VersionConflictErrorBody_1 = require("../../../../../../common/types/VersionConflictErrorBody");
|
|
45
|
+
exports.Error = core.serialization
|
|
46
|
+
.union("errorName", {
|
|
47
|
+
NotFoundError: core.serialization.object({
|
|
48
|
+
content: NotFoundErrorBody_1.NotFoundErrorBody,
|
|
49
|
+
}),
|
|
50
|
+
VersionConflictError: core.serialization.object({
|
|
51
|
+
content: VersionConflictErrorBody_1.VersionConflictErrorBody,
|
|
52
|
+
}),
|
|
53
|
+
})
|
|
54
|
+
.transform({
|
|
55
|
+
transform: (value) => {
|
|
56
|
+
switch (value.errorName) {
|
|
57
|
+
case "NotFoundError":
|
|
58
|
+
return CandidApi.preEncounter.patients.v1.patients.update.Error.notFoundError(value.content);
|
|
59
|
+
case "VersionConflictError":
|
|
60
|
+
return CandidApi.preEncounter.patients.v1.patients.update.Error.versionConflictError(value.content);
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
untransform: (_a) => {
|
|
64
|
+
var { _visit } = _a, value = __rest(_a, ["_visit"]);
|
|
65
|
+
return value;
|
|
66
|
+
},
|
|
67
|
+
});
|