candidhealth 0.39.11 → 0.40.1
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.d.ts +2 -1
- package/api/resources/chargeCapture/resources/v1/client/Client.js +11 -7
- package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +6 -1
- 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 +34 -0
- package/api/resources/encounters/resources/v4/client/Client.js +39 -5
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +44 -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 +7 -0
- package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +4 -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.d.ts +2 -1
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +11 -7
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +6 -1
- 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 +34 -0
- package/dist/api/resources/encounters/resources/v4/client/Client.js +39 -5
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +44 -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 +7 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +4 -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 +3 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +3 -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 +3 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +3 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +3 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +3 -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 +504 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +3 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js +3 -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 +3 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.js +3 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +3 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +3 -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
|
@@ -73,7 +73,7 @@ class V1 {
|
|
|
73
73
|
const _response = yield core.fetcher({
|
|
74
74
|
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, `/notes/v1/${encodeURIComponent(serializers.preEncounter.NoteId.jsonOrThrow(id))}`),
|
|
75
75
|
method: "GET",
|
|
76
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
76
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.1", "User-Agent": "candidhealth/0.40.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
77
77
|
contentType: "application/json",
|
|
78
78
|
requestType: "json",
|
|
79
79
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -116,7 +116,7 @@ class V1 {
|
|
|
116
116
|
const _response = yield core.fetcher({
|
|
117
117
|
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, "/notes/v1"),
|
|
118
118
|
method: "POST",
|
|
119
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
119
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.1", "User-Agent": "candidhealth/0.40.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
120
120
|
contentType: "application/json",
|
|
121
121
|
requestType: "json",
|
|
122
122
|
body: serializers.preEncounter.notes.v1.MutableNote.jsonOrThrow(request, {
|
|
@@ -164,7 +164,7 @@ class V1 {
|
|
|
164
164
|
const _response = yield core.fetcher({
|
|
165
165
|
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, `/notes/v1/${encodeURIComponent(serializers.preEncounter.NoteId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
|
|
166
166
|
method: "PUT",
|
|
167
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
167
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.1", "User-Agent": "candidhealth/0.40.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
168
168
|
contentType: "application/json",
|
|
169
169
|
requestType: "json",
|
|
170
170
|
body: serializers.preEncounter.notes.v1.MutableNote.jsonOrThrow(request, {
|
|
@@ -207,7 +207,7 @@ class V1 {
|
|
|
207
207
|
const _response = yield core.fetcher({
|
|
208
208
|
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, `/notes/v1/${encodeURIComponent(serializers.preEncounter.NoteId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
|
|
209
209
|
method: "DELETE",
|
|
210
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
210
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.1", "User-Agent": "candidhealth/0.40.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
211
211
|
contentType: "application/json",
|
|
212
212
|
requestType: "json",
|
|
213
213
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -39,13 +39,15 @@ export declare class V1 {
|
|
|
39
39
|
* family: "string",
|
|
40
40
|
* given: ["string"],
|
|
41
41
|
* use: "USUAL",
|
|
42
|
-
* period: {}
|
|
42
|
+
* period: {},
|
|
43
|
+
* suffix: "string"
|
|
43
44
|
* },
|
|
44
45
|
* otherNames: [{
|
|
45
46
|
* family: "string",
|
|
46
47
|
* given: ["string"],
|
|
47
48
|
* use: "USUAL",
|
|
48
|
-
* period: {}
|
|
49
|
+
* period: {},
|
|
50
|
+
* suffix: "string"
|
|
49
51
|
* }],
|
|
50
52
|
* otherIdentifiers: [{
|
|
51
53
|
* value: "string",
|
|
@@ -102,7 +104,8 @@ export declare class V1 {
|
|
|
102
104
|
* family: "string",
|
|
103
105
|
* given: ["string"],
|
|
104
106
|
* use: "USUAL",
|
|
105
|
-
* period: {}
|
|
107
|
+
* period: {},
|
|
108
|
+
* suffix: "string"
|
|
106
109
|
* },
|
|
107
110
|
* telecoms: [{
|
|
108
111
|
* value: "string",
|
|
@@ -125,7 +128,8 @@ export declare class V1 {
|
|
|
125
128
|
* family: "string",
|
|
126
129
|
* given: ["string"],
|
|
127
130
|
* use: "USUAL",
|
|
128
|
-
* period: {}
|
|
131
|
+
* period: {},
|
|
132
|
+
* suffix: "string"
|
|
129
133
|
* },
|
|
130
134
|
* type: "PRIMARY",
|
|
131
135
|
* npi: "string",
|
|
@@ -150,7 +154,8 @@ export declare class V1 {
|
|
|
150
154
|
* family: "string",
|
|
151
155
|
* given: ["string"],
|
|
152
156
|
* use: "USUAL",
|
|
153
|
-
* period: {}
|
|
157
|
+
* period: {},
|
|
158
|
+
* suffix: "string"
|
|
154
159
|
* },
|
|
155
160
|
* telecom: {
|
|
156
161
|
* value: "string",
|
|
@@ -175,6 +180,7 @@ export declare class V1 {
|
|
|
175
180
|
* additionalPayerInformation: {},
|
|
176
181
|
* authorizationNumber: "string",
|
|
177
182
|
* cptCode: "string",
|
|
183
|
+
* applyForAllCptCodes: true,
|
|
178
184
|
* units: "VISIT",
|
|
179
185
|
* quantity: 1,
|
|
180
186
|
* period: {},
|
|
@@ -186,7 +192,8 @@ export declare class V1 {
|
|
|
186
192
|
* family: "string",
|
|
187
193
|
* given: ["string"],
|
|
188
194
|
* use: "USUAL",
|
|
189
|
-
* period: {}
|
|
195
|
+
* period: {},
|
|
196
|
+
* suffix: "string"
|
|
190
197
|
* },
|
|
191
198
|
* type: "PRIMARY",
|
|
192
199
|
* npi: "string",
|
|
@@ -224,13 +231,15 @@ export declare class V1 {
|
|
|
224
231
|
* family: "string",
|
|
225
232
|
* given: ["string"],
|
|
226
233
|
* use: "USUAL",
|
|
227
|
-
* period: {}
|
|
234
|
+
* period: {},
|
|
235
|
+
* suffix: "string"
|
|
228
236
|
* },
|
|
229
237
|
* otherNames: [{
|
|
230
238
|
* family: "string",
|
|
231
239
|
* given: ["string"],
|
|
232
240
|
* use: "USUAL",
|
|
233
|
-
* period: {}
|
|
241
|
+
* period: {},
|
|
242
|
+
* suffix: "string"
|
|
234
243
|
* }],
|
|
235
244
|
* otherIdentifiers: [{
|
|
236
245
|
* value: "string",
|
|
@@ -287,7 +296,8 @@ export declare class V1 {
|
|
|
287
296
|
* family: "string",
|
|
288
297
|
* given: ["string"],
|
|
289
298
|
* use: "USUAL",
|
|
290
|
-
* period: {}
|
|
299
|
+
* period: {},
|
|
300
|
+
* suffix: "string"
|
|
291
301
|
* },
|
|
292
302
|
* telecoms: [{
|
|
293
303
|
* value: "string",
|
|
@@ -310,7 +320,8 @@ export declare class V1 {
|
|
|
310
320
|
* family: "string",
|
|
311
321
|
* given: ["string"],
|
|
312
322
|
* use: "USUAL",
|
|
313
|
-
* period: {}
|
|
323
|
+
* period: {},
|
|
324
|
+
* suffix: "string"
|
|
314
325
|
* },
|
|
315
326
|
* type: "PRIMARY",
|
|
316
327
|
* npi: "string",
|
|
@@ -335,7 +346,8 @@ export declare class V1 {
|
|
|
335
346
|
* family: "string",
|
|
336
347
|
* given: ["string"],
|
|
337
348
|
* use: "USUAL",
|
|
338
|
-
* period: {}
|
|
349
|
+
* period: {},
|
|
350
|
+
* suffix: "string"
|
|
339
351
|
* },
|
|
340
352
|
* telecom: {
|
|
341
353
|
* value: "string",
|
|
@@ -360,6 +372,7 @@ export declare class V1 {
|
|
|
360
372
|
* additionalPayerInformation: {},
|
|
361
373
|
* authorizationNumber: "string",
|
|
362
374
|
* cptCode: "string",
|
|
375
|
+
* applyForAllCptCodes: true,
|
|
363
376
|
* units: "VISIT",
|
|
364
377
|
* quantity: 1,
|
|
365
378
|
* period: {},
|
|
@@ -371,7 +384,8 @@ export declare class V1 {
|
|
|
371
384
|
* family: "string",
|
|
372
385
|
* given: ["string"],
|
|
373
386
|
* use: "USUAL",
|
|
374
|
-
* period: {}
|
|
387
|
+
* period: {},
|
|
388
|
+
* suffix: "string"
|
|
375
389
|
* },
|
|
376
390
|
* type: "PRIMARY",
|
|
377
391
|
* npi: "string",
|
|
@@ -410,6 +424,18 @@ export declare class V1 {
|
|
|
410
424
|
* })
|
|
411
425
|
*/
|
|
412
426
|
getMulti(request?: CandidApi.preEncounter.patients.v1.PatientsSearchRequestPaginated, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.patients.v1.PatientPage, CandidApi.preEncounter.patients.v1.getMulti.Error>>;
|
|
427
|
+
/**
|
|
428
|
+
* 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.
|
|
429
|
+
*
|
|
430
|
+
* @param {CandidApi.preEncounter.patients.v1.SearchProvidersRequest} request
|
|
431
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
432
|
+
*
|
|
433
|
+
* @example
|
|
434
|
+
* await client.preEncounter.patients.v1.searchProviders({
|
|
435
|
+
* searchCriteria: "string"
|
|
436
|
+
* })
|
|
437
|
+
*/
|
|
438
|
+
searchProviders(request: CandidApi.preEncounter.patients.v1.SearchProvidersRequest, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.ExternalProvider[], CandidApi.preEncounter.patients.v1.searchProviders.Error>>;
|
|
413
439
|
/**
|
|
414
440
|
* Gets a patient.
|
|
415
441
|
*
|
|
@@ -444,13 +470,15 @@ export declare class V1 {
|
|
|
444
470
|
* family: "string",
|
|
445
471
|
* given: ["string"],
|
|
446
472
|
* use: "USUAL",
|
|
447
|
-
* period: {}
|
|
473
|
+
* period: {},
|
|
474
|
+
* suffix: "string"
|
|
448
475
|
* },
|
|
449
476
|
* otherNames: [{
|
|
450
477
|
* family: "string",
|
|
451
478
|
* given: ["string"],
|
|
452
479
|
* use: "USUAL",
|
|
453
|
-
* period: {}
|
|
480
|
+
* period: {},
|
|
481
|
+
* suffix: "string"
|
|
454
482
|
* }],
|
|
455
483
|
* otherIdentifiers: [{
|
|
456
484
|
* value: "string",
|
|
@@ -507,7 +535,8 @@ export declare class V1 {
|
|
|
507
535
|
* family: "string",
|
|
508
536
|
* given: ["string"],
|
|
509
537
|
* use: "USUAL",
|
|
510
|
-
* period: {}
|
|
538
|
+
* period: {},
|
|
539
|
+
* suffix: "string"
|
|
511
540
|
* },
|
|
512
541
|
* telecoms: [{
|
|
513
542
|
* value: "string",
|
|
@@ -530,7 +559,8 @@ export declare class V1 {
|
|
|
530
559
|
* family: "string",
|
|
531
560
|
* given: ["string"],
|
|
532
561
|
* use: "USUAL",
|
|
533
|
-
* period: {}
|
|
562
|
+
* period: {},
|
|
563
|
+
* suffix: "string"
|
|
534
564
|
* },
|
|
535
565
|
* type: "PRIMARY",
|
|
536
566
|
* npi: "string",
|
|
@@ -555,7 +585,8 @@ export declare class V1 {
|
|
|
555
585
|
* family: "string",
|
|
556
586
|
* given: ["string"],
|
|
557
587
|
* use: "USUAL",
|
|
558
|
-
* period: {}
|
|
588
|
+
* period: {},
|
|
589
|
+
* suffix: "string"
|
|
559
590
|
* },
|
|
560
591
|
* telecom: {
|
|
561
592
|
* value: "string",
|
|
@@ -580,6 +611,7 @@ export declare class V1 {
|
|
|
580
611
|
* additionalPayerInformation: {},
|
|
581
612
|
* authorizationNumber: "string",
|
|
582
613
|
* cptCode: "string",
|
|
614
|
+
* applyForAllCptCodes: true,
|
|
583
615
|
* units: "VISIT",
|
|
584
616
|
* quantity: 1,
|
|
585
617
|
* period: {},
|
|
@@ -591,7 +623,8 @@ export declare class V1 {
|
|
|
591
623
|
* family: "string",
|
|
592
624
|
* given: ["string"],
|
|
593
625
|
* use: "USUAL",
|
|
594
|
-
* period: {}
|
|
626
|
+
* period: {},
|
|
627
|
+
* suffix: "string"
|
|
595
628
|
* },
|
|
596
629
|
* type: "PRIMARY",
|
|
597
630
|
* npi: "string",
|
|
@@ -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.1", "User-Agent": "candidhealth/0.40.1", "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.1", "User-Agent": "candidhealth/0.40.1", "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.1", "User-Agent": "candidhealth/0.40.1", "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.1", "User-Agent": "candidhealth/0.40.1", "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.1", "User-Agent": "candidhealth/0.40.1", "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.1", "User-Agent": "candidhealth/0.40.1", "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.1", "User-Agent": "candidhealth/0.40.1", "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.1", "User-Agent": "candidhealth/0.40.1", "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.1", "User-Agent": "candidhealth/0.40.1", "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.1", "User-Agent": "candidhealth/0.40.1", "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.1", "User-Agent": "candidhealth/0.40.1", "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"));
|