candidhealth 0.34.4 → 0.34.6
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.d.ts +3 -0
- package/Client.js +7 -2
- package/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/api/resources/claims/types/Claim.d.ts +4 -4
- package/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/api/resources/diagnoses/client/Client.d.ts +65 -0
- package/api/resources/diagnoses/client/Client.js +237 -0
- package/api/resources/diagnoses/client/create.d.ts +22 -0
- package/api/resources/diagnoses/client/create.js +47 -0
- package/api/resources/diagnoses/client/delete.d.ts +28 -0
- package/api/resources/diagnoses/client/delete.js +58 -0
- package/api/resources/diagnoses/client/index.d.ts +4 -0
- package/api/resources/diagnoses/client/index.js +33 -0
- package/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +33 -0
- package/api/resources/diagnoses/client/requests/DiagnosisUpdate.js +5 -0
- package/api/resources/diagnoses/client/requests/index.d.ts +1 -0
- package/api/resources/diagnoses/client/requests/index.js +2 -0
- package/api/resources/diagnoses/client/update.d.ts +28 -0
- package/api/resources/diagnoses/client/update.js +58 -0
- package/api/resources/diagnoses/index.d.ts +1 -0
- package/api/resources/diagnoses/index.js +1 -0
- package/api/resources/diagnoses/types/DiagnosisNotFoundError.d.ts +8 -0
- package/api/resources/diagnoses/types/DiagnosisNotFoundError.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/encounterProviders/resources/v2/client/Client.js +20 -19
- package/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +7 -2
- package/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.js +11 -0
- package/api/resources/encounterProviders/resources/v2/client/createOrderingProvider.d.ts +6 -9
- package/api/resources/encounterProviders/resources/v2/client/createOrderingProvider.js +4 -4
- package/api/resources/encounterProviders/resources/v2/client/createReferringProvider.d.ts +6 -9
- package/api/resources/encounterProviders/resources/v2/client/createReferringProvider.js +4 -4
- package/api/resources/encounterProviders/resources/v2/client/createSupervisingProvider.d.ts +6 -9
- package/api/resources/encounterProviders/resources/v2/client/createSupervisingProvider.js +4 -4
- package/api/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.d.ts +6 -9
- package/api/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.js +4 -4
- package/api/resources/encounterProviders/resources/v2/client/updateOrderingProvider.d.ts +6 -9
- package/api/resources/encounterProviders/resources/v2/client/updateOrderingProvider.js +4 -4
- package/api/resources/encounterProviders/resources/v2/client/updateReferringProvider.d.ts +6 -9
- package/api/resources/encounterProviders/resources/v2/client/updateReferringProvider.js +4 -4
- package/api/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.d.ts +6 -9
- package/api/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.js +4 -4
- package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +21 -0
- package/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.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.d.ts +28 -10
- package/api/resources/encounters/resources/v4/client/Client.js +33 -15
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +6 -5
- package/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +6 -5
- package/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +21 -0
- package/api/resources/encounters/resources/v4/types/Encounter.d.ts +4 -4
- package/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +4 -4
- 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/importInvoice/resources/v1/client/Client.js +4 -4
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +1 -0
- package/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/api/resources/medicationDispense/resources/v1/client/Client.d.ts +2 -1
- package/api/resources/medicationDispense/resources/v1/client/Client.js +3 -2
- 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/payers/resources/v3/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
- package/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
- package/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +8 -8
- package/api/resources/serviceFacility/client/Client.js +1 -1
- package/api/resources/serviceLines/resources/v2/client/Client.d.ts +6 -5
- package/api/resources/serviceLines/resources/v2/client/Client.js +9 -8
- package/api/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +1 -0
- package/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +6 -6
- package/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -2
- package/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +6 -2
- package/api/resources/serviceLines/resources/v2/types/TestResult.d.ts +3 -10
- package/api/resources/serviceLines/resources/v2/types/TestResultType.d.ts +8 -0
- package/api/resources/serviceLines/resources/v2/types/TestResultType.js +10 -0
- package/api/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
- package/api/resources/serviceLines/resources/v2/types/index.js +1 -0
- package/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +7 -2
- package/dist/api/resources/auth/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/billingNotes/resources/v2/client/Client.js +1 -1
- package/dist/api/resources/claims/types/Claim.d.ts +4 -4
- package/dist/api/resources/contracts/resources/v2/client/Client.js +5 -5
- package/dist/api/resources/customSchemas/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/diagnoses/client/Client.d.ts +65 -0
- package/dist/api/resources/diagnoses/client/Client.js +237 -0
- package/dist/api/resources/diagnoses/client/create.d.ts +22 -0
- package/dist/api/resources/diagnoses/client/create.js +47 -0
- package/dist/api/resources/diagnoses/client/delete.d.ts +28 -0
- package/dist/api/resources/diagnoses/client/delete.js +58 -0
- package/dist/api/resources/diagnoses/client/index.d.ts +4 -0
- package/dist/api/resources/diagnoses/client/index.js +33 -0
- package/dist/api/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +33 -0
- package/dist/api/resources/diagnoses/client/requests/DiagnosisUpdate.js +5 -0
- package/dist/api/resources/diagnoses/client/requests/index.d.ts +1 -0
- package/dist/api/resources/diagnoses/client/requests/index.js +2 -0
- package/dist/api/resources/diagnoses/client/update.d.ts +28 -0
- package/dist/api/resources/diagnoses/client/update.js +58 -0
- package/dist/api/resources/diagnoses/index.d.ts +1 -0
- package/dist/api/resources/diagnoses/index.js +1 -0
- package/dist/api/resources/diagnoses/types/DiagnosisNotFoundError.d.ts +8 -0
- package/dist/api/resources/diagnoses/types/DiagnosisNotFoundError.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/encounterProviders/resources/v2/client/Client.js +20 -19
- package/dist/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.d.ts +7 -2
- package/dist/api/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.js +11 -0
- package/dist/api/resources/encounterProviders/resources/v2/client/createOrderingProvider.d.ts +6 -9
- package/dist/api/resources/encounterProviders/resources/v2/client/createOrderingProvider.js +4 -4
- package/dist/api/resources/encounterProviders/resources/v2/client/createReferringProvider.d.ts +6 -9
- package/dist/api/resources/encounterProviders/resources/v2/client/createReferringProvider.js +4 -4
- package/dist/api/resources/encounterProviders/resources/v2/client/createSupervisingProvider.d.ts +6 -9
- package/dist/api/resources/encounterProviders/resources/v2/client/createSupervisingProvider.js +4 -4
- package/dist/api/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.d.ts +6 -9
- package/dist/api/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.js +4 -4
- package/dist/api/resources/encounterProviders/resources/v2/client/updateOrderingProvider.d.ts +6 -9
- package/dist/api/resources/encounterProviders/resources/v2/client/updateOrderingProvider.js +4 -4
- package/dist/api/resources/encounterProviders/resources/v2/client/updateReferringProvider.d.ts +6 -9
- package/dist/api/resources/encounterProviders/resources/v2/client/updateReferringProvider.js +4 -4
- package/dist/api/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.d.ts +6 -9
- package/dist/api/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.js +4 -4
- package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +21 -0
- package/dist/api/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.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.d.ts +28 -10
- package/dist/api/resources/encounters/resources/v4/client/Client.js +33 -15
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreate.d.ts +6 -5
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterCreateFromPreEncounter.d.ts +6 -5
- package/dist/api/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts +21 -0
- package/dist/api/resources/encounters/resources/v4/types/Encounter.d.ts +4 -4
- package/dist/api/resources/encounters/resources/v4/types/EncounterPage.d.ts +4 -4
- 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/importInvoice/resources/v1/client/Client.js +4 -4
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +1 -0
- package/dist/api/resources/insuranceAdjudications/resources/v1/client/Client.js +3 -3
- package/dist/api/resources/insurancePayments/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/insuranceRefunds/resources/v1/client/Client.js +5 -5
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.d.ts +2 -1
- package/dist/api/resources/medicationDispense/resources/v1/client/Client.js +3 -2
- 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/payers/resources/v3/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/appointments/resources/v1/client/Client.js +6 -6
- package/dist/api/resources/preEncounter/resources/coverages/resources/v1/client/Client.js +8 -8
- package/dist/api/resources/preEncounter/resources/lists/resources/v1/client/Client.js +2 -2
- package/dist/api/resources/preEncounter/resources/patients/resources/v1/client/Client.js +8 -8
- package/dist/api/resources/serviceFacility/client/Client.js +1 -1
- package/dist/api/resources/serviceLines/resources/v2/client/Client.d.ts +6 -5
- package/dist/api/resources/serviceLines/resources/v2/client/Client.js +9 -8
- package/dist/api/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +1 -0
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +6 -6
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +2 -2
- package/dist/api/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +6 -2
- package/dist/api/resources/serviceLines/resources/v2/types/TestResult.d.ts +3 -10
- package/dist/api/resources/serviceLines/resources/v2/types/TestResultType.d.ts +8 -0
- package/dist/api/resources/serviceLines/resources/v2/types/TestResultType.js +10 -0
- package/dist/api/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
- package/dist/api/resources/serviceLines/resources/v2/types/index.js +1 -0
- package/dist/api/resources/tasks/resources/v3/client/Client.js +5 -5
- package/dist/api/resources/writeOffs/resources/v1/client/Client.js +4 -4
- package/dist/serialization/resources/diagnoses/client/delete.d.ts +15 -0
- package/dist/serialization/resources/diagnoses/client/delete.js +61 -0
- package/dist/serialization/resources/diagnoses/client/index.d.ts +3 -0
- package/dist/serialization/resources/diagnoses/client/index.js +32 -0
- package/dist/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +15 -0
- package/dist/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.js +36 -0
- package/dist/serialization/resources/diagnoses/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/diagnoses/client/requests/index.js +5 -0
- package/dist/serialization/resources/diagnoses/client/update.d.ts +15 -0
- package/dist/serialization/resources/diagnoses/client/update.js +61 -0
- package/dist/serialization/resources/diagnoses/index.d.ts +1 -0
- package/dist/serialization/resources/diagnoses/index.js +1 -0
- package/dist/serialization/resources/diagnoses/types/DiagnosisNotFoundError.d.ts +14 -0
- package/dist/serialization/resources/diagnoses/types/DiagnosisNotFoundError.js +35 -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/client/createInitialReferringProvider.d.ts +6 -1
- package/dist/serialization/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.js +6 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/client/createOrderingProvider.d.ts +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/createOrderingProvider.js +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/createReferringProvider.d.ts +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/createReferringProvider.js +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/createSupervisingProvider.d.ts +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/createSupervisingProvider.js +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.d.ts +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.js +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateOrderingProvider.d.ts +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateOrderingProvider.js +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateReferringProvider.d.ts +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateReferringProvider.js +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.d.ts +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.js +5 -5
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +17 -0
- package/dist/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +40 -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 +2 -0
- package/dist/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +2 -0
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.js +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +1 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +1 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +1 -1
- package/dist/serialization/resources/serviceLines/resources/v2/types/TestResult.d.ts +4 -8
- package/dist/serialization/resources/serviceLines/resources/v2/types/TestResult.js +4 -12
- package/dist/serialization/resources/serviceLines/resources/v2/types/TestResultType.d.ts +10 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/TestResultType.js +31 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
- package/dist/serialization/resources/serviceLines/resources/v2/types/index.js +1 -0
- package/package.json +1 -1
- package/reference.md +31 -5260
- package/serialization/resources/diagnoses/client/delete.d.ts +15 -0
- package/serialization/resources/diagnoses/client/delete.js +61 -0
- package/serialization/resources/diagnoses/client/index.d.ts +3 -0
- package/serialization/resources/diagnoses/client/index.js +32 -0
- package/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.d.ts +15 -0
- package/serialization/resources/diagnoses/client/requests/DiagnosisUpdate.js +36 -0
- package/serialization/resources/diagnoses/client/requests/index.d.ts +1 -0
- package/serialization/resources/diagnoses/client/requests/index.js +5 -0
- package/serialization/resources/diagnoses/client/update.d.ts +15 -0
- package/serialization/resources/diagnoses/client/update.js +61 -0
- package/serialization/resources/diagnoses/index.d.ts +1 -0
- package/serialization/resources/diagnoses/index.js +1 -0
- package/serialization/resources/diagnoses/types/DiagnosisNotFoundError.d.ts +14 -0
- package/serialization/resources/diagnoses/types/DiagnosisNotFoundError.js +35 -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/client/createInitialReferringProvider.d.ts +6 -1
- package/serialization/resources/encounterProviders/resources/v2/client/createInitialReferringProvider.js +6 -0
- package/serialization/resources/encounterProviders/resources/v2/client/createOrderingProvider.d.ts +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/createOrderingProvider.js +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/createReferringProvider.d.ts +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/createReferringProvider.js +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/createSupervisingProvider.d.ts +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/createSupervisingProvider.js +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.d.ts +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateInitialReferringProvider.js +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateOrderingProvider.d.ts +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateOrderingProvider.js +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateReferringProvider.d.ts +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateReferringProvider.js +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.d.ts +5 -5
- package/serialization/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.js +5 -5
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts +17 -0
- package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js +40 -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 +2 -0
- package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.js +2 -0
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/DrugIdentification.js +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.d.ts +1 -1
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLine.js +1 -1
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.d.ts +1 -1
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineCreate.js +1 -1
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.d.ts +1 -1
- package/serialization/resources/serviceLines/resources/v2/types/ServiceLineUpdate.js +1 -1
- package/serialization/resources/serviceLines/resources/v2/types/TestResult.d.ts +4 -8
- package/serialization/resources/serviceLines/resources/v2/types/TestResult.js +4 -12
- package/serialization/resources/serviceLines/resources/v2/types/TestResultType.d.ts +10 -0
- package/serialization/resources/serviceLines/resources/v2/types/TestResultType.js +31 -0
- package/serialization/resources/serviceLines/resources/v2/types/index.d.ts +1 -0
- package/serialization/resources/serviceLines/resources/v2/types/index.js +1 -0
package/serialization/resources/encounterProviders/resources/v2/client/updateOrderingProvider.js
CHANGED
|
@@ -40,12 +40,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
40
40
|
exports.Error = void 0;
|
|
41
41
|
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
42
42
|
const core = __importStar(require("../../../../../../core"));
|
|
43
|
-
const
|
|
43
|
+
const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
|
|
44
44
|
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
45
45
|
exports.Error = core.serialization
|
|
46
46
|
.union("errorName", {
|
|
47
|
-
|
|
48
|
-
content:
|
|
47
|
+
HttpRequestValidationsError: core.serialization.object({
|
|
48
|
+
content: core.serialization.list(RequestValidationError_1.RequestValidationError),
|
|
49
49
|
}),
|
|
50
50
|
EntityNotFoundError: core.serialization.object({
|
|
51
51
|
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
@@ -54,8 +54,8 @@ exports.Error = core.serialization
|
|
|
54
54
|
.transform({
|
|
55
55
|
transform: (value) => {
|
|
56
56
|
switch (value.errorName) {
|
|
57
|
-
case "
|
|
58
|
-
return CandidApi.encounterProviders.v2.updateOrderingProvider.Error.
|
|
57
|
+
case "HttpRequestValidationsError":
|
|
58
|
+
return CandidApi.encounterProviders.v2.updateOrderingProvider.Error.httpRequestValidationsError(value.content);
|
|
59
59
|
case "EntityNotFoundError":
|
|
60
60
|
return CandidApi.encounterProviders.v2.updateOrderingProvider.Error.entityNotFoundError(value.content);
|
|
61
61
|
}
|
package/serialization/resources/encounterProviders/resources/v2/client/updateReferringProvider.d.ts
CHANGED
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
import * as serializers from "../../../../../index";
|
|
5
5
|
import * as CandidApi from "../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
|
-
import {
|
|
7
|
+
import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
|
|
8
8
|
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
9
9
|
export declare const Error: core.serialization.Schema<serializers.encounterProviders.v2.updateReferringProvider.Error.Raw, CandidApi.encounterProviders.v2.updateReferringProvider.Error>;
|
|
10
10
|
export declare namespace Error {
|
|
11
|
-
type Raw = Error.
|
|
12
|
-
interface
|
|
13
|
-
errorName: "
|
|
14
|
-
content:
|
|
11
|
+
type Raw = Error.HttpRequestValidationsError | Error.EntityNotFoundError;
|
|
12
|
+
interface HttpRequestValidationsError {
|
|
13
|
+
errorName: "HttpRequestValidationsError";
|
|
14
|
+
content: RequestValidationError.Raw[];
|
|
15
15
|
}
|
|
16
16
|
interface EntityNotFoundError {
|
|
17
17
|
errorName: "EntityNotFoundError";
|
package/serialization/resources/encounterProviders/resources/v2/client/updateReferringProvider.js
CHANGED
|
@@ -40,12 +40,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
40
40
|
exports.Error = void 0;
|
|
41
41
|
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
42
42
|
const core = __importStar(require("../../../../../../core"));
|
|
43
|
-
const
|
|
43
|
+
const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
|
|
44
44
|
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
45
45
|
exports.Error = core.serialization
|
|
46
46
|
.union("errorName", {
|
|
47
|
-
|
|
48
|
-
content:
|
|
47
|
+
HttpRequestValidationsError: core.serialization.object({
|
|
48
|
+
content: core.serialization.list(RequestValidationError_1.RequestValidationError),
|
|
49
49
|
}),
|
|
50
50
|
EntityNotFoundError: core.serialization.object({
|
|
51
51
|
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
@@ -54,8 +54,8 @@ exports.Error = core.serialization
|
|
|
54
54
|
.transform({
|
|
55
55
|
transform: (value) => {
|
|
56
56
|
switch (value.errorName) {
|
|
57
|
-
case "
|
|
58
|
-
return CandidApi.encounterProviders.v2.updateReferringProvider.Error.
|
|
57
|
+
case "HttpRequestValidationsError":
|
|
58
|
+
return CandidApi.encounterProviders.v2.updateReferringProvider.Error.httpRequestValidationsError(value.content);
|
|
59
59
|
case "EntityNotFoundError":
|
|
60
60
|
return CandidApi.encounterProviders.v2.updateReferringProvider.Error.entityNotFoundError(value.content);
|
|
61
61
|
}
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
import * as serializers from "../../../../../index";
|
|
5
5
|
import * as CandidApi from "../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
|
-
import {
|
|
7
|
+
import { RequestValidationError } from "../../../../commons/types/RequestValidationError";
|
|
8
8
|
import { EntityNotFoundErrorMessage } from "../../../../commons/types/EntityNotFoundErrorMessage";
|
|
9
9
|
export declare const Error: core.serialization.Schema<serializers.encounterProviders.v2.updateSupervisingProvider.Error.Raw, CandidApi.encounterProviders.v2.updateSupervisingProvider.Error>;
|
|
10
10
|
export declare namespace Error {
|
|
11
|
-
type Raw = Error.
|
|
12
|
-
interface
|
|
13
|
-
errorName: "
|
|
14
|
-
content:
|
|
11
|
+
type Raw = Error.HttpRequestValidationsError | Error.EntityNotFoundError;
|
|
12
|
+
interface HttpRequestValidationsError {
|
|
13
|
+
errorName: "HttpRequestValidationsError";
|
|
14
|
+
content: RequestValidationError.Raw[];
|
|
15
15
|
}
|
|
16
16
|
interface EntityNotFoundError {
|
|
17
17
|
errorName: "EntityNotFoundError";
|
package/serialization/resources/encounterProviders/resources/v2/client/updateSupervisingProvider.js
CHANGED
|
@@ -40,12 +40,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
40
40
|
exports.Error = void 0;
|
|
41
41
|
const CandidApi = __importStar(require("../../../../../../api/index"));
|
|
42
42
|
const core = __importStar(require("../../../../../../core"));
|
|
43
|
-
const
|
|
43
|
+
const RequestValidationError_1 = require("../../../../commons/types/RequestValidationError");
|
|
44
44
|
const EntityNotFoundErrorMessage_1 = require("../../../../commons/types/EntityNotFoundErrorMessage");
|
|
45
45
|
exports.Error = core.serialization
|
|
46
46
|
.union("errorName", {
|
|
47
|
-
|
|
48
|
-
content:
|
|
47
|
+
HttpRequestValidationsError: core.serialization.object({
|
|
48
|
+
content: core.serialization.list(RequestValidationError_1.RequestValidationError),
|
|
49
49
|
}),
|
|
50
50
|
EntityNotFoundError: core.serialization.object({
|
|
51
51
|
content: EntityNotFoundErrorMessage_1.EntityNotFoundErrorMessage,
|
|
@@ -54,8 +54,8 @@ exports.Error = core.serialization
|
|
|
54
54
|
.transform({
|
|
55
55
|
transform: (value) => {
|
|
56
56
|
switch (value.errorName) {
|
|
57
|
-
case "
|
|
58
|
-
return CandidApi.encounterProviders.v2.updateSupervisingProvider.Error.
|
|
57
|
+
case "HttpRequestValidationsError":
|
|
58
|
+
return CandidApi.encounterProviders.v2.updateSupervisingProvider.Error.httpRequestValidationsError(value.content);
|
|
59
59
|
case "EntityNotFoundError":
|
|
60
60
|
return CandidApi.encounterProviders.v2.updateSupervisingProvider.Error.entityNotFoundError(value.content);
|
|
61
61
|
}
|
package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
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 { StreetAddressLongZip } from "../../../../commons/types/StreetAddressLongZip";
|
|
8
|
+
import { EncounterProviderBase } from "./EncounterProviderBase";
|
|
9
|
+
export declare const BillingProviderUpdate: core.serialization.ObjectSchema<serializers.encounterProviders.v2.BillingProviderUpdate.Raw, CandidApi.encounterProviders.v2.BillingProviderUpdate>;
|
|
10
|
+
export declare namespace BillingProviderUpdate {
|
|
11
|
+
interface Raw extends EncounterProviderBase.Raw {
|
|
12
|
+
address?: StreetAddressLongZip.Raw | null;
|
|
13
|
+
tax_id?: string | null;
|
|
14
|
+
npi?: string | null;
|
|
15
|
+
taxonomy_code?: string | null;
|
|
16
|
+
}
|
|
17
|
+
}
|
package/serialization/resources/encounterProviders/resources/v2/types/BillingProviderUpdate.js
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.BillingProviderUpdate = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
const StreetAddressLongZip_1 = require("../../../../commons/types/StreetAddressLongZip");
|
|
32
|
+
const EncounterProviderBase_1 = require("./EncounterProviderBase");
|
|
33
|
+
exports.BillingProviderUpdate = core.serialization
|
|
34
|
+
.object({
|
|
35
|
+
address: StreetAddressLongZip_1.StreetAddressLongZip.optional(),
|
|
36
|
+
taxId: core.serialization.property("tax_id", core.serialization.string().optional()),
|
|
37
|
+
npi: core.serialization.string().optional(),
|
|
38
|
+
taxonomyCode: core.serialization.property("taxonomy_code", core.serialization.string().optional()),
|
|
39
|
+
})
|
|
40
|
+
.extend(EncounterProviderBase_1.EncounterProviderBase);
|
|
@@ -10,5 +10,6 @@ export * from "./SupervisingProviderUpdate";
|
|
|
10
10
|
export * from "./OrderingProvider";
|
|
11
11
|
export * from "./OrderingProviderUpdate";
|
|
12
12
|
export * from "./BillingProvider";
|
|
13
|
+
export * from "./BillingProviderUpdate";
|
|
13
14
|
export * from "./ProviderId";
|
|
14
15
|
export * from "./EncounterProvider";
|
|
@@ -26,5 +26,6 @@ __exportStar(require("./SupervisingProviderUpdate"), exports);
|
|
|
26
26
|
__exportStar(require("./OrderingProvider"), exports);
|
|
27
27
|
__exportStar(require("./OrderingProviderUpdate"), exports);
|
|
28
28
|
__exportStar(require("./BillingProvider"), exports);
|
|
29
|
+
__exportStar(require("./BillingProviderUpdate"), exports);
|
|
29
30
|
__exportStar(require("./ProviderId"), exports);
|
|
30
31
|
__exportStar(require("./EncounterProvider"), exports);
|
package/serialization/resources/encounters/resources/v4/client/requests/EncounterUpdate.d.ts
CHANGED
|
@@ -24,6 +24,7 @@ import { Medication } from "../../types/Medication";
|
|
|
24
24
|
import { RenderingProviderUpdate } from "../../../../../encounterProviders/resources/v2/types/RenderingProviderUpdate";
|
|
25
25
|
import { EncounterServiceFacilityUpdate } from "../../../../../serviceFacility/types/EncounterServiceFacilityUpdate";
|
|
26
26
|
import { GuarantorUpdate } from "../../../../../guarantor/resources/v1/types/GuarantorUpdate";
|
|
27
|
+
import { BillingProviderUpdate } from "../../../../../encounterProviders/resources/v2/types/BillingProviderUpdate";
|
|
27
28
|
import { SupervisingProviderUpdate } from "../../../../../encounterProviders/resources/v2/types/SupervisingProviderUpdate";
|
|
28
29
|
import { ReferringProviderUpdate } from "../../../../../encounterProviders/resources/v2/types/ReferringProviderUpdate";
|
|
29
30
|
import { InitialReferringProviderUpdate } from "../../../../../encounterProviders/resources/v2/types/InitialReferringProviderUpdate";
|
|
@@ -63,6 +64,7 @@ export declare namespace EncounterUpdate {
|
|
|
63
64
|
rendering_provider?: RenderingProviderUpdate.Raw | null;
|
|
64
65
|
service_facility?: EncounterServiceFacilityUpdate.Raw | null;
|
|
65
66
|
guarantor?: GuarantorUpdate.Raw | null;
|
|
67
|
+
billing_provider?: BillingProviderUpdate.Raw | null;
|
|
66
68
|
supervising_provider?: SupervisingProviderUpdate.Raw | null;
|
|
67
69
|
referring_provider?: ReferringProviderUpdate.Raw | null;
|
|
68
70
|
initial_referring_provider?: InitialReferringProviderUpdate.Raw | null;
|
|
@@ -48,6 +48,7 @@ const Medication_1 = require("../../types/Medication");
|
|
|
48
48
|
const RenderingProviderUpdate_1 = require("../../../../../encounterProviders/resources/v2/types/RenderingProviderUpdate");
|
|
49
49
|
const EncounterServiceFacilityUpdate_1 = require("../../../../../serviceFacility/types/EncounterServiceFacilityUpdate");
|
|
50
50
|
const GuarantorUpdate_1 = require("../../../../../guarantor/resources/v1/types/GuarantorUpdate");
|
|
51
|
+
const BillingProviderUpdate_1 = require("../../../../../encounterProviders/resources/v2/types/BillingProviderUpdate");
|
|
51
52
|
const SupervisingProviderUpdate_1 = require("../../../../../encounterProviders/resources/v2/types/SupervisingProviderUpdate");
|
|
52
53
|
const ReferringProviderUpdate_1 = require("../../../../../encounterProviders/resources/v2/types/ReferringProviderUpdate");
|
|
53
54
|
const InitialReferringProviderUpdate_1 = require("../../../../../encounterProviders/resources/v2/types/InitialReferringProviderUpdate");
|
|
@@ -85,6 +86,7 @@ exports.EncounterUpdate = core.serialization.object({
|
|
|
85
86
|
renderingProvider: core.serialization.property("rendering_provider", RenderingProviderUpdate_1.RenderingProviderUpdate.optional()),
|
|
86
87
|
serviceFacility: core.serialization.property("service_facility", EncounterServiceFacilityUpdate_1.EncounterServiceFacilityUpdate.optional()),
|
|
87
88
|
guarantor: GuarantorUpdate_1.GuarantorUpdate.optional(),
|
|
89
|
+
billingProvider: core.serialization.property("billing_provider", BillingProviderUpdate_1.BillingProviderUpdate.optional()),
|
|
88
90
|
supervisingProvider: core.serialization.property("supervising_provider", SupervisingProviderUpdate_1.SupervisingProviderUpdate.optional()),
|
|
89
91
|
referringProvider: core.serialization.property("referring_provider", ReferringProviderUpdate_1.ReferringProviderUpdate.optional()),
|
|
90
92
|
initialReferringProvider: core.serialization.property("initial_referring_provider", InitialReferringProviderUpdate_1.InitialReferringProviderUpdate.optional()),
|
|
@@ -85,3 +85,4 @@ __exportStar(require("./serviceFacility/types"), exports);
|
|
|
85
85
|
exports.tags = __importStar(require("./tags"));
|
|
86
86
|
__exportStar(require("./tags/types"), exports);
|
|
87
87
|
exports.eligibility = __importStar(require("./eligibility"));
|
|
88
|
+
__exportStar(require("./diagnoses/client/requests"), exports);
|
|
@@ -38,4 +38,5 @@ exports.DrugIdentification = core.serialization.object({
|
|
|
38
38
|
linkSequenceNumber: core.serialization.property("link_sequence_number", core.serialization.string().optional()),
|
|
39
39
|
pharmacyPrescriptionNumber: core.serialization.property("pharmacy_prescription_number", core.serialization.string().optional()),
|
|
40
40
|
conversionFormula: core.serialization.property("conversion_formula", core.serialization.string().optional()),
|
|
41
|
+
drugDescription: core.serialization.property("drug_description", core.serialization.string().optional()),
|
|
41
42
|
});
|
|
@@ -77,5 +77,5 @@ exports.ServiceLine = core.serialization.object({
|
|
|
77
77
|
description: core.serialization.string().optional(),
|
|
78
78
|
dateOfService: core.serialization.property("date_of_service", core.serialization.string()),
|
|
79
79
|
endDateOfService: core.serialization.property("end_date_of_service", core.serialization.string().optional()),
|
|
80
|
-
|
|
80
|
+
testResults: core.serialization.property("test_results", core.serialization.list(TestResult_1.TestResult).optional()),
|
|
81
81
|
});
|
|
@@ -26,6 +26,6 @@ export declare namespace ServiceLineCreate {
|
|
|
26
26
|
date_of_service?: string | null;
|
|
27
27
|
end_date_of_service?: string | null;
|
|
28
28
|
ordering_provider?: OrderingProvider.Raw | null;
|
|
29
|
-
|
|
29
|
+
test_results?: TestResult.Raw[] | null;
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -48,5 +48,5 @@ exports.ServiceLineCreate = core.serialization.object({
|
|
|
48
48
|
dateOfService: core.serialization.property("date_of_service", core.serialization.string().optional()),
|
|
49
49
|
endDateOfService: core.serialization.property("end_date_of_service", core.serialization.string().optional()),
|
|
50
50
|
orderingProvider: core.serialization.property("ordering_provider", OrderingProvider_1.OrderingProvider.optional()),
|
|
51
|
-
|
|
51
|
+
testResults: core.serialization.property("test_results", core.serialization.list(TestResult_1.TestResult).optional()),
|
|
52
52
|
});
|
|
@@ -53,5 +53,5 @@ exports.ServiceLineUpdate = core.serialization.object({
|
|
|
53
53
|
description: core.serialization.string().optional(),
|
|
54
54
|
dateOfService: core.serialization.property("date_of_service", core.serialization.string().optional()),
|
|
55
55
|
endDateOfService: core.serialization.property("end_date_of_service", core.serialization.string().optional()),
|
|
56
|
-
|
|
56
|
+
testResults: core.serialization.property("test_results", core.serialization.list(TestResult_1.TestResult).optional()),
|
|
57
57
|
});
|
|
@@ -4,15 +4,11 @@
|
|
|
4
4
|
import * as serializers from "../../../../../index";
|
|
5
5
|
import * as CandidApi from "../../../../../../api/index";
|
|
6
6
|
import * as core from "../../../../../../core";
|
|
7
|
-
|
|
7
|
+
import { TestResultType } from "./TestResultType";
|
|
8
|
+
export declare const TestResult: core.serialization.ObjectSchema<serializers.serviceLines.v2.TestResult.Raw, CandidApi.serviceLines.v2.TestResult>;
|
|
8
9
|
export declare namespace TestResult {
|
|
9
|
-
|
|
10
|
-
interface Hematocrit {
|
|
11
|
-
type: "hematocrit";
|
|
12
|
-
value: number;
|
|
13
|
-
}
|
|
14
|
-
interface Hemoglobin {
|
|
15
|
-
type: "hemoglobin";
|
|
10
|
+
interface Raw {
|
|
16
11
|
value: number;
|
|
12
|
+
result_type: TestResultType.Raw;
|
|
17
13
|
}
|
|
18
14
|
}
|
|
@@ -28,16 +28,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.TestResult = void 0;
|
|
30
30
|
const core = __importStar(require("../../../../../../core"));
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
}),
|
|
36
|
-
hemoglobin: core.serialization.object({
|
|
37
|
-
value: core.serialization.number(),
|
|
38
|
-
}),
|
|
39
|
-
})
|
|
40
|
-
.transform({
|
|
41
|
-
transform: (value) => value,
|
|
42
|
-
untransform: (value) => value,
|
|
31
|
+
const TestResultType_1 = require("./TestResultType");
|
|
32
|
+
exports.TestResult = core.serialization.object({
|
|
33
|
+
value: core.serialization.number(),
|
|
34
|
+
resultType: core.serialization.property("result_type", TestResultType_1.TestResultType),
|
|
43
35
|
});
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
+
export declare const TestResultType: core.serialization.Schema<serializers.serviceLines.v2.TestResultType.Raw, CandidApi.serviceLines.v2.TestResultType>;
|
|
8
|
+
export declare namespace TestResultType {
|
|
9
|
+
type Raw = "HEMATOCRIT" | "HEMOGLOBIN";
|
|
10
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.TestResultType = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../../../core"));
|
|
31
|
+
exports.TestResultType = core.serialization.enum_(["HEMATOCRIT", "HEMOGLOBIN"]);
|
|
@@ -7,6 +7,7 @@ export * from "./ServiceLineAdjustment";
|
|
|
7
7
|
export * from "./ServiceLineDenialReason";
|
|
8
8
|
export * from "./DenialReasonContent";
|
|
9
9
|
export * from "./DrugIdentification";
|
|
10
|
+
export * from "./TestResultType";
|
|
10
11
|
export * from "./TestResult";
|
|
11
12
|
export * from "./ServiceIdQualifier";
|
|
12
13
|
export * from "./MeasurementUnitCode";
|
|
@@ -23,6 +23,7 @@ __exportStar(require("./ServiceLineAdjustment"), exports);
|
|
|
23
23
|
__exportStar(require("./ServiceLineDenialReason"), exports);
|
|
24
24
|
__exportStar(require("./DenialReasonContent"), exports);
|
|
25
25
|
__exportStar(require("./DrugIdentification"), exports);
|
|
26
|
+
__exportStar(require("./TestResultType"), exports);
|
|
26
27
|
__exportStar(require("./TestResult"), exports);
|
|
27
28
|
__exportStar(require("./ServiceIdQualifier"), exports);
|
|
28
29
|
__exportStar(require("./MeasurementUnitCode"), exports);
|