candidhealth 0.39.11 → 0.40.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/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/api/resources/chargeCapture/resources/v1/client/Client.js +5 -5
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
- package/api/resources/claims/types/Claim.d.ts +3 -0
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/diagnoses/client/Client.js +3 -3
- package/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/api/resources/encounters/resources/v4/client/Client.d.ts +4 -0
- package/api/resources/encounters/resources/v4/client/Client.js +9 -5
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +9 -0
- package/api/resources/encounters/resources/v4/types/ClaimSupplementalInformation.d.ts +9 -0
- package/api/resources/encounters/resources/v4/types/ClaimSupplementalInformation.js +5 -0
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +5 -0
- package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -0
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +3 -0
- package/api/resources/encounters/resources/v4/types/ReportTransmissionCode.d.ts +14 -0
- package/api/resources/encounters/resources/v4/types/ReportTransmissionCode.js +10 -0
- package/api/resources/encounters/resources/v4/types/ReportTypeCode.d.ts +250 -0
- package/api/resources/encounters/resources/v4/types/ReportTypeCode.js +69 -0
- package/api/resources/encounters/resources/v4/types/index.d.ts +3 -0
- package/api/resources/encounters/resources/v4/types/index.js +3 -0
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +6 -1
- package/api/resources/nonInsurancePayers/resources/v1/client/Client.js +12 -7
- package/api/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/client/Client.d.ts +3 -0
- package/api/resources/preEncounter/client/Client.js +13 -8
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +4 -2
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +11 -9
- package/api/resources/preEncounter/resources/common/types/HumanName.d.ts +1 -0
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +4 -2
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +13 -11
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
- package/api/resources/preEncounter/resources/images/client/Client.d.ts +30 -0
- package/api/resources/preEncounter/resources/images/client/Client.js +17 -0
- package/api/resources/preEncounter/resources/images/client/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/images/client/index.js +2 -0
- package/api/resources/preEncounter/resources/images/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/images/index.js +18 -0
- package/api/resources/preEncounter/resources/images/resources/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/images/resources/index.js +37 -0
- package/api/resources/preEncounter/resources/images/resources/v1/client/Client.d.ts +111 -0
- package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +366 -0
- package/api/resources/preEncounter/resources/images/resources/v1/client/create.d.ts +28 -0
- package/api/resources/preEncounter/resources/images/resources/v1/client/create.js +68 -0
- package/api/resources/preEncounter/resources/images/resources/v1/client/deactivate.d.ts +34 -0
- package/api/resources/preEncounter/resources/images/resources/v1/client/deactivate.js +79 -0
- package/api/resources/preEncounter/resources/images/resources/v1/client/get.d.ts +28 -0
- package/api/resources/preEncounter/resources/images/resources/v1/client/get.js +68 -0
- package/api/resources/preEncounter/resources/images/resources/v1/client/getMulti.d.ts +22 -0
- package/api/resources/preEncounter/resources/images/resources/v1/client/getMulti.js +57 -0
- package/api/resources/preEncounter/resources/images/resources/v1/client/index.d.ts +6 -0
- package/api/resources/preEncounter/resources/images/resources/v1/client/index.js +45 -0
- package/api/resources/preEncounter/resources/images/resources/v1/client/requests/ImageGetMultiRequest.d.ts +14 -0
- package/api/resources/preEncounter/resources/images/resources/v1/client/requests/ImageGetMultiRequest.js +5 -0
- package/api/resources/preEncounter/resources/images/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/images/resources/v1/client/requests/index.js +2 -0
- package/api/resources/preEncounter/resources/images/resources/v1/client/update.d.ts +34 -0
- package/api/resources/preEncounter/resources/images/resources/v1/client/update.js +79 -0
- package/api/resources/preEncounter/resources/images/resources/v1/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/images/resources/v1/index.js +18 -0
- package/api/resources/preEncounter/resources/images/resources/v1/types/CoverageAssociation.d.ts +11 -0
- package/api/resources/preEncounter/resources/images/resources/v1/types/CoverageAssociation.js +5 -0
- package/api/resources/preEncounter/resources/images/resources/v1/types/CoverageImageSide.d.ts +8 -0
- package/api/resources/preEncounter/resources/images/resources/v1/types/CoverageImageSide.js +10 -0
- package/api/resources/preEncounter/resources/images/resources/v1/types/Image.d.ts +12 -0
- package/api/resources/preEncounter/resources/images/resources/v1/types/Image.js +5 -0
- package/api/resources/preEncounter/resources/images/resources/v1/types/ImageId.d.ts +11 -0
- package/api/resources/preEncounter/resources/images/resources/v1/types/ImageId.js +9 -0
- package/api/resources/preEncounter/resources/images/resources/v1/types/ImageStatus.d.ts +9 -0
- package/api/resources/preEncounter/resources/images/resources/v1/types/ImageStatus.js +11 -0
- package/api/resources/preEncounter/resources/images/resources/v1/types/MutableImage.d.ts +15 -0
- package/api/resources/preEncounter/resources/images/resources/v1/types/MutableImage.js +5 -0
- package/api/resources/preEncounter/resources/images/resources/v1/types/PatientAssociation.d.ts +11 -0
- package/api/resources/preEncounter/resources/images/resources/v1/types/PatientAssociation.js +5 -0
- package/api/resources/preEncounter/resources/images/resources/v1/types/index.d.ts +7 -0
- package/api/resources/preEncounter/resources/images/resources/v1/types/index.js +23 -0
- package/api/resources/preEncounter/resources/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/index.js +2 -1
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +51 -18
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +94 -28
- package/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +13 -6
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +13 -6
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/SearchProvidersRequest.d.ts +12 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/SearchProvidersRequest.js +5 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/searchProviders.d.ts +22 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/searchProviders.js +57 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +2 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +7 -1
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +4 -1
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +4 -1
- package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +3 -3
- package/api/resources/serviceLines/resources/v2/types/TestResultType.d.ts +2 -1
- package/api/resources/serviceLines/resources/v2/types/TestResultType.js +1 -0
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
- package/api/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOff.d.ts +15 -0
- package/api/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOff.js +5 -0
- package/api/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOffCreate.d.ts +12 -0
- package/api/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOffCreate.js +5 -0
- package/api/resources/writeOffs/resources/v1/types/WriteOff.d.ts +4 -1
- package/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +4 -1
- package/api/resources/writeOffs/resources/v1/types/index.d.ts +2 -0
- package/api/resources/writeOffs/resources/v1/types/index.js +2 -0
- package/api/resources/x12/resources/v1/types/Rarc.d.ts +115 -1
- package/api/resources/x12/resources/v1/types/Rarc.js +114 -0
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/claims/types/Claim.d.ts +3 -0
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/diagnoses/client/Client.js +3 -3
- package/dist/api/resources/eligibility/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +4 -0
- package/dist/api/resources/encounters/resources/v4/client/Client.js +9 -5
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +9 -0
- package/dist/api/resources/encounters/resources/v4/types/ClaimSupplementalInformation.d.ts +9 -0
- package/dist/api/resources/encounters/resources/v4/types/ClaimSupplementalInformation.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +5 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +3 -0
- package/dist/api/resources/encounters/resources/v4/types/ReportTransmissionCode.d.ts +14 -0
- package/dist/api/resources/encounters/resources/v4/types/ReportTransmissionCode.js +10 -0
- package/dist/api/resources/encounters/resources/v4/types/ReportTypeCode.d.ts +250 -0
- package/dist/api/resources/encounters/resources/v4/types/ReportTypeCode.js +69 -0
- package/dist/api/resources/encounters/resources/v4/types/index.d.ts +3 -0
- package/dist/api/resources/encounters/resources/v4/types/index.js +3 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/nonInsurancePayerPayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayerRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.d.ts +6 -1
- package/dist/api/resources/nonInsurancePayers/resources/v1/client/Client.js +12 -7
- package/dist/api/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/client/Client.d.ts +3 -0
- package/dist/api/resources/preEncounter/client/Client.js +13 -8
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.d.ts +4 -2
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +11 -9
- package/dist/api/resources/preEncounter/resources/common/types/HumanName.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +4 -2
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +13 -11
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/preEncounter/resources/images/client/Client.d.ts +30 -0
- package/dist/api/resources/preEncounter/resources/images/client/Client.js +17 -0
- package/dist/api/resources/preEncounter/resources/images/client/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/images/client/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/images/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/images/index.js +18 -0
- package/dist/api/resources/preEncounter/resources/images/resources/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/images/resources/index.js +37 -0
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.d.ts +111 -0
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +366 -0
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/create.d.ts +28 -0
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/create.js +68 -0
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/deactivate.d.ts +34 -0
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/deactivate.js +79 -0
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/get.d.ts +28 -0
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/get.js +68 -0
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/getMulti.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/getMulti.js +57 -0
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/index.d.ts +6 -0
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/index.js +45 -0
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/requests/ImageGetMultiRequest.d.ts +14 -0
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/requests/ImageGetMultiRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/requests/index.js +2 -0
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/update.d.ts +34 -0
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/update.js +79 -0
- package/dist/api/resources/preEncounter/resources/images/resources/v1/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/images/resources/v1/index.js +18 -0
- package/dist/api/resources/preEncounter/resources/images/resources/v1/types/CoverageAssociation.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/images/resources/v1/types/CoverageAssociation.js +5 -0
- package/dist/api/resources/preEncounter/resources/images/resources/v1/types/CoverageImageSide.d.ts +8 -0
- package/dist/api/resources/preEncounter/resources/images/resources/v1/types/CoverageImageSide.js +10 -0
- package/dist/api/resources/preEncounter/resources/images/resources/v1/types/Image.d.ts +12 -0
- package/dist/api/resources/preEncounter/resources/images/resources/v1/types/Image.js +5 -0
- package/dist/api/resources/preEncounter/resources/images/resources/v1/types/ImageId.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/images/resources/v1/types/ImageId.js +9 -0
- package/dist/api/resources/preEncounter/resources/images/resources/v1/types/ImageStatus.d.ts +9 -0
- package/dist/api/resources/preEncounter/resources/images/resources/v1/types/ImageStatus.js +11 -0
- package/dist/api/resources/preEncounter/resources/images/resources/v1/types/MutableImage.d.ts +15 -0
- package/dist/api/resources/preEncounter/resources/images/resources/v1/types/MutableImage.js +5 -0
- package/dist/api/resources/preEncounter/resources/images/resources/v1/types/PatientAssociation.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/images/resources/v1/types/PatientAssociation.js +5 -0
- package/dist/api/resources/preEncounter/resources/images/resources/v1/types/index.d.ts +7 -0
- package/dist/api/resources/preEncounter/resources/images/resources/v1/types/index.js +23 -0
- package/dist/api/resources/preEncounter/resources/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/index.js +2 -1
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/notes/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.d.ts +51 -18
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +94 -28
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientRequest.d.ts +13 -6
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +13 -6
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/SearchProvidersRequest.d.ts +12 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/SearchProvidersRequest.js +5 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/searchProviders.d.ts +22 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/searchProviders.js +57 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +7 -1
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +4 -1
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +4 -1
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +3 -3
- package/dist/api/resources/serviceLines/resources/v2/types/TestResultType.d.ts +2 -1
- package/dist/api/resources/serviceLines/resources/v2/types/TestResultType.js +1 -0
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOff.d.ts +15 -0
- package/dist/api/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOff.js +5 -0
- package/dist/api/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOffCreate.d.ts +12 -0
- package/dist/api/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOffCreate.js +5 -0
- package/dist/api/resources/writeOffs/resources/v1/types/WriteOff.d.ts +4 -1
- package/dist/api/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +4 -1
- package/dist/api/resources/writeOffs/resources/v1/types/index.d.ts +2 -0
- package/dist/api/resources/writeOffs/resources/v1/types/index.js +2 -0
- package/dist/api/resources/x12/resources/v1/types/Rarc.d.ts +115 -1
- package/dist/api/resources/x12/resources/v1/types/Rarc.js +114 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +2 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformation.d.ts +16 -0
- package/dist/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformation.js +47 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/ReportTransmissionCode.d.ts +10 -0
- package/dist/serialization/resources/encounters/resources/v4/types/ReportTransmissionCode.js +41 -0
- package/dist/serialization/resources/encounters/resources/v4/types/ReportTypeCode.d.ts +10 -0
- package/dist/serialization/resources/encounters/resources/v4/types/ReportTypeCode.js +103 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +3 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.js +3 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.js +2 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/HumanName.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/HumanName.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/images/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/images/index.js +17 -0
- package/dist/serialization/resources/preEncounter/resources/images/resources/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/images/resources/index.js +37 -0
- package/dist/serialization/resources/preEncounter/resources/images/resources/v1/client/create.d.ts +15 -0
- package/dist/serialization/resources/preEncounter/resources/images/resources/v1/client/create.js +71 -0
- package/dist/serialization/resources/preEncounter/resources/images/resources/v1/client/deactivate.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/images/resources/v1/client/deactivate.js +77 -0
- package/dist/serialization/resources/preEncounter/resources/images/resources/v1/client/get.d.ts +15 -0
- package/dist/serialization/resources/preEncounter/resources/images/resources/v1/client/get.js +71 -0
- package/dist/serialization/resources/preEncounter/resources/images/resources/v1/client/getMulti.d.ts +11 -0
- package/dist/serialization/resources/preEncounter/resources/images/resources/v1/client/getMulti.js +42 -0
- package/dist/serialization/resources/preEncounter/resources/images/resources/v1/client/index.d.ts +5 -0
- package/dist/serialization/resources/preEncounter/resources/images/resources/v1/client/index.js +41 -0
- package/dist/serialization/resources/preEncounter/resources/images/resources/v1/client/update.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/images/resources/v1/client/update.js +77 -0
- package/dist/serialization/resources/preEncounter/resources/images/resources/v1/index.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/images/resources/v1/index.js +18 -0
- package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/CoverageAssociation.d.ts +15 -0
- package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/CoverageAssociation.js +46 -0
- package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/CoverageImageSide.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/CoverageImageSide.js +41 -0
- package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/Image.d.ts +16 -0
- package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/Image.js +50 -0
- package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/ImageId.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/ImageId.js +45 -0
- package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/ImageStatus.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/ImageStatus.js +41 -0
- package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/MutableImage.d.ts +20 -0
- package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/MutableImage.js +51 -0
- package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/PatientAssociation.d.ts +14 -0
- package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/PatientAssociation.js +45 -0
- package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/index.d.ts +7 -0
- package/dist/serialization/resources/preEncounter/resources/images/resources/v1/types/index.js +23 -0
- package/dist/serialization/resources/preEncounter/resources/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/index.js +2 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/searchProviders.d.ts +11 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/searchProviders.js +42 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/TestResultType.d.ts +1 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/TestResultType.js +1 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOff.d.ts +24 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOff.js +55 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOffCreate.d.ts +20 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOffCreate.js +51 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOff.d.ts +5 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOff.js +2 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +5 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +2 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/index.d.ts +2 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/index.js +2 -0
- package/dist/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
- package/dist/serialization/resources/x12/resources/v1/types/Rarc.js +114 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +473 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +2 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +2 -0
- package/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformation.d.ts +16 -0
- package/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformation.js +47 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +2 -0
- package/serialization/resources/encounters/resources/v4/types/ReportTransmissionCode.d.ts +10 -0
- package/serialization/resources/encounters/resources/v4/types/ReportTransmissionCode.js +41 -0
- package/serialization/resources/encounters/resources/v4/types/ReportTypeCode.d.ts +10 -0
- package/serialization/resources/encounters/resources/v4/types/ReportTypeCode.js +103 -0
- package/serialization/resources/encounters/resources/v4/types/index.d.ts +3 -0
- package/serialization/resources/encounters/resources/v4/types/index.js +3 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.d.ts +2 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/CreateNonInsurancePayerRequest.js +2 -0
- package/serialization/resources/preEncounter/resources/common/types/HumanName.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/common/types/HumanName.js +1 -0
- package/serialization/resources/preEncounter/resources/images/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/images/index.js +17 -0
- package/serialization/resources/preEncounter/resources/images/resources/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/images/resources/index.js +37 -0
- package/serialization/resources/preEncounter/resources/images/resources/v1/client/create.d.ts +15 -0
- package/serialization/resources/preEncounter/resources/images/resources/v1/client/create.js +71 -0
- package/serialization/resources/preEncounter/resources/images/resources/v1/client/deactivate.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/images/resources/v1/client/deactivate.js +77 -0
- package/serialization/resources/preEncounter/resources/images/resources/v1/client/get.d.ts +15 -0
- package/serialization/resources/preEncounter/resources/images/resources/v1/client/get.js +71 -0
- package/serialization/resources/preEncounter/resources/images/resources/v1/client/getMulti.d.ts +11 -0
- package/serialization/resources/preEncounter/resources/images/resources/v1/client/getMulti.js +42 -0
- package/serialization/resources/preEncounter/resources/images/resources/v1/client/index.d.ts +5 -0
- package/serialization/resources/preEncounter/resources/images/resources/v1/client/index.js +41 -0
- package/serialization/resources/preEncounter/resources/images/resources/v1/client/update.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/images/resources/v1/client/update.js +77 -0
- package/serialization/resources/preEncounter/resources/images/resources/v1/index.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/images/resources/v1/index.js +18 -0
- package/serialization/resources/preEncounter/resources/images/resources/v1/types/CoverageAssociation.d.ts +15 -0
- package/serialization/resources/preEncounter/resources/images/resources/v1/types/CoverageAssociation.js +46 -0
- package/serialization/resources/preEncounter/resources/images/resources/v1/types/CoverageImageSide.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/images/resources/v1/types/CoverageImageSide.js +41 -0
- package/serialization/resources/preEncounter/resources/images/resources/v1/types/Image.d.ts +16 -0
- package/serialization/resources/preEncounter/resources/images/resources/v1/types/Image.js +50 -0
- package/serialization/resources/preEncounter/resources/images/resources/v1/types/ImageId.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/images/resources/v1/types/ImageId.js +45 -0
- package/serialization/resources/preEncounter/resources/images/resources/v1/types/ImageStatus.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/images/resources/v1/types/ImageStatus.js +41 -0
- package/serialization/resources/preEncounter/resources/images/resources/v1/types/MutableImage.d.ts +20 -0
- package/serialization/resources/preEncounter/resources/images/resources/v1/types/MutableImage.js +51 -0
- package/serialization/resources/preEncounter/resources/images/resources/v1/types/PatientAssociation.d.ts +14 -0
- package/serialization/resources/preEncounter/resources/images/resources/v1/types/PatientAssociation.js +45 -0
- package/serialization/resources/preEncounter/resources/images/resources/v1/types/index.d.ts +7 -0
- package/serialization/resources/preEncounter/resources/images/resources/v1/types/index.js +23 -0
- package/serialization/resources/preEncounter/resources/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/index.js +2 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/index.js +2 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/searchProviders.d.ts +11 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/searchProviders.js +42 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/TestResultType.d.ts +1 -1
- package/serialization/resources/serviceLines/resources/v2/types/TestResultType.js +1 -1
- package/serialization/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOff.d.ts +24 -0
- package/serialization/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOff.js +55 -0
- package/serialization/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOffCreate.d.ts +20 -0
- package/serialization/resources/writeOffs/resources/v1/types/NonInsurancePayerWriteOffCreate.js +51 -0
- package/serialization/resources/writeOffs/resources/v1/types/WriteOff.d.ts +5 -1
- package/serialization/resources/writeOffs/resources/v1/types/WriteOff.js +2 -0
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.d.ts +5 -1
- package/serialization/resources/writeOffs/resources/v1/types/WriteOffCreate.js +2 -0
- package/serialization/resources/writeOffs/resources/v1/types/index.d.ts +2 -0
- package/serialization/resources/writeOffs/resources/v1/types/index.js +2 -0
- package/serialization/resources/x12/resources/v1/types/Rarc.d.ts +1 -1
- package/serialization/resources/x12/resources/v1/types/Rarc.js +114 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -72,13 +72,15 @@ class V1 {
|
|
|
72
72
|
* family: "string",
|
|
73
73
|
* given: ["string"],
|
|
74
74
|
* use: "USUAL",
|
|
75
|
-
* period: {}
|
|
75
|
+
* period: {},
|
|
76
|
+
* suffix: "string"
|
|
76
77
|
* },
|
|
77
78
|
* otherNames: [{
|
|
78
79
|
* family: "string",
|
|
79
80
|
* given: ["string"],
|
|
80
81
|
* use: "USUAL",
|
|
81
|
-
* period: {}
|
|
82
|
+
* period: {},
|
|
83
|
+
* suffix: "string"
|
|
82
84
|
* }],
|
|
83
85
|
* otherIdentifiers: [{
|
|
84
86
|
* value: "string",
|
|
@@ -135,7 +137,8 @@ class V1 {
|
|
|
135
137
|
* family: "string",
|
|
136
138
|
* given: ["string"],
|
|
137
139
|
* use: "USUAL",
|
|
138
|
-
* period: {}
|
|
140
|
+
* period: {},
|
|
141
|
+
* suffix: "string"
|
|
139
142
|
* },
|
|
140
143
|
* telecoms: [{
|
|
141
144
|
* value: "string",
|
|
@@ -158,7 +161,8 @@ class V1 {
|
|
|
158
161
|
* family: "string",
|
|
159
162
|
* given: ["string"],
|
|
160
163
|
* use: "USUAL",
|
|
161
|
-
* period: {}
|
|
164
|
+
* period: {},
|
|
165
|
+
* suffix: "string"
|
|
162
166
|
* },
|
|
163
167
|
* type: "PRIMARY",
|
|
164
168
|
* npi: "string",
|
|
@@ -183,7 +187,8 @@ class V1 {
|
|
|
183
187
|
* family: "string",
|
|
184
188
|
* given: ["string"],
|
|
185
189
|
* use: "USUAL",
|
|
186
|
-
* period: {}
|
|
190
|
+
* period: {},
|
|
191
|
+
* suffix: "string"
|
|
187
192
|
* },
|
|
188
193
|
* telecom: {
|
|
189
194
|
* value: "string",
|
|
@@ -208,6 +213,7 @@ class V1 {
|
|
|
208
213
|
* additionalPayerInformation: {},
|
|
209
214
|
* authorizationNumber: "string",
|
|
210
215
|
* cptCode: "string",
|
|
216
|
+
* applyForAllCptCodes: true,
|
|
211
217
|
* units: "VISIT",
|
|
212
218
|
* quantity: 1,
|
|
213
219
|
* period: {},
|
|
@@ -219,7 +225,8 @@ class V1 {
|
|
|
219
225
|
* family: "string",
|
|
220
226
|
* given: ["string"],
|
|
221
227
|
* use: "USUAL",
|
|
222
|
-
* period: {}
|
|
228
|
+
* period: {},
|
|
229
|
+
* suffix: "string"
|
|
223
230
|
* },
|
|
224
231
|
* type: "PRIMARY",
|
|
225
232
|
* npi: "string",
|
|
@@ -252,7 +259,7 @@ class V1 {
|
|
|
252
259
|
const _response = yield core.fetcher({
|
|
253
260
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/patients/v1"),
|
|
254
261
|
method: "POST",
|
|
255
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
262
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.0", "User-Agent": "candidhealth/0.40.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
256
263
|
contentType: "application/json",
|
|
257
264
|
queryParameters: _queryParams,
|
|
258
265
|
requestType: "json",
|
|
@@ -309,13 +316,15 @@ class V1 {
|
|
|
309
316
|
* family: "string",
|
|
310
317
|
* given: ["string"],
|
|
311
318
|
* use: "USUAL",
|
|
312
|
-
* period: {}
|
|
319
|
+
* period: {},
|
|
320
|
+
* suffix: "string"
|
|
313
321
|
* },
|
|
314
322
|
* otherNames: [{
|
|
315
323
|
* family: "string",
|
|
316
324
|
* given: ["string"],
|
|
317
325
|
* use: "USUAL",
|
|
318
|
-
* period: {}
|
|
326
|
+
* period: {},
|
|
327
|
+
* suffix: "string"
|
|
319
328
|
* }],
|
|
320
329
|
* otherIdentifiers: [{
|
|
321
330
|
* value: "string",
|
|
@@ -372,7 +381,8 @@ class V1 {
|
|
|
372
381
|
* family: "string",
|
|
373
382
|
* given: ["string"],
|
|
374
383
|
* use: "USUAL",
|
|
375
|
-
* period: {}
|
|
384
|
+
* period: {},
|
|
385
|
+
* suffix: "string"
|
|
376
386
|
* },
|
|
377
387
|
* telecoms: [{
|
|
378
388
|
* value: "string",
|
|
@@ -395,7 +405,8 @@ class V1 {
|
|
|
395
405
|
* family: "string",
|
|
396
406
|
* given: ["string"],
|
|
397
407
|
* use: "USUAL",
|
|
398
|
-
* period: {}
|
|
408
|
+
* period: {},
|
|
409
|
+
* suffix: "string"
|
|
399
410
|
* },
|
|
400
411
|
* type: "PRIMARY",
|
|
401
412
|
* npi: "string",
|
|
@@ -420,7 +431,8 @@ class V1 {
|
|
|
420
431
|
* family: "string",
|
|
421
432
|
* given: ["string"],
|
|
422
433
|
* use: "USUAL",
|
|
423
|
-
* period: {}
|
|
434
|
+
* period: {},
|
|
435
|
+
* suffix: "string"
|
|
424
436
|
* },
|
|
425
437
|
* telecom: {
|
|
426
438
|
* value: "string",
|
|
@@ -445,6 +457,7 @@ class V1 {
|
|
|
445
457
|
* additionalPayerInformation: {},
|
|
446
458
|
* authorizationNumber: "string",
|
|
447
459
|
* cptCode: "string",
|
|
460
|
+
* applyForAllCptCodes: true,
|
|
448
461
|
* units: "VISIT",
|
|
449
462
|
* quantity: 1,
|
|
450
463
|
* period: {},
|
|
@@ -456,7 +469,8 @@ class V1 {
|
|
|
456
469
|
* family: "string",
|
|
457
470
|
* given: ["string"],
|
|
458
471
|
* use: "USUAL",
|
|
459
|
-
* period: {}
|
|
472
|
+
* period: {},
|
|
473
|
+
* suffix: "string"
|
|
460
474
|
* },
|
|
461
475
|
* type: "PRIMARY",
|
|
462
476
|
* npi: "string",
|
|
@@ -489,7 +503,7 @@ class V1 {
|
|
|
489
503
|
const _response = yield core.fetcher({
|
|
490
504
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/patients/v1/with_mrn"),
|
|
491
505
|
method: "POST",
|
|
492
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
506
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.0", "User-Agent": "candidhealth/0.40.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
493
507
|
contentType: "application/json",
|
|
494
508
|
queryParameters: _queryParams,
|
|
495
509
|
requestType: "json",
|
|
@@ -572,7 +586,7 @@ class V1 {
|
|
|
572
586
|
const _response = yield core.fetcher({
|
|
573
587
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/patients/v1/get_multi"),
|
|
574
588
|
method: "GET",
|
|
575
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
589
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.0", "User-Agent": "candidhealth/0.40.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
576
590
|
contentType: "application/json",
|
|
577
591
|
queryParameters: _queryParams,
|
|
578
592
|
requestType: "json",
|
|
@@ -597,6 +611,51 @@ class V1 {
|
|
|
597
611
|
};
|
|
598
612
|
});
|
|
599
613
|
}
|
|
614
|
+
/**
|
|
615
|
+
* 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.
|
|
616
|
+
*
|
|
617
|
+
* @param {CandidApi.preEncounter.patients.v1.SearchProvidersRequest} request
|
|
618
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
619
|
+
*
|
|
620
|
+
* @example
|
|
621
|
+
* await client.preEncounter.patients.v1.searchProviders({
|
|
622
|
+
* searchCriteria: "string"
|
|
623
|
+
* })
|
|
624
|
+
*/
|
|
625
|
+
searchProviders(request, requestOptions) {
|
|
626
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
627
|
+
var _a, _b;
|
|
628
|
+
const { searchCriteria } = request;
|
|
629
|
+
const _queryParams = {};
|
|
630
|
+
_queryParams["search_criteria"] = searchCriteria;
|
|
631
|
+
const _response = yield core.fetcher({
|
|
632
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/patients/v1/search_providers"),
|
|
633
|
+
method: "GET",
|
|
634
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.0", "User-Agent": "candidhealth/0.40.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
635
|
+
contentType: "application/json",
|
|
636
|
+
queryParameters: _queryParams,
|
|
637
|
+
requestType: "json",
|
|
638
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
639
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
640
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
641
|
+
});
|
|
642
|
+
if (_response.ok) {
|
|
643
|
+
return {
|
|
644
|
+
ok: true,
|
|
645
|
+
body: serializers.preEncounter.patients.v1.searchProviders.Response.parseOrThrow(_response.body, {
|
|
646
|
+
unrecognizedObjectKeys: "passthrough",
|
|
647
|
+
allowUnrecognizedUnionMembers: true,
|
|
648
|
+
allowUnrecognizedEnumValues: true,
|
|
649
|
+
breadcrumbsPrefix: ["response"],
|
|
650
|
+
}),
|
|
651
|
+
};
|
|
652
|
+
}
|
|
653
|
+
return {
|
|
654
|
+
ok: false,
|
|
655
|
+
error: CandidApi.preEncounter.patients.v1.searchProviders.Error._unknown(_response.error),
|
|
656
|
+
};
|
|
657
|
+
});
|
|
658
|
+
}
|
|
600
659
|
/**
|
|
601
660
|
* Gets a patient.
|
|
602
661
|
*
|
|
@@ -612,7 +671,7 @@ class V1 {
|
|
|
612
671
|
const _response = yield core.fetcher({
|
|
613
672
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/patients/v1/${encodeURIComponent(serializers.preEncounter.PatientId.jsonOrThrow(id))}`),
|
|
614
673
|
method: "GET",
|
|
615
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
674
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.0", "User-Agent": "candidhealth/0.40.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
616
675
|
contentType: "application/json",
|
|
617
676
|
requestType: "json",
|
|
618
677
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -665,7 +724,7 @@ class V1 {
|
|
|
665
724
|
const _response = yield core.fetcher({
|
|
666
725
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/patients/v1/${encodeURIComponent(serializers.preEncounter.PatientId.jsonOrThrow(id))}/history`),
|
|
667
726
|
method: "GET",
|
|
668
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
727
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.0", "User-Agent": "candidhealth/0.40.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
669
728
|
contentType: "application/json",
|
|
670
729
|
requestType: "json",
|
|
671
730
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -717,13 +776,15 @@ class V1 {
|
|
|
717
776
|
* family: "string",
|
|
718
777
|
* given: ["string"],
|
|
719
778
|
* use: "USUAL",
|
|
720
|
-
* period: {}
|
|
779
|
+
* period: {},
|
|
780
|
+
* suffix: "string"
|
|
721
781
|
* },
|
|
722
782
|
* otherNames: [{
|
|
723
783
|
* family: "string",
|
|
724
784
|
* given: ["string"],
|
|
725
785
|
* use: "USUAL",
|
|
726
|
-
* period: {}
|
|
786
|
+
* period: {},
|
|
787
|
+
* suffix: "string"
|
|
727
788
|
* }],
|
|
728
789
|
* otherIdentifiers: [{
|
|
729
790
|
* value: "string",
|
|
@@ -780,7 +841,8 @@ class V1 {
|
|
|
780
841
|
* family: "string",
|
|
781
842
|
* given: ["string"],
|
|
782
843
|
* use: "USUAL",
|
|
783
|
-
* period: {}
|
|
844
|
+
* period: {},
|
|
845
|
+
* suffix: "string"
|
|
784
846
|
* },
|
|
785
847
|
* telecoms: [{
|
|
786
848
|
* value: "string",
|
|
@@ -803,7 +865,8 @@ class V1 {
|
|
|
803
865
|
* family: "string",
|
|
804
866
|
* given: ["string"],
|
|
805
867
|
* use: "USUAL",
|
|
806
|
-
* period: {}
|
|
868
|
+
* period: {},
|
|
869
|
+
* suffix: "string"
|
|
807
870
|
* },
|
|
808
871
|
* type: "PRIMARY",
|
|
809
872
|
* npi: "string",
|
|
@@ -828,7 +891,8 @@ class V1 {
|
|
|
828
891
|
* family: "string",
|
|
829
892
|
* given: ["string"],
|
|
830
893
|
* use: "USUAL",
|
|
831
|
-
* period: {}
|
|
894
|
+
* period: {},
|
|
895
|
+
* suffix: "string"
|
|
832
896
|
* },
|
|
833
897
|
* telecom: {
|
|
834
898
|
* value: "string",
|
|
@@ -853,6 +917,7 @@ class V1 {
|
|
|
853
917
|
* additionalPayerInformation: {},
|
|
854
918
|
* authorizationNumber: "string",
|
|
855
919
|
* cptCode: "string",
|
|
920
|
+
* applyForAllCptCodes: true,
|
|
856
921
|
* units: "VISIT",
|
|
857
922
|
* quantity: 1,
|
|
858
923
|
* period: {},
|
|
@@ -864,7 +929,8 @@ class V1 {
|
|
|
864
929
|
* family: "string",
|
|
865
930
|
* given: ["string"],
|
|
866
931
|
* use: "USUAL",
|
|
867
|
-
* period: {}
|
|
932
|
+
* period: {},
|
|
933
|
+
* suffix: "string"
|
|
868
934
|
* },
|
|
869
935
|
* type: "PRIMARY",
|
|
870
936
|
* npi: "string",
|
|
@@ -891,7 +957,7 @@ class V1 {
|
|
|
891
957
|
const _response = yield core.fetcher({
|
|
892
958
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/patients/v1/${encodeURIComponent(serializers.preEncounter.PatientId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
|
|
893
959
|
method: "PUT",
|
|
894
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
960
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.0", "User-Agent": "candidhealth/0.40.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
895
961
|
contentType: "application/json",
|
|
896
962
|
requestType: "json",
|
|
897
963
|
body: serializers.preEncounter.patients.v1.MutablePatient.jsonOrThrow(request, {
|
|
@@ -949,7 +1015,7 @@ class V1 {
|
|
|
949
1015
|
const _response = yield core.fetcher({
|
|
950
1016
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/patients/v1/${encodeURIComponent(serializers.preEncounter.PatientId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
|
|
951
1017
|
method: "DELETE",
|
|
952
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
1018
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.0", "User-Agent": "candidhealth/0.40.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
953
1019
|
contentType: "application/json",
|
|
954
1020
|
requestType: "json",
|
|
955
1021
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -999,7 +1065,7 @@ class V1 {
|
|
|
999
1065
|
const _response = yield core.fetcher({
|
|
1000
1066
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/patients/v1/${encodeURIComponent(serializers.preEncounter.PatientId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
|
|
1001
1067
|
method: "PATCH",
|
|
1002
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
1068
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.0", "User-Agent": "candidhealth/0.40.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1003
1069
|
contentType: "application/json",
|
|
1004
1070
|
requestType: "json",
|
|
1005
1071
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -1059,7 +1125,7 @@ class V1 {
|
|
|
1059
1125
|
const _response = yield core.fetcher({
|
|
1060
1126
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/patients/v1"),
|
|
1061
1127
|
method: "GET",
|
|
1062
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
1128
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.0", "User-Agent": "candidhealth/0.40.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1063
1129
|
contentType: "application/json",
|
|
1064
1130
|
queryParameters: _queryParams,
|
|
1065
1131
|
requestType: "json",
|
|
@@ -1104,7 +1170,7 @@ class V1 {
|
|
|
1104
1170
|
const _response = yield core.fetcher({
|
|
1105
1171
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/patients/v1/updates/scan"),
|
|
1106
1172
|
method: "GET",
|
|
1107
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
1173
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.0", "User-Agent": "candidhealth/0.40.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1108
1174
|
contentType: "application/json",
|
|
1109
1175
|
queryParameters: _queryParams,
|
|
1110
1176
|
requestType: "json",
|
|
@@ -2,6 +2,7 @@ export * from "./requests";
|
|
|
2
2
|
export * as create from "./create";
|
|
3
3
|
export * as createWithMrn from "./createWithMrn";
|
|
4
4
|
export * as getMulti from "./getMulti";
|
|
5
|
+
export * as searchProviders from "./searchProviders";
|
|
5
6
|
export * as get from "./get";
|
|
6
7
|
export * as getHistory from "./getHistory";
|
|
7
8
|
export * as update from "./update";
|
|
@@ -36,11 +36,12 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.scan = exports.search = exports.reactivate = exports.deactivate = exports.update = exports.getHistory = exports.get = exports.getMulti = exports.createWithMrn = exports.create = void 0;
|
|
39
|
+
exports.scan = exports.search = exports.reactivate = exports.deactivate = exports.update = exports.getHistory = exports.get = exports.searchProviders = exports.getMulti = exports.createWithMrn = exports.create = void 0;
|
|
40
40
|
__exportStar(require("./requests"), exports);
|
|
41
41
|
exports.create = __importStar(require("./create"));
|
|
42
42
|
exports.createWithMrn = __importStar(require("./createWithMrn"));
|
|
43
43
|
exports.getMulti = __importStar(require("./getMulti"));
|
|
44
|
+
exports.searchProviders = __importStar(require("./searchProviders"));
|
|
44
45
|
exports.get = __importStar(require("./get"));
|
|
45
46
|
exports.getHistory = __importStar(require("./getHistory"));
|
|
46
47
|
exports.update = __importStar(require("./update"));
|
|
@@ -11,13 +11,15 @@ import * as CandidApi from "../../../../../../../../index";
|
|
|
11
11
|
* family: "string",
|
|
12
12
|
* given: ["string"],
|
|
13
13
|
* use: "USUAL",
|
|
14
|
-
* period: {}
|
|
14
|
+
* period: {},
|
|
15
|
+
* suffix: "string"
|
|
15
16
|
* },
|
|
16
17
|
* otherNames: [{
|
|
17
18
|
* family: "string",
|
|
18
19
|
* given: ["string"],
|
|
19
20
|
* use: "USUAL",
|
|
20
|
-
* period: {}
|
|
21
|
+
* period: {},
|
|
22
|
+
* suffix: "string"
|
|
21
23
|
* }],
|
|
22
24
|
* otherIdentifiers: [{
|
|
23
25
|
* value: "string",
|
|
@@ -74,7 +76,8 @@ import * as CandidApi from "../../../../../../../../index";
|
|
|
74
76
|
* family: "string",
|
|
75
77
|
* given: ["string"],
|
|
76
78
|
* use: "USUAL",
|
|
77
|
-
* period: {}
|
|
79
|
+
* period: {},
|
|
80
|
+
* suffix: "string"
|
|
78
81
|
* },
|
|
79
82
|
* telecoms: [{
|
|
80
83
|
* value: "string",
|
|
@@ -97,7 +100,8 @@ import * as CandidApi from "../../../../../../../../index";
|
|
|
97
100
|
* family: "string",
|
|
98
101
|
* given: ["string"],
|
|
99
102
|
* use: "USUAL",
|
|
100
|
-
* period: {}
|
|
103
|
+
* period: {},
|
|
104
|
+
* suffix: "string"
|
|
101
105
|
* },
|
|
102
106
|
* type: "PRIMARY",
|
|
103
107
|
* npi: "string",
|
|
@@ -122,7 +126,8 @@ import * as CandidApi from "../../../../../../../../index";
|
|
|
122
126
|
* family: "string",
|
|
123
127
|
* given: ["string"],
|
|
124
128
|
* use: "USUAL",
|
|
125
|
-
* period: {}
|
|
129
|
+
* period: {},
|
|
130
|
+
* suffix: "string"
|
|
126
131
|
* },
|
|
127
132
|
* telecom: {
|
|
128
133
|
* value: "string",
|
|
@@ -147,6 +152,7 @@ import * as CandidApi from "../../../../../../../../index";
|
|
|
147
152
|
* additionalPayerInformation: {},
|
|
148
153
|
* authorizationNumber: "string",
|
|
149
154
|
* cptCode: "string",
|
|
155
|
+
* applyForAllCptCodes: true,
|
|
150
156
|
* units: "VISIT",
|
|
151
157
|
* quantity: 1,
|
|
152
158
|
* period: {},
|
|
@@ -158,7 +164,8 @@ import * as CandidApi from "../../../../../../../../index";
|
|
|
158
164
|
* family: "string",
|
|
159
165
|
* given: ["string"],
|
|
160
166
|
* use: "USUAL",
|
|
161
|
-
* period: {}
|
|
167
|
+
* period: {},
|
|
168
|
+
* suffix: "string"
|
|
162
169
|
* },
|
|
163
170
|
* type: "PRIMARY",
|
|
164
171
|
* npi: "string",
|
|
@@ -12,13 +12,15 @@ import * as CandidApi from "../../../../../../../../index";
|
|
|
12
12
|
* family: "string",
|
|
13
13
|
* given: ["string"],
|
|
14
14
|
* use: "USUAL",
|
|
15
|
-
* period: {}
|
|
15
|
+
* period: {},
|
|
16
|
+
* suffix: "string"
|
|
16
17
|
* },
|
|
17
18
|
* otherNames: [{
|
|
18
19
|
* family: "string",
|
|
19
20
|
* given: ["string"],
|
|
20
21
|
* use: "USUAL",
|
|
21
|
-
* period: {}
|
|
22
|
+
* period: {},
|
|
23
|
+
* suffix: "string"
|
|
22
24
|
* }],
|
|
23
25
|
* otherIdentifiers: [{
|
|
24
26
|
* value: "string",
|
|
@@ -75,7 +77,8 @@ import * as CandidApi from "../../../../../../../../index";
|
|
|
75
77
|
* family: "string",
|
|
76
78
|
* given: ["string"],
|
|
77
79
|
* use: "USUAL",
|
|
78
|
-
* period: {}
|
|
80
|
+
* period: {},
|
|
81
|
+
* suffix: "string"
|
|
79
82
|
* },
|
|
80
83
|
* telecoms: [{
|
|
81
84
|
* value: "string",
|
|
@@ -98,7 +101,8 @@ import * as CandidApi from "../../../../../../../../index";
|
|
|
98
101
|
* family: "string",
|
|
99
102
|
* given: ["string"],
|
|
100
103
|
* use: "USUAL",
|
|
101
|
-
* period: {}
|
|
104
|
+
* period: {},
|
|
105
|
+
* suffix: "string"
|
|
102
106
|
* },
|
|
103
107
|
* type: "PRIMARY",
|
|
104
108
|
* npi: "string",
|
|
@@ -123,7 +127,8 @@ import * as CandidApi from "../../../../../../../../index";
|
|
|
123
127
|
* family: "string",
|
|
124
128
|
* given: ["string"],
|
|
125
129
|
* use: "USUAL",
|
|
126
|
-
* period: {}
|
|
130
|
+
* period: {},
|
|
131
|
+
* suffix: "string"
|
|
127
132
|
* },
|
|
128
133
|
* telecom: {
|
|
129
134
|
* value: "string",
|
|
@@ -148,6 +153,7 @@ import * as CandidApi from "../../../../../../../../index";
|
|
|
148
153
|
* additionalPayerInformation: {},
|
|
149
154
|
* authorizationNumber: "string",
|
|
150
155
|
* cptCode: "string",
|
|
156
|
+
* applyForAllCptCodes: true,
|
|
151
157
|
* units: "VISIT",
|
|
152
158
|
* quantity: 1,
|
|
153
159
|
* period: {},
|
|
@@ -159,7 +165,8 @@ import * as CandidApi from "../../../../../../../../index";
|
|
|
159
165
|
* family: "string",
|
|
160
166
|
* given: ["string"],
|
|
161
167
|
* use: "USUAL",
|
|
162
|
-
* period: {}
|
|
168
|
+
* period: {},
|
|
169
|
+
* suffix: "string"
|
|
163
170
|
* },
|
|
164
171
|
* type: "PRIMARY",
|
|
165
172
|
* npi: "string",
|
package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { type CreatePatientRequest } from "./CreatePatientRequest";
|
|
2
2
|
export { type CreatePatientWithMrnRequest } from "./CreatePatientWithMrnRequest";
|
|
3
3
|
export { type PatientsSearchRequestPaginated } from "./PatientsSearchRequestPaginated";
|
|
4
|
+
export { type SearchProvidersRequest } from "./SearchProvidersRequest";
|
|
4
5
|
export { type PatientGetMultiRequest } from "./PatientGetMultiRequest";
|
|
5
6
|
export { type PatientScanRequest } from "./PatientScanRequest";
|
package/api/resources/preEncounter/resources/patients/resources/v1/client/searchProviders.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../../index";
|
|
5
|
+
import * as core from "../../../../../../../../core";
|
|
6
|
+
export type Error = CandidApi.preEncounter.patients.v1.searchProviders.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface _Unknown extends _Utils {
|
|
9
|
+
errorName: void;
|
|
10
|
+
content: core.Fetcher.Error;
|
|
11
|
+
}
|
|
12
|
+
interface _Utils {
|
|
13
|
+
_visit: <_Result>(visitor: CandidApi.preEncounter.patients.v1.searchProviders.Error._Visitor<_Result>) => _Result;
|
|
14
|
+
}
|
|
15
|
+
interface _Visitor<_Result> {
|
|
16
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export declare const Error: {
|
|
20
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.patients.v1.searchProviders.Error._Unknown;
|
|
21
|
+
readonly _visit: <_Result>(value: CandidApi.preEncounter.patients.v1.searchProviders.Error, visitor: CandidApi.preEncounter.patients.v1.searchProviders.Error._Visitor<_Result>) => _Result;
|
|
22
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.Error = void 0;
|
|
40
|
+
const CandidApi = __importStar(require("../../../../../../../index"));
|
|
41
|
+
exports.Error = {
|
|
42
|
+
_unknown: (fetcherError) => {
|
|
43
|
+
return {
|
|
44
|
+
errorName: undefined,
|
|
45
|
+
content: fetcherError,
|
|
46
|
+
_visit: function (visitor) {
|
|
47
|
+
return CandidApi.preEncounter.patients.v1.searchProviders.Error._visit(this, visitor);
|
|
48
|
+
},
|
|
49
|
+
};
|
|
50
|
+
},
|
|
51
|
+
_visit: (value, visitor) => {
|
|
52
|
+
switch (value.errorName) {
|
|
53
|
+
default:
|
|
54
|
+
return visitor._other(value);
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
};
|
|
@@ -8,6 +8,8 @@ export interface Authorization {
|
|
|
8
8
|
additionalPayerInformation?: CandidApi.preEncounter.AdditionalPayerInformation;
|
|
9
9
|
authorizationNumber: string;
|
|
10
10
|
cptCode: string;
|
|
11
|
+
/** If true, then the authorization will apply for all claims for the payer that fall in range the `period`. */
|
|
12
|
+
applyForAllCptCodes?: boolean;
|
|
11
13
|
units: CandidApi.preEncounter.patients.v1.AuthorizationUnit;
|
|
12
14
|
quantity?: number;
|
|
13
15
|
period?: CandidApi.preEncounter.Period;
|