{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://api-evangelist.github.io/childrens-hospital-of-philadelphia/json-schema/chop-fhir-observation-schema.json", "title": "CHOP FHIR Observation", "description": "Subset schema for a US Core Observation resource exposed by the CHOP FHIR endpoint.", "type": "object", "required": ["resourceType", "status", "code"], "properties": { "resourceType": { "const": "Observation" }, "id": { "type": "string" }, "status": { "enum": ["registered", "preliminary", "final", "amended", "corrected", "cancelled", "entered-in-error", "unknown"] }, "category": { "type": "array" }, "code": { "type": "object" }, "subject": { "type": "object" }, "effectiveDateTime": { "type": "string", "format": "date-time" }, "valueQuantity": { "type": "object" }, "component": { "type": "array" } } }