feat: update lab report parser to accept multiple files#142
Open
fern-api[bot] wants to merge 1 commit intomasterfrom
Open
feat: update lab report parser to accept multiple files#142fern-api[bot] wants to merge 1 commit intomasterfrom
fern-api[bot] wants to merge 1 commit intomasterfrom
Conversation
Enhance the lab report parser API to support uploading multiple files in a single job creation request. This change improves batch processing capabilities for users who need to parse multiple lab reports simultaneously. Key changes: - Change `parserCreateJob` method to accept array of files instead of single file - Update JSDoc comments and examples to reflect multiple file support - Refactor form data handling to append multiple files with same field name - Simplify query parameter construction in introspect client methods 🌿 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
parserCreateJobmethod parameter type changed fromcore.file.Uploadabletocore.file.Uploadable[]- existing callers passing a single file will get a type error.parserCreateJobmethod now accepts an array of files instead of a single file. Replace calls likeparserCreateJob(file, request)withparserCreateJob([file], request)to wrap your single file in an array.allowStalefor PSC appointment availability requests,orderTransactionIdfor order filtering,labSlugfor marker retrieval, andclinicalNotesfor order creation.CompendiumClient,LabAccountClient, andOrderTransactionClientprovide access to additional lab testing and order management capabilities. Enhanced insulin injection data now includes delivery mode, form, and bolus purpose tracking. Added support for new lab providers (Sonora Quest, CRL) and Samsung Health integration.