LogoFHIR-FLI

API Reference

API Reference#

Complete list of all endpoints available on the FHIR ANT server.

Public Endpoints#

These endpoints do not require authentication even when Dev Mode is off.

MethodPathDescription
GET/Server info
GET/healthHealth check
GET/metadataFHIR CapabilityStatement
GET /.well-known/smart-configuration SMART discovery
GET/favicon.icoFavicon

Authentication Endpoints#

MethodPathDescription
POST/auth/registerRegister new user
POST/auth/loginLogin, returns JWT
POST/auth/tokenToken refresh / code exchange
POST/auth/revokeRevoke a token (RFC 7009)
POST/auth/logoutLogout (revoke current token)
GET /auth/authorize OAuth authorization (show form)
POST/auth/authorizeOAuth authorization (submit)

Admin Endpoints#

MethodPathDescription
POST /admin/unlock/<userId> Unlock locked account

Resource CRUD#

MethodPathDescription
POST/<type>Create resource
GET/<type>/<id>Read resource
PUT/<type>/<id>Update resource
PATCH /<type>/<id> JSON Patch resource
DELETE/<type>/<id>Delete resource
DELETE/<type>Conditional delete
MethodPathDescription
GET/<type>Search by type
POST/<type>/_searchPOST-based search
POST /_search System-level search (requires _type)

History#

MethodPathDescription
GET /<type>/<id>/_history/<vid> Version read
GET /<type>/<id>/_history Instance history
GET/<type>/_historyType history
GET/_historySystem history

Bundles#

MethodPathDescription
POST/Transaction or batch Bundle

Compartments#

MethodPathDescription
GET /<type>/<id>/$everything Compartment everything
GET /<type>/<id>/<resourceType> Compartment search

Supported compartment types: Patient, Encounter, Practitioner, RelatedPerson, Device.

Operations#

MethodPathDescription
ALL/$validateValidate a resource
ALL/<type>/$validateValidate against type
GET/POST/$fhirpathEvaluate FHIRPath
POST/$transformFHIR Mapping Language
GET /Composition/<id>/$document Generate document
GET /<type>/<id>/$meta Get resource meta
POST /<type>/<id>/$meta-add Add meta tags
POST /<type>/<id>/$meta-delete Remove meta tags
POST/$backupExport all data
POST/$restoreImport data

Terminology#

MethodPathDescription
GET/POST /CodeSystem/<id>/$validate-code Validate code
GET/POST /CodeSystem/$validate-code Validate code (type-level)
GET/POST /ValueSet/<id>/$validate-code Validate code in ValueSet
GET/POST /ValueSet/$validate-code Validate code (type-level)
GET/POST /CodeSystem/<id>/$lookup Code lookup
GET/POST /CodeSystem/$lookup Code lookup (type-level)
GET/POST /ValueSet/<id>/$expand Expand ValueSet
GET/POST/ValueSet/$expandExpand (type-level)

Bulk Data Export#

MethodPathDescription
GET/$exportSystem-level export
GET/Patient/$exportPatient-level export
GET/Group/<id>/$exportGroup-level export
GET /$export-poll-status/<id> Poll export job
DELETE /$export-poll-status/<id> Cancel export job
GET /$export-file/<id>/<file> Download export file