Coach Drépano

Developers

Trévor interoperability: FHIR, SMART on FHIR and the data model.

This page gathers what an institution, a patient-record vendor or a developer can use or check. Trévor exposes no public health-data API: every piece of data stays under the control of the person concerned, who links or unlinks their own records.

Public FHIR definitions

Trévor's code systems, extension and questionnaires are published read-only under https://trevor.coachdrepa.no/fhir/, with no authentication and no health data.

Export conforming to Swiss profiles

The FHIR R4 export follows CH Core 6.0.0 with SNOMED CT, LOINC and UCUM. The official HL7 validator reports no error on a multi-diagnosis sample record.

SMART on FHIR connectors

Authorisation by the person (PKCE), incremental reading and sending of the follow-up to Epic, the HUG patient record system or any FHIR R4 server, and to the electronic patient record through IHE MHD and PIXm.

Documented data model

The diagrams below are generated from the code of Trévor 2.150.6: a change to the tables or to the diagnosis profiles updates them with the next release.

Public endpoints

Base URL of the FHIR definitions: https://trevor.coachdrepa.no/fhir. Pour /health et /.well-known, l'adresse de base est https://trevor.coachdrepa.no. Réponses en JSON FHIR, lecture seule.

PathContent
/fhir/metadataCapabilityStatement: what Trévor publishes
/fhir/CodeSystem/{id}Local code systems (trevor-item, trevor-answer, wearable-metric, prevention-exam, self-report, diagnosis-role)
/fhir/StructureDefinition/{id}Diagnosis role extension (primary, secondary)
/fhir/Questionnaire/{id}The follow-up questionnaires, one per identifier
/.well-known/jwks.jsonTrévor's public key for signed exchanges with an institution (published once a key is configured)
/healthService status and version

Data model

Each diagram opens as SVG; the Mermaid source is published alongside.

A person's diagnoses
A person's diagnoses SVG Mermaid
Daily follow-up across several diagnoses
Daily follow-up across several diagnoses SVG Mermaid
People, diagnoses and circle
People, diagnoses and circle SVG Mermaid
Health follow-up
Health follow-up SVG Mermaid
Care team, access and appointments
Care team, access and appointments SVG Mermaid
Community, peers and challenges
Community, peers and challenges SVG Mermaid
Studies, training and research
Studies, training and research SVG Mermaid
System
System SVG Mermaid

FHIR export

FHIR export resources
FHIR export resources SVG Mermaid
FHIR export terminologies
FHIR export terminologies SVG Mermaid

Connectors to health records

Connectors stay switched off until an institution has agreed its access: each one needs an agreement and an application identifier. Latest check run against public test servers:

CheckStatus
SMART discovery, Epic sandboxPassed
Epic organisation directoryPassed
Full SMART flow (SMART Health IT launcher)Passed
Send, read back and delete a record (HAPI FHIR)Passed
Epic authorisation with a test patientNot run: access required
PIXm and MHD (test EPR)Not run: access required
Connectors: overview
Connectors: overview SVG Mermaid
SMART on FHIR authorisation with PKCE
SMART on FHIR authorisation with PKCE SVG Mermaid
Dynamic reading and token renewal
Dynamic reading and token renewal SVG Mermaid
Sending the follow-up to a health record
Sending the follow-up to a health record SVG Mermaid
Electronic patient record: PIXm and MHD
Electronic patient record: PIXm and MHD SVG Mermaid

Preparing a connectathon, an integration or a conformance check? Write to the team: we share the technical detail, the profiles used and the validation results.

Write to the team Open the CapabilityStatement

Ready to take action?

Open Trévor💙 Donate