feat: support multiple file uploads in lab report parser#131
Open
fern-api[bot] wants to merge 1 commit intomasterfrom
Open
feat: support multiple file uploads in lab report parser#131fern-api[bot] wants to merge 1 commit intomasterfrom
fern-api[bot] wants to merge 1 commit intomasterfrom
Conversation
Update the lab report parser endpoint to accept multiple files instead of a single file. This enables batch processing of lab reports in a single request, improving efficiency for users with multiple documents to parse. Key changes: - Change `parserCreateJob` method to accept `core.file.Uploadable[]` instead of `core.file.Uploadable` - Update form data handling to append multiple files with the same field name - Refactor query parameter building in introspect client methods for cleaner code - Update JSDoc comments and examples to reflect multiple file support 🌿 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.
parserCreateJobmethod now accepts an array of files (core.file.Uploadable[]) instead of a single file. Update your code to pass files in an array:client.labReport.parserCreateJob([file], request)instead ofclient.labReport.parserCreateJob(file, request).orderTransactionIdfor filtering orders,allowStalefor appointment availability queries, andclinicalNotesfor order creation. ThegetMarkersmethod now supports filtering bylabSlugfor more targeted marker retrieval.ClientFacingLabAccounttypes for handling delegation flows and billing configurations. Order transaction tracking is available throughClientFacingOrderTransactionand related types. New provider support includes Samsung Health, and lab support extends to Sonora Quest. Additional features include lab report parsing job webhooks, compendium search capabilities, and enhanced appointment and order data with optional transaction IDs, clinical notes, and access notes for patient addresses.