Contract
Method, media type, required scope, schema/profile and version are explicit.
DEVELOPER
Use versioned REST/FHIR interfaces with explicit authentication, idempotency where required, typed errors and correlation for operational support.
Method, media type, required scope, schema/profile and version are explicit.
Use idempotency for retryable creates where supported and bounded retry only for recoverable conditions.
Distinguish validation, authentication, authorization, conflict, rate limit and dependency failures.
Propagate request/correlation identifiers without placing sensitive clinical data in logs.
POST /fhir/Appointment # synthetic appointment
GET /fhir/DiagnosticReport?subject=Patient/synthetic-001
API integration must demonstrate idempotency where required, typed error handling, bounded retry, correlation and dependency-failure recovery before production.
These are synthetic examples for documentation structure; they are not claims that a named production endpoint is currently published.
POST /fhir/Observation · OAuth scope: observation.write · application/fhir+json · idempotency key where the deployment contract supports retryable create.
GET /fhir/DiagnosticReport?subject=Patient/{id} · scoped read access · explicit pagination/filter behavior and OperationOutcome-style error diagnostics.
Signed callback with delivery/event identifier, timestamp and correlation; consumers acknowledge quickly and deduplicate before asynchronous processing.
400 validation_error · 401 invalid_token · 403 insufficient_scope · 409 conflict where applicable · 429 rate_limited; dependency errors remain distinguishable from client errors.