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
|
@@ -38,10 +38,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
38
38
|
};
|
|
39
39
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
40
|
exports.Error = exports.Response = void 0;
|
|
41
|
-
const CandidApi = __importStar(require("
|
|
42
|
-
const core = __importStar(require("
|
|
41
|
+
const CandidApi = __importStar(require("../../../../../../../../../../api/index"));
|
|
42
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
43
43
|
const Patient_1 = require("../types/Patient");
|
|
44
|
-
const NotFoundErrorBody_1 = require("
|
|
44
|
+
const NotFoundErrorBody_1 = require("../../../../../../common/types/NotFoundErrorBody");
|
|
45
45
|
exports.Response = core.serialization.list(Patient_1.Patient);
|
|
46
46
|
exports.Error = core.serialization
|
|
47
47
|
.union("errorName", {
|
|
@@ -53,7 +53,7 @@ exports.Error = core.serialization
|
|
|
53
53
|
transform: (value) => {
|
|
54
54
|
switch (value.errorName) {
|
|
55
55
|
case "NotFoundError":
|
|
56
|
-
return CandidApi.preEncounter.patients.getHistory.Error.notFoundError(value.content);
|
|
56
|
+
return CandidApi.preEncounter.patients.v1.patients.getHistory.Error.notFoundError(value.content);
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
59
|
untransform: (_a) => {
|
|
@@ -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
|
+
}
|
|
@@ -27,6 +27,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.Response = void 0;
|
|
30
|
-
const core = __importStar(require("
|
|
30
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
31
31
|
const Patient_1 = require("../types/Patient");
|
|
32
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
|
+
}
|
|
@@ -27,6 +27,6 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.Response = void 0;
|
|
30
|
-
const core = __importStar(require("
|
|
30
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
31
31
|
const Patient_1 = require("../types/Patient");
|
|
32
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
|
+
}
|
|
@@ -38,10 +38,10 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
38
38
|
};
|
|
39
39
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
40
|
exports.Error = void 0;
|
|
41
|
-
const CandidApi = __importStar(require("
|
|
42
|
-
const core = __importStar(require("
|
|
43
|
-
const NotFoundErrorBody_1 = require("
|
|
44
|
-
const VersionConflictErrorBody_1 = require("
|
|
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
45
|
exports.Error = core.serialization
|
|
46
46
|
.union("errorName", {
|
|
47
47
|
NotFoundError: core.serialization.object({
|
|
@@ -55,9 +55,9 @@ exports.Error = core.serialization
|
|
|
55
55
|
transform: (value) => {
|
|
56
56
|
switch (value.errorName) {
|
|
57
57
|
case "NotFoundError":
|
|
58
|
-
return CandidApi.preEncounter.
|
|
58
|
+
return CandidApi.preEncounter.patients.v1.patients.update.Error.notFoundError(value.content);
|
|
59
59
|
case "VersionConflictError":
|
|
60
|
-
return CandidApi.preEncounter.
|
|
60
|
+
return CandidApi.preEncounter.patients.v1.patients.update.Error.versionConflictError(value.content);
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
untransform: (_a) => {
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,23 @@
|
|
|
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 { Relationship } from "../../../../../../common/types/Relationship";
|
|
8
|
+
import { HumanName } from "../../../../../../common/types/HumanName";
|
|
9
|
+
import { Gender } from "../../../../../../common/types/Gender";
|
|
10
|
+
import { ContactPoint } from "../../../../../../common/types/ContactPoint";
|
|
11
|
+
import { Address } from "../../../../../../common/types/Address";
|
|
12
|
+
import { Period } from "../../../../../../common/types/Period";
|
|
13
|
+
export declare const Contact: core.serialization.ObjectSchema<serializers.preEncounter.patients.v1.Contact.Raw, CandidApi.preEncounter.patients.v1.Contact>;
|
|
14
|
+
export declare namespace Contact {
|
|
15
|
+
interface Raw {
|
|
16
|
+
relationship: Relationship.Raw[];
|
|
17
|
+
name: HumanName.Raw;
|
|
18
|
+
gender?: Gender.Raw | null;
|
|
19
|
+
telecoms: ContactPoint.Raw[];
|
|
20
|
+
addresses: Address.Raw[];
|
|
21
|
+
period?: Period.Raw | null;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -27,13 +27,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.Contact = void 0;
|
|
30
|
-
const core = __importStar(require("
|
|
31
|
-
const Relationship_1 = require("
|
|
32
|
-
const HumanName_1 = require("
|
|
33
|
-
const Gender_1 = require("
|
|
34
|
-
const ContactPoint_1 = require("
|
|
35
|
-
const Address_1 = require("
|
|
36
|
-
const Period_1 = require("
|
|
30
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
31
|
+
const Relationship_1 = require("../../../../../../common/types/Relationship");
|
|
32
|
+
const HumanName_1 = require("../../../../../../common/types/HumanName");
|
|
33
|
+
const Gender_1 = require("../../../../../../common/types/Gender");
|
|
34
|
+
const ContactPoint_1 = require("../../../../../../common/types/ContactPoint");
|
|
35
|
+
const Address_1 = require("../../../../../../common/types/Address");
|
|
36
|
+
const Period_1 = require("../../../../../../common/types/Period");
|
|
37
37
|
exports.Contact = core.serialization.object({
|
|
38
38
|
relationship: core.serialization.list(Relationship_1.Relationship),
|
|
39
39
|
name: HumanName_1.HumanName,
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
export declare const ExternalProvenance: core.serialization.ObjectSchema<serializers.preEncounter.patients.v1.ExternalProvenance.Raw, CandidApi.preEncounter.patients.v1.ExternalProvenance>;
|
|
8
|
+
export declare namespace ExternalProvenance {
|
|
9
|
+
interface Raw {
|
|
10
|
+
external_id: string;
|
|
11
|
+
system_name: string;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -27,8 +27,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.ExternalProvenance = void 0;
|
|
30
|
-
const core = __importStar(require("
|
|
30
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
31
31
|
exports.ExternalProvenance = core.serialization.object({
|
|
32
|
-
externalId: core.serialization.string(),
|
|
33
|
-
systemName: core.serialization.string(),
|
|
32
|
+
externalId: core.serialization.property("external_id", core.serialization.string()),
|
|
33
|
+
systemName: core.serialization.property("system_name", core.serialization.string()),
|
|
34
34
|
});
|
|
@@ -0,0 +1,19 @@
|
|
|
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 { HumanName } from "../../../../../../common/types/HumanName";
|
|
8
|
+
import { ContactPoint } from "../../../../../../common/types/ContactPoint";
|
|
9
|
+
import { Address } from "../../../../../../common/types/Address";
|
|
10
|
+
import { Period } from "../../../../../../common/types/Period";
|
|
11
|
+
export declare const ExternalProvider: core.serialization.ObjectSchema<serializers.preEncounter.patients.v1.ExternalProvider.Raw, CandidApi.preEncounter.patients.v1.ExternalProvider>;
|
|
12
|
+
export declare namespace ExternalProvider {
|
|
13
|
+
interface Raw {
|
|
14
|
+
name: HumanName.Raw;
|
|
15
|
+
telecoms: ContactPoint.Raw[];
|
|
16
|
+
addresses: Address.Raw[];
|
|
17
|
+
period?: Period.Raw | null;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -27,11 +27,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.ExternalProvider = void 0;
|
|
30
|
-
const core = __importStar(require("
|
|
31
|
-
const HumanName_1 = require("
|
|
32
|
-
const ContactPoint_1 = require("
|
|
33
|
-
const Address_1 = require("
|
|
34
|
-
const Period_1 = require("
|
|
30
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
31
|
+
const HumanName_1 = require("../../../../../../common/types/HumanName");
|
|
32
|
+
const ContactPoint_1 = require("../../../../../../common/types/ContactPoint");
|
|
33
|
+
const Address_1 = require("../../../../../../common/types/Address");
|
|
34
|
+
const Period_1 = require("../../../../../../common/types/Period");
|
|
35
35
|
exports.ExternalProvider = core.serialization.object({
|
|
36
36
|
name: HumanName_1.HumanName,
|
|
37
37
|
telecoms: core.serialization.list(ContactPoint_1.ContactPoint),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as serializers from "
|
|
5
|
-
import * as CandidApi from "
|
|
6
|
-
import * as core from "
|
|
7
|
-
export declare const MaritalStatus: core.serialization.Schema<serializers.preEncounter.MaritalStatus.Raw, CandidApi.preEncounter.MaritalStatus>;
|
|
4
|
+
import * as serializers from "../../../../../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
export declare const MaritalStatus: core.serialization.Schema<serializers.preEncounter.patients.v1.MaritalStatus.Raw, CandidApi.preEncounter.patients.v1.MaritalStatus>;
|
|
8
8
|
export declare namespace MaritalStatus {
|
|
9
9
|
type Raw = "ANNULLED" | "DIVORCED" | "INTERLOCUTORY" | "SEPARATED" | "MARRIED" | "COMMON_LAW" | "POLYGAMOUS" | "DOMESTIC_PARTNER" | "UNMARRIED" | "NEVER_MARRIED" | "WIDOWED" | "UNKNOWN";
|
|
10
10
|
}
|
|
@@ -27,7 +27,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.MaritalStatus = void 0;
|
|
30
|
-
const core = __importStar(require("
|
|
30
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
31
31
|
exports.MaritalStatus = core.serialization.enum_([
|
|
32
32
|
"ANNULLED",
|
|
33
33
|
"DIVORCED",
|
|
@@ -0,0 +1,35 @@
|
|
|
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 { HumanName } from "../../../../../../common/types/HumanName";
|
|
8
|
+
import { Gender } from "../../../../../../common/types/Gender";
|
|
9
|
+
import { MaritalStatus } from "./MaritalStatus";
|
|
10
|
+
import { Address } from "../../../../../../common/types/Address";
|
|
11
|
+
import { ContactPoint } from "../../../../../../common/types/ContactPoint";
|
|
12
|
+
import { ExternalProvenance } from "./ExternalProvenance";
|
|
13
|
+
import { Contact } from "./Contact";
|
|
14
|
+
import { ExternalProvider } from "./ExternalProvider";
|
|
15
|
+
export declare const MutablePatient: core.serialization.ObjectSchema<serializers.preEncounter.patients.v1.MutablePatient.Raw, CandidApi.preEncounter.patients.v1.MutablePatient>;
|
|
16
|
+
export declare namespace MutablePatient {
|
|
17
|
+
interface Raw {
|
|
18
|
+
name: HumanName.Raw;
|
|
19
|
+
other_names: HumanName.Raw[];
|
|
20
|
+
gender: Gender.Raw;
|
|
21
|
+
birth_date: string;
|
|
22
|
+
marital_status?: MaritalStatus.Raw | null;
|
|
23
|
+
deceased?: string | null;
|
|
24
|
+
multiple_birth?: number | null;
|
|
25
|
+
primary_address: Address.Raw;
|
|
26
|
+
other_addresses: Address.Raw[];
|
|
27
|
+
primary_telecom: ContactPoint.Raw;
|
|
28
|
+
other_telecoms: ContactPoint.Raw[];
|
|
29
|
+
photo?: string | null;
|
|
30
|
+
language?: string | null;
|
|
31
|
+
external_provenance?: ExternalProvenance.Raw | null;
|
|
32
|
+
contacts: Contact.Raw[];
|
|
33
|
+
general_practitioners: ExternalProvider.Raw[];
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -27,30 +27,30 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.MutablePatient = void 0;
|
|
30
|
-
const core = __importStar(require("
|
|
31
|
-
const HumanName_1 = require("
|
|
32
|
-
const Gender_1 = require("
|
|
30
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
31
|
+
const HumanName_1 = require("../../../../../../common/types/HumanName");
|
|
32
|
+
const Gender_1 = require("../../../../../../common/types/Gender");
|
|
33
33
|
const MaritalStatus_1 = require("./MaritalStatus");
|
|
34
|
-
const Address_1 = require("
|
|
35
|
-
const ContactPoint_1 = require("
|
|
34
|
+
const Address_1 = require("../../../../../../common/types/Address");
|
|
35
|
+
const ContactPoint_1 = require("../../../../../../common/types/ContactPoint");
|
|
36
36
|
const ExternalProvenance_1 = require("./ExternalProvenance");
|
|
37
37
|
const Contact_1 = require("./Contact");
|
|
38
38
|
const ExternalProvider_1 = require("./ExternalProvider");
|
|
39
39
|
exports.MutablePatient = core.serialization.object({
|
|
40
40
|
name: HumanName_1.HumanName,
|
|
41
|
-
otherNames: core.serialization.list(HumanName_1.HumanName),
|
|
41
|
+
otherNames: core.serialization.property("other_names", core.serialization.list(HumanName_1.HumanName)),
|
|
42
42
|
gender: Gender_1.Gender,
|
|
43
|
-
birthDate: core.serialization.string(),
|
|
44
|
-
maritalStatus: MaritalStatus_1.MaritalStatus.optional(),
|
|
43
|
+
birthDate: core.serialization.property("birth_date", core.serialization.string()),
|
|
44
|
+
maritalStatus: core.serialization.property("marital_status", MaritalStatus_1.MaritalStatus.optional()),
|
|
45
45
|
deceased: core.serialization.date().optional(),
|
|
46
|
-
multipleBirth: core.serialization.number().optional(),
|
|
47
|
-
primaryAddress: Address_1.Address,
|
|
48
|
-
otherAddresses: core.serialization.list(Address_1.Address),
|
|
49
|
-
primaryTelecom: ContactPoint_1.ContactPoint,
|
|
50
|
-
otherTelecoms: core.serialization.list(ContactPoint_1.ContactPoint),
|
|
46
|
+
multipleBirth: core.serialization.property("multiple_birth", core.serialization.number().optional()),
|
|
47
|
+
primaryAddress: core.serialization.property("primary_address", Address_1.Address),
|
|
48
|
+
otherAddresses: core.serialization.property("other_addresses", core.serialization.list(Address_1.Address)),
|
|
49
|
+
primaryTelecom: core.serialization.property("primary_telecom", ContactPoint_1.ContactPoint),
|
|
50
|
+
otherTelecoms: core.serialization.property("other_telecoms", core.serialization.list(ContactPoint_1.ContactPoint)),
|
|
51
51
|
photo: core.serialization.string().optional(),
|
|
52
52
|
language: core.serialization.string().optional(),
|
|
53
|
-
externalProvenance: ExternalProvenance_1.ExternalProvenance.optional(),
|
|
53
|
+
externalProvenance: core.serialization.property("external_provenance", ExternalProvenance_1.ExternalProvenance.optional()),
|
|
54
54
|
contacts: core.serialization.list(Contact_1.Contact),
|
|
55
|
-
generalPractitioners: core.serialization.list(ExternalProvider_1.ExternalProvider),
|
|
55
|
+
generalPractitioners: core.serialization.property("general_practitioners", core.serialization.list(ExternalProvider_1.ExternalProvider)),
|
|
56
56
|
});
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
import { PatientId } from "./PatientId";
|
|
8
|
+
import { OrganizationId } from "../../../../../../common/types/OrganizationId";
|
|
9
|
+
import { UserId } from "../../../../../../common/types/UserId";
|
|
10
|
+
import { MutablePatient } from "./MutablePatient";
|
|
11
|
+
export declare const Patient: core.serialization.ObjectSchema<serializers.preEncounter.patients.v1.Patient.Raw, CandidApi.preEncounter.patients.v1.Patient>;
|
|
12
|
+
export declare namespace Patient {
|
|
13
|
+
interface Raw extends MutablePatient.Raw {
|
|
14
|
+
id: PatientId.Raw;
|
|
15
|
+
organization_id: OrganizationId.Raw;
|
|
16
|
+
deactivated: boolean;
|
|
17
|
+
version: number;
|
|
18
|
+
updated_at: string;
|
|
19
|
+
updating_user_id: UserId.Raw;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -27,10 +27,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.Patient = void 0;
|
|
30
|
-
const core = __importStar(require("
|
|
30
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
31
31
|
const PatientId_1 = require("./PatientId");
|
|
32
|
-
const OrganizationId_1 = require("
|
|
33
|
-
const UserId_1 = require("
|
|
32
|
+
const OrganizationId_1 = require("../../../../../../common/types/OrganizationId");
|
|
33
|
+
const UserId_1 = require("../../../../../../common/types/UserId");
|
|
34
34
|
const MutablePatient_1 = require("./MutablePatient");
|
|
35
35
|
exports.Patient = core.serialization
|
|
36
36
|
.object({
|
|
@@ -38,7 +38,7 @@ exports.Patient = core.serialization
|
|
|
38
38
|
organizationId: core.serialization.property("organization_id", OrganizationId_1.OrganizationId),
|
|
39
39
|
deactivated: core.serialization.boolean(),
|
|
40
40
|
version: core.serialization.number(),
|
|
41
|
-
updatedAt: core.serialization.date(),
|
|
42
|
-
updatingUserId: UserId_1.UserId,
|
|
41
|
+
updatedAt: core.serialization.property("updated_at", core.serialization.date()),
|
|
42
|
+
updatingUserId: core.serialization.property("updating_user_id", UserId_1.UserId),
|
|
43
43
|
})
|
|
44
44
|
.extend(MutablePatient_1.MutablePatient);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
|
7
|
+
export declare const PatientId: core.serialization.Schema<serializers.preEncounter.patients.v1.PatientId.Raw, CandidApi.preEncounter.patients.v1.PatientId>;
|
|
8
|
+
export declare namespace PatientId {
|
|
9
|
+
type Raw = string;
|
|
10
|
+
}
|
|
@@ -27,9 +27,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.PatientId = void 0;
|
|
30
|
-
const CandidApi = __importStar(require("
|
|
31
|
-
const core = __importStar(require("
|
|
30
|
+
const CandidApi = __importStar(require("../../../../../../../../../../api/index"));
|
|
31
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
|
32
32
|
exports.PatientId = core.serialization.string().transform({
|
|
33
|
-
transform: CandidApi.preEncounter.PatientId,
|
|
33
|
+
transform: CandidApi.preEncounter.patients.v1.PatientId,
|
|
34
34
|
untransform: (value) => value,
|
|
35
35
|
});
|
package/dist/serialization/resources/preEncounter/resources/coverages/client/getHistory.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
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 { Coverage } from "../types/Coverage";
|
|
8
|
-
import { NotFoundErrorBody } from "../../common/types/NotFoundErrorBody";
|
|
9
|
-
export declare const Response: core.serialization.Schema<serializers.preEncounter.coverages.getHistory.Response.Raw, CandidApi.preEncounter.Coverage[]>;
|
|
10
|
-
export declare namespace Response {
|
|
11
|
-
type Raw = Coverage.Raw[];
|
|
12
|
-
}
|
|
13
|
-
export declare const Error: core.serialization.Schema<serializers.preEncounter.coverages.getHistory.Error.Raw, CandidApi.preEncounter.coverages.getHistory.Error>;
|
|
14
|
-
export declare namespace Error {
|
|
15
|
-
type Raw = Error.NotFoundError;
|
|
16
|
-
interface NotFoundError {
|
|
17
|
-
errorName: "NotFoundError";
|
|
18
|
-
content: NotFoundErrorBody.Raw;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
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 { Coverage } from "../types/Coverage";
|
|
8
|
-
export declare const Response: core.serialization.Schema<serializers.preEncounter.coverages.getMulti.Response.Raw, CandidApi.preEncounter.Coverage[]>;
|
|
9
|
-
export declare namespace Response {
|
|
10
|
-
type Raw = Coverage.Raw[];
|
|
11
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
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 { Coverage } from "../types/Coverage";
|
|
8
|
-
export declare const Response: core.serialization.Schema<serializers.preEncounter.coverages.scan.Response.Raw, CandidApi.preEncounter.Coverage[]>;
|
|
9
|
-
export declare namespace Response {
|
|
10
|
-
type Raw = Coverage.Raw[];
|
|
11
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
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.coverages.update.Error.Raw, CandidApi.preEncounter.coverages.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
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
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 { CoverageId } from "./CoverageId";
|
|
8
|
-
import { OrganizationId } from "../../common/types/OrganizationId";
|
|
9
|
-
import { UserId } from "../../common/types/UserId";
|
|
10
|
-
import { MutableCoverage } from "./MutableCoverage";
|
|
11
|
-
export declare const Coverage: core.serialization.ObjectSchema<serializers.preEncounter.Coverage.Raw, CandidApi.preEncounter.Coverage>;
|
|
12
|
-
export declare namespace Coverage {
|
|
13
|
-
interface Raw extends MutableCoverage.Raw {
|
|
14
|
-
id: CoverageId.Raw;
|
|
15
|
-
organization_id: OrganizationId.Raw;
|
|
16
|
-
deactivated: boolean;
|
|
17
|
-
version: number;
|
|
18
|
-
updatedAt: string;
|
|
19
|
-
updatingUserId: UserId.Raw;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../../../index";
|
|
5
|
-
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
-
import * as core from "../../../../../../core";
|
|
7
|
-
export declare const CoverageId: core.serialization.Schema<serializers.preEncounter.CoverageId.Raw, CandidApi.preEncounter.CoverageId>;
|
|
8
|
-
export declare namespace CoverageId {
|
|
9
|
-
type Raw = string;
|
|
10
|
-
}
|
package/dist/serialization/resources/preEncounter/resources/coverages/types/CoverageStatus.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../../../index";
|
|
5
|
-
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
-
import * as core from "../../../../../../core";
|
|
7
|
-
export declare const CoverageStatus: core.serialization.Schema<serializers.preEncounter.CoverageStatus.Raw, CandidApi.preEncounter.CoverageStatus>;
|
|
8
|
-
export declare namespace CoverageStatus {
|
|
9
|
-
type Raw = "ACTIVE" | "CANCELLED" | "DRAFT" | "ENTERED_IN_ERROR";
|
|
10
|
-
}
|
package/dist/serialization/resources/preEncounter/resources/coverages/types/CoverageType.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as serializers from "../../../../../index";
|
|
5
|
-
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
-
import * as core from "../../../../../../core";
|
|
7
|
-
export declare const CoverageType: core.serialization.Schema<serializers.preEncounter.CoverageType.Raw, CandidApi.preEncounter.CoverageType>;
|
|
8
|
-
export declare namespace CoverageType {
|
|
9
|
-
type Raw = "PPO" | "HMO";
|
|
10
|
-
}
|
package/dist/serialization/resources/preEncounter/resources/coverages/types/InsurancePlan.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
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 { PayerId } from "../../common/types/PayerId";
|
|
8
|
-
import { CoverageType } from "./CoverageType";
|
|
9
|
-
import { Period } from "../../common/types/Period";
|
|
10
|
-
export declare const InsurancePlan: core.serialization.ObjectSchema<serializers.preEncounter.InsurancePlan.Raw, CandidApi.preEncounter.InsurancePlan>;
|
|
11
|
-
export declare namespace InsurancePlan {
|
|
12
|
-
interface Raw {
|
|
13
|
-
memberId: string;
|
|
14
|
-
payerId: PayerId.Raw;
|
|
15
|
-
payerName: string;
|
|
16
|
-
groupNumber?: string | null;
|
|
17
|
-
name?: string | null;
|
|
18
|
-
type?: CoverageType.Raw | null;
|
|
19
|
-
period?: Period.Raw | null;
|
|
20
|
-
insuranceCardImageLocator?: string | null;
|
|
21
|
-
}
|
|
22
|
-
}
|
package/dist/serialization/resources/preEncounter/resources/coverages/types/MutableCoverage.d.ts
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
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 { CoverageStatus } from "./CoverageStatus";
|
|
8
|
-
import { Subscriber } from "./Subscriber";
|
|
9
|
-
import { Relationship } from "../../common/types/Relationship";
|
|
10
|
-
import { PatientId } from "../../patients/types/PatientId";
|
|
11
|
-
import { InsurancePlan } from "./InsurancePlan";
|
|
12
|
-
export declare const MutableCoverage: core.serialization.ObjectSchema<serializers.preEncounter.MutableCoverage.Raw, CandidApi.preEncounter.MutableCoverage>;
|
|
13
|
-
export declare namespace MutableCoverage {
|
|
14
|
-
interface Raw {
|
|
15
|
-
status: CoverageStatus.Raw;
|
|
16
|
-
subscriber: Subscriber.Raw;
|
|
17
|
-
relationship: Relationship.Raw;
|
|
18
|
-
patient: PatientId.Raw;
|
|
19
|
-
insurancePlan: InsurancePlan.Raw;
|
|
20
|
-
verified: boolean;
|
|
21
|
-
}
|
|
22
|
-
}
|