OpenELIS Global FHIR Implementation Guide - Local Development build (v0.2.2) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: https://digi-uw.github.io/openelis-global2-fhir-ig/CapabilityStatement/OpenELISFhirServer | Version: 0.2.2 | ||||
| Active as of 2026-10-14 | Computable Name: OpenELISFhirServer | ||||
The FHIR R4 REST API OpenELIS Global serves at {server}/api/OpenELIS-Global/fhir. It reads from and writes to the OpenELIS database directly. It is not the co-resident HAPI FHIR store. See api.html.
Raw OpenAPI-Swagger Definition file | Download
Language: en
json, xmlNote to Implementers: FHIR Capabilities
Any FHIR capability may be 'allowed' by the system unless explicitly marked as 'SHALL NOT'. A few items are marked as MAY in the Implementation Guide to highlight their potential relevance to the use case.
serverBase URL: https://{host}/api/OpenELIS-Global/fhir (through the bundled nginx proxy) or https://{host}:8443/api/OpenELIS-Global/fhir (direct to Tomcat). Resource ids are OpenELIS FHIR UUIDs. Every search supports _count and _offset paging (default page size 20) and returns Bundle.total. _sort is not supported. A search parameter the server cannot apply (unknown, _sort, chained, unsupported modifier, invalid value) is refused with 400 and an OperationOutcome; send Prefer: handling=lenient to have it dropped instead. String parameters match case-insensitive starts-with and support :exact and :contains. delete is a soft delete (cancel or deactivate): a later read still returns the resource. vread, history, patch, conditional operations, batch / transaction and operations are not supported.
TLS is required. Send HTTP Basic credentials of an OpenELIS user account (Authorization: Basic), or use an authenticated OpenELIS browser session. Where the site enables them, OpenELIS also accepts client certificate and OAuth2 / OIDC login. Requests without credentials are redirected to the login page, including /metadata.
The summary table lists the resources that are part of this configuration, and for each resource it lists:
_include_revinclude| Resource Type | Profile | R | S | U | C | D | Searches | _include | _revinclude | Operations |
|---|---|---|---|---|---|---|---|---|---|---|
| Patient | https://digi-uw.github.io/openelis-global2-fhir-ig/StructureDefinition/openelis-patient | y | y | y | y | y | _id, identifier, _lastUpdated, name, given, family, birthdate, gender, address-city, address-state, address-postalcode, address-country, telecom, email, phone | ServiceRequest:patient, ServiceRequest:subject, Specimen:patient, Specimen:subject, Observation:patient, Observation:subject, DiagnosticReport:patient, DiagnosticReport:subject | ||
| ServiceRequest | https://digi-uw.github.io/openelis-global2-fhir-ig/StructureDefinition/openelis-service-request | y | y | y | y | y | _id, identifier, _lastUpdated, patient, subject, requester, specimen, code, status | ServiceRequest:patient, ServiceRequest:subject, ServiceRequest:requester, ServiceRequest:specimen | Observation:based-on, DiagnosticReport:based-on | |
| DiagnosticReport | https://digi-uw.github.io/openelis-global2-fhir-ig/StructureDefinition/openelis-diagnostic-report | y | y | y | _id, identifier, _lastUpdated, patient, subject, based-on, result, specimen, code, status, issued | DiagnosticReport:patient, DiagnosticReport:subject, DiagnosticReport:based-on, DiagnosticReport:result, DiagnosticReport:specimen | ||||
| Observation | https://digi-uw.github.io/openelis-global2-fhir-ig/StructureDefinition/openelis-observation | y | y | y | y | y | _id, identifier, _lastUpdated, patient, subject, based-on, specimen, code, status, date | Observation:patient, Observation:subject, Observation:based-on, Observation:specimen, Observation:performer | DiagnosticReport:result | |
| Specimen | https://digi-uw.github.io/openelis-global2-fhir-ig/StructureDefinition/openelis-specimen | y | y | y | y | y | _id, identifier, _lastUpdated, accession, patient, subject, type, status, collected | Specimen:patient, Specimen:subject | ServiceRequest:specimen, Observation:specimen, DiagnosticReport:specimen | |
| Practitioner | https://digi-uw.github.io/openelis-global2-fhir-ig/StructureDefinition/openelis-practitioner | y | y | y | y | y | _id, identifier, _lastUpdated, name, given, family, address-city, address-state, address-postalcode, address-country, telecom, email, phone | ServiceRequest:requester, Observation:performer | ||
| Organization | https://digi-uw.github.io/openelis-global2-fhir-ig/StructureDefinition/openelis-organization | y | y | y | y | y | _id, identifier, _lastUpdated, name, active, type, partof, address-city, address-state | Organization:partof | Organization:partof | |
| Location | https://digi-uw.github.io/openelis-global2-fhir-ig/StructureDefinition/openelis-storage-location | y | y | y | y | y | _id, identifier, _lastUpdated, name, status, partof, _tag | Location:partof | Location:partof | |
| Device | https://digi-uw.github.io/openelis-global2-fhir-ig/StructureDefinition/openelis-analyzer-device | y | y | y | y | y | _id, identifier, _lastUpdated, device-name, type, status |
read, create, update, delete, search-type.Delete does not change the patient in OpenELIS: it only marks the FHIR store copy active = false (see Known Issues). The id returned by create is the database id, not the FHIR UUID.
| Conformance | Parameter | Type | Documentation |
|---|---|---|---|
| SHALL | _id | token | |
| SHALL | identifier | token | |
| SHALL | _lastUpdated | date | |
| SHALL | name | string | |
| SHALL | given | string | |
| SHALL | family | string | |
| SHALL | birthdate | date | |
| SHALL | gender | token | |
| SHALL | address-city | string | |
| SHALL | address-state | string | |
| SHALL | address-postalcode | string | |
| SHALL | address-country | string | |
| SHALL | telecom | token | |
| SHALL | token | ||
| SHALL | phone | token |
read, create, update, delete, search-type.Backed by the OpenELIS Analysis (one per ordered test). create requires subject (an existing Patient), code and specimen (an existing Specimen, which supplies the lab number and sample item). Delete cancels the Analysis and returns 204.
| Conformance | Parameter | Type | Documentation |
|---|---|---|---|
| SHALL | _id | token | |
| SHALL | identifier | token | |
| SHALL | _lastUpdated | date | |
| SHALL | patient | reference | |
| SHALL | subject | reference | |
| SHALL | requester | reference | |
| SHALL | specimen | reference | |
| SHALL | code | token | |
| SHALL | status | token |
read, delete, search-type.A read-only view of the OpenELIS Analysis. Its id equals the ServiceRequest id for the same test. Delete cancels the Analysis.
| Conformance | Parameter | Type | Documentation |
|---|---|---|---|
| SHALL | _id | token | |
| SHALL | identifier | token | |
| SHALL | _lastUpdated | date | |
| SHALL | patient | reference | |
| SHALL | subject | reference | |
| SHALL | based-on | reference | |
| SHALL | result | reference | |
| SHALL | specimen | reference | |
| SHALL | code | token | |
| SHALL | status | token | |
| SHALL | issued | date |
read, create, update, delete, search-type.Backed by the OpenELIS Result.
| Conformance | Parameter | Type | Documentation |
|---|---|---|---|
| SHALL | _id | token | |
| SHALL | identifier | token | |
| SHALL | _lastUpdated | date | |
| SHALL | patient | reference | |
| SHALL | subject | reference | |
| SHALL | based-on | reference | |
| SHALL | specimen | reference | |
| SHALL | code | token | |
| SHALL | status | token | |
| SHALL | date | date |
read, create, update, delete, search-type.Backed by the OpenELIS SampleItem. On update a body id that differs from the URL id returns 400. Delete cancels (rejects) the sample item.
| Conformance | Parameter | Type | Documentation |
|---|---|---|---|
| SHALL | _id | token | |
| SHALL | identifier | token | |
| SHALL | _lastUpdated | date | |
| SHALL | accession | token | |
| SHALL | patient | reference | |
| SHALL | subject | reference | |
| SHALL | type | token | |
| SHALL | status | token | |
| SHALL | collected | date |
read, create, update, delete, search-type.Backed by the OpenELIS Provider. update changes name and telecom only. Delete sets active = false.
| Conformance | Parameter | Type | Documentation |
|---|---|---|---|
| SHALL | _id | token | |
| SHALL | identifier | token | |
| SHALL | _lastUpdated | date | |
| SHALL | name | string | |
| SHALL | given | string | |
| SHALL | family | string | |
| SHALL | address-city | string | |
| SHALL | address-state | string | |
| SHALL | address-postalcode | string | |
| SHALL | address-country | string | |
| SHALL | telecom | token | |
| SHALL | token | ||
| SHALL | phone | token |
read, create, update, delete, search-type.update changes name, active and partOf only. Delete sets the organization inactive.
| Conformance | Parameter | Type | Documentation |
|---|---|---|---|
| SHALL | _id | token | |
| SHALL | identifier | token | |
| SHALL | _lastUpdated | date | |
| SHALL | name | string | |
| SHALL | active | token | |
| SHALL | type | token | |
| SHALL | partof | reference | |
| SHALL | address-city | string | |
| SHALL | address-state | string |
read, create, update, delete, search-type.The sample storage hierarchy (room / device / shelf / rack / box). The level comes from meta.tag (system http://openelis.org/fhir/tag/storage-hierarchy), falling back to physicalType.text. partOf is required except for rooms. On create the client id is ignored. On update a body id that differs from the URL id returns 400. Delete deactivates.
| Conformance | Parameter | Type | Documentation |
|---|---|---|---|
| SHALL | _id | token | |
| SHALL | identifier | token | |
| SHALL | _lastUpdated | date | |
| SHALL | name | string | |
| SHALL | status | token | |
| SHALL | partof | reference | |
| SHALL | _tag | token | Storage level: http://openelis.org/fhir/tag/storage-hierarchy|room / device / shelf / rack / box |
read, create, update, delete, search-type.Backed by the OpenELIS Analyzer. On create the client id is ignored. Delete sets the analyzer inactive.
| Conformance | Parameter | Type | Documentation |
|---|---|---|---|
| SHALL | _id | token | |
| SHALL | identifier | token | |
| SHALL | _lastUpdated | date | |
| SHALL | device-name | string | |
| SHALL | type | token | |
| SHALL | status | token |