Hospital Interoperability for Odoo

Hospital Interoperability: FHIR R4 API, HL7 v2 lab interface, DICOM worklist, CSV migration

What Hospital Interoperability does

Connect the hospital to health information exchanges, patient apps, lab systems and PACS: a FHIR R4 API with OAuth2 and scopes, HL7 v2 results in and lab orders out, DICOM modality worklist files for Orthanc, and CSV import and export for migrations. Every call runs with a user's rights and is logged.

Standards interfaces for the hospital: FHIR R4 REST API (Patient, Practitioner, Encounter, Observation, DiagnosticReport, MedicationRequest, AllergyIntolerance, Condition, Appointment, DocumentReference) with OAuth2 client credentials or API key and scopes, FHIR bundle per visit, HL7 v2 ORU^R01 lab results in and OML/ORM lab orders out, DICOM modality worklist files for Orthanc, CSV import and export of patients and history.

  • FHIR R4, 10 resources
  • OAuth2 and SMART scopes
  • HL7 ORU in, OML out
  • DICOM worklist
  • CSV migration

Features

  • FHIR R4 API

    Patient, Practitioner, Encounter, Appointment, Observation (vital signs with LOINC), DiagnosticReport (lab), MedicationRequest, AllergyIntolerance, Condition (ICD-10), DocumentReference; read, search by patient, identifier, name and id; create Patient.

  • Bundle per visit

    Encounter/$everything returns the visit with patient, doctor, vitals, allergies, problems, prescriptions, documents and lab reports; also a download button on the visit.

  • OAuth2 and API keys

    Client credentials flow with one-hour tokens, or the secret as API key; secrets are stored hashed and shown once; optional IP allow-list.

  • Scopes and rights

    SMART-style scopes per client (system/Patient.read ...). Every call runs as a chosen user: record rules, branches and hidden clinical notes apply.

  • Audit

    Every call in the interface log with client, resource, status and IP; every patient record read through the API is also in the patient access log.

  • HL7 v2 results in

    ORU^R01 over HTTP from a lab analyzer or middleware: results matched by order number and LOINC or test code, ACK returned, errors kept for a retry.

  • HL7 v2 orders out

    OML^O21 (or ORM^O01) for confirmed lab requests, sent by HTTP or as files, automatically every 5 minutes if you want.

  • DICOM modality worklist

    One .wl file per scheduled imaging exam in the Orthanc worklist folder: patient, accession, modality, AE title, date and time; removed when done.

  • CSV migration

    Import patients and their history (visits, allergies, problems, medication) from another system, with matching on MRN or phone and name; export everything as CSV.

  • CapabilityStatement

    GET /fhir/R4/metadata describes the server for client developers.

  • Dashboard

    Interface errors and API calls on the management dashboard.

  • Works with the family

    Lab results and orders with the lab app, worklist with the radiology app; without them those parts stay quiet.

How it works, step by step

  1. 01API clients

    Each connected system with its scopes, the user it acts as, last use and number of calls.

    Hospital Interoperability: API clients
  2. 02New secret

    A client ID and secret, shown once; only a hash is stored.

    Hospital Interoperability: New secret
  3. 03OAuth2 token

    The client exchanges its credentials for a one-hour bearer token (real API output).

    Hospital Interoperability: OAuth2 token
  4. 04FHIR search

    Patient by MRN: a FHIR searchset bundle (real API output).

  5. 05Bundle per visit

    Encounter/$everything: patient, practitioner, encounter, vitals with LOINC codes and more (real API output).

  6. 06HL7 messages

    Inbound results and outbound lab orders with their state.

  7. 07HL7 error and retry

    A result for an unknown order is kept with the reason and the negative acknowledgement; fix and process again.

  8. 08Interface log

    Every call with client, resource, HTTP status and IP address.

  9. 09Settings

    HL7 outbound URL or folder, automatic order sending, DICOM worklist folder.

  10. 10CSV migration

    Import patients and history from another system, or export everything.

Questions about Hospital Interoperability

Is this a medical device?

No. It is administrative and documentation software. Clinical features such as interaction checks, critical-value alerts and reference-range flags are decision support for qualified professionals. It is not intended to diagnose, treat or prevent disease, and the clinician stays responsible for every clinical decision. Every alert shows its basis (rule, table row and source). Clinical-support features are off by default and switched on by an administrator.

How is patient health data protected?

Health data is special-category personal data (GDPR Art. 9) and protected health information under HIPAA. You, the hospital or clinic, are the data controller; patient data stays in your own Odoo database. The app uses the hospital roles, branch and department rules, the sensitive-record flag and the access log of the hospital base. No data leaves Odoo except to a service you configure yourself. Use fictional data, never real patients, on test and demo databases.

Which FHIR version?

FHIR R4 (4.0.1), JSON. Read and search on 10 resource types and create Patient.

Does it support MLLP for HL7?

HL7 messages are received and sent over HTTP(S) or files. Most interface engines (Mirth, Rhapsody, Iguana) convert MLLP to HTTP.

Do I need pydicom or Orthanc plugins?

No Python library is needed. Orthanc needs its standard worklist plugin pointing to the folder.

Does it work in Community and Enterprise?

Yes. It needs only Community apps. In Enterprise it follows the dark mode.

All Odoo apps

Related Odoo apps

Tell us which systems disagree. We will fix that.

Thirty minutes with an engineer, not a salesperson. You leave with a map of what you run, what to connect first and a price range, whether or not you hire us.