feat: support multiple file uploads in lab report parser#137
Open
fern-api[bot] wants to merge 1 commit intomasterfrom
Open
feat: support multiple file uploads in lab report parser#137fern-api[bot] wants to merge 1 commit intomasterfrom
fern-api[bot] wants to merge 1 commit intomasterfrom
Conversation
The lab report parser now accepts an array of files instead of a single file, enabling batch processing of multiple lab reports in one operation. The API maintains backward compatibility for consumers using single file uploads. Key changes: - Updated parserCreateJob method to accept core.file.Uploadable[] instead of core.file.Uploadable - Modified form data handling to iterate over multiple files - Refactored query parameter construction in introspect client methods for cleaner code - Updated JSDoc examples to show array syntax 🌿 Generated with Fern
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Version Bump: The parserCreateJob method signature changed from accepting core.file.Uploadable to core.file.Uploadable[], breaking existing callers.
parserCreateJobmethod inLabReportClientnow accepts an array of files instead of a single file, enabling batch processing of multiple lab reports. Existing code will need to wrap single files in an array:parserCreateJob([file], request)instead ofparserCreateJob(file, request).orderTransactionfields in orders and lab results. Compendium APIs have been added for searching and converting lab tests between different providers. Appointment booking now accepts optional parameters for asynchronous confirmation behavior and timeout controls. New providers (Sonora Quest, Tandem Source, Samsung Health) are now supported along with lab account management capabilities.