Versioning and deprecation
How the FHIR R4 and REST v1 interfaces, webhook payloads and SDKs change, and how breaking changes are announced.
- FHIR R4 at
/fhir/R4and REST v1 at/v1are stable interfaces. Additive changes (new fields, new resource types, new endpoints, new event types) ship without notice; the SDKs anddocs/openapi.jsonare regenerated in the same commit and a test fails otherwise. - Breaking changes get a new prefix (
/v2) and at least 6 months of parallel operation; the old prefix answers with aDeprecationandSunsetheader during that period. - Webhook payloads carry a
type; new types are additive. A subscriber to*must ignore unknown types. - SDKs follow semver; a major SDK version may drop a sunset API prefix.
- Security fixes may tighten validation (for example value sets) without a version bump; such tightening is announced in the changelog with 30 days' notice unless it closes an active vulnerability.
Changelog
14 October 2026 (additive: consent page branding, team single sign-on)
-
Team single sign-on: an organisation can be linked to its SAML or OIDC provider and its email domains (
PUT /admin/organizations/{id}/sso, platform administrators), and single sign-on can be required for members.GET /admin/sso/discover?email=(no auth) returns the provider for a work email.OrganizationOutgainssso_provider_id,sso_domainsandsso_required. See Single sign-on for your team. -
PUT /admin/applications/{id}/brandingsets an application's logo (PNG/JPEG/WebP data URI, up to 64 KB) and accent colour (contrast at least 4.5:1 with white text), shown on the hosted consent page.ApplicationOutgainslogoandbrand_color. See Authentication and OAuth. - Pricing page and pricing: a private-beta note. Production opens after verification and a signed DPA, plans are invoiced by email, and allowances are not yet enforced automatically.
14 October 2026 (error shape and lab mapping fixes)
- Lab import: Uree / Urea maps to urea (
3091-6;22664-7in mmol/L) instead of urea nitrogen (3094-0), which is kept for BUN / Urea nitrogen (14937-7in mmol/L). Values are not converted. No production data used the old mapping. - Lab import: LDL with a method on the report maps to calculated LDL (
13457-7) or direct LDL (18262-6); without a method it stays2089-1. Direct is now a qualifier, so Bilirubina directa is no longer mapped to total bilirubin (1975-2); it keeps the lab's code. No production data used the old mapping. - Unknown endpoints and methods under
/v1answer in the documented error shape (404 not-found,405 not-supported) instead of{"detail": "Not Found"}; invalid query parameters and the per-IP rate limit under/v1use{"error": …}instead of anOperationOutcome(unchanged under/fhir/R4); an unexpected500under/v1carrieserror.type = "exception"(it carriederror.code). - Lab import: HL7 v2 results with a local or non-LOINC coding system keep the lab's code under
urn:anpheros:lab-code(previouslyurn:hl7:<system>, for exampleurn:hl7:l). Results already stored are not changed. - Lab import: English LOINC names and synonyms are recognised (Hemoglobin A1c, Glycated hemoglobin, HDL cholesterol, LDL cholesterol, Haemoglobin); a bare Glucose maps to serum or plasma (2345-7) like Glicemie. Names with a qualifier the concept lacks (urine, non-HDL…) are no longer matched to a related test: before this change HDL cholesterol and LDL cholesterol sent without a LOINC code were stored as total cholesterol (2093-3).
- Lab import: re-sending a report no longer duplicates results when the LOINC mapping changes. New results carry a
second identifier,
urn:anpheros:lab-import:v2, built from the report (report id, name and code on the report, date, value, unit); existing identifiers are unchanged and earlier results are recognised by name, date, value, unit and report id. Two results with different names on the report but the same LOINC code, date and value (for example Glucose and Glicemie) are no longer merged into one.
13 October 2026 (additive, no contract change)
- Consent is enforced on every derived view (
/v1/context,/v1/patients/{id}/timeline, portal,$everything) with one shared rule; a requested but uncovered section appears in the context'somitted. - OpenAPI now declares
servers,securitySchemes(bearer,apiKey,oauth2,firebase), per-operationsecurityand a response schema for every operation; generated clients get typed responses. - Every
401carriesWWW-Authenticate: Bearer. - The CapabilityStatement advertises SMART (
oauth-urisextension,SMART-on-FHIRservice) and the IPS implementation guide. - Redirects behind the proxy keep
https://. python-multipart0.0.20 → 0.0.32;pip-auditblocks the build on known vulnerabilities.- Webhook URLs must be public HTTPS: localhost (previously accepted in the sandbox but never delivered to), private and reserved addresses, and names resolving to them are refused at registration with 400 on
url; deliveries connect only to the IP addresses they just checked (DNS rebinding).
Conformance enforcement (announced 23 September 2026)
Writes that miss IPS / HL7 Europe laboratory requirements currently return 201/200 with an
Anpheros-Conformance header. After an observation period (planned: 60–90 days from this notice) the
platform switches to block mode: such writes answer 422 with an OperationOutcome listing every
gap. Integrators that need more time can be exempted per project during the transition. Resource types
added 23 September 2026: Procedure, DiagnosticReport, CarePlan, FamilyMemberHistory,
ServiceRequest, Goal (additive).
Ask your AI
Paste this into Claude, ChatGPT, Cursor or Claude Code. Your assistant reads this guide and adapts it to your code.
Read https://developers.anpheros.com/guides/versioning.md and help me apply this guide to my own project. Use the Anpheros sandbox (base URL https://platform.anpheros.com) with my API key from the ANPHEROS_KEY environment variable, never written in the code. Give me complete, runnable code, the response I should expect, and how to fix the errors in https://developers.anpheros.com/guides/troubleshooting.md if a call fails.Open in ClaudeOpen in ChatGPTThis guide as MarkdownBuild the whole integration with an AI coding tool
Try it free in the sandbox · first FHIR call in 5 minutesFree · 30 synthetic patients · no cardYour first API call in 2 minutes →
