candidhealth 0.24.3 → 0.24.5
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 +3 -3
- package/Client.js +6 -6
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/api/resources/commons/types/ProcedureModifier.d.ts +4 -0
- package/api/resources/commons/types/ProcedureModifier.js +1 -0
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/resources/v1/client/Client.d.ts +19 -10
- package/api/resources/customSchemas/resources/v1/client/Client.js +23 -14
- package/api/resources/customSchemas/resources/v1/client/requests/SchemaCreate.d.ts +12 -3
- package/api/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.d.ts +4 -4
- package/api/resources/customSchemas/resources/v1/types/Schema.d.ts +44 -0
- package/api/resources/customSchemas/resources/v1/types/SchemaField.d.ts +31 -0
- package/api/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.d.ts +23 -0
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounters/resources/v4/client/Client.js +4 -4
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/api/resources/financials/types/AccountType.d.ts +2 -1
- package/api/resources/financials/types/AccountType.js +1 -0
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/index.d.ts +1 -1
- package/api/resources/index.js +2 -2
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/common/types/DisabilityStatus.d.ts +8 -0
- package/api/resources/preEncounter/resources/{coverages/resources/v1/resources/coverages/types/CoverageType.js → common/types/DisabilityStatus.js} +4 -4
- package/api/resources/preEncounter/resources/common/types/Ethnicity.d.ts +10 -0
- package/api/resources/preEncounter/resources/common/types/Ethnicity.js +12 -0
- package/api/resources/preEncounter/resources/common/types/Gender.d.ts +6 -3
- package/api/resources/preEncounter/resources/common/types/Gender.js +5 -2
- package/api/resources/preEncounter/resources/common/types/Race.d.ts +15 -0
- package/api/resources/preEncounter/resources/common/types/Race.js +17 -0
- package/api/resources/preEncounter/resources/common/types/Sex.d.ts +10 -0
- package/api/resources/preEncounter/resources/common/types/Sex.js +12 -0
- package/api/resources/preEncounter/resources/common/types/SexualOrientation.d.ts +13 -0
- package/api/resources/preEncounter/resources/common/types/SexualOrientation.js +15 -0
- package/api/resources/preEncounter/resources/common/types/index.d.ts +5 -0
- package/api/resources/preEncounter/resources/common/types/index.js +5 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +108 -3
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +420 -3
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/create.d.ts +22 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/create.js +47 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/get.d.ts +6 -6
- package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/client/get.js +2 -2
- package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/client/getHistory.d.ts +7 -7
- package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/coverages/resources/v1}/client/getHistory.js +3 -3
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/getMulti.d.ts +22 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/getMulti.js +47 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +7 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/index.js +34 -0
- package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/client/scan.d.ts +6 -6
- package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/coverages/resources/v1}/client/scan.js +2 -2
- package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/update.d.ts +8 -8
- package/api/resources/preEncounter/resources/{patients/resources/v1/resources/patients → coverages/resources/v1}/client/update.js +4 -4
- package/api/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +1 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/index.js +1 -1
- package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/Coverage.d.ts +1 -1
- package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/CoverageId.d.ts +1 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/InsurancePlan.d.ts +2 -2
- package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/MutableCoverage.d.ts +1 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +82 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +27 -0
- package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/Subscriber.d.ts +1 -1
- package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/index.d.ts +1 -1
- package/{dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/index.js +1 -1
- package/api/resources/preEncounter/resources/index.d.ts +2 -2
- package/api/resources/preEncounter/resources/index.js +3 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +167 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +554 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/create.d.ts +7 -7
- package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/create.js +3 -3
- package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/client/deactivate.d.ts +8 -8
- package/api/resources/preEncounter/resources/patients/resources/v1/client/deactivate.js +69 -0
- package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/client/get.d.ts +7 -7
- package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/client/get.js +3 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/getHistory.d.ts +7 -7
- package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/getHistory.js +3 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +8 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +35 -0
- package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/client/scan.d.ts +6 -6
- package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/scan.js +2 -2
- package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/search.d.ts +6 -6
- package/api/resources/preEncounter/resources/patients/resources/v1/client/search.js +47 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/update.d.ts +8 -8
- package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/client/update.js +4 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/index.d.ts +1 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/index.js +1 -1
- package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/types/Contact.d.ts +1 -1
- package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/types/ExternalProvider.d.ts +2 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/types/FilingOrder.d.ts +10 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MutablePatient.d.ts +12 -1
- package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/types/Patient.d.ts +4 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.d.ts +1 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.js +1 -0
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +3 -0
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/Client.d.ts +3 -3
- package/dist/Client.js +6 -6
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/commons/types/ProcedureModifier.d.ts +4 -0
- package/dist/api/resources/commons/types/ProcedureModifier.js +1 -0
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.d.ts +19 -10
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +23 -14
- package/dist/api/resources/customSchemas/resources/v1/client/requests/SchemaCreate.d.ts +12 -3
- package/dist/api/resources/customSchemas/resources/v1/client/requests/SchemaUpdate.d.ts +4 -4
- package/dist/api/resources/customSchemas/resources/v1/types/Schema.d.ts +44 -0
- package/dist/api/resources/customSchemas/resources/v1/types/SchemaField.d.ts +31 -0
- package/dist/api/resources/customSchemas/resources/v1/types/SchemaGetMultiResponse.d.ts +23 -0
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounters/resources/v4/client/Client.js +4 -4
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/dist/api/resources/financials/types/AccountType.d.ts +2 -1
- package/dist/api/resources/financials/types/AccountType.js +1 -0
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/index.d.ts +1 -1
- package/dist/api/resources/index.js +2 -2
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/common/types/DisabilityStatus.d.ts +8 -0
- package/dist/api/resources/preEncounter/resources/{coverages/resources/v1/resources/coverages/types/CoverageType.js → common/types/DisabilityStatus.js} +4 -4
- package/dist/api/resources/preEncounter/resources/common/types/Ethnicity.d.ts +10 -0
- package/dist/api/resources/preEncounter/resources/common/types/Ethnicity.js +12 -0
- package/dist/api/resources/preEncounter/resources/common/types/Gender.d.ts +6 -3
- package/dist/api/resources/preEncounter/resources/common/types/Gender.js +5 -2
- package/dist/api/resources/preEncounter/resources/common/types/Race.d.ts +15 -0
- package/dist/api/resources/preEncounter/resources/common/types/Race.js +17 -0
- package/dist/api/resources/preEncounter/resources/common/types/Sex.d.ts +10 -0
- package/dist/api/resources/preEncounter/resources/common/types/Sex.js +12 -0
- package/dist/api/resources/preEncounter/resources/common/types/SexualOrientation.d.ts +13 -0
- package/dist/api/resources/preEncounter/resources/common/types/SexualOrientation.js +15 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +5 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.js +5 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +108 -3
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +420 -3
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/create.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/create.js +47 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/get.d.ts +6 -6
- package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/client/get.js +2 -2
- package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/client/getHistory.d.ts +7 -7
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.js +58 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/getMulti.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/getMulti.js +47 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.d.ts +7 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/index.js +34 -0
- package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/client/scan.d.ts +6 -6
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/scan.js +47 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/update.d.ts +8 -8
- package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/client/update.js +4 -4
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/index.js +1 -1
- package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/types/Coverage.d.ts +1 -1
- package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/types/CoverageId.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/InsurancePlan.d.ts +2 -2
- package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/types/MutableCoverage.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +82 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +27 -0
- package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/api/resources/preEncounter/resources/coverages/resources/v1}/types/Subscriber.d.ts +1 -1
- package/dist/{serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/index.d.ts +1 -1
- package/dist/{serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → api/resources/preEncounter/resources/coverages/resources/v1}/types/index.js +1 -1
- package/dist/api/resources/preEncounter/resources/index.d.ts +2 -2
- package/dist/api/resources/preEncounter/resources/index.js +3 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +167 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +554 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/create.d.ts +7 -7
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/create.js +3 -3
- package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/preEncounter/resources/patients/resources/v1}/client/deactivate.d.ts +8 -8
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/deactivate.js +69 -0
- package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/preEncounter/resources/patients/resources/v1}/client/get.d.ts +7 -7
- package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/preEncounter/resources/patients/resources/v1}/client/get.js +3 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/getHistory.d.ts +7 -7
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/getHistory.js +58 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +8 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +35 -0
- package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/preEncounter/resources/patients/resources/v1}/client/scan.d.ts +6 -6
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/scan.js +47 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/search.d.ts +6 -6
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/search.js +47 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/update.d.ts +8 -8
- package/dist/api/resources/preEncounter/resources/{coverages/resources/v1/resources/coverages → patients/resources/v1}/client/update.js +4 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/index.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/index.js +1 -1
- package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/preEncounter/resources/patients/resources/v1}/types/Contact.d.ts +1 -1
- package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/preEncounter/resources/patients/resources/v1}/types/ExternalProvider.d.ts +2 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/FilingOrder.d.ts +10 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MutablePatient.d.ts +12 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +5 -0
- package/{api/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/api/resources/preEncounter/resources/patients/resources/v1}/types/Patient.d.ts +4 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.js +5 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.js +1 -0
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +3 -0
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
- package/dist/serialization/resources/commons/types/ProcedureModifier.js +1 -0
- package/dist/serialization/resources/financials/types/AccountType.d.ts +1 -1
- package/dist/serialization/resources/financials/types/AccountType.js +1 -1
- package/dist/serialization/resources/index.d.ts +1 -1
- package/dist/serialization/resources/index.js +2 -2
- package/dist/serialization/resources/preEncounter/resources/common/types/DisabilityStatus.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/DisabilityStatus.js +31 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/Ethnicity.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/Ethnicity.js +31 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/Gender.d.ts +1 -1
- package/dist/serialization/resources/preEncounter/resources/common/types/Gender.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/common/types/Race.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/Race.js +41 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/Sex.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/{coverages/resources/v1/resources/coverages/types/CoverageType.js → common/types/Sex.js} +3 -3
- package/dist/serialization/resources/preEncounter/resources/common/types/SexualOrientation.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/SexualOrientation.js +31 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/index.d.ts +5 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/index.js +5 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/getHistory.js +4 -4
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getMulti.d.ts +11 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/getMulti.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/scan.d.ts +11 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/scan.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/client/update.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/{patients/resources/v1/resources/patients → coverages/resources/v1}/client/update.js +6 -6
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +2 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/index.js +2 -1
- package/{serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/types/Coverage.d.ts +5 -5
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/Coverage.js +3 -3
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageId.d.ts +3 -3
- package/{serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/types/CoverageId.js +2 -2
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageStatus.d.ts +3 -3
- package/{serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/types/CoverageStatus.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/InsurancePlan.d.ts +7 -7
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/InsurancePlan.js +5 -5
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/MutableCoverage.d.ts +5 -5
- package/{serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/types/MutableCoverage.js +3 -3
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +51 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/Subscriber.d.ts +5 -5
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/Subscriber.js +3 -3
- package/{serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/types/index.d.ts +1 -1
- package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → dist/serialization/resources/preEncounter/resources/coverages/resources/v1}/types/index.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/index.d.ts +2 -2
- package/dist/serialization/resources/preEncounter/resources/index.js +3 -3
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/create.d.ts +15 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/create.js +4 -4
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.js +67 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/get.d.ts +15 -0
- package/{serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/client/get.js +4 -4
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/getHistory.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/getHistory.js +4 -4
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/scan.d.ts +11 -0
- package/{serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/client/scan.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/search.d.ts +11 -0
- package/{serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/client/search.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/update.d.ts +20 -0
- package/{serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients → dist/serialization/resources/preEncounter/resources/patients/resources/v1}/client/update.js +6 -6
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/index.d.ts +2 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/index.js +2 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +23 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/Contact.js +7 -7
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvenance.d.ts +3 -3
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvenance.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/ExternalProvider.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvider.js +6 -5
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/FilingOrder.d.ts +13 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/FilingOrder.js +34 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.d.ts +3 -3
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +50 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MutablePatient.js +20 -5
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/Patient.d.ts +6 -5
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/Patient.js +4 -3
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.d.ts +3 -3
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.js +2 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +3 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +3 -0
- package/package.json +1 -1
- package/reference.md +215 -401
- package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
- package/serialization/resources/commons/types/ProcedureModifier.js +1 -0
- package/serialization/resources/financials/types/AccountType.d.ts +1 -1
- package/serialization/resources/financials/types/AccountType.js +1 -1
- package/serialization/resources/index.d.ts +1 -1
- package/serialization/resources/index.js +2 -2
- package/serialization/resources/preEncounter/resources/common/types/DisabilityStatus.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/common/types/DisabilityStatus.js +31 -0
- package/serialization/resources/preEncounter/resources/common/types/Ethnicity.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/common/types/Ethnicity.js +31 -0
- package/serialization/resources/preEncounter/resources/common/types/Gender.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/common/types/Gender.js +1 -1
- package/serialization/resources/preEncounter/resources/common/types/Race.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/common/types/Race.js +41 -0
- package/serialization/resources/preEncounter/resources/common/types/Sex.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/{coverages/resources/v1/resources/coverages/types/CoverageType.js → common/types/Sex.js} +3 -3
- package/serialization/resources/preEncounter/resources/common/types/SexualOrientation.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/common/types/SexualOrientation.js +31 -0
- package/serialization/resources/preEncounter/resources/common/types/index.d.ts +5 -0
- package/serialization/resources/preEncounter/resources/common/types/index.js +5 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getHistory.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/getHistory.js +4 -4
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/getMulti.d.ts +11 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/getMulti.js +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/scan.d.ts +11 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/scan.js +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/client/update.d.ts +20 -0
- package/{dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → serialization/resources/preEncounter/resources/coverages/resources/v1}/client/update.js +6 -6
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/index.d.ts +2 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/index.js +2 -1
- package/{dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → serialization/resources/preEncounter/resources/coverages/resources/v1}/types/Coverage.d.ts +5 -5
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/Coverage.js +3 -3
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageId.d.ts +3 -3
- package/{dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → serialization/resources/preEncounter/resources/coverages/resources/v1}/types/CoverageId.js +2 -2
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageStatus.d.ts +3 -3
- package/{dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → serialization/resources/preEncounter/resources/coverages/resources/v1}/types/CoverageStatus.js +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/InsurancePlan.d.ts +7 -7
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/InsurancePlan.js +5 -5
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/MutableCoverage.d.ts +5 -5
- package/{dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → serialization/resources/preEncounter/resources/coverages/resources/v1}/types/MutableCoverage.js +3 -3
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/NetworkType.js +51 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/Subscriber.d.ts +5 -5
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/Subscriber.js +3 -3
- package/{api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages → serialization/resources/preEncounter/resources/coverages/resources/v1}/types/index.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/index.js +1 -1
- package/serialization/resources/preEncounter/resources/index.d.ts +2 -2
- package/serialization/resources/preEncounter/resources/index.js +3 -3
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/create.d.ts +15 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/create.js +4 -4
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/deactivate.js +67 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/get.d.ts +15 -0
- package/{dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients → serialization/resources/preEncounter/resources/patients/resources/v1}/client/get.js +4 -4
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/getHistory.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/getHistory.js +4 -4
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/scan.d.ts +11 -0
- package/{dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients → serialization/resources/preEncounter/resources/patients/resources/v1}/client/scan.js +1 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/search.d.ts +11 -0
- package/{dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients → serialization/resources/preEncounter/resources/patients/resources/v1}/client/search.js +1 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/update.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/{coverages/resources/v1/resources/coverages → patients/resources/v1}/client/update.js +6 -6
- package/serialization/resources/preEncounter/resources/patients/resources/v1/index.d.ts +2 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/index.js +2 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Contact.d.ts +23 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/Contact.js +7 -7
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvenance.d.ts +3 -3
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvenance.js +1 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/ExternalProvider.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvider.js +6 -5
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/FilingOrder.d.ts +13 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/FilingOrder.js +34 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.d.ts +3 -3
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.js +1 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +50 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MutablePatient.js +20 -5
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/Patient.d.ts +6 -5
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/Patient.js +4 -3
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.d.ts +3 -3
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.js +2 -2
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/index.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +3 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +3 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.d.ts +0 -147
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.js +0 -451
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/create.d.ts +0 -22
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/create.js +0 -47
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.js +0 -58
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.d.ts +0 -22
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.js +0 -47
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/index.d.ts +0 -7
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/index.js +0 -36
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.js +0 -47
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.d.ts +0 -2
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.js +0 -18
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.d.ts +0 -8
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +0 -3
- package/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +0 -32
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +0 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/index.js +0 -32
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.d.ts +0 -338
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.js +0 -716
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.js +0 -69
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.d.ts +0 -8
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.js +0 -37
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.js +0 -47
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.d.ts +0 -2
- package/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.js +0 -18
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.d.ts +0 -147
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/Client.js +0 -451
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/create.d.ts +0 -22
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/create.js +0 -47
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.js +0 -58
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.d.ts +0 -22
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.js +0 -47
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/index.d.ts +0 -7
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/index.js +0 -36
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.js +0 -47
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.d.ts +0 -2
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.js +0 -18
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.d.ts +0 -8
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +0 -3
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +0 -32
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +0 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/index.js +0 -32
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.d.ts +0 -338
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/Client.js +0 -716
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.js +0 -69
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.d.ts +0 -8
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/index.js +0 -37
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.js +0 -47
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.d.ts +0 -2
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.js +0 -18
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.d.ts +0 -20
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.d.ts +0 -11
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.d.ts +0 -11
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/update.d.ts +0 -20
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.d.ts +0 -2
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.js +0 -18
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.d.ts +0 -10
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +0 -2
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +0 -31
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +0 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.js +0 -31
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/create.d.ts +0 -15
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.d.ts +0 -20
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.js +0 -67
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/get.d.ts +0 -15
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/getHistory.d.ts +0 -20
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/scan.d.ts +0 -11
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.d.ts +0 -11
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/update.d.ts +0 -20
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.d.ts +0 -2
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.js +0 -18
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Contact.d.ts +0 -23
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.d.ts +0 -19
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.d.ts +0 -35
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getHistory.d.ts +0 -20
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/getMulti.d.ts +0 -11
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/scan.d.ts +0 -11
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/client/update.d.ts +0 -20
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.d.ts +0 -2
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/index.js +0 -18
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/coverages/types/CoverageType.d.ts +0 -10
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.d.ts +0 -2
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/resources/index.js +0 -31
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.d.ts +0 -2
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/index.js +0 -31
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/create.d.ts +0 -15
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.d.ts +0 -20
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/deactivate.js +0 -67
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/get.d.ts +0 -15
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/getHistory.d.ts +0 -20
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/scan.d.ts +0 -11
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/search.d.ts +0 -11
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/client/update.d.ts +0 -20
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.d.ts +0 -2
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/index.js +0 -18
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/Contact.d.ts +0 -23
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/ExternalProvider.d.ts +0 -19
- package/serialization/resources/preEncounter/resources/patients/resources/v1/resources/patients/types/MutablePatient.d.ts +0 -35
- /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/CoverageScanRequest.d.ts +0 -0
- /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/CoverageScanRequest.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/GetAllCoveragesRequest.d.ts +0 -0
- /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/GetAllCoveragesRequest.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/index.d.ts +0 -0
- /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/index.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/Coverage.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageId.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageStatus.d.ts +0 -0
- /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageStatus.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/InsurancePlan.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/MutableCoverage.js +0 -0
- /package/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/Subscriber.js +0 -0
- /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/PatientScanRequest.d.ts +0 -0
- /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/PatientScanRequest.js +0 -0
- /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/PatientsSearchRequest.d.ts +0 -0
- /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/PatientsSearchRequest.js +0 -0
- /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/index.d.ts +0 -0
- /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/index.js +0 -0
- /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/Contact.js +0 -0
- /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvenance.d.ts +0 -0
- /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvenance.js +0 -0
- /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvider.js +0 -0
- /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types/MutablePatient.js → types/FilingOrder.js} +0 -0
- /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.d.ts +0 -0
- /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.js +0 -0
- /package/{dist/api/resources/preEncounter/resources/patients/resources/v1/resources/patients → api/resources/preEncounter/resources/patients/resources/v1}/types/MutablePatient.js +0 -0
- /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/Patient.js +0 -0
- /package/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/CoverageScanRequest.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/CoverageScanRequest.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/GetAllCoveragesRequest.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/GetAllCoveragesRequest.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/index.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/requests/index.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/Coverage.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageId.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageStatus.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/CoverageStatus.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/InsurancePlan.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/MutableCoverage.js +0 -0
- /package/dist/api/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/types → types}/Subscriber.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/PatientScanRequest.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/PatientScanRequest.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/PatientsSearchRequest.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/PatientsSearchRequest.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/index.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/requests/index.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/Contact.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvenance.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvenance.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/ExternalProvider.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types/Patient.js → types/FilingOrder.js} +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.d.ts +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/MaritalStatus.js +0 -0
- /package/dist/api/resources/preEncounter/resources/patients/resources/v1/{resources/patients/types → types}/PatientId.js +0 -0
- /package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/index.d.ts +0 -0
- /package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/index.js +0 -0
- /package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/index.d.ts +0 -0
- /package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/index.js +0 -0
- /package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/index.d.ts +0 -0
- /package/serialization/resources/preEncounter/resources/coverages/resources/v1/{resources/coverages/client → client}/index.js +0 -0
- /package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/index.d.ts +0 -0
- /package/serialization/resources/preEncounter/resources/patients/resources/v1/{resources/patients/client → client}/index.js +0 -0
package/reference.md
CHANGED
|
@@ -547,7 +547,7 @@ Return a custom schema with a given ID.
|
|
|
547
547
|
<dd>
|
|
548
548
|
|
|
549
549
|
```typescript
|
|
550
|
-
await client.customSchemas.v1.get(CandidApi.SchemaId("
|
|
550
|
+
await client.customSchemas.v1.get(CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"));
|
|
551
551
|
```
|
|
552
552
|
|
|
553
553
|
</dd>
|
|
@@ -594,7 +594,7 @@ await client.customSchemas.v1.get(CandidApi.SchemaId("d5e9c84f-c2b2-4bf4-b4b0-7f
|
|
|
594
594
|
<dl>
|
|
595
595
|
<dd>
|
|
596
596
|
|
|
597
|
-
Create a
|
|
597
|
+
Create custom schema with a set of typed keys. Schema keys can be referenced as inputs in user-configurable rules in the Rules
|
|
598
598
|
Engine, and key-value pairs can be attached to claims via the Encounters API.
|
|
599
599
|
|
|
600
600
|
</dd>
|
|
@@ -612,13 +612,25 @@ Engine, and key-value pairs can be attached to claims via the Encounters API.
|
|
|
612
612
|
|
|
613
613
|
```typescript
|
|
614
614
|
await client.customSchemas.v1.create({
|
|
615
|
-
name: "
|
|
616
|
-
description: "
|
|
615
|
+
name: "General Medicine",
|
|
616
|
+
description: "Values associated with a generic visit",
|
|
617
617
|
fields: [
|
|
618
618
|
{
|
|
619
|
-
key: "
|
|
619
|
+
key: "provider_category",
|
|
620
|
+
type: CandidApi.Primitive.String,
|
|
621
|
+
},
|
|
622
|
+
{
|
|
623
|
+
key: "is_urgent_care",
|
|
620
624
|
type: CandidApi.Primitive.Boolean,
|
|
621
625
|
},
|
|
626
|
+
{
|
|
627
|
+
key: "bmi",
|
|
628
|
+
type: CandidApi.Primitive.Double,
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
key: "age",
|
|
632
|
+
type: CandidApi.Primitive.Integer,
|
|
633
|
+
},
|
|
622
634
|
],
|
|
623
635
|
});
|
|
624
636
|
```
|
|
@@ -683,13 +695,13 @@ Update the name, description, or keys on a preexisting schema.
|
|
|
683
695
|
<dd>
|
|
684
696
|
|
|
685
697
|
```typescript
|
|
686
|
-
await client.customSchemas.v1.update(CandidApi.SchemaId("
|
|
687
|
-
name: "
|
|
688
|
-
description: "
|
|
698
|
+
await client.customSchemas.v1.update(CandidApi.SchemaId("ec096b13-f80a-471d-aaeb-54b021c9d582"), {
|
|
699
|
+
name: "General Medicine and Health",
|
|
700
|
+
description: "Values collected during all visits",
|
|
689
701
|
fieldsToAdd: [
|
|
690
702
|
{
|
|
691
|
-
key: "
|
|
692
|
-
type: CandidApi.Primitive.
|
|
703
|
+
key: "visit_type",
|
|
704
|
+
type: CandidApi.Primitive.String,
|
|
693
705
|
},
|
|
694
706
|
],
|
|
695
707
|
});
|
|
@@ -6197,78 +6209,9 @@ await client.writeOffs.v1.revert(CandidApi.WriteOffId("d5e9c84f-c2b2-4bf4-b4b0-7
|
|
|
6197
6209
|
</dl>
|
|
6198
6210
|
</details>
|
|
6199
6211
|
|
|
6200
|
-
##
|
|
6201
|
-
|
|
6202
|
-
<details><summary><code>client.serviceFacility.<a href="/src/api/resources/serviceFacility/client/Client.ts">update</a>(serviceFacilityId, { ...params }) -> core.APIResponse<CandidApi.EncounterServiceFacility, CandidApi.serviceFacility.update.Error></code></summary>
|
|
6203
|
-
<dl>
|
|
6204
|
-
<dd>
|
|
6205
|
-
|
|
6206
|
-
#### 🔌 Usage
|
|
6207
|
-
|
|
6208
|
-
<dl>
|
|
6209
|
-
<dd>
|
|
6210
|
-
|
|
6211
|
-
<dl>
|
|
6212
|
-
<dd>
|
|
6213
|
-
|
|
6214
|
-
```typescript
|
|
6215
|
-
await client.serviceFacility.update(CandidApi.ServiceFacilityId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
6216
|
-
organizationName: "string",
|
|
6217
|
-
npi: "string",
|
|
6218
|
-
address: {
|
|
6219
|
-
address1: "123 Main St",
|
|
6220
|
-
address2: "Apt 1",
|
|
6221
|
-
city: "New York",
|
|
6222
|
-
state: CandidApi.State.Ny,
|
|
6223
|
-
zipCode: "10001",
|
|
6224
|
-
zipPlusFourCode: "1234",
|
|
6225
|
-
},
|
|
6226
|
-
});
|
|
6227
|
-
```
|
|
6228
|
-
|
|
6229
|
-
</dd>
|
|
6230
|
-
</dl>
|
|
6231
|
-
</dd>
|
|
6232
|
-
</dl>
|
|
6233
|
-
|
|
6234
|
-
#### ⚙️ Parameters
|
|
6235
|
-
|
|
6236
|
-
<dl>
|
|
6237
|
-
<dd>
|
|
6238
|
-
|
|
6239
|
-
<dl>
|
|
6240
|
-
<dd>
|
|
6241
|
-
|
|
6242
|
-
**serviceFacilityId:** `CandidApi.ServiceFacilityId`
|
|
6243
|
-
|
|
6244
|
-
</dd>
|
|
6245
|
-
</dl>
|
|
6246
|
-
|
|
6247
|
-
<dl>
|
|
6248
|
-
<dd>
|
|
6249
|
-
|
|
6250
|
-
**request:** `CandidApi.EncounterServiceFacilityUpdate`
|
|
6251
|
-
|
|
6252
|
-
</dd>
|
|
6253
|
-
</dl>
|
|
6254
|
-
|
|
6255
|
-
<dl>
|
|
6256
|
-
<dd>
|
|
6257
|
-
|
|
6258
|
-
**requestOptions:** `ServiceFacility.RequestOptions`
|
|
6259
|
-
|
|
6260
|
-
</dd>
|
|
6261
|
-
</dl>
|
|
6262
|
-
</dd>
|
|
6263
|
-
</dl>
|
|
6264
|
-
|
|
6265
|
-
</dd>
|
|
6266
|
-
</dl>
|
|
6267
|
-
</details>
|
|
6268
|
-
|
|
6269
|
-
## PreEncounter Coverages V1 Coverages
|
|
6212
|
+
## PreEncounter Coverages V1
|
|
6270
6213
|
|
|
6271
|
-
<details><summary><code>client.preEncounter.coverages.v1
|
|
6214
|
+
<details><summary><code>client.preEncounter.coverages.v1.<a href="/src/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.ts">create</a>({ ...params }) -> core.APIResponse<CandidApi.Coverage, CandidApi.preEncounter.coverages.v1.create.Error></code></summary>
|
|
6272
6215
|
<dl>
|
|
6273
6216
|
<dd>
|
|
6274
6217
|
|
|
@@ -6296,17 +6239,12 @@ Creates a new Coverage. A Coverage provides the high-level identifiers and descr
|
|
|
6296
6239
|
<dd>
|
|
6297
6240
|
|
|
6298
6241
|
```typescript
|
|
6299
|
-
await client.preEncounter.coverages.v1.
|
|
6242
|
+
await client.preEncounter.coverages.v1.create({
|
|
6300
6243
|
status: CandidApi.CoverageStatus.Active,
|
|
6301
6244
|
subscriber: {
|
|
6302
|
-
name: {
|
|
6303
|
-
family: "string",
|
|
6304
|
-
given: ["string"],
|
|
6305
|
-
use: CandidApi.NameUse.Usual,
|
|
6306
|
-
period: {},
|
|
6307
|
-
},
|
|
6245
|
+
name: {},
|
|
6308
6246
|
dateOfBirth: "2023-01-15",
|
|
6309
|
-
gender: CandidApi.Gender.
|
|
6247
|
+
gender: CandidApi.Gender.Man,
|
|
6310
6248
|
},
|
|
6311
6249
|
relationship: CandidApi.Relationship.Self,
|
|
6312
6250
|
patient: CandidApi.PatientId("string"),
|
|
@@ -6316,11 +6254,8 @@ await client.preEncounter.coverages.v1.coverages.create({
|
|
|
6316
6254
|
payerName: "string",
|
|
6317
6255
|
groupNumber: "string",
|
|
6318
6256
|
name: "string",
|
|
6319
|
-
type: CandidApi.
|
|
6320
|
-
period: {
|
|
6321
|
-
start: "2023-01-15",
|
|
6322
|
-
end: "2023-01-15",
|
|
6323
|
-
},
|
|
6257
|
+
type: CandidApi.NetworkType.Ppo,
|
|
6258
|
+
period: {},
|
|
6324
6259
|
insuranceCardImageLocator: "string",
|
|
6325
6260
|
},
|
|
6326
6261
|
verified: true,
|
|
@@ -6348,7 +6283,7 @@ await client.preEncounter.coverages.v1.coverages.create({
|
|
|
6348
6283
|
<dl>
|
|
6349
6284
|
<dd>
|
|
6350
6285
|
|
|
6351
|
-
**requestOptions:** `
|
|
6286
|
+
**requestOptions:** `V1.RequestOptions`
|
|
6352
6287
|
|
|
6353
6288
|
</dd>
|
|
6354
6289
|
</dl>
|
|
@@ -6359,7 +6294,7 @@ await client.preEncounter.coverages.v1.coverages.create({
|
|
|
6359
6294
|
</dl>
|
|
6360
6295
|
</details>
|
|
6361
6296
|
|
|
6362
|
-
<details><summary><code>client.preEncounter.coverages.v1
|
|
6297
|
+
<details><summary><code>client.preEncounter.coverages.v1.<a href="/src/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.ts">update</a>(id, version, { ...params }) -> core.APIResponse<CandidApi.Coverage, CandidApi.preEncounter.coverages.v1.update.Error></code></summary>
|
|
6363
6298
|
<dl>
|
|
6364
6299
|
<dd>
|
|
6365
6300
|
|
|
@@ -6387,39 +6322,27 @@ Updates a Coverage. The path must contain the most recent version to prevent rac
|
|
|
6387
6322
|
<dd>
|
|
6388
6323
|
|
|
6389
6324
|
```typescript
|
|
6390
|
-
await client.preEncounter.coverages.v1.
|
|
6391
|
-
CandidApi.
|
|
6392
|
-
|
|
6393
|
-
|
|
6394
|
-
|
|
6395
|
-
|
|
6396
|
-
|
|
6397
|
-
|
|
6398
|
-
|
|
6399
|
-
|
|
6400
|
-
|
|
6401
|
-
|
|
6402
|
-
|
|
6403
|
-
|
|
6404
|
-
|
|
6405
|
-
|
|
6406
|
-
|
|
6407
|
-
|
|
6408
|
-
|
|
6409
|
-
|
|
6410
|
-
|
|
6411
|
-
groupNumber: "string",
|
|
6412
|
-
name: "string",
|
|
6413
|
-
type: CandidApi.CoverageType.Ppo,
|
|
6414
|
-
period: {
|
|
6415
|
-
start: "2023-01-15",
|
|
6416
|
-
end: "2023-01-15",
|
|
6417
|
-
},
|
|
6418
|
-
insuranceCardImageLocator: "string",
|
|
6419
|
-
},
|
|
6420
|
-
verified: true,
|
|
6421
|
-
}
|
|
6422
|
-
);
|
|
6325
|
+
await client.preEncounter.coverages.v1.update(CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), "string", {
|
|
6326
|
+
status: CandidApi.CoverageStatus.Active,
|
|
6327
|
+
subscriber: {
|
|
6328
|
+
name: {},
|
|
6329
|
+
dateOfBirth: "2023-01-15",
|
|
6330
|
+
gender: CandidApi.Gender.Man,
|
|
6331
|
+
},
|
|
6332
|
+
relationship: CandidApi.Relationship.Self,
|
|
6333
|
+
patient: CandidApi.PatientId("string"),
|
|
6334
|
+
insurancePlan: {
|
|
6335
|
+
memberId: "string",
|
|
6336
|
+
payerId: CandidApi.PayerId("string"),
|
|
6337
|
+
payerName: "string",
|
|
6338
|
+
groupNumber: "string",
|
|
6339
|
+
name: "string",
|
|
6340
|
+
type: CandidApi.NetworkType.Ppo,
|
|
6341
|
+
period: {},
|
|
6342
|
+
insuranceCardImageLocator: "string",
|
|
6343
|
+
},
|
|
6344
|
+
verified: true,
|
|
6345
|
+
});
|
|
6423
6346
|
```
|
|
6424
6347
|
|
|
6425
6348
|
</dd>
|
|
@@ -6443,7 +6366,7 @@ await client.preEncounter.coverages.v1.coverages.update(
|
|
|
6443
6366
|
<dl>
|
|
6444
6367
|
<dd>
|
|
6445
6368
|
|
|
6446
|
-
**version:** `
|
|
6369
|
+
**version:** `string`
|
|
6447
6370
|
|
|
6448
6371
|
</dd>
|
|
6449
6372
|
</dl>
|
|
@@ -6459,7 +6382,7 @@ await client.preEncounter.coverages.v1.coverages.update(
|
|
|
6459
6382
|
<dl>
|
|
6460
6383
|
<dd>
|
|
6461
6384
|
|
|
6462
|
-
**requestOptions:** `
|
|
6385
|
+
**requestOptions:** `V1.RequestOptions`
|
|
6463
6386
|
|
|
6464
6387
|
</dd>
|
|
6465
6388
|
</dl>
|
|
@@ -6470,7 +6393,7 @@ await client.preEncounter.coverages.v1.coverages.update(
|
|
|
6470
6393
|
</dl>
|
|
6471
6394
|
</details>
|
|
6472
6395
|
|
|
6473
|
-
<details><summary><code>client.preEncounter.coverages.v1
|
|
6396
|
+
<details><summary><code>client.preEncounter.coverages.v1.<a href="/src/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.ts">get</a>(id) -> core.APIResponse<CandidApi.Coverage, CandidApi.preEncounter.coverages.v1.get.Error></code></summary>
|
|
6474
6397
|
<dl>
|
|
6475
6398
|
<dd>
|
|
6476
6399
|
|
|
@@ -6498,7 +6421,7 @@ gets a specific Coverage
|
|
|
6498
6421
|
<dd>
|
|
6499
6422
|
|
|
6500
6423
|
```typescript
|
|
6501
|
-
await client.preEncounter.coverages.v1.
|
|
6424
|
+
await client.preEncounter.coverages.v1.get(CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
|
|
6502
6425
|
```
|
|
6503
6426
|
|
|
6504
6427
|
</dd>
|
|
@@ -6522,7 +6445,7 @@ await client.preEncounter.coverages.v1.coverages.get(CandidApi.CoverageId("d5e9c
|
|
|
6522
6445
|
<dl>
|
|
6523
6446
|
<dd>
|
|
6524
6447
|
|
|
6525
|
-
**requestOptions:** `
|
|
6448
|
+
**requestOptions:** `V1.RequestOptions`
|
|
6526
6449
|
|
|
6527
6450
|
</dd>
|
|
6528
6451
|
</dl>
|
|
@@ -6533,7 +6456,7 @@ await client.preEncounter.coverages.v1.coverages.get(CandidApi.CoverageId("d5e9c
|
|
|
6533
6456
|
</dl>
|
|
6534
6457
|
</details>
|
|
6535
6458
|
|
|
6536
|
-
<details><summary><code>client.preEncounter.coverages.v1
|
|
6459
|
+
<details><summary><code>client.preEncounter.coverages.v1.<a href="/src/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.ts">getHistory</a>(id) -> core.APIResponse<CandidApi.Coverage[], CandidApi.preEncounter.coverages.v1.getHistory.Error></code></summary>
|
|
6537
6460
|
<dl>
|
|
6538
6461
|
<dd>
|
|
6539
6462
|
|
|
@@ -6561,9 +6484,7 @@ Gets a coverage along with it's full history. The return list is ordered by vers
|
|
|
6561
6484
|
<dd>
|
|
6562
6485
|
|
|
6563
6486
|
```typescript
|
|
6564
|
-
await client.preEncounter.coverages.v1.
|
|
6565
|
-
CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
6566
|
-
);
|
|
6487
|
+
await client.preEncounter.coverages.v1.getHistory(CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"));
|
|
6567
6488
|
```
|
|
6568
6489
|
|
|
6569
6490
|
</dd>
|
|
@@ -6587,7 +6508,7 @@ await client.preEncounter.coverages.v1.coverages.getHistory(
|
|
|
6587
6508
|
<dl>
|
|
6588
6509
|
<dd>
|
|
6589
6510
|
|
|
6590
|
-
**requestOptions:** `
|
|
6511
|
+
**requestOptions:** `V1.RequestOptions`
|
|
6591
6512
|
|
|
6592
6513
|
</dd>
|
|
6593
6514
|
</dl>
|
|
@@ -6598,7 +6519,7 @@ await client.preEncounter.coverages.v1.coverages.getHistory(
|
|
|
6598
6519
|
</dl>
|
|
6599
6520
|
</details>
|
|
6600
6521
|
|
|
6601
|
-
<details><summary><code>client.preEncounter.coverages.v1
|
|
6522
|
+
<details><summary><code>client.preEncounter.coverages.v1.<a href="/src/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.ts">getMulti</a>({ ...params }) -> core.APIResponse<CandidApi.Coverage[], CandidApi.preEncounter.coverages.v1.getMulti.Error></code></summary>
|
|
6602
6523
|
<dl>
|
|
6603
6524
|
<dd>
|
|
6604
6525
|
|
|
@@ -6626,7 +6547,7 @@ returns a list of Coverages based on the search criteria
|
|
|
6626
6547
|
<dd>
|
|
6627
6548
|
|
|
6628
6549
|
```typescript
|
|
6629
|
-
await client.preEncounter.coverages.v1.
|
|
6550
|
+
await client.preEncounter.coverages.v1.getMulti({
|
|
6630
6551
|
patientId: "string",
|
|
6631
6552
|
});
|
|
6632
6553
|
```
|
|
@@ -6652,7 +6573,7 @@ await client.preEncounter.coverages.v1.coverages.getMulti({
|
|
|
6652
6573
|
<dl>
|
|
6653
6574
|
<dd>
|
|
6654
6575
|
|
|
6655
|
-
**requestOptions:** `
|
|
6576
|
+
**requestOptions:** `V1.RequestOptions`
|
|
6656
6577
|
|
|
6657
6578
|
</dd>
|
|
6658
6579
|
</dl>
|
|
@@ -6663,7 +6584,7 @@ await client.preEncounter.coverages.v1.coverages.getMulti({
|
|
|
6663
6584
|
</dl>
|
|
6664
6585
|
</details>
|
|
6665
6586
|
|
|
6666
|
-
<details><summary><code>client.preEncounter.coverages.v1
|
|
6587
|
+
<details><summary><code>client.preEncounter.coverages.v1.<a href="/src/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.ts">scan</a>({ ...params }) -> core.APIResponse<CandidApi.Coverage[], CandidApi.preEncounter.coverages.v1.scan.Error></code></summary>
|
|
6667
6588
|
<dl>
|
|
6668
6589
|
<dd>
|
|
6669
6590
|
|
|
@@ -6691,7 +6612,7 @@ Scans up to 100 coverage updates. The since query parameter is inclusive, and th
|
|
|
6691
6612
|
<dd>
|
|
6692
6613
|
|
|
6693
6614
|
```typescript
|
|
6694
|
-
await client.preEncounter.coverages.v1.
|
|
6615
|
+
await client.preEncounter.coverages.v1.scan({
|
|
6695
6616
|
since: new Date("2024-01-15T09:30:00.000Z"),
|
|
6696
6617
|
});
|
|
6697
6618
|
```
|
|
@@ -6717,7 +6638,7 @@ await client.preEncounter.coverages.v1.coverages.scan({
|
|
|
6717
6638
|
<dl>
|
|
6718
6639
|
<dd>
|
|
6719
6640
|
|
|
6720
|
-
**requestOptions:** `
|
|
6641
|
+
**requestOptions:** `V1.RequestOptions`
|
|
6721
6642
|
|
|
6722
6643
|
</dd>
|
|
6723
6644
|
</dl>
|
|
@@ -6728,9 +6649,9 @@ await client.preEncounter.coverages.v1.coverages.scan({
|
|
|
6728
6649
|
</dl>
|
|
6729
6650
|
</details>
|
|
6730
6651
|
|
|
6731
|
-
## PreEncounter Patients V1
|
|
6652
|
+
## PreEncounter Patients V1
|
|
6732
6653
|
|
|
6733
|
-
<details><summary><code>client.preEncounter.patients.v1
|
|
6654
|
+
<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">create</a>({ ...params }) -> core.APIResponse<CandidApi.Patient, CandidApi.preEncounter.patients.v1.create.Error></code></summary>
|
|
6734
6655
|
<dl>
|
|
6735
6656
|
<dd>
|
|
6736
6657
|
|
|
@@ -6758,64 +6679,26 @@ Adds a patient. VersionConflictError is returned when the patient's external ID
|
|
|
6758
6679
|
<dd>
|
|
6759
6680
|
|
|
6760
6681
|
```typescript
|
|
6761
|
-
await client.preEncounter.patients.v1.
|
|
6762
|
-
name: {
|
|
6763
|
-
|
|
6764
|
-
|
|
6765
|
-
use: CandidApi.NameUse.Usual,
|
|
6766
|
-
period: {},
|
|
6767
|
-
},
|
|
6768
|
-
otherNames: [
|
|
6769
|
-
{
|
|
6770
|
-
family: "string",
|
|
6771
|
-
given: ["string"],
|
|
6772
|
-
use: CandidApi.NameUse.Usual,
|
|
6773
|
-
period: {},
|
|
6774
|
-
},
|
|
6775
|
-
],
|
|
6776
|
-
gender: CandidApi.Gender.Female,
|
|
6682
|
+
await client.preEncounter.patients.v1.create({
|
|
6683
|
+
name: {},
|
|
6684
|
+
otherNames: [{}],
|
|
6685
|
+
gender: CandidApi.Gender.Man,
|
|
6777
6686
|
birthDate: "2023-01-15",
|
|
6687
|
+
socialSecurityNumber: "string",
|
|
6688
|
+
biologicalSex: CandidApi.Sex.Female,
|
|
6689
|
+
sexualOrientation: CandidApi.SexualOrientation.Heterosexual,
|
|
6690
|
+
race: CandidApi.Race.AmericanIndianOrAlaskaNative,
|
|
6691
|
+
ethnicity: CandidApi.Ethnicity.HispanicOrLatino,
|
|
6692
|
+
disabilityStatus: CandidApi.DisabilityStatus.Disabled,
|
|
6778
6693
|
maritalStatus: CandidApi.MaritalStatus.Annulled,
|
|
6779
6694
|
deceased: new Date("2024-01-15T09:30:00.000Z"),
|
|
6780
6695
|
multipleBirth: 1,
|
|
6781
|
-
primaryAddress: {
|
|
6782
|
-
|
|
6783
|
-
|
|
6784
|
-
|
|
6785
|
-
|
|
6786
|
-
|
|
6787
|
-
country: "string",
|
|
6788
|
-
period: {},
|
|
6789
|
-
},
|
|
6790
|
-
otherAddresses: [
|
|
6791
|
-
{
|
|
6792
|
-
use: CandidApi.AddressUse.Home,
|
|
6793
|
-
line: ["string"],
|
|
6794
|
-
city: "string",
|
|
6795
|
-
state: "string",
|
|
6796
|
-
postalCode: "string",
|
|
6797
|
-
country: "string",
|
|
6798
|
-
period: {},
|
|
6799
|
-
},
|
|
6800
|
-
],
|
|
6801
|
-
primaryTelecom: {
|
|
6802
|
-
value: "string",
|
|
6803
|
-
use: CandidApi.ContactPointUse.Home,
|
|
6804
|
-
period: {
|
|
6805
|
-
start: "2023-01-15",
|
|
6806
|
-
end: "2023-01-15",
|
|
6807
|
-
},
|
|
6808
|
-
},
|
|
6809
|
-
otherTelecoms: [
|
|
6810
|
-
{
|
|
6811
|
-
value: "string",
|
|
6812
|
-
use: CandidApi.ContactPointUse.Home,
|
|
6813
|
-
period: {
|
|
6814
|
-
start: "2023-01-15",
|
|
6815
|
-
end: "2023-01-15",
|
|
6816
|
-
},
|
|
6817
|
-
},
|
|
6818
|
-
],
|
|
6696
|
+
primaryAddress: {},
|
|
6697
|
+
otherAddresses: [{}],
|
|
6698
|
+
primaryTelecom: {},
|
|
6699
|
+
otherTelecoms: [{}],
|
|
6700
|
+
email: "string",
|
|
6701
|
+
electronicCommunicationOptIn: true,
|
|
6819
6702
|
photo: "string",
|
|
6820
6703
|
language: "string",
|
|
6821
6704
|
externalProvenance: {
|
|
@@ -6825,75 +6708,25 @@ await client.preEncounter.patients.v1.patients.create({
|
|
|
6825
6708
|
contacts: [
|
|
6826
6709
|
{
|
|
6827
6710
|
relationship: [CandidApi.Relationship.Self],
|
|
6828
|
-
name: {
|
|
6829
|
-
|
|
6830
|
-
|
|
6831
|
-
|
|
6832
|
-
|
|
6833
|
-
},
|
|
6834
|
-
gender: CandidApi.Gender.Female,
|
|
6835
|
-
telecoms: [
|
|
6836
|
-
{
|
|
6837
|
-
value: "string",
|
|
6838
|
-
use: CandidApi.ContactPointUse.Home,
|
|
6839
|
-
period: {
|
|
6840
|
-
start: "2023-01-15",
|
|
6841
|
-
end: "2023-01-15",
|
|
6842
|
-
},
|
|
6843
|
-
},
|
|
6844
|
-
],
|
|
6845
|
-
addresses: [
|
|
6846
|
-
{
|
|
6847
|
-
use: CandidApi.AddressUse.Home,
|
|
6848
|
-
line: ["string"],
|
|
6849
|
-
city: "string",
|
|
6850
|
-
state: "string",
|
|
6851
|
-
postalCode: "string",
|
|
6852
|
-
country: "string",
|
|
6853
|
-
period: {},
|
|
6854
|
-
},
|
|
6855
|
-
],
|
|
6856
|
-
period: {
|
|
6857
|
-
start: "2023-01-15",
|
|
6858
|
-
end: "2023-01-15",
|
|
6859
|
-
},
|
|
6711
|
+
name: {},
|
|
6712
|
+
gender: CandidApi.Gender.Man,
|
|
6713
|
+
telecoms: [{}],
|
|
6714
|
+
addresses: [{}],
|
|
6715
|
+
period: {},
|
|
6860
6716
|
},
|
|
6861
6717
|
],
|
|
6862
6718
|
generalPractitioners: [
|
|
6863
6719
|
{
|
|
6864
|
-
name: {
|
|
6865
|
-
|
|
6866
|
-
|
|
6867
|
-
|
|
6868
|
-
|
|
6869
|
-
},
|
|
6870
|
-
telecoms: [
|
|
6871
|
-
{
|
|
6872
|
-
value: "string",
|
|
6873
|
-
use: CandidApi.ContactPointUse.Home,
|
|
6874
|
-
period: {
|
|
6875
|
-
start: "2023-01-15",
|
|
6876
|
-
end: "2023-01-15",
|
|
6877
|
-
},
|
|
6878
|
-
},
|
|
6879
|
-
],
|
|
6880
|
-
addresses: [
|
|
6881
|
-
{
|
|
6882
|
-
use: CandidApi.AddressUse.Home,
|
|
6883
|
-
line: ["string"],
|
|
6884
|
-
city: "string",
|
|
6885
|
-
state: "string",
|
|
6886
|
-
postalCode: "string",
|
|
6887
|
-
country: "string",
|
|
6888
|
-
period: {},
|
|
6889
|
-
},
|
|
6890
|
-
],
|
|
6891
|
-
period: {
|
|
6892
|
-
start: "2023-01-15",
|
|
6893
|
-
end: "2023-01-15",
|
|
6894
|
-
},
|
|
6720
|
+
name: {},
|
|
6721
|
+
npi: "string",
|
|
6722
|
+
telecoms: [{}],
|
|
6723
|
+
addresses: [{}],
|
|
6724
|
+
period: {},
|
|
6895
6725
|
},
|
|
6896
6726
|
],
|
|
6727
|
+
filingOrder: {
|
|
6728
|
+
coverages: [CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
6729
|
+
},
|
|
6897
6730
|
});
|
|
6898
6731
|
```
|
|
6899
6732
|
|
|
@@ -6918,7 +6751,7 @@ await client.preEncounter.patients.v1.patients.create({
|
|
|
6918
6751
|
<dl>
|
|
6919
6752
|
<dd>
|
|
6920
6753
|
|
|
6921
|
-
**requestOptions:** `
|
|
6754
|
+
**requestOptions:** `V1.RequestOptions`
|
|
6922
6755
|
|
|
6923
6756
|
</dd>
|
|
6924
6757
|
</dl>
|
|
@@ -6929,7 +6762,7 @@ await client.preEncounter.patients.v1.patients.create({
|
|
|
6929
6762
|
</dl>
|
|
6930
6763
|
</details>
|
|
6931
6764
|
|
|
6932
|
-
<details><summary><code>client.preEncounter.patients.v1
|
|
6765
|
+
<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">get</a>(id) -> core.APIResponse<CandidApi.Patient, CandidApi.preEncounter.patients.v1.get.Error></code></summary>
|
|
6933
6766
|
<dl>
|
|
6934
6767
|
<dd>
|
|
6935
6768
|
|
|
@@ -6957,7 +6790,7 @@ Gets a patient.
|
|
|
6957
6790
|
<dd>
|
|
6958
6791
|
|
|
6959
6792
|
```typescript
|
|
6960
|
-
await client.preEncounter.patients.v1.
|
|
6793
|
+
await client.preEncounter.patients.v1.get(CandidApi.PatientId("string"));
|
|
6961
6794
|
```
|
|
6962
6795
|
|
|
6963
6796
|
</dd>
|
|
@@ -6981,7 +6814,7 @@ await client.preEncounter.patients.v1.patients.get(CandidApi.PatientId("string")
|
|
|
6981
6814
|
<dl>
|
|
6982
6815
|
<dd>
|
|
6983
6816
|
|
|
6984
|
-
**requestOptions:** `
|
|
6817
|
+
**requestOptions:** `V1.RequestOptions`
|
|
6985
6818
|
|
|
6986
6819
|
</dd>
|
|
6987
6820
|
</dl>
|
|
@@ -6992,7 +6825,7 @@ await client.preEncounter.patients.v1.patients.get(CandidApi.PatientId("string")
|
|
|
6992
6825
|
</dl>
|
|
6993
6826
|
</details>
|
|
6994
6827
|
|
|
6995
|
-
<details><summary><code>client.preEncounter.patients.v1
|
|
6828
|
+
<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">getHistory</a>(id) -> core.APIResponse<CandidApi.Patient[], CandidApi.preEncounter.patients.v1.getHistory.Error></code></summary>
|
|
6996
6829
|
<dl>
|
|
6997
6830
|
<dd>
|
|
6998
6831
|
|
|
@@ -7020,7 +6853,7 @@ Gets a patient along with it's full history. The return list is ordered by versi
|
|
|
7020
6853
|
<dd>
|
|
7021
6854
|
|
|
7022
6855
|
```typescript
|
|
7023
|
-
await client.preEncounter.patients.v1.
|
|
6856
|
+
await client.preEncounter.patients.v1.getHistory(CandidApi.PatientId("string"));
|
|
7024
6857
|
```
|
|
7025
6858
|
|
|
7026
6859
|
</dd>
|
|
@@ -7044,7 +6877,7 @@ await client.preEncounter.patients.v1.patients.getHistory(CandidApi.PatientId("s
|
|
|
7044
6877
|
<dl>
|
|
7045
6878
|
<dd>
|
|
7046
6879
|
|
|
7047
|
-
**requestOptions:** `
|
|
6880
|
+
**requestOptions:** `V1.RequestOptions`
|
|
7048
6881
|
|
|
7049
6882
|
</dd>
|
|
7050
6883
|
</dl>
|
|
@@ -7055,7 +6888,7 @@ await client.preEncounter.patients.v1.patients.getHistory(CandidApi.PatientId("s
|
|
|
7055
6888
|
</dl>
|
|
7056
6889
|
</details>
|
|
7057
6890
|
|
|
7058
|
-
<details><summary><code>client.preEncounter.patients.v1
|
|
6891
|
+
<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">update</a>(id, version, { ...params }) -> core.APIResponse<CandidApi.Patient, CandidApi.preEncounter.patients.v1.update.Error></code></summary>
|
|
7059
6892
|
<dl>
|
|
7060
6893
|
<dd>
|
|
7061
6894
|
|
|
@@ -7083,64 +6916,26 @@ Updates a patient. The path must contain the most recent version to prevent race
|
|
|
7083
6916
|
<dd>
|
|
7084
6917
|
|
|
7085
6918
|
```typescript
|
|
7086
|
-
await client.preEncounter.patients.v1.
|
|
7087
|
-
name: {
|
|
7088
|
-
|
|
7089
|
-
|
|
7090
|
-
use: CandidApi.NameUse.Usual,
|
|
7091
|
-
period: {},
|
|
7092
|
-
},
|
|
7093
|
-
otherNames: [
|
|
7094
|
-
{
|
|
7095
|
-
family: "string",
|
|
7096
|
-
given: ["string"],
|
|
7097
|
-
use: CandidApi.NameUse.Usual,
|
|
7098
|
-
period: {},
|
|
7099
|
-
},
|
|
7100
|
-
],
|
|
7101
|
-
gender: CandidApi.Gender.Female,
|
|
6919
|
+
await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "string", {
|
|
6920
|
+
name: {},
|
|
6921
|
+
otherNames: [{}],
|
|
6922
|
+
gender: CandidApi.Gender.Man,
|
|
7102
6923
|
birthDate: "2023-01-15",
|
|
6924
|
+
socialSecurityNumber: "string",
|
|
6925
|
+
biologicalSex: CandidApi.Sex.Female,
|
|
6926
|
+
sexualOrientation: CandidApi.SexualOrientation.Heterosexual,
|
|
6927
|
+
race: CandidApi.Race.AmericanIndianOrAlaskaNative,
|
|
6928
|
+
ethnicity: CandidApi.Ethnicity.HispanicOrLatino,
|
|
6929
|
+
disabilityStatus: CandidApi.DisabilityStatus.Disabled,
|
|
7103
6930
|
maritalStatus: CandidApi.MaritalStatus.Annulled,
|
|
7104
6931
|
deceased: new Date("2024-01-15T09:30:00.000Z"),
|
|
7105
6932
|
multipleBirth: 1,
|
|
7106
|
-
primaryAddress: {
|
|
7107
|
-
|
|
7108
|
-
|
|
7109
|
-
|
|
7110
|
-
|
|
7111
|
-
|
|
7112
|
-
country: "string",
|
|
7113
|
-
period: {},
|
|
7114
|
-
},
|
|
7115
|
-
otherAddresses: [
|
|
7116
|
-
{
|
|
7117
|
-
use: CandidApi.AddressUse.Home,
|
|
7118
|
-
line: ["string"],
|
|
7119
|
-
city: "string",
|
|
7120
|
-
state: "string",
|
|
7121
|
-
postalCode: "string",
|
|
7122
|
-
country: "string",
|
|
7123
|
-
period: {},
|
|
7124
|
-
},
|
|
7125
|
-
],
|
|
7126
|
-
primaryTelecom: {
|
|
7127
|
-
value: "string",
|
|
7128
|
-
use: CandidApi.ContactPointUse.Home,
|
|
7129
|
-
period: {
|
|
7130
|
-
start: "2023-01-15",
|
|
7131
|
-
end: "2023-01-15",
|
|
7132
|
-
},
|
|
7133
|
-
},
|
|
7134
|
-
otherTelecoms: [
|
|
7135
|
-
{
|
|
7136
|
-
value: "string",
|
|
7137
|
-
use: CandidApi.ContactPointUse.Home,
|
|
7138
|
-
period: {
|
|
7139
|
-
start: "2023-01-15",
|
|
7140
|
-
end: "2023-01-15",
|
|
7141
|
-
},
|
|
7142
|
-
},
|
|
7143
|
-
],
|
|
6933
|
+
primaryAddress: {},
|
|
6934
|
+
otherAddresses: [{}],
|
|
6935
|
+
primaryTelecom: {},
|
|
6936
|
+
otherTelecoms: [{}],
|
|
6937
|
+
email: "string",
|
|
6938
|
+
electronicCommunicationOptIn: true,
|
|
7144
6939
|
photo: "string",
|
|
7145
6940
|
language: "string",
|
|
7146
6941
|
externalProvenance: {
|
|
@@ -7150,75 +6945,25 @@ await client.preEncounter.patients.v1.patients.update(CandidApi.PatientId("strin
|
|
|
7150
6945
|
contacts: [
|
|
7151
6946
|
{
|
|
7152
6947
|
relationship: [CandidApi.Relationship.Self],
|
|
7153
|
-
name: {
|
|
7154
|
-
|
|
7155
|
-
|
|
7156
|
-
|
|
7157
|
-
|
|
7158
|
-
},
|
|
7159
|
-
gender: CandidApi.Gender.Female,
|
|
7160
|
-
telecoms: [
|
|
7161
|
-
{
|
|
7162
|
-
value: "string",
|
|
7163
|
-
use: CandidApi.ContactPointUse.Home,
|
|
7164
|
-
period: {
|
|
7165
|
-
start: "2023-01-15",
|
|
7166
|
-
end: "2023-01-15",
|
|
7167
|
-
},
|
|
7168
|
-
},
|
|
7169
|
-
],
|
|
7170
|
-
addresses: [
|
|
7171
|
-
{
|
|
7172
|
-
use: CandidApi.AddressUse.Home,
|
|
7173
|
-
line: ["string"],
|
|
7174
|
-
city: "string",
|
|
7175
|
-
state: "string",
|
|
7176
|
-
postalCode: "string",
|
|
7177
|
-
country: "string",
|
|
7178
|
-
period: {},
|
|
7179
|
-
},
|
|
7180
|
-
],
|
|
7181
|
-
period: {
|
|
7182
|
-
start: "2023-01-15",
|
|
7183
|
-
end: "2023-01-15",
|
|
7184
|
-
},
|
|
6948
|
+
name: {},
|
|
6949
|
+
gender: CandidApi.Gender.Man,
|
|
6950
|
+
telecoms: [{}],
|
|
6951
|
+
addresses: [{}],
|
|
6952
|
+
period: {},
|
|
7185
6953
|
},
|
|
7186
6954
|
],
|
|
7187
6955
|
generalPractitioners: [
|
|
7188
6956
|
{
|
|
7189
|
-
name: {
|
|
7190
|
-
|
|
7191
|
-
|
|
7192
|
-
|
|
7193
|
-
|
|
7194
|
-
},
|
|
7195
|
-
telecoms: [
|
|
7196
|
-
{
|
|
7197
|
-
value: "string",
|
|
7198
|
-
use: CandidApi.ContactPointUse.Home,
|
|
7199
|
-
period: {
|
|
7200
|
-
start: "2023-01-15",
|
|
7201
|
-
end: "2023-01-15",
|
|
7202
|
-
},
|
|
7203
|
-
},
|
|
7204
|
-
],
|
|
7205
|
-
addresses: [
|
|
7206
|
-
{
|
|
7207
|
-
use: CandidApi.AddressUse.Home,
|
|
7208
|
-
line: ["string"],
|
|
7209
|
-
city: "string",
|
|
7210
|
-
state: "string",
|
|
7211
|
-
postalCode: "string",
|
|
7212
|
-
country: "string",
|
|
7213
|
-
period: {},
|
|
7214
|
-
},
|
|
7215
|
-
],
|
|
7216
|
-
period: {
|
|
7217
|
-
start: "2023-01-15",
|
|
7218
|
-
end: "2023-01-15",
|
|
7219
|
-
},
|
|
6957
|
+
name: {},
|
|
6958
|
+
npi: "string",
|
|
6959
|
+
telecoms: [{}],
|
|
6960
|
+
addresses: [{}],
|
|
6961
|
+
period: {},
|
|
7220
6962
|
},
|
|
7221
6963
|
],
|
|
6964
|
+
filingOrder: {
|
|
6965
|
+
coverages: [CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
6966
|
+
},
|
|
7222
6967
|
});
|
|
7223
6968
|
```
|
|
7224
6969
|
|
|
@@ -7243,7 +6988,7 @@ await client.preEncounter.patients.v1.patients.update(CandidApi.PatientId("strin
|
|
|
7243
6988
|
<dl>
|
|
7244
6989
|
<dd>
|
|
7245
6990
|
|
|
7246
|
-
**version:** `
|
|
6991
|
+
**version:** `string`
|
|
7247
6992
|
|
|
7248
6993
|
</dd>
|
|
7249
6994
|
</dl>
|
|
@@ -7259,7 +7004,7 @@ await client.preEncounter.patients.v1.patients.update(CandidApi.PatientId("strin
|
|
|
7259
7004
|
<dl>
|
|
7260
7005
|
<dd>
|
|
7261
7006
|
|
|
7262
|
-
**requestOptions:** `
|
|
7007
|
+
**requestOptions:** `V1.RequestOptions`
|
|
7263
7008
|
|
|
7264
7009
|
</dd>
|
|
7265
7010
|
</dl>
|
|
@@ -7270,7 +7015,7 @@ await client.preEncounter.patients.v1.patients.update(CandidApi.PatientId("strin
|
|
|
7270
7015
|
</dl>
|
|
7271
7016
|
</details>
|
|
7272
7017
|
|
|
7273
|
-
<details><summary><code>client.preEncounter.patients.v1
|
|
7018
|
+
<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">deactivate</a>(id, version) -> core.APIResponse<void, CandidApi.preEncounter.patients.v1.deactivate.Error></code></summary>
|
|
7274
7019
|
<dl>
|
|
7275
7020
|
<dd>
|
|
7276
7021
|
|
|
@@ -7298,7 +7043,7 @@ Sets a patient as deactivated. The path must contain the most recent version to
|
|
|
7298
7043
|
<dd>
|
|
7299
7044
|
|
|
7300
7045
|
```typescript
|
|
7301
|
-
await client.preEncounter.patients.v1.
|
|
7046
|
+
await client.preEncounter.patients.v1.deactivate(CandidApi.PatientId("string"), "string");
|
|
7302
7047
|
```
|
|
7303
7048
|
|
|
7304
7049
|
</dd>
|
|
@@ -7322,7 +7067,7 @@ await client.preEncounter.patients.v1.patients.deactivate(CandidApi.PatientId("s
|
|
|
7322
7067
|
<dl>
|
|
7323
7068
|
<dd>
|
|
7324
7069
|
|
|
7325
|
-
**version:** `
|
|
7070
|
+
**version:** `string`
|
|
7326
7071
|
|
|
7327
7072
|
</dd>
|
|
7328
7073
|
</dl>
|
|
@@ -7330,7 +7075,7 @@ await client.preEncounter.patients.v1.patients.deactivate(CandidApi.PatientId("s
|
|
|
7330
7075
|
<dl>
|
|
7331
7076
|
<dd>
|
|
7332
7077
|
|
|
7333
|
-
**requestOptions:** `
|
|
7078
|
+
**requestOptions:** `V1.RequestOptions`
|
|
7334
7079
|
|
|
7335
7080
|
</dd>
|
|
7336
7081
|
</dl>
|
|
@@ -7341,7 +7086,7 @@ await client.preEncounter.patients.v1.patients.deactivate(CandidApi.PatientId("s
|
|
|
7341
7086
|
</dl>
|
|
7342
7087
|
</details>
|
|
7343
7088
|
|
|
7344
|
-
<details><summary><code>client.preEncounter.patients.v1
|
|
7089
|
+
<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">search</a>({ ...params }) -> core.APIResponse<CandidApi.Patient[], CandidApi.preEncounter.patients.v1.search.Error></code></summary>
|
|
7345
7090
|
<dl>
|
|
7346
7091
|
<dd>
|
|
7347
7092
|
|
|
@@ -7369,7 +7114,7 @@ Searches for patients that match the query parameters.
|
|
|
7369
7114
|
<dd>
|
|
7370
7115
|
|
|
7371
7116
|
```typescript
|
|
7372
|
-
await client.preEncounter.patients.v1.
|
|
7117
|
+
await client.preEncounter.patients.v1.search({
|
|
7373
7118
|
nameContains: "string",
|
|
7374
7119
|
});
|
|
7375
7120
|
```
|
|
@@ -7395,7 +7140,7 @@ await client.preEncounter.patients.v1.patients.search({
|
|
|
7395
7140
|
<dl>
|
|
7396
7141
|
<dd>
|
|
7397
7142
|
|
|
7398
|
-
**requestOptions:** `
|
|
7143
|
+
**requestOptions:** `V1.RequestOptions`
|
|
7399
7144
|
|
|
7400
7145
|
</dd>
|
|
7401
7146
|
</dl>
|
|
@@ -7406,7 +7151,7 @@ await client.preEncounter.patients.v1.patients.search({
|
|
|
7406
7151
|
</dl>
|
|
7407
7152
|
</details>
|
|
7408
7153
|
|
|
7409
|
-
<details><summary><code>client.preEncounter.patients.v1
|
|
7154
|
+
<details><summary><code>client.preEncounter.patients.v1.<a href="/src/api/resources/preEncounter/resources/patients/resources/v1/client/Client.ts">scan</a>({ ...params }) -> core.APIResponse<CandidApi.Patient[], CandidApi.preEncounter.patients.v1.scan.Error></code></summary>
|
|
7410
7155
|
<dl>
|
|
7411
7156
|
<dd>
|
|
7412
7157
|
|
|
@@ -7434,7 +7179,7 @@ Scans up to 100 patient updates. The since query parameter is inclusive, and the
|
|
|
7434
7179
|
<dd>
|
|
7435
7180
|
|
|
7436
7181
|
```typescript
|
|
7437
|
-
await client.preEncounter.patients.v1.
|
|
7182
|
+
await client.preEncounter.patients.v1.scan({
|
|
7438
7183
|
since: new Date("2024-01-15T09:30:00.000Z"),
|
|
7439
7184
|
});
|
|
7440
7185
|
```
|
|
@@ -7460,7 +7205,76 @@ await client.preEncounter.patients.v1.patients.scan({
|
|
|
7460
7205
|
<dl>
|
|
7461
7206
|
<dd>
|
|
7462
7207
|
|
|
7463
|
-
**requestOptions:** `
|
|
7208
|
+
**requestOptions:** `V1.RequestOptions`
|
|
7209
|
+
|
|
7210
|
+
</dd>
|
|
7211
|
+
</dl>
|
|
7212
|
+
</dd>
|
|
7213
|
+
</dl>
|
|
7214
|
+
|
|
7215
|
+
</dd>
|
|
7216
|
+
</dl>
|
|
7217
|
+
</details>
|
|
7218
|
+
|
|
7219
|
+
## ServiceFacility
|
|
7220
|
+
|
|
7221
|
+
<details><summary><code>client.serviceFacility.<a href="/src/api/resources/serviceFacility/client/Client.ts">update</a>(serviceFacilityId, { ...params }) -> core.APIResponse<CandidApi.EncounterServiceFacility, CandidApi.serviceFacility.update.Error></code></summary>
|
|
7222
|
+
<dl>
|
|
7223
|
+
<dd>
|
|
7224
|
+
|
|
7225
|
+
#### 🔌 Usage
|
|
7226
|
+
|
|
7227
|
+
<dl>
|
|
7228
|
+
<dd>
|
|
7229
|
+
|
|
7230
|
+
<dl>
|
|
7231
|
+
<dd>
|
|
7232
|
+
|
|
7233
|
+
```typescript
|
|
7234
|
+
await client.serviceFacility.update(CandidApi.ServiceFacilityId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), {
|
|
7235
|
+
organizationName: "string",
|
|
7236
|
+
npi: "string",
|
|
7237
|
+
address: {
|
|
7238
|
+
address1: "123 Main St",
|
|
7239
|
+
address2: "Apt 1",
|
|
7240
|
+
city: "New York",
|
|
7241
|
+
state: CandidApi.State.Ny,
|
|
7242
|
+
zipCode: "10001",
|
|
7243
|
+
zipPlusFourCode: "1234",
|
|
7244
|
+
},
|
|
7245
|
+
});
|
|
7246
|
+
```
|
|
7247
|
+
|
|
7248
|
+
</dd>
|
|
7249
|
+
</dl>
|
|
7250
|
+
</dd>
|
|
7251
|
+
</dl>
|
|
7252
|
+
|
|
7253
|
+
#### ⚙️ Parameters
|
|
7254
|
+
|
|
7255
|
+
<dl>
|
|
7256
|
+
<dd>
|
|
7257
|
+
|
|
7258
|
+
<dl>
|
|
7259
|
+
<dd>
|
|
7260
|
+
|
|
7261
|
+
**serviceFacilityId:** `CandidApi.ServiceFacilityId`
|
|
7262
|
+
|
|
7263
|
+
</dd>
|
|
7264
|
+
</dl>
|
|
7265
|
+
|
|
7266
|
+
<dl>
|
|
7267
|
+
<dd>
|
|
7268
|
+
|
|
7269
|
+
**request:** `CandidApi.EncounterServiceFacilityUpdate`
|
|
7270
|
+
|
|
7271
|
+
</dd>
|
|
7272
|
+
</dl>
|
|
7273
|
+
|
|
7274
|
+
<dl>
|
|
7275
|
+
<dd>
|
|
7276
|
+
|
|
7277
|
+
**requestOptions:** `ServiceFacility.RequestOptions`
|
|
7464
7278
|
|
|
7465
7279
|
</dd>
|
|
7466
7280
|
</dl>
|