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
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./MutableClinicalTrial"), exports);
|
|
18
|
+
__exportStar(require("./ClinicalTrial"), exports);
|
|
19
|
+
__exportStar(require("./ClinicalTrialPhase"), exports);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../index";
|
|
5
|
+
export type AdjustmentId = string & {
|
|
6
|
+
AdjustmentId: void;
|
|
7
|
+
};
|
|
8
|
+
export declare function AdjustmentId(value: string): CandidApi.AdjustmentId;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../index";
|
|
5
|
+
export type ClinicalTrialId = string & {
|
|
6
|
+
ClinicalTrialId: void;
|
|
7
|
+
};
|
|
8
|
+
export declare function ClinicalTrialId(value: string): CandidApi.ClinicalTrialId;
|
|
@@ -1163,9 +1163,21 @@ export type ProcedureModifier =
|
|
|
1163
1163
|
/**
|
|
1164
1164
|
* Three patient visits in a month */
|
|
1165
1165
|
| "V3"
|
|
1166
|
+
/**
|
|
1167
|
+
* Indicates that the service was provided under a state-mandated reimbursement rate for workers' compensation claims */
|
|
1168
|
+
| "W1"
|
|
1169
|
+
/**
|
|
1170
|
+
* Used when a Medicare Set-Aside (MSA) account is used to pay for services related to a workers' compensation settlement */
|
|
1171
|
+
| "W2"
|
|
1172
|
+
/**
|
|
1173
|
+
* The treatment was approved under the workers’ compensation plan */
|
|
1174
|
+
| "W3"
|
|
1166
1175
|
/**
|
|
1167
1176
|
* Two or more separate patient visits on the same date of service */
|
|
1168
1177
|
| "XE"
|
|
1178
|
+
/**
|
|
1179
|
+
* A service that is distinct because it was performed by a different practitioner */
|
|
1180
|
+
| "XP"
|
|
1169
1181
|
/**
|
|
1170
1182
|
* A service that is distinct because it was performed on a separate organ/structure */
|
|
1171
1183
|
| "XS"
|
|
@@ -1560,7 +1572,11 @@ export declare const ProcedureModifier: {
|
|
|
1560
1572
|
readonly V1: "V1";
|
|
1561
1573
|
readonly V2: "V2";
|
|
1562
1574
|
readonly V3: "V3";
|
|
1575
|
+
readonly W1: "W1";
|
|
1576
|
+
readonly W2: "W2";
|
|
1577
|
+
readonly W3: "W3";
|
|
1563
1578
|
readonly Xe: "XE";
|
|
1579
|
+
readonly Xp: "XP";
|
|
1564
1580
|
readonly Xs: "XS";
|
|
1565
1581
|
readonly Xu: "XU";
|
|
1566
1582
|
};
|
|
@@ -7,6 +7,7 @@ export * from "./PreEncounterPatientId";
|
|
|
7
7
|
export * from "./PreEncounterAppointmentId";
|
|
8
8
|
export * from "./AppointmentId";
|
|
9
9
|
export * from "./ServiceLineId";
|
|
10
|
+
export * from "./AdjustmentId";
|
|
10
11
|
export * from "./PatientExternalId";
|
|
11
12
|
export * from "./EncounterExternalId";
|
|
12
13
|
export * from "./Npi";
|
|
@@ -22,6 +23,7 @@ export * from "./RateId";
|
|
|
22
23
|
export * from "./SchemaId";
|
|
23
24
|
export * from "./ProviderCredentialingSpanId";
|
|
24
25
|
export * from "./PayerPlanGroupId";
|
|
26
|
+
export * from "./ClinicalTrialId";
|
|
25
27
|
export * from "./Primitive";
|
|
26
28
|
export * from "./LinkUrl";
|
|
27
29
|
export * from "./PageToken";
|
|
@@ -23,6 +23,7 @@ __exportStar(require("./PreEncounterPatientId"), exports);
|
|
|
23
23
|
__exportStar(require("./PreEncounterAppointmentId"), exports);
|
|
24
24
|
__exportStar(require("./AppointmentId"), exports);
|
|
25
25
|
__exportStar(require("./ServiceLineId"), exports);
|
|
26
|
+
__exportStar(require("./AdjustmentId"), exports);
|
|
26
27
|
__exportStar(require("./PatientExternalId"), exports);
|
|
27
28
|
__exportStar(require("./EncounterExternalId"), exports);
|
|
28
29
|
__exportStar(require("./Npi"), exports);
|
|
@@ -38,6 +39,7 @@ __exportStar(require("./RateId"), exports);
|
|
|
38
39
|
__exportStar(require("./SchemaId"), exports);
|
|
39
40
|
__exportStar(require("./ProviderCredentialingSpanId"), exports);
|
|
40
41
|
__exportStar(require("./PayerPlanGroupId"), exports);
|
|
42
|
+
__exportStar(require("./ClinicalTrialId"), exports);
|
|
41
43
|
__exportStar(require("./Primitive"), exports);
|
|
42
44
|
__exportStar(require("./LinkUrl"), exports);
|
|
43
45
|
__exportStar(require("./PageToken"), exports);
|
|
@@ -71,7 +71,7 @@ class V2 {
|
|
|
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/contracts/v2/${encodeURIComponent(serializers.contracts.v2.ContractId.jsonOrThrow(contractId))}`),
|
|
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,
|
|
@@ -170,7 +170,7 @@ class V2 {
|
|
|
170
170
|
const _response = yield core.fetcher({
|
|
171
171
|
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/contracts/v2"),
|
|
172
172
|
method: "GET",
|
|
173
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
173
|
+
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),
|
|
174
174
|
contentType: "application/json",
|
|
175
175
|
queryParameters: _queryParams,
|
|
176
176
|
requestType: "json",
|
|
@@ -237,7 +237,7 @@ class V2 {
|
|
|
237
237
|
const _response = yield core.fetcher({
|
|
238
238
|
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/contracts/v2"),
|
|
239
239
|
method: "POST",
|
|
240
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
240
|
+
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),
|
|
241
241
|
contentType: "application/json",
|
|
242
242
|
requestType: "json",
|
|
243
243
|
body: serializers.contracts.v2.ContractCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -275,7 +275,7 @@ class V2 {
|
|
|
275
275
|
const _response = yield core.fetcher({
|
|
276
276
|
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/contracts/v2/${encodeURIComponent(serializers.contracts.v2.ContractId.jsonOrThrow(contractId))}`),
|
|
277
277
|
method: "DELETE",
|
|
278
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
278
|
+
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),
|
|
279
279
|
contentType: "application/json",
|
|
280
280
|
requestType: "json",
|
|
281
281
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -355,7 +355,7 @@ class V2 {
|
|
|
355
355
|
const _response = yield core.fetcher({
|
|
356
356
|
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/contracts/v2/${encodeURIComponent(serializers.contracts.v2.ContractId.jsonOrThrow(contractId))}`),
|
|
357
357
|
method: "PATCH",
|
|
358
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
358
|
+
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),
|
|
359
359
|
contentType: "application/json",
|
|
360
360
|
requestType: "json",
|
|
361
361
|
body: serializers.contracts.v2.ContractUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -83,7 +83,7 @@ class V2 {
|
|
|
83
83
|
const _response = yield core.fetcher({
|
|
84
84
|
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/provider-credentialing-span/v2"),
|
|
85
85
|
method: "POST",
|
|
86
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
86
|
+
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),
|
|
87
87
|
contentType: "application/json",
|
|
88
88
|
requestType: "json",
|
|
89
89
|
body: serializers.credentialing.v2.ProviderCredentialingSpanCreate.jsonOrThrow(request, {
|
|
@@ -138,7 +138,7 @@ class V2 {
|
|
|
138
138
|
const _response = yield core.fetcher({
|
|
139
139
|
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/provider-credentialing-span/v2/${encodeURIComponent(serializers.ProviderCredentialingSpanId.jsonOrThrow(providerCredentialingId))}`),
|
|
140
140
|
method: "GET",
|
|
141
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
141
|
+
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),
|
|
142
142
|
contentType: "application/json",
|
|
143
143
|
requestType: "json",
|
|
144
144
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -217,7 +217,7 @@ class V2 {
|
|
|
217
217
|
const _response = yield core.fetcher({
|
|
218
218
|
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/provider-credentialing-span/v2"),
|
|
219
219
|
method: "GET",
|
|
220
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
220
|
+
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),
|
|
221
221
|
contentType: "application/json",
|
|
222
222
|
queryParameters: _queryParams,
|
|
223
223
|
requestType: "json",
|
|
@@ -272,7 +272,7 @@ class V2 {
|
|
|
272
272
|
const _response = yield core.fetcher({
|
|
273
273
|
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/provider-credentialing-span/v2/${encodeURIComponent(serializers.ProviderCredentialingSpanId.jsonOrThrow(providerCredentialingId))}`),
|
|
274
274
|
method: "DELETE",
|
|
275
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
275
|
+
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),
|
|
276
276
|
contentType: "application/json",
|
|
277
277
|
requestType: "json",
|
|
278
278
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -331,7 +331,7 @@ class V2 {
|
|
|
331
331
|
const _response = yield core.fetcher({
|
|
332
332
|
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/provider-credentialing-span/v2/${encodeURIComponent(serializers.ProviderCredentialingSpanId.jsonOrThrow(providerCredentialingId))}`),
|
|
333
333
|
method: "PATCH",
|
|
334
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
334
|
+
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),
|
|
335
335
|
contentType: "application/json",
|
|
336
336
|
requestType: "json",
|
|
337
337
|
body: serializers.credentialing.v2.ProviderCredentialingSpanUpdate.jsonOrThrow(request, {
|
|
@@ -72,7 +72,7 @@ class V1 {
|
|
|
72
72
|
const _response = yield core.fetcher({
|
|
73
73
|
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/custom-schemas/v1"),
|
|
74
74
|
method: "GET",
|
|
75
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
75
|
+
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),
|
|
76
76
|
contentType: "application/json",
|
|
77
77
|
requestType: "json",
|
|
78
78
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -125,7 +125,7 @@ class V1 {
|
|
|
125
125
|
const _response = yield core.fetcher({
|
|
126
126
|
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/custom-schemas/v1/${encodeURIComponent(serializers.SchemaId.jsonOrThrow(schemaId))}`),
|
|
127
127
|
method: "GET",
|
|
128
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
128
|
+
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),
|
|
129
129
|
contentType: "application/json",
|
|
130
130
|
requestType: "json",
|
|
131
131
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -196,7 +196,7 @@ class V1 {
|
|
|
196
196
|
const _response = yield core.fetcher({
|
|
197
197
|
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/custom-schemas/v1"),
|
|
198
198
|
method: "POST",
|
|
199
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
199
|
+
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),
|
|
200
200
|
contentType: "application/json",
|
|
201
201
|
requestType: "json",
|
|
202
202
|
body: serializers.customSchemas.v1.SchemaCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -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/custom-schemas/v1/${encodeURIComponent(serializers.SchemaId.jsonOrThrow(schemaId))}`),
|
|
260
260
|
method: "PATCH",
|
|
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
|
body: serializers.customSchemas.v1.SchemaUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -78,7 +78,7 @@ class Diagnoses {
|
|
|
78
78
|
const _response = yield core.fetcher({
|
|
79
79
|
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/diagnoses/v2"),
|
|
80
80
|
method: "POST",
|
|
81
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
81
|
+
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),
|
|
82
82
|
contentType: "application/json",
|
|
83
83
|
requestType: "json",
|
|
84
84
|
body: serializers.StandaloneDiagnosisCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -123,7 +123,7 @@ class Diagnoses {
|
|
|
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).candidApi, `/api/diagnoses/v2/${encodeURIComponent(serializers.DiagnosisId.jsonOrThrow(diagnosisId))}`),
|
|
125
125
|
method: "PATCH",
|
|
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
|
requestType: "json",
|
|
129
129
|
body: serializers.DiagnosisUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -177,7 +177,7 @@ class Diagnoses {
|
|
|
177
177
|
const _response = yield core.fetcher({
|
|
178
178
|
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/diagnoses/v2/${encodeURIComponent(serializers.DiagnosisId.jsonOrThrow(diagnosisId))}`),
|
|
179
179
|
method: "DELETE",
|
|
180
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
180
|
+
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),
|
|
181
181
|
contentType: "application/json",
|
|
182
182
|
requestType: "json",
|
|
183
183
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -91,7 +91,7 @@ class V2 {
|
|
|
91
91
|
const _response = yield core.fetcher({
|
|
92
92
|
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/eligibility/v2"),
|
|
93
93
|
method: "POST",
|
|
94
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
94
|
+
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),
|
|
95
95
|
contentType: "application/json",
|
|
96
96
|
requestType: "json",
|
|
97
97
|
body: request,
|
|
@@ -159,7 +159,7 @@ class V2 {
|
|
|
159
159
|
const _response = yield core.fetcher({
|
|
160
160
|
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/eligibility/v2/availity"),
|
|
161
161
|
method: "GET",
|
|
162
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
162
|
+
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),
|
|
163
163
|
contentType: "application/json",
|
|
164
164
|
requestType: "json",
|
|
165
165
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -225,7 +225,7 @@ class V2 {
|
|
|
225
225
|
const _response = yield core.fetcher({
|
|
226
226
|
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/eligibility/v2/availity"),
|
|
227
227
|
method: "POST",
|
|
228
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
228
|
+
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),
|
|
229
229
|
contentType: "application/json",
|
|
230
230
|
requestType: "json",
|
|
231
231
|
body: request,
|
|
@@ -86,7 +86,7 @@ class V2 {
|
|
|
86
86
|
const _response = yield core.fetcher({
|
|
87
87
|
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/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}`),
|
|
88
88
|
method: "PATCH",
|
|
89
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
89
|
+
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),
|
|
90
90
|
contentType: "application/json",
|
|
91
91
|
requestType: "json",
|
|
92
92
|
body: serializers.encounterProviders.v2.ReferringProviderUpdate.jsonOrThrow(request, {
|
|
@@ -157,7 +157,7 @@ class V2 {
|
|
|
157
157
|
const _response = yield core.fetcher({
|
|
158
158
|
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/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/initial-referring-provider`),
|
|
159
159
|
method: "PATCH",
|
|
160
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
160
|
+
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),
|
|
161
161
|
contentType: "application/json",
|
|
162
162
|
requestType: "json",
|
|
163
163
|
body: serializers.encounterProviders.v2.InitialReferringProviderUpdate.jsonOrThrow(request, {
|
|
@@ -228,7 +228,7 @@ class V2 {
|
|
|
228
228
|
const _response = yield core.fetcher({
|
|
229
229
|
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/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/supervising-provider`),
|
|
230
230
|
method: "PATCH",
|
|
231
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
231
|
+
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),
|
|
232
232
|
contentType: "application/json",
|
|
233
233
|
requestType: "json",
|
|
234
234
|
body: serializers.encounterProviders.v2.SupervisingProviderUpdate.jsonOrThrow(request, {
|
|
@@ -299,7 +299,7 @@ class V2 {
|
|
|
299
299
|
const _response = yield core.fetcher({
|
|
300
300
|
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/encounter-providers/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/ordering-provider`),
|
|
301
301
|
method: "PATCH",
|
|
302
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
302
|
+
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),
|
|
303
303
|
contentType: "application/json",
|
|
304
304
|
requestType: "json",
|
|
305
305
|
body: serializers.encounterProviders.v2.OrderingProviderUpdate.jsonOrThrow(request, {
|
|
@@ -369,7 +369,7 @@ class V2 {
|
|
|
369
369
|
const _response = yield core.fetcher({
|
|
370
370
|
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/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/create-referring-provider`),
|
|
371
371
|
method: "POST",
|
|
372
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
372
|
+
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),
|
|
373
373
|
contentType: "application/json",
|
|
374
374
|
requestType: "json",
|
|
375
375
|
body: serializers.encounterProviders.v2.ReferringProvider.jsonOrThrow(request, {
|
|
@@ -441,7 +441,7 @@ class V2 {
|
|
|
441
441
|
const _response = yield core.fetcher({
|
|
442
442
|
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/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/create-initial-referring-provider`),
|
|
443
443
|
method: "POST",
|
|
444
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
444
|
+
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),
|
|
445
445
|
contentType: "application/json",
|
|
446
446
|
requestType: "json",
|
|
447
447
|
body: serializers.encounterProviders.v2.InitialReferringProvider.jsonOrThrow(request, {
|
|
@@ -514,7 +514,7 @@ class V2 {
|
|
|
514
514
|
const _response = yield core.fetcher({
|
|
515
515
|
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/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/create-supervising-provider`),
|
|
516
516
|
method: "POST",
|
|
517
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
517
|
+
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),
|
|
518
518
|
contentType: "application/json",
|
|
519
519
|
requestType: "json",
|
|
520
520
|
body: serializers.encounterProviders.v2.SupervisingProvider.jsonOrThrow(request, {
|
|
@@ -586,7 +586,7 @@ class V2 {
|
|
|
586
586
|
const _response = yield core.fetcher({
|
|
587
587
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).candidApi, `/api/encounter-providers/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/create-ordering-provider`),
|
|
588
588
|
method: "POST",
|
|
589
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
589
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.40.0", "User-Agent": "candidhealth/0.40.0", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
590
590
|
contentType: "application/json",
|
|
591
591
|
requestType: "json",
|
|
592
592
|
body: serializers.encounterProviders.v2.OrderingProvider.jsonOrThrow(request, {
|
|
@@ -642,7 +642,7 @@ class V2 {
|
|
|
642
642
|
const _response = yield core.fetcher({
|
|
643
643
|
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/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/referring-provider`),
|
|
644
644
|
method: "DELETE",
|
|
645
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
645
|
+
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),
|
|
646
646
|
contentType: "application/json",
|
|
647
647
|
requestType: "json",
|
|
648
648
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -689,7 +689,7 @@ class V2 {
|
|
|
689
689
|
const _response = yield core.fetcher({
|
|
690
690
|
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/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/initial-referring-provider`),
|
|
691
691
|
method: "DELETE",
|
|
692
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
692
|
+
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),
|
|
693
693
|
contentType: "application/json",
|
|
694
694
|
requestType: "json",
|
|
695
695
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -736,7 +736,7 @@ class V2 {
|
|
|
736
736
|
const _response = yield core.fetcher({
|
|
737
737
|
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/encounter-providers/v2/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}/supervising-provider`),
|
|
738
738
|
method: "DELETE",
|
|
739
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
739
|
+
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),
|
|
740
740
|
contentType: "application/json",
|
|
741
741
|
requestType: "json",
|
|
742
742
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -783,7 +783,7 @@ class V2 {
|
|
|
783
783
|
const _response = yield core.fetcher({
|
|
784
784
|
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/encounter-providers/v2/${encodeURIComponent(serializers.ServiceLineId.jsonOrThrow(serviceLineId))}/ordering-provider`),
|
|
785
785
|
method: "DELETE",
|
|
786
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
786
|
+
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),
|
|
787
787
|
contentType: "application/json",
|
|
788
788
|
requestType: "json",
|
|
789
789
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -68,7 +68,10 @@ export declare class V4 {
|
|
|
68
68
|
* nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
69
69
|
* nonInsurancePayersInfo: [{
|
|
70
70
|
* nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
71
|
-
* memberId: "string"
|
|
71
|
+
* memberId: "string",
|
|
72
|
+
* clinicalTrialInfo: [{
|
|
73
|
+
* clinicalTrialId: CandidApi.ClinicalTrialId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
74
|
+
* }]
|
|
72
75
|
* }],
|
|
73
76
|
* emailConsent: true,
|
|
74
77
|
* externalId: "string",
|
|
@@ -324,6 +327,10 @@ export declare class V4 {
|
|
|
324
327
|
* conditionIndicator2: "AV",
|
|
325
328
|
* conditionIndicator3: "AV"
|
|
326
329
|
* },
|
|
330
|
+
* claimSupplementalInformation: [{
|
|
331
|
+
* attachmentReportTypeCode: "03",
|
|
332
|
+
* attachmentTransmissionCode: "BM"
|
|
333
|
+
* }],
|
|
327
334
|
* externalId: CandidApi.EncounterExternalId("string"),
|
|
328
335
|
* dateOfService: "2023-01-15",
|
|
329
336
|
* endDateOfService: "2023-01-15",
|
|
@@ -143,7 +143,7 @@ class V4 {
|
|
|
143
143
|
const _response = yield core.fetcher({
|
|
144
144
|
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/encounters/v4"),
|
|
145
145
|
method: "GET",
|
|
146
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
146
|
+
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),
|
|
147
147
|
contentType: "application/json",
|
|
148
148
|
queryParameters: _queryParams,
|
|
149
149
|
requestType: "json",
|
|
@@ -181,7 +181,7 @@ class V4 {
|
|
|
181
181
|
const _response = yield core.fetcher({
|
|
182
182
|
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/encounters/v4/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}`),
|
|
183
183
|
method: "GET",
|
|
184
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
184
|
+
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),
|
|
185
185
|
contentType: "application/json",
|
|
186
186
|
requestType: "json",
|
|
187
187
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -221,7 +221,10 @@ class V4 {
|
|
|
221
221
|
* nonInsurancePayers: [CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")],
|
|
222
222
|
* nonInsurancePayersInfo: [{
|
|
223
223
|
* nonInsurancePayerId: CandidApi.nonInsurancePayers.v1.NonInsurancePayerId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32"),
|
|
224
|
-
* memberId: "string"
|
|
224
|
+
* memberId: "string",
|
|
225
|
+
* clinicalTrialInfo: [{
|
|
226
|
+
* clinicalTrialId: CandidApi.ClinicalTrialId("d5e9c84f-c2b2-4bf4-b4b0-7ffd7a9ffc32")
|
|
227
|
+
* }]
|
|
225
228
|
* }],
|
|
226
229
|
* emailConsent: true,
|
|
227
230
|
* externalId: "string",
|
|
@@ -477,6 +480,10 @@ class V4 {
|
|
|
477
480
|
* conditionIndicator2: "AV",
|
|
478
481
|
* conditionIndicator3: "AV"
|
|
479
482
|
* },
|
|
483
|
+
* claimSupplementalInformation: [{
|
|
484
|
+
* attachmentReportTypeCode: "03",
|
|
485
|
+
* attachmentTransmissionCode: "BM"
|
|
486
|
+
* }],
|
|
480
487
|
* externalId: CandidApi.EncounterExternalId("string"),
|
|
481
488
|
* dateOfService: "2023-01-15",
|
|
482
489
|
* endDateOfService: "2023-01-15",
|
|
@@ -544,7 +551,7 @@ class V4 {
|
|
|
544
551
|
const _response = yield core.fetcher({
|
|
545
552
|
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/encounters/v4"),
|
|
546
553
|
method: "POST",
|
|
547
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
554
|
+
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),
|
|
548
555
|
contentType: "application/json",
|
|
549
556
|
requestType: "json",
|
|
550
557
|
body: serializers.encounters.v4.EncounterCreate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -821,7 +828,7 @@ class V4 {
|
|
|
821
828
|
const _response = yield core.fetcher({
|
|
822
829
|
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/encounters/v4/create-from-pre-encounter"),
|
|
823
830
|
method: "POST",
|
|
824
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
831
|
+
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),
|
|
825
832
|
contentType: "application/json",
|
|
826
833
|
requestType: "json",
|
|
827
834
|
body: serializers.encounters.v4.EncounterCreateFromPreEncounter.jsonOrThrow(request, {
|
|
@@ -886,7 +893,7 @@ class V4 {
|
|
|
886
893
|
const _response = yield core.fetcher({
|
|
887
894
|
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/encounters/v4/${encodeURIComponent(serializers.EncounterId.jsonOrThrow(encounterId))}`),
|
|
888
895
|
method: "PATCH",
|
|
889
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "0.
|
|
896
|
+
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),
|
|
890
897
|
contentType: "application/json",
|
|
891
898
|
requestType: "json",
|
|
892
899
|
body: serializers.encounters.v4.EncounterUpdate.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|