# OHH Public Key Binary - Open Health Hub FHIR Implementation Guide v0.1.0

* [**Table of Contents**](toc.md)
* [**Artifacts Summary**](artifacts.md)
* **OHH Public Key Binary**

## 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](CapabilityStatement-ohh-capability-statement.md)
* This Profile is not used by any profiles in this Implementation Guide

You can also check for [usages in the FHIR IG Statistics](https://packages2.fhir.org/xig/ohh-fhir|current/StructureDefinition/ohh-public-key-binary)

### Formal Views of Profile Content

 [Description of Profiles, Differentials, Snapshots and how the different presentations work](http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#structure-definitions). 

 

Other representations of profile: [CSV](StructureDefinition-ohh-public-key-binary.csv), [Excel](StructureDefinition-ohh-public-key-binary.xlsx), [Schematron](StructureDefinition-ohh-public-key-binary.sch) 



## Resource Content

```json
{
  "resourceType" : "StructureDefinition",
  "id" : "ohh-public-key-binary",
  "url" : "https://api.openhealthhub.com/OpenHealthhub/fhir/4/StructureDefinition/ohh-public-key-binary",
  "version" : "0.1.0",
  "name" : "OhhPublicKeyBinary",
  "title" : "OHH Public Key Binary Profile",
  "status" : "active",
  "date" : "2025-12-03T12:00:57+00:00",
  "publisher" : "Open Health Hub",
  "contact" : [
    {
      "name" : "Open Health Hub",
      "telecom" : [
        {
          "system" : "url",
          "value" : "https://www.openhealthhub.com"
        },
        {
          "system" : "email",
          "value" : "support@openhealthhub.com"
        }
      ]
    }
  ],
  "description" : "Binary resource to upload a public key",
  "fhirVersion" : "4.0.1",
  "mapping" : [
    {
      "identity" : "rim",
      "uri" : "http://hl7.org/v3",
      "name" : "RIM Mapping"
    }
  ],
  "kind" : "resource",
  "abstract" : false,
  "type" : "Binary",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Binary",
  "derivation" : "constraint",
  "differential" : {
    "element" : [
      {
        "id" : "Binary",
        "path" : "Binary"
      },
      {
        "id" : "Binary.contentType",
        "path" : "Binary.contentType",
        "fixedCode" : "text/plain"
      }
    ]
  }
}

```
