finchnode-com · Schema

TefcaSession

CompanyHealthcareAPIEHROpenData

Properties

Name Type Description
mode string
synthetic boolean
environment string
categories array
id string
object string
status string
patientId string
scenario string
createdAt string
expiresAt string
matches array The synthetic patient match from discovery; empty before discovery and for no-match.
documents array
results array
failures array
consent object
View JSON Schema on GitHub

JSON Schema

finchnode-com-tefca-session-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/finchnode-com/json-schema/finchnode-com-tefca-session-schema.json",
  "title": "TefcaSession",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/finchnode-com-api-openapi.yml#/components/schemas/TefcaSession",
  "type": "object",
  "required": [
    "id",
    "object",
    "mode",
    "synthetic",
    "environment",
    "categories",
    "status",
    "expiresAt",
    "documents",
    "results",
    "failures"
  ],
  "properties": {
    "mode": {
      "type": "string",
      "const": "simulation"
    },
    "synthetic": {
      "type": "boolean",
      "const": true
    },
    "environment": {
      "type": "string",
      "const": "sandbox"
    },
    "categories": {
      "type": "array",
      "minItems": 1,
      "uniqueItems": true,
      "items": {
        "type": "string",
        "enum": [
          "demographics",
          "medications",
          "conditions",
          "labs",
          "vitals",
          "allergies",
          "immunizations",
          "encounters"
        ]
      }
    },
    "id": {
      "type": "string"
    },
    "object": {
      "type": "string",
      "const": "tefca_session"
    },
    "status": {
      "type": "string",
      "enum": [
        "consented",
        "discovered",
        "complete",
        "partial",
        "failed",
        "no-match",
        "revoked"
      ]
    },
    "patientId": {
      "type": "string"
    },
    "scenario": {
      "type": "string",
      "enum": [
        "matched",
        "partial",
        "no-match",
        "unavailable"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "expiresAt": {
      "type": "string",
      "format": "date-time"
    },
    "matches": {
      "type": "array",
      "description": "The synthetic patient match from discovery; empty before discovery and for no-match.",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "patientId": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "synthetic": {
            "type": "boolean",
            "const": true
          }
        }
      }
    },
    "documents": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/TefcaDocument"
      }
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "bundle": {
            "type": "object",
            "description": "FHIR R4 collection for this selected record group."
          }
        }
      }
    },
    "failures": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "consent": {
      "type": "object"
    }
  },
  "$defs": {
    "TefcaDocument": {
      "type": "object",
      "required": [
        "id",
        "title",
        "resourceType",
        "resourceCount",
        "contentType",
        "source"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "resourceType": {
          "type": "string"
        },
        "resourceCount": {
          "type": "integer"
        },
        "contentType": {
          "type": "string",
          "const": "application/fhir+json"
        },
        "source": {
          "type": "string"
        }
      }
    }
  }
}

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/finchnode-com-tefca-session"
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.