{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/nextgen-healthcare/main/json-schema/nextgen-healthcare-observation-bundled-schema.json", "title": "ObservationBundled", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/nextgen-healthcare-observation-api-openapi.yml#/components/schemas/ObservationBundled", "type": "object", "properties": { "resourceType": { "type": "string", "minLength": 1 }, "id": { "type": "string", "minLength": 1, "description": "The id of the resource with prefix values HX | VS | LR with hyphen.Example HX-123" }, "meta": { "type": "object", "description": "Metadata about the resource", "properties": { "lastUpdated": { "type": "string", "format": "date-time" } }, "required": [ "meta" ] }, "type": { "type": "string", "minLength": 1, "description": "Type of Search" }, "total": { "type": "integer", "description": "Number of Consitions in entry field" }, "link": { "type": "array", "items": { "type": "object", "properties": { "relation": { "type": "string", "minLength": 1, "description": "FHIR URI of respective observation resource in entry" }, "url": { "type": "string" } } } }, "entry": { "type": "array", "items": { "type": "object", "properties": { "fullUrl": { "type": "string", "minLength": 1, "description": "FHIR URI of respective Condition resource in entry" }, "resource": { "$ref": "#/$defs/Observation" } } } } }, "required": [ "resourceType", "id", "meta", "type", "total", "link", "entry" ], "$defs": { "Observation": { "type": "object", "properties": { "resourceType": { "type": "string", "minLength": 1 }, "id": { "type": "string", "minLength": 1, "description": "The id of the resource with prefix values HX | VS | LR with hyphen.Example HX-123" }, "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" ] }, "text": { "type": "object", "properties": { "status": { "type": "string" }, "div": { "type": "string" } }, "required": [ "text" ] }, "status": { "type": "string", "minLength": 1 }, "category": { "type": "array", "items": { "type": "object", "properties": { "coding": { "type": "array", "items": { "type": "object", "properties": { "system": { "type": "string", "minLength": 1, "description": "Identity of the terminology 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": "array", "items": { "type": "object", "properties": { "coding": { "type": "array", "items": { "type": "object", "properties": { "system": { "type": "string", "minLength": 1, "description": "Identity of the terminology 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" } }, "required": [ "subject" ] }, "effectiveDateTime": { "type": "string", "format": "date-time" }, "issued": { "type": "string", "format": "date-time" }, "valueCodeableConcept": { "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" ] }, "interpretation": { "type": "object", "description": "Codes identifying interpretations of observations. See \"http://hl7.org/fhir/ValueSet/observation-interpretation\"", "properties": { "coding": { "type": "array", "items": { "type": "object", "properties": { "system": { "type": "string" }, "code": { "type": "string" }, "display": { "type": "string" } } } } } } }, "required": [ "resourceType", "id", "meta", "text", "status", "category", "code", "subject", "effectiveDateTime", "issued", "valueCodeableConcept" ] } } }