candidhealth 1.0.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Client.js +2 -2
- package/README.md +1 -1
- package/api/resources/auth/client/Client.d.ts +3 -3
- package/api/resources/auth/client/Client.js +3 -3
- package/api/resources/auth/resources/{v2 → default}/client/Client.d.ts +23 -9
- package/{dist/api/resources/auth/resources/v2 → api/resources/auth/resources/default}/client/Client.js +29 -12
- package/api/resources/auth/resources/default/client/getToken.d.ts +34 -0
- package/{dist/api/resources/auth/resources/v2 → api/resources/auth/resources/default}/client/getToken.js +13 -2
- package/api/resources/auth/resources/default/types/InvalidContentTypeErrorType.d.ts +6 -0
- package/{dist/api/resources/auth/resources/v2 → api/resources/auth/resources/default}/types/index.d.ts +1 -0
- package/{dist/serialization/resources/auth/resources/v2 → api/resources/auth/resources/default}/types/index.js +1 -0
- package/api/resources/auth/resources/index.d.ts +1 -1
- package/api/resources/auth/resources/index.js +2 -2
- package/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/api/resources/billingNotes/resources/v2/types/BillingNoteBaseOptional.d.ts +7 -0
- package/api/resources/billingNotes/resources/v2/types/index.d.ts +1 -0
- package/api/resources/billingNotes/resources/v2/types/index.js +1 -0
- package/api/resources/chargeCapture/resources/v1/client/Client.js +5 -5
- package/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +4 -0
- package/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +4 -0
- package/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -0
- package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +1 -52
- package/api/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +6 -0
- package/api/resources/chargeCapture/resources/v1/types/index.d.ts +1 -1
- package/api/resources/chargeCapture/resources/v1/types/index.js +1 -1
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +9 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +55 -3
- package/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +1 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/index.js +2 -1
- package/api/resources/chargeCaptureBundles/resources/v1/client/requests/ChargeCaptureBundleErrorResolution.d.ts +13 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/requests/index.d.ts +1 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/resolveChargeCreationError.d.ts +34 -0
- package/api/resources/chargeCaptureBundles/resources/v1/client/resolveChargeCreationError.js +79 -0
- package/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.d.ts +34 -0
- package/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.js +5 -0
- package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.d.ts +43 -0
- package/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.js +5 -0
- package/api/resources/claimSubmission/resources/v1/types/index.d.ts +2 -0
- package/api/resources/claimSubmission/resources/v1/types/index.js +2 -0
- package/api/resources/commons/types/PhoneNumberOptional.d.ts +15 -0
- package/api/resources/commons/types/PhoneNumberOptional.js +5 -0
- package/api/resources/commons/types/ProcedureModifier.d.ts +9 -1
- package/api/resources/commons/types/ProcedureModifier.js +2 -0
- package/api/resources/commons/types/StreetAddressLongZipOptional.d.ts +19 -0
- package/api/resources/commons/types/StreetAddressLongZipOptional.js +5 -0
- package/api/resources/commons/types/index.d.ts +2 -0
- package/api/resources/commons/types/index.js +2 -0
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/customSchemas/resources/v1/types/SchemaInstanceOptional.d.ts +22 -0
- package/api/resources/customSchemas/resources/v1/types/SchemaInstanceOptional.js +5 -0
- package/api/resources/customSchemas/resources/v1/types/index.d.ts +1 -0
- package/api/resources/customSchemas/resources/v1/types/index.js +1 -0
- package/api/resources/diagnoses/client/Client.js +3 -3
- package/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +7 -0
- package/api/resources/diagnoses/types/DiagnosisCreate.d.ts +7 -0
- package/api/resources/diagnoses/types/DiagnosisCreateOptional.d.ts +28 -0
- package/api/resources/diagnoses/types/DiagnosisCreateOptional.js +5 -0
- package/api/resources/diagnoses/types/index.d.ts +1 -0
- package/api/resources/diagnoses/types/index.js +1 -0
- 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/OrderingProviderOptional.d.ts +13 -0
- package/api/resources/encounterProviders/resources/v2/types/OrderingProviderOptional.js +5 -0
- package/api/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/api/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/api/resources/encounters/resources/v4/client/Client.js +5 -5
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +26 -0
- package/api/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.d.ts +9 -0
- package/api/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.js +5 -0
- package/api/resources/encounters/resources/v4/types/ClinicalNoteCategoryCreateOptional.d.ts +8 -0
- package/api/resources/encounters/resources/v4/types/ClinicalNoteCategoryCreateOptional.js +5 -0
- package/api/resources/encounters/resources/v4/types/ClinicalNoteOptional.d.ts +10 -0
- package/api/resources/encounters/resources/v4/types/ClinicalNoteOptional.js +5 -0
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +3 -1
- package/api/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.d.ts +1 -1
- package/api/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +80 -0
- package/api/resources/encounters/resources/v4/types/EncounterDeepOptional.js +5 -0
- package/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +0 -26
- package/api/resources/encounters/resources/v4/types/EpsdtReferralOptional.d.ts +9 -0
- package/api/resources/encounters/resources/v4/types/EpsdtReferralOptional.js +5 -0
- package/api/resources/encounters/resources/v4/types/IntakeQuestionOptional.d.ts +24 -0
- package/api/resources/encounters/resources/v4/types/IntakeQuestionOptional.js +5 -0
- package/api/resources/encounters/resources/v4/types/InterventionOptional.d.ts +14 -0
- package/api/resources/encounters/resources/v4/types/InterventionOptional.js +5 -0
- package/api/resources/encounters/resources/v4/types/LabOptional.d.ts +17 -0
- package/api/resources/encounters/resources/v4/types/LabOptional.js +5 -0
- package/api/resources/encounters/resources/v4/types/MedicationOptional.d.ts +12 -0
- package/api/resources/encounters/resources/v4/types/MedicationOptional.js +5 -0
- package/api/resources/encounters/resources/v4/types/PatientHistoryCategoryOptional.d.ts +9 -0
- package/api/resources/encounters/resources/v4/types/PatientHistoryCategoryOptional.js +5 -0
- package/api/resources/encounters/resources/v4/types/index.d.ts +10 -0
- package/api/resources/encounters/resources/v4/types/index.js +10 -0
- package/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/api/resources/guarantor/resources/v1/types/GuarantorOptional.d.ts +17 -0
- package/api/resources/guarantor/resources/v1/types/GuarantorOptional.js +5 -0
- package/api/resources/guarantor/resources/v1/types/index.d.ts +1 -0
- package/api/resources/guarantor/resources/v1/types/index.js +1 -0
- package/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/index.d.ts +2 -0
- package/api/resources/index.js +3 -1
- package/api/resources/individual/types/IndividualBaseOptional.d.ts +9 -0
- package/api/resources/individual/types/IndividualBaseOptional.js +5 -0
- package/api/resources/individual/types/PatientNonInsurancePayerInfoCreateOptional.d.ts +9 -0
- package/api/resources/individual/types/PatientNonInsurancePayerInfoCreateOptional.js +5 -0
- package/api/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +2 -2
- package/api/resources/individual/types/SubscriberBaseOptional.d.ts +9 -0
- package/api/resources/individual/types/SubscriberBaseOptional.js +5 -0
- package/api/resources/individual/types/SubscriberCreateOptional.d.ts +7 -0
- package/api/resources/individual/types/SubscriberCreateOptional.js +5 -0
- package/api/resources/individual/types/index.d.ts +4 -0
- package/api/resources/individual/types/index.js +4 -0
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -0
- package/api/resources/insuranceCards/resources/v2/types/InsuranceCardCreateOptional.d.ts +14 -0
- package/api/resources/insuranceCards/resources/v2/types/InsuranceCardCreateOptional.js +5 -0
- package/api/resources/insuranceCards/resources/v2/types/index.d.ts +1 -0
- package/api/resources/insuranceCards/resources/v2/types/index.js +1 -0
- 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 +6 -6
- package/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
- package/api/resources/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +7 -7
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +10 -10
- package/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +3 -3
- 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.js +11 -11
- package/api/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +2 -0
- package/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- package/api/resources/serviceLines/resources/v2/types/DrugIdentificationOptional.d.ts +14 -0
- package/api/resources/serviceLines/resources/v2/types/DrugIdentificationOptional.js +5 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +50 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +5 -0
- package/api/resources/serviceLines/resources/v2/types/TestResultOptional.d.ts +8 -0
- package/api/resources/serviceLines/resources/v2/types/TestResultOptional.js +5 -0
- package/api/resources/serviceLines/resources/v2/types/index.d.ts +3 -0
- package/api/resources/serviceLines/resources/v2/types/index.js +3 -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/writeOffs/resources/v1/types/InsuranceWriteOffReason.d.ts +2 -1
- package/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.js +1 -0
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +2 -1
- package/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
- package/api/resources/yesNoIndicator/index.d.ts +1 -0
- package/api/resources/yesNoIndicator/index.js +17 -0
- package/api/resources/yesNoIndicator/types/YesNoIndicator.d.ts +10 -0
- package/api/resources/yesNoIndicator/types/YesNoIndicator.js +12 -0
- package/api/resources/yesNoIndicator/types/index.d.ts +1 -0
- package/api/resources/yesNoIndicator/types/index.js +17 -0
- package/core/auth/OAuthTokenProvider.d.ts +2 -2
- package/dist/Client.js +2 -2
- package/dist/api/resources/auth/client/Client.d.ts +3 -3
- package/dist/api/resources/auth/client/Client.js +3 -3
- package/dist/api/resources/auth/resources/{v2 → default}/client/Client.d.ts +23 -9
- package/{api/resources/auth/resources/v2 → dist/api/resources/auth/resources/default}/client/Client.js +29 -12
- package/dist/api/resources/auth/resources/default/client/getToken.d.ts +34 -0
- package/{api/resources/auth/resources/v2 → dist/api/resources/auth/resources/default}/client/getToken.js +13 -2
- package/dist/api/resources/auth/resources/default/client/requests/AuthGetTokenRequest.js +5 -0
- package/dist/api/resources/auth/resources/default/types/AuthGetTokenResponse.js +5 -0
- package/dist/api/resources/auth/resources/default/types/InvalidContentTypeErrorType.d.ts +6 -0
- package/dist/api/resources/auth/resources/default/types/InvalidContentTypeErrorType.js +5 -0
- package/dist/api/resources/auth/resources/default/types/TooManyRequestsErrorType.js +5 -0
- package/dist/{serialization/resources/auth/resources/v2 → api/resources/auth/resources/default}/types/index.d.ts +1 -0
- package/{api/resources/auth/resources/v2 → dist/api/resources/auth/resources/default}/types/index.js +1 -0
- package/dist/api/resources/auth/resources/index.d.ts +1 -1
- package/dist/api/resources/auth/resources/index.js +2 -2
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/billingNotes/resources/v2/types/BillingNoteBaseOptional.d.ts +7 -0
- package/dist/api/resources/billingNotes/resources/v2/types/BillingNoteBaseOptional.js +5 -0
- package/dist/api/resources/billingNotes/resources/v2/types/index.d.ts +1 -0
- package/dist/api/resources/billingNotes/resources/v2/types/index.js +1 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +4 -0
- package/dist/api/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +4 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +1 -52
- package/dist/api/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +6 -0
- package/dist/api/resources/chargeCapture/resources/v1/types/index.d.ts +1 -1
- package/dist/api/resources/chargeCapture/resources/v1/types/index.js +1 -1
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.d.ts +9 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/Client.js +55 -3
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +1 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/index.js +2 -1
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/ChargeCaptureBundleErrorResolution.d.ts +13 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/ChargeCaptureBundleErrorResolution.js +5 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/resolveChargeCreationError.d.ts +34 -0
- package/dist/api/resources/chargeCaptureBundles/resources/v1/client/resolveChargeCreationError.js +79 -0
- package/dist/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.d.ts +34 -0
- package/dist/api/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.js +5 -0
- package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.d.ts +43 -0
- package/dist/api/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.js +5 -0
- package/dist/api/resources/claimSubmission/resources/v1/types/index.d.ts +2 -0
- package/dist/api/resources/claimSubmission/resources/v1/types/index.js +2 -0
- package/dist/api/resources/commons/types/PhoneNumberOptional.d.ts +15 -0
- package/dist/api/resources/commons/types/PhoneNumberOptional.js +5 -0
- package/dist/api/resources/commons/types/ProcedureModifier.d.ts +9 -1
- package/dist/api/resources/commons/types/ProcedureModifier.js +2 -0
- package/dist/api/resources/commons/types/StreetAddressLongZipOptional.d.ts +19 -0
- package/dist/api/resources/commons/types/StreetAddressLongZipOptional.js +5 -0
- package/dist/api/resources/commons/types/index.d.ts +2 -0
- package/dist/api/resources/commons/types/index.js +2 -0
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/credentialing/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/customSchemas/resources/v1/types/SchemaInstanceOptional.d.ts +22 -0
- package/dist/api/resources/customSchemas/resources/v1/types/SchemaInstanceOptional.js +5 -0
- package/dist/api/resources/customSchemas/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/customSchemas/resources/v1/types/index.js +1 -0
- package/dist/api/resources/diagnoses/client/Client.js +3 -3
- package/dist/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +7 -0
- package/dist/api/resources/diagnoses/types/DiagnosisCreate.d.ts +7 -0
- package/dist/api/resources/diagnoses/types/DiagnosisCreateOptional.d.ts +28 -0
- package/dist/api/resources/diagnoses/types/DiagnosisCreateOptional.js +5 -0
- package/dist/api/resources/diagnoses/types/index.d.ts +1 -0
- package/dist/api/resources/diagnoses/types/index.js +1 -0
- 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/OrderingProviderOptional.d.ts +13 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/OrderingProviderOptional.js +5 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/dist/api/resources/encounters/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +1 -1
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +26 -0
- package/dist/api/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.d.ts +9 -0
- package/dist/api/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/ClinicalNoteCategoryCreateOptional.d.ts +8 -0
- package/dist/api/resources/encounters/resources/v4/types/ClinicalNoteCategoryCreateOptional.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/ClinicalNoteOptional.d.ts +10 -0
- package/dist/api/resources/encounters/resources/v4/types/ClinicalNoteOptional.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +3 -1
- package/dist/api/resources/encounters/resources/v4/types/EncounterCreateFromPreEncounter.d.ts +1 -1
- package/dist/api/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +80 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterDeepOptional.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/EncounterOptional.d.ts +0 -26
- package/dist/api/resources/encounters/resources/v4/types/EpsdtReferralOptional.d.ts +9 -0
- package/dist/api/resources/encounters/resources/v4/types/EpsdtReferralOptional.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/IntakeQuestionOptional.d.ts +24 -0
- package/dist/api/resources/encounters/resources/v4/types/IntakeQuestionOptional.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/InterventionOptional.d.ts +14 -0
- package/dist/api/resources/encounters/resources/v4/types/InterventionOptional.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/LabOptional.d.ts +17 -0
- package/dist/api/resources/encounters/resources/v4/types/LabOptional.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/MedicationOptional.d.ts +12 -0
- package/dist/api/resources/encounters/resources/v4/types/MedicationOptional.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/PatientHistoryCategoryOptional.d.ts +9 -0
- package/dist/api/resources/encounters/resources/v4/types/PatientHistoryCategoryOptional.js +5 -0
- package/dist/api/resources/encounters/resources/v4/types/index.d.ts +10 -0
- package/dist/api/resources/encounters/resources/v4/types/index.js +10 -0
- package/dist/api/resources/expectedNetworkStatus/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/expectedNetworkStatus/resources/v2/client/Client.js +2 -2
- package/dist/api/resources/exports/resources/v3/client/Client.js +1 -1
- package/dist/api/resources/externalPaymentAccountConfig/resources/v1/client/Client.js +1 -1
- package/dist/api/resources/feeSchedules/resources/v3/client/Client.js +10 -10
- package/dist/api/resources/guarantor/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/guarantor/resources/v1/types/GuarantorOptional.d.ts +17 -0
- package/dist/api/resources/guarantor/resources/v1/types/GuarantorOptional.js +5 -0
- package/dist/api/resources/guarantor/resources/v1/types/index.d.ts +1 -0
- package/dist/api/resources/guarantor/resources/v1/types/index.js +1 -0
- package/dist/api/resources/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/index.d.ts +2 -0
- package/dist/api/resources/index.js +3 -1
- package/dist/api/resources/individual/types/IndividualBaseOptional.d.ts +9 -0
- package/dist/api/resources/individual/types/IndividualBaseOptional.js +5 -0
- package/dist/api/resources/individual/types/PatientNonInsurancePayerInfoCreateOptional.d.ts +9 -0
- package/dist/api/resources/individual/types/PatientNonInsurancePayerInfoCreateOptional.js +5 -0
- package/dist/api/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +2 -2
- package/dist/api/resources/individual/types/SubscriberBaseOptional.d.ts +9 -0
- package/dist/api/resources/individual/types/SubscriberBaseOptional.js +5 -0
- package/dist/api/resources/individual/types/SubscriberCreateOptional.d.ts +7 -0
- package/dist/api/resources/individual/types/SubscriberCreateOptional.js +5 -0
- package/dist/api/resources/individual/types/index.d.ts +4 -0
- package/dist/api/resources/individual/types/index.js +4 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -0
- package/dist/api/resources/insuranceCards/resources/v2/types/InsuranceCardCreateOptional.d.ts +14 -0
- package/dist/api/resources/insuranceCards/resources/v2/types/InsuranceCardCreateOptional.js +5 -0
- package/dist/api/resources/insuranceCards/resources/v2/types/index.d.ts +1 -0
- package/dist/api/resources/insuranceCards/resources/v2/types/index.js +1 -0
- 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 +6 -6
- package/dist/api/resources/organizationProviders/resources/v3/client/Client.js +4 -4
- package/dist/api/resources/organizationServiceFacilities/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/patientPayments/resources/v4/client/Client.js +5 -5
- package/dist/api/resources/patientRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payerPlanGroups/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/payers/resources/v3/client/Client.js +2 -2
- 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.js +10 -10
- package/dist/api/resources/preEncounter/resources/eligibilityChecks/resources/v1/client/Client.js +3 -3
- 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.js +11 -11
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +2 -0
- package/dist/api/resources/preEncounter/resources/tags/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +3 -3
- package/dist/api/resources/serviceLines/resources/v2/types/DrugIdentificationOptional.d.ts +14 -0
- package/dist/api/resources/serviceLines/resources/v2/types/DrugIdentificationOptional.js +5 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +50 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +5 -0
- package/dist/api/resources/serviceLines/resources/v2/types/TestResultOptional.d.ts +8 -0
- package/dist/api/resources/serviceLines/resources/v2/types/TestResultOptional.js +5 -0
- package/dist/api/resources/serviceLines/resources/v2/types/index.d.ts +3 -0
- package/dist/api/resources/serviceLines/resources/v2/types/index.js +3 -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/writeOffs/resources/v1/types/InsuranceWriteOffReason.d.ts +2 -1
- package/dist/api/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.js +1 -0
- package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +2 -1
- package/dist/api/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
- package/dist/api/resources/yesNoIndicator/index.d.ts +1 -0
- package/dist/api/resources/yesNoIndicator/index.js +17 -0
- package/dist/api/resources/yesNoIndicator/types/YesNoIndicator.d.ts +10 -0
- package/dist/api/resources/yesNoIndicator/types/YesNoIndicator.js +12 -0
- package/dist/api/resources/yesNoIndicator/types/index.d.ts +1 -0
- package/dist/api/resources/yesNoIndicator/types/index.js +17 -0
- package/dist/core/auth/OAuthTokenProvider.d.ts +2 -2
- package/dist/serialization/resources/auth/resources/{v2 → default}/client/getToken.d.ts +7 -2
- package/dist/serialization/resources/auth/resources/{v2 → default}/client/getToken.js +7 -1
- package/dist/serialization/resources/auth/resources/{v2 → default}/client/requests/AuthGetTokenRequest.d.ts +1 -1
- package/{serialization/resources/auth/resources/v2 → dist/serialization/resources/auth/resources/default}/types/AuthGetTokenResponse.d.ts +1 -1
- package/dist/serialization/resources/auth/resources/default/types/InvalidContentTypeErrorType.d.ts +12 -0
- package/dist/serialization/resources/auth/resources/default/types/InvalidContentTypeErrorType.js +43 -0
- package/{serialization/resources/auth/resources/v2 → dist/serialization/resources/auth/resources/default}/types/TooManyRequestsErrorType.d.ts +1 -1
- package/{serialization/resources/auth/resources/v2 → dist/serialization/resources/auth/resources/default}/types/index.d.ts +1 -0
- package/dist/{api/resources/auth/resources/v2 → serialization/resources/auth/resources/default}/types/index.js +1 -0
- package/dist/serialization/resources/auth/resources/index.d.ts +1 -1
- package/dist/serialization/resources/auth/resources/index.js +2 -2
- package/dist/serialization/resources/billingNotes/resources/v2/types/BillingNoteBaseOptional.d.ts +12 -0
- package/dist/serialization/resources/billingNotes/resources/v2/types/BillingNoteBaseOptional.js +43 -0
- package/dist/serialization/resources/billingNotes/resources/v2/types/index.d.ts +1 -0
- package/dist/serialization/resources/billingNotes/resources/v2/types/index.js +1 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +2 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +2 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +2 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +2 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +2 -30
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +2 -33
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +3 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.js +3 -0
- package/dist/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +1 -1
- package/dist/serialization/resources/chargeCapture/resources/v1/types/index.js +1 -1
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +2 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/index.js +41 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/requests/ChargeCaptureBundleErrorResolution.d.ts +13 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/requests/ChargeCaptureBundleErrorResolution.js +44 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/requests/index.js +5 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/resolveChargeCreationError.d.ts +20 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/client/resolveChargeCreationError.js +77 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/index.d.ts +1 -0
- package/dist/serialization/resources/chargeCaptureBundles/resources/v1/index.js +1 -0
- package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.d.ts +18 -0
- package/dist/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.js +49 -0
- package/dist/serialization/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.d.ts +15 -0
- package/dist/serialization/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.js +46 -0
- package/dist/serialization/resources/claimSubmission/resources/v1/types/index.d.ts +2 -0
- package/dist/serialization/resources/claimSubmission/resources/v1/types/index.js +2 -0
- package/dist/serialization/resources/commons/types/PhoneNumberOptional.d.ts +14 -0
- package/dist/serialization/resources/commons/types/PhoneNumberOptional.js +45 -0
- package/dist/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
- package/dist/serialization/resources/commons/types/ProcedureModifier.js +2 -0
- package/dist/serialization/resources/commons/types/StreetAddressLongZipOptional.d.ts +13 -0
- package/dist/serialization/resources/commons/types/StreetAddressLongZipOptional.js +46 -0
- package/dist/serialization/resources/commons/types/index.d.ts +2 -0
- package/dist/serialization/resources/commons/types/index.js +2 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaInstanceOptional.d.ts +14 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/SchemaInstanceOptional.js +45 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/customSchemas/resources/v1/types/index.js +1 -0
- package/dist/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +2 -0
- package/dist/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.js +2 -0
- package/dist/serialization/resources/diagnoses/types/DiagnosisCreate.d.ts +2 -0
- package/dist/serialization/resources/diagnoses/types/DiagnosisCreate.js +2 -0
- package/dist/serialization/resources/diagnoses/types/DiagnosisCreateOptional.d.ts +17 -0
- package/dist/serialization/resources/diagnoses/types/DiagnosisCreateOptional.js +48 -0
- package/dist/serialization/resources/diagnoses/types/index.d.ts +1 -0
- package/dist/serialization/resources/diagnoses/types/index.js +1 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/OrderingProviderOptional.d.ts +16 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/OrderingProviderOptional.js +49 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +16 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +16 -0
- package/dist/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.d.ts +16 -0
- package/dist/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.js +47 -0
- package/dist/serialization/resources/encounters/resources/v4/types/ClinicalNoteCategoryCreateOptional.d.ts +15 -0
- package/dist/serialization/resources/encounters/resources/v4/types/ClinicalNoteCategoryCreateOptional.js +46 -0
- package/dist/serialization/resources/encounters/resources/v4/types/ClinicalNoteOptional.d.ts +16 -0
- package/dist/serialization/resources/encounters/resources/v4/types/ClinicalNoteOptional.js +47 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +56 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.js +89 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +0 -16
- package/dist/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +0 -16
- package/dist/serialization/resources/encounters/resources/v4/types/EpsdtReferralOptional.d.ts +15 -0
- package/dist/serialization/resources/encounters/resources/v4/types/EpsdtReferralOptional.js +46 -0
- package/dist/serialization/resources/encounters/resources/v4/types/IntakeQuestionOptional.d.ts +16 -0
- package/dist/serialization/resources/encounters/resources/v4/types/IntakeQuestionOptional.js +47 -0
- package/dist/serialization/resources/encounters/resources/v4/types/InterventionOptional.d.ts +19 -0
- package/dist/serialization/resources/encounters/resources/v4/types/InterventionOptional.js +50 -0
- package/dist/serialization/resources/encounters/resources/v4/types/LabOptional.d.ts +15 -0
- package/dist/serialization/resources/encounters/resources/v4/types/LabOptional.js +46 -0
- package/dist/serialization/resources/encounters/resources/v4/types/MedicationOptional.d.ts +18 -0
- package/dist/serialization/resources/encounters/resources/v4/types/MedicationOptional.js +49 -0
- package/dist/serialization/resources/encounters/resources/v4/types/PatientHistoryCategoryOptional.d.ts +15 -0
- package/dist/serialization/resources/encounters/resources/v4/types/PatientHistoryCategoryOptional.js +46 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.d.ts +10 -0
- package/dist/serialization/resources/encounters/resources/v4/types/index.js +10 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.d.ts +23 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.js +54 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/index.d.ts +1 -0
- package/dist/serialization/resources/guarantor/resources/v1/types/index.js +1 -0
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/index.js +3 -1
- package/dist/serialization/resources/individual/types/IndividualBaseOptional.d.ts +15 -0
- package/dist/serialization/resources/individual/types/IndividualBaseOptional.js +46 -0
- package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreateOptional.d.ts +16 -0
- package/dist/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreateOptional.js +47 -0
- package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +4 -4
- package/dist/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +4 -4
- package/dist/serialization/resources/individual/types/SubscriberBaseOptional.d.ts +17 -0
- package/dist/serialization/resources/individual/types/SubscriberBaseOptional.js +50 -0
- package/dist/serialization/resources/individual/types/SubscriberCreateOptional.d.ts +14 -0
- package/dist/serialization/resources/individual/types/SubscriberCreateOptional.js +47 -0
- package/dist/serialization/resources/individual/types/index.d.ts +4 -0
- package/dist/serialization/resources/individual/types/index.js +4 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -0
- package/dist/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +1 -0
- package/dist/serialization/resources/insuranceCards/resources/v2/types/InsuranceCardCreateOptional.d.ts +21 -0
- package/dist/serialization/resources/insuranceCards/resources/v2/types/InsuranceCardCreateOptional.js +54 -0
- package/dist/serialization/resources/insuranceCards/resources/v2/types/index.d.ts +1 -0
- package/dist/serialization/resources/insuranceCards/resources/v2/types/index.js +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +1 -0
- package/dist/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/DrugIdentificationOptional.d.ts +21 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/DrugIdentificationOptional.js +52 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +33 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +64 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/TestResultOptional.d.ts +14 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/TestResultOptional.js +45 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.d.ts +3 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.js +3 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.d.ts +1 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.js +1 -0
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +1 -1
- package/dist/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
- package/dist/serialization/resources/yesNoIndicator/index.d.ts +1 -0
- package/dist/serialization/resources/yesNoIndicator/index.js +17 -0
- package/dist/serialization/resources/yesNoIndicator/types/YesNoIndicator.d.ts +10 -0
- package/dist/serialization/resources/yesNoIndicator/types/YesNoIndicator.js +41 -0
- package/dist/serialization/resources/yesNoIndicator/types/index.d.ts +1 -0
- package/dist/serialization/resources/yesNoIndicator/types/index.js +17 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +77 -6
- package/serialization/resources/auth/resources/{v2 → default}/client/getToken.d.ts +7 -2
- package/serialization/resources/auth/resources/{v2 → default}/client/getToken.js +7 -1
- package/serialization/resources/auth/resources/{v2 → default}/client/requests/AuthGetTokenRequest.d.ts +1 -1
- package/{dist/serialization/resources/auth/resources/v2 → serialization/resources/auth/resources/default}/types/AuthGetTokenResponse.d.ts +1 -1
- package/serialization/resources/auth/resources/default/types/InvalidContentTypeErrorType.d.ts +12 -0
- package/serialization/resources/auth/resources/default/types/InvalidContentTypeErrorType.js +43 -0
- package/{dist/serialization/resources/auth/resources/v2 → serialization/resources/auth/resources/default}/types/TooManyRequestsErrorType.d.ts +1 -1
- package/{api/resources/auth/resources/v2 → serialization/resources/auth/resources/default}/types/index.d.ts +1 -0
- package/serialization/resources/auth/resources/{v2 → default}/types/index.js +1 -0
- package/serialization/resources/auth/resources/index.d.ts +1 -1
- package/serialization/resources/auth/resources/index.js +2 -2
- package/serialization/resources/billingNotes/resources/v2/types/BillingNoteBaseOptional.d.ts +12 -0
- package/serialization/resources/billingNotes/resources/v2/types/BillingNoteBaseOptional.js +43 -0
- package/serialization/resources/billingNotes/resources/v2/types/index.d.ts +1 -0
- package/serialization/resources/billingNotes/resources/v2/types/index.js +1 -0
- package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.d.ts +2 -0
- package/serialization/resources/chargeCapture/resources/v1/client/requests/ChargeCaptureUpdate.js +2 -0
- package/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.d.ts +2 -0
- package/serialization/resources/chargeCapture/resources/v1/client/requests/CreateChargeCaptureRequest.js +2 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.d.ts +2 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCapture.js +2 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.d.ts +2 -30
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureData.js +2 -33
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.d.ts +3 -0
- package/serialization/resources/chargeCapture/resources/v1/types/ChargeCaptureError.js +3 -0
- package/serialization/resources/chargeCapture/resources/v1/types/index.d.ts +1 -1
- package/serialization/resources/chargeCapture/resources/v1/types/index.js +1 -1
- package/serialization/resources/chargeCaptureBundles/resources/v1/client/index.d.ts +2 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/client/index.js +41 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/client/requests/ChargeCaptureBundleErrorResolution.d.ts +13 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/client/requests/ChargeCaptureBundleErrorResolution.js +44 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/client/requests/index.d.ts +1 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/client/requests/index.js +5 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/client/resolveChargeCreationError.d.ts +20 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/client/resolveChargeCreationError.js +77 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/index.d.ts +1 -0
- package/serialization/resources/chargeCaptureBundles/resources/v1/index.js +1 -0
- package/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.d.ts +18 -0
- package/serialization/resources/claimSubmission/resources/v1/types/ClaimSubmissionRecordCreateOptional.js +49 -0
- package/serialization/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.d.ts +15 -0
- package/serialization/resources/claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional.js +46 -0
- package/serialization/resources/claimSubmission/resources/v1/types/index.d.ts +2 -0
- package/serialization/resources/claimSubmission/resources/v1/types/index.js +2 -0
- package/serialization/resources/commons/types/PhoneNumberOptional.d.ts +14 -0
- package/serialization/resources/commons/types/PhoneNumberOptional.js +45 -0
- package/serialization/resources/commons/types/ProcedureModifier.d.ts +1 -1
- package/serialization/resources/commons/types/ProcedureModifier.js +2 -0
- package/serialization/resources/commons/types/StreetAddressLongZipOptional.d.ts +13 -0
- package/serialization/resources/commons/types/StreetAddressLongZipOptional.js +46 -0
- package/serialization/resources/commons/types/index.d.ts +2 -0
- package/serialization/resources/commons/types/index.js +2 -0
- package/serialization/resources/customSchemas/resources/v1/types/SchemaInstanceOptional.d.ts +14 -0
- package/serialization/resources/customSchemas/resources/v1/types/SchemaInstanceOptional.js +45 -0
- package/serialization/resources/customSchemas/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/customSchemas/resources/v1/types/index.js +1 -0
- package/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +2 -0
- package/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.js +2 -0
- package/serialization/resources/diagnoses/types/DiagnosisCreate.d.ts +2 -0
- package/serialization/resources/diagnoses/types/DiagnosisCreate.js +2 -0
- package/serialization/resources/diagnoses/types/DiagnosisCreateOptional.d.ts +17 -0
- package/serialization/resources/diagnoses/types/DiagnosisCreateOptional.js +48 -0
- package/serialization/resources/diagnoses/types/index.d.ts +1 -0
- package/serialization/resources/diagnoses/types/index.js +1 -0
- package/serialization/resources/encounterProviders/resources/v2/types/OrderingProviderOptional.d.ts +16 -0
- package/serialization/resources/encounterProviders/resources/v2/types/OrderingProviderOptional.js +49 -0
- package/serialization/resources/encounterProviders/resources/v2/types/index.d.ts +1 -0
- package/serialization/resources/encounterProviders/resources/v2/types/index.js +1 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +16 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +16 -0
- package/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.d.ts +16 -0
- package/serialization/resources/encounters/resources/v4/types/ClaimSupplementalInformationOptional.js +47 -0
- package/serialization/resources/encounters/resources/v4/types/ClinicalNoteCategoryCreateOptional.d.ts +15 -0
- package/serialization/resources/encounters/resources/v4/types/ClinicalNoteCategoryCreateOptional.js +46 -0
- package/serialization/resources/encounters/resources/v4/types/ClinicalNoteOptional.d.ts +16 -0
- package/serialization/resources/encounters/resources/v4/types/ClinicalNoteOptional.js +47 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.d.ts +2 -0
- package/serialization/resources/encounters/resources/v4/types/Encounter.js +2 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.d.ts +56 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterDeepOptional.js +89 -0
- package/serialization/resources/encounters/resources/v4/types/EncounterOptional.d.ts +0 -16
- package/serialization/resources/encounters/resources/v4/types/EncounterOptional.js +0 -16
- package/serialization/resources/encounters/resources/v4/types/EpsdtReferralOptional.d.ts +15 -0
- package/serialization/resources/encounters/resources/v4/types/EpsdtReferralOptional.js +46 -0
- package/serialization/resources/encounters/resources/v4/types/IntakeQuestionOptional.d.ts +16 -0
- package/serialization/resources/encounters/resources/v4/types/IntakeQuestionOptional.js +47 -0
- package/serialization/resources/encounters/resources/v4/types/InterventionOptional.d.ts +19 -0
- package/serialization/resources/encounters/resources/v4/types/InterventionOptional.js +50 -0
- package/serialization/resources/encounters/resources/v4/types/LabOptional.d.ts +15 -0
- package/serialization/resources/encounters/resources/v4/types/LabOptional.js +46 -0
- package/serialization/resources/encounters/resources/v4/types/MedicationOptional.d.ts +18 -0
- package/serialization/resources/encounters/resources/v4/types/MedicationOptional.js +49 -0
- package/serialization/resources/encounters/resources/v4/types/PatientHistoryCategoryOptional.d.ts +15 -0
- package/serialization/resources/encounters/resources/v4/types/PatientHistoryCategoryOptional.js +46 -0
- package/serialization/resources/encounters/resources/v4/types/index.d.ts +10 -0
- package/serialization/resources/encounters/resources/v4/types/index.js +10 -0
- package/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.d.ts +23 -0
- package/serialization/resources/guarantor/resources/v1/types/GuarantorOptional.js +54 -0
- package/serialization/resources/guarantor/resources/v1/types/index.d.ts +1 -0
- package/serialization/resources/guarantor/resources/v1/types/index.js +1 -0
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/resources/individual/types/IndividualBaseOptional.d.ts +15 -0
- package/serialization/resources/individual/types/IndividualBaseOptional.js +46 -0
- package/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreateOptional.d.ts +16 -0
- package/serialization/resources/individual/types/PatientNonInsurancePayerInfoCreateOptional.js +47 -0
- package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.d.ts +4 -4
- package/serialization/resources/individual/types/PatientUpdateWithOptionalAddress.js +4 -4
- package/serialization/resources/individual/types/SubscriberBaseOptional.d.ts +17 -0
- package/serialization/resources/individual/types/SubscriberBaseOptional.js +50 -0
- package/serialization/resources/individual/types/SubscriberCreateOptional.d.ts +14 -0
- package/serialization/resources/individual/types/SubscriberCreateOptional.js +47 -0
- package/serialization/resources/individual/types/index.d.ts +4 -0
- package/serialization/resources/individual/types/index.js +4 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.d.ts +1 -0
- package/serialization/resources/insuranceAdjudications/resources/v1/types/InsuranceAdjudicationCreate.js +1 -0
- package/serialization/resources/insuranceCards/resources/v2/types/InsuranceCardCreateOptional.d.ts +21 -0
- package/serialization/resources/insuranceCards/resources/v2/types/InsuranceCardCreateOptional.js +54 -0
- package/serialization/resources/insuranceCards/resources/v2/types/index.d.ts +1 -0
- package/serialization/resources/insuranceCards/resources/v2/types/index.js +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.d.ts +1 -0
- package/serialization/resources/preEncounter/resources/patients/resources/v1/types/Authorization.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/DrugIdentificationOptional.d.ts +21 -0
- package/serialization/resources/serviceLines/resources/v2/types/DrugIdentificationOptional.js +52 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.d.ts +33 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreateOptional.js +64 -0
- package/serialization/resources/serviceLines/resources/v2/types/TestResultOptional.d.ts +14 -0
- package/serialization/resources/serviceLines/resources/v2/types/TestResultOptional.js +45 -0
- package/serialization/resources/serviceLines/resources/v2/types/index.d.ts +3 -0
- package/serialization/resources/serviceLines/resources/v2/types/index.js +3 -0
- package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.d.ts +1 -1
- package/serialization/resources/writeOffs/resources/v1/types/InsuranceWriteOffReason.js +1 -0
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.d.ts +1 -1
- package/serialization/resources/writeOffs/resources/v1/types/PatientWriteOffReason.js +1 -0
- package/serialization/resources/yesNoIndicator/index.d.ts +1 -0
- package/serialization/resources/yesNoIndicator/index.js +17 -0
- package/serialization/resources/yesNoIndicator/types/YesNoIndicator.d.ts +10 -0
- package/serialization/resources/yesNoIndicator/types/YesNoIndicator.js +41 -0
- package/serialization/resources/yesNoIndicator/types/index.d.ts +1 -0
- package/serialization/resources/yesNoIndicator/types/index.js +17 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/auth/resources/v2/client/getToken.d.ts +0 -28
- package/dist/api/resources/auth/resources/v2/client/getToken.d.ts +0 -28
- /package/api/resources/auth/resources/{v2 → default}/client/index.d.ts +0 -0
- /package/api/resources/auth/resources/{v2 → default}/client/index.js +0 -0
- /package/api/resources/auth/resources/{v2 → default}/client/requests/AuthGetTokenRequest.d.ts +0 -0
- /package/api/resources/auth/resources/{v2 → default}/client/requests/AuthGetTokenRequest.js +0 -0
- /package/api/resources/auth/resources/{v2 → default}/client/requests/index.d.ts +0 -0
- /package/api/resources/auth/resources/{v2 → default}/client/requests/index.js +0 -0
- /package/api/resources/auth/resources/{v2 → default}/index.d.ts +0 -0
- /package/api/resources/auth/resources/{v2 → default}/index.js +0 -0
- /package/api/resources/auth/resources/{v2 → default}/types/AuthGetTokenResponse.d.ts +0 -0
- /package/api/resources/auth/resources/{v2 → default}/types/AuthGetTokenResponse.js +0 -0
- /package/api/resources/auth/resources/{v2/types/TooManyRequestsErrorType.js → default/types/InvalidContentTypeErrorType.js} +0 -0
- /package/api/resources/auth/resources/{v2 → default}/types/TooManyRequestsErrorType.d.ts +0 -0
- /package/{dist/api/resources/auth/resources/v2 → api/resources/auth/resources/default}/types/TooManyRequestsErrorType.js +0 -0
- /package/{dist/api/resources/auth/resources/v2/client/requests/AuthGetTokenRequest.js → api/resources/billingNotes/resources/v2/types/BillingNoteBaseOptional.js} +0 -0
- /package/{dist/api/resources/auth/resources/v2/types/AuthGetTokenResponse.js → api/resources/chargeCaptureBundles/resources/v1/client/requests/ChargeCaptureBundleErrorResolution.js} +0 -0
- /package/dist/api/resources/auth/resources/{v2 → default}/client/index.d.ts +0 -0
- /package/dist/api/resources/auth/resources/{v2 → default}/client/index.js +0 -0
- /package/dist/api/resources/auth/resources/{v2 → default}/client/requests/AuthGetTokenRequest.d.ts +0 -0
- /package/dist/api/resources/auth/resources/{v2 → default}/client/requests/index.d.ts +0 -0
- /package/dist/api/resources/auth/resources/{v2 → default}/client/requests/index.js +0 -0
- /package/dist/api/resources/auth/resources/{v2 → default}/index.d.ts +0 -0
- /package/dist/api/resources/auth/resources/{v2 → default}/index.js +0 -0
- /package/dist/api/resources/auth/resources/{v2 → default}/types/AuthGetTokenResponse.d.ts +0 -0
- /package/dist/api/resources/auth/resources/{v2 → default}/types/TooManyRequestsErrorType.d.ts +0 -0
- /package/dist/serialization/resources/auth/resources/{v2 → default}/client/index.d.ts +0 -0
- /package/dist/serialization/resources/auth/resources/{v2 → default}/client/index.js +0 -0
- /package/dist/serialization/resources/auth/resources/{v2 → default}/client/requests/AuthGetTokenRequest.js +0 -0
- /package/dist/serialization/resources/auth/resources/{v2 → default}/client/requests/index.d.ts +0 -0
- /package/dist/serialization/resources/auth/resources/{v2 → default}/client/requests/index.js +0 -0
- /package/dist/serialization/resources/auth/resources/{v2 → default}/index.d.ts +0 -0
- /package/dist/serialization/resources/auth/resources/{v2 → default}/index.js +0 -0
- /package/dist/serialization/resources/auth/resources/{v2 → default}/types/AuthGetTokenResponse.js +0 -0
- /package/dist/serialization/resources/auth/resources/{v2 → default}/types/TooManyRequestsErrorType.js +0 -0
- /package/serialization/resources/auth/resources/{v2 → default}/client/index.d.ts +0 -0
- /package/serialization/resources/auth/resources/{v2 → default}/client/index.js +0 -0
- /package/serialization/resources/auth/resources/{v2 → default}/client/requests/AuthGetTokenRequest.js +0 -0
- /package/serialization/resources/auth/resources/{v2 → default}/client/requests/index.d.ts +0 -0
- /package/serialization/resources/auth/resources/{v2 → default}/client/requests/index.js +0 -0
- /package/serialization/resources/auth/resources/{v2 → default}/index.d.ts +0 -0
- /package/serialization/resources/auth/resources/{v2 → default}/index.js +0 -0
- /package/serialization/resources/auth/resources/{v2 → default}/types/AuthGetTokenResponse.js +0 -0
- /package/serialization/resources/auth/resources/{v2 → default}/types/TooManyRequestsErrorType.js +0 -0
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.EncounterDeepOptional = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
const DiagnosisCreateOptional_1 = require("../../../../diagnoses/types/DiagnosisCreateOptional");
|
|
42
|
+
const ClinicalNoteCategoryCreateOptional_1 = require("./ClinicalNoteCategoryCreateOptional");
|
|
43
|
+
const ClaimSupplementalInformationOptional_1 = require("./ClaimSupplementalInformationOptional");
|
|
44
|
+
const EpsdtReferralOptional_1 = require("./EpsdtReferralOptional");
|
|
45
|
+
const MedicationOptional_1 = require("./MedicationOptional");
|
|
46
|
+
const GuarantorOptional_1 = require("../../../../guarantor/resources/v1/types/GuarantorOptional");
|
|
47
|
+
const SubscriberCreateOptional_1 = require("../../../../individual/types/SubscriberCreateOptional");
|
|
48
|
+
const InterventionOptional_1 = require("./InterventionOptional");
|
|
49
|
+
const SchemaInstanceOptional_1 = require("../../../../customSchemas/resources/v1/types/SchemaInstanceOptional");
|
|
50
|
+
const ExternalClaimSubmissionCreateOptional_1 = require("../../../../claimSubmission/resources/v1/types/ExternalClaimSubmissionCreateOptional");
|
|
51
|
+
const ServiceLineCreateOptional_1 = require("../../../../serviceLines/resources/v2/types/ServiceLineCreateOptional");
|
|
52
|
+
const PatientHistoryCategoryOptional_1 = require("./PatientHistoryCategoryOptional");
|
|
53
|
+
const BillingNoteBaseOptional_1 = require("../../../../billingNotes/resources/v2/types/BillingNoteBaseOptional");
|
|
54
|
+
const PatientUpdateWithOptionalAddress_1 = require("../../../../individual/types/PatientUpdateWithOptionalAddress");
|
|
55
|
+
const EncounterServiceFacilityUpdateWithOptionalAddress_1 = require("../../../../serviceFacility/types/EncounterServiceFacilityUpdateWithOptionalAddress");
|
|
56
|
+
const RenderingProviderUpdateWithOptionalAddress_1 = require("../../../../encounterProviders/resources/v2/types/RenderingProviderUpdateWithOptionalAddress");
|
|
57
|
+
const InitialReferringProviderUpdateWithOptionalAddress_1 = require("../../../../encounterProviders/resources/v2/types/InitialReferringProviderUpdateWithOptionalAddress");
|
|
58
|
+
const ReferringProviderUpdateWithOptionalAddress_1 = require("../../../../encounterProviders/resources/v2/types/ReferringProviderUpdateWithOptionalAddress");
|
|
59
|
+
const SupervisingProviderUpdateWithOptionalAddress_1 = require("../../../../encounterProviders/resources/v2/types/SupervisingProviderUpdateWithOptionalAddress");
|
|
60
|
+
const BillingProviderUpdateWithOptionalAddress_1 = require("../../../../encounterProviders/resources/v2/types/BillingProviderUpdateWithOptionalAddress");
|
|
61
|
+
const StreetAddressShortZipOptional_1 = require("../../../../commons/types/StreetAddressShortZipOptional");
|
|
62
|
+
const EncounterOptional_1 = require("./EncounterOptional");
|
|
63
|
+
exports.EncounterDeepOptional = core.serialization
|
|
64
|
+
.object({
|
|
65
|
+
diagnoses: core.serialization.list(DiagnosisCreateOptional_1.DiagnosisCreateOptional).optional(),
|
|
66
|
+
clinicalNotes: core.serialization.property("clinical_notes", core.serialization.list(ClinicalNoteCategoryCreateOptional_1.ClinicalNoteCategoryCreateOptional).optional()),
|
|
67
|
+
claimSupplementalInformation: core.serialization.property("claim_supplemental_information", core.serialization.list(ClaimSupplementalInformationOptional_1.ClaimSupplementalInformationOptional).optional()),
|
|
68
|
+
epsdtReferral: core.serialization.property("epsdt_referral", EpsdtReferralOptional_1.EpsdtReferralOptional.optional()),
|
|
69
|
+
existingMedications: core.serialization.property("existing_medications", core.serialization.list(MedicationOptional_1.MedicationOptional).optional()),
|
|
70
|
+
guarantor: GuarantorOptional_1.GuarantorOptional.optional(),
|
|
71
|
+
subscriberPrimary: core.serialization.property("subscriber_primary", SubscriberCreateOptional_1.SubscriberCreateOptional.optional()),
|
|
72
|
+
subscriberSecondary: core.serialization.property("subscriber_secondary", SubscriberCreateOptional_1.SubscriberCreateOptional.optional()),
|
|
73
|
+
subscriberTertiary: core.serialization.property("subscriber_tertiary", SubscriberCreateOptional_1.SubscriberCreateOptional.optional()),
|
|
74
|
+
interventions: core.serialization.list(InterventionOptional_1.InterventionOptional).optional(),
|
|
75
|
+
schemaInstances: core.serialization.property("schema_instances", core.serialization.list(SchemaInstanceOptional_1.SchemaInstanceOptional).optional()),
|
|
76
|
+
externalClaimSubmission: core.serialization.property("external_claim_submission", ExternalClaimSubmissionCreateOptional_1.ExternalClaimSubmissionCreateOptional.optional()),
|
|
77
|
+
serviceLines: core.serialization.property("service_lines", core.serialization.list(ServiceLineCreateOptional_1.ServiceLineCreateOptional).optional()),
|
|
78
|
+
patientHistories: core.serialization.property("patient_histories", core.serialization.list(PatientHistoryCategoryOptional_1.PatientHistoryCategoryOptional).optional()),
|
|
79
|
+
billingNotes: core.serialization.property("billing_notes", core.serialization.list(BillingNoteBaseOptional_1.BillingNoteBaseOptional).optional()),
|
|
80
|
+
patient: PatientUpdateWithOptionalAddress_1.PatientUpdateWithOptionalAddress.optional(),
|
|
81
|
+
serviceFacility: core.serialization.property("service_facility", EncounterServiceFacilityUpdateWithOptionalAddress_1.EncounterServiceFacilityUpdateWithOptionalAddress.optional()),
|
|
82
|
+
renderingProvider: core.serialization.property("rendering_provider", RenderingProviderUpdateWithOptionalAddress_1.RenderingProviderUpdateWithOptionalAddress.optional()),
|
|
83
|
+
initialReferringProvider: core.serialization.property("initial_referring_provider", InitialReferringProviderUpdateWithOptionalAddress_1.InitialReferringProviderUpdateWithOptionalAddress.optional()),
|
|
84
|
+
referringProvider: core.serialization.property("referring_provider", ReferringProviderUpdateWithOptionalAddress_1.ReferringProviderUpdateWithOptionalAddress.optional()),
|
|
85
|
+
supervisingProvider: core.serialization.property("supervising_provider", SupervisingProviderUpdateWithOptionalAddress_1.SupervisingProviderUpdateWithOptionalAddress.optional()),
|
|
86
|
+
billingProvider: core.serialization.property("billing_provider", BillingProviderUpdateWithOptionalAddress_1.BillingProviderUpdateWithOptionalAddress.optional()),
|
|
87
|
+
payToAddress: core.serialization.property("pay_to_address", StreetAddressShortZipOptional_1.StreetAddressShortZipOptional.optional()),
|
|
88
|
+
})
|
|
89
|
+
.extend(EncounterOptional_1.EncounterOptional);
|
|
@@ -7,20 +7,13 @@ import * as core from "../../../../../../core";
|
|
|
7
7
|
import { PriorAuthorizationNumber } from "./PriorAuthorizationNumber";
|
|
8
8
|
import { EncounterExternalId } from "../../../../commons/types/EncounterExternalId";
|
|
9
9
|
import { TagId } from "../../../../tags/types/TagId";
|
|
10
|
-
import { ClinicalNoteCategoryCreate } from "./ClinicalNoteCategoryCreate";
|
|
11
10
|
import { BillableStatusType } from "./BillableStatusType";
|
|
12
11
|
import { ResponsiblePartyType } from "./ResponsiblePartyType";
|
|
13
12
|
import { SynchronicityType } from "./SynchronicityType";
|
|
14
13
|
import { FacilityTypeCode } from "../../../../commons/types/FacilityTypeCode";
|
|
15
|
-
import { SubscriberCreate } from "../../../../individual/types/SubscriberCreate";
|
|
16
14
|
import { ServiceAuthorizationExceptionCode } from "./ServiceAuthorizationExceptionCode";
|
|
17
15
|
import { DelayReasonCode } from "../../../../commons/types/DelayReasonCode";
|
|
18
|
-
import { SchemaInstance } from "../../../../customSchemas/resources/v1/types/SchemaInstance";
|
|
19
16
|
import { VitalsUpdate } from "./VitalsUpdate";
|
|
20
|
-
import { Medication } from "./Medication";
|
|
21
|
-
import { GuarantorUpdate } from "../../../../guarantor/resources/v1/types/GuarantorUpdate";
|
|
22
|
-
import { EpsdtReferral } from "./EpsdtReferral";
|
|
23
|
-
import { ClaimSupplementalInformation } from "./ClaimSupplementalInformation";
|
|
24
17
|
export declare const EncounterOptional: core.serialization.ObjectSchema<serializers.encounters.v4.EncounterOptional.Raw, CandidApi.encounters.v4.EncounterOptional>;
|
|
25
18
|
export declare namespace EncounterOptional {
|
|
26
19
|
interface Raw {
|
|
@@ -29,7 +22,6 @@ export declare namespace EncounterOptional {
|
|
|
29
22
|
external_id?: EncounterExternalId.Raw | null;
|
|
30
23
|
date_of_service?: string | null;
|
|
31
24
|
tag_ids?: TagId.Raw[] | null;
|
|
32
|
-
clinical_notes?: ClinicalNoteCategoryCreate.Raw[] | null;
|
|
33
25
|
billable_status?: BillableStatusType.Raw | null;
|
|
34
26
|
responsible_party?: ResponsiblePartyType.Raw | null;
|
|
35
27
|
provider_accepts_assignment?: boolean | null;
|
|
@@ -37,9 +29,6 @@ export declare namespace EncounterOptional {
|
|
|
37
29
|
place_of_service_code?: FacilityTypeCode.Raw | null;
|
|
38
30
|
appointment_type?: string | null;
|
|
39
31
|
end_date_of_service?: string | null;
|
|
40
|
-
subscriber_primary?: SubscriberCreate.Raw | null;
|
|
41
|
-
subscriber_secondary?: SubscriberCreate.Raw | null;
|
|
42
|
-
subscriber_tertiary?: SubscriberCreate.Raw | null;
|
|
43
32
|
additional_information?: string | null;
|
|
44
33
|
service_authorization_exception_code?: ServiceAuthorizationExceptionCode.Raw | null;
|
|
45
34
|
admission_date?: string | null;
|
|
@@ -48,13 +37,8 @@ export declare namespace EncounterOptional {
|
|
|
48
37
|
last_menstrual_period_date?: string | null;
|
|
49
38
|
delay_reason_code?: DelayReasonCode.Raw | null;
|
|
50
39
|
patient_authorized_release?: boolean | null;
|
|
51
|
-
schema_instances?: SchemaInstance.Raw[] | null;
|
|
52
40
|
vitals?: VitalsUpdate.Raw | null;
|
|
53
|
-
existing_medications?: Medication.Raw[] | null;
|
|
54
|
-
guarantor?: GuarantorUpdate.Raw | null;
|
|
55
41
|
referral_number?: string | null;
|
|
56
|
-
epsdt_referral?: EpsdtReferral.Raw | null;
|
|
57
|
-
claim_supplemental_information?: ClaimSupplementalInformation.Raw[] | null;
|
|
58
42
|
secondary_payer_carrier_code?: string | null;
|
|
59
43
|
}
|
|
60
44
|
}
|
|
@@ -41,27 +41,19 @@ const core = __importStar(require("../../../../../../core"));
|
|
|
41
41
|
const PriorAuthorizationNumber_1 = require("./PriorAuthorizationNumber");
|
|
42
42
|
const EncounterExternalId_1 = require("../../../../commons/types/EncounterExternalId");
|
|
43
43
|
const TagId_1 = require("../../../../tags/types/TagId");
|
|
44
|
-
const ClinicalNoteCategoryCreate_1 = require("./ClinicalNoteCategoryCreate");
|
|
45
44
|
const BillableStatusType_1 = require("./BillableStatusType");
|
|
46
45
|
const ResponsiblePartyType_1 = require("./ResponsiblePartyType");
|
|
47
46
|
const SynchronicityType_1 = require("./SynchronicityType");
|
|
48
47
|
const FacilityTypeCode_1 = require("../../../../commons/types/FacilityTypeCode");
|
|
49
|
-
const SubscriberCreate_1 = require("../../../../individual/types/SubscriberCreate");
|
|
50
48
|
const ServiceAuthorizationExceptionCode_1 = require("./ServiceAuthorizationExceptionCode");
|
|
51
49
|
const DelayReasonCode_1 = require("../../../../commons/types/DelayReasonCode");
|
|
52
|
-
const SchemaInstance_1 = require("../../../../customSchemas/resources/v1/types/SchemaInstance");
|
|
53
50
|
const VitalsUpdate_1 = require("./VitalsUpdate");
|
|
54
|
-
const Medication_1 = require("./Medication");
|
|
55
|
-
const GuarantorUpdate_1 = require("../../../../guarantor/resources/v1/types/GuarantorUpdate");
|
|
56
|
-
const EpsdtReferral_1 = require("./EpsdtReferral");
|
|
57
|
-
const ClaimSupplementalInformation_1 = require("./ClaimSupplementalInformation");
|
|
58
51
|
exports.EncounterOptional = core.serialization.object({
|
|
59
52
|
benefitsAssignedToProvider: core.serialization.property("benefits_assigned_to_provider", core.serialization.boolean().optional()),
|
|
60
53
|
priorAuthorizationNumber: core.serialization.property("prior_authorization_number", PriorAuthorizationNumber_1.PriorAuthorizationNumber.optional()),
|
|
61
54
|
externalId: core.serialization.property("external_id", EncounterExternalId_1.EncounterExternalId.optional()),
|
|
62
55
|
dateOfService: core.serialization.property("date_of_service", core.serialization.string().optional()),
|
|
63
56
|
tagIds: core.serialization.property("tag_ids", core.serialization.list(TagId_1.TagId).optional()),
|
|
64
|
-
clinicalNotes: core.serialization.property("clinical_notes", core.serialization.list(ClinicalNoteCategoryCreate_1.ClinicalNoteCategoryCreate).optional()),
|
|
65
57
|
billableStatus: core.serialization.property("billable_status", BillableStatusType_1.BillableStatusType.optional()),
|
|
66
58
|
responsibleParty: core.serialization.property("responsible_party", ResponsiblePartyType_1.ResponsiblePartyType.optional()),
|
|
67
59
|
providerAcceptsAssignment: core.serialization.property("provider_accepts_assignment", core.serialization.boolean().optional()),
|
|
@@ -69,9 +61,6 @@ exports.EncounterOptional = core.serialization.object({
|
|
|
69
61
|
placeOfServiceCode: core.serialization.property("place_of_service_code", FacilityTypeCode_1.FacilityTypeCode.optional()),
|
|
70
62
|
appointmentType: core.serialization.property("appointment_type", core.serialization.string().optional()),
|
|
71
63
|
endDateOfService: core.serialization.property("end_date_of_service", core.serialization.string().optional()),
|
|
72
|
-
subscriberPrimary: core.serialization.property("subscriber_primary", SubscriberCreate_1.SubscriberCreate.optional()),
|
|
73
|
-
subscriberSecondary: core.serialization.property("subscriber_secondary", SubscriberCreate_1.SubscriberCreate.optional()),
|
|
74
|
-
subscriberTertiary: core.serialization.property("subscriber_tertiary", SubscriberCreate_1.SubscriberCreate.optional()),
|
|
75
64
|
additionalInformation: core.serialization.property("additional_information", core.serialization.string().optional()),
|
|
76
65
|
serviceAuthorizationExceptionCode: core.serialization.property("service_authorization_exception_code", ServiceAuthorizationExceptionCode_1.ServiceAuthorizationExceptionCode.optional()),
|
|
77
66
|
admissionDate: core.serialization.property("admission_date", core.serialization.string().optional()),
|
|
@@ -80,12 +69,7 @@ exports.EncounterOptional = core.serialization.object({
|
|
|
80
69
|
lastMenstrualPeriodDate: core.serialization.property("last_menstrual_period_date", core.serialization.string().optional()),
|
|
81
70
|
delayReasonCode: core.serialization.property("delay_reason_code", DelayReasonCode_1.DelayReasonCode.optional()),
|
|
82
71
|
patientAuthorizedRelease: core.serialization.property("patient_authorized_release", core.serialization.boolean().optional()),
|
|
83
|
-
schemaInstances: core.serialization.property("schema_instances", core.serialization.list(SchemaInstance_1.SchemaInstance).optional()),
|
|
84
72
|
vitals: VitalsUpdate_1.VitalsUpdate.optional(),
|
|
85
|
-
existingMedications: core.serialization.property("existing_medications", core.serialization.list(Medication_1.Medication).optional()),
|
|
86
|
-
guarantor: GuarantorUpdate_1.GuarantorUpdate.optional(),
|
|
87
73
|
referralNumber: core.serialization.property("referral_number", core.serialization.string().optional()),
|
|
88
|
-
epsdtReferral: core.serialization.property("epsdt_referral", EpsdtReferral_1.EpsdtReferral.optional()),
|
|
89
|
-
claimSupplementalInformation: core.serialization.property("claim_supplemental_information", core.serialization.list(ClaimSupplementalInformation_1.ClaimSupplementalInformation).optional()),
|
|
90
74
|
secondaryPayerCarrierCode: core.serialization.property("secondary_payer_carrier_code", core.serialization.string().optional()),
|
|
91
75
|
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { EpsdtReferralConditionIndicatorCode } from "../../../../commons/types/EpsdtReferralConditionIndicatorCode";
|
|
8
|
+
export declare const EpsdtReferralOptional: core.serialization.ObjectSchema<serializers.encounters.v4.EpsdtReferralOptional.Raw, CandidApi.encounters.v4.EpsdtReferralOptional>;
|
|
9
|
+
export declare namespace EpsdtReferralOptional {
|
|
10
|
+
interface Raw {
|
|
11
|
+
condition_indicator1?: EpsdtReferralConditionIndicatorCode.Raw | null;
|
|
12
|
+
condition_indicator2?: EpsdtReferralConditionIndicatorCode.Raw | null;
|
|
13
|
+
condition_indicator3?: EpsdtReferralConditionIndicatorCode.Raw | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.EpsdtReferralOptional = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
const EpsdtReferralConditionIndicatorCode_1 = require("../../../../commons/types/EpsdtReferralConditionIndicatorCode");
|
|
42
|
+
exports.EpsdtReferralOptional = core.serialization.object({
|
|
43
|
+
conditionIndicator1: core.serialization.property("condition_indicator1", EpsdtReferralConditionIndicatorCode_1.EpsdtReferralConditionIndicatorCode.optional()),
|
|
44
|
+
conditionIndicator2: core.serialization.property("condition_indicator2", EpsdtReferralConditionIndicatorCode_1.EpsdtReferralConditionIndicatorCode.optional()),
|
|
45
|
+
conditionIndicator3: core.serialization.property("condition_indicator3", EpsdtReferralConditionIndicatorCode_1.EpsdtReferralConditionIndicatorCode.optional()),
|
|
46
|
+
});
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { IntakeQuestionId } from "./IntakeQuestionId";
|
|
8
|
+
import { IntakeResponseAndFollowUps } from "./IntakeResponseAndFollowUps";
|
|
9
|
+
export declare const IntakeQuestionOptional: core.serialization.ObjectSchema<serializers.encounters.v4.IntakeQuestionOptional.Raw, CandidApi.encounters.v4.IntakeQuestionOptional>;
|
|
10
|
+
export declare namespace IntakeQuestionOptional {
|
|
11
|
+
interface Raw {
|
|
12
|
+
id?: IntakeQuestionId.Raw | null;
|
|
13
|
+
text?: string | null;
|
|
14
|
+
responses?: IntakeResponseAndFollowUps.Raw[] | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.IntakeQuestionOptional = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
const IntakeQuestionId_1 = require("./IntakeQuestionId");
|
|
42
|
+
const IntakeResponseAndFollowUps_1 = require("./IntakeResponseAndFollowUps");
|
|
43
|
+
exports.IntakeQuestionOptional = core.serialization.object({
|
|
44
|
+
id: IntakeQuestionId_1.IntakeQuestionId.optional(),
|
|
45
|
+
text: core.serialization.string().optional(),
|
|
46
|
+
responses: core.serialization.list(IntakeResponseAndFollowUps_1.IntakeResponseAndFollowUps).optional(),
|
|
47
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { InterventionCategory } from "./InterventionCategory";
|
|
8
|
+
import { MedicationOptional } from "./MedicationOptional";
|
|
9
|
+
import { LabOptional } from "./LabOptional";
|
|
10
|
+
export declare const InterventionOptional: core.serialization.ObjectSchema<serializers.encounters.v4.InterventionOptional.Raw, CandidApi.encounters.v4.InterventionOptional>;
|
|
11
|
+
export declare namespace InterventionOptional {
|
|
12
|
+
interface Raw {
|
|
13
|
+
name?: string | null;
|
|
14
|
+
category?: InterventionCategory.Raw | null;
|
|
15
|
+
description?: string | null;
|
|
16
|
+
medication?: MedicationOptional.Raw | null;
|
|
17
|
+
labs?: LabOptional.Raw[] | null;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.InterventionOptional = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
const InterventionCategory_1 = require("./InterventionCategory");
|
|
42
|
+
const MedicationOptional_1 = require("./MedicationOptional");
|
|
43
|
+
const LabOptional_1 = require("./LabOptional");
|
|
44
|
+
exports.InterventionOptional = core.serialization.object({
|
|
45
|
+
name: core.serialization.string().optional(),
|
|
46
|
+
category: InterventionCategory_1.InterventionCategory.optional(),
|
|
47
|
+
description: core.serialization.string().optional(),
|
|
48
|
+
medication: MedicationOptional_1.MedicationOptional.optional(),
|
|
49
|
+
labs: core.serialization.list(LabOptional_1.LabOptional).optional(),
|
|
50
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { LabCodeType } from "./LabCodeType";
|
|
8
|
+
export declare const LabOptional: core.serialization.ObjectSchema<serializers.encounters.v4.LabOptional.Raw, CandidApi.encounters.v4.LabOptional>;
|
|
9
|
+
export declare namespace LabOptional {
|
|
10
|
+
interface Raw {
|
|
11
|
+
name?: string | null;
|
|
12
|
+
code?: string | null;
|
|
13
|
+
code_type?: LabCodeType.Raw | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.LabOptional = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
const LabCodeType_1 = require("./LabCodeType");
|
|
42
|
+
exports.LabOptional = core.serialization.object({
|
|
43
|
+
name: core.serialization.string().optional(),
|
|
44
|
+
code: core.serialization.string().optional(),
|
|
45
|
+
codeType: core.serialization.property("code_type", LabCodeType_1.LabCodeType.optional()),
|
|
46
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { RxCui } from "./RxCui";
|
|
8
|
+
export declare const MedicationOptional: core.serialization.ObjectSchema<serializers.encounters.v4.MedicationOptional.Raw, CandidApi.encounters.v4.MedicationOptional>;
|
|
9
|
+
export declare namespace MedicationOptional {
|
|
10
|
+
interface Raw {
|
|
11
|
+
name?: string | null;
|
|
12
|
+
rx_cui?: RxCui.Raw | null;
|
|
13
|
+
dosage?: string | null;
|
|
14
|
+
dosage_form?: string | null;
|
|
15
|
+
frequency?: string | null;
|
|
16
|
+
as_needed?: boolean | null;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.MedicationOptional = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
const RxCui_1 = require("./RxCui");
|
|
42
|
+
exports.MedicationOptional = core.serialization.object({
|
|
43
|
+
name: core.serialization.string().optional(),
|
|
44
|
+
rxCui: core.serialization.property("rx_cui", RxCui_1.RxCui.optional()),
|
|
45
|
+
dosage: core.serialization.string().optional(),
|
|
46
|
+
dosageForm: core.serialization.property("dosage_form", core.serialization.string().optional()),
|
|
47
|
+
frequency: core.serialization.string().optional(),
|
|
48
|
+
asNeeded: core.serialization.property("as_needed", core.serialization.boolean().optional()),
|
|
49
|
+
});
|
package/serialization/resources/encounters/resources/v4/types/PatientHistoryCategoryOptional.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../../index";
|
|
5
|
+
import * as CandidApi from "../../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../../core";
|
|
7
|
+
import { PatientHistoryCategoryEnum } from "./PatientHistoryCategoryEnum";
|
|
8
|
+
import { IntakeQuestionOptional } from "./IntakeQuestionOptional";
|
|
9
|
+
export declare const PatientHistoryCategoryOptional: core.serialization.ObjectSchema<serializers.encounters.v4.PatientHistoryCategoryOptional.Raw, CandidApi.encounters.v4.PatientHistoryCategoryOptional>;
|
|
10
|
+
export declare namespace PatientHistoryCategoryOptional {
|
|
11
|
+
interface Raw {
|
|
12
|
+
category?: PatientHistoryCategoryEnum.Raw | null;
|
|
13
|
+
questions?: IntakeQuestionOptional.Raw[] | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
package/serialization/resources/encounters/resources/v4/types/PatientHistoryCategoryOptional.js
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.PatientHistoryCategoryOptional = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../../core"));
|
|
41
|
+
const PatientHistoryCategoryEnum_1 = require("./PatientHistoryCategoryEnum");
|
|
42
|
+
const IntakeQuestionOptional_1 = require("./IntakeQuestionOptional");
|
|
43
|
+
exports.PatientHistoryCategoryOptional = core.serialization.object({
|
|
44
|
+
category: PatientHistoryCategoryEnum_1.PatientHistoryCategoryEnum.optional(),
|
|
45
|
+
questions: core.serialization.list(IntakeQuestionOptional_1.IntakeQuestionOptional).optional(),
|
|
46
|
+
});
|
|
@@ -1,24 +1,32 @@
|
|
|
1
1
|
export * from "./EncounterCreateFromPreEncounter";
|
|
2
2
|
export * from "./EncounterBase";
|
|
3
3
|
export * from "./EncounterOptional";
|
|
4
|
+
export * from "./EncounterDeepOptional";
|
|
4
5
|
export * from "./Encounter";
|
|
5
6
|
export * from "./EncounterSortOptions";
|
|
6
7
|
export * from "./Medication";
|
|
8
|
+
export * from "./MedicationOptional";
|
|
7
9
|
export * from "./Vitals";
|
|
8
10
|
export * from "./VitalsUpdate";
|
|
9
11
|
export * from "./Intervention";
|
|
12
|
+
export * from "./InterventionOptional";
|
|
10
13
|
export * from "./InterventionCategory";
|
|
11
14
|
export * from "./Lab";
|
|
15
|
+
export * from "./LabOptional";
|
|
12
16
|
export * from "./LabCodeType";
|
|
13
17
|
export * from "./PatientHistoryCategory";
|
|
18
|
+
export * from "./PatientHistoryCategoryOptional";
|
|
14
19
|
export * from "./PatientHistoryCategoryEnum";
|
|
15
20
|
export * from "./IntakeQuestion";
|
|
21
|
+
export * from "./IntakeQuestionOptional";
|
|
16
22
|
export * from "./IntakeResponseAndFollowUps";
|
|
17
23
|
export * from "./IntakeFollowUp";
|
|
18
24
|
export * from "./ClinicalNoteCategoryCreate";
|
|
25
|
+
export * from "./ClinicalNoteCategoryCreateOptional";
|
|
19
26
|
export * from "./ClinicalNoteCategory";
|
|
20
27
|
export * from "./NoteCategory";
|
|
21
28
|
export * from "./ClinicalNote";
|
|
29
|
+
export * from "./ClinicalNoteOptional";
|
|
22
30
|
export * from "./ResponsiblePartyType";
|
|
23
31
|
export * from "./BillableStatusType";
|
|
24
32
|
export * from "./EncounterOwnerOfNextActionType";
|
|
@@ -26,8 +34,10 @@ export * from "./EncounterSubmissionOriginType";
|
|
|
26
34
|
export * from "./SynchronicityType";
|
|
27
35
|
export * from "./CodingAttributionType";
|
|
28
36
|
export * from "./EpsdtReferral";
|
|
37
|
+
export * from "./EpsdtReferralOptional";
|
|
29
38
|
export * from "./ReportTypeCode";
|
|
30
39
|
export * from "./ReportTransmissionCode";
|
|
40
|
+
export * from "./ClaimSupplementalInformationOptional";
|
|
31
41
|
export * from "./ClaimSupplementalInformation";
|
|
32
42
|
export * from "./EncounterPage";
|
|
33
43
|
export * from "./PriorAuthorizationNumber";
|