candidhealth 0.23.0 → 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 +1 -1
- 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/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/encounters/client/Client.d.ts +1 -1
- package/api/resources/encounters/resources/v4/client/Client.d.ts +1 -1
- package/api/resources/encounters/resources/v4/client/Client.js +12 -8
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +7 -5
- 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/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 +1 -1
- package/api/resources/preEncounter/resources/coverages/client/Client.d.ts +4 -125
- package/api/resources/preEncounter/resources/coverages/client/Client.js +3 -424
- package/api/resources/preEncounter/resources/coverages/client/index.d.ts +1 -7
- package/api/resources/preEncounter/resources/coverages/client/index.js +0 -34
- package/api/resources/preEncounter/resources/coverages/index.d.ts +1 -1
- package/api/resources/preEncounter/resources/coverages/index.js +1 -1
- 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/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/{client → resources/v1/resources/coverages/client}/create.d.ts +6 -6
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/create.js +2 -2
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/get.d.ts +6 -6
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/get.js +2 -2
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/getHistory.d.ts +7 -7
- package/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/getHistory.js +3 -3
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/getMulti.d.ts +6 -6
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/getMulti.js +2 -2
- 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/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/scan.d.ts +6 -6
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/scan.js +2 -2
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/update.d.ts +8 -8
- package/api/resources/preEncounter/resources/{patients → coverages/resources/v1/resources/coverages}/client/update.js +4 -4
- 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/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/Coverage.d.ts +3 -3
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/CoverageId.d.ts +3 -3
- package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/InsurancePlan.d.ts +2 -2
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/MutableCoverage.d.ts +5 -5
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/Subscriber.d.ts +1 -1
- 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 +0 -4
- package/api/resources/preEncounter/resources/index.js +0 -4
- package/api/resources/preEncounter/resources/patients/client/Client.d.ts +4 -316
- package/api/resources/preEncounter/resources/patients/client/Client.js +3 -688
- package/api/resources/preEncounter/resources/patients/client/index.d.ts +1 -8
- package/api/resources/preEncounter/resources/patients/client/index.js +0 -35
- package/api/resources/preEncounter/resources/patients/index.d.ts +1 -1
- package/api/resources/preEncounter/resources/patients/index.js +1 -1
- 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/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/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/create.d.ts +7 -7
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/create.js +3 -3
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/deactivate.d.ts +8 -8
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/deactivate.js +4 -4
- package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/get.d.ts +7 -7
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/get.js +3 -3
- package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/getHistory.d.ts +7 -7
- package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/getHistory.js +3 -3
- 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/{client → resources/v1/resources/patients/client}/scan.d.ts +6 -6
- package/api/resources/preEncounter/resources/{coverages → patients/resources/v1/resources/patients}/client/scan.js +2 -2
- package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/search.d.ts +6 -6
- package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/search.js +2 -2
- package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/update.d.ts +8 -8
- package/api/resources/preEncounter/resources/{coverages → patients/resources/v1/resources/patients}/client/update.js +4 -4
- 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/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/Contact.d.ts +1 -1
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/ExternalProvider.d.ts +1 -1
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/MutablePatient.d.ts +5 -5
- package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/Patient.d.ts +3 -3
- package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/PatientId.d.ts +3 -3
- 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/ServiceLineCreate.d.ts +11 -5
- 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 +1 -1
- 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/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/encounters/client/Client.d.ts +1 -1
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +1 -1
- package/dist/api/resources/encounters/resources/v4/client/Client.js +12 -8
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +7 -5
- 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/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 +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/client/Client.d.ts +4 -125
- package/dist/api/resources/preEncounter/resources/coverages/client/Client.js +3 -424
- package/dist/api/resources/preEncounter/resources/coverages/client/index.d.ts +1 -7
- package/dist/api/resources/preEncounter/resources/coverages/client/index.js +0 -34
- package/dist/api/resources/preEncounter/resources/coverages/index.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/index.js +1 -1
- 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/{client → resources/v1/resources/coverages/client}/create.d.ts +6 -6
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/create.js +2 -2
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/get.d.ts +6 -6
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/get.js +2 -2
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/getHistory.d.ts +7 -7
- package/dist/api/resources/preEncounter/resources/{patients → coverages/resources/v1/resources/coverages}/client/getHistory.js +3 -3
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/getMulti.d.ts +6 -6
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/getMulti.js +2 -2
- 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/index.js +2 -0
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/scan.d.ts +6 -6
- package/dist/api/resources/preEncounter/resources/{patients → coverages/resources/v1/resources/coverages}/client/scan.js +2 -2
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/update.d.ts +8 -8
- package/dist/api/resources/preEncounter/resources/{patients → coverages/resources/v1/resources/coverages}/client/update.js +4 -4
- 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/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/Coverage.d.ts +3 -3
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/CoverageId.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/InsurancePlan.d.ts +2 -2
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/MutableCoverage.d.ts +5 -5
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/Subscriber.d.ts +1 -1
- 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 +0 -4
- package/dist/api/resources/preEncounter/resources/index.js +0 -4
- package/dist/api/resources/preEncounter/resources/patients/client/Client.d.ts +4 -316
- package/dist/api/resources/preEncounter/resources/patients/client/Client.js +3 -688
- package/dist/api/resources/preEncounter/resources/patients/client/index.d.ts +1 -8
- package/dist/api/resources/preEncounter/resources/patients/client/index.js +0 -35
- package/dist/api/resources/preEncounter/resources/patients/index.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/patients/index.js +1 -1
- 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/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/create.d.ts +7 -7
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/create.js +3 -3
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/deactivate.d.ts +8 -8
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/deactivate.js +4 -4
- package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/get.d.ts +7 -7
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/get.js +3 -3
- package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/getHistory.d.ts +7 -7
- package/dist/api/resources/preEncounter/resources/{coverages → patients/resources/v1/resources/patients}/client/getHistory.js +3 -3
- 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/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/scan.d.ts +6 -6
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/scan.js +2 -2
- package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/search.d.ts +6 -6
- package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/search.js +2 -2
- package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/update.d.ts +8 -8
- package/dist/api/resources/preEncounter/resources/{coverages → patients/resources/v1/resources/patients}/client/update.js +4 -4
- 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/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/Contact.d.ts +1 -1
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/ExternalProvider.d.ts +1 -1
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/MutablePatient.d.ts +5 -5
- package/{api/resources/preEncounter → dist/api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/Patient.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/PatientId.d.ts +3 -3
- 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/ServiceLineCreate.d.ts +11 -5
- 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/preEncounter/resources/common/types/Address.d.ts +1 -1
- package/dist/serialization/resources/preEncounter/resources/common/types/Address.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.d.ts +1 -1
- package/dist/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/index.d.ts +1 -2
- package/dist/serialization/resources/preEncounter/resources/coverages/index.js +1 -2
- 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/{client → resources/v1/resources/coverages/client}/getHistory.js +4 -4
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.d.ts +11 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/getMulti.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.d.ts +11 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/scan.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/update.d.ts +20 -0
- package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/client/update.js +6 -6
- 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/{types → resources/v1/resources/coverages/types}/Coverage.js +5 -5
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageId.d.ts +10 -0
- package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/CoverageId.js +3 -3
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageStatus.d.ts +10 -0
- package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/CoverageStatus.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.d.ts +10 -0
- package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/CoverageType.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/InsurancePlan.d.ts +22 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/InsurancePlan.js +8 -8
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/MutableCoverage.d.ts +22 -0
- package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/MutableCoverage.js +4 -4
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Subscriber.d.ts +16 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/Subscriber.js +4 -4
- 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 +0 -2
- package/dist/serialization/resources/preEncounter/resources/index.js +0 -2
- package/dist/serialization/resources/preEncounter/resources/patients/index.d.ts +1 -2
- package/dist/serialization/resources/preEncounter/resources/patients/index.js +1 -2
- 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/{client → resources/v1/resources/patients/client}/create.js +4 -4
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.d.ts +20 -0
- package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/deactivate.js +6 -6
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/get.d.ts +15 -0
- package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/get.js +4 -4
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/getHistory.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/getHistory.js +4 -4
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/scan.d.ts +11 -0
- package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/scan.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.d.ts +11 -0
- package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/search.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/update.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/update.js +6 -6
- 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/{types → resources/v1/resources/patients/types}/Contact.js +7 -7
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvenance.d.ts +13 -0
- package/dist/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvenance.js +3 -3
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.d.ts +19 -0
- package/dist/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvider.js +5 -5
- package/dist/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MaritalStatus.d.ts +4 -4
- package/dist/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MaritalStatus.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.d.ts +35 -0
- package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/MutablePatient.js +15 -15
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Patient.d.ts +21 -0
- package/dist/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/Patient.js +5 -5
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/PatientId.d.ts +10 -0
- package/{serialization/resources/preEncounter → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/PatientId.js +3 -3
- 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/preEncounter/resources/common/types/Address.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/common/types/Address.js +1 -1
- package/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/common/types/VersionConflictErrorBody.js +1 -1
- package/serialization/resources/preEncounter/resources/coverages/index.d.ts +1 -2
- package/serialization/resources/preEncounter/resources/coverages/index.js +1 -2
- 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/{client → resources/v1/resources/coverages/client}/getHistory.js +4 -4
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.d.ts +11 -0
- package/serialization/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/getMulti.js +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.d.ts +11 -0
- package/serialization/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/scan.js +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/update.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/{patients → coverages/resources/v1/resources/coverages}/client/update.js +6 -6
- 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/{types → resources/v1/resources/coverages/types}/Coverage.js +5 -5
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageId.d.ts +10 -0
- package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/CoverageId.js +3 -3
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageStatus.d.ts +10 -0
- package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/CoverageStatus.js +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.d.ts +10 -0
- package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/CoverageType.js +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/InsurancePlan.d.ts +22 -0
- package/serialization/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/InsurancePlan.js +8 -8
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/MutableCoverage.d.ts +22 -0
- package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/coverages/resources/v1}/resources/coverages/types/MutableCoverage.js +4 -4
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/Subscriber.d.ts +16 -0
- package/serialization/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/Subscriber.js +4 -4
- 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 +0 -2
- package/serialization/resources/preEncounter/resources/index.js +0 -2
- package/serialization/resources/preEncounter/resources/patients/index.d.ts +1 -2
- package/serialization/resources/preEncounter/resources/patients/index.js +1 -2
- 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/{client → resources/v1/resources/patients/client}/create.js +4 -4
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.d.ts +20 -0
- package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/deactivate.js +6 -6
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/get.d.ts +15 -0
- package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/get.js +4 -4
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/getHistory.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/getHistory.js +4 -4
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/scan.d.ts +11 -0
- package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/scan.js +1 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.d.ts +11 -0
- package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/search.js +1 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/update.d.ts +20 -0
- package/{dist/serialization/resources/preEncounter/resources/coverages → serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients}/client/update.js +6 -6
- 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/{types → resources/v1/resources/patients/types}/Contact.js +7 -7
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvenance.d.ts +13 -0
- package/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvenance.js +3 -3
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.d.ts +19 -0
- package/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvider.js +5 -5
- package/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MaritalStatus.d.ts +4 -4
- package/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MaritalStatus.js +1 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.d.ts +35 -0
- package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/MutablePatient.js +15 -15
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Patient.d.ts +21 -0
- package/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/Patient.js +5 -5
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/PatientId.d.ts +10 -0
- package/{dist/serialization/resources/preEncounter → serialization/resources/preEncounter/resources/patients/resources/v1}/resources/patients/types/PatientId.js +3 -3
- package/dist/serialization/resources/preEncounter/resources/coverages/client/getHistory.d.ts +0 -20
- package/dist/serialization/resources/preEncounter/resources/coverages/client/getMulti.d.ts +0 -11
- package/dist/serialization/resources/preEncounter/resources/coverages/client/scan.d.ts +0 -11
- package/dist/serialization/resources/preEncounter/resources/coverages/client/update.d.ts +0 -20
- package/dist/serialization/resources/preEncounter/resources/coverages/types/Coverage.d.ts +0 -21
- package/dist/serialization/resources/preEncounter/resources/coverages/types/CoverageId.d.ts +0 -10
- package/dist/serialization/resources/preEncounter/resources/coverages/types/CoverageStatus.d.ts +0 -10
- package/dist/serialization/resources/preEncounter/resources/coverages/types/CoverageType.d.ts +0 -10
- package/dist/serialization/resources/preEncounter/resources/coverages/types/InsurancePlan.d.ts +0 -22
- package/dist/serialization/resources/preEncounter/resources/coverages/types/MutableCoverage.d.ts +0 -22
- package/dist/serialization/resources/preEncounter/resources/coverages/types/Subscriber.d.ts +0 -16
- package/dist/serialization/resources/preEncounter/resources/patients/client/create.d.ts +0 -15
- package/dist/serialization/resources/preEncounter/resources/patients/client/deactivate.d.ts +0 -20
- package/dist/serialization/resources/preEncounter/resources/patients/client/get.d.ts +0 -15
- package/dist/serialization/resources/preEncounter/resources/patients/client/getHistory.d.ts +0 -20
- package/dist/serialization/resources/preEncounter/resources/patients/client/scan.d.ts +0 -11
- package/dist/serialization/resources/preEncounter/resources/patients/client/search.d.ts +0 -11
- package/dist/serialization/resources/preEncounter/resources/patients/client/update.d.ts +0 -20
- package/dist/serialization/resources/preEncounter/resources/patients/types/Contact.d.ts +0 -23
- package/dist/serialization/resources/preEncounter/resources/patients/types/ExternalProvenance.d.ts +0 -13
- package/dist/serialization/resources/preEncounter/resources/patients/types/ExternalProvider.d.ts +0 -19
- package/dist/serialization/resources/preEncounter/resources/patients/types/MutablePatient.d.ts +0 -35
- package/dist/serialization/resources/preEncounter/resources/patients/types/Patient.d.ts +0 -21
- package/dist/serialization/resources/preEncounter/resources/patients/types/PatientId.d.ts +0 -10
- package/serialization/resources/preEncounter/resources/coverages/client/getHistory.d.ts +0 -20
- package/serialization/resources/preEncounter/resources/coverages/client/getMulti.d.ts +0 -11
- package/serialization/resources/preEncounter/resources/coverages/client/scan.d.ts +0 -11
- package/serialization/resources/preEncounter/resources/coverages/client/update.d.ts +0 -20
- package/serialization/resources/preEncounter/resources/coverages/types/Coverage.d.ts +0 -21
- package/serialization/resources/preEncounter/resources/coverages/types/CoverageId.d.ts +0 -10
- package/serialization/resources/preEncounter/resources/coverages/types/CoverageStatus.d.ts +0 -10
- package/serialization/resources/preEncounter/resources/coverages/types/CoverageType.d.ts +0 -10
- package/serialization/resources/preEncounter/resources/coverages/types/InsurancePlan.d.ts +0 -22
- package/serialization/resources/preEncounter/resources/coverages/types/MutableCoverage.d.ts +0 -22
- package/serialization/resources/preEncounter/resources/coverages/types/Subscriber.d.ts +0 -16
- package/serialization/resources/preEncounter/resources/patients/client/create.d.ts +0 -15
- package/serialization/resources/preEncounter/resources/patients/client/deactivate.d.ts +0 -20
- package/serialization/resources/preEncounter/resources/patients/client/get.d.ts +0 -15
- package/serialization/resources/preEncounter/resources/patients/client/getHistory.d.ts +0 -20
- package/serialization/resources/preEncounter/resources/patients/client/scan.d.ts +0 -11
- package/serialization/resources/preEncounter/resources/patients/client/search.d.ts +0 -11
- package/serialization/resources/preEncounter/resources/patients/client/update.d.ts +0 -20
- package/serialization/resources/preEncounter/resources/patients/types/Contact.d.ts +0 -23
- package/serialization/resources/preEncounter/resources/patients/types/ExternalProvenance.d.ts +0 -13
- package/serialization/resources/preEncounter/resources/patients/types/ExternalProvider.d.ts +0 -19
- package/serialization/resources/preEncounter/resources/patients/types/MutablePatient.d.ts +0 -35
- package/serialization/resources/preEncounter/resources/patients/types/Patient.d.ts +0 -21
- package/serialization/resources/preEncounter/resources/patients/types/PatientId.d.ts +0 -10
- /package/api/resources/preEncounter/resources/coverages/{client/requests → resources/v1/client}/index.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/CoverageScanRequest.d.ts +0 -0
- /package/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/CoverageScanRequest.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/GetAllCoveragesRequest.d.ts +0 -0
- /package/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/GetAllCoveragesRequest.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/index.d.ts +0 -0
- /package/api/resources/preEncounter/resources/{patients → coverages/resources/v1/resources/coverages}/client/requests/index.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/Coverage.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageId.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageStatus.d.ts +0 -0
- /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageStatus.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageType.d.ts +0 -0
- /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageType.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/InsurancePlan.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/MutableCoverage.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/Subscriber.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/index.d.ts +0 -0
- /package/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/index.js +0 -0
- /package/{dist/api/resources/preEncounter/resources/coverages/client/requests → api/resources/preEncounter/resources/patients/resources/v1/client}/index.js +0 -0
- /package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/PatientScanRequest.d.ts +0 -0
- /package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/PatientScanRequest.js +0 -0
- /package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/PatientsSearchRequest.d.ts +0 -0
- /package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/PatientsSearchRequest.js +0 -0
- /package/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/index.d.ts +0 -0
- /package/{dist/api/resources/preEncounter → api/resources/preEncounter/resources/patients/resources/v1}/resources/patients/client/requests/index.js +0 -0
- /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/Contact.js +0 -0
- /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvenance.d.ts +0 -0
- /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvenance.js +0 -0
- /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvider.js +0 -0
- /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MaritalStatus.d.ts +0 -0
- /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MaritalStatus.js +0 -0
- /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MutablePatient.js +0 -0
- /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/Patient.js +0 -0
- /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/PatientId.js +0 -0
- /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/index.d.ts +0 -0
- /package/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/index.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/CoverageScanRequest.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/CoverageScanRequest.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/GetAllCoveragesRequest.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/GetAllCoveragesRequest.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/requests/index.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/Coverage.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageId.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageStatus.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageStatus.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageType.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/CoverageType.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/InsurancePlan.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/MutableCoverage.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/Subscriber.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/index.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/index.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/PatientScanRequest.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/PatientScanRequest.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/PatientsSearchRequest.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/PatientsSearchRequest.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/requests/index.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/Contact.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvenance.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvenance.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/ExternalProvider.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MaritalStatus.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MaritalStatus.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/MutablePatient.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/Patient.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/PatientId.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/index.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/index.js +0 -0
- /package/dist/serialization/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/index.d.ts +0 -0
- /package/dist/serialization/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/index.js +0 -0
- /package/dist/serialization/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/index.d.ts +0 -0
- /package/dist/serialization/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/index.js +0 -0
- /package/dist/serialization/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/index.d.ts +0 -0
- /package/dist/serialization/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/index.js +0 -0
- /package/dist/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/index.d.ts +0 -0
- /package/dist/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/index.js +0 -0
- /package/serialization/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/index.d.ts +0 -0
- /package/serialization/resources/preEncounter/resources/coverages/{client → resources/v1/resources/coverages/client}/index.js +0 -0
- /package/serialization/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/index.d.ts +0 -0
- /package/serialization/resources/preEncounter/resources/coverages/{types → resources/v1/resources/coverages/types}/index.js +0 -0
- /package/serialization/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/index.d.ts +0 -0
- /package/serialization/resources/preEncounter/resources/patients/{client → resources/v1/resources/patients/client}/index.js +0 -0
- /package/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/index.d.ts +0 -0
- /package/serialization/resources/preEncounter/resources/patients/{types → resources/v1/resources/patients/types}/index.js +0 -0
|
@@ -1,8 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export * as create from "./create";
|
|
3
|
-
export * as get from "./get";
|
|
4
|
-
export * as getHistory from "./getHistory";
|
|
5
|
-
export * as update from "./update";
|
|
6
|
-
export * as deactivate from "./deactivate";
|
|
7
|
-
export * as search from "./search";
|
|
8
|
-
export * as scan from "./scan";
|
|
1
|
+
export {};
|
|
@@ -1,37 +1,2 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
19
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
20
|
-
};
|
|
21
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
-
if (mod && mod.__esModule) return mod;
|
|
23
|
-
var result = {};
|
|
24
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
-
__setModuleDefault(result, mod);
|
|
26
|
-
return result;
|
|
27
|
-
};
|
|
28
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.scan = exports.search = exports.deactivate = exports.update = exports.getHistory = exports.get = exports.create = void 0;
|
|
30
|
-
__exportStar(require("./requests"), exports);
|
|
31
|
-
exports.create = __importStar(require("./create"));
|
|
32
|
-
exports.get = __importStar(require("./get"));
|
|
33
|
-
exports.getHistory = __importStar(require("./getHistory"));
|
|
34
|
-
exports.update = __importStar(require("./update"));
|
|
35
|
-
exports.deactivate = __importStar(require("./deactivate"));
|
|
36
|
-
exports.search = __importStar(require("./search"));
|
|
37
|
-
exports.scan = __importStar(require("./scan"));
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./
|
|
1
|
+
export * from "./resources";
|
|
2
2
|
export * from "./client";
|
|
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./
|
|
17
|
+
__exportStar(require("./resources"), exports);
|
|
18
18
|
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as v1 from "./v1";
|
|
@@ -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,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../../../../../environments";
|
|
5
|
+
import * as core from "../../../../../../../../core";
|
|
6
|
+
import { Patients } from "../resources/patients/client/Client";
|
|
7
|
+
export declare namespace V1 {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: core.Supplier<environments.CandidApiEnvironment | environments.CandidApiEnvironmentUrls>;
|
|
10
|
+
token?: core.Supplier<core.BearerToken | undefined>;
|
|
11
|
+
}
|
|
12
|
+
interface RequestOptions {
|
|
13
|
+
timeoutInSeconds?: number;
|
|
14
|
+
maxRetries?: number;
|
|
15
|
+
abortSignal?: AbortSignal;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
export declare class V1 {
|
|
19
|
+
protected readonly _options: V1.Options;
|
|
20
|
+
constructor(_options?: V1.Options);
|
|
21
|
+
protected _patients: Patients | undefined;
|
|
22
|
+
get patients(): Patients;
|
|
23
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.V1 = void 0;
|
|
7
|
+
const Client_1 = require("../resources/patients/client/Client");
|
|
8
|
+
class V1 {
|
|
9
|
+
constructor(_options = {}) {
|
|
10
|
+
this._options = _options;
|
|
11
|
+
}
|
|
12
|
+
get patients() {
|
|
13
|
+
var _a;
|
|
14
|
+
return ((_a = this._patients) !== null && _a !== void 0 ? _a : (this._patients = new Client_1.Patients(this._options)));
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.V1 = V1;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./resources"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,32 @@
|
|
|
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);
|
|
32
|
+
__exportStar(require("./patients/client/requests"), exports);
|
|
@@ -0,0 +1,335 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../../../../../../../environments";
|
|
5
|
+
import * as core from "../../../../../../../../../../core";
|
|
6
|
+
import * as CandidApi from "../../../../../../../../../index";
|
|
7
|
+
export declare namespace Patients {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: core.Supplier<environments.CandidApiEnvironment | environments.CandidApiEnvironmentUrls>;
|
|
10
|
+
token?: core.Supplier<core.BearerToken | undefined>;
|
|
11
|
+
}
|
|
12
|
+
interface RequestOptions {
|
|
13
|
+
timeoutInSeconds?: number;
|
|
14
|
+
maxRetries?: number;
|
|
15
|
+
abortSignal?: AbortSignal;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
export declare class Patients {
|
|
19
|
+
protected readonly _options: Patients.Options;
|
|
20
|
+
constructor(_options?: Patients.Options);
|
|
21
|
+
/**
|
|
22
|
+
* Adds a patient. VersionConflictError is returned when the patient's external ID is already in use.
|
|
23
|
+
*
|
|
24
|
+
* @param {CandidApi.preEncounter.patients.v1.MutablePatient} request
|
|
25
|
+
* @param {Patients.RequestOptions} requestOptions - Request-specific configuration.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* await candidApi.preEncounter.patients.v1.patients.create({
|
|
29
|
+
* name: {
|
|
30
|
+
* family: "string",
|
|
31
|
+
* given: ["string"],
|
|
32
|
+
* use: CandidApi.preEncounter.NameUse.Usual,
|
|
33
|
+
* period: {}
|
|
34
|
+
* },
|
|
35
|
+
* otherNames: [{
|
|
36
|
+
* family: "string",
|
|
37
|
+
* given: ["string"],
|
|
38
|
+
* use: CandidApi.preEncounter.NameUse.Usual,
|
|
39
|
+
* period: {}
|
|
40
|
+
* }],
|
|
41
|
+
* gender: CandidApi.preEncounter.Gender.Female,
|
|
42
|
+
* birthDate: "2023-01-15",
|
|
43
|
+
* maritalStatus: CandidApi.preEncounter.patients.v1.MaritalStatus.Annulled,
|
|
44
|
+
* deceased: new Date("2024-01-15T09:30:00.000Z"),
|
|
45
|
+
* multipleBirth: 1,
|
|
46
|
+
* primaryAddress: {
|
|
47
|
+
* use: CandidApi.preEncounter.AddressUse.Home,
|
|
48
|
+
* line: ["string"],
|
|
49
|
+
* city: "string",
|
|
50
|
+
* state: "string",
|
|
51
|
+
* postalCode: "string",
|
|
52
|
+
* country: "string",
|
|
53
|
+
* period: {}
|
|
54
|
+
* },
|
|
55
|
+
* otherAddresses: [{
|
|
56
|
+
* use: CandidApi.preEncounter.AddressUse.Home,
|
|
57
|
+
* line: ["string"],
|
|
58
|
+
* city: "string",
|
|
59
|
+
* state: "string",
|
|
60
|
+
* postalCode: "string",
|
|
61
|
+
* country: "string",
|
|
62
|
+
* period: {}
|
|
63
|
+
* }],
|
|
64
|
+
* primaryTelecom: {
|
|
65
|
+
* value: "string",
|
|
66
|
+
* use: CandidApi.preEncounter.ContactPointUse.Home,
|
|
67
|
+
* period: {
|
|
68
|
+
* start: "2023-01-15",
|
|
69
|
+
* end: "2023-01-15"
|
|
70
|
+
* }
|
|
71
|
+
* },
|
|
72
|
+
* otherTelecoms: [{
|
|
73
|
+
* value: "string",
|
|
74
|
+
* use: CandidApi.preEncounter.ContactPointUse.Home,
|
|
75
|
+
* period: {
|
|
76
|
+
* start: "2023-01-15",
|
|
77
|
+
* end: "2023-01-15"
|
|
78
|
+
* }
|
|
79
|
+
* }],
|
|
80
|
+
* photo: "string",
|
|
81
|
+
* language: "string",
|
|
82
|
+
* externalProvenance: {
|
|
83
|
+
* externalId: "string",
|
|
84
|
+
* systemName: "string"
|
|
85
|
+
* },
|
|
86
|
+
* contacts: [{
|
|
87
|
+
* relationship: [CandidApi.preEncounter.Relationship.Self],
|
|
88
|
+
* name: {
|
|
89
|
+
* family: "string",
|
|
90
|
+
* given: ["string"],
|
|
91
|
+
* use: CandidApi.preEncounter.NameUse.Usual,
|
|
92
|
+
* period: {}
|
|
93
|
+
* },
|
|
94
|
+
* gender: CandidApi.preEncounter.Gender.Female,
|
|
95
|
+
* telecoms: [{
|
|
96
|
+
* value: "string",
|
|
97
|
+
* use: CandidApi.preEncounter.ContactPointUse.Home,
|
|
98
|
+
* period: {
|
|
99
|
+
* start: "2023-01-15",
|
|
100
|
+
* end: "2023-01-15"
|
|
101
|
+
* }
|
|
102
|
+
* }],
|
|
103
|
+
* addresses: [{
|
|
104
|
+
* use: CandidApi.preEncounter.AddressUse.Home,
|
|
105
|
+
* line: ["string"],
|
|
106
|
+
* city: "string",
|
|
107
|
+
* state: "string",
|
|
108
|
+
* postalCode: "string",
|
|
109
|
+
* country: "string",
|
|
110
|
+
* period: {}
|
|
111
|
+
* }],
|
|
112
|
+
* period: {
|
|
113
|
+
* start: "2023-01-15",
|
|
114
|
+
* end: "2023-01-15"
|
|
115
|
+
* }
|
|
116
|
+
* }],
|
|
117
|
+
* generalPractitioners: [{
|
|
118
|
+
* name: {
|
|
119
|
+
* family: "string",
|
|
120
|
+
* given: ["string"],
|
|
121
|
+
* use: CandidApi.preEncounter.NameUse.Usual,
|
|
122
|
+
* period: {}
|
|
123
|
+
* },
|
|
124
|
+
* telecoms: [{
|
|
125
|
+
* value: "string",
|
|
126
|
+
* use: CandidApi.preEncounter.ContactPointUse.Home,
|
|
127
|
+
* period: {
|
|
128
|
+
* start: "2023-01-15",
|
|
129
|
+
* end: "2023-01-15"
|
|
130
|
+
* }
|
|
131
|
+
* }],
|
|
132
|
+
* addresses: [{
|
|
133
|
+
* use: CandidApi.preEncounter.AddressUse.Home,
|
|
134
|
+
* line: ["string"],
|
|
135
|
+
* city: "string",
|
|
136
|
+
* state: "string",
|
|
137
|
+
* postalCode: "string",
|
|
138
|
+
* country: "string",
|
|
139
|
+
* period: {}
|
|
140
|
+
* }],
|
|
141
|
+
* period: {
|
|
142
|
+
* start: "2023-01-15",
|
|
143
|
+
* end: "2023-01-15"
|
|
144
|
+
* }
|
|
145
|
+
* }]
|
|
146
|
+
* })
|
|
147
|
+
*/
|
|
148
|
+
create(request: CandidApi.preEncounter.patients.v1.MutablePatient, requestOptions?: Patients.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.patients.v1.Patient, CandidApi.preEncounter.patients.v1.patients.create.Error>>;
|
|
149
|
+
/**
|
|
150
|
+
* Gets a patient.
|
|
151
|
+
*
|
|
152
|
+
* @param {CandidApi.preEncounter.patients.v1.PatientId} id
|
|
153
|
+
* @param {Patients.RequestOptions} requestOptions - Request-specific configuration.
|
|
154
|
+
*
|
|
155
|
+
* @example
|
|
156
|
+
* await candidApi.preEncounter.patients.v1.patients.get(CandidApi.preEncounter.patients.v1.PatientId("string"))
|
|
157
|
+
*/
|
|
158
|
+
get(id: CandidApi.preEncounter.patients.v1.PatientId, requestOptions?: Patients.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.patients.v1.Patient, CandidApi.preEncounter.patients.v1.patients.get.Error>>;
|
|
159
|
+
/**
|
|
160
|
+
* Gets a patient along with it's full history. The return list is ordered by version ascending.
|
|
161
|
+
*
|
|
162
|
+
* @param {CandidApi.preEncounter.patients.v1.PatientId} id
|
|
163
|
+
* @param {Patients.RequestOptions} requestOptions - Request-specific configuration.
|
|
164
|
+
*
|
|
165
|
+
* @example
|
|
166
|
+
* await candidApi.preEncounter.patients.v1.patients.getHistory(CandidApi.preEncounter.patients.v1.PatientId("string"))
|
|
167
|
+
*/
|
|
168
|
+
getHistory(id: CandidApi.preEncounter.patients.v1.PatientId, requestOptions?: Patients.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.patients.v1.Patient[], CandidApi.preEncounter.patients.v1.patients.getHistory.Error>>;
|
|
169
|
+
/**
|
|
170
|
+
* Updates a patient. The path must contain the most recent version to prevent races. Updating historic versions is not supported.
|
|
171
|
+
*
|
|
172
|
+
* @param {CandidApi.preEncounter.patients.v1.PatientId} id
|
|
173
|
+
* @param {number} version
|
|
174
|
+
* @param {CandidApi.preEncounter.patients.v1.MutablePatient} request
|
|
175
|
+
* @param {Patients.RequestOptions} requestOptions - Request-specific configuration.
|
|
176
|
+
*
|
|
177
|
+
* @example
|
|
178
|
+
* await candidApi.preEncounter.patients.v1.patients.update(CandidApi.preEncounter.patients.v1.PatientId("string"), 1, {
|
|
179
|
+
* name: {
|
|
180
|
+
* family: "string",
|
|
181
|
+
* given: ["string"],
|
|
182
|
+
* use: CandidApi.preEncounter.NameUse.Usual,
|
|
183
|
+
* period: {}
|
|
184
|
+
* },
|
|
185
|
+
* otherNames: [{
|
|
186
|
+
* family: "string",
|
|
187
|
+
* given: ["string"],
|
|
188
|
+
* use: CandidApi.preEncounter.NameUse.Usual,
|
|
189
|
+
* period: {}
|
|
190
|
+
* }],
|
|
191
|
+
* gender: CandidApi.preEncounter.Gender.Female,
|
|
192
|
+
* birthDate: "2023-01-15",
|
|
193
|
+
* maritalStatus: CandidApi.preEncounter.patients.v1.MaritalStatus.Annulled,
|
|
194
|
+
* deceased: new Date("2024-01-15T09:30:00.000Z"),
|
|
195
|
+
* multipleBirth: 1,
|
|
196
|
+
* primaryAddress: {
|
|
197
|
+
* use: CandidApi.preEncounter.AddressUse.Home,
|
|
198
|
+
* line: ["string"],
|
|
199
|
+
* city: "string",
|
|
200
|
+
* state: "string",
|
|
201
|
+
* postalCode: "string",
|
|
202
|
+
* country: "string",
|
|
203
|
+
* period: {}
|
|
204
|
+
* },
|
|
205
|
+
* otherAddresses: [{
|
|
206
|
+
* use: CandidApi.preEncounter.AddressUse.Home,
|
|
207
|
+
* line: ["string"],
|
|
208
|
+
* city: "string",
|
|
209
|
+
* state: "string",
|
|
210
|
+
* postalCode: "string",
|
|
211
|
+
* country: "string",
|
|
212
|
+
* period: {}
|
|
213
|
+
* }],
|
|
214
|
+
* primaryTelecom: {
|
|
215
|
+
* value: "string",
|
|
216
|
+
* use: CandidApi.preEncounter.ContactPointUse.Home,
|
|
217
|
+
* period: {
|
|
218
|
+
* start: "2023-01-15",
|
|
219
|
+
* end: "2023-01-15"
|
|
220
|
+
* }
|
|
221
|
+
* },
|
|
222
|
+
* otherTelecoms: [{
|
|
223
|
+
* value: "string",
|
|
224
|
+
* use: CandidApi.preEncounter.ContactPointUse.Home,
|
|
225
|
+
* period: {
|
|
226
|
+
* start: "2023-01-15",
|
|
227
|
+
* end: "2023-01-15"
|
|
228
|
+
* }
|
|
229
|
+
* }],
|
|
230
|
+
* photo: "string",
|
|
231
|
+
* language: "string",
|
|
232
|
+
* externalProvenance: {
|
|
233
|
+
* externalId: "string",
|
|
234
|
+
* systemName: "string"
|
|
235
|
+
* },
|
|
236
|
+
* contacts: [{
|
|
237
|
+
* relationship: [CandidApi.preEncounter.Relationship.Self],
|
|
238
|
+
* name: {
|
|
239
|
+
* family: "string",
|
|
240
|
+
* given: ["string"],
|
|
241
|
+
* use: CandidApi.preEncounter.NameUse.Usual,
|
|
242
|
+
* period: {}
|
|
243
|
+
* },
|
|
244
|
+
* gender: CandidApi.preEncounter.Gender.Female,
|
|
245
|
+
* telecoms: [{
|
|
246
|
+
* value: "string",
|
|
247
|
+
* use: CandidApi.preEncounter.ContactPointUse.Home,
|
|
248
|
+
* period: {
|
|
249
|
+
* start: "2023-01-15",
|
|
250
|
+
* end: "2023-01-15"
|
|
251
|
+
* }
|
|
252
|
+
* }],
|
|
253
|
+
* addresses: [{
|
|
254
|
+
* use: CandidApi.preEncounter.AddressUse.Home,
|
|
255
|
+
* line: ["string"],
|
|
256
|
+
* city: "string",
|
|
257
|
+
* state: "string",
|
|
258
|
+
* postalCode: "string",
|
|
259
|
+
* country: "string",
|
|
260
|
+
* period: {}
|
|
261
|
+
* }],
|
|
262
|
+
* period: {
|
|
263
|
+
* start: "2023-01-15",
|
|
264
|
+
* end: "2023-01-15"
|
|
265
|
+
* }
|
|
266
|
+
* }],
|
|
267
|
+
* generalPractitioners: [{
|
|
268
|
+
* name: {
|
|
269
|
+
* family: "string",
|
|
270
|
+
* given: ["string"],
|
|
271
|
+
* use: CandidApi.preEncounter.NameUse.Usual,
|
|
272
|
+
* period: {}
|
|
273
|
+
* },
|
|
274
|
+
* telecoms: [{
|
|
275
|
+
* value: "string",
|
|
276
|
+
* use: CandidApi.preEncounter.ContactPointUse.Home,
|
|
277
|
+
* period: {
|
|
278
|
+
* start: "2023-01-15",
|
|
279
|
+
* end: "2023-01-15"
|
|
280
|
+
* }
|
|
281
|
+
* }],
|
|
282
|
+
* addresses: [{
|
|
283
|
+
* use: CandidApi.preEncounter.AddressUse.Home,
|
|
284
|
+
* line: ["string"],
|
|
285
|
+
* city: "string",
|
|
286
|
+
* state: "string",
|
|
287
|
+
* postalCode: "string",
|
|
288
|
+
* country: "string",
|
|
289
|
+
* period: {}
|
|
290
|
+
* }],
|
|
291
|
+
* period: {
|
|
292
|
+
* start: "2023-01-15",
|
|
293
|
+
* end: "2023-01-15"
|
|
294
|
+
* }
|
|
295
|
+
* }]
|
|
296
|
+
* })
|
|
297
|
+
*/
|
|
298
|
+
update(id: CandidApi.preEncounter.patients.v1.PatientId, version: number, request: CandidApi.preEncounter.patients.v1.MutablePatient, requestOptions?: Patients.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.patients.v1.Patient, CandidApi.preEncounter.patients.v1.patients.update.Error>>;
|
|
299
|
+
/**
|
|
300
|
+
* Sets a patient as deactivated. The path must contain the most recent version to prevent races. Dactivating historic versions is not supported. Subsequent updates via PUT to the patient will "reactivate" the patient and set the deactivated flag to false.
|
|
301
|
+
*
|
|
302
|
+
* @param {CandidApi.preEncounter.patients.v1.PatientId} id
|
|
303
|
+
* @param {number} version
|
|
304
|
+
* @param {Patients.RequestOptions} requestOptions - Request-specific configuration.
|
|
305
|
+
*
|
|
306
|
+
* @example
|
|
307
|
+
* await candidApi.preEncounter.patients.v1.patients.deactivate(CandidApi.preEncounter.patients.v1.PatientId("string"), 1)
|
|
308
|
+
*/
|
|
309
|
+
deactivate(id: CandidApi.preEncounter.patients.v1.PatientId, version: number, requestOptions?: Patients.RequestOptions): Promise<core.APIResponse<void, CandidApi.preEncounter.patients.v1.patients.deactivate.Error>>;
|
|
310
|
+
/**
|
|
311
|
+
* Searches for patients that match the query parameters.
|
|
312
|
+
*
|
|
313
|
+
* @param {CandidApi.preEncounter.patients.v1.PatientsSearchRequest} request
|
|
314
|
+
* @param {Patients.RequestOptions} requestOptions - Request-specific configuration.
|
|
315
|
+
*
|
|
316
|
+
* @example
|
|
317
|
+
* await candidApi.preEncounter.patients.v1.patients.search({
|
|
318
|
+
* nameContains: "string"
|
|
319
|
+
* })
|
|
320
|
+
*/
|
|
321
|
+
search(request?: CandidApi.preEncounter.patients.v1.PatientsSearchRequest, requestOptions?: Patients.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.patients.v1.Patient[], CandidApi.preEncounter.patients.v1.patients.search.Error>>;
|
|
322
|
+
/**
|
|
323
|
+
* Scans up to 100 patient updates. The since query parameter is inclusive, and the result list is ordered by updatedAt descending.
|
|
324
|
+
*
|
|
325
|
+
* @param {CandidApi.preEncounter.patients.v1.PatientScanRequest} request
|
|
326
|
+
* @param {Patients.RequestOptions} requestOptions - Request-specific configuration.
|
|
327
|
+
*
|
|
328
|
+
* @example
|
|
329
|
+
* await candidApi.preEncounter.patients.v1.patients.scan({
|
|
330
|
+
* since: new Date("2024-01-15T09:30:00.000Z")
|
|
331
|
+
* })
|
|
332
|
+
*/
|
|
333
|
+
scan(request: CandidApi.preEncounter.patients.v1.PatientScanRequest, requestOptions?: Patients.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.patients.v1.Patient[], CandidApi.preEncounter.patients.v1.patients.scan.Error>>;
|
|
334
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
335
|
+
}
|