Saltar al contenido principal

FHIR & Interoperability

TietAI is built on FHIR R4 as its core data standard. This page documents how TietAI uses FHIR, which resource types are supported, how other health data standards (HL7 v2, DICOM, X12, EHDS) are handled, and how to access the FHIR API directly.


FHIR R4 as the core data standard

FHIR (Fast Healthcare Interoperability Resources) R4 is an international standard for exchanging healthcare information electronically. In TietAI:

  • Every patient record is stored as a set of FHIR R4 resources
  • Data fetched from connected EHRs is normalized into FHIR R4 before being stored
  • Data written back to EHRs from workflows is constructed as FHIR R4 resources
  • The TietAI FHIR API exposes your organization's data using the standard FHIR REST API

This means your data is portable, standards-compliant, and can be exported, validated, or queried using any FHIR-compatible tool.


Supported FHIR resource types

Clinical resources

ResourceDescriptionCommon use in TietAI
PatientPatient demographics and identifiersCore record; synced from EHR on every patient sync
PractitionerClinician demographics and credentialsCare team members; referenced in encounters and notes
OrganizationHealthcare organizations and departmentsLinked to Patient and Practitioner resources
ConditionDiagnoses and health problemsPulled from EHR; shown in the Conditions tab
ObservationLab results, vital signs, device readingsLab values, wearable data, device monitoring
MedicationRequestPrescribed medicationsShown in the Medications tab; ingested from EHR
AllergyIntoleranceDocumented allergies and adverse reactionsShown in the Allergies tab
ProcedureSurgical and clinical proceduresHistorical procedures from EHR
EncounterHospital visits, outpatient appointmentsShown in the patient timeline
DiagnosticReportLab reports, imaging reportsLinked to Observations; includes narrative content
DocumentReferenceClinical documents (notes, discharge summaries)Attached documents from EHR
MedicationAdministrationRecorded medication administrationsInpatient medication tracking
ServiceRequestOrders for tests, procedures, referralsOrder tracking from EHR
CarePlanLongitudinal care plansCare coordination workflows

Infrastructure resources

ResourceUse
BundleContainer for multiple resources; used in batch writes and API responses
OperationOutcomeError and validation responses from the FHIR API
CapabilityStatementDescribes what the FHIR server supports (queried during connector testing)
AuditEventFHIR-format audit log entries

HL7 v2 support

HL7 v2 is the legacy messaging standard used by most hospital information systems, labs, and radiology systems. TietAI handles HL7 v2 via the TietAI Connect service, which listens for inbound MLLP connections and routes messages into your workflows.

Supported message types

Message typeNameCommon source system
ADTAdmit, Discharge, TransferHIS / hospital systems
ORUObservation Result (lab results)Laboratory systems, LIS
ORMOrder MessageOrder entry systems
SIUScheduling Information UnsolicitedScheduling systems
MDMMedical Document ManagementDocument management systems
DFTDetailed Financial TransactionBilling systems

When an HL7 v2 message arrives via MLLP, the HL7 to FHIR node in your workflow converts it to the appropriate FHIR R4 resources. For example, an ADT^A01 (admit) message creates or updates a FHIR Patient resource and creates a FHIR Encounter resource.

For setup instructions, see Connect Your EHR — HL7 v2 section.


DICOM

DICOM (Digital Imaging and Communications in Medicine) is the standard for medical imaging data — X-rays, MRIs, CT scans, ultrasounds.

TietAI supports DICOMweb (WADO-RS, STOW-RS, QIDO-RS) for accessing imaging data from PACS systems.

Supported operations:

  • Query (QIDO-RS) — Search for imaging studies by patient, date, modality, or study instance UID
  • Retrieve (WADO-RS) — Download DICOM instances from a PACS
  • Store (STOW-RS) — Upload DICOM instances to a connected PACS

Use the DICOM Query, DICOM Retrieve, and DICOM Store nodes in Hydra Builder workflows. Imaging studies can be linked to patient FHIR records as ImagingStudy resources.

Contact TietAI support to configure a DICOMweb connector for your PACS or VNA.


X12 EDI

X12 is the American standard for administrative and financial healthcare transactions — insurance eligibility checks, claims submission, prior authorization, and remittance.

TietAI's Connect service handles X12 transaction processing.

Supported transaction types

Transaction setNameUse
270 / 271Eligibility Inquiry / ResponseCheck patient insurance coverage
276 / 277Claim Status Inquiry / ResponseTrack submitted claim status
278Prior Authorization RequestRequest prior auth from payer
835Electronic Remittance AdviceProcess payment explanations
837P / 837IProfessional / Institutional ClaimSubmit claims to payers

