feat: change lab report parser job to accept multiple files#134
Open
fern-api[bot] wants to merge 1 commit intomasterfrom
Open
feat: change lab report parser job to accept multiple files#134fern-api[bot] wants to merge 1 commit intomasterfrom
fern-api[bot] wants to merge 1 commit intomasterfrom
Conversation
Updates the parserCreateJob method in LabReportClient to accept an array of files instead of a single file, enabling batch processing of multiple lab reports in a single job. Also refactors query parameter construction in IntrospectClient methods for improved readability and maintainability. Key changes: - Change parserCreateJob method signature from single file to file array parameter - Update JSDoc examples and comments to reflect multi-file support - Refactor query parameter building in IntrospectClient to use object literal syntax - Improve form data handling to iterate over multiple files 🌿 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: Changed parserCreateJob method signature from accepting a single file to requiring a file array, breaking existing callers.
parserCreateJobmethod inLabReportClientnow accepts an array of files instead of a single file. Existing code callingparserCreateJob(file, request)must be updated toparserCreateJob([file], request)to wrap the single file in an array.labSlugfor marker filtering,orderTransactionIdfor order queries,allowStalefor appointment availability caching, andclinicalNotesfor order creation. Lab test marker endpoints now include improved documentation describing their specific purposes.jobIdfield has been removed and a new optionalfailureReasonfield has been added. Code accessingparsingJob.jobIdwill need to be updated. Additionally, new CompendiumClient and LabAccountClient are now available for lab test management and account operations.ClientFacingLabAccountand related types. Order tracking has been enhanced with transaction support throughClientFacingOrderTransactionand new optional fields likeorderTransactionIdandclinicalNotes. Compendium search capabilities have been expanded withCanonicalCandidateand conversion response types. Additional optional fields likeaccessNotesfor patient addresses andappointmentNotesfor appointments provide more detailed data capture.