candidhealth 0.43.1 → 0.46.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/README.md +4 -18
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.d.ts +2 -3
- package/api/resources/billingNotes/resources/v2/client/Client.js +5 -6
- package/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +1 -1
- package/api/resources/billingNotes/resources/v2/client/requests/StandaloneBillingNoteCreate.d.ts +1 -2
- package/api/resources/billingNotes/resources/v2/types/index.d.ts +0 -1
- package/api/resources/billingNotes/resources/v2/types/index.js +0 -1
- package/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -46
- package/api/resources/chargeCapture/resources/v1/client/Client.js +11 -52
- package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +1 -3
- package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -9
- package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +5 -15
- package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +1 -35
- package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +28 -2
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +1 -22
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -25
- package/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +1 -22
- package/api/resources/commons/types/InsuranceTypeCode.d.ts +1 -1
- package/api/resources/commons/types/StreetAddressOptionalBase.d.ts +12 -0
- package/api/resources/commons/types/StreetAddressShortZipOptional.d.ts +19 -0
- package/api/resources/commons/types/index.d.ts +2 -0
- package/api/resources/commons/types/index.js +2 -0
- package/api/resources/contracts/resources/v2/client/Client.d.ts +3 -67
- package/api/resources/contracts/resources/v2/client/Client.js +19 -73
- package/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +1 -25
- package/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +1 -36
- package/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +9 -9
- package/api/resources/contracts/resources/v2/types/ContractSortField.d.ts +12 -0
- package/api/resources/contracts/resources/v2/types/ContractSortField.js +14 -0
- package/api/resources/contracts/resources/v2/types/index.d.ts +1 -0
- package/api/resources/contracts/resources/v2/types/index.js +1 -0
- package/api/resources/credentialing/resources/v2/client/Client.d.ts +4 -26
- package/api/resources/credentialing/resources/v2/client/Client.js +9 -31
- package/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +1 -8
- package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +4 -14
- package/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +3 -20
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/diagnoses/client/Client.d.ts +3 -8
- package/api/resources/diagnoses/client/Client.js +6 -11
- package/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +2 -10
- package/api/resources/diagnoses/types/DiagnosisCreate.d.ts +5 -6
- package/api/resources/eligibility/resources/v2/client/Client.d.ts +2 -6
- package/api/resources/eligibility/resources/v2/client/Client.js +5 -9
- package/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +0 -3
- package/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -6
- package/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +0 -4
- package/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -114
- package/api/resources/encounterProviders/resources/v2/client/Client.js +20 -126
- package/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +1 -2
- package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +27 -0
- package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +5 -0
- package/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +14 -0
- package/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js +5 -0
- package/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +13 -0
- package/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js +5 -0
- package/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +13 -0
- package/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +5 -0
- package/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +13 -0
- package/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +5 -0
- package/api/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
- package/api/resources/encounterProviders/resources/v2/types/index.js +5 -0
- package/api/resources/encounters/resources/v4/client/Client.d.ts +49 -546
- package/api/resources/encounters/resources/v4/client/Client.js +54 -551
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +36 -405
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +26 -7
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +3 -1
- package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +5 -5
- package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +9 -33
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +6 -9
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +7 -10
- package/api/resources/expectedNetworkStatus/resources/v1/client/requests/ExpectedNetworkStatusRequest.d.ts +7 -13
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +12 -16
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +14 -18
- package/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +5 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +5 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +5 -8
- package/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
- package/api/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +1 -5
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +2 -6
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/requests/GetExternalPaymentAccountConfigsRequest.d.ts +1 -4
- package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +37 -38
- package/api/resources/feeSchedules/resources/v3/client/Client.js +47 -48
- package/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +32 -5
- package/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -15
- package/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +1 -13
- package/api/resources/feeSchedules/resources/v3/types/PayerThreshold.d.ts +1 -1
- package/api/resources/feeSchedules/resources/v3/types/Rate.d.ts +1 -1
- package/api/resources/feeSchedules/resources/v3/types/RateEntry.d.ts +1 -1
- package/api/resources/guarantor/resources/v1/client/Client.d.ts +8 -38
- package/api/resources/guarantor/resources/v1/client/Client.js +11 -41
- package/api/resources/importInvoice/resources/v1/client/Client.d.ts +11 -34
- package/api/resources/importInvoice/resources/v1/client/Client.js +15 -38
- package/api/resources/importInvoice/resources/v1/client/requests/SearchImportedInvoicesRequest.d.ts +1 -12
- package/api/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +23 -0
- package/api/resources/individual/types/PatientUpdateWithOptionalAddress.js +5 -0
- package/api/resources/individual/types/index.d.ts +1 -0
- package/api/resources/individual/types/index.js +1 -0
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +92 -10
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +95 -13
- package/api/resources/insurancePayments/resources/v1/client/Client.d.ts +1 -10
- package/api/resources/insurancePayments/resources/v1/client/Client.js +3 -12
- package/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +1 -10
- package/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +12 -26
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +17 -31
- package/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +1 -10
- package/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +1 -11
- package/api/resources/medicationDispense/resources/v1/client/Client.d.ts +5 -17
- package/api/resources/medicationDispense/resources/v1/client/Client.js +6 -18
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +9 -25
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +14 -30
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.d.ts +1 -9
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.d.ts +1 -11
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +9 -30
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +14 -35
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.d.ts +1 -9
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.d.ts +1 -15
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +3 -37
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +9 -43
- package/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +1 -9
- package/api/resources/organizationProviders/resources/v3/client/Client.d.ts +12 -58
- package/api/resources/organizationProviders/resources/v3/client/Client.js +16 -62
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +1 -1
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +6 -6
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +1 -1
- package/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +3 -3
- package/api/resources/patientPayments/resources/v4/client/Client.d.ts +10 -29
- package/api/resources/patientPayments/resources/v4/client/Client.js +15 -34
- package/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +1 -13
- package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +8 -5
- package/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +1 -11
- package/api/resources/patientRefunds/resources/v1/client/Client.d.ts +10 -34
- package/api/resources/patientRefunds/resources/v1/client/Client.js +15 -39
- package/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +1 -13
- package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +8 -6
- package/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +1 -15
- package/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +3 -15
- package/api/resources/payerPlanGroups/resources/v1/client/Client.js +8 -20
- package/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +1 -13
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +14 -84
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +21 -91
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +1 -7
- package/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +2 -2
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +28 -87
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +38 -97
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.d.ts +1 -1
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +1 -6
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiRequest.d.ts +1 -3
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +1 -1
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +4 -18
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +5 -19
- package/api/resources/preEncounter/resources/images/resources/v1/client/Client.d.ts +15 -34
- package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +20 -39
- package/api/resources/preEncounter/resources/images/resources/v1/client/requests/ImageGetMultiRequest.d.ts +1 -4
- package/api/resources/preEncounter/resources/images/resources/v1/types/Image.d.ts +1 -1
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +2 -14
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -16
- package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +1 -7
- package/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +1 -7
- package/api/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +1 -1
- package/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +1 -1
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +6 -10
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +10 -14
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +328 -456
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +339 -467
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +104 -144
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +104 -144
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.d.ts +1 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +1 -7
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/SearchProvidersRequest.d.ts +1 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -3
- package/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +2 -2
- package/api/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.d.ts +1 -1
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +7 -10
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +12 -15
- package/api/resources/preEncounter/resources/tags/resources/v1/client/requests/GetAllTagsRequest.d.ts +1 -4
- package/api/resources/serviceFacility/client/Client.d.ts +1 -11
- package/api/resources/serviceFacility/client/Client.js +2 -12
- package/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +20 -0
- package/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +5 -0
- package/api/resources/serviceFacility/types/index.d.ts +1 -0
- package/api/resources/serviceFacility/types/index.js +1 -0
- package/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -82
- package/api/resources/serviceLines/resources/v2/client/Client.js +7 -85
- package/api/resources/superbills/resources/v1/client/Client.d.ts +2 -10
- package/api/resources/superbills/resources/v1/client/Client.js +3 -11
- package/api/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.d.ts +3 -14
- package/api/resources/tasks/resources/v3/client/Client.d.ts +4 -25
- package/api/resources/tasks/resources/v3/client/Client.js +9 -30
- package/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +1 -15
- package/api/resources/writeOffs/resources/v1/client/Client.d.ts +7 -13
- package/api/resources/writeOffs/resources/v1/client/Client.js +13 -19
- package/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +6 -1
- package/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +1 -12
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.d.ts +2 -3
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +5 -6
- package/dist/api/resources/billingNotes/resources/v2/client/requests/BillingNoteUpdate.d.ts +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/requests/StandaloneBillingNoteCreate.d.ts +1 -2
- package/dist/api/resources/billingNotes/resources/v2/types/index.d.ts +0 -1
- package/dist/api/resources/billingNotes/resources/v2/types/index.js +0 -1
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.d.ts +5 -46
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +11 -52
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCapturePostBilledChangeUpdate.d.ts +1 -3
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +1 -9
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +5 -15
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +1 -35
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +28 -2
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +1 -22
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +4 -25
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +1 -22
- package/dist/api/resources/commons/types/InsuranceTypeCode.d.ts +1 -1
- package/dist/api/resources/commons/types/StreetAddressOptionalBase.d.ts +12 -0
- package/dist/api/resources/commons/types/StreetAddressOptionalBase.js +5 -0
- package/dist/api/resources/commons/types/StreetAddressShortZipOptional.d.ts +19 -0
- package/dist/api/resources/commons/types/StreetAddressShortZipOptional.js +5 -0
- package/dist/api/resources/commons/types/index.d.ts +2 -0
- package/dist/api/resources/commons/types/index.js +2 -0
- package/dist/api/resources/contracts/resources/v2/client/Client.d.ts +3 -67
- package/dist/api/resources/contracts/resources/v2/client/Client.js +19 -73
- package/dist/api/resources/contracts/resources/v2/client/requests/ContractCreate.d.ts +1 -25
- package/dist/api/resources/contracts/resources/v2/client/requests/ContractUpdate.d.ts +1 -36
- package/dist/api/resources/contracts/resources/v2/client/requests/GetMultiContractsRequest.d.ts +9 -9
- package/dist/api/resources/contracts/resources/v2/types/ContractSortField.d.ts +12 -0
- package/dist/api/resources/contracts/resources/v2/types/ContractSortField.js +14 -0
- package/dist/api/resources/contracts/resources/v2/types/index.d.ts +1 -0
- package/dist/api/resources/contracts/resources/v2/types/index.js +1 -0
- package/dist/api/resources/credentialing/resources/v2/client/Client.d.ts +4 -26
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +9 -31
- package/dist/api/resources/credentialing/resources/v2/client/requests/GetAllProviderCredentialingSpansRequest.d.ts +1 -8
- package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanCreate.d.ts +4 -14
- package/dist/api/resources/credentialing/resources/v2/client/requests/ProviderCredentialingSpanUpdate.d.ts +3 -20
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/diagnoses/client/Client.d.ts +3 -8
- package/dist/api/resources/diagnoses/client/Client.js +6 -11
- package/dist/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +2 -10
- package/dist/api/resources/diagnoses/types/DiagnosisCreate.d.ts +5 -6
- package/dist/api/resources/eligibility/resources/v2/client/Client.d.ts +2 -6
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +5 -9
- package/dist/api/resources/encounterAttachments/resources/v1/client/Client.d.ts +0 -3
- package/dist/api/resources/encounterAttachments/resources/v1/client/Client.js +3 -6
- package/dist/api/resources/encounterAttachments/resources/v1/client/requests/CreateAttachmentRequest.d.ts +0 -4
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.d.ts +8 -114
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +20 -126
- package/dist/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +1 -2
- package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +27 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +5 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +14 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js +5 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +13 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js +5 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +13 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +5 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +13 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +5 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/index.js +5 -0
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +49 -546
- package/dist/api/resources/encounters/resources/v4/client/Client.js +54 -551
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +36 -405
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +26 -7
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +3 -1
- package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +5 -5
- package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +9 -33
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.d.ts +6 -9
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +7 -10
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/requests/ExpectedNetworkStatusRequest.d.ts +7 -13
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.d.ts +12 -16
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +14 -18
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +5 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +5 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +5 -8
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.d.ts +1 -5
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +2 -6
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/requests/GetExternalPaymentAccountConfigsRequest.d.ts +1 -4
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +37 -38
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +47 -48
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/FeeScheduleUploadRequest.d.ts +32 -5
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetMultiRequest.d.ts +1 -15
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/GetUniqueDimensionValuesRequest.d.ts +1 -13
- package/dist/api/resources/feeSchedules/resources/v3/types/PayerThreshold.d.ts +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/types/Rate.d.ts +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/types/RateEntry.d.ts +1 -1
- package/dist/api/resources/guarantor/resources/v1/client/Client.d.ts +8 -38
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +11 -41
- package/dist/api/resources/importInvoice/resources/v1/client/Client.d.ts +11 -34
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +15 -38
- package/dist/api/resources/importInvoice/resources/v1/client/requests/SearchImportedInvoicesRequest.d.ts +1 -12
- package/dist/api/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +23 -0
- package/dist/api/resources/individual/types/PatientUpdateWithOptionalAddress.js +5 -0
- package/dist/api/resources/individual/types/index.d.ts +1 -0
- package/dist/api/resources/individual/types/index.js +1 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.d.ts +92 -10
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +95 -13
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.d.ts +1 -10
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +3 -12
- package/dist/api/resources/insurancePayments/resources/v1/client/requests/GetMultiInsurancePaymentRequest.d.ts +1 -10
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.d.ts +12 -26
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +17 -31
- package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/GetMultiInsuranceRefundsRequest.d.ts +1 -10
- package/dist/api/resources/insuranceRefunds/resources/v1/client/requests/InsuranceRefundUpdate.d.ts +1 -11
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.d.ts +5 -17
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +6 -18
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.d.ts +9 -25
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +14 -30
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/GetMultiNonInsurancePayerPaymentRequest.d.ts +1 -9
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/requests/UpdateNonInsurancePayerPaymentRequest.d.ts +1 -11
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.d.ts +9 -30
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +14 -35
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/GetMultiNonInsurancePayerRefundsRequest.d.ts +1 -9
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/requests/NonInsurancePayerRefundUpdate.d.ts +1 -15
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +3 -37
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +9 -43
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/requests/GetMultiNonInsurancePayersRequest.d.ts +1 -9
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.d.ts +12 -58
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +16 -62
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.d.ts +1 -1
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +6 -6
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityPhysicalType.d.ts +1 -1
- package/dist/api/resources/organizationServiceFacilities/resources/v2/types/ServiceFacilityType.d.ts +3 -3
- package/dist/api/resources/patientPayments/resources/v4/client/Client.d.ts +10 -29
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +15 -34
- package/dist/api/resources/patientPayments/resources/v4/client/requests/GetMultiPatientPaymentsRequest.d.ts +1 -13
- package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentCreate.d.ts +8 -5
- package/dist/api/resources/patientPayments/resources/v4/client/requests/PatientPaymentUpdate.d.ts +1 -11
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.d.ts +10 -34
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +15 -39
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/GetMultiPatientRefundsRequest.d.ts +1 -13
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundCreate.d.ts +8 -6
- package/dist/api/resources/patientRefunds/resources/v1/client/requests/PatientRefundUpdate.d.ts +1 -15
- package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.d.ts +3 -15
- package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +8 -20
- package/dist/api/resources/payerPlanGroups/resources/v1/client/requests/PayerPlanGroupGetMultiRequest.d.ts +1 -13
- 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 +14 -84
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +21 -91
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/requests/VisitsRequest.d.ts +1 -7
- package/dist/api/resources/preEncounter/resources/common/types/BaseModel.d.ts +2 -2
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +28 -87
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +38 -97
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CheckEligibilityRequest.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiPaginatedRequest.d.ts +1 -6
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/requests/CoverageGetMultiRequest.d.ts +1 -3
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/InsuranceTypeCode.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.d.ts +4 -18
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +5 -19
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.d.ts +15 -34
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +20 -39
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/requests/ImageGetMultiRequest.d.ts +1 -4
- package/dist/api/resources/preEncounter/resources/images/resources/v1/types/Image.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.d.ts +2 -14
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +4 -16
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/AppointmentsGetListRequest.d.ts +1 -7
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/requests/PatientListRequest.d.ts +1 -7
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/FilterQueryString.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/types/SortFieldString.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.d.ts +6 -10
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +10 -14
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +328 -456
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +339 -467
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +104 -144
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +104 -144
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientGetMultiRequest.d.ts +1 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/PatientsSearchRequestPaginated.d.ts +1 -7
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/SearchProvidersRequest.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -3
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Patient.d.ts +2 -2
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/PatientSortField.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.d.ts +7 -10
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +12 -15
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/requests/GetAllTagsRequest.d.ts +1 -4
- package/dist/api/resources/serviceFacility/client/Client.d.ts +1 -11
- package/dist/api/resources/serviceFacility/client/Client.js +2 -12
- package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +20 -0
- package/dist/api/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +5 -0
- package/dist/api/resources/serviceFacility/types/index.d.ts +1 -0
- package/dist/api/resources/serviceFacility/types/index.js +1 -0
- package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +4 -82
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +7 -85
- package/dist/api/resources/superbills/resources/v1/client/Client.d.ts +2 -10
- package/dist/api/resources/superbills/resources/v1/client/Client.js +3 -11
- package/dist/api/resources/superbills/resources/v1/client/requests/CreateSuperbillRequest.d.ts +3 -14
- package/dist/api/resources/tasks/resources/v3/client/Client.d.ts +4 -25
- package/dist/api/resources/tasks/resources/v3/client/Client.js +9 -30
- package/dist/api/resources/tasks/resources/v3/client/requests/GetAllTasksRequest.d.ts +1 -15
- package/dist/api/resources/writeOffs/resources/v1/client/Client.d.ts +7 -13
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +13 -19
- package/dist/api/resources/writeOffs/resources/v1/client/requests/CreateWriteOffsRequest.d.ts +6 -1
- package/dist/api/resources/writeOffs/resources/v1/client/requests/GetMultiWriteOffsRequest.d.ts +1 -12
- package/dist/environments.d.ts +5 -1
- package/dist/environments.js +4 -0
- package/dist/serialization/resources/billingNotes/resources/v2/types/index.d.ts +0 -1
- package/dist/serialization/resources/billingNotes/resources/v2/types/index.js +0 -1
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +18 -2
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +18 -2
- package/dist/serialization/resources/commons/types/StreetAddressOptionalBase.d.ts +17 -0
- package/dist/serialization/resources/commons/types/StreetAddressOptionalBase.js +48 -0
- package/dist/serialization/resources/commons/types/StreetAddressShortZipOptional.d.ts +13 -0
- package/dist/serialization/resources/commons/types/StreetAddressShortZipOptional.js +46 -0
- package/dist/serialization/resources/commons/types/index.d.ts +2 -0
- package/dist/serialization/resources/commons/types/index.js +2 -0
- package/dist/serialization/resources/contracts/resources/v2/types/ContractSortField.d.ts +10 -0
- package/dist/serialization/resources/contracts/resources/v2/types/ContractSortField.js +48 -0
- package/dist/serialization/resources/contracts/resources/v2/types/index.d.ts +1 -0
- package/dist/serialization/resources/contracts/resources/v2/types/index.js +1 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +19 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +52 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +18 -0
- package/dist/serialization/resources/{billingNotes/resources/v2/types/BillingNoteOptional.js → encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js} +10 -11
- package/dist/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +16 -0
- package/{serialization/resources/billingNotes/resources/v2/types/BillingNoteOptional.js → dist/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js} +8 -11
- package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +16 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +49 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +16 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +49 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/index.js +5 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +16 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +16 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +1 -16
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +1 -16
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +11 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +41 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +3 -2
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +3 -2
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
- package/dist/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
- package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +29 -0
- package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +60 -0
- package/dist/serialization/resources/individual/types/index.d.ts +1 -0
- package/dist/serialization/resources/individual/types/index.js +1 -0
- package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +16 -0
- package/dist/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +47 -0
- package/dist/serialization/resources/serviceFacility/types/index.d.ts +1 -0
- package/dist/serialization/resources/serviceFacility/types/index.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/environments.d.ts +5 -1
- package/environments.js +4 -0
- package/package.json +1 -1
- package/reference.md +772 -2232
- package/serialization/resources/billingNotes/resources/v2/types/index.d.ts +0 -1
- package/serialization/resources/billingNotes/resources/v2/types/index.js +0 -1
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +18 -2
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +18 -2
- package/serialization/resources/commons/types/StreetAddressOptionalBase.d.ts +17 -0
- package/serialization/resources/commons/types/StreetAddressOptionalBase.js +48 -0
- package/serialization/resources/commons/types/StreetAddressShortZipOptional.d.ts +13 -0
- package/serialization/resources/commons/types/StreetAddressShortZipOptional.js +46 -0
- package/serialization/resources/commons/types/index.d.ts +2 -0
- package/serialization/resources/commons/types/index.js +2 -0
- package/serialization/resources/contracts/resources/v2/types/ContractSortField.d.ts +10 -0
- package/serialization/resources/contracts/resources/v2/types/ContractSortField.js +48 -0
- package/serialization/resources/contracts/resources/v2/types/index.d.ts +1 -0
- package/serialization/resources/contracts/resources/v2/types/index.js +1 -0
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +19 -0
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.js +52 -0
- package/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.d.ts +18 -0
- package/serialization/resources/encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress.js +51 -0
- package/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.d.ts +16 -0
- package/serialization/resources/encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress.js +49 -0
- package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.d.ts +16 -0
- package/serialization/resources/encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress.js +49 -0
- package/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.d.ts +16 -0
- package/serialization/resources/encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress.js +49 -0
- package/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +5 -0
- package/serialization/resources/encounterProviders/resources/v2/types/index.js +5 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +1 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +16 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +16 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +1 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.js +1 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +1 -16
- package/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +1 -16
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.d.ts +11 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/EmptyObject.js +41 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.d.ts +3 -2
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/InsuranceTypeCodes.js +3 -2
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.d.ts +1 -0
- package/serialization/resources/expectedNetworkStatus/resources/v2/types/index.js +1 -0
- package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +29 -0
- package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +60 -0
- package/serialization/resources/individual/types/index.d.ts +1 -0
- package/serialization/resources/individual/types/index.js +1 -0
- package/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.d.ts +16 -0
- package/serialization/resources/serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress.js +47 -0
- package/serialization/resources/serviceFacility/types/index.d.ts +1 -0
- package/serialization/resources/serviceFacility/types/index.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -15
- package/dist/api/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -15
- package/dist/serialization/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -19
- package/serialization/resources/billingNotes/resources/v2/types/BillingNoteOptional.d.ts +0 -19
- /package/api/resources/{billingNotes/resources/v2/types/BillingNoteOptional.js → commons/types/StreetAddressOptionalBase.js} +0 -0
- /package/{dist/api/resources/billingNotes/resources/v2/types/BillingNoteOptional.js → api/resources/commons/types/StreetAddressShortZipOptional.js} +0 -0
|
@@ -26,386 +26,306 @@ export declare class V1 {
|
|
|
26
26
|
protected readonly _options: V1.Options;
|
|
27
27
|
constructor(_options?: V1.Options);
|
|
28
28
|
/**
|
|
29
|
-
* Adds a patient.
|
|
29
|
+
* Adds a patient. VersionConflictError is returned when the patient's external ID is already in use.
|
|
30
30
|
*
|
|
31
31
|
* @param {CandidApi.preEncounter.patients.v1.CreatePatientRequest} request
|
|
32
32
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* await client.preEncounter.patients.v1.create({
|
|
36
|
-
* skipDuplicateCheck: true,
|
|
37
36
|
* body: {
|
|
38
37
|
* name: {
|
|
39
|
-
* family: "
|
|
40
|
-
* given: ["
|
|
41
|
-
* use: "USUAL"
|
|
42
|
-
* period: {},
|
|
43
|
-
* suffix: "string"
|
|
38
|
+
* family: "family",
|
|
39
|
+
* given: ["given", "given"],
|
|
40
|
+
* use: "USUAL"
|
|
44
41
|
* },
|
|
45
42
|
* otherNames: [{
|
|
46
|
-
* family: "
|
|
47
|
-
* given: ["
|
|
48
|
-
* use: "USUAL"
|
|
49
|
-
*
|
|
50
|
-
*
|
|
43
|
+
* family: "family",
|
|
44
|
+
* given: ["given", "given"],
|
|
45
|
+
* use: "USUAL"
|
|
46
|
+
* }, {
|
|
47
|
+
* family: "family",
|
|
48
|
+
* given: ["given", "given"],
|
|
49
|
+
* use: "USUAL"
|
|
51
50
|
* }],
|
|
52
|
-
* otherIdentifiers: [{
|
|
53
|
-
* value: "string",
|
|
54
|
-
* system: "string"
|
|
55
|
-
* }],
|
|
56
|
-
* gender: "MAN",
|
|
57
51
|
* birthDate: "2023-01-15",
|
|
58
|
-
* socialSecurityNumber: "string",
|
|
59
52
|
* biologicalSex: "FEMALE",
|
|
60
|
-
* sexualOrientation: "HETEROSEXUAL",
|
|
61
|
-
* pronouns: ["string"],
|
|
62
|
-
* race: "AMERICAN_INDIAN_OR_ALASKA_NATIVE",
|
|
63
|
-
* ethnicity: "HISPANIC_OR_LATINO",
|
|
64
|
-
* disabilityStatus: "DISABLED",
|
|
65
|
-
* maritalStatus: "ANNULLED",
|
|
66
|
-
* deceased: "2024-01-15T09:30:00Z",
|
|
67
|
-
* multipleBirth: 1,
|
|
68
53
|
* primaryAddress: {
|
|
69
54
|
* use: "HOME",
|
|
70
|
-
* line: ["
|
|
71
|
-
* city: "
|
|
72
|
-
* state: "
|
|
73
|
-
* postalCode: "
|
|
74
|
-
* country: "
|
|
75
|
-
* period: {}
|
|
55
|
+
* line: ["line", "line"],
|
|
56
|
+
* city: "city",
|
|
57
|
+
* state: "state",
|
|
58
|
+
* postalCode: "postal_code",
|
|
59
|
+
* country: "country"
|
|
76
60
|
* },
|
|
77
61
|
* otherAddresses: [{
|
|
78
62
|
* use: "HOME",
|
|
79
|
-
* line: ["
|
|
80
|
-
* city: "
|
|
81
|
-
* state: "
|
|
82
|
-
* postalCode: "
|
|
83
|
-
* country: "
|
|
84
|
-
*
|
|
63
|
+
* line: ["line", "line"],
|
|
64
|
+
* city: "city",
|
|
65
|
+
* state: "state",
|
|
66
|
+
* postalCode: "postal_code",
|
|
67
|
+
* country: "country"
|
|
68
|
+
* }, {
|
|
69
|
+
* use: "HOME",
|
|
70
|
+
* line: ["line", "line"],
|
|
71
|
+
* city: "city",
|
|
72
|
+
* state: "state",
|
|
73
|
+
* postalCode: "postal_code",
|
|
74
|
+
* country: "country"
|
|
85
75
|
* }],
|
|
86
76
|
* primaryTelecom: {
|
|
87
|
-
* value: "
|
|
77
|
+
* value: "value",
|
|
88
78
|
* use: "HOME"
|
|
89
79
|
* },
|
|
90
80
|
* otherTelecoms: [{
|
|
91
|
-
* value: "
|
|
81
|
+
* value: "value",
|
|
82
|
+
* use: "HOME"
|
|
83
|
+
* }, {
|
|
84
|
+
* value: "value",
|
|
92
85
|
* use: "HOME"
|
|
93
86
|
* }],
|
|
94
|
-
* email: "string",
|
|
95
|
-
* electronicCommunicationOptIn: true,
|
|
96
|
-
* photo: "string",
|
|
97
|
-
* language: "string",
|
|
98
|
-
* externalProvenance: {
|
|
99
|
-
* externalId: "string",
|
|
100
|
-
* systemName: "string"
|
|
101
|
-
* },
|
|
102
87
|
* contacts: [{
|
|
103
|
-
* relationship: ["SELF"],
|
|
88
|
+
* relationship: ["SELF", "SELF"],
|
|
104
89
|
* name: {
|
|
105
|
-
* family: "
|
|
106
|
-
* given: ["
|
|
107
|
-
* use: "USUAL"
|
|
108
|
-
* period: {},
|
|
109
|
-
* suffix: "string"
|
|
90
|
+
* family: "family",
|
|
91
|
+
* given: ["given", "given"],
|
|
92
|
+
* use: "USUAL"
|
|
110
93
|
* },
|
|
111
94
|
* telecoms: [{
|
|
112
|
-
* value: "
|
|
95
|
+
* value: "value",
|
|
96
|
+
* use: "HOME"
|
|
97
|
+
* }, {
|
|
98
|
+
* value: "value",
|
|
113
99
|
* use: "HOME"
|
|
114
100
|
* }],
|
|
115
101
|
* addresses: [{
|
|
116
102
|
* use: "HOME",
|
|
117
|
-
* line: ["
|
|
118
|
-
* city: "
|
|
119
|
-
* state: "
|
|
120
|
-
* postalCode: "
|
|
121
|
-
* country: "
|
|
122
|
-
*
|
|
103
|
+
* line: ["line", "line"],
|
|
104
|
+
* city: "city",
|
|
105
|
+
* state: "state",
|
|
106
|
+
* postalCode: "postal_code",
|
|
107
|
+
* country: "country"
|
|
108
|
+
* }, {
|
|
109
|
+
* use: "HOME",
|
|
110
|
+
* line: ["line", "line"],
|
|
111
|
+
* city: "city",
|
|
112
|
+
* state: "state",
|
|
113
|
+
* postalCode: "postal_code",
|
|
114
|
+
* country: "country"
|
|
115
|
+
* }]
|
|
116
|
+
* }, {
|
|
117
|
+
* relationship: ["SELF", "SELF"],
|
|
118
|
+
* name: {
|
|
119
|
+
* family: "family",
|
|
120
|
+
* given: ["given", "given"],
|
|
121
|
+
* use: "USUAL"
|
|
122
|
+
* },
|
|
123
|
+
* telecoms: [{
|
|
124
|
+
* value: "value",
|
|
125
|
+
* use: "HOME"
|
|
126
|
+
* }, {
|
|
127
|
+
* value: "value",
|
|
128
|
+
* use: "HOME"
|
|
123
129
|
* }],
|
|
124
|
-
*
|
|
125
|
-
*
|
|
130
|
+
* addresses: [{
|
|
131
|
+
* use: "HOME",
|
|
132
|
+
* line: ["line", "line"],
|
|
133
|
+
* city: "city",
|
|
134
|
+
* state: "state",
|
|
135
|
+
* postalCode: "postal_code",
|
|
136
|
+
* country: "country"
|
|
137
|
+
* }, {
|
|
138
|
+
* use: "HOME",
|
|
139
|
+
* line: ["line", "line"],
|
|
140
|
+
* city: "city",
|
|
141
|
+
* state: "state",
|
|
142
|
+
* postalCode: "postal_code",
|
|
143
|
+
* country: "country"
|
|
144
|
+
* }]
|
|
126
145
|
* }],
|
|
127
146
|
* generalPractitioners: [{
|
|
128
147
|
* name: {
|
|
129
|
-
* family: "
|
|
130
|
-
* given: ["
|
|
131
|
-
* use: "USUAL"
|
|
132
|
-
* period: {},
|
|
133
|
-
* suffix: "string"
|
|
148
|
+
* family: "family",
|
|
149
|
+
* given: ["given", "given"],
|
|
150
|
+
* use: "USUAL"
|
|
134
151
|
* },
|
|
135
|
-
* type: "PRIMARY",
|
|
136
|
-
* npi: "string",
|
|
137
152
|
* telecoms: [{
|
|
138
|
-
* value: "
|
|
153
|
+
* value: "value",
|
|
139
154
|
* use: "HOME"
|
|
140
|
-
* }
|
|
141
|
-
*
|
|
142
|
-
*
|
|
143
|
-
*
|
|
144
|
-
*
|
|
145
|
-
*
|
|
146
|
-
*
|
|
147
|
-
*
|
|
148
|
-
*
|
|
149
|
-
* nonInsurancePayers: [CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")],
|
|
150
|
-
* nonInsurancePayerAssociations: [{
|
|
151
|
-
* id: CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")
|
|
152
|
-
* }],
|
|
153
|
-
* guarantor: {
|
|
154
|
-
* name: {
|
|
155
|
-
* family: "string",
|
|
156
|
-
* given: ["string"],
|
|
157
|
-
* use: "USUAL",
|
|
158
|
-
* period: {},
|
|
159
|
-
* suffix: "string"
|
|
160
|
-
* },
|
|
161
|
-
* telecom: {
|
|
162
|
-
* value: "string",
|
|
163
|
-
* use: "HOME"
|
|
164
|
-
* },
|
|
165
|
-
* email: "string",
|
|
166
|
-
* birthDate: "2023-01-15",
|
|
167
|
-
* address: {
|
|
168
|
-
* use: "HOME",
|
|
169
|
-
* line: ["string"],
|
|
170
|
-
* city: "string",
|
|
171
|
-
* state: "string",
|
|
172
|
-
* postalCode: "string",
|
|
173
|
-
* country: "string",
|
|
174
|
-
* period: {}
|
|
175
|
-
* }
|
|
176
|
-
* },
|
|
177
|
-
* selfPay: true,
|
|
178
|
-
* authorizations: [{
|
|
179
|
-
* payerId: CandidApi.preEncounter.PayerId("string"),
|
|
180
|
-
* payerName: "string",
|
|
181
|
-
* additionalPayerInformation: {},
|
|
182
|
-
* authorizationNumber: "string",
|
|
183
|
-
* cptCode: "string",
|
|
184
|
-
* applyForAllCptCodes: true,
|
|
185
|
-
* units: "VISIT",
|
|
186
|
-
* quantity: 1,
|
|
187
|
-
* period: {},
|
|
188
|
-
* notes: "string"
|
|
189
|
-
* }],
|
|
190
|
-
* referrals: [{
|
|
191
|
-
* provider: {
|
|
192
|
-
* name: {
|
|
193
|
-
* family: "string",
|
|
194
|
-
* given: ["string"],
|
|
195
|
-
* use: "USUAL",
|
|
196
|
-
* period: {},
|
|
197
|
-
* suffix: "string"
|
|
198
|
-
* },
|
|
199
|
-
* type: "PRIMARY",
|
|
200
|
-
* npi: "string",
|
|
201
|
-
* telecoms: [{
|
|
202
|
-
* value: "string",
|
|
203
|
-
* use: "HOME"
|
|
204
|
-
* }],
|
|
205
|
-
* addresses: [],
|
|
206
|
-
* period: {},
|
|
207
|
-
* canonicalId: CandidApi.preEncounter.CanonicalProviderId("string"),
|
|
208
|
-
* fax: "string"
|
|
155
|
+
* }, {
|
|
156
|
+
* value: "value",
|
|
157
|
+
* use: "HOME"
|
|
158
|
+
* }]
|
|
159
|
+
* }, {
|
|
160
|
+
* name: {
|
|
161
|
+
* family: "family",
|
|
162
|
+
* given: ["given", "given"],
|
|
163
|
+
* use: "USUAL"
|
|
209
164
|
* },
|
|
210
|
-
*
|
|
165
|
+
* telecoms: [{
|
|
166
|
+
* value: "value",
|
|
167
|
+
* use: "HOME"
|
|
168
|
+
* }, {
|
|
169
|
+
* value: "value",
|
|
170
|
+
* use: "HOME"
|
|
171
|
+
* }]
|
|
211
172
|
* }],
|
|
212
|
-
*
|
|
213
|
-
*
|
|
214
|
-
*
|
|
215
|
-
* tagIds: [CandidApi.preEncounter.TagId("string")]
|
|
173
|
+
* filingOrder: {
|
|
174
|
+
* coverages: [CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
|
|
175
|
+
* }
|
|
216
176
|
* }
|
|
217
177
|
* })
|
|
218
178
|
*/
|
|
219
179
|
create(request: CandidApi.preEncounter.patients.v1.CreatePatientRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.patients.v1.Patient, CandidApi.preEncounter.patients.v1.create.Error>>;
|
|
220
180
|
/**
|
|
221
|
-
* Adds a patient and hydrates their MRN with a pre-existing MRN.
|
|
181
|
+
* Adds a patient and hydrates their MRN with a pre-existing MRN. Once this patient is created their MRN will not be editable. BadRequestError is returned when the MRN is greater than 20 characters. VersionConflictError is returned when the patient's external ID is already in use.
|
|
222
182
|
*
|
|
223
183
|
* @param {CandidApi.preEncounter.patients.v1.CreatePatientWithMrnRequest} request
|
|
224
184
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
225
185
|
*
|
|
226
186
|
* @example
|
|
227
187
|
* await client.preEncounter.patients.v1.createWithMrn({
|
|
228
|
-
* skipDuplicateCheck: true,
|
|
229
188
|
* body: {
|
|
230
|
-
* mrn: "string",
|
|
231
189
|
* name: {
|
|
232
|
-
* family: "
|
|
233
|
-
* given: ["
|
|
234
|
-
* use: "USUAL"
|
|
235
|
-
* period: {},
|
|
236
|
-
* suffix: "string"
|
|
190
|
+
* family: "family",
|
|
191
|
+
* given: ["given", "given"],
|
|
192
|
+
* use: "USUAL"
|
|
237
193
|
* },
|
|
238
194
|
* otherNames: [{
|
|
239
|
-
* family: "
|
|
240
|
-
* given: ["
|
|
241
|
-
* use: "USUAL"
|
|
242
|
-
*
|
|
243
|
-
*
|
|
244
|
-
*
|
|
245
|
-
*
|
|
246
|
-
* value: "string",
|
|
247
|
-
* system: "string"
|
|
195
|
+
* family: "family",
|
|
196
|
+
* given: ["given", "given"],
|
|
197
|
+
* use: "USUAL"
|
|
198
|
+
* }, {
|
|
199
|
+
* family: "family",
|
|
200
|
+
* given: ["given", "given"],
|
|
201
|
+
* use: "USUAL"
|
|
248
202
|
* }],
|
|
249
|
-
* gender: "MAN",
|
|
250
203
|
* birthDate: "2023-01-15",
|
|
251
|
-
* socialSecurityNumber: "string",
|
|
252
204
|
* biologicalSex: "FEMALE",
|
|
253
|
-
* sexualOrientation: "HETEROSEXUAL",
|
|
254
|
-
* pronouns: ["string"],
|
|
255
|
-
* race: "AMERICAN_INDIAN_OR_ALASKA_NATIVE",
|
|
256
|
-
* ethnicity: "HISPANIC_OR_LATINO",
|
|
257
|
-
* disabilityStatus: "DISABLED",
|
|
258
|
-
* maritalStatus: "ANNULLED",
|
|
259
|
-
* deceased: "2024-01-15T09:30:00Z",
|
|
260
|
-
* multipleBirth: 1,
|
|
261
205
|
* primaryAddress: {
|
|
262
206
|
* use: "HOME",
|
|
263
|
-
* line: ["
|
|
264
|
-
* city: "
|
|
265
|
-
* state: "
|
|
266
|
-
* postalCode: "
|
|
267
|
-
* country: "
|
|
268
|
-
* period: {}
|
|
207
|
+
* line: ["line", "line"],
|
|
208
|
+
* city: "city",
|
|
209
|
+
* state: "state",
|
|
210
|
+
* postalCode: "postal_code",
|
|
211
|
+
* country: "country"
|
|
269
212
|
* },
|
|
270
213
|
* otherAddresses: [{
|
|
271
214
|
* use: "HOME",
|
|
272
|
-
* line: ["
|
|
273
|
-
* city: "
|
|
274
|
-
* state: "
|
|
275
|
-
* postalCode: "
|
|
276
|
-
* country: "
|
|
277
|
-
*
|
|
215
|
+
* line: ["line", "line"],
|
|
216
|
+
* city: "city",
|
|
217
|
+
* state: "state",
|
|
218
|
+
* postalCode: "postal_code",
|
|
219
|
+
* country: "country"
|
|
220
|
+
* }, {
|
|
221
|
+
* use: "HOME",
|
|
222
|
+
* line: ["line", "line"],
|
|
223
|
+
* city: "city",
|
|
224
|
+
* state: "state",
|
|
225
|
+
* postalCode: "postal_code",
|
|
226
|
+
* country: "country"
|
|
278
227
|
* }],
|
|
279
228
|
* primaryTelecom: {
|
|
280
|
-
* value: "
|
|
229
|
+
* value: "value",
|
|
281
230
|
* use: "HOME"
|
|
282
231
|
* },
|
|
283
232
|
* otherTelecoms: [{
|
|
284
|
-
* value: "
|
|
233
|
+
* value: "value",
|
|
234
|
+
* use: "HOME"
|
|
235
|
+
* }, {
|
|
236
|
+
* value: "value",
|
|
285
237
|
* use: "HOME"
|
|
286
238
|
* }],
|
|
287
|
-
* email: "string",
|
|
288
|
-
* electronicCommunicationOptIn: true,
|
|
289
|
-
* photo: "string",
|
|
290
|
-
* language: "string",
|
|
291
|
-
* externalProvenance: {
|
|
292
|
-
* externalId: "string",
|
|
293
|
-
* systemName: "string"
|
|
294
|
-
* },
|
|
295
239
|
* contacts: [{
|
|
296
|
-
* relationship: ["SELF"],
|
|
240
|
+
* relationship: ["SELF", "SELF"],
|
|
297
241
|
* name: {
|
|
298
|
-
* family: "
|
|
299
|
-
* given: ["
|
|
300
|
-
* use: "USUAL"
|
|
301
|
-
* period: {},
|
|
302
|
-
* suffix: "string"
|
|
242
|
+
* family: "family",
|
|
243
|
+
* given: ["given", "given"],
|
|
244
|
+
* use: "USUAL"
|
|
303
245
|
* },
|
|
304
246
|
* telecoms: [{
|
|
305
|
-
* value: "
|
|
247
|
+
* value: "value",
|
|
248
|
+
* use: "HOME"
|
|
249
|
+
* }, {
|
|
250
|
+
* value: "value",
|
|
306
251
|
* use: "HOME"
|
|
307
252
|
* }],
|
|
308
253
|
* addresses: [{
|
|
309
254
|
* use: "HOME",
|
|
310
|
-
* line: ["
|
|
311
|
-
* city: "
|
|
312
|
-
* state: "
|
|
313
|
-
* postalCode: "
|
|
314
|
-
* country: "
|
|
315
|
-
*
|
|
255
|
+
* line: ["line", "line"],
|
|
256
|
+
* city: "city",
|
|
257
|
+
* state: "state",
|
|
258
|
+
* postalCode: "postal_code",
|
|
259
|
+
* country: "country"
|
|
260
|
+
* }, {
|
|
261
|
+
* use: "HOME",
|
|
262
|
+
* line: ["line", "line"],
|
|
263
|
+
* city: "city",
|
|
264
|
+
* state: "state",
|
|
265
|
+
* postalCode: "postal_code",
|
|
266
|
+
* country: "country"
|
|
267
|
+
* }]
|
|
268
|
+
* }, {
|
|
269
|
+
* relationship: ["SELF", "SELF"],
|
|
270
|
+
* name: {
|
|
271
|
+
* family: "family",
|
|
272
|
+
* given: ["given", "given"],
|
|
273
|
+
* use: "USUAL"
|
|
274
|
+
* },
|
|
275
|
+
* telecoms: [{
|
|
276
|
+
* value: "value",
|
|
277
|
+
* use: "HOME"
|
|
278
|
+
* }, {
|
|
279
|
+
* value: "value",
|
|
280
|
+
* use: "HOME"
|
|
316
281
|
* }],
|
|
317
|
-
*
|
|
318
|
-
*
|
|
282
|
+
* addresses: [{
|
|
283
|
+
* use: "HOME",
|
|
284
|
+
* line: ["line", "line"],
|
|
285
|
+
* city: "city",
|
|
286
|
+
* state: "state",
|
|
287
|
+
* postalCode: "postal_code",
|
|
288
|
+
* country: "country"
|
|
289
|
+
* }, {
|
|
290
|
+
* use: "HOME",
|
|
291
|
+
* line: ["line", "line"],
|
|
292
|
+
* city: "city",
|
|
293
|
+
* state: "state",
|
|
294
|
+
* postalCode: "postal_code",
|
|
295
|
+
* country: "country"
|
|
296
|
+
* }]
|
|
319
297
|
* }],
|
|
320
298
|
* generalPractitioners: [{
|
|
321
299
|
* name: {
|
|
322
|
-
* family: "
|
|
323
|
-
* given: ["
|
|
324
|
-
* use: "USUAL"
|
|
325
|
-
* period: {},
|
|
326
|
-
* suffix: "string"
|
|
300
|
+
* family: "family",
|
|
301
|
+
* given: ["given", "given"],
|
|
302
|
+
* use: "USUAL"
|
|
327
303
|
* },
|
|
328
|
-
* type: "PRIMARY",
|
|
329
|
-
* npi: "string",
|
|
330
304
|
* telecoms: [{
|
|
331
|
-
* value: "
|
|
305
|
+
* value: "value",
|
|
332
306
|
* use: "HOME"
|
|
333
|
-
* }
|
|
334
|
-
*
|
|
335
|
-
*
|
|
336
|
-
*
|
|
337
|
-
*
|
|
307
|
+
* }, {
|
|
308
|
+
* value: "value",
|
|
309
|
+
* use: "HOME"
|
|
310
|
+
* }]
|
|
311
|
+
* }, {
|
|
312
|
+
* name: {
|
|
313
|
+
* family: "family",
|
|
314
|
+
* given: ["given", "given"],
|
|
315
|
+
* use: "USUAL"
|
|
316
|
+
* },
|
|
317
|
+
* telecoms: [{
|
|
318
|
+
* value: "value",
|
|
319
|
+
* use: "HOME"
|
|
320
|
+
* }, {
|
|
321
|
+
* value: "value",
|
|
322
|
+
* use: "HOME"
|
|
323
|
+
* }]
|
|
338
324
|
* }],
|
|
339
325
|
* filingOrder: {
|
|
340
|
-
* coverages: [CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
|
|
341
|
-
* },
|
|
342
|
-
* nonInsurancePayers: [CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")],
|
|
343
|
-
* nonInsurancePayerAssociations: [{
|
|
344
|
-
* id: CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")
|
|
345
|
-
* }],
|
|
346
|
-
* guarantor: {
|
|
347
|
-
* name: {
|
|
348
|
-
* family: "string",
|
|
349
|
-
* given: ["string"],
|
|
350
|
-
* use: "USUAL",
|
|
351
|
-
* period: {},
|
|
352
|
-
* suffix: "string"
|
|
353
|
-
* },
|
|
354
|
-
* telecom: {
|
|
355
|
-
* value: "string",
|
|
356
|
-
* use: "HOME"
|
|
357
|
-
* },
|
|
358
|
-
* email: "string",
|
|
359
|
-
* birthDate: "2023-01-15",
|
|
360
|
-
* address: {
|
|
361
|
-
* use: "HOME",
|
|
362
|
-
* line: ["string"],
|
|
363
|
-
* city: "string",
|
|
364
|
-
* state: "string",
|
|
365
|
-
* postalCode: "string",
|
|
366
|
-
* country: "string",
|
|
367
|
-
* period: {}
|
|
368
|
-
* }
|
|
326
|
+
* coverages: [CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
|
|
369
327
|
* },
|
|
370
|
-
*
|
|
371
|
-
* authorizations: [{
|
|
372
|
-
* payerId: CandidApi.preEncounter.PayerId("string"),
|
|
373
|
-
* payerName: "string",
|
|
374
|
-
* additionalPayerInformation: {},
|
|
375
|
-
* authorizationNumber: "string",
|
|
376
|
-
* cptCode: "string",
|
|
377
|
-
* applyForAllCptCodes: true,
|
|
378
|
-
* units: "VISIT",
|
|
379
|
-
* quantity: 1,
|
|
380
|
-
* period: {},
|
|
381
|
-
* notes: "string"
|
|
382
|
-
* }],
|
|
383
|
-
* referrals: [{
|
|
384
|
-
* provider: {
|
|
385
|
-
* name: {
|
|
386
|
-
* family: "string",
|
|
387
|
-
* given: ["string"],
|
|
388
|
-
* use: "USUAL",
|
|
389
|
-
* period: {},
|
|
390
|
-
* suffix: "string"
|
|
391
|
-
* },
|
|
392
|
-
* type: "PRIMARY",
|
|
393
|
-
* npi: "string",
|
|
394
|
-
* telecoms: [{
|
|
395
|
-
* value: "string",
|
|
396
|
-
* use: "HOME"
|
|
397
|
-
* }],
|
|
398
|
-
* addresses: [],
|
|
399
|
-
* period: {},
|
|
400
|
-
* canonicalId: CandidApi.preEncounter.CanonicalProviderId("string"),
|
|
401
|
-
* fax: "string"
|
|
402
|
-
* },
|
|
403
|
-
* referralNumber: "string"
|
|
404
|
-
* }],
|
|
405
|
-
* primaryServiceFacilityId: "string",
|
|
406
|
-
* doNotInvoiceReason: "BANKRUPTCY",
|
|
407
|
-
* noteIds: [CandidApi.preEncounter.NoteId("string")],
|
|
408
|
-
* tagIds: [CandidApi.preEncounter.TagId("string")]
|
|
328
|
+
* mrn: "mrn"
|
|
409
329
|
* }
|
|
410
330
|
* })
|
|
411
331
|
*/
|
|
@@ -417,24 +337,18 @@ export declare class V1 {
|
|
|
417
337
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
418
338
|
*
|
|
419
339
|
* @example
|
|
420
|
-
* await client.preEncounter.patients.v1.getMulti(
|
|
421
|
-
* limit: 1,
|
|
422
|
-
* mrn: "string",
|
|
423
|
-
* pageToken: CandidApi.preEncounter.PageToken("string"),
|
|
424
|
-
* sortField: CandidApi.preEncounter.patients.v1.PatientSortField("string"),
|
|
425
|
-
* sortDirection: "asc"
|
|
426
|
-
* })
|
|
340
|
+
* await client.preEncounter.patients.v1.getMulti()
|
|
427
341
|
*/
|
|
428
342
|
getMulti(request?: CandidApi.preEncounter.patients.v1.PatientsSearchRequestPaginated, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.patients.v1.PatientPage, CandidApi.preEncounter.patients.v1.getMulti.Error>>;
|
|
429
343
|
/**
|
|
430
|
-
* Searches for referring providers that match the query parameters.
|
|
344
|
+
* Searches for referring providers that match the query parameters. The search is case-insensitive, supports fuzzy matching, and matches against provider name and NPI. The search criteria must be an alphanumeric string, and the search is limited to the first 20 results.
|
|
431
345
|
*
|
|
432
346
|
* @param {CandidApi.preEncounter.patients.v1.SearchProvidersRequest} request
|
|
433
347
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
434
348
|
*
|
|
435
349
|
* @example
|
|
436
350
|
* await client.preEncounter.patients.v1.searchProviders({
|
|
437
|
-
* searchCriteria: "
|
|
351
|
+
* searchCriteria: "search_criteria"
|
|
438
352
|
* })
|
|
439
353
|
*/
|
|
440
354
|
searchProviders(request: CandidApi.preEncounter.patients.v1.SearchProvidersRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.ExternalProvider[], CandidApi.preEncounter.patients.v1.searchProviders.Error>>;
|
|
@@ -445,21 +359,21 @@ export declare class V1 {
|
|
|
445
359
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
446
360
|
*
|
|
447
361
|
* @example
|
|
448
|
-
* await client.preEncounter.patients.v1.get(CandidApi.preEncounter.PatientId("
|
|
362
|
+
* await client.preEncounter.patients.v1.get(CandidApi.preEncounter.PatientId("id"))
|
|
449
363
|
*/
|
|
450
364
|
get(id: CandidApi.preEncounter.PatientId, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.patients.v1.Patient, CandidApi.preEncounter.patients.v1.get.Error>>;
|
|
451
365
|
/**
|
|
452
|
-
* Gets a patient along with it's full history.
|
|
366
|
+
* Gets a patient along with it's full history. The return list is ordered by version ascending.
|
|
453
367
|
*
|
|
454
368
|
* @param {CandidApi.preEncounter.PatientId} id
|
|
455
369
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
456
370
|
*
|
|
457
371
|
* @example
|
|
458
|
-
* await client.preEncounter.patients.v1.getHistory(CandidApi.preEncounter.PatientId("
|
|
372
|
+
* await client.preEncounter.patients.v1.getHistory(CandidApi.preEncounter.PatientId("id"))
|
|
459
373
|
*/
|
|
460
374
|
getHistory(id: CandidApi.preEncounter.PatientId, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.patients.v1.Patient[], CandidApi.preEncounter.patients.v1.getHistory.Error>>;
|
|
461
375
|
/**
|
|
462
|
-
* Updates a patient.
|
|
376
|
+
* Updates a patient. The path must contain the most recent version to prevent race conditions. Updating historic versions is not supported.
|
|
463
377
|
*
|
|
464
378
|
* @param {CandidApi.preEncounter.PatientId} id
|
|
465
379
|
* @param {string} version
|
|
@@ -467,208 +381,169 @@ export declare class V1 {
|
|
|
467
381
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
468
382
|
*
|
|
469
383
|
* @example
|
|
470
|
-
* await client.preEncounter.patients.v1.update(CandidApi.preEncounter.PatientId("
|
|
384
|
+
* await client.preEncounter.patients.v1.update(CandidApi.preEncounter.PatientId("id"), "version", {
|
|
471
385
|
* name: {
|
|
472
|
-
* family: "
|
|
473
|
-
* given: ["
|
|
474
|
-
* use: "USUAL"
|
|
475
|
-
* period: {},
|
|
476
|
-
* suffix: "string"
|
|
386
|
+
* family: "family",
|
|
387
|
+
* given: ["given", "given"],
|
|
388
|
+
* use: "USUAL"
|
|
477
389
|
* },
|
|
478
390
|
* otherNames: [{
|
|
479
|
-
* family: "
|
|
480
|
-
* given: ["
|
|
481
|
-
* use: "USUAL"
|
|
482
|
-
*
|
|
483
|
-
*
|
|
484
|
-
*
|
|
485
|
-
*
|
|
486
|
-
* value: "string",
|
|
487
|
-
* system: "string"
|
|
391
|
+
* family: "family",
|
|
392
|
+
* given: ["given", "given"],
|
|
393
|
+
* use: "USUAL"
|
|
394
|
+
* }, {
|
|
395
|
+
* family: "family",
|
|
396
|
+
* given: ["given", "given"],
|
|
397
|
+
* use: "USUAL"
|
|
488
398
|
* }],
|
|
489
|
-
* gender: "MAN",
|
|
490
399
|
* birthDate: "2023-01-15",
|
|
491
|
-
* socialSecurityNumber: "string",
|
|
492
400
|
* biologicalSex: "FEMALE",
|
|
493
|
-
* sexualOrientation: "HETEROSEXUAL",
|
|
494
|
-
* pronouns: ["string"],
|
|
495
|
-
* race: "AMERICAN_INDIAN_OR_ALASKA_NATIVE",
|
|
496
|
-
* ethnicity: "HISPANIC_OR_LATINO",
|
|
497
|
-
* disabilityStatus: "DISABLED",
|
|
498
|
-
* maritalStatus: "ANNULLED",
|
|
499
|
-
* deceased: "2024-01-15T09:30:00Z",
|
|
500
|
-
* multipleBirth: 1,
|
|
501
401
|
* primaryAddress: {
|
|
502
402
|
* use: "HOME",
|
|
503
|
-
* line: ["
|
|
504
|
-
* city: "
|
|
505
|
-
* state: "
|
|
506
|
-
* postalCode: "
|
|
507
|
-
* country: "
|
|
508
|
-
* period: {}
|
|
403
|
+
* line: ["line", "line"],
|
|
404
|
+
* city: "city",
|
|
405
|
+
* state: "state",
|
|
406
|
+
* postalCode: "postal_code",
|
|
407
|
+
* country: "country"
|
|
509
408
|
* },
|
|
510
409
|
* otherAddresses: [{
|
|
511
410
|
* use: "HOME",
|
|
512
|
-
* line: ["
|
|
513
|
-
* city: "
|
|
514
|
-
* state: "
|
|
515
|
-
* postalCode: "
|
|
516
|
-
* country: "
|
|
517
|
-
*
|
|
411
|
+
* line: ["line", "line"],
|
|
412
|
+
* city: "city",
|
|
413
|
+
* state: "state",
|
|
414
|
+
* postalCode: "postal_code",
|
|
415
|
+
* country: "country"
|
|
416
|
+
* }, {
|
|
417
|
+
* use: "HOME",
|
|
418
|
+
* line: ["line", "line"],
|
|
419
|
+
* city: "city",
|
|
420
|
+
* state: "state",
|
|
421
|
+
* postalCode: "postal_code",
|
|
422
|
+
* country: "country"
|
|
518
423
|
* }],
|
|
519
424
|
* primaryTelecom: {
|
|
520
|
-
* value: "
|
|
425
|
+
* value: "value",
|
|
521
426
|
* use: "HOME"
|
|
522
427
|
* },
|
|
523
428
|
* otherTelecoms: [{
|
|
524
|
-
* value: "
|
|
429
|
+
* value: "value",
|
|
430
|
+
* use: "HOME"
|
|
431
|
+
* }, {
|
|
432
|
+
* value: "value",
|
|
525
433
|
* use: "HOME"
|
|
526
434
|
* }],
|
|
527
|
-
* email: "string",
|
|
528
|
-
* electronicCommunicationOptIn: true,
|
|
529
|
-
* photo: "string",
|
|
530
|
-
* language: "string",
|
|
531
|
-
* externalProvenance: {
|
|
532
|
-
* externalId: "string",
|
|
533
|
-
* systemName: "string"
|
|
534
|
-
* },
|
|
535
435
|
* contacts: [{
|
|
536
|
-
* relationship: ["SELF"],
|
|
436
|
+
* relationship: ["SELF", "SELF"],
|
|
537
437
|
* name: {
|
|
538
|
-
* family: "
|
|
539
|
-
* given: ["
|
|
540
|
-
* use: "USUAL"
|
|
541
|
-
* period: {},
|
|
542
|
-
* suffix: "string"
|
|
438
|
+
* family: "family",
|
|
439
|
+
* given: ["given", "given"],
|
|
440
|
+
* use: "USUAL"
|
|
543
441
|
* },
|
|
544
442
|
* telecoms: [{
|
|
545
|
-
* value: "
|
|
443
|
+
* value: "value",
|
|
444
|
+
* use: "HOME"
|
|
445
|
+
* }, {
|
|
446
|
+
* value: "value",
|
|
546
447
|
* use: "HOME"
|
|
547
448
|
* }],
|
|
548
449
|
* addresses: [{
|
|
549
450
|
* use: "HOME",
|
|
550
|
-
* line: ["
|
|
551
|
-
* city: "
|
|
552
|
-
* state: "
|
|
553
|
-
* postalCode: "
|
|
554
|
-
* country: "
|
|
555
|
-
*
|
|
451
|
+
* line: ["line", "line"],
|
|
452
|
+
* city: "city",
|
|
453
|
+
* state: "state",
|
|
454
|
+
* postalCode: "postal_code",
|
|
455
|
+
* country: "country"
|
|
456
|
+
* }, {
|
|
457
|
+
* use: "HOME",
|
|
458
|
+
* line: ["line", "line"],
|
|
459
|
+
* city: "city",
|
|
460
|
+
* state: "state",
|
|
461
|
+
* postalCode: "postal_code",
|
|
462
|
+
* country: "country"
|
|
463
|
+
* }]
|
|
464
|
+
* }, {
|
|
465
|
+
* relationship: ["SELF", "SELF"],
|
|
466
|
+
* name: {
|
|
467
|
+
* family: "family",
|
|
468
|
+
* given: ["given", "given"],
|
|
469
|
+
* use: "USUAL"
|
|
470
|
+
* },
|
|
471
|
+
* telecoms: [{
|
|
472
|
+
* value: "value",
|
|
473
|
+
* use: "HOME"
|
|
474
|
+
* }, {
|
|
475
|
+
* value: "value",
|
|
476
|
+
* use: "HOME"
|
|
556
477
|
* }],
|
|
557
|
-
*
|
|
558
|
-
*
|
|
478
|
+
* addresses: [{
|
|
479
|
+
* use: "HOME",
|
|
480
|
+
* line: ["line", "line"],
|
|
481
|
+
* city: "city",
|
|
482
|
+
* state: "state",
|
|
483
|
+
* postalCode: "postal_code",
|
|
484
|
+
* country: "country"
|
|
485
|
+
* }, {
|
|
486
|
+
* use: "HOME",
|
|
487
|
+
* line: ["line", "line"],
|
|
488
|
+
* city: "city",
|
|
489
|
+
* state: "state",
|
|
490
|
+
* postalCode: "postal_code",
|
|
491
|
+
* country: "country"
|
|
492
|
+
* }]
|
|
559
493
|
* }],
|
|
560
494
|
* generalPractitioners: [{
|
|
561
495
|
* name: {
|
|
562
|
-
* family: "
|
|
563
|
-
* given: ["
|
|
564
|
-
* use: "USUAL"
|
|
565
|
-
* period: {},
|
|
566
|
-
* suffix: "string"
|
|
496
|
+
* family: "family",
|
|
497
|
+
* given: ["given", "given"],
|
|
498
|
+
* use: "USUAL"
|
|
567
499
|
* },
|
|
568
|
-
* type: "PRIMARY",
|
|
569
|
-
* npi: "string",
|
|
570
500
|
* telecoms: [{
|
|
571
|
-
* value: "
|
|
501
|
+
* value: "value",
|
|
572
502
|
* use: "HOME"
|
|
573
|
-
* }
|
|
574
|
-
*
|
|
575
|
-
*
|
|
576
|
-
*
|
|
577
|
-
*
|
|
578
|
-
*
|
|
579
|
-
*
|
|
580
|
-
*
|
|
581
|
-
*
|
|
582
|
-
* nonInsurancePayers: [CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")],
|
|
583
|
-
* nonInsurancePayerAssociations: [{
|
|
584
|
-
* id: CandidApi.preEncounter.CanonicalNonInsurancePayerId("string")
|
|
585
|
-
* }],
|
|
586
|
-
* guarantor: {
|
|
587
|
-
* name: {
|
|
588
|
-
* family: "string",
|
|
589
|
-
* given: ["string"],
|
|
590
|
-
* use: "USUAL",
|
|
591
|
-
* period: {},
|
|
592
|
-
* suffix: "string"
|
|
593
|
-
* },
|
|
594
|
-
* telecom: {
|
|
595
|
-
* value: "string",
|
|
596
|
-
* use: "HOME"
|
|
597
|
-
* },
|
|
598
|
-
* email: "string",
|
|
599
|
-
* birthDate: "2023-01-15",
|
|
600
|
-
* address: {
|
|
601
|
-
* use: "HOME",
|
|
602
|
-
* line: ["string"],
|
|
603
|
-
* city: "string",
|
|
604
|
-
* state: "string",
|
|
605
|
-
* postalCode: "string",
|
|
606
|
-
* country: "string",
|
|
607
|
-
* period: {}
|
|
608
|
-
* }
|
|
609
|
-
* },
|
|
610
|
-
* selfPay: true,
|
|
611
|
-
* authorizations: [{
|
|
612
|
-
* payerId: CandidApi.preEncounter.PayerId("string"),
|
|
613
|
-
* payerName: "string",
|
|
614
|
-
* additionalPayerInformation: {},
|
|
615
|
-
* authorizationNumber: "string",
|
|
616
|
-
* cptCode: "string",
|
|
617
|
-
* applyForAllCptCodes: true,
|
|
618
|
-
* units: "VISIT",
|
|
619
|
-
* quantity: 1,
|
|
620
|
-
* period: {},
|
|
621
|
-
* notes: "string"
|
|
622
|
-
* }],
|
|
623
|
-
* referrals: [{
|
|
624
|
-
* provider: {
|
|
625
|
-
* name: {
|
|
626
|
-
* family: "string",
|
|
627
|
-
* given: ["string"],
|
|
628
|
-
* use: "USUAL",
|
|
629
|
-
* period: {},
|
|
630
|
-
* suffix: "string"
|
|
631
|
-
* },
|
|
632
|
-
* type: "PRIMARY",
|
|
633
|
-
* npi: "string",
|
|
634
|
-
* telecoms: [{
|
|
635
|
-
* value: "string",
|
|
636
|
-
* use: "HOME"
|
|
637
|
-
* }],
|
|
638
|
-
* addresses: [],
|
|
639
|
-
* period: {},
|
|
640
|
-
* canonicalId: CandidApi.preEncounter.CanonicalProviderId("string"),
|
|
641
|
-
* fax: "string"
|
|
503
|
+
* }, {
|
|
504
|
+
* value: "value",
|
|
505
|
+
* use: "HOME"
|
|
506
|
+
* }]
|
|
507
|
+
* }, {
|
|
508
|
+
* name: {
|
|
509
|
+
* family: "family",
|
|
510
|
+
* given: ["given", "given"],
|
|
511
|
+
* use: "USUAL"
|
|
642
512
|
* },
|
|
643
|
-
*
|
|
513
|
+
* telecoms: [{
|
|
514
|
+
* value: "value",
|
|
515
|
+
* use: "HOME"
|
|
516
|
+
* }, {
|
|
517
|
+
* value: "value",
|
|
518
|
+
* use: "HOME"
|
|
519
|
+
* }]
|
|
644
520
|
* }],
|
|
645
|
-
*
|
|
646
|
-
*
|
|
647
|
-
*
|
|
648
|
-
* tagIds: [CandidApi.preEncounter.TagId("string")]
|
|
521
|
+
* filingOrder: {
|
|
522
|
+
* coverages: [CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"), CandidApi.preEncounter.CoverageId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")]
|
|
523
|
+
* }
|
|
649
524
|
* })
|
|
650
525
|
*/
|
|
651
526
|
update(id: CandidApi.preEncounter.PatientId, version: string, request: CandidApi.preEncounter.patients.v1.MutablePatient, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.patients.v1.Patient, CandidApi.preEncounter.patients.v1.update.Error>>;
|
|
652
527
|
/**
|
|
653
|
-
* Sets a patient as deactivated.
|
|
528
|
+
* Sets a patient as deactivated. The path must contain the most recent version plus 1 to prevent race conditions. Deactivating historic versions is not supported.
|
|
654
529
|
*
|
|
655
530
|
* @param {CandidApi.preEncounter.PatientId} id
|
|
656
531
|
* @param {string} version
|
|
657
532
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
658
533
|
*
|
|
659
534
|
* @example
|
|
660
|
-
* await client.preEncounter.patients.v1.deactivate(CandidApi.preEncounter.PatientId("
|
|
535
|
+
* await client.preEncounter.patients.v1.deactivate(CandidApi.preEncounter.PatientId("id"), "version")
|
|
661
536
|
*/
|
|
662
537
|
deactivate(id: CandidApi.preEncounter.PatientId, version: string, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<void, CandidApi.preEncounter.patients.v1.deactivate.Error>>;
|
|
663
538
|
/**
|
|
664
|
-
* Removes the deactivated flag for a patient.
|
|
539
|
+
* Removes the deactivated flag for a patient. The path must contain the most recent version plus 1 to prevent race conditions. Reactivating historic versions is not supported.
|
|
665
540
|
*
|
|
666
541
|
* @param {CandidApi.preEncounter.PatientId} id
|
|
667
542
|
* @param {string} version
|
|
668
543
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
669
544
|
*
|
|
670
545
|
* @example
|
|
671
|
-
* await client.preEncounter.patients.v1.reactivate(CandidApi.preEncounter.PatientId("
|
|
546
|
+
* await client.preEncounter.patients.v1.reactivate(CandidApi.preEncounter.PatientId("id"), "version")
|
|
672
547
|
*/
|
|
673
548
|
reactivate(id: CandidApi.preEncounter.PatientId, version: string, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<void, CandidApi.preEncounter.patients.v1.reactivate.Error>>;
|
|
674
549
|
/**
|
|
@@ -678,14 +553,11 @@ export declare class V1 {
|
|
|
678
553
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
679
554
|
*
|
|
680
555
|
* @example
|
|
681
|
-
* await client.preEncounter.patients.v1.search(
|
|
682
|
-
* mrn: "string",
|
|
683
|
-
* similarNameOrdering: "string"
|
|
684
|
-
* })
|
|
556
|
+
* await client.preEncounter.patients.v1.search()
|
|
685
557
|
*/
|
|
686
558
|
search(request?: CandidApi.preEncounter.patients.v1.PatientGetMultiRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.patients.v1.Patient[], CandidApi.preEncounter.patients.v1.search.Error>>;
|
|
687
559
|
/**
|
|
688
|
-
* Scans up to 100 patient updates.
|
|
560
|
+
* Scans up to 100 patient updates. The since query parameter is inclusive, and the result list is ordered by updatedAt ascending.
|
|
689
561
|
*
|
|
690
562
|
* @param {CandidApi.preEncounter.patients.v1.PatientScanRequest} request
|
|
691
563
|
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|