NextGen Healthcare · Schema
Encounter
HealthcareUnited StatesElectronic Health RecordsFHIRHL7InteroperabilitySMART on FHIRUSCDIBulk FHIRPatient Access21st Century Cures
Properties
| Name | Type | Description |
|---|---|---|
| resourceType | string | |
| id | string | The id of the resource. |
| meta | object | Metadata about the resource |
| identifier | array | Identifier(s) by which this encounter is known |
| status | string | describe the encounter status. |
| class | object | Classification of patient encounte |
| type | array | |
| subject | object | |
| participant | array | List of participants involved in the encounter |
| period | object | |
| reasoncode | array | |
| hospitalization | object | |
| location | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/nextgen-healthcare/main/json-schema/nextgen-healthcare-encounter-schema.json",
"title": "Encounter",
"x-generated": "2026-10-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/nextgen-healthcare-encounter-api-openapi.yml#/components/schemas/Encounter",
"type": "object",
"properties": {
"resourceType": {
"type": "string",
"minLength": 1
},
"id": {
"type": "string",
"description": "The id of the resource."
},
"meta": {
"type": "object",
"description": "Metadata about the resource",
"properties": {
"profile": {
"type": "array",
"description": "Profiles this resource claims to conform to",
"items": {
"type": "string"
}
}
},
"required": [
"profile"
]
},
"identifier": {
"type": "array",
"description": "Identifier(s) by which this encounter is known",
"items": {
"type": "object",
"properties": {
"use": {
"type": "string",
"description": "usual | official | temp | secondary | old"
},
"system": {
"type": "string",
"description": "the namespace for the identifier value"
},
"value": {
"type": "string",
"description": "The value that is unique"
}
},
"required": [
"use"
]
}
},
"status": {
"type": "string",
"description": "describe the encounter status."
},
"class": {
"type": "object",
"description": "Classification of patient encounte",
"properties": {
"system": {
"type": "string",
"description": "Identity of the terminology system"
},
"code": {
"type": "string",
"description": "Symbol in syntax defined by the system"
},
"display": {
"type": "string",
"description": "Representation defined by the system"
}
}
},
"type": {
"type": "array",
"items": {
"type": "object",
"properties": {
"coding": {
"type": "array",
"description": "Specific type of encounter",
"items": {
"type": "object",
"properties": {
"system": {
"type": "string"
},
"code": {
"type": "string"
},
"display": {
"type": "string"
}
}
}
},
"text": {
"type": "string"
}
}
}
},
"subject": {
"type": "object",
"properties": {
"reference": {
"type": "string"
}
}
},
"participant": {
"type": "array",
"description": "List of participants involved in the encounter",
"items": {
"type": "object",
"properties": {
"type": {
"type": "array",
"items": {
"type": "object",
"properties": {
"coding": {
"type": "array",
"items": {
"type": "object",
"properties": {
"system": {
"type": "string"
},
"code": {
"type": "string"
},
"display": {
"type": "string"
}
}
}
},
"text": {
"type": "string"
}
}
}
},
"period": {
"type": "object",
"properties": {
"start": {
"type": "string"
},
"end": {
"type": "string"
}
}
},
"individual": {
"type": "object",
"properties": {
"reference": {
"type": "string"
}
}
}
}
}
},
"period": {
"type": "object",
"properties": {
"start": {
"type": "string"
},
"end": {
"type": "string"
}
}
},
"reasoncode": {
"type": "array",
"items": {
"type": "object",
"properties": {
"text": {
"type": "string"
}
}
}
},
"hospitalization": {
"type": "object",
"properties": {
"dischargeDisposition": {
"type": "object",
"properties": {
"coding": {
"type": "array",
"items": {
"type": "object",
"properties": {
"system": {
"type": "string"
},
"code": {
"type": "string"
},
"display": {
"type": "string"
}
}
}
},
"text": {
"type": "string"
}
}
}
}
},
"location": {
"type": "array",
"items": {
"type": "object",
"properties": {
"location": {
"type": "object",
"properties": {
"reference": {
"type": "string"
}
}
}
}
}
}
},
"required": [
"status",
"class",
"location",
"subject",
"resourceType",
"id",
"meta"
]
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/nextgen-healthcare-encounter"
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.