candidhealth 1.7.0 → 1.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/auth/resources/default/client/Client.d.ts +3 -1
- package/api/resources/auth/resources/default/client/Client.js +5 -3
- package/api/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +9 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/api/resources/chargeCapture/resources/v1/client/Client.js +76 -7
- package/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +36 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +42 -5
- package/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +20 -0
- package/api/resources/commons/types/Clearinghouse.d.ts +14 -0
- package/api/resources/commons/types/Clearinghouse.js +16 -0
- package/api/resources/commons/types/ProcedureModifier.d.ts +13 -2
- package/api/resources/commons/types/ProcedureModifier.js +11 -0
- package/api/resources/commons/types/index.d.ts +1 -0
- package/api/resources/commons/types/index.js +1 -0
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/credentialing/resources/v2/client/Client.js +10 -10
- 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/encounterAttachments/resources/v1/client/Client.js +3 -3
- package/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +1 -1
- package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +1 -1
- package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +1 -1
- package/api/resources/encounters/resources/v4/client/Client.d.ts +108 -9
- package/api/resources/encounters/resources/v4/client/Client.js +279 -15
- package/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
- package/api/resources/encounters/resources/v4/client/create.js +11 -0
- package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +70 -0
- package/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +145 -0
- package/api/resources/encounters/resources/v4/client/createUniversal.d.ts +94 -0
- package/api/resources/encounters/resources/v4/client/createUniversal.js +189 -0
- package/api/resources/encounters/resources/v4/client/index.d.ts +3 -0
- package/api/resources/encounters/resources/v4/client/index.js +4 -1
- package/api/resources/encounters/resources/v4/client/requests/index.d.ts +0 -2
- package/api/resources/encounters/resources/v4/client/updateUniversal.d.ts +70 -0
- package/api/resources/encounters/resources/v4/client/updateUniversal.js +145 -0
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +15 -29
- package/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +10 -11
- package/api/resources/encounters/resources/v4/types/EncounterCreate.d.ts +27 -0
- package/api/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.d.ts +3 -36
- package/api/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +9 -4
- package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +10 -16
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +2 -9
- package/api/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.d.ts +5 -0
- package/api/resources/encounters/resources/v4/types/EncounterUpdate.d.ts +17 -0
- package/api/resources/encounters/resources/v4/types/index.d.ts +7 -4
- package/api/resources/encounters/resources/v4/types/index.js +7 -4
- package/api/resources/encountersUniversal/index.d.ts +1 -0
- package/api/resources/encountersUniversal/index.js +17 -0
- package/api/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +49 -0
- package/api/resources/{encounters/resources/v4/client/requests/EncounterCreate.d.ts → encountersUniversal/types/UniversalEncounterCreateBase.d.ts} +9 -70
- package/api/resources/encountersUniversal/types/UniversalEncounterCreateBase.js +5 -0
- package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +47 -0
- package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +5 -0
- package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +40 -0
- package/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +5 -0
- package/api/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +39 -0
- package/api/resources/encountersUniversal/types/UniversalEncounterUpdate.js +5 -0
- package/api/resources/{encounters/resources/v4/client/requests/EncounterUpdate.d.ts → encountersUniversal/types/UniversalEncounterUpdateBase.d.ts} +9 -18
- package/api/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js +5 -0
- package/api/resources/encountersUniversal/types/index.d.ts +6 -0
- package/api/resources/encountersUniversal/types/index.js +22 -0
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.d.ts +12 -0
- package/api/resources/feeSchedules/resources/v3/client/Client.js +55 -11
- package/api/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.d.ts +22 -0
- package/api/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.js +57 -0
- package/api/resources/feeSchedules/resources/v3/client/index.d.ts +1 -0
- package/api/resources/feeSchedules/resources/v3/client/index.js +2 -1
- package/api/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.d.ts +13 -0
- package/api/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.js +5 -0
- package/api/resources/feeSchedules/resources/v3/client/requests/index.d.ts +1 -0
- package/api/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +4 -1
- package/api/resources/financials/types/PatientTransactionSource.d.ts +2 -1
- package/api/resources/financials/types/PatientTransactionSource.js +1 -0
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/guarantor/resources/v1/types/Guarantor.d.ts +2 -0
- package/api/resources/guarantor/resources/v1/types/GuarantorCreate.d.ts +2 -0
- package/api/resources/guarantor/resources/v1/types/GuarantorOptional.d.ts +1 -0
- package/api/resources/guarantor/resources/v1/types/GuarantorUpdate.d.ts +1 -0
- package/api/resources/healthCareCodeInformation/resources/v1/client/Client.js +2 -2
- package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +11 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +11 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +11 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +12 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +19 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +12 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +12 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +12 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +12 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +11 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +12 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +12 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +11 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +12 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +5 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +14 -0
- package/api/resources/healthCareCodeInformation/resources/v1/types/index.js +14 -0
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +3 -2
- package/api/resources/individual/types/Patient.d.ts +2 -0
- package/api/resources/individual/types/PatientBase.d.ts +2 -2
- package/api/resources/individual/types/PatientCreate.d.ts +2 -0
- package/api/resources/individual/types/PatientUpdate.d.ts +3 -2
- package/api/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +3 -2
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
- 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.js +7 -7
- package/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +3 -1
- package/api/resources/organizationProviders/resources/v2/types/LicenseType.js +2 -0
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/patientAr/resources/v1/client/Client.js +2 -2
- 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/payerPlanGroups/resources/v1/client/Client.js +5 -5
- package/api/resources/payers/client/Client.d.ts +3 -0
- package/api/resources/payers/client/Client.js +5 -0
- package/api/resources/payers/resources/index.d.ts +1 -0
- package/api/resources/payers/resources/index.js +2 -1
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/payers/resources/v4/client/Client.d.ts +45 -0
- package/api/resources/payers/resources/v4/client/Client.js +157 -0
- package/api/resources/payers/resources/v4/client/get.d.ts +22 -0
- package/api/resources/payers/resources/v4/client/get.js +57 -0
- package/api/resources/payers/resources/v4/client/getAll.d.ts +22 -0
- package/api/resources/payers/resources/v4/client/getAll.js +57 -0
- package/api/resources/payers/resources/v4/client/index.d.ts +3 -0
- package/api/resources/payers/resources/v4/client/index.js +42 -0
- package/api/resources/payers/resources/v4/client/requests/GetAllPayersRequest.d.ts +16 -0
- package/api/resources/payers/resources/v4/client/requests/GetAllPayersRequest.js +5 -0
- package/api/resources/payers/resources/v4/client/requests/index.d.ts +1 -0
- package/api/resources/payers/resources/v4/client/requests/index.js +2 -0
- package/api/resources/payers/resources/v4/index.d.ts +2 -0
- package/api/resources/payers/resources/v4/index.js +18 -0
- package/api/resources/payers/resources/v4/types/ClearinghousePayerInfo.d.ts +20 -0
- package/api/resources/payers/resources/v4/types/ClearinghousePayerInfo.js +5 -0
- package/api/resources/payers/resources/v4/types/Payer.d.ts +14 -0
- package/api/resources/payers/resources/v4/types/Payer.js +5 -0
- package/api/resources/payers/resources/v4/types/PayerIds.d.ts +11 -0
- package/api/resources/payers/resources/v4/types/PayerIds.js +5 -0
- package/api/resources/payers/resources/v4/types/PayerPage.d.ts +7 -0
- package/api/resources/payers/resources/v4/types/PayerPage.js +5 -0
- package/api/resources/payers/resources/v4/types/PayerUuid.d.ts +8 -0
- package/api/resources/payers/resources/v4/types/PayerUuid.js +9 -0
- package/api/resources/payers/resources/v4/types/PrimaryPayerIds.d.ts +11 -0
- package/api/resources/payers/resources/v4/types/PrimaryPayerIds.js +5 -0
- package/api/resources/payers/resources/v4/types/SupportState.d.ts +9 -0
- package/api/resources/payers/resources/v4/types/SupportState.js +11 -0
- package/api/resources/payers/resources/v4/types/index.d.ts +7 -0
- package/api/resources/payers/resources/v4/types/index.js +23 -0
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +0 -2
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -12
- package/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -1
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +6 -6
- package/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
- 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 +10 -12
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +64 -23
- package/api/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.d.ts +28 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.js +68 -0
- 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 +0 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +0 -4
- package/api/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.d.ts +7 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.js +5 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.d.ts +2 -1
- package/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.js +1 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +1 -0
- package/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +1 -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.d.ts +23 -2
- package/api/resources/serviceLines/resources/v2/client/Client.js +120 -5
- package/api/resources/serviceLines/resources/v2/client/createUniversal.d.ts +28 -0
- package/api/resources/serviceLines/resources/v2/client/createUniversal.js +68 -0
- package/api/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
- package/api/resources/serviceLines/resources/v2/client/index.js +3 -1
- package/api/resources/serviceLines/resources/v2/client/updateUniversal.d.ts +40 -0
- package/api/resources/serviceLines/resources/v2/client/updateUniversal.js +90 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +7 -4
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -45
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.d.ts +7 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.js +5 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +47 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.js +5 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +9 -9
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -47
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.d.ts +7 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.js +5 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.d.ts +49 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.js +5 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -45
- package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +45 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.js +5 -0
- package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +11 -0
- package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +5 -0
- package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +13 -0
- package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.js +5 -0
- package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.d.ts +12 -0
- package/api/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.js +5 -0
- package/api/resources/serviceLines/resources/v2/types/index.d.ts +8 -0
- package/api/resources/serviceLines/resources/v2/types/index.js +8 -0
- package/api/resources/superbills/resources/v1/client/Client.js +1 -1
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
- package/api/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +1 -7
- package/api/resources/x12/resources/v1/types/TypeOfBillCompositeBase.d.ts +12 -0
- package/api/resources/x12/resources/v1/types/TypeOfBillCompositeBase.js +5 -0
- package/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +30 -0
- package/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js +5 -0
- package/api/resources/x12/resources/v1/types/index.d.ts +2 -0
- package/api/resources/x12/resources/v1/types/index.js +2 -0
- package/dist/api/resources/auth/resources/default/client/Client.d.ts +3 -1
- package/dist/api/resources/auth/resources/default/client/Client.js +5 -3
- package/dist/api/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +9 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +76 -7
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/GetAllChargeCapturesRequest.d.ts +36 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +42 -5
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/GetAllChargeCaptureClaimCreationsRequest.d.ts +20 -0
- package/dist/api/resources/commons/types/Clearinghouse.d.ts +14 -0
- package/dist/api/resources/commons/types/Clearinghouse.js +16 -0
- package/dist/api/resources/commons/types/ProcedureModifier.d.ts +13 -2
- package/dist/api/resources/commons/types/ProcedureModifier.js +11 -0
- package/dist/api/resources/commons/types/index.d.ts +1 -0
- package/dist/api/resources/commons/types/index.js +1 -0
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +10 -10
- 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/encounterAttachments/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/encounterProviders/resources/v2/client/Client.js +12 -12
- package/dist/api/resources/encounterProviders/resources/v2/types/BillingProvider.d.ts +1 -1
- package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +1 -1
- package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress.d.ts +1 -1
- package/dist/api/resources/encounters/resources/v4/client/Client.d.ts +108 -9
- package/dist/api/resources/encounters/resources/v4/client/Client.js +279 -15
- package/dist/api/resources/encounters/resources/v4/client/create.d.ts +7 -1
- package/dist/api/resources/encounters/resources/v4/client/create.js +11 -0
- package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +70 -0
- package/dist/api/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +145 -0
- package/dist/api/resources/encounters/resources/v4/client/createUniversal.d.ts +94 -0
- package/dist/api/resources/encounters/resources/v4/client/createUniversal.js +189 -0
- package/dist/api/resources/encounters/resources/v4/client/index.d.ts +3 -0
- package/dist/api/resources/encounters/resources/v4/client/index.js +4 -1
- package/dist/api/resources/encounters/resources/v4/client/requests/index.d.ts +0 -2
- package/dist/api/resources/encounters/resources/v4/client/updateUniversal.d.ts +70 -0
- package/dist/api/resources/encounters/resources/v4/client/updateUniversal.js +145 -0
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +15 -29
- package/dist/api/resources/encounters/resources/v4/types/EncounterBase.d.ts +10 -11
- package/dist/api/resources/encounters/resources/v4/types/EncounterCreate.d.ts +27 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterCreate.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.d.ts +3 -36
- package/dist/api/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +9 -4
- package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +10 -16
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +2 -9
- package/dist/api/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.d.ts +5 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterUpdate.d.ts +17 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterUpdate.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/index.d.ts +7 -4
- package/dist/api/resources/encounters/resources/v4/types/index.js +7 -4
- package/dist/api/resources/encountersUniversal/index.d.ts +1 -0
- package/dist/api/resources/encountersUniversal/index.js +17 -0
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +49 -0
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreate.js +5 -0
- package/dist/api/resources/{encounters/resources/v4/client/requests/EncounterCreate.d.ts → encountersUniversal/types/UniversalEncounterCreateBase.d.ts} +9 -70
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateBase.js +5 -0
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +47 -0
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +5 -0
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +40 -0
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +5 -0
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +39 -0
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterUpdate.js +5 -0
- package/dist/api/resources/{encounters/resources/v4/client/requests/EncounterUpdate.d.ts → encountersUniversal/types/UniversalEncounterUpdateBase.d.ts} +9 -18
- package/dist/api/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js +5 -0
- package/dist/api/resources/encountersUniversal/types/index.d.ts +6 -0
- package/dist/api/resources/encountersUniversal/types/index.js +22 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.d.ts +12 -0
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +55 -11
- package/dist/api/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.d.ts +22 -0
- package/dist/api/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.js +57 -0
- package/dist/api/resources/feeSchedules/resources/v3/client/index.d.ts +1 -0
- package/dist/api/resources/feeSchedules/resources/v3/client/index.js +2 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.d.ts +13 -0
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.js +5 -0
- package/dist/api/resources/feeSchedules/resources/v3/client/requests/index.d.ts +1 -0
- package/dist/api/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +4 -1
- package/dist/api/resources/financials/types/PatientTransactionSource.d.ts +2 -1
- package/dist/api/resources/financials/types/PatientTransactionSource.js +1 -0
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/guarantor/resources/v1/types/Guarantor.d.ts +2 -0
- package/dist/api/resources/guarantor/resources/v1/types/GuarantorCreate.d.ts +2 -0
- package/dist/api/resources/guarantor/resources/v1/types/GuarantorOptional.d.ts +1 -0
- package/dist/api/resources/guarantor/resources/v1/types/GuarantorUpdate.d.ts +1 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +11 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +11 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +11 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +12 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +19 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +12 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +12 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +12 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +12 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +11 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +12 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +12 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +11 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +12 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +5 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +14 -0
- package/dist/api/resources/healthCareCodeInformation/resources/v1/types/index.js +14 -0
- 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 +3 -2
- package/dist/api/resources/individual/types/Patient.d.ts +2 -0
- package/dist/api/resources/individual/types/PatientBase.d.ts +2 -2
- package/dist/api/resources/individual/types/PatientCreate.d.ts +2 -0
- package/dist/api/resources/individual/types/PatientUpdate.d.ts +3 -2
- package/dist/api/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +3 -2
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +2 -2
- 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.js +7 -7
- package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +3 -1
- package/dist/api/resources/organizationProviders/resources/v2/types/LicenseType.js +2 -0
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/patientAr/resources/v1/client/Client.js +2 -2
- 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/payerPlanGroups/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payers/client/Client.d.ts +3 -0
- package/dist/api/resources/payers/client/Client.js +5 -0
- package/dist/api/resources/payers/resources/index.d.ts +1 -0
- package/dist/api/resources/payers/resources/index.js +2 -1
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/payers/resources/v4/client/Client.d.ts +45 -0
- package/dist/api/resources/payers/resources/v4/client/Client.js +157 -0
- package/dist/api/resources/payers/resources/v4/client/get.d.ts +22 -0
- package/dist/api/resources/payers/resources/v4/client/get.js +57 -0
- package/dist/api/resources/payers/resources/v4/client/getAll.d.ts +22 -0
- package/dist/api/resources/payers/resources/v4/client/getAll.js +57 -0
- package/dist/api/resources/payers/resources/v4/client/index.d.ts +3 -0
- package/dist/api/resources/payers/resources/v4/client/index.js +42 -0
- package/dist/api/resources/payers/resources/v4/client/requests/GetAllPayersRequest.d.ts +16 -0
- package/dist/api/resources/payers/resources/v4/client/requests/GetAllPayersRequest.js +5 -0
- package/dist/api/resources/payers/resources/v4/client/requests/index.d.ts +1 -0
- package/dist/api/resources/payers/resources/v4/client/requests/index.js +2 -0
- package/dist/api/resources/payers/resources/v4/index.d.ts +2 -0
- package/dist/api/resources/payers/resources/v4/index.js +18 -0
- package/dist/api/resources/payers/resources/v4/types/ClearinghousePayerInfo.d.ts +20 -0
- package/dist/api/resources/payers/resources/v4/types/ClearinghousePayerInfo.js +5 -0
- package/dist/api/resources/payers/resources/v4/types/Payer.d.ts +14 -0
- package/dist/api/resources/payers/resources/v4/types/Payer.js +5 -0
- package/dist/api/resources/payers/resources/v4/types/PayerIds.d.ts +11 -0
- package/dist/api/resources/payers/resources/v4/types/PayerIds.js +5 -0
- package/dist/api/resources/payers/resources/v4/types/PayerPage.d.ts +7 -0
- package/dist/api/resources/payers/resources/v4/types/PayerPage.js +5 -0
- package/dist/api/resources/payers/resources/v4/types/PayerUuid.d.ts +8 -0
- package/dist/api/resources/payers/resources/v4/types/PayerUuid.js +9 -0
- package/dist/api/resources/payers/resources/v4/types/PrimaryPayerIds.d.ts +11 -0
- package/dist/api/resources/payers/resources/v4/types/PrimaryPayerIds.js +5 -0
- package/dist/api/resources/payers/resources/v4/types/SupportState.d.ts +9 -0
- package/dist/api/resources/payers/resources/v4/types/SupportState.js +11 -0
- package/dist/api/resources/payers/resources/v4/types/index.d.ts +7 -0
- package/dist/api/resources/payers/resources/v4/types/index.js +23 -0
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.d.ts +0 -2
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -12
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/preEncounter/resources/images/resources/v1/client/Client.js +5 -5
- 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 +10 -12
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +64 -23
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.d.ts +28 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.js +68 -0
- 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 +0 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/requests/CreatePatientWithMrnRequest.d.ts +0 -4
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.d.ts +1 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.d.ts +7 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.js +5 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.d.ts +2 -1
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.js +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/index.js +1 -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.d.ts +23 -2
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +120 -5
- package/dist/api/resources/serviceLines/resources/v2/client/createUniversal.d.ts +28 -0
- package/dist/api/resources/serviceLines/resources/v2/client/createUniversal.js +68 -0
- package/dist/api/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
- package/dist/api/resources/serviceLines/resources/v2/client/index.js +3 -1
- package/dist/api/resources/serviceLines/resources/v2/client/updateUniversal.d.ts +40 -0
- package/dist/api/resources/serviceLines/resources/v2/client/updateUniversal.js +90 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +7 -4
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -45
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.d.ts +7 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.js +5 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +47 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.js +5 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +9 -9
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +1 -47
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.d.ts +7 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.js +5 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.d.ts +49 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.js +5 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -45
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +45 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.js +5 -0
- package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +11 -0
- package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +5 -0
- package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +13 -0
- package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.js +5 -0
- package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.d.ts +12 -0
- package/dist/api/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.js +5 -0
- package/dist/api/resources/serviceLines/resources/v2/types/index.d.ts +8 -0
- package/dist/api/resources/serviceLines/resources/v2/types/index.js +8 -0
- package/dist/api/resources/superbills/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +1 -7
- package/dist/api/resources/x12/resources/v1/types/TypeOfBillCompositeBase.d.ts +12 -0
- package/dist/api/resources/x12/resources/v1/types/TypeOfBillCompositeBase.js +5 -0
- package/dist/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +30 -0
- package/dist/api/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js +5 -0
- package/dist/api/resources/x12/resources/v1/types/index.d.ts +2 -0
- package/dist/api/resources/x12/resources/v1/types/index.js +2 -0
- package/dist/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +3 -0
- package/dist/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js +3 -0
- package/dist/serialization/resources/commons/types/Clearinghouse.d.ts +10 -0
- package/dist/serialization/resources/commons/types/Clearinghouse.js +50 -0
- package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
- package/dist/serialization/resources/commons/types/ProcedureModifier.js +11 -0
- package/dist/serialization/resources/commons/types/index.d.ts +1 -0
- package/dist/serialization/resources/commons/types/index.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/client/create.d.ts +6 -1
- package/dist/serialization/resources/encounters/resources/v4/client/create.js +6 -0
- package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +49 -0
- package/dist/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +112 -0
- package/dist/serialization/resources/encounters/resources/v4/client/createUniversal.d.ts +69 -0
- package/dist/serialization/resources/encounters/resources/v4/client/createUniversal.js +136 -0
- package/dist/serialization/resources/encounters/resources/v4/client/index.d.ts +3 -1
- package/dist/serialization/resources/encounters/resources/v4/client/index.js +4 -5
- package/dist/serialization/resources/encounters/resources/v4/client/updateUniversal.d.ts +50 -0
- package/dist/serialization/resources/encounters/resources/v4/client/updateUniversal.js +113 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +3 -4
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +3 -4
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +2 -2
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterBase.js +2 -2
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterCreate.d.ts +22 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterCreate.js +55 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.d.ts +4 -28
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.js +4 -28
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.js +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +0 -2
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +0 -2
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.d.ts +11 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.js +41 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterUpdate.d.ts +16 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterUpdate.js +49 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +7 -4
- package/dist/serialization/resources/encounters/resources/v4/types/index.js +7 -4
- package/dist/serialization/resources/encountersUniversal/index.d.ts +1 -0
- package/dist/serialization/resources/encountersUniversal/index.js +17 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +39 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.js +72 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +50 -0
- package/{serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js → dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.js} +21 -31
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +37 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +70 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +36 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +69 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +32 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.js +65 -0
- package/dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +46 -0
- package/{serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js → dist/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js} +20 -22
- package/dist/serialization/resources/encountersUniversal/types/index.d.ts +6 -0
- package/dist/serialization/resources/encountersUniversal/types/index.js +22 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.d.ts +9 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.js +41 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/client/index.d.ts +1 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/client/index.js +2 -1
- package/dist/serialization/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.d.ts +13 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.js +44 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/feeSchedules/resources/v3/client/requests/index.js +3 -1
- package/dist/serialization/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +4 -1
- package/dist/serialization/resources/feeSchedules/resources/v3/types/ValidationError.js +1 -0
- package/dist/serialization/resources/financials/types/PatientTransactionSource.d.ts +1 -1
- package/dist/serialization/resources/financials/types/PatientTransactionSource.js +10 -1
- package/dist/serialization/resources/guarantor/resources/v1/types/Guarantor.d.ts +1 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/Guarantor.js +1 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorCreate.d.ts +1 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorCreate.js +1 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.d.ts +1 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.js +1 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorUpdate.d.ts +1 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorUpdate.js +1 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +16 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +49 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +16 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +49 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +16 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +49 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +18 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +51 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +37 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +68 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +18 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +51 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +18 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +51 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +18 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +51 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +18 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +51 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +16 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +49 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +18 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +51 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +18 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +51 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +16 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +49 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +18 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +51 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +14 -0
- package/dist/serialization/resources/healthCareCodeInformation/resources/v1/types/index.js +14 -0
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +3 -2
- package/dist/serialization/resources/individual/types/Patient.d.ts +1 -0
- package/dist/serialization/resources/individual/types/Patient.js +1 -0
- package/dist/serialization/resources/individual/types/PatientCreate.d.ts +1 -0
- package/dist/serialization/resources/individual/types/PatientCreate.js +1 -0
- package/dist/serialization/resources/individual/types/PatientUpdate.d.ts +1 -0
- package/dist/serialization/resources/individual/types/PatientUpdate.js +1 -0
- package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +1 -0
- package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +1 -0
- package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
- package/dist/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +2 -0
- package/dist/serialization/resources/payers/resources/index.d.ts +1 -0
- package/dist/serialization/resources/payers/resources/index.js +2 -1
- package/dist/serialization/resources/payers/resources/v4/index.d.ts +1 -0
- package/dist/serialization/resources/payers/resources/v4/index.js +17 -0
- package/dist/serialization/resources/payers/resources/v4/types/ClearinghousePayerInfo.d.ts +20 -0
- package/dist/serialization/resources/payers/resources/v4/types/ClearinghousePayerInfo.js +51 -0
- package/dist/serialization/resources/payers/resources/v4/types/Payer.d.ts +21 -0
- package/dist/serialization/resources/payers/resources/v4/types/Payer.js +52 -0
- package/dist/serialization/resources/payers/resources/v4/types/PayerIds.d.ts +14 -0
- package/dist/serialization/resources/payers/resources/v4/types/PayerIds.js +45 -0
- package/dist/serialization/resources/payers/resources/v4/types/PayerPage.d.ts +14 -0
- package/dist/serialization/resources/payers/resources/v4/types/PayerPage.js +47 -0
- package/dist/serialization/resources/payers/resources/v4/types/PayerUuid.d.ts +10 -0
- package/dist/serialization/resources/payers/resources/v4/types/PayerUuid.js +45 -0
- package/dist/serialization/resources/payers/resources/v4/types/PrimaryPayerIds.d.ts +14 -0
- package/dist/serialization/resources/payers/resources/v4/types/PrimaryPayerIds.js +45 -0
- package/dist/serialization/resources/payers/resources/v4/types/SupportState.d.ts +10 -0
- package/dist/serialization/resources/payers/resources/v4/types/SupportState.js +41 -0
- package/dist/serialization/resources/payers/resources/v4/types/index.d.ts +7 -0
- package/dist/serialization/resources/payers/resources/v4/types/index.js +23 -0
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -1
- package/dist/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.d.ts +15 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.js +71 -0
- 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/types/Guarantor.d.ts +1 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.d.ts +13 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.js +44 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +3 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.d.ts +1 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.js +1 -1
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/client/createUniversal.d.ts +15 -0
- package/dist/serialization/resources/serviceLines/resources/v2/client/createUniversal.js +71 -0
- package/dist/serialization/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
- package/dist/serialization/resources/serviceLines/resources/v2/client/index.js +3 -1
- package/dist/serialization/resources/serviceLines/resources/v2/client/updateUniversal.d.ts +25 -0
- package/dist/serialization/resources/serviceLines/resources/v2/client/updateUniversal.js +83 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -23
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +5 -24
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.d.ts +13 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.js +46 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +32 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.js +63 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -27
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +5 -28
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.d.ts +13 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.js +46 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.d.ts +36 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.js +67 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -24
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +5 -25
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +34 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.js +65 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +15 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +48 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +19 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.js +52 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.d.ts +18 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.js +51 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.d.ts +8 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.js +8 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +2 -7
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.js +5 -8
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeBase.d.ts +17 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeBase.js +48 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +18 -0
- package/dist/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js +52 -0
- package/dist/serialization/resources/x12/resources/v1/types/index.d.ts +2 -0
- package/dist/serialization/resources/x12/resources/v1/types/index.js +2 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +682 -114
- package/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.d.ts +3 -0
- package/serialization/resources/auth/resources/default/client/requests/AuthGetTokenForOrgRequest.js +3 -0
- package/serialization/resources/commons/types/Clearinghouse.d.ts +10 -0
- package/serialization/resources/commons/types/Clearinghouse.js +50 -0
- package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
- package/serialization/resources/commons/types/ProcedureModifier.js +11 -0
- package/serialization/resources/commons/types/index.d.ts +1 -0
- package/serialization/resources/commons/types/index.js +1 -0
- package/serialization/resources/encounters/resources/v4/client/create.d.ts +6 -1
- package/serialization/resources/encounters/resources/v4/client/create.js +6 -0
- package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.d.ts +49 -0
- package/serialization/resources/encounters/resources/v4/client/createFromPreEncounterPatientUniversal.js +112 -0
- package/serialization/resources/encounters/resources/v4/client/createUniversal.d.ts +69 -0
- package/serialization/resources/encounters/resources/v4/client/createUniversal.js +136 -0
- package/serialization/resources/encounters/resources/v4/client/index.d.ts +3 -1
- package/serialization/resources/encounters/resources/v4/client/index.js +4 -5
- package/serialization/resources/encounters/resources/v4/client/updateUniversal.d.ts +50 -0
- package/serialization/resources/encounters/resources/v4/client/updateUniversal.js +113 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +3 -4
- package/serialization/resources/encounters/resources/v4/types/Encounter.js +3 -4
- package/serialization/resources/encounters/resources/v4/types/EncounterBase.d.ts +2 -2
- package/serialization/resources/encounters/resources/v4/types/EncounterBase.js +2 -2
- package/serialization/resources/encounters/resources/v4/types/EncounterCreate.d.ts +22 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterCreate.js +55 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.d.ts +4 -28
- package/serialization/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.js +4 -28
- package/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +2 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.js +2 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +0 -2
- package/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +0 -2
- package/serialization/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.d.ts +11 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterRenderingOrAttendingProviderRequiredError.js +41 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterUpdate.d.ts +16 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterUpdate.js +49 -0
- package/serialization/resources/encounters/resources/v4/types/index.d.ts +7 -4
- package/serialization/resources/encounters/resources/v4/types/index.js +7 -4
- package/serialization/resources/encountersUniversal/index.d.ts +1 -0
- package/serialization/resources/encountersUniversal/index.js +17 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.d.ts +39 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreate.js +72 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.d.ts +50 -0
- package/{dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.js → serialization/resources/encountersUniversal/types/UniversalEncounterCreateBase.js} +21 -31
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.d.ts +37 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounter.js +70 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.d.ts +36 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterCreateFromPreEncounterBase.js +69 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.d.ts +32 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdate.js +65 -0
- package/serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.d.ts +46 -0
- package/{dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js → serialization/resources/encountersUniversal/types/UniversalEncounterUpdateBase.js} +20 -22
- package/serialization/resources/encountersUniversal/types/index.d.ts +6 -0
- package/serialization/resources/encountersUniversal/types/index.js +22 -0
- package/serialization/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.d.ts +9 -0
- package/serialization/resources/feeSchedules/resources/v3/client/hardDeleteRatesByIds.js +41 -0
- package/serialization/resources/feeSchedules/resources/v3/client/index.d.ts +1 -0
- package/serialization/resources/feeSchedules/resources/v3/client/index.js +2 -1
- package/serialization/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.d.ts +13 -0
- package/serialization/resources/feeSchedules/resources/v3/client/requests/HardDeleteRatesByIdsRequest.js +44 -0
- package/serialization/resources/feeSchedules/resources/v3/client/requests/index.d.ts +1 -0
- package/serialization/resources/feeSchedules/resources/v3/client/requests/index.js +3 -1
- package/serialization/resources/feeSchedules/resources/v3/types/ValidationError.d.ts +4 -1
- package/serialization/resources/feeSchedules/resources/v3/types/ValidationError.js +1 -0
- package/serialization/resources/financials/types/PatientTransactionSource.d.ts +1 -1
- package/serialization/resources/financials/types/PatientTransactionSource.js +10 -1
- package/serialization/resources/guarantor/resources/v1/types/Guarantor.d.ts +1 -0
- package/serialization/resources/guarantor/resources/v1/types/Guarantor.js +1 -0
- package/serialization/resources/guarantor/resources/v1/types/GuarantorCreate.d.ts +1 -0
- package/serialization/resources/guarantor/resources/v1/types/GuarantorCreate.js +1 -0
- package/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.d.ts +1 -0
- package/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.js +1 -0
- package/serialization/resources/guarantor/resources/v1/types/GuarantorUpdate.d.ts +1 -0
- package/serialization/resources/guarantor/resources/v1/types/GuarantorUpdate.js +1 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.d.ts +16 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/AdmittingDiagnosisNew.js +49 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.d.ts +16 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ConditionInformationNew.js +49 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.d.ts +16 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/DiagnosisRelatedGroupNew.js +49 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.d.ts +18 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ExternalCauseOfInjuryNew.js +51 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.d.ts +37 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/HealthCareCodeInformationCreate.js +68 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.d.ts +18 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceInformationNew.js +51 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.d.ts +18 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OccurrenceSpanInformationNew.js +51 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.d.ts +18 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherDiagnosisInformationNew.js +51 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.d.ts +18 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/OtherProcedureInformationNew.js +51 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.d.ts +16 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PatientReasonForVisitNew.js +49 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.d.ts +18 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalDiagnosisNew.js +51 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.d.ts +18 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/PrincipalProcedureInformationNew.js +51 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.d.ts +16 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/TreatmentCodeInformationNew.js +49 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.d.ts +18 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/ValueInformationNew.js +51 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/index.d.ts +14 -0
- package/serialization/resources/healthCareCodeInformation/resources/v1/types/index.js +14 -0
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +3 -2
- package/serialization/resources/individual/types/Patient.d.ts +1 -0
- package/serialization/resources/individual/types/Patient.js +1 -0
- package/serialization/resources/individual/types/PatientCreate.d.ts +1 -0
- package/serialization/resources/individual/types/PatientCreate.js +1 -0
- package/serialization/resources/individual/types/PatientUpdate.d.ts +1 -0
- package/serialization/resources/individual/types/PatientUpdate.js +1 -0
- package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +1 -0
- package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +1 -0
- package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.d.ts +1 -1
- package/serialization/resources/organizationProviders/resources/v2/types/LicenseType.js +2 -0
- package/serialization/resources/payers/resources/index.d.ts +1 -0
- package/serialization/resources/payers/resources/index.js +2 -1
- package/serialization/resources/payers/resources/v4/index.d.ts +1 -0
- package/serialization/resources/payers/resources/v4/index.js +17 -0
- package/serialization/resources/payers/resources/v4/types/ClearinghousePayerInfo.d.ts +20 -0
- package/serialization/resources/payers/resources/v4/types/ClearinghousePayerInfo.js +51 -0
- package/serialization/resources/payers/resources/v4/types/Payer.d.ts +21 -0
- package/serialization/resources/payers/resources/v4/types/Payer.js +52 -0
- package/serialization/resources/payers/resources/v4/types/PayerIds.d.ts +14 -0
- package/serialization/resources/payers/resources/v4/types/PayerIds.js +45 -0
- package/serialization/resources/payers/resources/v4/types/PayerPage.d.ts +14 -0
- package/serialization/resources/payers/resources/v4/types/PayerPage.js +47 -0
- package/serialization/resources/payers/resources/v4/types/PayerUuid.d.ts +10 -0
- package/serialization/resources/payers/resources/v4/types/PayerUuid.js +45 -0
- package/serialization/resources/payers/resources/v4/types/PrimaryPayerIds.d.ts +14 -0
- package/serialization/resources/payers/resources/v4/types/PrimaryPayerIds.js +45 -0
- package/serialization/resources/payers/resources/v4/types/SupportState.d.ts +10 -0
- package/serialization/resources/payers/resources/v4/types/SupportState.js +41 -0
- package/serialization/resources/payers/resources/v4/types/index.d.ts +7 -0
- package/serialization/resources/payers/resources/v4/types/index.js +23 -0
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/coverages/resources/v1/types/Subscriber.js +1 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.d.ts +15 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/client/getByMrn.js +71 -0
- 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/types/Guarantor.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Guarantor.js +1 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.d.ts +13 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/InferredPatientMetadata.js +44 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.d.ts +3 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/MutablePatient.js +3 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.d.ts +1 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/ReferralType.js +1 -1
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/index.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/client/createUniversal.d.ts +15 -0
- package/serialization/resources/serviceLines/resources/v2/client/createUniversal.js +71 -0
- package/serialization/resources/serviceLines/resources/v2/client/index.d.ts +2 -0
- package/serialization/resources/serviceLines/resources/v2/client/index.js +3 -1
- package/serialization/resources/serviceLines/resources/v2/client/updateUniversal.d.ts +25 -0
- package/serialization/resources/serviceLines/resources/v2/client/updateUniversal.js +83 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -23
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +5 -24
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.d.ts +13 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBase.js +46 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.d.ts +32 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateBaseBase.js +63 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.d.ts +2 -27
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandalone.js +5 -28
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.d.ts +13 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBase.js +46 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.d.ts +36 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateStandaloneBaseBase.js +67 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +2 -24
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +5 -25
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.d.ts +34 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdateBase.js +65 -0
- package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.d.ts +15 -0
- package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreate.js +48 -0
- package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.d.ts +19 -0
- package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineCreateStandalone.js +52 -0
- package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.d.ts +18 -0
- package/serialization/resources/serviceLines/resources/v2/types/UniversalServiceLineUpdate.js +51 -0
- package/serialization/resources/serviceLines/resources/v2/types/index.d.ts +8 -0
- package/serialization/resources/serviceLines/resources/v2/types/index.js +8 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.d.ts +2 -7
- package/serialization/resources/x12/resources/v1/types/TypeOfBillComposite.js +5 -8
- package/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeBase.d.ts +17 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeBase.js +48 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.d.ts +18 -0
- package/serialization/resources/x12/resources/v1/types/TypeOfBillCompositeUpdate.js +52 -0
- package/serialization/resources/x12/resources/v1/types/index.d.ts +2 -0
- package/serialization/resources/x12/resources/v1/types/index.js +2 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +0 -60
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +0 -48
- package/dist/serialization/resources/encounters/resources/v4/client/requests/index.d.ts +0 -2
- package/dist/serialization/resources/encounters/resources/v4/client/requests/index.js +0 -7
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +0 -60
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +0 -48
- package/serialization/resources/encounters/resources/v4/client/requests/index.d.ts +0 -2
- package/serialization/resources/encounters/resources/v4/client/requests/index.js +0 -7
- /package/api/resources/encounters/resources/v4/{client/requests → types}/EncounterCreate.js +0 -0
- /package/api/resources/encounters/resources/v4/{client/requests/EncounterUpdate.js → types/EncounterRenderingOrAttendingProviderRequiredError.js} +0 -0
- /package/{dist/api/resources/encounters/resources/v4/client/requests → api/resources/encounters/resources/v4/types}/EncounterUpdate.js +0 -0
- /package/{dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.js → api/resources/encountersUniversal/types/UniversalEncounterCreate.js} +0 -0
|
@@ -78,7 +78,7 @@ class V1 {
|
|
|
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).preEncounter, "/appointments/v1"),
|
|
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": "1.
|
|
81
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "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.preEncounter.appointments.v1.MutableAppointment.jsonOrThrow(request, {
|
|
@@ -154,7 +154,7 @@ class V1 {
|
|
|
154
154
|
const _response = yield core.fetcher({
|
|
155
155
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/appointments/v1/visits"),
|
|
156
156
|
method: "GET",
|
|
157
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
157
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
158
158
|
contentType: "application/json",
|
|
159
159
|
queryParameters: _queryParams,
|
|
160
160
|
requestType: "json",
|
|
@@ -208,7 +208,7 @@ class V1 {
|
|
|
208
208
|
const _response = yield core.fetcher({
|
|
209
209
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/appointments/v1/${encodeURIComponent(serializers.preEncounter.AppointmentId.jsonOrThrow(id))}`),
|
|
210
210
|
method: "GET",
|
|
211
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
211
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
212
212
|
contentType: "application/json",
|
|
213
213
|
requestType: "json",
|
|
214
214
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -261,7 +261,7 @@ class V1 {
|
|
|
261
261
|
const _response = yield core.fetcher({
|
|
262
262
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/appointments/v1/${encodeURIComponent(serializers.preEncounter.AppointmentId.jsonOrThrow(id))}/history`),
|
|
263
263
|
method: "GET",
|
|
264
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
264
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
265
265
|
contentType: "application/json",
|
|
266
266
|
requestType: "json",
|
|
267
267
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -321,7 +321,7 @@ class V1 {
|
|
|
321
321
|
const _response = yield core.fetcher({
|
|
322
322
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/appointments/v1/${encodeURIComponent(serializers.preEncounter.AppointmentId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
|
|
323
323
|
method: "PUT",
|
|
324
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
324
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
325
325
|
contentType: "application/json",
|
|
326
326
|
requestType: "json",
|
|
327
327
|
body: serializers.preEncounter.appointments.v1.MutableAppointment.jsonOrThrow(request, {
|
|
@@ -383,7 +383,7 @@ class V1 {
|
|
|
383
383
|
const _response = yield core.fetcher({
|
|
384
384
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/appointments/v1/updates/scan"),
|
|
385
385
|
method: "GET",
|
|
386
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
386
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
387
387
|
contentType: "application/json",
|
|
388
388
|
queryParameters: _queryParams,
|
|
389
389
|
requestType: "json",
|
|
@@ -424,7 +424,7 @@ class V1 {
|
|
|
424
424
|
const _response = yield core.fetcher({
|
|
425
425
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/appointments/v1/${encodeURIComponent(serializers.preEncounter.AppointmentId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
|
|
426
426
|
method: "DELETE",
|
|
427
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
427
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
428
428
|
contentType: "application/json",
|
|
429
429
|
requestType: "json",
|
|
430
430
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -40,7 +40,6 @@ export declare class V1 {
|
|
|
40
40
|
* given: ["given", "given"],
|
|
41
41
|
* use: "USUAL"
|
|
42
42
|
* },
|
|
43
|
-
* dateOfBirth: "2023-01-15",
|
|
44
43
|
* biologicalSex: "FEMALE"
|
|
45
44
|
* },
|
|
46
45
|
* relationship: "SELF",
|
|
@@ -71,7 +70,6 @@ export declare class V1 {
|
|
|
71
70
|
* given: ["given", "given"],
|
|
72
71
|
* use: "USUAL"
|
|
73
72
|
* },
|
|
74
|
-
* dateOfBirth: "2023-01-15",
|
|
75
73
|
* biologicalSex: "FEMALE"
|
|
76
74
|
* },
|
|
77
75
|
* relationship: "SELF",
|
|
@@ -73,7 +73,6 @@ class V1 {
|
|
|
73
73
|
* given: ["given", "given"],
|
|
74
74
|
* use: "USUAL"
|
|
75
75
|
* },
|
|
76
|
-
* dateOfBirth: "2023-01-15",
|
|
77
76
|
* biologicalSex: "FEMALE"
|
|
78
77
|
* },
|
|
79
78
|
* relationship: "SELF",
|
|
@@ -92,7 +91,7 @@ class V1 {
|
|
|
92
91
|
const _response = yield core.fetcher({
|
|
93
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).preEncounter, "/coverages/v1"),
|
|
94
93
|
method: "POST",
|
|
95
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
94
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
96
95
|
contentType: "application/json",
|
|
97
96
|
requestType: "json",
|
|
98
97
|
body: serializers.preEncounter.coverages.v1.MutableCoverage.jsonOrThrow(request, {
|
|
@@ -136,7 +135,6 @@ class V1 {
|
|
|
136
135
|
* given: ["given", "given"],
|
|
137
136
|
* use: "USUAL"
|
|
138
137
|
* },
|
|
139
|
-
* dateOfBirth: "2023-01-15",
|
|
140
138
|
* biologicalSex: "FEMALE"
|
|
141
139
|
* },
|
|
142
140
|
* relationship: "SELF",
|
|
@@ -155,7 +153,7 @@ class V1 {
|
|
|
155
153
|
const _response = yield core.fetcher({
|
|
156
154
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
|
|
157
155
|
method: "PUT",
|
|
158
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
156
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
159
157
|
contentType: "application/json",
|
|
160
158
|
requestType: "json",
|
|
161
159
|
body: serializers.preEncounter.coverages.v1.MutableCoverage.jsonOrThrow(request, {
|
|
@@ -226,7 +224,7 @@ class V1 {
|
|
|
226
224
|
const _response = yield core.fetcher({
|
|
227
225
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/coverages/v1/get-multi-paginated"),
|
|
228
226
|
method: "GET",
|
|
229
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
227
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
230
228
|
contentType: "application/json",
|
|
231
229
|
queryParameters: _queryParams,
|
|
232
230
|
requestType: "json",
|
|
@@ -280,7 +278,7 @@ class V1 {
|
|
|
280
278
|
const _response = yield core.fetcher({
|
|
281
279
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}`),
|
|
282
280
|
method: "GET",
|
|
283
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
281
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
284
282
|
contentType: "application/json",
|
|
285
283
|
requestType: "json",
|
|
286
284
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -319,7 +317,7 @@ class V1 {
|
|
|
319
317
|
const _response = yield core.fetcher({
|
|
320
318
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}/history`),
|
|
321
319
|
method: "GET",
|
|
322
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
320
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
323
321
|
contentType: "application/json",
|
|
324
322
|
requestType: "json",
|
|
325
323
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -377,7 +375,7 @@ class V1 {
|
|
|
377
375
|
const _response = yield core.fetcher({
|
|
378
376
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/coverages/v1"),
|
|
379
377
|
method: "GET",
|
|
380
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
378
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
381
379
|
contentType: "application/json",
|
|
382
380
|
queryParameters: _queryParams,
|
|
383
381
|
requestType: "json",
|
|
@@ -422,7 +420,7 @@ class V1 {
|
|
|
422
420
|
const _response = yield core.fetcher({
|
|
423
421
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/coverages/v1/updates/scan"),
|
|
424
422
|
method: "GET",
|
|
425
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
423
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
426
424
|
contentType: "application/json",
|
|
427
425
|
queryParameters: _queryParams,
|
|
428
426
|
requestType: "json",
|
|
@@ -468,7 +466,7 @@ class V1 {
|
|
|
468
466
|
const _response = yield core.fetcher({
|
|
469
467
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/coverages/v1/batch-update-ppg/${encodeURIComponent(serializers.preEncounter.PayerPlanGroupId.jsonOrThrow(ppgId))}`),
|
|
470
468
|
method: "POST",
|
|
471
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
469
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
472
470
|
contentType: "application/json",
|
|
473
471
|
requestType: "json",
|
|
474
472
|
body: serializers.preEncounter.coverages.v1.PayerPlanGroupFields.jsonOrThrow(request, {
|
|
@@ -510,7 +508,7 @@ class V1 {
|
|
|
510
508
|
const _response = yield core.fetcher({
|
|
511
509
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}/eligibility`),
|
|
512
510
|
method: "POST",
|
|
513
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
511
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
514
512
|
contentType: "application/json",
|
|
515
513
|
requestType: "json",
|
|
516
514
|
body: serializers.preEncounter.coverages.v1.CheckEligibilityRequest.jsonOrThrow(request, {
|
|
@@ -553,7 +551,7 @@ class V1 {
|
|
|
553
551
|
const _response = yield core.fetcher({
|
|
554
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).preEncounter, `/coverages/v1/${encodeURIComponent(serializers.preEncounter.CoverageId.jsonOrThrow(id))}/eligibility/${encodeURIComponent(checkId)}`),
|
|
555
553
|
method: "GET",
|
|
556
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
554
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
557
555
|
contentType: "application/json",
|
|
558
556
|
requestType: "json",
|
|
559
557
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as CandidApi from "../../../../../../../index";
|
|
5
5
|
export interface Subscriber {
|
|
6
6
|
name: CandidApi.preEncounter.HumanName;
|
|
7
|
-
dateOfBirth
|
|
7
|
+
dateOfBirth?: string;
|
|
8
8
|
biologicalSex: CandidApi.preEncounter.Sex;
|
|
9
9
|
address?: CandidApi.preEncounter.Address;
|
|
10
10
|
}
|
package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js
CHANGED
|
@@ -82,7 +82,7 @@ class V1 {
|
|
|
82
82
|
const _response = yield core.fetcher({
|
|
83
83
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/eligibility-checks/v1"),
|
|
84
84
|
method: "POST",
|
|
85
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
85
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
86
86
|
contentType: "application/json",
|
|
87
87
|
requestType: "json",
|
|
88
88
|
body: serializers.preEncounter.eligibilityChecks.v1.EligibilityRequest.jsonOrThrow(request, {
|
|
@@ -142,7 +142,7 @@ class V1 {
|
|
|
142
142
|
const _response = yield core.fetcher({
|
|
143
143
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/eligibility-checks/v1/batch"),
|
|
144
144
|
method: "POST",
|
|
145
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
145
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
146
146
|
contentType: "application/json",
|
|
147
147
|
requestType: "json",
|
|
148
148
|
body: serializers.preEncounter.eligibilityChecks.v1.batch.Request.jsonOrThrow(request, {
|
|
@@ -190,7 +190,7 @@ class V1 {
|
|
|
190
190
|
const _response = yield core.fetcher({
|
|
191
191
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/eligibility-checks/v1/batch/${encodeURIComponent(batchId)}`),
|
|
192
192
|
method: "GET",
|
|
193
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
193
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
194
194
|
contentType: "application/json",
|
|
195
195
|
queryParameters: _queryParams,
|
|
196
196
|
requestType: "json",
|
|
@@ -241,7 +241,7 @@ class V1 {
|
|
|
241
241
|
const _response = yield core.fetcher({
|
|
242
242
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/eligibility-checks/v1/payer/search"),
|
|
243
243
|
method: "GET",
|
|
244
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
244
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
245
245
|
contentType: "application/json",
|
|
246
246
|
queryParameters: _queryParams,
|
|
247
247
|
requestType: "json",
|
|
@@ -286,7 +286,7 @@ class V1 {
|
|
|
286
286
|
const _response = yield core.fetcher({
|
|
287
287
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/eligibility-checks/v1/recommendation"),
|
|
288
288
|
method: "GET",
|
|
289
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
289
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
290
290
|
contentType: "application/json",
|
|
291
291
|
queryParameters: _queryParams,
|
|
292
292
|
requestType: "json",
|
|
@@ -333,7 +333,7 @@ class V1 {
|
|
|
333
333
|
const _response = yield core.fetcher({
|
|
334
334
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/eligibility-checks/v1/recommendation"),
|
|
335
335
|
method: "POST",
|
|
336
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
336
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
337
337
|
contentType: "application/json",
|
|
338
338
|
requestType: "json",
|
|
339
339
|
body: serializers.preEncounter.eligibilityChecks.v1.PostEligibilityRecommendationRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
|
|
@@ -78,7 +78,7 @@ class V1 {
|
|
|
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).preEncounter, "/images/v1"),
|
|
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": "1.
|
|
81
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "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.preEncounter.images.v1.MutableImage.jsonOrThrow(request, {
|
|
@@ -134,7 +134,7 @@ class V1 {
|
|
|
134
134
|
const _response = yield core.fetcher({
|
|
135
135
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/images/v1/${encodeURIComponent(serializers.preEncounter.images.v1.ImageId.jsonOrThrow(id))}`),
|
|
136
136
|
method: "GET",
|
|
137
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
137
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
138
138
|
contentType: "application/json",
|
|
139
139
|
requestType: "json",
|
|
140
140
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -194,7 +194,7 @@ class V1 {
|
|
|
194
194
|
const _response = yield core.fetcher({
|
|
195
195
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/images/v1/${encodeURIComponent(serializers.preEncounter.images.v1.ImageId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
|
|
196
196
|
method: "PUT",
|
|
197
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
197
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
198
198
|
contentType: "application/json",
|
|
199
199
|
requestType: "json",
|
|
200
200
|
body: serializers.preEncounter.images.v1.MutableImage.jsonOrThrow(request, {
|
|
@@ -252,7 +252,7 @@ class V1 {
|
|
|
252
252
|
const _response = yield core.fetcher({
|
|
253
253
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/images/v1/${encodeURIComponent(serializers.preEncounter.images.v1.ImageId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
|
|
254
254
|
method: "DELETE",
|
|
255
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
255
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
256
256
|
contentType: "application/json",
|
|
257
257
|
requestType: "json",
|
|
258
258
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -309,7 +309,7 @@ class V1 {
|
|
|
309
309
|
const _response = yield core.fetcher({
|
|
310
310
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/images/v1"),
|
|
311
311
|
method: "GET",
|
|
312
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
312
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
313
313
|
contentType: "application/json",
|
|
314
314
|
queryParameters: _queryParams,
|
|
315
315
|
requestType: "json",
|
|
@@ -92,7 +92,7 @@ class V1 {
|
|
|
92
92
|
const _response = yield core.fetcher({
|
|
93
93
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/lists/v1/patient"),
|
|
94
94
|
method: "GET",
|
|
95
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
95
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
96
96
|
contentType: "application/json",
|
|
97
97
|
queryParameters: _queryParams,
|
|
98
98
|
requestType: "json",
|
|
@@ -165,7 +165,7 @@ class V1 {
|
|
|
165
165
|
const _response = yield core.fetcher({
|
|
166
166
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/lists/v1/appointment"),
|
|
167
167
|
method: "GET",
|
|
168
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
168
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
169
169
|
contentType: "application/json",
|
|
170
170
|
queryParameters: _queryParams,
|
|
171
171
|
requestType: "json",
|
|
@@ -73,7 +73,7 @@ class V1 {
|
|
|
73
73
|
const _response = yield core.fetcher({
|
|
74
74
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/notes/v1/${encodeURIComponent(serializers.preEncounter.NoteId.jsonOrThrow(id))}`),
|
|
75
75
|
method: "GET",
|
|
76
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
76
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
77
77
|
contentType: "application/json",
|
|
78
78
|
requestType: "json",
|
|
79
79
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -114,7 +114,7 @@ class V1 {
|
|
|
114
114
|
const _response = yield core.fetcher({
|
|
115
115
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, "/notes/v1"),
|
|
116
116
|
method: "POST",
|
|
117
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
117
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
118
118
|
contentType: "application/json",
|
|
119
119
|
requestType: "json",
|
|
120
120
|
body: serializers.preEncounter.notes.v1.MutableNote.jsonOrThrow(request, {
|
|
@@ -160,7 +160,7 @@ class V1 {
|
|
|
160
160
|
const _response = yield core.fetcher({
|
|
161
161
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/notes/v1/${encodeURIComponent(serializers.preEncounter.NoteId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
|
|
162
162
|
method: "PUT",
|
|
163
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
163
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
164
164
|
contentType: "application/json",
|
|
165
165
|
requestType: "json",
|
|
166
166
|
body: serializers.preEncounter.notes.v1.MutableNote.jsonOrThrow(request, {
|
|
@@ -203,7 +203,7 @@ class V1 {
|
|
|
203
203
|
const _response = yield core.fetcher({
|
|
204
204
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.CandidApiEnvironment.Production).preEncounter, `/notes/v1/${encodeURIComponent(serializers.preEncounter.NoteId.jsonOrThrow(id))}/${encodeURIComponent(version)}`),
|
|
205
205
|
method: "DELETE",
|
|
206
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.
|
|
206
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "candidhealth", "X-Fern-SDK-Version": "1.8.1", "User-Agent": "candidhealth/1.8.1", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
207
207
|
contentType: "application/json",
|
|
208
208
|
requestType: "json",
|
|
209
209
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -73,10 +73,6 @@ export declare class V1 {
|
|
|
73
73
|
* postalCode: "postal_code",
|
|
74
74
|
* country: "country"
|
|
75
75
|
* }],
|
|
76
|
-
* primaryTelecom: {
|
|
77
|
-
* value: "value",
|
|
78
|
-
* use: "HOME"
|
|
79
|
-
* },
|
|
80
76
|
* otherTelecoms: [{
|
|
81
77
|
* value: "value",
|
|
82
78
|
* use: "HOME"
|
|
@@ -225,10 +221,6 @@ export declare class V1 {
|
|
|
225
221
|
* postalCode: "postal_code",
|
|
226
222
|
* country: "country"
|
|
227
223
|
* }],
|
|
228
|
-
* primaryTelecom: {
|
|
229
|
-
* value: "value",
|
|
230
|
-
* use: "HOME"
|
|
231
|
-
* },
|
|
232
224
|
* otherTelecoms: [{
|
|
233
225
|
* value: "value",
|
|
234
226
|
* use: "HOME"
|
|
@@ -362,6 +354,16 @@ export declare class V1 {
|
|
|
362
354
|
* await client.preEncounter.patients.v1.get(CandidApi.preEncounter.PatientId("id"))
|
|
363
355
|
*/
|
|
364
356
|
get(id: CandidApi.preEncounter.PatientId, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.patients.v1.Patient, CandidApi.preEncounter.patients.v1.get.Error>>;
|
|
357
|
+
/**
|
|
358
|
+
* Gets a patient by mrn.
|
|
359
|
+
*
|
|
360
|
+
* @param {string} mrn
|
|
361
|
+
* @param {V1.RequestOptions} requestOptions - Request-specific configuration.
|
|
362
|
+
*
|
|
363
|
+
* @example
|
|
364
|
+
* await client.preEncounter.patients.v1.getByMrn("mrn")
|
|
365
|
+
*/
|
|
366
|
+
getByMrn(mrn: string, requestOptions?: V1.RequestOptions): Promise<core.APIResponse<CandidApi.preEncounter.patients.v1.Patient, CandidApi.preEncounter.patients.v1.getByMrn.Error>>;
|
|
365
367
|
/**
|
|
366
368
|
* Gets a patient along with it's full history. The return list is ordered by version ascending.
|
|
367
369
|
*
|
|
@@ -421,10 +423,6 @@ export declare class V1 {
|
|
|
421
423
|
* postalCode: "postal_code",
|
|
422
424
|
* country: "country"
|
|
423
425
|
* }],
|
|
424
|
-
* primaryTelecom: {
|
|
425
|
-
* value: "value",
|
|
426
|
-
* use: "HOME"
|
|
427
|
-
* },
|
|
428
426
|
* otherTelecoms: [{
|
|
429
427
|
* value: "value",
|
|
430
428
|
* use: "HOME"
|