Open Health Hub FHIR Implementation Guide
0.1.0 - v0.1.0

Open Health Hub FHIR Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

CapabilityStatement: OHH Capability Statement

Official URL: https://api.openhealthhub.com/OpenHealthhub/fhir/4/CapabilityStatement/ohh-capability-statement Version: 0.1.0
Active as of 2025-10-13 Computable Name: OHH_FHIR_API

Since we’re not a full-fledged FHIR Resource Server, our supported FHIR interactions and search capabilities are focused on the the workflow around FHIR Questionnaires.

Raw OpenAPI-Swagger Definition file | Download

OHH FHIR API

  • Implementation Guide Version: 0.1.0
  • FHIR Version: 4.0.1
  • Supported Formats: application/fhir+xml, application/fhir+json
  • Published on: 2025-10-13
  • Published by: Open Health Hub

Note 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.

FHIR RESTful Capabilities

Mode: server

Handling versioned resources

Some of our resources (e.g., Questionnaire and PlanDefinition) are versioned. When you retrieve a versioned resource by id, you'll always get the latest version. If you want to get a specific version, you can append the id with a | and the version you want to retrieve. Make sure you URL-encode the | using %7C.

Version-aware updates

The | version above is the business version of a resource and is unrelated to meta.versionId. Resources that support version-aware updates (Subscription) return their current meta.versionId, also as the ETag header. Send this value in an optional If-Match header (e.g. If-Match: W/"1") when updating the resource to prevent overwriting changes made in the meantime.

Summary of System-wide Interactions
  • Supports the transactioninteraction described as follows:

    We currently support batch requests for all our supported resources. Please note that for batch requests there should not be any dependencies between actions in the request. Every action will be handled as a single standalone action.

    For transaction requests we currently only support posting a set of QuestionnaireResponses.

Capabilities by Resource/Profile

Summary

The summary table lists the resources that are part of this configuration, and for each resource it lists:

  • The relevant profiles (if any)
  • The interactions supported by each resource (Read, Search, Update, and Create, are always shown, while VRead, Patch, Delete, History on Instance, or History on Type are only present if at least one of the resources has support for them.
  • The required, recommended, and some optional search parameters (if any).
  • The linked resources enabled for _include
  • The other resources enabled for _revinclude
  • The operations on the resource (if any)
Resource TypeProfileRSUCDSearches_include_revincludeOperations
Binaryhttps://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/ohh-public-key-binaryy
CarePlanSupported Profiles
  OHH Create Care Plan Profile
  OHH Update Care Plan Profile
  OHH Retrieve Care Plan Profile
yyyyy_id, _since, identifier, instantiates-canonical, patient.email, patient.identifier, statusCarePlan:care-team, CareTeam:participant
CareTeamhttps://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/ohh-care-teamyy_idCareTeam:participant
OperationDefinitionhttp://hl7.org/fhir/StructureDefinition/OperationDefinitiony
PlanDefinitionhttps://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/ohh-plan-definitionyy_since, context, definition, publisher, _id
Practitionerhttps://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/practitioner-with-keyyy
Questionnairehttps://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/ohh-questionnaireyyurl, version
QuestionnaireResponsehttps://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/EncryptedQuestionnaireResponseyyy_since, based-on, based-on.instantiates-canonical, patient.identifier, questionnaire, status*, QuestionnaireResponse:based-on.instantiates-canonical, QuestionnaireResponse:questionnaire
Subscriptionhttps://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/ohh-subscriptionyyyyycriteria
TaskSupported Profiles
  OHH Questionnaire Task Profile
  OHH Participant Task Profile
yyybased-on, based-on.instantiates-canonical, code, patient.identifier, status

Profile Conformance
SHALL
Reference Policy

Interaction summary
  • Supports create.

Core FHIR Resource
CarePlan
Reference Policy
Interaction summary
  • Supports update, search-type, read, delete, create.

Search Parameters
ConformanceParameterTypeDocumentation
SHALL_idstring

The ID of the resource

SHALL_sincedate

CarePlan has been updated after this date/time

SHALLidentifiertoken

Identifier of the CarePlan

SHALLinstantiates-canonicalreference

Instantiates FHIR PlanDefinition

SHALLpatient.emailtoken

Email of patient subject who the CarePlan is for

SHALLpatient.identifiertoken

Identifier of patient subject who the CarePlan is for

SHALLstatustoken

The status of the CarePlan

 
Base System Profile
Ohh Care Team Profile
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • Supports search-type, read.

Search Parameters
ConformanceParameterTypeDocumentation
SHALL_idstring

The ID of the resource

 
Base System Profile
OperationDefinition
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • Supports read.

Base System Profile
OHH Plan Definition Profile
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • Supports search-type, read.

Search Parameters
ConformanceParameterTypeDocumentation
SHALL_sincedate
SHALLcontexttoken

The OHH FHIR Viewer context

SHALLdefinitionreference

Activity or plan definitions used by plan definition

SHALLpublisherstring

Name of the publisher of the plan definition

SHALL_idtoken
 
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • Supports search-type, read.

Base System Profile
Ohh Questionnaire Profile
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • Supports search-type, read.

Search Parameters
ConformanceParameterTypeDocumentation
SHALLurluri
SHALLversionnumber
 
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • Supports search-type, read, create.

Search Parameters
ConformanceParameterTypeDocumentation
SHALL_sincedate
SHALLbased-onreference

CarePlan this questionnaire response is part of, e.g. CarePlan/123. Cannot be combined with based-on.instantiates-canonical

SHALLbased-on.instantiates-canonicalreference

PlanDefinition fulfilled by this questionnaire response. Cannot be combined with based-on

SHALLpatient.identifiertoken

The patient that is the subject of the questionnaire response

SHALLquestionnairereference

The questionnaire the answers are provided for

SHALLstatustoken

The status of the questionnaire response

 
Base System Profile
OHH Subscription Profile
Profile Conformance
SHALL
Reference Policy

Interaction summary
  • Supports search-type, read, delete, create
    update

    An optional If-Match header containing the current meta.versionId of the Subscription prevents overwriting changes made in the meantime.

Search Parameters
ConformanceParameterTypeDocumentation
SHALLcriteriastring

The search rules used to determine when to send a notification

 
Core FHIR Resource
Task
Reference Policy
Interaction summary
  • Supports read, search-type
    update

    Only the status of a notification task (ohh-participant-task with code PUSH_NOTIFICATION) can be updated, and a call task (code CALL_PATIENT) can be completed; all other elements are ignored. The status of a notification can no longer be changed once the patient has completed a questionnaire of the CarePlan.

Documentation

The tasks of the patient and caregivers of a CarePlan and the call tasks of its care provider. A questionnaire or notification Task has the same id as the activity.detail.id in the CarePlan. Search results are sorted newest first; use _sort=authored-on for oldest first.

Search Parameters
ConformanceParameterTypeDocumentation
SHALLbased-onreference

CarePlan this task is part of, e.g. CarePlan/123. Cannot be combined with based-on.instantiates-canonical

SHALLbased-on.instantiates-canonicalreference

PlanDefinition of the CarePlan this task is part of. Cannot be combined with based-on

SHALLcodetoken

The kind of task: complete-questionnaire, PUSH_NOTIFICATION or CALL_PATIENT

SHALLpatient.identifiertoken

Identifier of the patient the task is for

SHALLstatustoken

The status of the task: requested, ready, in-progress, completed, cancelled or failed