candidhealth 0.30.0 → 0.32.0
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 -0
- package/Client.js +37 -32
- 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/contracts/resources/v2/client/Client.d.ts +8 -1
- package/api/resources/contracts/resources/v2/client/Client.js +13 -6
- package/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +8 -1
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounters/resources/v4/client/Client.d.ts +32 -50
- package/api/resources/encounters/resources/v4/client/Client.js +36 -54
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +16 -50
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +22 -2
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +7 -0
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +7 -0
- package/api/resources/encounters/resources/v4/types/VitalsUpdate.d.ts +24 -0
- package/api/resources/encounters/resources/v4/types/VitalsUpdate.js +5 -0
- package/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/api/resources/encounters/resources/v4/types/index.js +1 -0
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +22 -2
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +24 -4
- 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.d.ts +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.js +11 -11
- package/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +1 -1
- package/api/resources/feeSchedules/resources/v3/types/RateEntry.d.ts +1 -1
- package/api/resources/financials/types/AllocationTargetCreate.d.ts +3 -4
- package/api/resources/financials/types/AppointmentAllocationTarget.d.ts +1 -0
- package/api/resources/financials/types/AppointmentByIdAndPatientExternalId.d.ts +8 -0
- package/api/resources/financials/types/AppointmentByIdAndPatientExternalId.js +5 -0
- package/api/resources/financials/types/index.d.ts +1 -0
- package/api/resources/financials/types/index.js +1 -0
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/importInvoice/resources/v1/client/Client.d.ts +14 -2
- package/api/resources/importInvoice/resources/v1/client/Client.js +34 -7
- package/api/resources/importInvoice/resources/v1/client/importInvoice.d.ts +13 -1
- package/api/resources/importInvoice/resources/v1/client/importInvoice.js +22 -0
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +2 -1
- package/api/resources/individual/types/Patient.d.ts +8 -0
- package/api/resources/individual/types/PatientCreate.d.ts +1 -0
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +27 -2
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +30 -5
- package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +7 -1
- package/api/resources/insurancePayments/resources/v1/client/Client.js +12 -6
- package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +7 -1
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +12 -6
- package/api/resources/medicationDispense/client/Client.d.ts +26 -0
- package/api/resources/medicationDispense/client/Client.js +17 -0
- package/api/resources/medicationDispense/client/index.d.ts +1 -0
- package/api/resources/medicationDispense/client/index.js +2 -0
- package/api/resources/medicationDispense/index.d.ts +2 -0
- package/api/resources/medicationDispense/index.js +18 -0
- package/api/resources/medicationDispense/resources/index.d.ts +1 -0
- package/api/resources/medicationDispense/resources/index.js +27 -0
- package/api/resources/medicationDispense/resources/v1/client/Client.d.ts +51 -0
- package/api/resources/medicationDispense/resources/v1/client/Client.js +145 -0
- package/api/resources/medicationDispense/resources/v1/client/create.d.ts +52 -0
- package/api/resources/medicationDispense/resources/v1/client/create.js +102 -0
- package/api/resources/medicationDispense/resources/v1/client/index.d.ts +1 -0
- package/api/resources/medicationDispense/resources/v1/client/index.js +27 -0
- package/api/resources/medicationDispense/resources/v1/index.d.ts +2 -0
- package/api/resources/medicationDispense/resources/v1/index.js +18 -0
- package/api/resources/medicationDispense/resources/v1/types/MedicationDispenseCreate.d.ts +15 -0
- package/api/resources/medicationDispense/resources/v1/types/MedicationDispenseCreate.js +5 -0
- package/api/resources/medicationDispense/resources/v1/types/index.d.ts +1 -0
- package/api/resources/medicationDispense/resources/v1/types/index.js +17 -0
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +7 -1
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +12 -6
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +7 -1
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +12 -6
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +10 -0
- package/api/resources/organizationProviders/resources/v3/client/Client.d.ts +23 -2
- package/api/resources/organizationProviders/resources/v3/client/Client.js +27 -6
- 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/appointments/resources/v1/client/Client.d.ts +144 -4
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +150 -10
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +54 -8
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +62 -16
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +456 -33
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +465 -42
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.d.ts +15 -2
- package/api/resources/serviceLines/resources/v2/client/Client.js +18 -5
- package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -3
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +0 -17
- package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -0
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.d.ts +7 -1
- package/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.js +12 -6
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.d.ts +7 -1
- package/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.js +12 -6
- package/api/resources/thirdPartyPayers/resources/v1/client/Client.js +6 -6
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +37 -32
- 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/contracts/resources/v2/client/Client.d.ts +8 -1
- package/dist/api/resources/contracts/resources/v2/client/Client.js +13 -6
- package/dist/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +8 -1
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +32 -50
- package/dist/api/resources/encounters/resources/v4/client/Client.js +36 -54
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +16 -50
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +22 -2
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +7 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +7 -0
- package/dist/api/resources/encounters/resources/v4/types/VitalsUpdate.d.ts +24 -0
- package/dist/api/resources/encounters/resources/v4/types/VitalsUpdate.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/dist/api/resources/encounters/resources/v4/types/index.js +1 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +22 -2
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +24 -4
- 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.d.ts +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +11 -11
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/types/RateEntry.d.ts +1 -1
- package/dist/api/resources/financials/types/AllocationTargetCreate.d.ts +3 -4
- package/dist/api/resources/financials/types/AppointmentAllocationTarget.d.ts +1 -0
- package/dist/api/resources/financials/types/AppointmentByIdAndPatientExternalId.d.ts +8 -0
- package/dist/api/resources/financials/types/AppointmentByIdAndPatientExternalId.js +5 -0
- package/dist/api/resources/financials/types/index.d.ts +1 -0
- package/dist/api/resources/financials/types/index.js +1 -0
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/importInvoice/resources/v1/client/Client.d.ts +14 -2
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +34 -7
- package/dist/api/resources/importInvoice/resources/v1/client/importInvoice.d.ts +13 -1
- package/dist/api/resources/importInvoice/resources/v1/client/importInvoice.js +22 -0
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +2 -1
- package/dist/api/resources/individual/types/Patient.d.ts +8 -0
- package/dist/api/resources/individual/types/PatientCreate.d.ts +1 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +27 -2
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +30 -5
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +7 -1
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +12 -6
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +7 -1
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +12 -6
- package/dist/api/resources/medicationDispense/client/Client.d.ts +26 -0
- package/dist/api/resources/medicationDispense/client/Client.js +17 -0
- package/dist/api/resources/medicationDispense/client/index.d.ts +1 -0
- package/dist/api/resources/medicationDispense/client/index.js +2 -0
- package/dist/api/resources/medicationDispense/index.d.ts +2 -0
- package/dist/api/resources/medicationDispense/index.js +18 -0
- package/dist/api/resources/medicationDispense/resources/index.d.ts +1 -0
- package/dist/api/resources/medicationDispense/resources/index.js +27 -0
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.d.ts +51 -0
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +145 -0
- package/dist/api/resources/medicationDispense/resources/v1/client/create.d.ts +52 -0
- package/dist/api/resources/medicationDispense/resources/v1/client/create.js +102 -0
- package/dist/api/resources/medicationDispense/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/medicationDispense/resources/v1/client/index.js +27 -0
- package/dist/api/resources/medicationDispense/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/medicationDispense/resources/v1/index.js +18 -0
- package/dist/api/resources/medicationDispense/resources/v1/types/MedicationDispenseCreate.d.ts +15 -0
- package/dist/api/resources/medicationDispense/resources/v1/types/MedicationDispenseCreate.js +5 -0
- package/dist/api/resources/medicationDispense/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/medicationDispense/resources/v1/types/index.js +17 -0
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +7 -1
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +12 -6
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +7 -1
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +12 -6
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +10 -0
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.d.ts +23 -2
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +27 -6
- 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/appointments/resources/v1/client/Client.d.ts +144 -4
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +150 -10
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +54 -8
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +62 -16
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +456 -33
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +465 -42
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +15 -2
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +18 -5
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -3
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +0 -17
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -0
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.d.ts +7 -1
- package/dist/api/resources/thirdPartyPayerPayments/resources/v1/client/Client.js +12 -6
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.d.ts +7 -1
- package/dist/api/resources/thirdPartyPayerRefunds/resources/v1/client/Client.js +12 -6
- package/dist/api/resources/thirdPartyPayers/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/VitalsUpdate.d.ts +18 -0
- package/dist/serialization/resources/encounters/resources/v4/types/VitalsUpdate.js +39 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.js +1 -0
- package/dist/serialization/resources/financials/types/AllocationTargetCreate.d.ts +4 -5
- package/dist/serialization/resources/financials/types/AllocationTargetCreate.js +2 -4
- package/dist/serialization/resources/financials/types/AppointmentAllocationTarget.d.ts +2 -0
- package/dist/serialization/resources/financials/types/AppointmentAllocationTarget.js +2 -0
- package/dist/serialization/resources/financials/types/AppointmentByIdAndPatientExternalId.d.ts +15 -0
- package/dist/serialization/resources/financials/types/AppointmentByIdAndPatientExternalId.js +36 -0
- package/dist/serialization/resources/financials/types/index.d.ts +1 -0
- package/dist/serialization/resources/financials/types/index.js +1 -0
- package/dist/serialization/resources/importInvoice/resources/v1/client/importInvoice.d.ts +20 -0
- package/dist/serialization/resources/importInvoice/resources/v1/client/importInvoice.js +67 -0
- package/dist/serialization/resources/importInvoice/resources/v1/client/index.d.ts +1 -0
- package/dist/serialization/resources/importInvoice/resources/v1/client/index.js +2 -1
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +2 -1
- package/dist/serialization/resources/individual/types/Patient.d.ts +2 -0
- package/dist/serialization/resources/individual/types/Patient.js +2 -0
- package/dist/serialization/resources/individual/types/PatientCreate.d.ts +2 -0
- package/dist/serialization/resources/individual/types/PatientCreate.js +2 -0
- package/dist/serialization/resources/medicationDispense/index.d.ts +1 -0
- package/dist/serialization/resources/medicationDispense/index.js +17 -0
- package/dist/serialization/resources/medicationDispense/resources/index.d.ts +1 -0
- package/dist/serialization/resources/medicationDispense/resources/index.js +27 -0
- package/dist/serialization/resources/medicationDispense/resources/v1/client/create.d.ts +35 -0
- package/dist/serialization/resources/medicationDispense/resources/v1/client/create.js +85 -0
- package/dist/serialization/resources/medicationDispense/resources/v1/client/index.d.ts +1 -0
- package/dist/serialization/resources/medicationDispense/resources/v1/client/index.js +27 -0
- package/dist/serialization/resources/medicationDispense/resources/v1/index.d.ts +2 -0
- package/dist/serialization/resources/medicationDispense/resources/v1/index.js +18 -0
- package/dist/serialization/resources/medicationDispense/resources/v1/types/MedicationDispenseCreate.d.ts +24 -0
- package/dist/serialization/resources/medicationDispense/resources/v1/types/MedicationDispenseCreate.js +45 -0
- package/dist/serialization/resources/medicationDispense/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/medicationDispense/resources/v1/types/index.js +17 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -3
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +2 -3
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +0 -6
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +0 -6
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +2 -0
- package/package.json +1 -1
- package/reference.md +994 -111
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +2 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +2 -0
- package/serialization/resources/encounters/resources/v4/types/VitalsUpdate.d.ts +18 -0
- package/serialization/resources/encounters/resources/v4/types/VitalsUpdate.js +39 -0
- package/serialization/resources/encounters/resources/v4/types/index.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/types/index.js +1 -0
- package/serialization/resources/financials/types/AllocationTargetCreate.d.ts +4 -5
- package/serialization/resources/financials/types/AllocationTargetCreate.js +2 -4
- package/serialization/resources/financials/types/AppointmentAllocationTarget.d.ts +2 -0
- package/serialization/resources/financials/types/AppointmentAllocationTarget.js +2 -0
- package/serialization/resources/financials/types/AppointmentByIdAndPatientExternalId.d.ts +15 -0
- package/serialization/resources/financials/types/AppointmentByIdAndPatientExternalId.js +36 -0
- package/serialization/resources/financials/types/index.d.ts +1 -0
- package/serialization/resources/financials/types/index.js +1 -0
- package/serialization/resources/importInvoice/resources/v1/client/importInvoice.d.ts +20 -0
- package/serialization/resources/importInvoice/resources/v1/client/importInvoice.js +67 -0
- package/serialization/resources/importInvoice/resources/v1/client/index.d.ts +1 -0
- package/serialization/resources/importInvoice/resources/v1/client/index.js +2 -1
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +2 -1
- package/serialization/resources/individual/types/Patient.d.ts +2 -0
- package/serialization/resources/individual/types/Patient.js +2 -0
- package/serialization/resources/individual/types/PatientCreate.d.ts +2 -0
- package/serialization/resources/individual/types/PatientCreate.js +2 -0
- package/serialization/resources/medicationDispense/index.d.ts +1 -0
- package/serialization/resources/medicationDispense/index.js +17 -0
- package/serialization/resources/medicationDispense/resources/index.d.ts +1 -0
- package/serialization/resources/medicationDispense/resources/index.js +27 -0
- package/serialization/resources/medicationDispense/resources/v1/client/create.d.ts +35 -0
- package/serialization/resources/medicationDispense/resources/v1/client/create.js +85 -0
- package/serialization/resources/medicationDispense/resources/v1/client/index.d.ts +1 -0
- package/serialization/resources/medicationDispense/resources/v1/client/index.js +27 -0
- package/serialization/resources/medicationDispense/resources/v1/index.d.ts +2 -0
- package/serialization/resources/medicationDispense/resources/v1/index.js +18 -0
- package/serialization/resources/medicationDispense/resources/v1/types/MedicationDispenseCreate.d.ts +24 -0
- package/serialization/resources/medicationDispense/resources/v1/types/MedicationDispenseCreate.js +45 -0
- package/serialization/resources/medicationDispense/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/medicationDispense/resources/v1/types/index.js +17 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +2 -3
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +2 -3
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +0 -6
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +0 -6
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +2 -0
package/reference.md
CHANGED
|
@@ -280,7 +280,14 @@ await client.contracts.v2.create({
|
|
|
280
280
|
type: "states",
|
|
281
281
|
},
|
|
282
282
|
contractStatus: CandidApi.ContractStatus.Pending,
|
|
283
|
-
authorizedSignatory: {
|
|
283
|
+
authorizedSignatory: {
|
|
284
|
+
firstName: "string",
|
|
285
|
+
lastName: "string",
|
|
286
|
+
title: "string",
|
|
287
|
+
email: "string",
|
|
288
|
+
phone: "string",
|
|
289
|
+
fax: "string",
|
|
290
|
+
},
|
|
284
291
|
commercialInsuranceTypes: {
|
|
285
292
|
type: "allApply",
|
|
286
293
|
},
|
|
@@ -1109,6 +1116,7 @@ await client.encounters.v4.create({
|
|
|
1109
1116
|
],
|
|
1110
1117
|
phoneConsent: true,
|
|
1111
1118
|
email: CandidApi.Email("johndoe@joincandidhealth.com"),
|
|
1119
|
+
nonInsurancePayers: [CandidApi.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
1112
1120
|
emailConsent: true,
|
|
1113
1121
|
externalId: "string",
|
|
1114
1122
|
dateOfBirth: "2023-01-15",
|
|
@@ -1281,7 +1289,14 @@ await client.encounters.v4.create({
|
|
|
1281
1289
|
clinicalNotes: [
|
|
1282
1290
|
{
|
|
1283
1291
|
category: CandidApi.NoteCategory.Clinical,
|
|
1284
|
-
notes: [
|
|
1292
|
+
notes: [
|
|
1293
|
+
{
|
|
1294
|
+
text: "string",
|
|
1295
|
+
authorName: "string",
|
|
1296
|
+
authorNpi: CandidApi.Npi("string"),
|
|
1297
|
+
timestamp: new Date("2024-01-15T09:30:00.000Z"),
|
|
1298
|
+
},
|
|
1299
|
+
],
|
|
1285
1300
|
},
|
|
1286
1301
|
],
|
|
1287
1302
|
billingNotes: [
|
|
@@ -1321,57 +1336,19 @@ await client.encounters.v4.create({
|
|
|
1321
1336
|
units: CandidApi.ServiceLineUnits.Mj,
|
|
1322
1337
|
chargeAmountCents: 1,
|
|
1323
1338
|
diagnosisPointers: [1],
|
|
1324
|
-
drugIdentification: {
|
|
1339
|
+
drugIdentification: {
|
|
1340
|
+
serviceIdQualifier: CandidApi.ServiceIdQualifier.EanUcc13,
|
|
1341
|
+
nationalDrugCode: "string",
|
|
1342
|
+
nationalDrugUnitCount: "string",
|
|
1343
|
+
measurementUnitCode: CandidApi.MeasurementUnitCode.Milliliters,
|
|
1344
|
+
linkSequenceNumber: "string",
|
|
1345
|
+
pharmacyPrescriptionNumber: "string",
|
|
1346
|
+
conversionFormula: "string",
|
|
1347
|
+
},
|
|
1325
1348
|
placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
1326
1349
|
description: "string",
|
|
1327
1350
|
dateOfService: "2023-01-15",
|
|
1328
1351
|
endDateOfService: "2023-01-15",
|
|
1329
|
-
referringProvider: {
|
|
1330
|
-
npi: "string",
|
|
1331
|
-
taxonomyCode: "string",
|
|
1332
|
-
address: {
|
|
1333
|
-
address1: "123 Main St",
|
|
1334
|
-
address2: "Apt 1",
|
|
1335
|
-
city: "New York",
|
|
1336
|
-
state: CandidApi.State.Ny,
|
|
1337
|
-
zipCode: "10001",
|
|
1338
|
-
zipPlusFourCode: "1234",
|
|
1339
|
-
},
|
|
1340
|
-
firstName: "string",
|
|
1341
|
-
lastName: "string",
|
|
1342
|
-
organizationName: "string",
|
|
1343
|
-
},
|
|
1344
|
-
initialReferringProvider: {
|
|
1345
|
-
npi: "string",
|
|
1346
|
-
taxonomyCode: "string",
|
|
1347
|
-
address: {
|
|
1348
|
-
address1: "123 Main St",
|
|
1349
|
-
address2: "Apt 1",
|
|
1350
|
-
city: "New York",
|
|
1351
|
-
state: CandidApi.State.Ny,
|
|
1352
|
-
zipCode: "10001",
|
|
1353
|
-
zipPlusFourCode: "1234",
|
|
1354
|
-
},
|
|
1355
|
-
qualifier: CandidApi.QualifierCode.Dq,
|
|
1356
|
-
firstName: "string",
|
|
1357
|
-
lastName: "string",
|
|
1358
|
-
organizationName: "string",
|
|
1359
|
-
},
|
|
1360
|
-
supervisingProvider: {
|
|
1361
|
-
npi: "string",
|
|
1362
|
-
taxonomyCode: "string",
|
|
1363
|
-
address: {
|
|
1364
|
-
address1: "123 Main St",
|
|
1365
|
-
address2: "Apt 1",
|
|
1366
|
-
city: "New York",
|
|
1367
|
-
state: CandidApi.State.Ny,
|
|
1368
|
-
zipCode: "10001",
|
|
1369
|
-
zipPlusFourCode: "1234",
|
|
1370
|
-
},
|
|
1371
|
-
firstName: "string",
|
|
1372
|
-
lastName: "string",
|
|
1373
|
-
organizationName: "string",
|
|
1374
|
-
},
|
|
1375
1352
|
orderingProvider: {
|
|
1376
1353
|
npi: "string",
|
|
1377
1354
|
taxonomyCode: "string",
|
|
@@ -1565,7 +1542,14 @@ await client.encounters.v4.update(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0
|
|
|
1565
1542
|
clinicalNotes: [
|
|
1566
1543
|
{
|
|
1567
1544
|
category: CandidApi.NoteCategory.Clinical,
|
|
1568
|
-
notes: [
|
|
1545
|
+
notes: [
|
|
1546
|
+
{
|
|
1547
|
+
text: "string",
|
|
1548
|
+
authorName: "string",
|
|
1549
|
+
authorNpi: CandidApi.Npi("string"),
|
|
1550
|
+
timestamp: new Date("2024-01-15T09:30:00.000Z"),
|
|
1551
|
+
},
|
|
1552
|
+
],
|
|
1569
1553
|
},
|
|
1570
1554
|
],
|
|
1571
1555
|
payToAddress: {
|
|
@@ -1662,6 +1646,15 @@ await client.encounters.v4.update(CandidApi.EncounterId("d5e9c84f-c2b2-4bf4-b4b0
|
|
|
1662
1646
|
},
|
|
1663
1647
|
},
|
|
1664
1648
|
],
|
|
1649
|
+
vitals: {
|
|
1650
|
+
heightIn: 70,
|
|
1651
|
+
weightLbs: 165,
|
|
1652
|
+
bloodPressureSystolicMmhg: 115,
|
|
1653
|
+
bloodPressureDiastolicMmhg: 85,
|
|
1654
|
+
bodyTemperatureF: 98,
|
|
1655
|
+
hemoglobinGdl: 15.1,
|
|
1656
|
+
hematocritPct: 51.2,
|
|
1657
|
+
},
|
|
1665
1658
|
});
|
|
1666
1659
|
```
|
|
1667
1660
|
|
|
@@ -1818,7 +1811,17 @@ await client.expectedNetworkStatus.v2.computeForRenderingProvider(
|
|
|
1818
1811
|
{
|
|
1819
1812
|
serviceType: CandidApi.ServiceType.NewPatientVideoAppt,
|
|
1820
1813
|
placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
1821
|
-
subscriberInformation: {
|
|
1814
|
+
subscriberInformation: {
|
|
1815
|
+
payerUuid: CandidApi.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
1816
|
+
memberId: "string",
|
|
1817
|
+
insuranceType: {
|
|
1818
|
+
lineOfBusiness: CandidApi.LineOfBusiness.Medicare,
|
|
1819
|
+
insuranceTypeCodes: {
|
|
1820
|
+
type: "insurance_type_code",
|
|
1821
|
+
value: CandidApi.InsuranceTypeCode.C01,
|
|
1822
|
+
},
|
|
1823
|
+
},
|
|
1824
|
+
},
|
|
1822
1825
|
patientAddress: {
|
|
1823
1826
|
address1: "123 Main St",
|
|
1824
1827
|
address2: "Apt 1",
|
|
@@ -1907,7 +1910,17 @@ to discuss enabling this endpoint if it is not available for your organization.
|
|
|
1907
1910
|
await client.expectedNetworkStatus.v2.computeAllInNetworkProviders({
|
|
1908
1911
|
serviceType: CandidApi.ServiceType.NewPatientVideoAppt,
|
|
1909
1912
|
placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
1910
|
-
subscriberInformation: {
|
|
1913
|
+
subscriberInformation: {
|
|
1914
|
+
payerUuid: CandidApi.PayerUuid("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
1915
|
+
memberId: "string",
|
|
1916
|
+
insuranceType: {
|
|
1917
|
+
lineOfBusiness: CandidApi.LineOfBusiness.Medicare,
|
|
1918
|
+
insuranceTypeCodes: {
|
|
1919
|
+
type: "insurance_type_code",
|
|
1920
|
+
value: CandidApi.InsuranceTypeCode.C01,
|
|
1921
|
+
},
|
|
1922
|
+
},
|
|
1923
|
+
},
|
|
1911
1924
|
patientAddress: {
|
|
1912
1925
|
address1: "123 Main St",
|
|
1913
1926
|
address2: "Apt 1",
|
|
@@ -2486,7 +2499,7 @@ await client.feeSchedules.v3.uploadFeeSchedule({
|
|
|
2486
2499
|
},
|
|
2487
2500
|
entries: [
|
|
2488
2501
|
{
|
|
2489
|
-
startDate: "2024-
|
|
2502
|
+
startDate: "2024-04-11",
|
|
2490
2503
|
rateCents: 33000,
|
|
2491
2504
|
isDeactivated: false,
|
|
2492
2505
|
},
|
|
@@ -3081,7 +3094,15 @@ await client.importInvoice.v1.importInvoice({
|
|
|
3081
3094
|
externalCustomerIdentifier: "string",
|
|
3082
3095
|
note: "string",
|
|
3083
3096
|
dueDate: "2023-01-15",
|
|
3084
|
-
items: [
|
|
3097
|
+
items: [
|
|
3098
|
+
{
|
|
3099
|
+
attribution: {
|
|
3100
|
+
type: "service_line_id",
|
|
3101
|
+
value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
3102
|
+
},
|
|
3103
|
+
amountCents: 1,
|
|
3104
|
+
},
|
|
3105
|
+
],
|
|
3085
3106
|
status: CandidApi.InvoiceStatus.Draft,
|
|
3086
3107
|
externalIdentifier: "string",
|
|
3087
3108
|
customerInvoiceUrl: "string",
|
|
@@ -3292,7 +3313,15 @@ await client.importInvoice.v1.update(CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b
|
|
|
3292
3313
|
dueDate: "2023-01-15",
|
|
3293
3314
|
items: {
|
|
3294
3315
|
updateType: CandidApi.InvoiceItemUpdateType.Append,
|
|
3295
|
-
items: [
|
|
3316
|
+
items: [
|
|
3317
|
+
{
|
|
3318
|
+
attribution: {
|
|
3319
|
+
type: "service_line_id",
|
|
3320
|
+
value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
3321
|
+
},
|
|
3322
|
+
amountCents: 1,
|
|
3323
|
+
},
|
|
3324
|
+
],
|
|
3296
3325
|
},
|
|
3297
3326
|
});
|
|
3298
3327
|
```
|
|
@@ -3434,13 +3463,42 @@ await client.insuranceAdjudications.v1.create({
|
|
|
3434
3463
|
payerIdentifier: {
|
|
3435
3464
|
type: "payer_info",
|
|
3436
3465
|
},
|
|
3437
|
-
payee: {
|
|
3466
|
+
payee: {
|
|
3467
|
+
payeeName: "string",
|
|
3468
|
+
payeeIdentifier: {
|
|
3469
|
+
type: "npi",
|
|
3470
|
+
value: CandidApi.Npi("string"),
|
|
3471
|
+
},
|
|
3472
|
+
},
|
|
3438
3473
|
postDate: "2023-01-15",
|
|
3439
3474
|
checkNumber: "string",
|
|
3440
3475
|
checkDate: "2023-01-15",
|
|
3441
3476
|
note: "string",
|
|
3442
3477
|
claims: {
|
|
3443
|
-
"d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32": [
|
|
3478
|
+
"d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32": [
|
|
3479
|
+
{
|
|
3480
|
+
claimStatusCode: CandidApi.ClaimStatusCodeCreate.ProcessedAsPrimary,
|
|
3481
|
+
insurancePaidAmountCents: {
|
|
3482
|
+
key: "value",
|
|
3483
|
+
},
|
|
3484
|
+
chargeAmountCents: {
|
|
3485
|
+
key: "value",
|
|
3486
|
+
},
|
|
3487
|
+
serviceLines: {
|
|
3488
|
+
string: {
|
|
3489
|
+
key: "value",
|
|
3490
|
+
},
|
|
3491
|
+
},
|
|
3492
|
+
payerClaimNumber: {
|
|
3493
|
+
key: "value",
|
|
3494
|
+
},
|
|
3495
|
+
carcs: [
|
|
3496
|
+
{
|
|
3497
|
+
key: "value",
|
|
3498
|
+
},
|
|
3499
|
+
],
|
|
3500
|
+
},
|
|
3501
|
+
],
|
|
3444
3502
|
},
|
|
3445
3503
|
});
|
|
3446
3504
|
```
|
|
@@ -3717,7 +3775,15 @@ await client.insurancePayments.v1.create({
|
|
|
3717
3775
|
amountCents: 1,
|
|
3718
3776
|
paymentTimestamp: new Date("2024-01-15T09:30:00.000Z"),
|
|
3719
3777
|
paymentNote: "string",
|
|
3720
|
-
allocations: [
|
|
3778
|
+
allocations: [
|
|
3779
|
+
{
|
|
3780
|
+
amountCents: 1,
|
|
3781
|
+
target: {
|
|
3782
|
+
type: "service_line_by_id",
|
|
3783
|
+
value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
3784
|
+
},
|
|
3785
|
+
},
|
|
3786
|
+
],
|
|
3721
3787
|
});
|
|
3722
3788
|
```
|
|
3723
3789
|
|
|
@@ -4072,7 +4138,15 @@ await client.insuranceRefunds.v1.create({
|
|
|
4072
4138
|
amountCents: 1,
|
|
4073
4139
|
refundTimestamp: new Date("2024-01-15T09:30:00.000Z"),
|
|
4074
4140
|
refundNote: "string",
|
|
4075
|
-
allocations: [
|
|
4141
|
+
allocations: [
|
|
4142
|
+
{
|
|
4143
|
+
amountCents: 1,
|
|
4144
|
+
target: {
|
|
4145
|
+
type: "service_line_by_id",
|
|
4146
|
+
value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
4147
|
+
},
|
|
4148
|
+
},
|
|
4149
|
+
],
|
|
4076
4150
|
refundReason: CandidApi.RefundReason.Overcharged,
|
|
4077
4151
|
});
|
|
4078
4152
|
```
|
|
@@ -4256,6 +4330,74 @@ await client.insuranceRefunds.v1.delete(CandidApi.InsuranceRefundId("d5e9c84f-c2
|
|
|
4256
4330
|
</dl>
|
|
4257
4331
|
</details>
|
|
4258
4332
|
|
|
4333
|
+
## MedicationDispense V1
|
|
4334
|
+
|
|
4335
|
+
<details><summary><code>client.medicationDispense.v1.<a href="/src/api/resources/medicationDispense/resources/v1/client/Client.ts">create</a>({ ...params }) -> core.APIResponse<CandidApi.Encounter, CandidApi.medicationDispense.v1.create.Error></code></summary>
|
|
4336
|
+
<dl>
|
|
4337
|
+
<dd>
|
|
4338
|
+
|
|
4339
|
+
#### 🔌 Usage
|
|
4340
|
+
|
|
4341
|
+
<dl>
|
|
4342
|
+
<dd>
|
|
4343
|
+
|
|
4344
|
+
<dl>
|
|
4345
|
+
<dd>
|
|
4346
|
+
|
|
4347
|
+
```typescript
|
|
4348
|
+
await client.medicationDispense.v1.create({
|
|
4349
|
+
medicationDispenseExternalId: "string",
|
|
4350
|
+
patientExternalId: "string",
|
|
4351
|
+
procedureCode: "string",
|
|
4352
|
+
quantity: CandidApi.Decimal("string"),
|
|
4353
|
+
units: CandidApi.ServiceLineUnits.Mj,
|
|
4354
|
+
dateOfService: "2023-01-15",
|
|
4355
|
+
drugIdentification: {
|
|
4356
|
+
serviceIdQualifier: CandidApi.ServiceIdQualifier.EanUcc13,
|
|
4357
|
+
nationalDrugCode: "string",
|
|
4358
|
+
nationalDrugUnitCount: "string",
|
|
4359
|
+
measurementUnitCode: CandidApi.MeasurementUnitCode.Milliliters,
|
|
4360
|
+
linkSequenceNumber: "string",
|
|
4361
|
+
pharmacyPrescriptionNumber: "string",
|
|
4362
|
+
conversionFormula: "string",
|
|
4363
|
+
},
|
|
4364
|
+
description: "string",
|
|
4365
|
+
modifiers: [CandidApi.ProcedureModifier.TwentyTwo],
|
|
4366
|
+
});
|
|
4367
|
+
```
|
|
4368
|
+
|
|
4369
|
+
</dd>
|
|
4370
|
+
</dl>
|
|
4371
|
+
</dd>
|
|
4372
|
+
</dl>
|
|
4373
|
+
|
|
4374
|
+
#### ⚙️ Parameters
|
|
4375
|
+
|
|
4376
|
+
<dl>
|
|
4377
|
+
<dd>
|
|
4378
|
+
|
|
4379
|
+
<dl>
|
|
4380
|
+
<dd>
|
|
4381
|
+
|
|
4382
|
+
**request:** `CandidApi.MedicationDispenseCreate`
|
|
4383
|
+
|
|
4384
|
+
</dd>
|
|
4385
|
+
</dl>
|
|
4386
|
+
|
|
4387
|
+
<dl>
|
|
4388
|
+
<dd>
|
|
4389
|
+
|
|
4390
|
+
**requestOptions:** `V1.RequestOptions`
|
|
4391
|
+
|
|
4392
|
+
</dd>
|
|
4393
|
+
</dl>
|
|
4394
|
+
</dd>
|
|
4395
|
+
</dl>
|
|
4396
|
+
|
|
4397
|
+
</dd>
|
|
4398
|
+
</dl>
|
|
4399
|
+
</details>
|
|
4400
|
+
|
|
4259
4401
|
## NonInsurancePayerPayments V1
|
|
4260
4402
|
|
|
4261
4403
|
<details><summary><code>client.nonInsurancePayerPayments.v1.<a href="/src/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.ts">getMulti</a>({ ...params }) -> core.APIResponse<CandidApi.NonInsurancePayerPaymentsPage, CandidApi.nonInsurancePayerPayments.v1.getMulti.Error></code></summary>
|
|
@@ -4413,7 +4555,15 @@ await client.nonInsurancePayerPayments.v1.create({
|
|
|
4413
4555
|
paymentTimestamp: new Date("2024-01-15T09:30:00.000Z"),
|
|
4414
4556
|
paymentNote: "string",
|
|
4415
4557
|
checkNumber: "string",
|
|
4416
|
-
allocations: [
|
|
4558
|
+
allocations: [
|
|
4559
|
+
{
|
|
4560
|
+
amountCents: 1,
|
|
4561
|
+
target: {
|
|
4562
|
+
type: "service_line_by_id",
|
|
4563
|
+
value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
4564
|
+
},
|
|
4565
|
+
},
|
|
4566
|
+
],
|
|
4417
4567
|
invoiceId: CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
4418
4568
|
});
|
|
4419
4569
|
```
|
|
@@ -4758,7 +4908,15 @@ await client.nonInsurancePayerRefunds.v1.create({
|
|
|
4758
4908
|
amountCents: 1,
|
|
4759
4909
|
refundTimestamp: new Date("2024-01-15T09:30:00.000Z"),
|
|
4760
4910
|
refundNote: "string",
|
|
4761
|
-
allocations: [
|
|
4911
|
+
allocations: [
|
|
4912
|
+
{
|
|
4913
|
+
amountCents: 1,
|
|
4914
|
+
target: {
|
|
4915
|
+
type: "service_line_by_id",
|
|
4916
|
+
value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
4917
|
+
},
|
|
4918
|
+
},
|
|
4919
|
+
],
|
|
4762
4920
|
refundReason: CandidApi.RefundReason.Overcharged,
|
|
4763
4921
|
});
|
|
4764
4922
|
```
|
|
@@ -5722,7 +5880,20 @@ await client.organizationProviders.v3.create({
|
|
|
5722
5880
|
],
|
|
5723
5881
|
employmentStartDate: "2023-01-15",
|
|
5724
5882
|
employmentTerminationDate: "2023-01-15",
|
|
5725
|
-
qualifications: [
|
|
5883
|
+
qualifications: [
|
|
5884
|
+
{
|
|
5885
|
+
period: {
|
|
5886
|
+
startDate: CandidApi.Date_("string"),
|
|
5887
|
+
endDate: {
|
|
5888
|
+
key: "value",
|
|
5889
|
+
},
|
|
5890
|
+
},
|
|
5891
|
+
identifierCode: CandidApi.IdentifierCode.Mcr,
|
|
5892
|
+
identifierValue: {
|
|
5893
|
+
type: "medicare_provider_identifier",
|
|
5894
|
+
},
|
|
5895
|
+
},
|
|
5896
|
+
],
|
|
5726
5897
|
});
|
|
5727
5898
|
```
|
|
5728
5899
|
|
|
@@ -5800,6 +5971,16 @@ await client.organizationProviders.v3.update(CandidApi.OrganizationProviderId("d
|
|
|
5800
5971
|
qualifications: [
|
|
5801
5972
|
{
|
|
5802
5973
|
type: "add",
|
|
5974
|
+
period: {
|
|
5975
|
+
startDate: CandidApi.Date_("string"),
|
|
5976
|
+
endDate: {
|
|
5977
|
+
key: "value",
|
|
5978
|
+
},
|
|
5979
|
+
},
|
|
5980
|
+
identifierCode: CandidApi.IdentifierCode.Mcr,
|
|
5981
|
+
identifierValue: {
|
|
5982
|
+
type: "medicare_provider_identifier",
|
|
5983
|
+
},
|
|
5803
5984
|
},
|
|
5804
5985
|
],
|
|
5805
5986
|
});
|
|
@@ -6704,7 +6885,9 @@ await client.serviceLines.v2.create({
|
|
|
6704
6885
|
diagnosisIdOne: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
6705
6886
|
diagnosisIdTwo: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
6706
6887
|
diagnosisIdThree: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
6707
|
-
denialReason: {
|
|
6888
|
+
denialReason: {
|
|
6889
|
+
reason: CandidApi.DenialReasonContent.AuthorizationRequired,
|
|
6890
|
+
},
|
|
6708
6891
|
placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
6709
6892
|
procedureCode: "string",
|
|
6710
6893
|
quantity: CandidApi.Decimal("string"),
|
|
@@ -6769,7 +6952,18 @@ await client.serviceLines.v2.update(CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-
|
|
|
6769
6952
|
diagnosisIdOne: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
6770
6953
|
diagnosisIdTwo: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
6771
6954
|
diagnosisIdThree: CandidApi.DiagnosisId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
6772
|
-
|
|
6955
|
+
drugIdentification: {
|
|
6956
|
+
serviceIdQualifier: CandidApi.ServiceIdQualifier.EanUcc13,
|
|
6957
|
+
nationalDrugCode: "string",
|
|
6958
|
+
nationalDrugUnitCount: "string",
|
|
6959
|
+
measurementUnitCode: CandidApi.MeasurementUnitCode.Milliliters,
|
|
6960
|
+
linkSequenceNumber: "string",
|
|
6961
|
+
pharmacyPrescriptionNumber: "string",
|
|
6962
|
+
conversionFormula: "string",
|
|
6963
|
+
},
|
|
6964
|
+
denialReason: {
|
|
6965
|
+
reason: CandidApi.DenialReasonContent.AuthorizationRequired,
|
|
6966
|
+
},
|
|
6773
6967
|
placeOfServiceCode: CandidApi.FacilityTypeCode.Pharmacy,
|
|
6774
6968
|
units: CandidApi.ServiceLineUnits.Mj,
|
|
6775
6969
|
procedureCode: "string",
|
|
@@ -7299,7 +7493,15 @@ await client.thirdPartyPayerPayments.v1.create({
|
|
|
7299
7493
|
paymentTimestamp: new Date("2024-01-15T09:30:00.000Z"),
|
|
7300
7494
|
paymentNote: "string",
|
|
7301
7495
|
checkNumber: "string",
|
|
7302
|
-
allocations: [
|
|
7496
|
+
allocations: [
|
|
7497
|
+
{
|
|
7498
|
+
amountCents: 1,
|
|
7499
|
+
target: {
|
|
7500
|
+
type: "service_line_by_id",
|
|
7501
|
+
value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
7502
|
+
},
|
|
7503
|
+
},
|
|
7504
|
+
],
|
|
7303
7505
|
invoiceId: CandidApi.InvoiceId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
7304
7506
|
});
|
|
7305
7507
|
```
|
|
@@ -7642,7 +7844,15 @@ await client.thirdPartyPayerRefunds.v1.create({
|
|
|
7642
7844
|
amountCents: 1,
|
|
7643
7845
|
refundTimestamp: new Date("2024-01-15T09:30:00.000Z"),
|
|
7644
7846
|
refundNote: "string",
|
|
7645
|
-
allocations: [
|
|
7847
|
+
allocations: [
|
|
7848
|
+
{
|
|
7849
|
+
amountCents: 1,
|
|
7850
|
+
target: {
|
|
7851
|
+
type: "service_line_by_id",
|
|
7852
|
+
value: CandidApi.ServiceLineId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
7853
|
+
},
|
|
7854
|
+
},
|
|
7855
|
+
],
|
|
7646
7856
|
refundReason: CandidApi.RefundReason.Overcharged,
|
|
7647
7857
|
});
|
|
7648
7858
|
```
|
|
@@ -8472,8 +8682,86 @@ await client.preEncounter.appointments.v1.create({
|
|
|
8472
8682
|
patientId: CandidApi.PatientId("string"),
|
|
8473
8683
|
checkedIn: true,
|
|
8474
8684
|
assignedPatientLocation: "string",
|
|
8475
|
-
attendingDoctor: {
|
|
8476
|
-
|
|
8685
|
+
attendingDoctor: {
|
|
8686
|
+
name: {
|
|
8687
|
+
family: "string",
|
|
8688
|
+
given: ["string"],
|
|
8689
|
+
use: CandidApi.NameUse.Usual,
|
|
8690
|
+
period: {
|
|
8691
|
+
start: {
|
|
8692
|
+
key: "value",
|
|
8693
|
+
},
|
|
8694
|
+
end: {
|
|
8695
|
+
key: "value",
|
|
8696
|
+
},
|
|
8697
|
+
},
|
|
8698
|
+
},
|
|
8699
|
+
type: CandidApi.ExternalProviderType.Primary,
|
|
8700
|
+
npi: "string",
|
|
8701
|
+
telecoms: [
|
|
8702
|
+
{
|
|
8703
|
+
value: "string",
|
|
8704
|
+
use: CandidApi.ContactPointUse.Home,
|
|
8705
|
+
period: {
|
|
8706
|
+
key: "value",
|
|
8707
|
+
},
|
|
8708
|
+
},
|
|
8709
|
+
],
|
|
8710
|
+
addresses: [
|
|
8711
|
+
{
|
|
8712
|
+
key: "value",
|
|
8713
|
+
},
|
|
8714
|
+
],
|
|
8715
|
+
period: {
|
|
8716
|
+
start: {
|
|
8717
|
+
key: "value",
|
|
8718
|
+
},
|
|
8719
|
+
end: {
|
|
8720
|
+
key: "value",
|
|
8721
|
+
},
|
|
8722
|
+
},
|
|
8723
|
+
canonicalId: CandidApi.CanonicalProviderId("string"),
|
|
8724
|
+
},
|
|
8725
|
+
referringDoctor: {
|
|
8726
|
+
name: {
|
|
8727
|
+
family: "string",
|
|
8728
|
+
given: ["string"],
|
|
8729
|
+
use: CandidApi.NameUse.Usual,
|
|
8730
|
+
period: {
|
|
8731
|
+
start: {
|
|
8732
|
+
key: "value",
|
|
8733
|
+
},
|
|
8734
|
+
end: {
|
|
8735
|
+
key: "value",
|
|
8736
|
+
},
|
|
8737
|
+
},
|
|
8738
|
+
},
|
|
8739
|
+
type: CandidApi.ExternalProviderType.Primary,
|
|
8740
|
+
npi: "string",
|
|
8741
|
+
telecoms: [
|
|
8742
|
+
{
|
|
8743
|
+
value: "string",
|
|
8744
|
+
use: CandidApi.ContactPointUse.Home,
|
|
8745
|
+
period: {
|
|
8746
|
+
key: "value",
|
|
8747
|
+
},
|
|
8748
|
+
},
|
|
8749
|
+
],
|
|
8750
|
+
addresses: [
|
|
8751
|
+
{
|
|
8752
|
+
key: "value",
|
|
8753
|
+
},
|
|
8754
|
+
],
|
|
8755
|
+
period: {
|
|
8756
|
+
start: {
|
|
8757
|
+
key: "value",
|
|
8758
|
+
},
|
|
8759
|
+
end: {
|
|
8760
|
+
key: "value",
|
|
8761
|
+
},
|
|
8762
|
+
},
|
|
8763
|
+
canonicalId: CandidApi.CanonicalProviderId("string"),
|
|
8764
|
+
},
|
|
8477
8765
|
startTimestamp: new Date("2024-01-15T09:30:00.000Z"),
|
|
8478
8766
|
serviceDuration: 1,
|
|
8479
8767
|
services: [
|
|
@@ -8680,8 +8968,86 @@ await client.preEncounter.appointments.v1.update(CandidApi.AppointmentId("string
|
|
|
8680
8968
|
patientId: CandidApi.PatientId("string"),
|
|
8681
8969
|
checkedIn: true,
|
|
8682
8970
|
assignedPatientLocation: "string",
|
|
8683
|
-
attendingDoctor: {
|
|
8684
|
-
|
|
8971
|
+
attendingDoctor: {
|
|
8972
|
+
name: {
|
|
8973
|
+
family: "string",
|
|
8974
|
+
given: ["string"],
|
|
8975
|
+
use: CandidApi.NameUse.Usual,
|
|
8976
|
+
period: {
|
|
8977
|
+
start: {
|
|
8978
|
+
key: "value",
|
|
8979
|
+
},
|
|
8980
|
+
end: {
|
|
8981
|
+
key: "value",
|
|
8982
|
+
},
|
|
8983
|
+
},
|
|
8984
|
+
},
|
|
8985
|
+
type: CandidApi.ExternalProviderType.Primary,
|
|
8986
|
+
npi: "string",
|
|
8987
|
+
telecoms: [
|
|
8988
|
+
{
|
|
8989
|
+
value: "string",
|
|
8990
|
+
use: CandidApi.ContactPointUse.Home,
|
|
8991
|
+
period: {
|
|
8992
|
+
key: "value",
|
|
8993
|
+
},
|
|
8994
|
+
},
|
|
8995
|
+
],
|
|
8996
|
+
addresses: [
|
|
8997
|
+
{
|
|
8998
|
+
key: "value",
|
|
8999
|
+
},
|
|
9000
|
+
],
|
|
9001
|
+
period: {
|
|
9002
|
+
start: {
|
|
9003
|
+
key: "value",
|
|
9004
|
+
},
|
|
9005
|
+
end: {
|
|
9006
|
+
key: "value",
|
|
9007
|
+
},
|
|
9008
|
+
},
|
|
9009
|
+
canonicalId: CandidApi.CanonicalProviderId("string"),
|
|
9010
|
+
},
|
|
9011
|
+
referringDoctor: {
|
|
9012
|
+
name: {
|
|
9013
|
+
family: "string",
|
|
9014
|
+
given: ["string"],
|
|
9015
|
+
use: CandidApi.NameUse.Usual,
|
|
9016
|
+
period: {
|
|
9017
|
+
start: {
|
|
9018
|
+
key: "value",
|
|
9019
|
+
},
|
|
9020
|
+
end: {
|
|
9021
|
+
key: "value",
|
|
9022
|
+
},
|
|
9023
|
+
},
|
|
9024
|
+
},
|
|
9025
|
+
type: CandidApi.ExternalProviderType.Primary,
|
|
9026
|
+
npi: "string",
|
|
9027
|
+
telecoms: [
|
|
9028
|
+
{
|
|
9029
|
+
value: "string",
|
|
9030
|
+
use: CandidApi.ContactPointUse.Home,
|
|
9031
|
+
period: {
|
|
9032
|
+
key: "value",
|
|
9033
|
+
},
|
|
9034
|
+
},
|
|
9035
|
+
],
|
|
9036
|
+
addresses: [
|
|
9037
|
+
{
|
|
9038
|
+
key: "value",
|
|
9039
|
+
},
|
|
9040
|
+
],
|
|
9041
|
+
period: {
|
|
9042
|
+
start: {
|
|
9043
|
+
key: "value",
|
|
9044
|
+
},
|
|
9045
|
+
end: {
|
|
9046
|
+
key: "value",
|
|
9047
|
+
},
|
|
9048
|
+
},
|
|
9049
|
+
canonicalId: CandidApi.CanonicalProviderId("string"),
|
|
9050
|
+
},
|
|
8685
9051
|
startTimestamp: new Date("2024-01-15T09:30:00.000Z"),
|
|
8686
9052
|
serviceDuration: 1,
|
|
8687
9053
|
services: [
|
|
@@ -8923,7 +9289,19 @@ Creates a new Coverage. A Coverage provides the high-level identifiers and descr
|
|
|
8923
9289
|
await client.preEncounter.coverages.v1.create({
|
|
8924
9290
|
status: CandidApi.CoverageStatus.Active,
|
|
8925
9291
|
subscriber: {
|
|
8926
|
-
name: {
|
|
9292
|
+
name: {
|
|
9293
|
+
family: "string",
|
|
9294
|
+
given: ["string"],
|
|
9295
|
+
use: CandidApi.NameUse.Usual,
|
|
9296
|
+
period: {
|
|
9297
|
+
start: {
|
|
9298
|
+
key: "value",
|
|
9299
|
+
},
|
|
9300
|
+
end: {
|
|
9301
|
+
key: "value",
|
|
9302
|
+
},
|
|
9303
|
+
},
|
|
9304
|
+
},
|
|
8927
9305
|
dateOfBirth: "2023-01-15",
|
|
8928
9306
|
biologicalSex: CandidApi.Sex.Female,
|
|
8929
9307
|
},
|
|
@@ -8937,7 +9315,14 @@ await client.preEncounter.coverages.v1.create({
|
|
|
8937
9315
|
name: "string",
|
|
8938
9316
|
planType: CandidApi.NetworkType.SelfPay,
|
|
8939
9317
|
type: CandidApi.InsuranceTypeCode.C01,
|
|
8940
|
-
period: {
|
|
9318
|
+
period: {
|
|
9319
|
+
start: {
|
|
9320
|
+
key: "value",
|
|
9321
|
+
},
|
|
9322
|
+
end: {
|
|
9323
|
+
key: "value",
|
|
9324
|
+
},
|
|
9325
|
+
},
|
|
8941
9326
|
insuranceCardImageLocator: "string",
|
|
8942
9327
|
},
|
|
8943
9328
|
verified: true,
|
|
@@ -8951,8 +9336,12 @@ await client.preEncounter.coverages.v1.create({
|
|
|
8951
9336
|
},
|
|
8952
9337
|
],
|
|
8953
9338
|
benefits: {
|
|
8954
|
-
planCoverage: {
|
|
8955
|
-
|
|
9339
|
+
planCoverage: {
|
|
9340
|
+
key: "value",
|
|
9341
|
+
},
|
|
9342
|
+
serviceSpecificCoverage: {
|
|
9343
|
+
key: "value",
|
|
9344
|
+
},
|
|
8956
9345
|
},
|
|
8957
9346
|
});
|
|
8958
9347
|
```
|
|
@@ -9020,7 +9409,19 @@ Updates a Coverage. The path must contain the most recent version to prevent rac
|
|
|
9020
9409
|
await client.preEncounter.coverages.v1.update(CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), "string", {
|
|
9021
9410
|
status: CandidApi.CoverageStatus.Active,
|
|
9022
9411
|
subscriber: {
|
|
9023
|
-
name: {
|
|
9412
|
+
name: {
|
|
9413
|
+
family: "string",
|
|
9414
|
+
given: ["string"],
|
|
9415
|
+
use: CandidApi.NameUse.Usual,
|
|
9416
|
+
period: {
|
|
9417
|
+
start: {
|
|
9418
|
+
key: "value",
|
|
9419
|
+
},
|
|
9420
|
+
end: {
|
|
9421
|
+
key: "value",
|
|
9422
|
+
},
|
|
9423
|
+
},
|
|
9424
|
+
},
|
|
9024
9425
|
dateOfBirth: "2023-01-15",
|
|
9025
9426
|
biologicalSex: CandidApi.Sex.Female,
|
|
9026
9427
|
},
|
|
@@ -9034,7 +9435,14 @@ await client.preEncounter.coverages.v1.update(CandidApi.CoverageId("d5e9c84f-c2b
|
|
|
9034
9435
|
name: "string",
|
|
9035
9436
|
planType: CandidApi.NetworkType.SelfPay,
|
|
9036
9437
|
type: CandidApi.InsuranceTypeCode.C01,
|
|
9037
|
-
period: {
|
|
9438
|
+
period: {
|
|
9439
|
+
start: {
|
|
9440
|
+
key: "value",
|
|
9441
|
+
},
|
|
9442
|
+
end: {
|
|
9443
|
+
key: "value",
|
|
9444
|
+
},
|
|
9445
|
+
},
|
|
9038
9446
|
insuranceCardImageLocator: "string",
|
|
9039
9447
|
},
|
|
9040
9448
|
verified: true,
|
|
@@ -9048,8 +9456,12 @@ await client.preEncounter.coverages.v1.update(CandidApi.CoverageId("d5e9c84f-c2b
|
|
|
9048
9456
|
},
|
|
9049
9457
|
],
|
|
9050
9458
|
benefits: {
|
|
9051
|
-
planCoverage: {
|
|
9052
|
-
|
|
9459
|
+
planCoverage: {
|
|
9460
|
+
key: "value",
|
|
9461
|
+
},
|
|
9462
|
+
serviceSpecificCoverage: {
|
|
9463
|
+
key: "value",
|
|
9464
|
+
},
|
|
9053
9465
|
},
|
|
9054
9466
|
});
|
|
9055
9467
|
```
|
|
@@ -9538,8 +9950,34 @@ Adds a patient. VersionConflictError is returned when the patient's external ID
|
|
|
9538
9950
|
|
|
9539
9951
|
```typescript
|
|
9540
9952
|
await client.preEncounter.patients.v1.create({
|
|
9541
|
-
name: {
|
|
9542
|
-
|
|
9953
|
+
name: {
|
|
9954
|
+
family: "string",
|
|
9955
|
+
given: ["string"],
|
|
9956
|
+
use: CandidApi.NameUse.Usual,
|
|
9957
|
+
period: {
|
|
9958
|
+
start: {
|
|
9959
|
+
key: "value",
|
|
9960
|
+
},
|
|
9961
|
+
end: {
|
|
9962
|
+
key: "value",
|
|
9963
|
+
},
|
|
9964
|
+
},
|
|
9965
|
+
},
|
|
9966
|
+
otherNames: [
|
|
9967
|
+
{
|
|
9968
|
+
family: "string",
|
|
9969
|
+
given: ["string"],
|
|
9970
|
+
use: CandidApi.NameUse.Usual,
|
|
9971
|
+
period: {
|
|
9972
|
+
start: {
|
|
9973
|
+
key: "value",
|
|
9974
|
+
},
|
|
9975
|
+
end: {
|
|
9976
|
+
key: "value",
|
|
9977
|
+
},
|
|
9978
|
+
},
|
|
9979
|
+
},
|
|
9980
|
+
],
|
|
9543
9981
|
gender: CandidApi.Gender.Man,
|
|
9544
9982
|
birthDate: "2023-01-15",
|
|
9545
9983
|
socialSecurityNumber: "string",
|
|
@@ -9551,10 +9989,56 @@ await client.preEncounter.patients.v1.create({
|
|
|
9551
9989
|
maritalStatus: CandidApi.MaritalStatus.Annulled,
|
|
9552
9990
|
deceased: new Date("2024-01-15T09:30:00.000Z"),
|
|
9553
9991
|
multipleBirth: 1,
|
|
9554
|
-
primaryAddress: {
|
|
9555
|
-
|
|
9556
|
-
|
|
9557
|
-
|
|
9992
|
+
primaryAddress: {
|
|
9993
|
+
use: CandidApi.AddressUse.Home,
|
|
9994
|
+
line: ["string"],
|
|
9995
|
+
city: "string",
|
|
9996
|
+
state: "string",
|
|
9997
|
+
postalCode: "string",
|
|
9998
|
+
country: "string",
|
|
9999
|
+
period: {
|
|
10000
|
+
start: {
|
|
10001
|
+
key: "value",
|
|
10002
|
+
},
|
|
10003
|
+
end: {
|
|
10004
|
+
key: "value",
|
|
10005
|
+
},
|
|
10006
|
+
},
|
|
10007
|
+
},
|
|
10008
|
+
otherAddresses: [
|
|
10009
|
+
{
|
|
10010
|
+
use: CandidApi.AddressUse.Home,
|
|
10011
|
+
line: ["string"],
|
|
10012
|
+
city: "string",
|
|
10013
|
+
state: "string",
|
|
10014
|
+
postalCode: "string",
|
|
10015
|
+
country: "string",
|
|
10016
|
+
period: {
|
|
10017
|
+
start: {
|
|
10018
|
+
key: "value",
|
|
10019
|
+
},
|
|
10020
|
+
end: {
|
|
10021
|
+
key: "value",
|
|
10022
|
+
},
|
|
10023
|
+
},
|
|
10024
|
+
},
|
|
10025
|
+
],
|
|
10026
|
+
primaryTelecom: {
|
|
10027
|
+
value: "string",
|
|
10028
|
+
use: CandidApi.ContactPointUse.Home,
|
|
10029
|
+
period: {
|
|
10030
|
+
key: "value",
|
|
10031
|
+
},
|
|
10032
|
+
},
|
|
10033
|
+
otherTelecoms: [
|
|
10034
|
+
{
|
|
10035
|
+
value: "string",
|
|
10036
|
+
use: CandidApi.ContactPointUse.Home,
|
|
10037
|
+
period: {
|
|
10038
|
+
key: "value",
|
|
10039
|
+
},
|
|
10040
|
+
},
|
|
10041
|
+
],
|
|
9558
10042
|
email: "string",
|
|
9559
10043
|
electronicCommunicationOptIn: true,
|
|
9560
10044
|
photo: "string",
|
|
@@ -9566,14 +10050,99 @@ await client.preEncounter.patients.v1.create({
|
|
|
9566
10050
|
contacts: [
|
|
9567
10051
|
{
|
|
9568
10052
|
relationship: [CandidApi.Relationship.Self],
|
|
9569
|
-
name: {
|
|
9570
|
-
|
|
9571
|
-
|
|
9572
|
-
|
|
10053
|
+
name: {
|
|
10054
|
+
family: "string",
|
|
10055
|
+
given: ["string"],
|
|
10056
|
+
use: CandidApi.NameUse.Usual,
|
|
10057
|
+
period: {
|
|
10058
|
+
start: {
|
|
10059
|
+
key: "value",
|
|
10060
|
+
},
|
|
10061
|
+
end: {
|
|
10062
|
+
key: "value",
|
|
10063
|
+
},
|
|
10064
|
+
},
|
|
10065
|
+
},
|
|
10066
|
+
telecoms: [
|
|
10067
|
+
{
|
|
10068
|
+
value: "string",
|
|
10069
|
+
use: CandidApi.ContactPointUse.Home,
|
|
10070
|
+
period: {
|
|
10071
|
+
key: "value",
|
|
10072
|
+
},
|
|
10073
|
+
},
|
|
10074
|
+
],
|
|
10075
|
+
addresses: [
|
|
10076
|
+
{
|
|
10077
|
+
use: CandidApi.AddressUse.Home,
|
|
10078
|
+
line: ["string"],
|
|
10079
|
+
city: "string",
|
|
10080
|
+
state: "string",
|
|
10081
|
+
postalCode: "string",
|
|
10082
|
+
country: "string",
|
|
10083
|
+
period: {
|
|
10084
|
+
start: {
|
|
10085
|
+
key: "value",
|
|
10086
|
+
},
|
|
10087
|
+
end: {
|
|
10088
|
+
key: "value",
|
|
10089
|
+
},
|
|
10090
|
+
},
|
|
10091
|
+
},
|
|
10092
|
+
],
|
|
10093
|
+
period: {
|
|
10094
|
+
start: {
|
|
10095
|
+
key: "value",
|
|
10096
|
+
},
|
|
10097
|
+
end: {
|
|
10098
|
+
key: "value",
|
|
10099
|
+
},
|
|
10100
|
+
},
|
|
9573
10101
|
hipaaAuthorization: true,
|
|
9574
10102
|
},
|
|
9575
10103
|
],
|
|
9576
|
-
generalPractitioners: [
|
|
10104
|
+
generalPractitioners: [
|
|
10105
|
+
{
|
|
10106
|
+
name: {
|
|
10107
|
+
family: "string",
|
|
10108
|
+
given: ["string"],
|
|
10109
|
+
use: CandidApi.NameUse.Usual,
|
|
10110
|
+
period: {
|
|
10111
|
+
start: {
|
|
10112
|
+
key: "value",
|
|
10113
|
+
},
|
|
10114
|
+
end: {
|
|
10115
|
+
key: "value",
|
|
10116
|
+
},
|
|
10117
|
+
},
|
|
10118
|
+
},
|
|
10119
|
+
type: CandidApi.ExternalProviderType.Primary,
|
|
10120
|
+
npi: "string",
|
|
10121
|
+
telecoms: [
|
|
10122
|
+
{
|
|
10123
|
+
value: "string",
|
|
10124
|
+
use: CandidApi.ContactPointUse.Home,
|
|
10125
|
+
period: {
|
|
10126
|
+
key: "value",
|
|
10127
|
+
},
|
|
10128
|
+
},
|
|
10129
|
+
],
|
|
10130
|
+
addresses: [
|
|
10131
|
+
{
|
|
10132
|
+
key: "value",
|
|
10133
|
+
},
|
|
10134
|
+
],
|
|
10135
|
+
period: {
|
|
10136
|
+
start: {
|
|
10137
|
+
key: "value",
|
|
10138
|
+
},
|
|
10139
|
+
end: {
|
|
10140
|
+
key: "value",
|
|
10141
|
+
},
|
|
10142
|
+
},
|
|
10143
|
+
canonicalId: CandidApi.CanonicalProviderId("string"),
|
|
10144
|
+
},
|
|
10145
|
+
],
|
|
9577
10146
|
filingOrder: {
|
|
9578
10147
|
coverages: [CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
9579
10148
|
},
|
|
@@ -9641,8 +10210,34 @@ Adds a patient without checking for duplicates.
|
|
|
9641
10210
|
|
|
9642
10211
|
```typescript
|
|
9643
10212
|
await client.preEncounter.patients.v1.createNoDuplicateCheck({
|
|
9644
|
-
name: {
|
|
9645
|
-
|
|
10213
|
+
name: {
|
|
10214
|
+
family: "string",
|
|
10215
|
+
given: ["string"],
|
|
10216
|
+
use: CandidApi.NameUse.Usual,
|
|
10217
|
+
period: {
|
|
10218
|
+
start: {
|
|
10219
|
+
key: "value",
|
|
10220
|
+
},
|
|
10221
|
+
end: {
|
|
10222
|
+
key: "value",
|
|
10223
|
+
},
|
|
10224
|
+
},
|
|
10225
|
+
},
|
|
10226
|
+
otherNames: [
|
|
10227
|
+
{
|
|
10228
|
+
family: "string",
|
|
10229
|
+
given: ["string"],
|
|
10230
|
+
use: CandidApi.NameUse.Usual,
|
|
10231
|
+
period: {
|
|
10232
|
+
start: {
|
|
10233
|
+
key: "value",
|
|
10234
|
+
},
|
|
10235
|
+
end: {
|
|
10236
|
+
key: "value",
|
|
10237
|
+
},
|
|
10238
|
+
},
|
|
10239
|
+
},
|
|
10240
|
+
],
|
|
9646
10241
|
gender: CandidApi.Gender.Man,
|
|
9647
10242
|
birthDate: "2023-01-15",
|
|
9648
10243
|
socialSecurityNumber: "string",
|
|
@@ -9654,10 +10249,56 @@ await client.preEncounter.patients.v1.createNoDuplicateCheck({
|
|
|
9654
10249
|
maritalStatus: CandidApi.MaritalStatus.Annulled,
|
|
9655
10250
|
deceased: new Date("2024-01-15T09:30:00.000Z"),
|
|
9656
10251
|
multipleBirth: 1,
|
|
9657
|
-
primaryAddress: {
|
|
9658
|
-
|
|
9659
|
-
|
|
9660
|
-
|
|
10252
|
+
primaryAddress: {
|
|
10253
|
+
use: CandidApi.AddressUse.Home,
|
|
10254
|
+
line: ["string"],
|
|
10255
|
+
city: "string",
|
|
10256
|
+
state: "string",
|
|
10257
|
+
postalCode: "string",
|
|
10258
|
+
country: "string",
|
|
10259
|
+
period: {
|
|
10260
|
+
start: {
|
|
10261
|
+
key: "value",
|
|
10262
|
+
},
|
|
10263
|
+
end: {
|
|
10264
|
+
key: "value",
|
|
10265
|
+
},
|
|
10266
|
+
},
|
|
10267
|
+
},
|
|
10268
|
+
otherAddresses: [
|
|
10269
|
+
{
|
|
10270
|
+
use: CandidApi.AddressUse.Home,
|
|
10271
|
+
line: ["string"],
|
|
10272
|
+
city: "string",
|
|
10273
|
+
state: "string",
|
|
10274
|
+
postalCode: "string",
|
|
10275
|
+
country: "string",
|
|
10276
|
+
period: {
|
|
10277
|
+
start: {
|
|
10278
|
+
key: "value",
|
|
10279
|
+
},
|
|
10280
|
+
end: {
|
|
10281
|
+
key: "value",
|
|
10282
|
+
},
|
|
10283
|
+
},
|
|
10284
|
+
},
|
|
10285
|
+
],
|
|
10286
|
+
primaryTelecom: {
|
|
10287
|
+
value: "string",
|
|
10288
|
+
use: CandidApi.ContactPointUse.Home,
|
|
10289
|
+
period: {
|
|
10290
|
+
key: "value",
|
|
10291
|
+
},
|
|
10292
|
+
},
|
|
10293
|
+
otherTelecoms: [
|
|
10294
|
+
{
|
|
10295
|
+
value: "string",
|
|
10296
|
+
use: CandidApi.ContactPointUse.Home,
|
|
10297
|
+
period: {
|
|
10298
|
+
key: "value",
|
|
10299
|
+
},
|
|
10300
|
+
},
|
|
10301
|
+
],
|
|
9661
10302
|
email: "string",
|
|
9662
10303
|
electronicCommunicationOptIn: true,
|
|
9663
10304
|
photo: "string",
|
|
@@ -9669,14 +10310,99 @@ await client.preEncounter.patients.v1.createNoDuplicateCheck({
|
|
|
9669
10310
|
contacts: [
|
|
9670
10311
|
{
|
|
9671
10312
|
relationship: [CandidApi.Relationship.Self],
|
|
9672
|
-
name: {
|
|
9673
|
-
|
|
9674
|
-
|
|
9675
|
-
|
|
10313
|
+
name: {
|
|
10314
|
+
family: "string",
|
|
10315
|
+
given: ["string"],
|
|
10316
|
+
use: CandidApi.NameUse.Usual,
|
|
10317
|
+
period: {
|
|
10318
|
+
start: {
|
|
10319
|
+
key: "value",
|
|
10320
|
+
},
|
|
10321
|
+
end: {
|
|
10322
|
+
key: "value",
|
|
10323
|
+
},
|
|
10324
|
+
},
|
|
10325
|
+
},
|
|
10326
|
+
telecoms: [
|
|
10327
|
+
{
|
|
10328
|
+
value: "string",
|
|
10329
|
+
use: CandidApi.ContactPointUse.Home,
|
|
10330
|
+
period: {
|
|
10331
|
+
key: "value",
|
|
10332
|
+
},
|
|
10333
|
+
},
|
|
10334
|
+
],
|
|
10335
|
+
addresses: [
|
|
10336
|
+
{
|
|
10337
|
+
use: CandidApi.AddressUse.Home,
|
|
10338
|
+
line: ["string"],
|
|
10339
|
+
city: "string",
|
|
10340
|
+
state: "string",
|
|
10341
|
+
postalCode: "string",
|
|
10342
|
+
country: "string",
|
|
10343
|
+
period: {
|
|
10344
|
+
start: {
|
|
10345
|
+
key: "value",
|
|
10346
|
+
},
|
|
10347
|
+
end: {
|
|
10348
|
+
key: "value",
|
|
10349
|
+
},
|
|
10350
|
+
},
|
|
10351
|
+
},
|
|
10352
|
+
],
|
|
10353
|
+
period: {
|
|
10354
|
+
start: {
|
|
10355
|
+
key: "value",
|
|
10356
|
+
},
|
|
10357
|
+
end: {
|
|
10358
|
+
key: "value",
|
|
10359
|
+
},
|
|
10360
|
+
},
|
|
9676
10361
|
hipaaAuthorization: true,
|
|
9677
10362
|
},
|
|
9678
10363
|
],
|
|
9679
|
-
generalPractitioners: [
|
|
10364
|
+
generalPractitioners: [
|
|
10365
|
+
{
|
|
10366
|
+
name: {
|
|
10367
|
+
family: "string",
|
|
10368
|
+
given: ["string"],
|
|
10369
|
+
use: CandidApi.NameUse.Usual,
|
|
10370
|
+
period: {
|
|
10371
|
+
start: {
|
|
10372
|
+
key: "value",
|
|
10373
|
+
},
|
|
10374
|
+
end: {
|
|
10375
|
+
key: "value",
|
|
10376
|
+
},
|
|
10377
|
+
},
|
|
10378
|
+
},
|
|
10379
|
+
type: CandidApi.ExternalProviderType.Primary,
|
|
10380
|
+
npi: "string",
|
|
10381
|
+
telecoms: [
|
|
10382
|
+
{
|
|
10383
|
+
value: "string",
|
|
10384
|
+
use: CandidApi.ContactPointUse.Home,
|
|
10385
|
+
period: {
|
|
10386
|
+
key: "value",
|
|
10387
|
+
},
|
|
10388
|
+
},
|
|
10389
|
+
],
|
|
10390
|
+
addresses: [
|
|
10391
|
+
{
|
|
10392
|
+
key: "value",
|
|
10393
|
+
},
|
|
10394
|
+
],
|
|
10395
|
+
period: {
|
|
10396
|
+
start: {
|
|
10397
|
+
key: "value",
|
|
10398
|
+
},
|
|
10399
|
+
end: {
|
|
10400
|
+
key: "value",
|
|
10401
|
+
},
|
|
10402
|
+
},
|
|
10403
|
+
canonicalId: CandidApi.CanonicalProviderId("string"),
|
|
10404
|
+
},
|
|
10405
|
+
],
|
|
9680
10406
|
filingOrder: {
|
|
9681
10407
|
coverages: [CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
9682
10408
|
},
|
|
@@ -9939,8 +10665,34 @@ Updates a patient. The path must contain the most recent version to prevent race
|
|
|
9939
10665
|
|
|
9940
10666
|
```typescript
|
|
9941
10667
|
await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "string", {
|
|
9942
|
-
name: {
|
|
9943
|
-
|
|
10668
|
+
name: {
|
|
10669
|
+
family: "string",
|
|
10670
|
+
given: ["string"],
|
|
10671
|
+
use: CandidApi.NameUse.Usual,
|
|
10672
|
+
period: {
|
|
10673
|
+
start: {
|
|
10674
|
+
key: "value",
|
|
10675
|
+
},
|
|
10676
|
+
end: {
|
|
10677
|
+
key: "value",
|
|
10678
|
+
},
|
|
10679
|
+
},
|
|
10680
|
+
},
|
|
10681
|
+
otherNames: [
|
|
10682
|
+
{
|
|
10683
|
+
family: "string",
|
|
10684
|
+
given: ["string"],
|
|
10685
|
+
use: CandidApi.NameUse.Usual,
|
|
10686
|
+
period: {
|
|
10687
|
+
start: {
|
|
10688
|
+
key: "value",
|
|
10689
|
+
},
|
|
10690
|
+
end: {
|
|
10691
|
+
key: "value",
|
|
10692
|
+
},
|
|
10693
|
+
},
|
|
10694
|
+
},
|
|
10695
|
+
],
|
|
9944
10696
|
gender: CandidApi.Gender.Man,
|
|
9945
10697
|
birthDate: "2023-01-15",
|
|
9946
10698
|
socialSecurityNumber: "string",
|
|
@@ -9952,10 +10704,56 @@ await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "str
|
|
|
9952
10704
|
maritalStatus: CandidApi.MaritalStatus.Annulled,
|
|
9953
10705
|
deceased: new Date("2024-01-15T09:30:00.000Z"),
|
|
9954
10706
|
multipleBirth: 1,
|
|
9955
|
-
primaryAddress: {
|
|
9956
|
-
|
|
9957
|
-
|
|
9958
|
-
|
|
10707
|
+
primaryAddress: {
|
|
10708
|
+
use: CandidApi.AddressUse.Home,
|
|
10709
|
+
line: ["string"],
|
|
10710
|
+
city: "string",
|
|
10711
|
+
state: "string",
|
|
10712
|
+
postalCode: "string",
|
|
10713
|
+
country: "string",
|
|
10714
|
+
period: {
|
|
10715
|
+
start: {
|
|
10716
|
+
key: "value",
|
|
10717
|
+
},
|
|
10718
|
+
end: {
|
|
10719
|
+
key: "value",
|
|
10720
|
+
},
|
|
10721
|
+
},
|
|
10722
|
+
},
|
|
10723
|
+
otherAddresses: [
|
|
10724
|
+
{
|
|
10725
|
+
use: CandidApi.AddressUse.Home,
|
|
10726
|
+
line: ["string"],
|
|
10727
|
+
city: "string",
|
|
10728
|
+
state: "string",
|
|
10729
|
+
postalCode: "string",
|
|
10730
|
+
country: "string",
|
|
10731
|
+
period: {
|
|
10732
|
+
start: {
|
|
10733
|
+
key: "value",
|
|
10734
|
+
},
|
|
10735
|
+
end: {
|
|
10736
|
+
key: "value",
|
|
10737
|
+
},
|
|
10738
|
+
},
|
|
10739
|
+
},
|
|
10740
|
+
],
|
|
10741
|
+
primaryTelecom: {
|
|
10742
|
+
value: "string",
|
|
10743
|
+
use: CandidApi.ContactPointUse.Home,
|
|
10744
|
+
period: {
|
|
10745
|
+
key: "value",
|
|
10746
|
+
},
|
|
10747
|
+
},
|
|
10748
|
+
otherTelecoms: [
|
|
10749
|
+
{
|
|
10750
|
+
value: "string",
|
|
10751
|
+
use: CandidApi.ContactPointUse.Home,
|
|
10752
|
+
period: {
|
|
10753
|
+
key: "value",
|
|
10754
|
+
},
|
|
10755
|
+
},
|
|
10756
|
+
],
|
|
9959
10757
|
email: "string",
|
|
9960
10758
|
electronicCommunicationOptIn: true,
|
|
9961
10759
|
photo: "string",
|
|
@@ -9967,14 +10765,99 @@ await client.preEncounter.patients.v1.update(CandidApi.PatientId("string"), "str
|
|
|
9967
10765
|
contacts: [
|
|
9968
10766
|
{
|
|
9969
10767
|
relationship: [CandidApi.Relationship.Self],
|
|
9970
|
-
name: {
|
|
9971
|
-
|
|
9972
|
-
|
|
9973
|
-
|
|
10768
|
+
name: {
|
|
10769
|
+
family: "string",
|
|
10770
|
+
given: ["string"],
|
|
10771
|
+
use: CandidApi.NameUse.Usual,
|
|
10772
|
+
period: {
|
|
10773
|
+
start: {
|
|
10774
|
+
key: "value",
|
|
10775
|
+
},
|
|
10776
|
+
end: {
|
|
10777
|
+
key: "value",
|
|
10778
|
+
},
|
|
10779
|
+
},
|
|
10780
|
+
},
|
|
10781
|
+
telecoms: [
|
|
10782
|
+
{
|
|
10783
|
+
value: "string",
|
|
10784
|
+
use: CandidApi.ContactPointUse.Home,
|
|
10785
|
+
period: {
|
|
10786
|
+
key: "value",
|
|
10787
|
+
},
|
|
10788
|
+
},
|
|
10789
|
+
],
|
|
10790
|
+
addresses: [
|
|
10791
|
+
{
|
|
10792
|
+
use: CandidApi.AddressUse.Home,
|
|
10793
|
+
line: ["string"],
|
|
10794
|
+
city: "string",
|
|
10795
|
+
state: "string",
|
|
10796
|
+
postalCode: "string",
|
|
10797
|
+
country: "string",
|
|
10798
|
+
period: {
|
|
10799
|
+
start: {
|
|
10800
|
+
key: "value",
|
|
10801
|
+
},
|
|
10802
|
+
end: {
|
|
10803
|
+
key: "value",
|
|
10804
|
+
},
|
|
10805
|
+
},
|
|
10806
|
+
},
|
|
10807
|
+
],
|
|
10808
|
+
period: {
|
|
10809
|
+
start: {
|
|
10810
|
+
key: "value",
|
|
10811
|
+
},
|
|
10812
|
+
end: {
|
|
10813
|
+
key: "value",
|
|
10814
|
+
},
|
|
10815
|
+
},
|
|
9974
10816
|
hipaaAuthorization: true,
|
|
9975
10817
|
},
|
|
9976
10818
|
],
|
|
9977
|
-
generalPractitioners: [
|
|
10819
|
+
generalPractitioners: [
|
|
10820
|
+
{
|
|
10821
|
+
name: {
|
|
10822
|
+
family: "string",
|
|
10823
|
+
given: ["string"],
|
|
10824
|
+
use: CandidApi.NameUse.Usual,
|
|
10825
|
+
period: {
|
|
10826
|
+
start: {
|
|
10827
|
+
key: "value",
|
|
10828
|
+
},
|
|
10829
|
+
end: {
|
|
10830
|
+
key: "value",
|
|
10831
|
+
},
|
|
10832
|
+
},
|
|
10833
|
+
},
|
|
10834
|
+
type: CandidApi.ExternalProviderType.Primary,
|
|
10835
|
+
npi: "string",
|
|
10836
|
+
telecoms: [
|
|
10837
|
+
{
|
|
10838
|
+
value: "string",
|
|
10839
|
+
use: CandidApi.ContactPointUse.Home,
|
|
10840
|
+
period: {
|
|
10841
|
+
key: "value",
|
|
10842
|
+
},
|
|
10843
|
+
},
|
|
10844
|
+
],
|
|
10845
|
+
addresses: [
|
|
10846
|
+
{
|
|
10847
|
+
key: "value",
|
|
10848
|
+
},
|
|
10849
|
+
],
|
|
10850
|
+
period: {
|
|
10851
|
+
start: {
|
|
10852
|
+
key: "value",
|
|
10853
|
+
},
|
|
10854
|
+
end: {
|
|
10855
|
+
key: "value",
|
|
10856
|
+
},
|
|
10857
|
+
},
|
|
10858
|
+
canonicalId: CandidApi.CanonicalProviderId("string"),
|
|
10859
|
+
},
|
|
10860
|
+
],
|
|
9978
10861
|
filingOrder: {
|
|
9979
10862
|
coverages: [CandidApi.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
9980
10863
|
},
|