Elation Health · Schema

PatchedPatientLetter

HealthcareUnited StatesElectronic Health RecordsFHIRHL7InteroperabilitySMART on FHIRPrimary CareValue-Based CareEligibilityClinical DataSchedulinge-PrescribingDigital HealthA2A

Properties

Name Type Description
attachments array
body string
category integernull
created_date stringnull
deleted_date stringnull
delivery_date stringnull
document_date string
files arraynull Files attached to this letter. Binary upload: set content_type='application/octet-stream' and provide 'base64_content' (and optional 'original_filename'). When any file uses base64, all files in the s
id integer
is_patient_initiated booleannull
is_processed boolean
letter_type string
patient integer
patient_read_time stringnull
practice integer
send_out boolean
send_to_patient boolean
sign_date stringnull
signed_by integernull The user who signed the letter.
subject string
tags array A list of Document Tags associated with the letter.
viewed_at stringnull
View JSON Schema on GitHub

JSON Schema

elation-health-patched-patient-letter-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/elation-health/main/json-schema/elation-health-patched-patient-letter-schema.json",
  "title": "PatchedPatientLetter",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/elation-health-patient-letters-beta-api-openapi.yml#/components/schemas/PatchedPatientLetter",
  "properties": {
    "attachments": {
      "items": {
        "$ref": "#/$defs/LetterAttachment"
      },
      "type": "array"
    },
    "body": {
      "type": "string"
    },
    "category": {
      "format": "int64",
      "readOnly": true,
      "type": [
        "integer",
        "null"
      ]
    },
    "created_date": {
      "format": "date-time",
      "readOnly": true,
      "type": [
        "string",
        "null"
      ]
    },
    "deleted_date": {
      "format": "date-time",
      "readOnly": true,
      "type": [
        "string",
        "null"
      ]
    },
    "delivery_date": {
      "format": "date-time",
      "type": [
        "string",
        "null"
      ]
    },
    "document_date": {
      "format": "date-time",
      "type": "string"
    },
    "files": {
      "description": "Files attached to this letter. Binary upload: set content_type='application/octet-stream' and provide 'base64_content' (and optional 'original_filename'). When any file uses base64, all files in the same request must use base64. On GET, returns file references.",
      "items": {
        "$ref": "#/$defs/S3RetrievingDocumentFile"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "id": {
      "readOnly": true,
      "type": "integer"
    },
    "is_patient_initiated": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "is_processed": {
      "readOnly": true,
      "type": "boolean"
    },
    "letter_type": {
      "readOnly": true,
      "type": "string"
    },
    "patient": {
      "format": "int64",
      "type": "integer"
    },
    "patient_read_time": {
      "format": "date-time",
      "type": [
        "string",
        "null"
      ]
    },
    "practice": {
      "format": "int64",
      "type": "integer"
    },
    "send_out": {
      "type": "boolean"
    },
    "send_to_patient": {
      "readOnly": true,
      "type": "boolean"
    },
    "sign_date": {
      "format": "date-time",
      "type": [
        "string",
        "null"
      ]
    },
    "signed_by": {
      "description": "The user who signed the letter.",
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "subject": {
      "maxLength": 200,
      "type": "string"
    },
    "tags": {
      "description": "A list of Document Tags associated with the letter.",
      "items": {
        "format": "int64",
        "type": "integer"
      },
      "type": "array"
    },
    "viewed_at": {
      "format": "date-time",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "type": "object",
  "$defs": {
    "AttachmentTypeEnum": {
      "description": "* `Entity` - Entity\n* `RefPanel` - RefPanel\n* `PatientDemog` - PatientDemog\n* `ImmHistory` - ImmHistory\n* `MedsList` - MedsList\n* `CompMedsList` - CompMedsList\n* `WhoHeightChart` - WhoHeightChart\n* `WhoWeightChart` - WhoWeightChart\n* `WhoHcChart` - WhoHcChart\n* `WhoWflChart` - WhoWflChart\n* `CdcHeightChart` - CdcHeightChart\n* `CdcWeightChart` - CdcWeightChart\n* `CdcBmiChart` - CdcBmiChart\n* `CdcHcChart` - CdcHcChart\n* `PremieHeightChart` - PremieHeightChart\n* `PremieWeightChart` - PremieWeightChart\n* `PremieHcChart` - PremieHcChart\n* `DsinfantHeightChart` - DsinfantHeightChart\n* `DsinfantWeightChart` - DsinfantWeightChart\n* `DsinfantHcChart` - DsinfantHcChart\n* `DsHeightChart` - DsHeightChart\n* `DsWeightChart` - DsWeightChart\n* `DsBmiChart` - DsBmiChart\n* `DsHcChart` - DsHcChart",
      "enum": [
        "Entity",
        "RefPanel",
        "PatientDemog",
        "ImmHistory",
        "MedsList",
        "CompMedsList",
        "WhoHeightChart",
        "WhoWeightChart",
        "WhoHcChart",
        "WhoWflChart",
        "CdcHeightChart",
        "CdcWeightChart",
        "CdcBmiChart",
        "CdcHcChart",
        "PremieHeightChart",
        "PremieWeightChart",
        "PremieHcChart",
        "DsinfantHeightChart",
        "DsinfantWeightChart",
        "DsinfantHcChart",
        "DsHeightChart",
        "DsWeightChart",
        "DsBmiChart",
        "DsHcChart"
      ],
      "type": "string"
    },
    "LetterAttachment": {
      "properties": {
        "attachment_type": {
          "$ref": "#/$defs/AttachmentTypeEnum"
        },
        "entity_date": {
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "entity_description": {
          "type": [
            "string",
            "null"
          ]
        },
        "entity_id": {
          "format": "int64",
          "type": "integer"
        },
        "entity_type": {
          "readOnly": true,
          "type": [
            "integer",
            "null"
          ]
        },
        "handout": {
          "format": "int64",
          "type": [
            "integer",
            "null"
          ]
        },
        "id": {
          "readOnly": true,
          "type": "integer"
        },
        "summary": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "attachment_type"
      ],
      "type": "object"
    },
    "S3RetrievingDocumentFile": {
      "properties": {
        "base64_content": {
          "type": "string"
        },
        "content_type": {
          "type": "string"
        },
        "document": {
          "description": "URL to retrieve the document",
          "format": "uri",
          "type": "string"
        },
        "external_content": {},
        "id": {
          "readOnly": true,
          "type": "integer"
        },
        "original_filename": {
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/elation-health-patched-patient-letter"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.