Skip to main content
GET
/
api
/
v1
/
info
/
orders
Gets all supported order metadata.
curl --request GET \
  --url https://sdp.suki-stage.com/api/v1/info/orders \
  --header 'sdp_suki_token: <sdp_suki_token>'
{
  "coding_systems": [
    {
      "code": "RXCUI"
    }
  ],
  "dosage_units": [
    {
      "code": "TAB"
    }
  ],
  "encounter_relations": [
    {
      "code": "CURRENT_ENCOUNTER"
    }
  ],
  "frequency_types": [
    {
      "code": "ONE_A_DAY"
    }
  ],
  "origins": [
    {
      "code": "SUKI_AMBIENT"
    }
  ],
  "statuses": [
    {
      "code": "ACTIVE"
    }
  ],
  "timings": [
    {
      "code": "WITH_MEALS"
    }
  ]
}
Use this endpoint to get supported metadata for medication orders in one response, including coding systems, dosage units, frequency types, timings, statuses, origins, and encounter relations. For more information about medication orders, refer to the Medication orders.

Code examples

import requests

url = "https://sdp.suki.ai/api/v1/info/orders"
headers = {
    "sdp_suki_token": "<sdp_suki_token>"
}

response = requests.get(url, headers=headers)

if response.status_code == 200:
    order_info = response.json()
    print("Medication order metadata:")
    print(f"  Coding systems: {len(order_info.get('coding_systems', []))}")
    print(f"  Dosage units: {len(order_info.get('dosage_units', []))}")
    print(f"  Encounter relations: {len(order_info.get('encounter_relations', []))}")
    print(f"  Frequency types: {len(order_info.get('frequency_types', []))}")
    print(f"  Origins: {len(order_info.get('origins', []))}")
    print(f"  Statuses: {len(order_info.get('statuses', []))}")
    print(f"  Timings: {len(order_info.get('timings', []))}")
else:
    print(f"Failed to get medication order metadata: {response.status_code}")
    print(response.json())

Headers

sdp_suki_token
string
required

sdp_suki_token

Response

Success Response

Response body for the /info/orders endpoint

coding_systems
object[]

Information about supported medication coding systems

dosage_units
object[]

Information about supported dosage units

encounter_relations
object[]

Information about supported order encounter relations

frequency_types
object[]

Information about supported frequency types

origins
object[]

Information about supported order origins

statuses
object[]

Information about supported medication order statuses

timings
object[]

Information about supported medication timings

Last modified on April 20, 2026