Amigo · Schema

FhirImportResponse

CompanyArtificial IntelligenceHealthcareAI AgentsVoiceClinicalConversational AIFHIRElectronic Health RecordsHIPAA

Properties

Name Type Description
events_created integer
events_skipped integer
events_updated integer
entities_created integer
entities_updated integer
error_count integer
errors array
errors_truncated boolean
unsupported_resource_count integer
unsupported_resources array
unsupported_resources_truncated boolean
upsert_semantics string FHIR import uses workspace + resourceType + id as the natural key. Identical re-uploads can be deduped; changed resources supersede prior current events.
absence_semantics string Resources omitted from a later bundle are not deleted or archived by import.
View JSON Schema on GitHub

JSON Schema

amigo-fhir-import-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amigo/main/json-schema/amigo-fhir-import-response-schema.json",
  "title": "FhirImportResponse",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amigo-fhir-api-openapi.yml#/components/schemas/FhirImportResponse",
  "properties": {
    "events_created": {
      "type": "integer",
      "title": "Events Created"
    },
    "events_skipped": {
      "type": "integer",
      "title": "Events Skipped",
      "default": 0
    },
    "events_updated": {
      "type": "integer",
      "title": "Events Updated",
      "default": 0
    },
    "entities_created": {
      "type": "integer",
      "title": "Entities Created"
    },
    "entities_updated": {
      "type": "integer",
      "title": "Entities Updated"
    },
    "error_count": {
      "type": "integer",
      "title": "Error Count",
      "default": 0
    },
    "errors": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "maxItems": 1000,
      "title": "Errors"
    },
    "errors_truncated": {
      "type": "boolean",
      "title": "Errors Truncated",
      "default": false
    },
    "unsupported_resource_count": {
      "type": "integer",
      "title": "Unsupported Resource Count",
      "default": 0
    },
    "unsupported_resources": {
      "items": {
        "$ref": "#/$defs/FhirUnsupportedResourceItem"
      },
      "type": "array",
      "maxItems": 1000,
      "title": "Unsupported Resources"
    },
    "unsupported_resources_truncated": {
      "type": "boolean",
      "title": "Unsupported Resources Truncated",
      "default": false
    },
    "upsert_semantics": {
      "type": "string",
      "const": "same_resource_id_upsert",
      "title": "Upsert Semantics",
      "description": "FHIR import uses workspace + resourceType + id as the natural key. Identical re-uploads can be deduped; changed resources supersede prior current events.",
      "default": "same_resource_id_upsert"
    },
    "absence_semantics": {
      "type": "string",
      "const": "absent_resources_persist",
      "title": "Absence Semantics",
      "description": "Resources omitted from a later bundle are not deleted or archived by import.",
      "default": "absent_resources_persist"
    }
  },
  "type": "object",
  "required": [
    "events_created",
    "entities_created",
    "entities_updated"
  ],
  "$defs": {
    "FhirUnsupportedResourceItem": {
      "properties": {
        "resource_type": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 128
            },
            {
              "type": "null"
            }
          ],
          "title": "Resource Type"
        },
        "resource_id": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 512
            },
            {
              "type": "null"
            }
          ],
          "title": "Resource Id"
        },
        "location": {
          "type": "string",
          "maxLength": 128,
          "title": "Location"
        },
        "reason": {
          "type": "string",
          "maxLength": 512,
          "title": "Reason"
        }
      },
      "type": "object",
      "required": [
        "location",
        "reason"
      ],
      "title": "FhirUnsupportedResourceItem"
    }
  }
}

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/amigo-fhir-import-response"
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.