X12 nodes in Hydra Builder allow workflows to check eligibility before scheduling, submit claims after encounters, or process remittance files automatically.


FHIR Bulk Data Access

TietAI's FHIR server implements the FHIR Bulk Data Access IG for large-scale data exports. This is useful when you need to extract a full dataset — for analytics, data warehousing, population health, or regulatory reporting.

Export scopes

ScopeEndpointDescription
System-levelGET /$exportExports all resources across the organization
Patient-levelGET /Patient/$exportExports all patient-compartment resources

Supported parameters

ParameterDescription
_typeComma-separated list of resource types to include in the export (e.g., _type=Patient,Condition,Observation)
_sinceRFC 3339 timestamp — only resources modified after this date are included (e.g., _since=2026-01-01T00:00:00Z)

Supported resource types for export

Patient, Observation, Condition, Procedure, DiagnosticReport, MedicationRequest, AllergyIntolerance, Encounter, Appointment, DocumentReference, Coverage, Claim, ExplanationOfBenefit.

Output format

All exported data is delivered in NDJSON (Newline Delimited JSON) format — one FHIR resource per line.

Async workflow

Bulk exports are asynchronous. The workflow is:

  1. Kick off the exportPOST /$export (or /Patient/$export) with the desired parameters. The server returns a 202 Accepted response with a Content-Location header pointing to the status endpoint.
  2. Poll for completionGET /bulkdata/status/{processId}. Returns 202 while in progress and 200 with a manifest of downloadable files when complete.
  3. Download the filesGET /bulkdata/download/{exportId}/{filename} for each file listed in the manifest.

All exports are scoped to the calling organization via the X-Organization-ID header.


IHE Profiles

TietAI supports IHE (Integrating the Healthcare Enterprise) profiles for standardized document sharing and patient demographics.

IHE MHD — Mobile access to Health Documents

MHD enables standardized document sharing workflows — submit, find, and retrieve clinical documents using FHIR DocumentReference and Binary resources. This is useful for cross-organizational document exchange, such as sharing discharge summaries or referral letters between facilities.

IHE PDQm — Patient Demographics Query for Mobile

PDQm provides a standardized FHIR-based patient demographics search. This is useful for master patient index (MPI) lookups and cross-referencing patients across systems — for example, finding a patient in another organization's registry before requesting their records.

Both profiles are available on the standard FHIR endpoint and validated against IHE conformance rules.


EHDS — European Health Data Space

The European Health Data Space (EHDS) regulation mandates that health data be accessible across EU member states in standardized formats for both primary use (patient care) and secondary use (research, policy).

TietAI's EHDS support includes:

  • FHIR R4 compliance for all primary patient data (a core EHDS requirement)
  • IPS (International Patient Summary) generation — TietAI can produce an IPS bundle from any patient record, which is the cross-border format required by EHDS
  • Audit logging in FHIR AuditEvent format — Required for EHDS data access logging
  • Consent management — Workflow nodes for capturing and validating patient consent in FHIR Consent resources
nota

EHDS compliance is a shared responsibility. TietAI provides the technical infrastructure, but your organization must configure appropriate consent workflows and data governance policies. Consult your DPO (Data Protection Officer) for guidance.


Accessing the FHIR API directly

Your organization's FHIR store is accessible via a standard FHIR R4 REST API.

Base URL format:

https://api.tiet.ai/fhir/r4/<your-org-id>/

Your org ID is visible in the URL when you are logged in to TietAI, or under Settings → Organization → API Access.

Authentication: All FHIR API requests require a bearer token. Generate an API key under Settings → Security → API Keys.

Include the key in request headers:

Authorization: Bearer <your-api-key>
X-Organization-ID: <your-org-id>

All requests require the X-Organization-ID header for multi-tenant isolation. This ensures your queries only return data belonging to your organization.

Pagination and advanced queries: Results support the _count parameter to control page size, plus _sort, _include, and _revinclude for advanced queries. For example, ?_count=50&_sort=-date returns the 50 most recent results.

Example: Fetch all patients

GET https://api.tiet.ai/fhir/r4/<org-id>/Patient
Authorization: Bearer <your-api-key>

Example: Fetch a specific patient by ID

GET https://api.tiet.ai/fhir/r4/<org-id>/Patient/12345
Authorization: Bearer <your-api-key>

Example: Search patients by name

GET https://api.tiet.ai/fhir/r4/<org-id>/Patient?name=Smith
Authorization: Bearer <your-api-key>

The API returns standard FHIR JSON. For a full list of supported operations, request the capability statement:

GET https://api.tiet.ai/fhir/r4/<org-id>/metadata

For API key management and scope configuration, see Administration — API access management.