Elation Health · Schema

DiscontinueMedOrder

HealthcareUnited StatesElectronic Health RecordsFHIRHL7InteroperabilitySMART on FHIRPrimary CareValue-Based CareEligibilityClinical DataSchedulinge-PrescribingDigital HealthA2A

Properties

Name Type Description
chart_date string The timestamp at which this discontinue was available in the patient's chart
created_date stringnull The timestamp at which this discontinue was created in our database.
deleted_date stringnull The timestamp at which the discontinue was marked as deleted, usually occurs when a user wants to 'undiscontinue' the medication.
discontinue_date string The date when the medication was discontinued.
document_date string The timestamp at which we've documented this discontinue occurred.
documenting_personnel integer The user who documented this discontinue.
id integer The id of the discontinue medication.
is_documented boolean
last_medication_order integernull The id of the last medication ordered before we discontinued this thread of med orders.
med_order integer The id of the medication which we discontinued.
medication object The medication that was discontinued.
patient integer The id of the patient chart.
practice integer The id of the practice.
prescribing_physician integer The id of the physician who prescribed the medication.
reason stringnull The discontinue reason.
signed_by integer
signed_date stringnull The timestamp at which a user signed off on the discontinue.
supervising_physician integernull If the prescribing physician requires supervision, this will reference the physician who is in that role.
thread integer
View JSON Schema on GitHub

JSON Schema

elation-health-discontinue-med-order-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/elation-health/main/json-schema/elation-health-discontinue-med-order-schema.json",
  "title": "DiscontinueMedOrder",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/elation-health-discontinued-medications-api-openapi.yml#/components/schemas/DiscontinueMedOrder",
  "properties": {
    "chart_date": {
      "description": "The timestamp at which this discontinue was available in the patient's chart",
      "format": "date-time",
      "type": "string"
    },
    "created_date": {
      "description": "The timestamp at which this discontinue was created in our database.",
      "format": "date-time",
      "readOnly": true,
      "type": [
        "string",
        "null"
      ]
    },
    "deleted_date": {
      "description": "The timestamp at which the discontinue was marked as deleted, usually occurs when a user wants to 'undiscontinue' the medication.",
      "format": "date-time",
      "readOnly": true,
      "type": [
        "string",
        "null"
      ]
    },
    "discontinue_date": {
      "description": "The date when the medication was discontinued.",
      "format": "date",
      "type": "string"
    },
    "document_date": {
      "description": "The timestamp at which we've documented this discontinue occurred.",
      "format": "date-time",
      "type": "string"
    },
    "documenting_personnel": {
      "description": "The user who documented this discontinue.",
      "format": "int64",
      "type": "integer"
    },
    "id": {
      "description": "The id of the discontinue medication.",
      "readOnly": true,
      "type": "integer"
    },
    "is_documented": {
      "type": "boolean"
    },
    "last_medication_order": {
      "description": "The id of the last medication ordered before we discontinued this thread of med orders.",
      "readOnly": true,
      "type": [
        "integer",
        "null"
      ]
    },
    "med_order": {
      "description": "The id of the medication which we discontinued.",
      "format": "int64",
      "type": "integer"
    },
    "medication": {
      "allOf": [
        {
          "$ref": "#/$defs/Medication"
        }
      ],
      "description": "The medication that was discontinued."
    },
    "patient": {
      "description": "The id of the patient chart.",
      "format": "int64",
      "type": "integer"
    },
    "practice": {
      "description": "The id of the practice.",
      "format": "int64",
      "type": "integer"
    },
    "prescribing_physician": {
      "description": "The id of the physician who prescribed the medication.",
      "format": "int64",
      "type": "integer"
    },
    "reason": {
      "description": "The discontinue reason.",
      "type": [
        "string",
        "null"
      ]
    },
    "signed_by": {
      "format": "int64",
      "readOnly": true,
      "type": "integer"
    },
    "signed_date": {
      "description": "The timestamp at which a user signed off on the discontinue.",
      "format": "date-time",
      "type": [
        "string",
        "null"
      ]
    },
    "supervising_physician": {
      "description": "If the prescribing physician requires supervision, this will reference the physician who is in that role.",
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "thread": {
      "format": "int64",
      "type": "integer"
    }
  },
  "required": [
    "med_order"
  ],
  "type": "object",
  "$defs": {
    "Medication": {
      "properties": {
        "active_ndcs": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "brand_name": {
          "readOnly": true,
          "type": "string"
        },
        "created_date": {
          "format": "date-time",
          "readOnly": true,
          "type": [
            "string",
            "null"
          ]
        },
        "creation_type": {
          "allOf": [
            {
              "$ref": "#/$defs/MedicationDrugType"
            }
          ],
          "default": "user",
          "readOnly": true
        },
        "form": {
          "readOnly": true,
          "type": "string"
        },
        "generic_name": {
          "readOnly": true,
          "type": "string"
        },
        "id": {
          "description": "The id of the medication.",
          "format": "int64",
          "type": "integer"
        },
        "is_controlled": {
          "default": false,
          "description": "Whether the drug is a controlled substance or not.",
          "type": "boolean"
        },
        "market_end_date": {
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "name": {
          "description": "The name that will display for the medication in the search and when referenced by the prescription or documented med.",
          "type": "string"
        },
        "ndcs": {
          "description": "The NDCs of the medication (must contain only one ndc code when creating).",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "obsolete_date": {
          "description": "The date at which this practice medication became obsolete.",
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "practice": {
          "description": "The practice that created the medication. `null` for medications from the standard formulary.",
          "format": "int64",
          "type": "integer"
        },
        "route": {
          "readOnly": true,
          "type": "string"
        },
        "rxnorm_cuis": {
          "description": "The Rxnorm.cui code of the medication (must contain only one cui code when creating).",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "strength": {
          "description": "The strength of the drug, e.g. 40mg.",
          "maxLength": 255,
          "type": [
            "string",
            "null"
          ]
        },
        "type": {
          "allOf": [
            {
              "$ref": "#/$defs/MedicationType"
            }
          ],
          "default": "prescription",
          "description": "Whether the practice medication is an OTC or Prescription drug.\n\n* `otc` - otc\n* `prescription` - prescription\n* `discontinued` - discontinued"
        }
      },
      "type": "object"
    },
    "MedicationDrugType": {
      "description": "* `user` - user\n* `medispan` - medispan\n* `ss` - surescripts\n* `disp` - dispensary",
      "enum": [
        "user",
        "medispan",
        "ss",
        "disp"
      ],
      "type": "string"
    },
    "MedicationType": {
      "description": "* `otc` - otc\n* `prescription` - prescription\n* `discontinued` - discontinued",
      "enum": [
        "otc",
        "prescription",
        "discontinued"
      ],
      "type": "string"
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/elation-health-discontinue-med-order"
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.