candidhealth 0.39.10 → 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/clinicalTrials/index.d.ts +1 -0
- package/api/resources/clinicalTrials/index.js +17 -0
- package/api/resources/clinicalTrials/resources/index.d.ts +1 -0
- package/api/resources/clinicalTrials/resources/index.js +37 -0
- package/api/resources/clinicalTrials/resources/v1/index.d.ts +1 -0
- package/api/resources/clinicalTrials/resources/v1/index.js +17 -0
- package/api/resources/clinicalTrials/resources/v1/types/ClinicalTrial.d.ts +9 -0
- package/api/resources/clinicalTrials/resources/v1/types/ClinicalTrial.js +5 -0
- package/api/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.d.ts +9 -0
- package/api/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.js +11 -0
- package/api/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.d.ts +10 -0
- package/api/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.js +5 -0
- package/api/resources/clinicalTrials/resources/v1/types/index.d.ts +3 -0
- package/api/resources/clinicalTrials/resources/v1/types/index.js +19 -0
- package/api/resources/commons/types/AdjustmentId.d.ts +8 -0
- package/api/resources/commons/types/AdjustmentId.js +9 -0
- package/api/resources/commons/types/ClinicalTrialId.d.ts +8 -0
- package/api/resources/commons/types/ClinicalTrialId.js +9 -0
- package/api/resources/commons/types/ProcedureModifier.d.ts +16 -0
- package/api/resources/commons/types/ProcedureModifier.js +4 -0
- package/api/resources/commons/types/index.d.ts +2 -0
- package/api/resources/commons/types/index.js +2 -0
- package/api/resources/contracts/resources/v2/client/Client.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 +8 -1
- package/api/resources/encounters/resources/v4/client/Client.js +13 -6
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +13 -1
- 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 +15 -4
- package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -0
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +11 -4
- 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.d.ts +3 -0
- package/api/resources/exports/resources/v3/client/Client.js +4 -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/index.d.ts +1 -0
- package/api/resources/index.js +2 -1
- package/api/resources/individual/types/Patient.d.ts +6 -3
- package/api/resources/individual/types/PatientClinicalTrialInfo.d.ts +8 -0
- package/api/resources/individual/types/PatientClinicalTrialInfo.js +5 -0
- package/api/resources/individual/types/PatientClinicalTrialInfoCreate.d.ts +8 -0
- package/api/resources/individual/types/PatientClinicalTrialInfoCreate.js +5 -0
- package/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +6 -2
- package/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +1 -0
- package/api/resources/individual/types/index.d.ts +2 -0
- package/api/resources/individual/types/index.js +2 -0
- 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/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +3 -1
- package/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +4 -1
- package/api/resources/organizationProviders/resources/v2/types/LicenseType.js +3 -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/CanonicalClinicalTrialAssociation.d.ts +9 -0
- package/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.js +5 -0
- package/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.d.ts +11 -0
- package/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.js +9 -0
- package/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +2 -0
- package/api/resources/preEncounter/resources/common/types/HumanName.d.ts +1 -0
- package/api/resources/preEncounter/resources/common/types/index.d.ts +2 -0
- package/api/resources/preEncounter/resources/common/types/index.js +2 -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.d.ts +20 -0
- package/api/resources/writeOffs/resources/v1/client/Client.js +82 -4
- package/api/resources/writeOffs/resources/v1/client/index.d.ts +2 -0
- package/api/resources/writeOffs/resources/v1/client/index.js +3 -1
- package/api/resources/writeOffs/resources/v1/client/revertEraOriginatedInsuranceBalanceAdjustment.d.ts +22 -0
- package/api/resources/writeOffs/resources/v1/client/revertEraOriginatedInsuranceBalanceAdjustment.js +57 -0
- package/api/resources/writeOffs/resources/v1/client/revertInsuranceBalanceAdjustment.d.ts +22 -0
- package/api/resources/writeOffs/resources/v1/client/revertInsuranceBalanceAdjustment.js +57 -0
- 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/clinicalTrials/index.d.ts +1 -0
- package/dist/api/resources/clinicalTrials/index.js +17 -0
- package/dist/api/resources/clinicalTrials/resources/index.d.ts +1 -0
- package/dist/api/resources/clinicalTrials/resources/index.js +37 -0
- package/dist/api/resources/clinicalTrials/resources/v1/index.d.ts +1 -0
- package/dist/api/resources/clinicalTrials/resources/v1/index.js +17 -0
- package/dist/api/resources/clinicalTrials/resources/v1/types/ClinicalTrial.d.ts +9 -0
- package/dist/api/resources/clinicalTrials/resources/v1/types/ClinicalTrial.js +5 -0
- package/dist/api/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.d.ts +9 -0
- package/dist/api/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.js +11 -0
- package/dist/api/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.d.ts +10 -0
- package/dist/api/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.js +5 -0
- package/dist/api/resources/clinicalTrials/resources/v1/types/index.d.ts +3 -0
- package/dist/api/resources/clinicalTrials/resources/v1/types/index.js +19 -0
- package/dist/api/resources/commons/types/AdjustmentId.d.ts +8 -0
- package/dist/api/resources/commons/types/AdjustmentId.js +9 -0
- package/dist/api/resources/commons/types/ClinicalTrialId.d.ts +8 -0
- package/dist/api/resources/commons/types/ClinicalTrialId.js +9 -0
- package/dist/api/resources/commons/types/ProcedureModifier.d.ts +16 -0
- package/dist/api/resources/commons/types/ProcedureModifier.js +4 -0
- package/dist/api/resources/commons/types/index.d.ts +2 -0
- package/dist/api/resources/commons/types/index.js +2 -0
- package/dist/api/resources/contracts/resources/v2/client/Client.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 +8 -1
- package/dist/api/resources/encounters/resources/v4/client/Client.js +13 -6
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +13 -1
- 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 +15 -4
- package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +2 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +11 -4
- 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.d.ts +3 -0
- package/dist/api/resources/exports/resources/v3/client/Client.js +4 -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/index.d.ts +1 -0
- package/dist/api/resources/index.js +2 -1
- package/dist/api/resources/individual/types/Patient.d.ts +6 -3
- package/dist/api/resources/individual/types/PatientClinicalTrialInfo.d.ts +8 -0
- package/dist/api/resources/individual/types/PatientClinicalTrialInfo.js +5 -0
- package/dist/api/resources/individual/types/PatientClinicalTrialInfoCreate.d.ts +8 -0
- package/dist/api/resources/individual/types/PatientClinicalTrialInfoCreate.js +5 -0
- package/dist/api/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +6 -2
- package/dist/api/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +1 -0
- package/dist/api/resources/individual/types/index.d.ts +2 -0
- package/dist/api/resources/individual/types/index.js +2 -0
- 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/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +3 -1
- package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +4 -1
- package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.js +3 -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/CanonicalClinicalTrialAssociation.d.ts +9 -0
- package/dist/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.js +5 -0
- package/dist/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.d.ts +11 -0
- package/dist/api/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.js +9 -0
- package/dist/api/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/common/types/HumanName.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/common/types/index.js +2 -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.d.ts +20 -0
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +82 -4
- package/dist/api/resources/writeOffs/resources/v1/client/index.d.ts +2 -0
- package/dist/api/resources/writeOffs/resources/v1/client/index.js +3 -1
- package/dist/api/resources/writeOffs/resources/v1/client/revertEraOriginatedInsuranceBalanceAdjustment.d.ts +22 -0
- package/dist/api/resources/writeOffs/resources/v1/client/revertEraOriginatedInsuranceBalanceAdjustment.js +57 -0
- package/dist/api/resources/writeOffs/resources/v1/client/revertInsuranceBalanceAdjustment.d.ts +22 -0
- package/dist/api/resources/writeOffs/resources/v1/client/revertInsuranceBalanceAdjustment.js +57 -0
- 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/clinicalTrials/index.d.ts +1 -0
- package/dist/serialization/resources/clinicalTrials/index.js +17 -0
- package/dist/serialization/resources/clinicalTrials/resources/index.d.ts +1 -0
- package/dist/serialization/resources/clinicalTrials/resources/index.js +37 -0
- package/dist/serialization/resources/clinicalTrials/resources/v1/index.d.ts +1 -0
- package/dist/serialization/resources/clinicalTrials/resources/v1/index.js +17 -0
- package/dist/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrial.d.ts +17 -0
- package/dist/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrial.js +50 -0
- package/dist/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.d.ts +10 -0
- package/dist/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.js +41 -0
- package/dist/serialization/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.d.ts +15 -0
- package/dist/serialization/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.js +46 -0
- package/dist/serialization/resources/clinicalTrials/resources/v1/types/index.d.ts +3 -0
- package/dist/serialization/resources/clinicalTrials/resources/v1/types/index.js +19 -0
- package/dist/serialization/resources/commons/types/AdjustmentId.d.ts +10 -0
- package/dist/serialization/resources/commons/types/AdjustmentId.js +45 -0
- package/dist/serialization/resources/commons/types/ClinicalTrialId.d.ts +10 -0
- package/dist/serialization/resources/commons/types/ClinicalTrialId.js +45 -0
- package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
- package/dist/serialization/resources/commons/types/ProcedureModifier.js +4 -0
- package/dist/serialization/resources/commons/types/index.d.ts +2 -0
- package/dist/serialization/resources/commons/types/index.js +2 -0
- package/dist/serialization/resources/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 +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 +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/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +2 -1
- package/dist/serialization/resources/individual/types/PatientClinicalTrialInfo.d.ts +14 -0
- package/dist/serialization/resources/individual/types/PatientClinicalTrialInfo.js +45 -0
- package/dist/serialization/resources/individual/types/PatientClinicalTrialInfoCreate.d.ts +14 -0
- package/dist/serialization/resources/individual/types/PatientClinicalTrialInfoCreate.js +45 -0
- package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +2 -0
- package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfo.js +2 -0
- package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +2 -0
- package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +2 -0
- package/dist/serialization/resources/individual/types/index.d.ts +2 -0
- package/dist/serialization/resources/individual/types/index.js +2 -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/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +2 -0
- package/dist/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +2 -0
- package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
- package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +3 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.d.ts +16 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.js +47 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.d.ts +10 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.js +45 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.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/common/types/index.d.ts +2 -0
- package/dist/serialization/resources/preEncounter/resources/common/types/index.js +2 -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 +689 -78
- package/serialization/resources/clinicalTrials/index.d.ts +1 -0
- package/serialization/resources/clinicalTrials/index.js +17 -0
- package/serialization/resources/clinicalTrials/resources/index.d.ts +1 -0
- package/serialization/resources/clinicalTrials/resources/index.js +37 -0
- package/serialization/resources/clinicalTrials/resources/v1/index.d.ts +1 -0
- package/serialization/resources/clinicalTrials/resources/v1/index.js +17 -0
- package/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrial.d.ts +17 -0
- package/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrial.js +50 -0
- package/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.d.ts +10 -0
- package/serialization/resources/clinicalTrials/resources/v1/types/ClinicalTrialPhase.js +41 -0
- package/serialization/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.d.ts +15 -0
- package/serialization/resources/clinicalTrials/resources/v1/types/MutableClinicalTrial.js +46 -0
- package/serialization/resources/clinicalTrials/resources/v1/types/index.d.ts +3 -0
- package/serialization/resources/clinicalTrials/resources/v1/types/index.js +19 -0
- package/serialization/resources/commons/types/AdjustmentId.d.ts +10 -0
- package/serialization/resources/commons/types/AdjustmentId.js +45 -0
- package/serialization/resources/commons/types/ClinicalTrialId.d.ts +10 -0
- package/serialization/resources/commons/types/ClinicalTrialId.js +45 -0
- package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
- package/serialization/resources/commons/types/ProcedureModifier.js +4 -0
- package/serialization/resources/commons/types/index.d.ts +2 -0
- package/serialization/resources/commons/types/index.js +2 -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 +3 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.js +3 -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/index.d.ts +1 -0
- package/serialization/resources/index.js +2 -1
- package/serialization/resources/individual/types/PatientClinicalTrialInfo.d.ts +14 -0
- package/serialization/resources/individual/types/PatientClinicalTrialInfo.js +45 -0
- package/serialization/resources/individual/types/PatientClinicalTrialInfoCreate.d.ts +14 -0
- package/serialization/resources/individual/types/PatientClinicalTrialInfoCreate.js +45 -0
- package/serialization/resources/individual/types/PatientNonInsurancePayerInfo.d.ts +2 -0
- package/serialization/resources/individual/types/PatientNonInsurancePayerInfo.js +2 -0
- package/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.d.ts +2 -0
- package/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreate.js +2 -0
- package/serialization/resources/individual/types/index.d.ts +2 -0
- package/serialization/resources/individual/types/index.js +2 -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/nonInsurancePayers/resources/v1/types/NonInsurancePayer.d.ts +2 -0
- package/serialization/resources/nonInsurancePayers/resources/v1/types/NonInsurancePayer.js +2 -0
- package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
- package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +3 -0
- package/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.d.ts +16 -0
- package/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialAssociation.js +47 -0
- package/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.d.ts +10 -0
- package/serialization/resources/preEncounter/resources/common/types/CanonicalClinicalTrialId.js +45 -0
- package/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/common/types/CanonicalNonInsurancePayerAssociation.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/common/types/index.d.ts +2 -0
- package/serialization/resources/preEncounter/resources/common/types/index.js +2 -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, `/tags/v1/${encodeURIComponent(serializers.preEncounter.TagId.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.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),
|
|
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,
|
|
@@ -123,7 +123,7 @@ class V1 {
|
|
|
123
123
|
const _response = yield core.fetcher({
|
|
124
124
|
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, "/tags/v1"),
|
|
125
125
|
method: "GET",
|
|
126
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
126
|
+
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),
|
|
127
127
|
contentType: "application/json",
|
|
128
128
|
queryParameters: _queryParams,
|
|
129
129
|
requestType: "json",
|
|
@@ -165,7 +165,7 @@ class V1 {
|
|
|
165
165
|
const _response = yield core.fetcher({
|
|
166
166
|
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, "/tags/v1"),
|
|
167
167
|
method: "POST",
|
|
168
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
168
|
+
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),
|
|
169
169
|
contentType: "application/json",
|
|
170
170
|
requestType: "json",
|
|
171
171
|
body: serializers.preEncounter.tags.v1.MutableTag.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -209,7 +209,7 @@ class V1 {
|
|
|
209
209
|
const _response = yield core.fetcher({
|
|
210
210
|
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, `/tags/v1/${encodeURIComponent(serializers.preEncounter.TagId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
|
|
211
211
|
method: "PUT",
|
|
212
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
212
|
+
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),
|
|
213
213
|
contentType: "application/json",
|
|
214
214
|
requestType: "json",
|
|
215
215
|
body: serializers.preEncounter.tags.v1.MutableTag.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -250,7 +250,7 @@ class V1 {
|
|
|
250
250
|
const _response = yield core.fetcher({
|
|
251
251
|
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, `/tags/v1/${encodeURIComponent(serializers.preEncounter.TagId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
|
|
252
252
|
method: "DELETE",
|
|
253
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
253
|
+
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),
|
|
254
254
|
contentType: "application/json",
|
|
255
255
|
requestType: "json",
|
|
256
256
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -82,7 +82,7 @@ class ServiceFacility {
|
|
|
82
82
|
const _response = yield core.fetcher({
|
|
83
83
|
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).candidApi, `/api/service_facility/v2/${encodeURIComponent(serializers.ServiceFacilityId.jsonOrThrow(serviceFacilityId))}`),
|
|
84
84
|
method: "PATCH",
|
|
85
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
85
|
+
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),
|
|
86
86
|
contentType: "application/json",
|
|
87
87
|
requestType: "json",
|
|
88
88
|
body: serializers.EncounterServiceFacilityUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -120,7 +120,7 @@ class V2 {
|
|
|
120
120
|
const _response = yield core.fetcher({
|
|
121
121
|
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).candidApi, "/api/service-lines/v2"),
|
|
122
122
|
method: "POST",
|
|
123
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
123
|
+
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),
|
|
124
124
|
contentType: "application/json",
|
|
125
125
|
requestType: "json",
|
|
126
126
|
body: serializers.serviceLines.v2.ServiceLineCreateStandalone.jsonOrThrow(request, {
|
|
@@ -209,7 +209,7 @@ class V2 {
|
|
|
209
209
|
const _response = yield core.fetcher({
|
|
210
210
|
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).candidApi, `/api/service-lines/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}`),
|
|
211
211
|
method: "PATCH",
|
|
212
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
212
|
+
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),
|
|
213
213
|
contentType: "application/json",
|
|
214
214
|
requestType: "json",
|
|
215
215
|
body: serializers.serviceLines.v2.ServiceLineUpdate.jsonOrThrow(request, {
|
|
@@ -265,7 +265,7 @@ class V2 {
|
|
|
265
265
|
const _response = yield core.fetcher({
|
|
266
266
|
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).candidApi, `/api/service-lines/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}`),
|
|
267
267
|
method: "DELETE",
|
|
268
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
268
|
+
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),
|
|
269
269
|
contentType: "application/json",
|
|
270
270
|
requestType: "json",
|
|
271
271
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -70,6 +70,9 @@ import * as CandidApi from "../../../../../index";
|
|
|
70
70
|
* testResults: [{
|
|
71
71
|
* resultType: CandidApi.serviceLines.v2.TestResultType.Hemoglobin,
|
|
72
72
|
* value: 51
|
|
73
|
+
* }, {
|
|
74
|
+
* resultType: CandidApi.serviceLines.v2.TestResultType.Ldl,
|
|
75
|
+
* value: 110
|
|
73
76
|
* }]
|
|
74
77
|
* }
|
|
75
78
|
*/
|
|
@@ -122,7 +125,10 @@ export interface ServiceLine {
|
|
|
122
125
|
description?: string;
|
|
123
126
|
dateOfService: string;
|
|
124
127
|
endDateOfService?: string;
|
|
125
|
-
/**
|
|
128
|
+
/**
|
|
129
|
+
* Contains a list of test results. Test result types may map to MEA-02 on the 837-P (ex: Hemoglobin, Hematocrit).
|
|
130
|
+
* No more than 5 MEA-02 test results may be submitted per service line.
|
|
131
|
+
*/
|
|
126
132
|
testResults?: CandidApi.serviceLines.v2.TestResult[];
|
|
127
133
|
/**
|
|
128
134
|
* Maps to SV1-11 on the 837-P and Box 24H on the CMS-1500.
|
|
@@ -42,6 +42,9 @@ export interface ServiceLineCreate {
|
|
|
42
42
|
* If not required by this implementation guide, do not send.
|
|
43
43
|
*/
|
|
44
44
|
orderingProvider?: CandidApi.encounterProviders.v2.OrderingProvider;
|
|
45
|
-
/**
|
|
45
|
+
/**
|
|
46
|
+
* Contains a list of test results. Test result types may map to MEA-02 on the 837-P (ex: Hemoglobin, Hematocrit).
|
|
47
|
+
* No more than 5 MEA-02 test results may be submitted per service line.
|
|
48
|
+
*/
|
|
46
49
|
testResults?: CandidApi.serviceLines.v2.TestResult[];
|
|
47
50
|
}
|
|
@@ -36,7 +36,10 @@ export interface ServiceLineCreateStandalone {
|
|
|
36
36
|
* If not required by this implementation guide, do not send.
|
|
37
37
|
*/
|
|
38
38
|
orderingProvider?: CandidApi.encounterProviders.v2.OrderingProvider;
|
|
39
|
-
/**
|
|
39
|
+
/**
|
|
40
|
+
* Contains a list of test results. Test result types may map to MEA-02 on the 837-P (ex: Hemoglobin, Hematocrit).
|
|
41
|
+
* No more than 5 MEA-02 test results may be submitted per service line.
|
|
42
|
+
*/
|
|
40
43
|
testResults?: CandidApi.serviceLines.v2.TestResult[];
|
|
41
44
|
/**
|
|
42
45
|
* Maps to SV1-11 on the 837-P and Box 24H on the CMS-1500.
|
|
@@ -34,9 +34,9 @@ export interface ServiceLineUpdate {
|
|
|
34
34
|
dateOfService?: string;
|
|
35
35
|
endDateOfService?: string;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
* results
|
|
37
|
+
* Contains a list of test results. Test result types may map to MEA-02 on the 837-P (ex: Hemoglobin, Hematocrit).
|
|
38
|
+
* No more than 5 MEA-02 test results may be submitted per service line.
|
|
39
|
+
* Updating test results utilizes PUT semantics, so the test results on the service line will be set to whatever inputs are provided.
|
|
40
40
|
*/
|
|
41
41
|
testResults?: CandidApi.serviceLines.v2.TestResult[];
|
|
42
42
|
/**
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type TestResultType = "HEMATOCRIT" | "HEMOGLOBIN";
|
|
4
|
+
export type TestResultType = "HEMATOCRIT" | "HEMOGLOBIN" | "LDL";
|
|
5
5
|
export declare const TestResultType: {
|
|
6
6
|
readonly Hematocrit: "HEMATOCRIT";
|
|
7
7
|
readonly Hemoglobin: "HEMOGLOBIN";
|
|
8
|
+
readonly Ldl: "LDL";
|
|
8
9
|
};
|
|
@@ -71,7 +71,7 @@ class V3 {
|
|
|
71
71
|
const _response = yield core.fetcher({
|
|
72
72
|
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).candidApi, `/api/tasks/v3/${encodeURIComponent(serializers.TaskId.jsonOrThrow(taskId))}/actions`),
|
|
73
73
|
method: "GET",
|
|
74
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
74
|
+
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),
|
|
75
75
|
contentType: "application/json",
|
|
76
76
|
requestType: "json",
|
|
77
77
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -169,7 +169,7 @@ class V3 {
|
|
|
169
169
|
const _response = yield core.fetcher({
|
|
170
170
|
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).candidApi, "/api/tasks/v3"),
|
|
171
171
|
method: "GET",
|
|
172
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
172
|
+
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),
|
|
173
173
|
contentType: "application/json",
|
|
174
174
|
queryParameters: _queryParams,
|
|
175
175
|
requestType: "json",
|
|
@@ -221,7 +221,7 @@ class V3 {
|
|
|
221
221
|
const _response = yield core.fetcher({
|
|
222
222
|
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).candidApi, `/api/tasks/v3/${encodeURIComponent(serializers.TaskId.jsonOrThrow(taskId))}`),
|
|
223
223
|
method: "GET",
|
|
224
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
224
|
+
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),
|
|
225
225
|
contentType: "application/json",
|
|
226
226
|
requestType: "json",
|
|
227
227
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -281,7 +281,7 @@ class V3 {
|
|
|
281
281
|
const _response = yield core.fetcher({
|
|
282
282
|
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).candidApi, "/api/tasks/v3"),
|
|
283
283
|
method: "POST",
|
|
284
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
284
|
+
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),
|
|
285
285
|
contentType: "application/json",
|
|
286
286
|
requestType: "json",
|
|
287
287
|
body: serializers.tasks.v3.TaskCreateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -324,7 +324,7 @@ class V3 {
|
|
|
324
324
|
const _response = yield core.fetcher({
|
|
325
325
|
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).candidApi, `/api/tasks/v3/${encodeURIComponent(serializers.TaskId.jsonOrThrow(taskId))}`),
|
|
326
326
|
method: "PATCH",
|
|
327
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
327
|
+
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),
|
|
328
328
|
contentType: "application/json",
|
|
329
329
|
requestType: "json",
|
|
330
330
|
body: serializers.tasks.v3.TaskUpdateV3.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -86,5 +86,25 @@ export declare class V1 {
|
|
|
86
86
|
* await client.writeOffs.v1.revert(CandidApi.writeOffs.v1.WriteOffId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
87
87
|
*/
|
|
88
88
|
revert(writeOffId: CandidApi.writeOffs.v1.WriteOffId, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.writeOffs.v1.WriteOff, CandidApi.writeOffs.v1.revert.Error>>;
|
|
89
|
+
/**
|
|
90
|
+
* Reverts an Insurance Balance Adjustment given an `adjustment_id`
|
|
91
|
+
*
|
|
92
|
+
* @param {CandidApi.AdjustmentId} adjustmentId
|
|
93
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
94
|
+
*
|
|
95
|
+
* @example
|
|
96
|
+
* await client.writeOffs.v1.revertInsuranceBalanceAdjustment(CandidApi.AdjustmentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
97
|
+
*/
|
|
98
|
+
revertInsuranceBalanceAdjustment(adjustmentId: CandidApi.AdjustmentId, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.writeOffs.v1.WriteOff, CandidApi.writeOffs.v1.revertInsuranceBalanceAdjustment.Error>>;
|
|
99
|
+
/**
|
|
100
|
+
* Reverts an ERA-originated Insurance Balance Adjustment given an `adjustment_id`
|
|
101
|
+
*
|
|
102
|
+
* @param {CandidApi.AdjustmentId} adjustmentId
|
|
103
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
104
|
+
*
|
|
105
|
+
* @example
|
|
106
|
+
* await client.writeOffs.v1.revertEraOriginatedInsuranceBalanceAdjustment(CandidApi.AdjustmentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
107
|
+
*/
|
|
108
|
+
revertEraOriginatedInsuranceBalanceAdjustment(adjustmentId: CandidApi.AdjustmentId, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.AdjustmentId, CandidApi.writeOffs.v1.revertEraOriginatedInsuranceBalanceAdjustment.Error>>;
|
|
89
109
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
90
110
|
}
|
|
@@ -127,7 +127,7 @@ class V1 {
|
|
|
127
127
|
const _response = yield core.fetcher({
|
|
128
128
|
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).candidApi, "/api/write-offs/v1"),
|
|
129
129
|
method: "GET",
|
|
130
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
130
|
+
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),
|
|
131
131
|
contentType: "application/json",
|
|
132
132
|
queryParameters: _queryParams,
|
|
133
133
|
requestType: "json",
|
|
@@ -167,7 +167,7 @@ class V1 {
|
|
|
167
167
|
const _response = yield core.fetcher({
|
|
168
168
|
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).candidApi, `/api/write-offs/v1/${encodeURIComponent(serializers.writeOffs.v1.WriteOffId.jsonOrThrow(writeOffId))}`),
|
|
169
169
|
method: "GET",
|
|
170
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
170
|
+
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),
|
|
171
171
|
contentType: "application/json",
|
|
172
172
|
requestType: "json",
|
|
173
173
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -216,7 +216,7 @@ class V1 {
|
|
|
216
216
|
const _response = yield core.fetcher({
|
|
217
217
|
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).candidApi, "/api/write-offs/v1"),
|
|
218
218
|
method: "POST",
|
|
219
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
219
|
+
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),
|
|
220
220
|
contentType: "application/json",
|
|
221
221
|
requestType: "json",
|
|
222
222
|
body: serializers.writeOffs.v1.CreateWriteOffsRequest.jsonOrThrow(request, {
|
|
@@ -258,7 +258,7 @@ class V1 {
|
|
|
258
258
|
const _response = yield core.fetcher({
|
|
259
259
|
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).candidApi, `/api/write-offs/v1/${encodeURIComponent(serializers.writeOffs.v1.WriteOffId.jsonOrThrow(writeOffId))}/revert`),
|
|
260
260
|
method: "POST",
|
|
261
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
261
|
+
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),
|
|
262
262
|
contentType: "application/json",
|
|
263
263
|
requestType: "json",
|
|
264
264
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -282,6 +282,84 @@ class V1 {
|
|
|
282
282
|
};
|
|
283
283
|
});
|
|
284
284
|
}
|
|
285
|
+
/**
|
|
286
|
+
* Reverts an Insurance Balance Adjustment given an `adjustment_id`
|
|
287
|
+
*
|
|
288
|
+
* @param {CandidApi.AdjustmentId} adjustmentId
|
|
289
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
290
|
+
*
|
|
291
|
+
* @example
|
|
292
|
+
* await client.writeOffs.v1.revertInsuranceBalanceAdjustment(CandidApi.AdjustmentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
293
|
+
*/
|
|
294
|
+
revertInsuranceBalanceAdjustment(adjustmentId, requestOptions) {
|
|
295
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
296
|
+
var _a, _b;
|
|
297
|
+
const _response = yield core.fetcher({
|
|
298
|
+
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).candidApi, `/api/write-offs/v1/${encodeURIComponent(serializers.AdjustmentId.jsonOrThrow(adjustmentId))}/revert`),
|
|
299
|
+
method: "POST",
|
|
300
|
+
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),
|
|
301
|
+
contentType: "application/json",
|
|
302
|
+
requestType: "json",
|
|
303
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
304
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
305
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
306
|
+
});
|
|
307
|
+
if (_response.ok) {
|
|
308
|
+
return {
|
|
309
|
+
ok: true,
|
|
310
|
+
body: serializers.writeOffs.v1.WriteOff.parseOrThrow(_response.body, {
|
|
311
|
+
unrecognizedObjectKeys: "passthrough",
|
|
312
|
+
allowUnrecognizedUnionMembers: true,
|
|
313
|
+
allowUnrecognizedEnumValues: true,
|
|
314
|
+
breadcrumbsPrefix: ["response"],
|
|
315
|
+
}),
|
|
316
|
+
};
|
|
317
|
+
}
|
|
318
|
+
return {
|
|
319
|
+
ok: false,
|
|
320
|
+
error: CandidApi.writeOffs.v1.revertInsuranceBalanceAdjustment.Error._unknown(_response.error),
|
|
321
|
+
};
|
|
322
|
+
});
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* Reverts an ERA-originated Insurance Balance Adjustment given an `adjustment_id`
|
|
326
|
+
*
|
|
327
|
+
* @param {CandidApi.AdjustmentId} adjustmentId
|
|
328
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
329
|
+
*
|
|
330
|
+
* @example
|
|
331
|
+
* await client.writeOffs.v1.revertEraOriginatedInsuranceBalanceAdjustment(CandidApi.AdjustmentId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"))
|
|
332
|
+
*/
|
|
333
|
+
revertEraOriginatedInsuranceBalanceAdjustment(adjustmentId, requestOptions) {
|
|
334
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
335
|
+
var _a, _b;
|
|
336
|
+
const _response = yield core.fetcher({
|
|
337
|
+
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).candidApi, `/api/write-offs/v1/${encodeURIComponent(serializers.AdjustmentId.jsonOrThrow(adjustmentId))}/revert-era-originated`),
|
|
338
|
+
method: "POST",
|
|
339
|
+
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),
|
|
340
|
+
contentType: "application/json",
|
|
341
|
+
requestType: "json",
|
|
342
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
343
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
344
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
345
|
+
});
|
|
346
|
+
if (_response.ok) {
|
|
347
|
+
return {
|
|
348
|
+
ok: true,
|
|
349
|
+
body: serializers.AdjustmentId.parseOrThrow(_response.body, {
|
|
350
|
+
unrecognizedObjectKeys: "passthrough",
|
|
351
|
+
allowUnrecognizedUnionMembers: true,
|
|
352
|
+
allowUnrecognizedEnumValues: true,
|
|
353
|
+
breadcrumbsPrefix: ["response"],
|
|
354
|
+
}),
|
|
355
|
+
};
|
|
356
|
+
}
|
|
357
|
+
return {
|
|
358
|
+
ok: false,
|
|
359
|
+
error: CandidApi.writeOffs.v1.revertEraOriginatedInsuranceBalanceAdjustment.Error._unknown(_response.error),
|
|
360
|
+
};
|
|
361
|
+
});
|
|
362
|
+
}
|
|
285
363
|
_getAuthorizationHeader() {
|
|
286
364
|
return __awaiter(this, void 0, void 0, function* () {
|
|
287
365
|
const bearer = yield core.Supplier.get(this._options.token);
|
|
@@ -3,3 +3,5 @@ export * as getMulti from "./getMulti";
|
|
|
3
3
|
export * as get from "./get";
|
|
4
4
|
export * as create from "./create";
|
|
5
5
|
export * as revert from "./revert";
|
|
6
|
+
export * as revertInsuranceBalanceAdjustment from "./revertInsuranceBalanceAdjustment";
|
|
7
|
+
export * as revertEraOriginatedInsuranceBalanceAdjustment from "./revertEraOriginatedInsuranceBalanceAdjustment";
|
|
@@ -36,9 +36,11 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.revert = exports.create = exports.get = exports.getMulti = void 0;
|
|
39
|
+
exports.revertEraOriginatedInsuranceBalanceAdjustment = exports.revertInsuranceBalanceAdjustment = exports.revert = exports.create = exports.get = exports.getMulti = void 0;
|
|
40
40
|
__exportStar(require("./requests"), exports);
|
|
41
41
|
exports.getMulti = __importStar(require("./getMulti"));
|
|
42
42
|
exports.get = __importStar(require("./get"));
|
|
43
43
|
exports.create = __importStar(require("./create"));
|
|
44
44
|
exports.revert = __importStar(require("./revert"));
|
|
45
|
+
exports.revertInsuranceBalanceAdjustment = __importStar(require("./revertInsuranceBalanceAdjustment"));
|
|
46
|
+
exports.revertEraOriginatedInsuranceBalanceAdjustment = __importStar(require("./revertEraOriginatedInsuranceBalanceAdjustment"));
|
|
@@ -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.writeOffs.v1.revertEraOriginatedInsuranceBalanceAdjustment.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.writeOffs.v1.revertEraOriginatedInsuranceBalanceAdjustment.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.writeOffs.v1.revertEraOriginatedInsuranceBalanceAdjustment.Error._Unknown;
|
|
21
|
+
readonly _visit: <_Result>(value: CandidApi.writeOffs.v1.revertEraOriginatedInsuranceBalanceAdjustment.Error, visitor: CandidApi.writeOffs.v1.revertEraOriginatedInsuranceBalanceAdjustment.Error._Visitor<_Result>) => _Result;
|
|
22
|
+
};
|
package/api/resources/writeOffs/resources/v1/client/revertEraOriginatedInsuranceBalanceAdjustment.js
ADDED
|
@@ -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.writeOffs.v1.revertEraOriginatedInsuranceBalanceAdjustment.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
|
+
};
|
|
@@ -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.writeOffs.v1.revertInsuranceBalanceAdjustment.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.writeOffs.v1.revertInsuranceBalanceAdjustment.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.writeOffs.v1.revertInsuranceBalanceAdjustment.Error._Unknown;
|
|
21
|
+
readonly _visit: <_Result>(value: CandidApi.writeOffs.v1.revertInsuranceBalanceAdjustment.Error, visitor: CandidApi.writeOffs.v1.revertInsuranceBalanceAdjustment.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.writeOffs.v1.revertInsuranceBalanceAdjustment.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
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
export interface NonInsurancePayerWriteOff {
|
|
6
|
+
writeOffId: CandidApi.writeOffs.v1.WriteOffId;
|
|
7
|
+
nonInsurancePayer: CandidApi.nonInsurancePayers.v1.NonInsurancePayer;
|
|
8
|
+
serviceLineId: CandidApi.ServiceLineId;
|
|
9
|
+
writeOffTimestamp: Date;
|
|
10
|
+
writeOffNote?: string;
|
|
11
|
+
writeOffReason: CandidApi.writeOffs.v1.InsuranceWriteOffReason;
|
|
12
|
+
revertsWriteOffId?: CandidApi.writeOffs.v1.WriteOffId;
|
|
13
|
+
revertedByWriteOffId?: CandidApi.writeOffs.v1.WriteOffId;
|
|
14
|
+
amountCents: number;
|
|
15
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../index";
|
|
5
|
+
export interface NonInsurancePayerWriteOffCreate {
|
|
6
|
+
nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId;
|
|
7
|
+
serviceLineId: CandidApi.ServiceLineId;
|
|
8
|
+
writeOffTimestamp: Date;
|
|
9
|
+
writeOffNote?: string;
|
|
10
|
+
writeOffReason: CandidApi.writeOffs.v1.InsuranceWriteOffReason;
|
|
11
|
+
amountCents: number;
|
|
12
|
+
}
|