コンテンツにスキップ

list-disease-example

病名入力を補助するための、病名の記入例一覧を取得する。設定ディレクトリの disease-example.yml を読み込んで返します。

リクエスト

項目 内容
メソッド GET
パス /api/list-disease-example

GET /api/list-disease-example

レスポンス

DiseaseExample の配列。各要素は病名(byoumei)、前置修飾語(preAdjList)、後置修飾語(postAdjList)を持ちます。

[
  {
    "byoumei": "急性上気道炎",
    "preAdjList": [],
    "postAdjList": ["の疑い"]
  }
]

エラー

ステータス 意味
503 設定ファイルの読み込みに失敗した
500 取得に失敗した