{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/nextgen-healthcare/main/json-schema/nextgen-healthcare-condition-schema.json", "title": "Condition", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/nextgen-healthcare-condition-api-openapi.yml#/components/schemas/Condition", "type": "object", "properties": { "resourceType": { "type": "string", "minLength": 1 }, "id": { "type": "string", "minLength": 1, "description": "id of the resource" }, "meta": { "type": "object", "description": "Metadata about the resource", "properties": { "profile": { "description": "Profiles this resource claims to conform to", "type": "array", "items": { "type": "string" } } }, "required": [ "profile" ] }, "clinicalStatus": { "type": "object", "properties": { "coding": { "type": "array", "items": { "type": "object", "properties": { "system": { "type": "string", "minLength": 1, "description": "Symbol in syntax defined by the system" }, "code": { "type": "string", "minLength": 1, "description": "Symbol in syntax defined by the system" }, "display": { "type": "string", "minLength": 1, "description": "Representation defined by the system" } }, "required": [ "display", "system" ] }, "description": "Code defined by a terminology system" }, "text": { "type": "string", "minLength": 1, "description": "Plain text representation of the concept" } }, "required": [ "coding", "text" ] }, "verificationStatus": { "type": "object", "properties": { "coding": { "type": "array", "items": { "type": "object", "properties": { "system": { "type": "string", "minLength": 1, "description": "Symbol in syntax defined by the system" }, "code": { "type": "string", "minLength": 1, "description": "Symbol in syntax defined by the system" }, "display": { "type": "string", "minLength": 1, "description": "Representation defined by the system" } }, "required": [ "display", "system" ] }, "description": "Code defined by a terminology system" }, "text": { "type": "string", "minLength": 1, "description": "Plain text representation of the concept" } }, "required": [ "coding", "text" ] }, "category": { "type": "array", "items": { "type": "object", "properties": { "coding": { "type": "array", "items": { "type": "object", "properties": { "system": { "type": "string", "minLength": 1, "description": "Symbol in syntax defined by the system" }, "code": { "type": "string", "minLength": 1, "description": "Symbol in syntax defined by the system" }, "display": { "type": "string", "minLength": 1, "description": "Representation defined by the system" } }, "required": [ "display", "system" ] }, "description": "Code defined by a terminology system" }, "text": { "type": "string", "minLength": 1, "description": "Plain text representation of the concept" } }, "required": [ "coding", "text" ] } }, "code": { "type": "object", "properties": { "coding": { "type": "array", "items": { "type": "object", "properties": { "system": { "type": "string", "minLength": 1, "description": "Symbol in syntax defined by the system" }, "code": { "type": "string", "minLength": 1, "description": "Symbol in syntax defined by the system" }, "display": { "type": "string", "minLength": 1, "description": "Representation defined by the system" } }, "required": [ "display", "system" ] }, "description": "Code defined by a terminology system" }, "text": { "type": "string", "minLength": 1, "description": "Plain text representation of the concept" } }, "required": [ "coding", "text" ] }, "subject": { "type": "object", "properties": { "reference": { "type": "string", "minLength": 1, "description": "Literal reference, Relative, internal or absolute URL" }, "display": { "type": "string", "minLength": 1, "description": "Text alternative for the resource" } }, "required": [ "reference" ] }, "encounter": { "type": "object", "properties": { "reference": { "type": "string", "minLength": 1, "description": "Literal reference, Relative, internal or absolute URL" }, "display": { "type": "string", "minLength": 1, "description": "Text alternative for the resource" } }, "required": [ "reference" ] }, "onsetDateTime": { "type": "string", "minLength": 1, "description": "Date in format - YYYY-MM-DDThh:mm:ss+zz" } }, "required": [ "resourceType", "id", "meta", "clinicalStatus", "verificationStatus", "category", "code", "subject", "onsetDateTime" ] }