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

## Resource Profile: OHH Public Key Binary

Official URL: https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/ohh-public-key-binary | Version: 0.1.0
Active as of 2025-12-03 | Computable Name: OhhPublicKeyBinary

Binary resource to upload a public key

### Scope and Usage

This Binary upload endpoint can be used to upload your public key to Open HealthHub. This key will be used to encrypt patient data so you/your application can decrypt the patient data using your private key. When uploading to the Binary endpoint, you don’t have to create the whole JSON/XML resource you can simply set the body to the base64 encoded content you want to upload.

Usages:

- CapabilityStatements using this Profile: OHH FHIR API
- This Profile is not used by any profiles in this Implementation Guide

You can also check for usages in the FHIR IG Statistics

### Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

- Differential Table
- Key Elements Table
- Snapshot Table
- Statistics/References
- All

This structure is derived from Binary

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Binary |  | 0..* | Binary | Pure binary content defined by a format other than FHIR
contentType |  | 1..1 | code | MimeType of the binary content Fixed Value: text/plain
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Binary |  | 0..* | Binary | Pure binary content defined by a format other than FHIR
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
contentType | Σ | 1..1 | code | MimeType of the binary content Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed. Fixed Value: text/plain
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Binary.contentType | Base | required | MimeType | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Binary |  | 0..* | Binary | Pure binary content defined by a format other than FHIR
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
contentType | Σ | 1..1 | code | MimeType of the binary content Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed. Fixed Value: text/plain
securityContext | Σ | 0..1 | Reference(Resource) | Identifies another resource to use as proxy when enforcing access control
data |  | 0..1 | base64Binary | The actual content
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Binary.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std.
Binary.contentType | Base | required | MimeType | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`

This structure is derived from Binary

Summary

Fixed: 1 element

Differential View

This structure is derived from Binary

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Binary |  | 0..* | Binary | Pure binary content defined by a format other than FHIR
contentType |  | 1..1 | code | MimeType of the binary content Fixed Value: text/plain
Documentation for this format

Key Elements View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Binary |  | 0..* | Binary | Pure binary content defined by a format other than FHIR
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
contentType | Σ | 1..1 | code | MimeType of the binary content Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed. Fixed Value: text/plain
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Binary.contentType | Base | required | MimeType | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Binary |  | 0..* | Binary | Pure binary content defined by a format other than FHIR
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
Additional Bindings | Purpose
AllLanguages | Max Binding
contentType | Σ | 1..1 | code | MimeType of the binary content Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed. Fixed Value: text/plain
securityContext | Σ | 0..1 | Reference(Resource) | Identifies another resource to use as proxy when enforcing access control
data |  | 0..1 | base64Binary | The actual content
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Binary.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std.
Binary.contentType | Base | required | MimeType | 📍4.0.1 | FHIR Std.

#### Constraints

Id | Grade | Path(s) | Description | Expression
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children | `hasValue() or (children().count() > id.count())`

This structure is derived from Binary

Summary

Fixed: 1 element

Other representations of profile: CSV, Excel, Schematron