{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/elation-health/main/json-schema/elation-health-prescription-fill-schema.json", "title": "PrescriptionFill", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/elation-health-fills-api-openapi.yml#/components/schemas/PrescriptionFill", "properties": { "fill_date": { "format": "date", "type": [ "string", "null" ] }, "fill_status": { "$ref": "#/$defs/FillStatusEnum" }, "id": { "readOnly": true, "type": "integer" }, "medication_order": { "format": "int64", "type": "integer" }, "note_from_pharmacy": { "maxLength": 200, "type": [ "string", "null" ] }, "patient": { "format": "int64", "type": "integer" }, "pharmacy_ncpdpid": { "maxLength": 21, "title": "Pharmacy this fill occurred at", "type": "string" }, "practice": { "format": "int64", "type": "integer" } }, "required": [ "fill_status", "medication_order", "patient", "pharmacy_ncpdpid", "practice" ], "type": "object", "$defs": { "FillStatusEnum": { "description": "* `AH` - Dispensed\n* `AJ` - PartiallyDispensed\n* `AK` - NotDispensed\n* `AL` - Transferred", "enum": [ "AH", "AJ", "AK", "AL" ], "type": "string" } } }