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,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.Error = void 0;
|
|
40
|
+
const CandidApi = __importStar(require("../../../../../../../index"));
|
|
41
|
+
exports.Error = {
|
|
42
|
+
versionConflictError: (value) => {
|
|
43
|
+
return {
|
|
44
|
+
content: value,
|
|
45
|
+
errorName: "VersionConflictError",
|
|
46
|
+
_visit: function (visitor) {
|
|
47
|
+
return CandidApi.preEncounter.images.v1.create.Error._visit(this, visitor);
|
|
48
|
+
},
|
|
49
|
+
};
|
|
50
|
+
},
|
|
51
|
+
_unknown: (fetcherError) => {
|
|
52
|
+
return {
|
|
53
|
+
errorName: undefined,
|
|
54
|
+
content: fetcherError,
|
|
55
|
+
_visit: function (visitor) {
|
|
56
|
+
return CandidApi.preEncounter.images.v1.create.Error._visit(this, visitor);
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
},
|
|
60
|
+
_visit: (value, visitor) => {
|
|
61
|
+
switch (value.errorName) {
|
|
62
|
+
case "VersionConflictError":
|
|
63
|
+
return visitor.versionConflictError(value.content);
|
|
64
|
+
default:
|
|
65
|
+
return visitor._other(value);
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../../index";
|
|
5
|
+
import * as core from "../../../../../../../../core";
|
|
6
|
+
export type Error = CandidApi.preEncounter.images.v1.deactivate.Error.NotFoundError | CandidApi.preEncounter.images.v1.deactivate.Error.VersionConflictError | CandidApi.preEncounter.images.v1.deactivate.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface NotFoundError extends _Utils {
|
|
9
|
+
errorName: "NotFoundError";
|
|
10
|
+
content: CandidApi.preEncounter.ErrorBase4Xx;
|
|
11
|
+
}
|
|
12
|
+
interface VersionConflictError extends _Utils {
|
|
13
|
+
errorName: "VersionConflictError";
|
|
14
|
+
content: CandidApi.preEncounter.VersionConflictErrorBody;
|
|
15
|
+
}
|
|
16
|
+
interface _Unknown extends _Utils {
|
|
17
|
+
errorName: void;
|
|
18
|
+
content: core.Fetcher.Error;
|
|
19
|
+
}
|
|
20
|
+
interface _Utils {
|
|
21
|
+
_visit: <_Result>(visitor: CandidApi.preEncounter.images.v1.deactivate.Error._Visitor<_Result>) => _Result;
|
|
22
|
+
}
|
|
23
|
+
interface _Visitor<_Result> {
|
|
24
|
+
notFoundError: (value: CandidApi.preEncounter.ErrorBase4Xx) => _Result;
|
|
25
|
+
versionConflictError: (value: CandidApi.preEncounter.VersionConflictErrorBody) => _Result;
|
|
26
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
export declare const Error: {
|
|
30
|
+
readonly notFoundError: (value: CandidApi.preEncounter.ErrorBase4Xx) => CandidApi.preEncounter.images.v1.deactivate.Error.NotFoundError;
|
|
31
|
+
readonly versionConflictError: (value: CandidApi.preEncounter.VersionConflictErrorBody) => CandidApi.preEncounter.images.v1.deactivate.Error.VersionConflictError;
|
|
32
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.images.v1.deactivate.Error._Unknown;
|
|
33
|
+
readonly _visit: <_Result>(value: CandidApi.preEncounter.images.v1.deactivate.Error, visitor: CandidApi.preEncounter.images.v1.deactivate.Error._Visitor<_Result>) => _Result;
|
|
34
|
+
};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.Error = void 0;
|
|
40
|
+
const CandidApi = __importStar(require("../../../../../../../index"));
|
|
41
|
+
exports.Error = {
|
|
42
|
+
notFoundError: (value) => {
|
|
43
|
+
return {
|
|
44
|
+
content: value,
|
|
45
|
+
errorName: "NotFoundError",
|
|
46
|
+
_visit: function (visitor) {
|
|
47
|
+
return CandidApi.preEncounter.images.v1.deactivate.Error._visit(this, visitor);
|
|
48
|
+
},
|
|
49
|
+
};
|
|
50
|
+
},
|
|
51
|
+
versionConflictError: (value) => {
|
|
52
|
+
return {
|
|
53
|
+
content: value,
|
|
54
|
+
errorName: "VersionConflictError",
|
|
55
|
+
_visit: function (visitor) {
|
|
56
|
+
return CandidApi.preEncounter.images.v1.deactivate.Error._visit(this, visitor);
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
},
|
|
60
|
+
_unknown: (fetcherError) => {
|
|
61
|
+
return {
|
|
62
|
+
errorName: undefined,
|
|
63
|
+
content: fetcherError,
|
|
64
|
+
_visit: function (visitor) {
|
|
65
|
+
return CandidApi.preEncounter.images.v1.deactivate.Error._visit(this, visitor);
|
|
66
|
+
},
|
|
67
|
+
};
|
|
68
|
+
},
|
|
69
|
+
_visit: (value, visitor) => {
|
|
70
|
+
switch (value.errorName) {
|
|
71
|
+
case "NotFoundError":
|
|
72
|
+
return visitor.notFoundError(value.content);
|
|
73
|
+
case "VersionConflictError":
|
|
74
|
+
return visitor.versionConflictError(value.content);
|
|
75
|
+
default:
|
|
76
|
+
return visitor._other(value);
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../../index";
|
|
5
|
+
import * as core from "../../../../../../../../core";
|
|
6
|
+
export type Error = CandidApi.preEncounter.images.v1.get.Error.NotFoundError | CandidApi.preEncounter.images.v1.get.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface NotFoundError extends _Utils {
|
|
9
|
+
errorName: "NotFoundError";
|
|
10
|
+
content: CandidApi.preEncounter.ErrorBase4Xx;
|
|
11
|
+
}
|
|
12
|
+
interface _Unknown extends _Utils {
|
|
13
|
+
errorName: void;
|
|
14
|
+
content: core.Fetcher.Error;
|
|
15
|
+
}
|
|
16
|
+
interface _Utils {
|
|
17
|
+
_visit: <_Result>(visitor: CandidApi.preEncounter.images.v1.get.Error._Visitor<_Result>) => _Result;
|
|
18
|
+
}
|
|
19
|
+
interface _Visitor<_Result> {
|
|
20
|
+
notFoundError: (value: CandidApi.preEncounter.ErrorBase4Xx) => _Result;
|
|
21
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
export declare const Error: {
|
|
25
|
+
readonly notFoundError: (value: CandidApi.preEncounter.ErrorBase4Xx) => CandidApi.preEncounter.images.v1.get.Error.NotFoundError;
|
|
26
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.images.v1.get.Error._Unknown;
|
|
27
|
+
readonly _visit: <_Result>(value: CandidApi.preEncounter.images.v1.get.Error, visitor: CandidApi.preEncounter.images.v1.get.Error._Visitor<_Result>) => _Result;
|
|
28
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.Error = void 0;
|
|
40
|
+
const CandidApi = __importStar(require("../../../../../../../index"));
|
|
41
|
+
exports.Error = {
|
|
42
|
+
notFoundError: (value) => {
|
|
43
|
+
return {
|
|
44
|
+
content: value,
|
|
45
|
+
errorName: "NotFoundError",
|
|
46
|
+
_visit: function (visitor) {
|
|
47
|
+
return CandidApi.preEncounter.images.v1.get.Error._visit(this, visitor);
|
|
48
|
+
},
|
|
49
|
+
};
|
|
50
|
+
},
|
|
51
|
+
_unknown: (fetcherError) => {
|
|
52
|
+
return {
|
|
53
|
+
errorName: undefined,
|
|
54
|
+
content: fetcherError,
|
|
55
|
+
_visit: function (visitor) {
|
|
56
|
+
return CandidApi.preEncounter.images.v1.get.Error._visit(this, visitor);
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
},
|
|
60
|
+
_visit: (value, visitor) => {
|
|
61
|
+
switch (value.errorName) {
|
|
62
|
+
case "NotFoundError":
|
|
63
|
+
return visitor.notFoundError(value.content);
|
|
64
|
+
default:
|
|
65
|
+
return visitor._other(value);
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../../index";
|
|
5
|
+
import * as core from "../../../../../../../../core";
|
|
6
|
+
export type Error = CandidApi.preEncounter.images.v1.getMulti.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface _Unknown extends _Utils {
|
|
9
|
+
errorName: void;
|
|
10
|
+
content: core.Fetcher.Error;
|
|
11
|
+
}
|
|
12
|
+
interface _Utils {
|
|
13
|
+
_visit: <_Result>(visitor: CandidApi.preEncounter.images.v1.getMulti.Error._Visitor<_Result>) => _Result;
|
|
14
|
+
}
|
|
15
|
+
interface _Visitor<_Result> {
|
|
16
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export declare const Error: {
|
|
20
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.images.v1.getMulti.Error._Unknown;
|
|
21
|
+
readonly _visit: <_Result>(value: CandidApi.preEncounter.images.v1.getMulti.Error, visitor: CandidApi.preEncounter.images.v1.getMulti.Error._Visitor<_Result>) => _Result;
|
|
22
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.Error = void 0;
|
|
40
|
+
const CandidApi = __importStar(require("../../../../../../../index"));
|
|
41
|
+
exports.Error = {
|
|
42
|
+
_unknown: (fetcherError) => {
|
|
43
|
+
return {
|
|
44
|
+
errorName: undefined,
|
|
45
|
+
content: fetcherError,
|
|
46
|
+
_visit: function (visitor) {
|
|
47
|
+
return CandidApi.preEncounter.images.v1.getMulti.Error._visit(this, visitor);
|
|
48
|
+
},
|
|
49
|
+
};
|
|
50
|
+
},
|
|
51
|
+
_visit: (value, visitor) => {
|
|
52
|
+
switch (value.errorName) {
|
|
53
|
+
default:
|
|
54
|
+
return visitor._other(value);
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
19
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
20
|
+
};
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.getMulti = exports.deactivate = exports.update = exports.get = exports.create = void 0;
|
|
40
|
+
__exportStar(require("./requests"), exports);
|
|
41
|
+
exports.create = __importStar(require("./create"));
|
|
42
|
+
exports.get = __importStar(require("./get"));
|
|
43
|
+
exports.update = __importStar(require("./update"));
|
|
44
|
+
exports.deactivate = __importStar(require("./deactivate"));
|
|
45
|
+
exports.getMulti = __importStar(require("./getMulti"));
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {
|
|
7
|
+
* patientId: "string",
|
|
8
|
+
* coverageId: "string"
|
|
9
|
+
* }
|
|
10
|
+
*/
|
|
11
|
+
export interface ImageGetMultiRequest {
|
|
12
|
+
patientId?: string;
|
|
13
|
+
coverageId?: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { type ImageGetMultiRequest } from "./ImageGetMultiRequest";
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../../index";
|
|
5
|
+
import * as core from "../../../../../../../../core";
|
|
6
|
+
export type Error = CandidApi.preEncounter.images.v1.update.Error.NotFoundError | CandidApi.preEncounter.images.v1.update.Error.VersionConflictError | CandidApi.preEncounter.images.v1.update.Error._Unknown;
|
|
7
|
+
export declare namespace Error {
|
|
8
|
+
interface NotFoundError extends _Utils {
|
|
9
|
+
errorName: "NotFoundError";
|
|
10
|
+
content: CandidApi.preEncounter.ErrorBase4Xx;
|
|
11
|
+
}
|
|
12
|
+
interface VersionConflictError extends _Utils {
|
|
13
|
+
errorName: "VersionConflictError";
|
|
14
|
+
content: CandidApi.preEncounter.VersionConflictErrorBody;
|
|
15
|
+
}
|
|
16
|
+
interface _Unknown extends _Utils {
|
|
17
|
+
errorName: void;
|
|
18
|
+
content: core.Fetcher.Error;
|
|
19
|
+
}
|
|
20
|
+
interface _Utils {
|
|
21
|
+
_visit: <_Result>(visitor: CandidApi.preEncounter.images.v1.update.Error._Visitor<_Result>) => _Result;
|
|
22
|
+
}
|
|
23
|
+
interface _Visitor<_Result> {
|
|
24
|
+
notFoundError: (value: CandidApi.preEncounter.ErrorBase4Xx) => _Result;
|
|
25
|
+
versionConflictError: (value: CandidApi.preEncounter.VersionConflictErrorBody) => _Result;
|
|
26
|
+
_other: (value: core.Fetcher.Error) => _Result;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
export declare const Error: {
|
|
30
|
+
readonly notFoundError: (value: CandidApi.preEncounter.ErrorBase4Xx) => CandidApi.preEncounter.images.v1.update.Error.NotFoundError;
|
|
31
|
+
readonly versionConflictError: (value: CandidApi.preEncounter.VersionConflictErrorBody) => CandidApi.preEncounter.images.v1.update.Error.VersionConflictError;
|
|
32
|
+
readonly _unknown: (fetcherError: core.Fetcher.Error) => CandidApi.preEncounter.images.v1.update.Error._Unknown;
|
|
33
|
+
readonly _visit: <_Result>(value: CandidApi.preEncounter.images.v1.update.Error, visitor: CandidApi.preEncounter.images.v1.update.Error._Visitor<_Result>) => _Result;
|
|
34
|
+
};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.Error = void 0;
|
|
40
|
+
const CandidApi = __importStar(require("../../../../../../../index"));
|
|
41
|
+
exports.Error = {
|
|
42
|
+
notFoundError: (value) => {
|
|
43
|
+
return {
|
|
44
|
+
content: value,
|
|
45
|
+
errorName: "NotFoundError",
|
|
46
|
+
_visit: function (visitor) {
|
|
47
|
+
return CandidApi.preEncounter.images.v1.update.Error._visit(this, visitor);
|
|
48
|
+
},
|
|
49
|
+
};
|
|
50
|
+
},
|
|
51
|
+
versionConflictError: (value) => {
|
|
52
|
+
return {
|
|
53
|
+
content: value,
|
|
54
|
+
errorName: "VersionConflictError",
|
|
55
|
+
_visit: function (visitor) {
|
|
56
|
+
return CandidApi.preEncounter.images.v1.update.Error._visit(this, visitor);
|
|
57
|
+
},
|
|
58
|
+
};
|
|
59
|
+
},
|
|
60
|
+
_unknown: (fetcherError) => {
|
|
61
|
+
return {
|
|
62
|
+
errorName: undefined,
|
|
63
|
+
content: fetcherError,
|
|
64
|
+
_visit: function (visitor) {
|
|
65
|
+
return CandidApi.preEncounter.images.v1.update.Error._visit(this, visitor);
|
|
66
|
+
},
|
|
67
|
+
};
|
|
68
|
+
},
|
|
69
|
+
_visit: (value, visitor) => {
|
|
70
|
+
switch (value.errorName) {
|
|
71
|
+
case "NotFoundError":
|
|
72
|
+
return visitor.notFoundError(value.content);
|
|
73
|
+
case "VersionConflictError":
|
|
74
|
+
return visitor.versionConflictError(value.content);
|
|
75
|
+
default:
|
|
76
|
+
return visitor._other(value);
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
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("./types"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
package/api/resources/preEncounter/resources/images/resources/v1/types/CoverageAssociation.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* An association to a Coverage.
|
|
7
|
+
*/
|
|
8
|
+
export interface CoverageAssociation {
|
|
9
|
+
id: CandidApi.preEncounter.CoverageId;
|
|
10
|
+
side: CandidApi.preEncounter.images.v1.CoverageImageSide;
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.CoverageImageSide = void 0;
|
|
7
|
+
exports.CoverageImageSide = {
|
|
8
|
+
Front: "FRONT",
|
|
9
|
+
Back: "BACK",
|
|
10
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* An Image object with immutable server-owned properties.
|
|
7
|
+
*/
|
|
8
|
+
export interface Image extends CandidApi.preEncounter.BaseModel, CandidApi.preEncounter.images.v1.MutableImage {
|
|
9
|
+
id: CandidApi.preEncounter.images.v1.ImageId;
|
|
10
|
+
/** A signed URL to the image. This url can be used to upload an image to GCP storage or to read the image contents. */
|
|
11
|
+
signedUrl: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as CandidApi from "../../../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* The unique identifier for an Image
|
|
7
|
+
*/
|
|
8
|
+
export type ImageId = string & {
|
|
9
|
+
preEncounter_images_v1_ImageId: void;
|
|
10
|
+
};
|
|
11
|
+
export declare function ImageId(value: string): CandidApi.preEncounter.images.v1.ImageId;
|