Skip to content

Release 17.0.0: add batch Lang2FHIR APIs - #224

Merged
gavinsharp merged 7 commits into
mainfrom
fern-bot/2026-09-09_16-16-26_474
Sep 9, 2026
Merged

gavinsharp merged 7 commits into
mainfrom
fern-bot/2026-09-09_16-16-26_474

Conversation

@fern-api

@fern-api fern-api Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

16.11.0 → 17.0.0

Major release adding batch FHIR extraction and immutable profile-version clients. Core profile response fields are now guaranteed by the API and exposed as required Python types.

Breaking Changes

  • ProfileSummaryid, source, resource_type, url, version, fhir_version, implementation_guide, created_at, and updated_at are now required; remove None guards for these fields.
  • ProfileListResponse.profiles — changed from Optional[List[ProfileSummary]] to List[ProfileSummary]; remove None guards for this field.
  • ProfileGetResponse.structure_definition — changed from Optional[FhirResource] to FhirResource; remove None guards for this field.

Added

  • client.lang2fhir_batch — new sync and async client for batch FHIR extraction, supporting create(...), upload_item(...), finalize(...), cancel(...), get(...), get_results(...), get_result(...), and list(...) across the job lifecycle.
  • BatchJob, BatchItemStatus, BatchCounts, BatchError, JobDetailResponse, JobListResponse, ResultsPageResponse, and UploadItemResponse — new Pydantic models supporting the batch extraction API.
  • client.profiles.versions — new sync and async client for immutable StructureDefinition versions, with list(...), create(...), get(...), and delete(...) methods.
  • ProfileSummary.status, ProfileSummary.date, and ProfileSummary.canonical — new optional fields exposing each profile's publication status, authored date, and canonical URL; profile update and batch methods can now raise ConflictError for HTTP 409 responses.

Migration notes

Use the profile response fields directly instead of treating them as optional; no endpoint call signatures were removed or renamed.

fern-api Bot and others added 6 commits September 9, 2026 16:16
Generated by Fern
CLI Version: unknown
Generators:
  - fernapi/fern-python-sdk: 5.18.1
🌿 Generated with Fern
Patches applied (1):
  - patch-6516695e: Release 15.0.2: restore bundled openapi.json packaging (#169)
🌿 Generated with Fern
@gavinsharp gavinsharp changed the title SDK regeneration Release 17.0.0: require profile response fields Sep 9, 2026
@gavinsharp gavinsharp changed the title Release 17.0.0: require profile response fields Release 17.0.0: add batch Lang2FHIR APIs Sep 9, 2026
@gavinsharp
gavinsharp merged commit 0523abe into main Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant