FHIR Capabilities
Dental API supports HL7® FHIR® R4 (Release 4.0.1) output for healthcare interoperability. FHIR (Fast Healthcare Interoperability Resources) is an international standard for exchanging healthcare information electronically.
Scope: FHIR data format, not SMART on FHIR
The Dental API provides FHIR R4 output formatting for selected reads. It does not implement the SMART on FHIR authorisation framework. Specifically:
- Authentication is via a static
x-api-keyheader (see Authentication). There is no OAuth 2.0 authorisation server, no/authorizeor/tokenendpoint, no PKCE/authorisation-code flow, and no per-user tokens. - No SMART scopes are accepted (
patient/*.read,user/*.read,launch, etc.). Access is granted per integrator + organisation, not per end-user or per resource. - No launch context. There is no standalone-launch or EHR-launch flow, no
launchparameter, no patient/encounter context binding. - No discovery documents.
/.well-known/smart-configurationis not exposed, and there is no FHIRCapabilityStatementat/metadata. - No OpenID Connect identity assertions or
id_token. - Media type. FHIR endpoints return
Content-Type: application/json(notapplication/fhir+json), and each FHIR Bundle is wrapped in the Dental API’s standard envelope ({status, message, data, pagination}) rather than returned as a bare FHIR resource.
If your integration needs SMART on FHIR (patient-facing apps, EHR-launched clinical apps, end-user OAuth), the Dental API is not a drop-in target. If you only need FHIR R4 data shapes for a server-to-server backend integration, the /api/v1/fhir/ endpoints plus the standard x-api-key flow cover that case.
What is FHIR?
FHIR is a standard developed by HL7 International that defines how healthcare information can be exchanged between systems. It uses modern web technologies (REST, JSON, XML) and provides a set of standardised “resources” representing clinical concepts like patients, appointments, and observations.
Key benefits of FHIR:
- Interoperability: Exchange data with EHR/EMR systems, health information exchanges, and healthcare applications
- Standardisation: Consistent data structures across different healthcare systems
- Compliance: Meet healthcare data exchange requirements and regulations
- Ecosystem: Wide adoption across healthcare technology vendors
FHIR-enabled endpoints
The following endpoints support FHIR R4 output. Use the dedicated /api/v1/fhir/ endpoints to receive FHIR R4-formatted responses. Passing ?fhir=true to a non-FHIR read path returns 400 with Unexpected parameters: fhir, Please try again. FHIR search parameters such as _count, _id, _include and _lastUpdated are not accepted either (400 Unexpected parameters): use each endpoint’s query parameters with page and per_page. Bundles carry no link array; use the top-level pagination object. The FHIR endpoints are read-only. They need FHIR access on your integration account as well as read access to the underlying data; without it the request returns 403 with TIER-4031.
|
| Patient |
|
| Patient |
|
| Appointment |
|
| Appointment |
|
| Observation |
|
| Practitioner |
|
| Location |
|
| Procedure |
Endpoints not supporting FHIR
The following endpoints do not support FHIR output:
| Extended fields are practice-specific and don't map to FHIR |
| Financial data uses practice-specific structures |
| Payment details don't have direct FHIR equivalents |
| Treatment plans use practice-specific formats |
| Cancellations are returned in native format only |
All MWP (imaging) endpoints | Image metadata is returned in native format |
Reference data | Only |
FHIR response format
When using a FHIR endpoint, responses are returned as a FHIR Bundle of type searchset:
{
"status": true,
"message": "Success",
"data": {
"resourceType": "Bundle",
"type": "searchset",
"total": 1,
"entry": [
{
"resource": {
"resourceType": "Patient",
"id": "12345",
...
},
"search": {"mode": "match"}
}
]
},
"pagination": {
"page": 1,
"per_page": 10,
"total_rows": 1,
"total_pages": 1
}
} Bundle structure
| Always |
| Always |
| Unique identifier generated for each response bundle. |
| When the bundle was generated, as an ISO 8601 date-time in UTC (it ends in |
| Number of matching resources across all pages. It counts matches only, so |
| The matching resources ( |
| The actual FHIR resource (Patient, Appointment, etc.) |
| Tells matches from included resources: |
FHIR resource mappings
Patient resource
Practice Management System (PMS) patient data maps to FHIR Patient as follows:
|
| The patient id |
|
| The patient card number. System |
|
|
|
|
| e.g., "Mr", "Mrs", "Dr" |
|
| Given name |
|
| Middle name if present |
|
| Family name |
|
| Added as a second name with |
|
| "male", "female", "other" or "unknown". Omitted when no valid value is available. |
|
| ISO 8601 date |
|
| system: "phone", use: "home" |
|
| system: "phone", use: "mobile" |
|
| system: "email" |
|
| Street address lines |
|
| City/suburb |
|
| State/territory |
|
| Postal code |
(fixed) |
| "Australia" whenever an address is returned; the address array is empty when the patient has no address |
|
| Reference to Practitioner |
|
| The practice's local date and time when the record was last changed, with the practice's UTC offset, for example |
Appointment resource
|
| Primary identifier |
|
| Derived from the appointment's flags: |
|
| ISO 8601 date-time that carries the practice's local UTC offset, for example |
|
| ISO 8601 date-time that carries the practice's local UTC offset, for example |
|
| Reference to Patient |
|
| Reference to Practitioner |
|
| Reference to Location |
|
| The practice's local date and time when the record was last changed, with the practice's UTC offset, for example |
Clinical notes (Observation resource)
|
| Primary identifier |
|
| When the note was recorded |
|
| The clinical note content |
|
| Reference to Patient |
|
| Reference to Practitioner |
(fixed) |
| Always "final" |
(fixed) |
| Coded "procedure" from the HL7 observation-category code system |
|
| Primary coding is LOINC 34109-9 ("Note"). When an item code is recorded it is added as a second coding under system https://api.dental4web.com.au/codes/dental-item-codes. |
|
| For example "48, OB". null when neither is recorded. |
|
| The practice's local date and time when the record was last changed, with the practice's UTC offset, for example |
Treatments (Procedure resource)
PMS treatment data maps to FHIR Procedure as follows:
|
| Primary identifier |
|
| When the procedure was performed |
|
| Procedure/item code |
(item description) |
| Procedure description |
(always "completed") |
| All returned treatments are completed |
|
| Reference to Patient |
|
| Reference to Practitioner |
|
| Reference to Location |
|
| Tooth and surface, for example "Tooth 18, Surface MOD" |
|
| Quantity (present whenever recorded) |
|
| Fee in AUD |
|
| The practice's local date and time when the record was last changed, with the practice's UTC offset, for example |
Note: Procedure.code.coding[0].system is https://api.dental4web.com.au/fhir/codes/procedure-codes. A single coding is returned. Procedure.performedDateTime is a date only (YYYY-MM-DD).
Practitioner resource
|
| Primary identifier |
|
| Provider number, with system |
|
| Title |
|
| Given name |
|
| Family name |
|
| Active status |
|
| Full name as displayed |
|
| Qualifications. The array is empty when none are recorded |
Location resource
|
| Primary identifier |
|
| Location name |
|
| Full address on one line. |
|
| Phone number |
|
| Email address (system |
|
| "active" or "inactive" |
Using FHIR endpoints
Request example
curl -X GET "https://api-uat.dental4web.com.au/api/v1/fhir/patients?patient_id=12345" \
-H "org-id: YOUR_ORG_ID" \
-H "x-api-key: YOUR_API_KEY" \
-H "Accept: application/json" Inline references
FHIR responses include inline references to related resources. For example, an Appointment resource includes references to the Patient, Practitioner, and Location. Practitioner and Location resources are added to the bundle as included resources. The Patient resource, and the participant name, are included only when you filter by patient_id; otherwise the bundle carries an OperationOutcome warning that the patient relation was not expanded.
{
"participant": [
{
"actor": {
"reference": "Patient/12345",
"display": "Jane Smith"
},
"status": "accepted"
},
{
"actor": {
"reference": "Practitioner/42",
"display": "Dr David Wilson"
},
"status": "accepted"
},
{
"actor": {
"reference": "Location/1",
"display": "Sydney CBD Dental"
},
"status": "accepted"
}
]
}
FHIR specification references
- FHIR R4 Specification:https://www.hl7.org/fhir/
- Bundle Resource:https://www.hl7.org/fhir/bundle.html
- Patient Resource:https://www.hl7.org/fhir/patient.html
- Appointment Resource:https://www.hl7.org/fhir/appointment.html
- Observation Resource:https://www.hl7.org/fhir/observation.html
- Practitioner Resource:https://www.hl7.org/fhir/practitioner.html
- Location Resource:https://www.hl7.org/fhir/location.html
On this page
- FHIR Capabilities