Satoc commited on
Commit
9754890
·
1 Parent(s): c6aed6b
OpenAITools/JRCTTools.py ADDED
@@ -0,0 +1,559 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from selenium import webdriver
2
+ from selenium.webdriver.common.by import By
3
+ from selenium.webdriver.support.ui import WebDriverWait
4
+ from selenium.webdriver.support import expected_conditions as EC
5
+ import csv
6
+
7
+
8
+ from selenium import webdriver
9
+ from selenium.webdriver.common.by import By
10
+ from selenium.webdriver.support.ui import WebDriverWait
11
+ from selenium.webdriver.support import expected_conditions as EC
12
+ import csv
13
+
14
+ from selenium.common.exceptions import ElementClickInterceptedException, TimeoutException
15
+
16
+ import pandas as pd
17
+ import requests
18
+ from bs4 import BeautifulSoup
19
+ import time
20
+ import unicodedata
21
+ import re
22
+ import ast
23
+ import torch
24
+
25
+
26
+ from selenium import webdriver
27
+ from selenium.webdriver.common.by import By
28
+ from selenium.webdriver.support.ui import WebDriverWait
29
+ from selenium.webdriver.support import expected_conditions as EC
30
+ from selenium.common.exceptions import ElementClickInterceptedException
31
+
32
+
33
+ def fetch_clinical_trials(
34
+ disease_name="",
35
+ freeword="",
36
+ include_not_yet_recruiting=False,
37
+ include_suspended=False,
38
+ specific_clinical_research=True,
39
+ corporate_clinical_trial=True,
40
+ physician_initiated_clinical_trial=True,
41
+ ):
42
+ """
43
+ 指定された条件に基づいてjRCTから臨床試験情報を取得します。
44
+
45
+ Args:
46
+ disease_name (str): 対象疾患名(例: "がん 神経膠腫 骨髄腫")
47
+ freeword (str): フリーワード検索(例: "免疫療法")
48
+ include_not_yet_recruiting (bool): 募集前の試験も含める場合はTrue。
49
+ include_suspended (bool): 募集中断を含める場合はTrue。
50
+ specific_clinical_research (bool): 特定臨床研究を含める場合はTrue。
51
+ corporate_clinical_trial (bool): 企業治験を含める場合はTrue。
52
+ physician_initiated_clinical_trial (bool): 医師主導治験を含める場合はTrue。
53
+
54
+ Returns:
55
+ list: 検索結果のリスト([試験ID, タイトル, 対象疾患, 進捗状況, 日付, リンク])
56
+ """
57
+ # WebDriverを初期化
58
+ driver = webdriver.Chrome() # 必要に応じてChromeDriverを設定
59
+
60
+ all_results = []
61
+
62
+ try:
63
+ # jRCTの検索ページにアクセス
64
+ driver.get("https://jrct.niph.go.jp/search")
65
+
66
+ # 対象疾患名を入力
67
+ if disease_name:
68
+ disease_field = WebDriverWait(driver, 10).until(
69
+ EC.presence_of_element_located((By.ID, "reg-plobrem-1"))
70
+ )
71
+ disease_field.send_keys(disease_name)
72
+
73
+ # 対象疾患名の条件を「or」に設定
74
+ condition_select = driver.find_element(By.ID, "reg-plobrem-type")
75
+ condition_select.find_element(By.CSS_SELECTOR, "option[value='1']").click()
76
+
77
+ # フリーワード検索を入力
78
+ if freeword:
79
+ freeword_field = WebDriverWait(driver, 10).until(
80
+ EC.presence_of_element_located((By.ID, "demo-1"))
81
+ )
82
+ freeword_field.send_keys(freeword)
83
+
84
+ # フリーワード検索の条件を「or」に設定
85
+ condition_select = driver.find_element(By.ID, "others")
86
+ condition_select.find_element(By.CSS_SELECTOR, "option[value='1']").click()
87
+
88
+ # 募集中を選択
89
+ recruitment_checkbox = driver.find_element(By.ID, "reg-recruitment-2")
90
+ recruitment_checkbox.click()
91
+
92
+ # 募集前も含める場合
93
+ if include_not_yet_recruiting:
94
+ not_yet_checkbox = driver.find_element(By.ID, "reg-recruitment-1")
95
+ not_yet_checkbox.click()
96
+
97
+ # 募集中断を選択
98
+ if include_suspended:
99
+ suspended_checkbox = driver.find_element(By.ID, "reg-recruitment-3")
100
+ suspended_checkbox.click()
101
+
102
+ # 特定臨床研究を選択
103
+ if specific_clinical_research:
104
+ specific_checkbox = driver.find_element(By.ID, "is-specific1")
105
+ specific_checkbox.click()
106
+
107
+ # 企業治験を選択
108
+ if corporate_clinical_trial:
109
+ corporate_checkbox = driver.find_element(By.ID, "is-specific3")
110
+ corporate_checkbox.click()
111
+
112
+ # 医師主導治験を選択
113
+ if physician_initiated_clinical_trial:
114
+ physician_checkbox = driver.find_element(By.ID, "is-specific7")
115
+ physician_checkbox.click()
116
+
117
+ # 検索ボタンをクリック
118
+ try:
119
+ search_button = driver.find_element(By.NAME, "button_type")
120
+ driver.execute_script("arguments[0].scrollIntoView();", search_button) # ボタンを画面内にスクロール
121
+ WebDriverWait(driver, 10).until(EC.element_to_be_clickable((By.NAME, "button_type"))).click()
122
+ except ElementClickInterceptedException:
123
+ print("検索ボタンがクリックできないため、JavaScriptでクリックします。")
124
+ driver.execute_script("arguments[0].click();", search_button)
125
+
126
+ # ページネーション対応ループ
127
+ while True:
128
+ # 現在のページの結果がロードされるのを待機
129
+ WebDriverWait(driver, 10).until(
130
+ EC.presence_of_element_located((By.CSS_SELECTOR, "table tbody tr"))
131
+ )
132
+
133
+ # 現在のページの結果を取得
134
+ rows = driver.find_elements(By.CSS_SELECTOR, "table tbody tr")
135
+ for row in rows:
136
+ columns = row.find_elements(By.TAG_NAME, "td")
137
+ if len(columns) > 4:
138
+ # 試験情報をリストに追加
139
+ trial_id = columns[0].text
140
+ title = columns[1].text
141
+ condition = columns[2].text
142
+ status = columns[3].text
143
+ date = columns[4].text
144
+
145
+ # リンクを取得(エラー処理を追加)
146
+ try:
147
+ link = columns[1].find_element(By.TAG_NAME, "a").get_attribute("href")
148
+ except Exception:
149
+ link = "リンク取得エラー"
150
+
151
+ all_results.append([trial_id, title, condition, status, date, link])
152
+
153
+ # ページネーションの確認
154
+ try:
155
+ current_page = driver.find_element(By.CSS_SELECTOR, "ul.pagination li.active").text
156
+ print(f"{current_page} ページ目を処理しました。")
157
+ except Exception:
158
+ print("ページネーションが存在しません。全ての結果を取得しました。")
159
+ break
160
+
161
+ # 次ページボタンのリストを取得
162
+ pagination_buttons = driver.find_elements(By.CSS_SELECTOR, "ul.pagination li a")
163
+ next_button = None
164
+ for button in pagination_buttons:
165
+ if button.text.isdigit() and int(button.text) > int(current_page):
166
+ next_button = button
167
+ break
168
+
169
+ if next_button:
170
+ try:
171
+ driver.execute_script("arguments[0].scrollIntoView();", next_button) # ボタンを画面内にスクロール
172
+ WebDriverWait(driver, 10).until(EC.element_to_be_clickable((By.LINK_TEXT, next_button.text))).click()
173
+ except ElementClickInterceptedException:
174
+ print("次ページボタンがクリックできないため、JavaScriptでクリックします。")
175
+ driver.execute_script("arguments[0].click();", next_button)
176
+ WebDriverWait(driver, 10).until(EC.staleness_of(rows[0])) # ページが変わるまで待機
177
+ else:
178
+ print("次のページはありません。全ての結果を取得しました。")
179
+ break
180
+
181
+ finally:
182
+ # ブラウザを閉じる
183
+ driver.quit()
184
+
185
+ return all_results
186
+
187
+
188
+
189
+ def scrape_jrct_all_details(url):
190
+ """
191
+ 指定されたjRCT URLから必要なすべての情報を抽出します。
192
+ """
193
+
194
+ def normalize_text(text):
195
+ if not text:
196
+ return ""
197
+ # Unicode正規化 + 余分な空白除去
198
+ text = unicodedata.normalize('NFKC', text)
199
+ return " ".join(text.split())
200
+
201
+ # リクエストを送信
202
+ headers = {
203
+ "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36"
204
+ }
205
+ try:
206
+ response = requests.get(url, headers=headers, timeout=10)
207
+ response.raise_for_status()
208
+ except requests.RequestException as e:
209
+ print(f"URLリクエストに失敗しました: {url} - エラー: {e}")
210
+ return {"URL": url, "エラー": "リクエスト失敗"}
211
+
212
+ soup = BeautifulSoup(response.text, 'html.parser')
213
+
214
+ data = {"URL": url}
215
+
216
+ def extract_label_data(label_text, label_en=None):
217
+ """
218
+ 特定のラベルに対応するデータを抽出するヘルパー関数
219
+
220
+ 複数の候補があった場合は、すべて取得してからフィルタする方式をとる。
221
+ """
222
+ results = []
223
+ # 日本語ラベルと英語ラベルが両方指定されていれば、両方含む行を優先的に探す
224
+ combined_search = None
225
+ if label_en:
226
+ combined_search = f"{label_text} / {label_en}"
227
+
228
+ # ページ内のすべての<label>を探索
229
+ for l in soup.find_all('label'):
230
+ lt = normalize_text(l.get_text())
231
+ # combined_searchが利用可能ならまず完全な結合形でマッチを試みる
232
+ # なければ従来通りlabel_textをinでマッチ
233
+ if combined_search:
234
+ if combined_search in lt:
235
+ th = l.find_parent('th')
236
+ if not th:
237
+ continue
238
+ tr = th.find_parent('tr')
239
+ if not tr:
240
+ continue
241
+ tds = tr.find_all('td')
242
+ if len(tds) >= 1:
243
+ jp_data = normalize_text(tds[0].get_text()) if len(tds) > 0 else None
244
+ en_data = normalize_text(tds[1].get_text()) if label_en and len(tds) > 1 else None
245
+ results.append((jp_data, en_data))
246
+ else:
247
+ # label_enが無い場合は、label_textだけで検索
248
+ if label_text in lt:
249
+ th = l.find_parent('th')
250
+ if not th:
251
+ continue
252
+ tr = th.find_parent('tr')
253
+ if not tr:
254
+ continue
255
+ tds = tr.find_all('td')
256
+ if len(tds) >= 1:
257
+ jp_data = normalize_text(tds[0].get_text()) if len(tds) > 0 else None
258
+ en_data = normalize_text(tds[1].get_text()) if label_en and len(tds) > 1 else None
259
+ results.append((jp_data, en_data))
260
+
261
+ # resultsに候補が格納されている
262
+ if not results:
263
+ return None, None
264
+
265
+ # 複数候補がある場合、特定キーワードによるフィルタリングが可能
266
+ # ここでは特定キーワードがなければそのまま最初のを返す
267
+ # もし特定の疾患キーワードでフィルタリングしたい場合はここで処理を追加
268
+
269
+ # ひとまず最初の候補を返す
270
+ return results[0]
271
+
272
+ # "研究・治験の目的" を抽出
273
+ data["研究・治験の目的"], _ = extract_label_data("研究・治験の目的")
274
+
275
+ # 試験デザイン情報(日本語と英語)を抽出
276
+ design_labels = [
277
+ ('試験等のフェーズ', 'Phase'),
278
+ ('試験の種類', 'Study Type'),
279
+ ('無作為化', 'allocation'),
280
+ ('盲検化', 'masking'),
281
+ ('対照', 'control'),
282
+ ('割付け', 'assignment'),
283
+ ('研究目的', 'purpose')
284
+ ]
285
+ for label_jp, label_en in design_labels:
286
+ jp, en = extract_label_data(label_jp, label_en)
287
+ data[label_jp] = jp
288
+ data[label_en] = en
289
+
290
+ # その他の情報を抽出
291
+ # 対象疾患名 / Health Condition(s) or Problem(s) Studiedを追加
292
+ details_labels = [
293
+ ('主たる選択基準', 'Inclusion Criteria'),
294
+ ('主たる除外基準', 'Exclusion Criteria'),
295
+ ('年齢下限', 'Age Minimum'),
296
+ ('年齢上限', 'Age Maximum'),
297
+ ('性別', 'Gender'),
298
+ ('中止基準', 'Discontinuation Criteria'),
299
+ ('対象疾患名', 'Health Condition(s) or Problem(s) Studied'), # 追加
300
+ ('対象疾患キーワード', 'Keyword'),
301
+ ('介入の内容', 'Intervention(s)')
302
+ ]
303
+ for label_jp, label_en in details_labels:
304
+ jp, en = extract_label_data(label_jp, label_en)
305
+ data[label_jp] = jp
306
+ data[label_en] = en
307
+
308
+ # "他の臨床研究登録機関への登録" を探索
309
+ other_registries_section = soup.find("div", id="area-toggle-07-02")
310
+ japic_no_list = []
311
+ nct_no_list = []
312
+
313
+ if other_registries_section:
314
+ rows = other_registries_section.find_all("tr")
315
+ for row in rows:
316
+ label = row.find("label")
317
+ if label and ("ID番号" in label.text or "研究番号" in label.text):
318
+ value_td = row.find("td")
319
+ if value_td:
320
+ id_number = value_td.text.strip()
321
+ if id_number.startswith("JapicCTI"):
322
+ japic_no_list.append(id_number)
323
+ elif id_number.startswith("NCT"):
324
+ nct_no_list.append(id_number)
325
+
326
+ # JapicCTI No と NCT No を格納(複数あればカンマ区切り)
327
+ data["JapicCTI No"] = ", ".join(japic_no_list) if japic_no_list else None
328
+ data["NCT No"] = ", ".join(nct_no_list) if nct_no_list else None
329
+
330
+ # サーバーへの負荷を避けるためのスリープ
331
+ time.sleep(1) # 必要に応じて調整
332
+
333
+ return data
334
+
335
+
336
+
337
+
338
+
339
+
340
+
341
+
342
+
343
+
344
+ def create_dataframe_from_urls(urls, delay=5):
345
+ """
346
+ URLのリストを受け取り、pandas DataFrameを作成します。
347
+ リクエスト間に待機時間を設定して403エラーを防ぎます。
348
+
349
+ Args:
350
+ urls (list): jRCTの詳細ページURLリスト。
351
+ delay (int): 各リクエスト間の待機時間(秒単位、デフォルトは5秒)。
352
+
353
+ Returns:
354
+ pd.DataFrame: 取得したデータのDataFrame。
355
+ """
356
+ all_data = []
357
+
358
+ for url in urls:
359
+ print(f"Processing URL: {url}")
360
+ try:
361
+ # 各URLのデータを取得
362
+ data = scrape_jrct_all_details(url)
363
+ all_data.append(data)
364
+
365
+ # 次のリクエストまで待機
366
+ print(f"Waiting for {delay} seconds before the next request...")
367
+ time.sleep(delay)
368
+ except Exception as e:
369
+ print(f"Failed to process URL {url}: {e}")
370
+ # URLとエラー情報を記録しておく(必要ならログに保存など)
371
+ all_data.append({"URL": url, "Error": str(e)})
372
+
373
+ # pandas DataFrameに変換
374
+ return pd.DataFrame(all_data)
375
+
376
+
377
+ def extract_jrct_links(results):
378
+ """
379
+ fetch_clinical_trialsの結果からjRCT-Noを抽出し、詳細リンクを作成する。
380
+
381
+ Args:
382
+ results (list): fetch_clinical_trialsから得られる結果リスト
383
+
384
+ Returns:
385
+ list: jRCTの詳細ページリンクリスト
386
+ """
387
+ base_url = "https://jrct.niph.go.jp/latest-detail/"
388
+ links = []
389
+ for result in results:
390
+ if len(result) > 0:
391
+ jrct_no = result[0] # jRCT-Noは結果リストの最初の要素
392
+ links.append(base_url + jrct_no)
393
+ return links
394
+
395
+ def reorder_columns(df):
396
+ """
397
+ DataFrame の列を日本語の列を前半に、英語の列を後半に並び替える。
398
+ """
399
+ # 日本語と英語の列を分ける
400
+ jp_columns = [col for col in df.columns if all(ord(c) < 128 for c in col) is False] # 非 ASCII(日本語)文字列を含む列
401
+ en_columns = [col for col in df.columns if col not in jp_columns] # 残りの列を英語と仮定
402
+
403
+ # 日本語列 + 英語列の順序で整列
404
+ ordered_columns = jp_columns + en_columns
405
+
406
+ # 列を並び替えた DataFrame を返す
407
+ return df[ordered_columns]
408
+
409
+
410
+ # Target列を分割する関数
411
+ def split_target(target):
412
+ # 指定された区切り文字で分割
413
+ split_words = re.split(r'[,\n、・及びおよび又はまたは]+', target)
414
+ # 空白文字を除外してリストとして返す
415
+ return [word.strip() for word in split_words if word.strip()]
416
+
417
+
418
+ # Target列を分割する関数(改良後)
419
+ def split_target_English(target):
420
+ # 区切り文字を (,) or (\n) or (、) or (・) または文字列"or" として扱う
421
+ # 正規表現では、パイプ(|)でor条件を定義し、"(?: ... )"はグルーピングのみ行う非捕捉グループ
422
+ # [,\n、・] はいずれかの1文字とマッチ
423
+ # or は文字列全体とマッチ
424
+ # 複数連続した区切り文字をまとめて1回の分割として扱うために+(1回以上)とする
425
+ split_words = re.split(r'(?:[,\n、・]|or| and)+', target)
426
+
427
+ # 空白文字を除外してリストとして返す
428
+ return [word.strip() for word in split_words if word.strip()]
429
+
430
+ # 処理プログラム
431
+ def split_triple_negative_words(target_words):
432
+ updated_words = []
433
+ for word in target_words:
434
+ if 'triple negative' in word.lower():
435
+ # 'triple negative' の部分を追加
436
+ updated_words.append('Triple Negative') # 大文字で統一して追加
437
+ # 'triple negative' を除いた残りの部分を追加
438
+ remaining = word.lower().replace('triple negative', '').strip()
439
+ if remaining: # 残りの単語が存在する場合のみ追加
440
+ updated_words.append(remaining.title().strip()) # 単語の先頭を大文字化
441
+ else:
442
+ updated_words.append(word.strip().title()) # 単語の先頭を大文字化
443
+ return updated_words
444
+
445
+ class WordProcessor:
446
+ def __init__(self, target_words):
447
+ self.target_words = target_words
448
+
449
+ def process(self, target_words):
450
+ """
451
+ 入力された単語のリストを処理して、ターゲット単語に基づき分割します。
452
+ """
453
+ updated_words = []
454
+ for word in target_words:
455
+ word_lower = word.lower()
456
+ for target in self.target_words:
457
+ if target in word_lower:
458
+ # ターゲット単語を追加
459
+ updated_words.append(target.title())
460
+ # ターゲット単語を除いた残りを追加
461
+ remaining = word_lower.replace(target, '').strip()
462
+ if remaining:
463
+ updated_words.append(remaining.title())
464
+ break
465
+ else:
466
+ # ターゲット単語に該当しない場合
467
+ updated_words.append(word.strip().title())
468
+ return updated_words
469
+
470
+ def __call__(self, target_words):
471
+ """
472
+ インスタンスを関数として呼び出すためのエントリポイント。
473
+ """
474
+ return self.process(target_words)
475
+
476
+
477
+ import pandas as pd
478
+ from sentence_transformers import util
479
+ import torch
480
+
481
+ def DfPostProcess(exclusive_words, model, csv_loc=None, dataframe=None):
482
+ """
483
+ exclusive_words: 除外ワードリスト
484
+ model: SentenceTransformerなどのモデル
485
+ csv_loc: CSVファイルのパス(文字列)。dataframeが与えられない場合に使用。
486
+ dataframe: 既存のpandas.DataFrame。csv_locが与えられない場合に使用。
487
+ """
488
+ # csv_locもdataframeも与えられなかった場合はエラー
489
+ if csv_loc is None and dataframe is None:
490
+ raise ValueError("Either csv_loc or dataframe must be provided.")
491
+
492
+ # 入力データフレームの決定
493
+ if dataframe is not None:
494
+ basedf = dataframe.copy()
495
+ else:
496
+ basedf = pd.read_csv(csv_loc, index_col=0)
497
+
498
+ # '試験等のフェーズ'がNaNの行を削除
499
+ basedf = basedf.dropna(subset=['試験等のフェーズ'])
500
+
501
+ # WordProcessorインスタンス作成
502
+ processor = WordProcessor(exclusive_words)
503
+
504
+ # TargetEnglish列をsplit_target_Englishで処理しTargetWord列作成
505
+ basedf['TargetWord'] = basedf['TargetEnglish'].apply(split_target_English)
506
+
507
+ # NaNやNoneではない場合にprocessor適用
508
+ basedf['TargetWord'] = basedf['TargetWord'].apply(lambda x: processor(x) if isinstance(x, list) else x)
509
+
510
+ # TargetWord列をベクトル化し、リスト化して格納
511
+ target_vecs_list = []
512
+ for idx, target_words in enumerate(basedf['TargetWord']):
513
+ target_vecs = model.encode(target_words, convert_to_tensor=True).cpu()
514
+ # テンソルをリストに変換
515
+ target_vecs_list.append(target_vecs.tolist())
516
+
517
+ # TargetVec列にリストを格納 (dtype=objectのままでOK)
518
+ basedf['TargetVec'] = pd.Series(target_vecs_list, index=basedf.index, dtype=object)
519
+
520
+ return basedf
521
+
522
+
523
+
524
+ def get_matched_df(basedf, query, model, threshold=0.5):
525
+ # queryをベクトル化(テンソル化)しCPUへ移動
526
+ query_vec = model.encode(query, convert_to_tensor=True).cpu()
527
+
528
+ matched_indices = []
529
+ for idx, target_vec_str in enumerate(basedf['TargetVec']):
530
+ # CSVから読み込んだ時点でTargetVecはPythonリストを文字列化したものになっているため、
531
+ # ここでliteral_evalでリストに戻します。
532
+ if isinstance(target_vec_str, str):
533
+ # target_vec_strは"[[...], [...]]"のようなリスト形式
534
+ target_list = ast.literal_eval(target_vec_str) # リストに変換
535
+ target_vecs = torch.tensor(target_list) # リストからTensorへ
536
+ else:
537
+ # 万が一既にTensorの場合はそのまま使用
538
+ target_vecs = target_vec_str
539
+
540
+ # 必要であればCPUへ移動(通常はすでにCPU上のはず)
541
+ """if target_vecs[0].is_cuda:
542
+ target_vecs = target_vecs.cpu()"""
543
+
544
+ # コサイン類似度を計算
545
+ cosine_scores = util.cos_sim(query_vec, target_vecs).squeeze()
546
+
547
+ # thresholdを超えるスコアが1つでもあればマッチと判断
548
+ if (cosine_scores >= threshold).any():
549
+ matched_indices.append(idx)
550
+
551
+ # 条件を満たした行を抽出
552
+ matched_df = basedf.iloc[matched_indices]
553
+ return matched_df
554
+
555
+
556
+ def GetJRCTCriteria(dataframe, idx):
557
+ InC = dataframe.iloc[idx,:]['Inclusion Criteria']
558
+ ExC = dataframe.iloc[idx,:]['Exclusion Criteria']
559
+ return "Inclusion Criteria :" + InC + "\n" + "Exclusion Criteria :" + ExC
dev/ClinicalTrialApp2.ipynb CHANGED
@@ -2,14 +2,27 @@
2
  "cells": [
3
  {
4
  "cell_type": "code",
5
- "execution_count": 9,
6
  "metadata": {},
7
  "outputs": [
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  {
9
  "name": "stdout",
10
  "output_type": "stream",
11
  "text": [
12
- "* Running on local URL: http://127.0.0.1:7866\n",
13
  "\n",
14
  "To create a public link, set `share=True` in `launch()`.\n"
15
  ]
@@ -17,7 +30,7 @@
17
  {
18
  "data": {
19
  "text/html": [
20
- "<div><iframe src=\"http://127.0.0.1:7866/\" width=\"100%\" height=\"500\" allow=\"autoplay; camera; microphone; clipboard-read; clipboard-write;\" frameborder=\"0\" allowfullscreen></iframe></div>"
21
  ],
22
  "text/plain": [
23
  "<IPython.core.display.HTML object>"
@@ -30,7 +43,7 @@
30
  "data": {
31
  "text/plain": []
32
  },
33
- "execution_count": 9,
34
  "metadata": {},
35
  "output_type": "execute_result"
36
  },
@@ -38,6 +51,7 @@
38
  "name": "stdout",
39
  "output_type": "stream",
40
  "text": [
 
41
  "Fetching data from: https://clinicaltrials.gov/api/v2/studies?query.titles=glioma SEARCH[Location](AREA[LocationCountry]Japan AND AREA[LocationStatus]Recruiting)&pageSize=100\n"
42
  ]
43
  }
 
2
  "cells": [
3
  {
4
  "cell_type": "code",
5
+ "execution_count": 1,
6
  "metadata": {},
7
  "outputs": [
8
+ {
9
+ "name": "stderr",
10
+ "output_type": "stream",
11
+ "text": [
12
+ "/var/folders/yw/qz00x75d7kb98f7vm8dkhkvw0000gn/T/ipykernel_56609/1124017563.py:6: LangChainDeprecationWarning: As of langchain-core 0.3.0, LangChain uses pydantic v2 internally. The langchain_core.pydantic_v1 module was a compatibility shim for pydantic v1, and should no longer be used. Please update the code to import from Pydantic directly.\n",
13
+ "\n",
14
+ "For example, replace imports like: `from langchain_core.pydantic_v1 import BaseModel`\n",
15
+ "with: `from pydantic import BaseModel`\n",
16
+ "or the v1 compatibility namespace if you are working in a code base that has not been fully upgraded to pydantic 2 yet. \tfrom pydantic.v1 import BaseModel\n",
17
+ "\n",
18
+ " from OpenAITools.CrinicalTrialTools import SimpleClinicalTrialAgent, GraderAgent, LLMTranslator, generate_ex_question_English\n"
19
+ ]
20
+ },
21
  {
22
  "name": "stdout",
23
  "output_type": "stream",
24
  "text": [
25
+ "* Running on local URL: http://127.0.0.1:7860\n",
26
  "\n",
27
  "To create a public link, set `share=True` in `launch()`.\n"
28
  ]
 
30
  {
31
  "data": {
32
  "text/html": [
33
+ "<div><iframe src=\"http://127.0.0.1:7860/\" width=\"100%\" height=\"500\" allow=\"autoplay; camera; microphone; clipboard-read; clipboard-write;\" frameborder=\"0\" allowfullscreen></iframe></div>"
34
  ],
35
  "text/plain": [
36
  "<IPython.core.display.HTML object>"
 
43
  "data": {
44
  "text/plain": []
45
  },
46
+ "execution_count": 1,
47
  "metadata": {},
48
  "output_type": "execute_result"
49
  },
 
51
  "name": "stdout",
52
  "output_type": "stream",
53
  "text": [
54
+ "Fetching data from: https://clinicaltrials.gov/api/v2/studies?query.titles=glioma SEARCH[Location](AREA[LocationCountry]Japan AND AREA[LocationStatus]Recruiting)&pageSize=100\n",
55
  "Fetching data from: https://clinicaltrials.gov/api/v2/studies?query.titles=glioma SEARCH[Location](AREA[LocationCountry]Japan AND AREA[LocationStatus]Recruiting)&pageSize=100\n"
56
  ]
57
  }
dev/ClinicalTrialApp3.ipynb ADDED
@@ -0,0 +1,212 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": 1,
6
+ "metadata": {},
7
+ "outputs": [
8
+ {
9
+ "name": "stderr",
10
+ "output_type": "stream",
11
+ "text": [
12
+ "/var/folders/yw/qz00x75d7kb98f7vm8dkhkvw0000gn/T/ipykernel_57352/998829134.py:6: LangChainDeprecationWarning: As of langchain-core 0.3.0, LangChain uses pydantic v2 internally. The langchain_core.pydantic_v1 module was a compatibility shim for pydantic v1, and should no longer be used. Please update the code to import from Pydantic directly.\n",
13
+ "\n",
14
+ "For example, replace imports like: `from langchain_core.pydantic_v1 import BaseModel`\n",
15
+ "with: `from pydantic import BaseModel`\n",
16
+ "or the v1 compatibility namespace if you are working in a code base that has not been fully upgraded to pydantic 2 yet. \tfrom pydantic.v1 import BaseModel\n",
17
+ "\n",
18
+ " from OpenAITools.CrinicalTrialTools import SimpleClinicalTrialAgent, GraderAgent, LLMTranslator, generate_ex_question_English\n",
19
+ "/Users/satoc/miniforge3/envs/gradio/lib/python3.12/site-packages/transformers/tokenization_utils_base.py:1617: FutureWarning: `clean_up_tokenization_spaces` was not set. It will be set to `True` by default. This behavior will be deprecated in transformers v4.45, and will be then set to `False` by default. For more details check this issue: https://github.com/huggingface/transformers/issues/31884\n",
20
+ " warnings.warn(\n"
21
+ ]
22
+ },
23
+ {
24
+ "name": "stdout",
25
+ "output_type": "stream",
26
+ "text": [
27
+ "* Running on local URL: http://127.0.0.1:7861\n",
28
+ "\n",
29
+ "To create a public link, set `share=True` in `launch()`.\n"
30
+ ]
31
+ },
32
+ {
33
+ "data": {
34
+ "text/html": [
35
+ "<div><iframe src=\"http://127.0.0.1:7861/\" width=\"100%\" height=\"500\" allow=\"autoplay; camera; microphone; clipboard-read; clipboard-write;\" frameborder=\"0\" allowfullscreen></iframe></div>"
36
+ ],
37
+ "text/plain": [
38
+ "<IPython.core.display.HTML object>"
39
+ ]
40
+ },
41
+ "metadata": {},
42
+ "output_type": "display_data"
43
+ },
44
+ {
45
+ "data": {
46
+ "text/plain": []
47
+ },
48
+ "execution_count": 1,
49
+ "metadata": {},
50
+ "output_type": "execute_result"
51
+ },
52
+ {
53
+ "name": "stderr",
54
+ "output_type": "stream",
55
+ "text": [
56
+ "/var/folders/yw/qz00x75d7kb98f7vm8dkhkvw0000gn/T/ipykernel_57352/998829134.py:29: SettingWithCopyWarning: \n",
57
+ "A value is trying to be set on a copy of a slice from a DataFrame.\n",
58
+ "Try using .loc[row_indexer,col_indexer] = value instead\n",
59
+ "\n",
60
+ "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
61
+ " df['AgentJudgment'] = None\n",
62
+ "/var/folders/yw/qz00x75d7kb98f7vm8dkhkvw0000gn/T/ipykernel_57352/998829134.py:30: SettingWithCopyWarning: \n",
63
+ "A value is trying to be set on a copy of a slice from a DataFrame.\n",
64
+ "Try using .loc[row_indexer,col_indexer] = value instead\n",
65
+ "\n",
66
+ "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
67
+ " df['AgentGrade'] = None\n"
68
+ ]
69
+ }
70
+ ],
71
+ "source": [
72
+ "import gradio as gr\n",
73
+ "import pandas as pd\n",
74
+ "from OpenAITools.FetchTools import fetch_clinical_trials\n",
75
+ "from langchain_openai import ChatOpenAI\n",
76
+ "from langchain_groq import ChatGroq\n",
77
+ "from OpenAITools.CrinicalTrialTools import SimpleClinicalTrialAgent, GraderAgent, LLMTranslator, generate_ex_question_English\n",
78
+ "from OpenAITools.JRCTTools import get_matched_df,GetJRCTCriteria\n",
79
+ "from sentence_transformers import SentenceTransformer\n",
80
+ "from sentence_transformers import util\n",
81
+ "\n",
82
+ "# モデルとエージェントの初期化\n",
83
+ "groq = ChatGroq(model_name=\"llama3-70b-8192\", temperature=0)\n",
84
+ "translator = LLMTranslator(groq)\n",
85
+ "CriteriaCheckAgent = SimpleClinicalTrialAgent(groq)\n",
86
+ "grader_agent = GraderAgent(groq)\n",
87
+ "selectionModel = SentenceTransformer('pritamdeka/S-PubMedBert-MS-MARCO')\n",
88
+ "\n",
89
+ "# データフレームを生成する関数\n",
90
+ "def generate_dataframe(age, sex, tumor_type, GeneMutation, Meseable, Biopsiable):\n",
91
+ " # 日本語の腫瘍タイプを英語に翻訳\n",
92
+ " TumorName = translator.translate(tumor_type)\n",
93
+ "\n",
94
+ " # 質問文を生成\n",
95
+ " ex_question = generate_ex_question_English(age, sex, TumorName, GeneMutation, Meseable, Biopsiable)\n",
96
+ " \n",
97
+ " # 臨床試験データの取得\n",
98
+ " basedf = pd.read_csv(\"../ClinicalTrialCSV/JRCT20241215CancerPost.csv\", index_col=0)\n",
99
+ " df = get_matched_df(basedf=basedf, query=TumorName, model=selectionModel, threshold=0.925)\n",
100
+ " df['AgentJudgment'] = None\n",
101
+ " df['AgentGrade'] = None\n",
102
+ " \n",
103
+ " # 臨床試験の適格性の評価\n",
104
+ " progress = gr.Progress(track_tqdm=True)\n",
105
+ " for i in range(len(df)):\n",
106
+ " TargetCriteria = GetJRCTCriteria(df, i)\n",
107
+ " AgentJudgment = CriteriaCheckAgent.evaluate_eligibility(TargetCriteria, ex_question)\n",
108
+ " AgentGrade = grader_agent.evaluate_eligibility(AgentJudgment)\n",
109
+ " # df.locを使って値を代入(行・列名で指定)\n",
110
+ " df.loc[df.index[i], 'AgentJudgment'] = AgentJudgment\n",
111
+ " df.loc[df.index[i], 'AgentGrade'] = AgentGrade\n",
112
+ " progress((i + 1) / len(df))\n",
113
+ " \n",
114
+ " # 列を指定した順に並び替え\n",
115
+ " columns_order = ['JRCT ID', 'Title', '研究・治験の目的','AgentJudgment', 'AgentGrade','主たる選択基準', '主たる除外基準','Inclusion Criteria','Exclusion Criteria','NCT No', 'JapicCTI No']\n",
116
+ " df = df[columns_order]\n",
117
+ " \n",
118
+ " return df, df # フィルタ用と表示用にデータフレームを返す\n",
119
+ "\n",
120
+ "# 特定のAgentGrade(yes, no, unclear)に基づいて行をフィルタリングする関数\n",
121
+ "def filter_rows_by_grade(original_df, grade):\n",
122
+ " df_filtered = original_df[original_df['AgentGrade'] == grade]\n",
123
+ " return df_filtered, df_filtered\n",
124
+ "\n",
125
+ "# CSVとして保存しダウンロードする関数\n",
126
+ "def download_filtered_csv(df):\n",
127
+ " file_path = \"filtered_data.csv\"\n",
128
+ " df.to_csv(file_path, index=False)\n",
129
+ " return file_path\n",
130
+ "\n",
131
+ "# 全体結果をCSVとして保存しダウンロードする関数\n",
132
+ "def download_full_csv(df):\n",
133
+ " file_path = \"full_data.csv\"\n",
134
+ " df.to_csv(file_path, index=False)\n",
135
+ " return file_path\n",
136
+ "\n",
137
+ "# Gradioインターフェースの作成\n",
138
+ "with gr.Blocks() as demo:\n",
139
+ " gr.Markdown(\"## 臨床試験適格性評価インターフェース\")\n",
140
+ "\n",
141
+ " # 各種入力フィールド\n",
142
+ " age_input = gr.Textbox(label=\"Age\", placeholder=\"例: 65\")\n",
143
+ " sex_input = gr.Dropdown(choices=[\"男性\", \"女性\"], label=\"Sex\")\n",
144
+ " tumor_type_input = gr.Textbox(label=\"Tumor Type\", placeholder=\"例: gastric cancer, 日本でも良いですが英語の方が精度が高いです。\")\n",
145
+ " gene_mutation_input = gr.Textbox(label=\"Gene Mutation\", placeholder=\"例: HER2\")\n",
146
+ " measurable_input = gr.Dropdown(choices=[\"有り\", \"無し\", \"不明\"], label=\"Measurable Tumor\")\n",
147
+ " biopsiable_input = gr.Dropdown(choices=[\"有り\", \"無し\", \"不明\"], label=\"Biopsiable Tumor\")\n",
148
+ "\n",
149
+ " # データフレーム表示エリア\n",
150
+ " dataframe_output = gr.DataFrame()\n",
151
+ " original_df = gr.State()\n",
152
+ " filtered_df = gr.State()\n",
153
+ "\n",
154
+ " # データフレーム生成ボタン\n",
155
+ " generate_button = gr.Button(\"Generate Clinical Trials Data\")\n",
156
+ "\n",
157
+ " # フィルタリングボタン\n",
158
+ " yes_button = gr.Button(\"Show Eligible Trials\")\n",
159
+ " no_button = gr.Button(\"Show Ineligible Trials\")\n",
160
+ " unclear_button = gr.Button(\"Show Unclear Trials\")\n",
161
+ " \n",
162
+ " # ダウンロードボタン\n",
163
+ " download_filtered_button = gr.Button(\"Download Filtered Data\")\n",
164
+ " download_filtered_output = gr.File(label=\"Download Filtered Data\")\n",
165
+ "\n",
166
+ " download_full_button = gr.Button(\"Download Full Data\")\n",
167
+ " download_full_output = gr.File(label=\"Download Full Data\")\n",
168
+ "\n",
169
+ "\n",
170
+ " # ボタン動作の設定\n",
171
+ " generate_button.click(fn=generate_dataframe, inputs=[age_input, sex_input, tumor_type_input, gene_mutation_input, measurable_input, biopsiable_input], outputs=[dataframe_output, original_df])\n",
172
+ " yes_button.click(fn=filter_rows_by_grade, inputs=[original_df, gr.State(\"yes\")], outputs=[dataframe_output, filtered_df])\n",
173
+ " no_button.click(fn=filter_rows_by_grade, inputs=[original_df, gr.State(\"no\")], outputs=[dataframe_output, filtered_df])\n",
174
+ " unclear_button.click(fn=filter_rows_by_grade, inputs=[original_df, gr.State(\"unclear\")], outputs=[dataframe_output, filtered_df])\n",
175
+ " download_filtered_button.click(fn=download_filtered_csv, inputs=filtered_df, outputs=download_filtered_output)\n",
176
+ " download_full_button.click(fn=download_full_csv, inputs=original_df, outputs=download_full_output)\n",
177
+ "\n",
178
+ "\n",
179
+ "# インターフェースの起動\n",
180
+ "demo.launch()\n"
181
+ ]
182
+ },
183
+ {
184
+ "cell_type": "code",
185
+ "execution_count": null,
186
+ "metadata": {},
187
+ "outputs": [],
188
+ "source": []
189
+ }
190
+ ],
191
+ "metadata": {
192
+ "kernelspec": {
193
+ "display_name": "gradio",
194
+ "language": "python",
195
+ "name": "python3"
196
+ },
197
+ "language_info": {
198
+ "codemirror_mode": {
199
+ "name": "ipython",
200
+ "version": 3
201
+ },
202
+ "file_extension": ".py",
203
+ "mimetype": "text/x-python",
204
+ "name": "python",
205
+ "nbconvert_exporter": "python",
206
+ "pygments_lexer": "ipython3",
207
+ "version": "3.12.3"
208
+ }
209
+ },
210
+ "nbformat": 4,
211
+ "nbformat_minor": 2
212
+ }
dev/GraphAppDev10.ipynb ADDED
@@ -0,0 +1,228 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": 1,
6
+ "metadata": {},
7
+ "outputs": [
8
+ {
9
+ "name": "stderr",
10
+ "output_type": "stream",
11
+ "text": [
12
+ "/Users/satoc/miniforge3/envs/gradio/lib/python3.12/site-packages/IPython/core/interactiveshell.py:3577: LangChainDeprecationWarning: As of langchain-core 0.3.0, LangChain uses pydantic v2 internally. The langchain_core.pydantic_v1 module was a compatibility shim for pydantic v1, and should no longer be used. Please update the code to import from Pydantic directly.\n",
13
+ "\n",
14
+ "For example, replace imports like: `from langchain_core.pydantic_v1 import BaseModel`\n",
15
+ "with: `from pydantic import BaseModel`\n",
16
+ "or the v1 compatibility namespace if you are working in a code base that has not been fully upgraded to pydantic 2 yet. \tfrom pydantic.v1 import BaseModel\n",
17
+ "\n",
18
+ " exec(code_obj, self.user_global_ns, self.user_ns)\n",
19
+ "/Users/satoc/miniforge3/envs/gradio/lib/python3.12/site-packages/sentence_transformers/cross_encoder/CrossEncoder.py:13: TqdmExperimentalWarning: Using `tqdm.autonotebook.tqdm` in notebook mode. Use `tqdm.tqdm` instead to force console mode (e.g. in jupyter console)\n",
20
+ " from tqdm.autonotebook import tqdm, trange\n",
21
+ "/Users/satoc/miniforge3/envs/gradio/lib/python3.12/site-packages/transformers/tokenization_utils_base.py:1617: FutureWarning: `clean_up_tokenization_spaces` was not set. It will be set to `True` by default. This behavior will be deprecated in transformers v4.45, and will be then set to `False` by default. For more details check this issue: https://github.com/huggingface/transformers/issues/31884\n",
22
+ " warnings.warn(\n"
23
+ ]
24
+ }
25
+ ],
26
+ "source": [
27
+ "from langchain_community.agent_toolkits import create_sql_agent\n",
28
+ "from langchain_openai import ChatOpenAI\n",
29
+ "from langchain_groq import ChatGroq\n",
30
+ "from langchain_core.prompts import ChatPromptTemplate\n",
31
+ "from langchain_core.pydantic_v1 import BaseModel, Field\n",
32
+ "import pandas as pd\n",
33
+ "from pydantic import BaseModel, Field\n",
34
+ "\n",
35
+ "from langchain.text_splitter import RecursiveCharacterTextSplitter\n",
36
+ "from langchain_community.vectorstores import Chroma\n",
37
+ "from langchain.embeddings import HuggingFaceEmbeddings\n",
38
+ "from langchain_core.runnables import RunnablePassthrough\n",
39
+ "from langchain_core.output_parsers import StrOutputParser\n",
40
+ "\n",
41
+ "\n",
42
+ "gpt = ChatOpenAI(model=\"gpt-3.5-turbo\", temperature=0)\n",
43
+ "#agent_gpt_executor = create_sql_agent(gpt, db=db, agent_type=\"tool-calling\", verbose=True)\n",
44
+ "\n",
45
+ "## make database\n",
46
+ "from langchain_community.utilities import SQLDatabase\n",
47
+ "from sqlalchemy import create_engine\n",
48
+ "\n",
49
+ "from langchain.prompts import ChatPromptTemplate\n",
50
+ "from langchain.schema import SystemMessage\n",
51
+ "from langchain_core.prompts import MessagesPlaceholder\n",
52
+ "#agent_groq_executor = create_sql_agent(llm, db=db, agent_type=\"tool-calling\", verbose=True)\n",
53
+ "\n",
54
+ "from OpenAITools.FetchTools import fetch_clinical_trials, fetch_clinical_trials_jp\n",
55
+ "from OpenAITools.CrinicalTrialTools import QuestionModifierEnglish, TumorNameExtractor, SimpleClinicalTrialAgent,GraderAgent,LLMTranslator,generate_ex_question_English\n",
56
+ "\n",
57
+ "from OpenAITools.JRCTTools import get_matched_df,GetJRCTCriteria\n",
58
+ "from sentence_transformers import SentenceTransformer\n",
59
+ "from sentence_transformers import util\n",
60
+ "groq = ChatGroq(model_name=\"llama3-70b-8192\", temperature=0)\n",
61
+ "#agent_groq_executor = create_sql_agent(groq, db=db, agent_type=\"tool-calling\", verbose=True)\n",
62
+ "\n",
63
+ "import ast\n",
64
+ "import torch\n",
65
+ "age = \"65\"\n",
66
+ "sex =\"男性\"\n",
67
+ "tumor_type =\"glioma\"\n",
68
+ "#tumor_type = \"gastric cancer\"\n",
69
+ "GeneMutation =\"HER2\"\n",
70
+ "Meseable = \"有り\"\n",
71
+ "Biopsiable = \"有り\"\n",
72
+ "NCTID = 'NCT06441994'\n",
73
+ "\n",
74
+ "#Define extractor\n",
75
+ "Translator = LLMTranslator(groq)\n",
76
+ "TumorName = Translator.translate(tumor_type)\n",
77
+ "selectionModel = SentenceTransformer('pritamdeka/S-PubMedBert-MS-MARCO')\n",
78
+ "ex_question = generate_ex_question_English(age, sex, TumorName, GeneMutation, Meseable, Biopsiable)"
79
+ ]
80
+ },
81
+ {
82
+ "cell_type": "code",
83
+ "execution_count": 2,
84
+ "metadata": {},
85
+ "outputs": [],
86
+ "source": [
87
+ "basedf = pd.read_csv(\"../ClinicalTrialCSV/JRCT20241215CancerPost.csv\", index_col=0)"
88
+ ]
89
+ },
90
+ {
91
+ "cell_type": "code",
92
+ "execution_count": 3,
93
+ "metadata": {},
94
+ "outputs": [
95
+ {
96
+ "name": "stderr",
97
+ "output_type": "stream",
98
+ "text": [
99
+ "/var/folders/yw/qz00x75d7kb98f7vm8dkhkvw0000gn/T/ipykernel_52046/2492212482.py:2: SettingWithCopyWarning: \n",
100
+ "A value is trying to be set on a copy of a slice from a DataFrame.\n",
101
+ "Try using .loc[row_indexer,col_indexer] = value instead\n",
102
+ "\n",
103
+ "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
104
+ " df['AgentJudgment'] = None\n",
105
+ "/var/folders/yw/qz00x75d7kb98f7vm8dkhkvw0000gn/T/ipykernel_52046/2492212482.py:3: SettingWithCopyWarning: \n",
106
+ "A value is trying to be set on a copy of a slice from a DataFrame.\n",
107
+ "Try using .loc[row_indexer,col_indexer] = value instead\n",
108
+ "\n",
109
+ "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
110
+ " df['AgentGrade'] = None\n"
111
+ ]
112
+ }
113
+ ],
114
+ "source": [
115
+ "df = get_matched_df(basedf=basedf, query=TumorName, model=selectionModel, threshold=0.925)\n",
116
+ "df['AgentJudgment'] = None\n",
117
+ "df['AgentGrade'] = None"
118
+ ]
119
+ },
120
+ {
121
+ "cell_type": "code",
122
+ "execution_count": 5,
123
+ "metadata": {},
124
+ "outputs": [],
125
+ "source": [
126
+ "CriteriaCheckAgent = SimpleClinicalTrialAgent(groq)\n",
127
+ "grader_agent = GraderAgent(groq)"
128
+ ]
129
+ },
130
+ {
131
+ "cell_type": "code",
132
+ "execution_count": 6,
133
+ "metadata": {},
134
+ "outputs": [
135
+ {
136
+ "name": "stdout",
137
+ "output_type": "stream",
138
+ "text": [
139
+ "The patient is eligible for this clinical trial based on the provided information, as there are no exclusion criteria that would prevent him from participating.\n",
140
+ "yes\n",
141
+ "The patient is eligible for this clinical trial based on the provided criteria, as the patient's age (65) falls within the specified range (18-75), and there is no mention of any exclusion criteria being met.\n",
142
+ "yes\n",
143
+ "The patient is not eligible for this clinical trial because the patient's age (65) exceeds the upper limit of 75 years old specified in inclusion criterion (7).\n",
144
+ "no\n",
145
+ "Based on the provided information, the patient is eligible for this clinical trial. The patient meets the inclusion criteria for Cohort 1, as they have a glioma (WHO Grade 2-4) diagnosed by pathological diagnosis of resection or biopsy, have a history of chemotherapy or radiation therapy, and have measurable lesions based on the RANO criteria. The patient's age of 65 meets the age requirement, and there is no mention of any exclusion criteria that would prevent the patient from participating.\n",
146
+ "yes\n",
147
+ "The patient is not eligible for this clinical trial because the inclusion criteria specify that patients must have a BRAF fusion or rearrangement, but the patient has a HER2 gene mutation.\n",
148
+ "no\n",
149
+ "Based on the provided criteria, the 65-year-old male patient with glioma and a known HER2 gene mutation, measurable and biopsiable tumor, appears to be eligible for this clinical trial, as long as he meets the remaining inclusion criteria (e.g., life expectancy, recovery from prior therapy, organ function, etc.) and does not have any of the exclusion criteria.\n",
150
+ "yes\n",
151
+ "The patient is eligible for this clinical trial based on the provided information, as the patient meets the inclusion criteria (age, measurable tumor, biopsiable tumor) and does not have any obvious exclusions (e.g., no mention of corticosteroids, immunosuppressive agents, or other exclusion criteria). However, some information is missing, such as Karnofsky Performance Status, neutrophil count, hemoglobin, platelet count, and other lab values, which would need to be confirmed to ensure full eligibility.\n",
152
+ "unclear\n"
153
+ ]
154
+ }
155
+ ],
156
+ "source": [
157
+ "for i in range(len(df)):\n",
158
+ " TargetCriteria = GetJRCTCriteria(df, i)\n",
159
+ " AgentJudgment = CriteriaCheckAgent.evaluate_eligibility(TargetCriteria, ex_question)\n",
160
+ " print(AgentJudgment)\n",
161
+ " AgentGrade = grader_agent.evaluate_eligibility(AgentJudgment)\n",
162
+ " print(AgentGrade)\n",
163
+ " \n",
164
+ " # df.locを使って値を代入(行・列名で指定)\n",
165
+ " df.loc[df.index[i], 'AgentJudgment'] = AgentJudgment\n",
166
+ " df.loc[df.index[i], 'AgentGrade'] = AgentGrade\n"
167
+ ]
168
+ },
169
+ {
170
+ "cell_type": "markdown",
171
+ "metadata": {},
172
+ "source": [
173
+ "for i in range(len(df)):\n",
174
+ " TargetCriteria = GetJRCTCriteria(df,i)\n",
175
+ " AgentJudgment = CriteriaCheckAgent.evaluate_eligibility(TargetCriteria, ex_question)\n",
176
+ " print(AgentJudgment)\n",
177
+ " AgentGrade = grader_agent.evaluate_eligibility(AgentJudgment)\n",
178
+ " print(AgentGrade)\n",
179
+ " df.iloc[i,:]['AgentJudgment'] = AgentJudgment\n",
180
+ " df.iloc[i,:]['AgentJudgment'] = AgentGrade\n"
181
+ ]
182
+ },
183
+ {
184
+ "cell_type": "markdown",
185
+ "metadata": {},
186
+ "source": []
187
+ },
188
+ {
189
+ "cell_type": "code",
190
+ "execution_count": 7,
191
+ "metadata": {},
192
+ "outputs": [],
193
+ "source": [
194
+ " # 列を指定した順に並び替え\n",
195
+ "columns_order = ['JRCT ID', 'Title', '研究・治験の目的','AgentJudgment', 'AgentGrade','主たる選択基準', '主たる除外基準','Inclusion Criteria','Exclusion Criteria','NCT No', 'JapicCTI No']\n",
196
+ "df = df[columns_order]"
197
+ ]
198
+ },
199
+ {
200
+ "cell_type": "code",
201
+ "execution_count": null,
202
+ "metadata": {},
203
+ "outputs": [],
204
+ "source": []
205
+ }
206
+ ],
207
+ "metadata": {
208
+ "kernelspec": {
209
+ "display_name": "gradio",
210
+ "language": "python",
211
+ "name": "python3"
212
+ },
213
+ "language_info": {
214
+ "codemirror_mode": {
215
+ "name": "ipython",
216
+ "version": 3
217
+ },
218
+ "file_extension": ".py",
219
+ "mimetype": "text/x-python",
220
+ "name": "python",
221
+ "nbconvert_exporter": "python",
222
+ "pygments_lexer": "ipython3",
223
+ "version": "3.12.3"
224
+ }
225
+ },
226
+ "nbformat": 4,
227
+ "nbformat_minor": 2
228
+ }
dev/GraphAppDev7.ipynb CHANGED
@@ -17,6 +17,24 @@
17
  "\n",
18
  " exec(code_obj, self.user_global_ns, self.user_ns)\n"
19
  ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  }
21
  ],
22
  "source": [
 
17
  "\n",
18
  " exec(code_obj, self.user_global_ns, self.user_ns)\n"
19
  ]
20
+ },
21
+ {
22
+ "name": "stdout",
23
+ "output_type": "stream",
24
+ "text": [
25
+ "Fetching data from: https://clinicaltrials.gov/api/v2/studies?query.titles=Stomach cancer SEARCH[Location](AREA[LocationCountry]Japan AND AREA[LocationStatus]Recruiting)&pageSize=100\n"
26
+ ]
27
+ },
28
+ {
29
+ "ename": "NameError",
30
+ "evalue": "name 'ex_question' is not defined",
31
+ "output_type": "error",
32
+ "traceback": [
33
+ "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
34
+ "\u001b[0;31mNameError\u001b[0m Traceback (most recent call last)",
35
+ "Cell \u001b[0;32mIn[1], line 63\u001b[0m\n\u001b[1;32m 61\u001b[0m \u001b[38;5;28;01mfor\u001b[39;00m nct_id \u001b[38;5;129;01min\u001b[39;00m NCTIDs:\n\u001b[1;32m 62\u001b[0m TargetCriteria \u001b[38;5;241m=\u001b[39m df\u001b[38;5;241m.\u001b[39mloc[df[\u001b[38;5;124m'\u001b[39m\u001b[38;5;124mNCTID\u001b[39m\u001b[38;5;124m'\u001b[39m] \u001b[38;5;241m==\u001b[39m nct_id, \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mEligibility Criteria\u001b[39m\u001b[38;5;124m'\u001b[39m]\u001b[38;5;241m.\u001b[39mvalues[\u001b[38;5;241m0\u001b[39m]\n\u001b[0;32m---> 63\u001b[0m AgentJudgment \u001b[38;5;241m=\u001b[39m CriteriaCheckAgent\u001b[38;5;241m.\u001b[39mevaluate_eligibility(TargetCriteria, \u001b[43mex_question\u001b[49m)\n\u001b[1;32m 64\u001b[0m \u001b[38;5;28mprint\u001b[39m(AgentJudgment)\n\u001b[1;32m 66\u001b[0m AgentGrade \u001b[38;5;241m=\u001b[39m grader_agent\u001b[38;5;241m.\u001b[39mevaluate_eligibility(AgentJudgment)\n",
36
+ "\u001b[0;31mNameError\u001b[0m: name 'ex_question' is not defined"
37
+ ]
38
  }
39
  ],
40
  "source": [
dev/GraphAppDev8.ipynb ADDED
@@ -0,0 +1,484 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": 3,
6
+ "metadata": {},
7
+ "outputs": [
8
+ {
9
+ "name": "stdout",
10
+ "output_type": "stream",
11
+ "text": [
12
+ "Fetching data from: https://clinicaltrials.gov/api/v2/studies?query.titles=Stomach cancer SEARCH[Location](AREA[LocationCountry]Japan AND AREA[LocationStatus]Recruiting)&pageSize=100\n"
13
+ ]
14
+ }
15
+ ],
16
+ "source": [
17
+ "from langchain_community.agent_toolkits import create_sql_agent\n",
18
+ "from langchain_openai import ChatOpenAI\n",
19
+ "from langchain_groq import ChatGroq\n",
20
+ "from langchain_core.prompts import ChatPromptTemplate\n",
21
+ "from langchain_core.pydantic_v1 import BaseModel, Field\n",
22
+ "import pandas as pd\n",
23
+ "from pydantic import BaseModel, Field\n",
24
+ "\n",
25
+ "from langchain.text_splitter import RecursiveCharacterTextSplitter\n",
26
+ "from langchain_community.vectorstores import Chroma\n",
27
+ "from langchain.embeddings import HuggingFaceEmbeddings\n",
28
+ "from langchain_core.runnables import RunnablePassthrough\n",
29
+ "from langchain_core.output_parsers import StrOutputParser\n",
30
+ "\n",
31
+ "\n",
32
+ "gpt = ChatOpenAI(model=\"gpt-3.5-turbo\", temperature=0)\n",
33
+ "#agent_gpt_executor = create_sql_agent(gpt, db=db, agent_type=\"tool-calling\", verbose=True)\n",
34
+ "\n",
35
+ "## make database\n",
36
+ "from langchain_community.utilities import SQLDatabase\n",
37
+ "from sqlalchemy import create_engine\n",
38
+ "\n",
39
+ "from langchain.prompts import ChatPromptTemplate\n",
40
+ "from langchain.schema import SystemMessage\n",
41
+ "from langchain_core.prompts import MessagesPlaceholder\n",
42
+ "#agent_groq_executor = create_sql_agent(llm, db=db, agent_type=\"tool-calling\", verbose=True)\n",
43
+ "\n",
44
+ "from OpenAITools.FetchTools import fetch_clinical_trials, fetch_clinical_trials_jp\n",
45
+ "from OpenAITools.CrinicalTrialTools import QuestionModifierEnglish, TumorNameExtractor, SimpleClinicalTrialAgent,GraderAgent,LLMTranslator,generate_ex_question_English\n",
46
+ "\n",
47
+ "groq = ChatGroq(model_name=\"llama3-70b-8192\", temperature=0)\n",
48
+ "#agent_groq_executor = create_sql_agent(groq, db=db, agent_type=\"tool-calling\", verbose=True)\n",
49
+ "\n",
50
+ "age = \"65\"\n",
51
+ "sex =\"男性\"\n",
52
+ "tumor_type =\"胃癌\"\n",
53
+ "#tumor_type = \"gastric cancer\"\n",
54
+ "GeneMutation =\"HER2\"\n",
55
+ "Meseable = \"有り\"\n",
56
+ "Biopsiable = \"有り\"\n",
57
+ "NCTID = 'NCT06441994'\n",
58
+ "\n",
59
+ "#Define extractor\n",
60
+ "Translator = LLMTranslator(groq)\n",
61
+ "TumorName = Translator.translate(tumor_type)\n",
62
+ "\n",
63
+ "#Make db\n",
64
+ "df = fetch_clinical_trials(TumorName)\n",
65
+ "# 新しい列を追加\n",
66
+ "df['AgentJudgment'] = None\n",
67
+ "df['AgentGrade'] = None\n",
68
+ "#df = df.iloc[:5, :]\n",
69
+ "NCTIDs = list(df['NCTID' ])\n",
70
+ "\n",
71
+ "#Define agents\n",
72
+ "#modifier = QuestionModifierEnglish(groq)\n",
73
+ "CriteriaCheckAgent = SimpleClinicalTrialAgent(groq)\n",
74
+ "grader_agent = GraderAgent(groq)"
75
+ ]
76
+ },
77
+ {
78
+ "cell_type": "code",
79
+ "execution_count": 4,
80
+ "metadata": {},
81
+ "outputs": [],
82
+ "source": [
83
+ "ex_question = generate_ex_question_English(age, sex, TumorName, GeneMutation, Meseable, Biopsiable)"
84
+ ]
85
+ },
86
+ {
87
+ "cell_type": "code",
88
+ "execution_count": 5,
89
+ "metadata": {},
90
+ "outputs": [
91
+ {
92
+ "name": "stdout",
93
+ "output_type": "stream",
94
+ "text": [
95
+ "The patient is not eligible for this clinical trial because the trial is for metastatic breast cancer (mBC) or metastatic gastric adenocarcinoma, gastroesophageal junction adenocarcinoma, or esophageal adenocarcinoma (mGEAC), and the patient has stomach cancer, which is not explicitly mentioned in the inclusion criteria.\n",
96
+ "no\n",
97
+ "The patient is eligible for this clinical trial based on the provided information, as they meet the inclusion criteria (age, measurable tumor, biopsiable tumor, and HER2 gene mutation) and do not have any of the exclusion criteria mentioned.\n",
98
+ "yes\n",
99
+ "The patient is eligible for this clinical trial based on the provided information, as he has a known HER2 gene mutation and a measurable and biopsiable tumor. However, I do not know if he meets the other inclusion criteria, such as adequate bone marrow, renal, and liver function, and performance status.\n",
100
+ "unclear\n",
101
+ "The 65-year-old male patient with Stomach cancer is eligible for this clinical trial based on the provided criteria, as he meets the inclusion criteria (age, disease characteristics, measurable tumor, and HER2-positive status) and does not have any of the listed exclusion criteria.\n",
102
+ "yes\n",
103
+ "The patient is eligible for this clinical trial based on the provided criteria, as the patient has a biopsy-confirmed diagnosis of stomach cancer (gastric adenocarcinoma), is 65 years old (meeting the age criterion), and has a biopsiable tumor.\n",
104
+ "yes\n",
105
+ "The patient is eligible for this clinical trial based on the provided criteria. The patient meets the inclusion criteria for gastric/GEJ cancer, has a measurable tumor, and has a biopsiable tumor. The patient's HER2 mutation is not a exclusion criterion. However, the patient's age (65) is not explicitly mentioned as an inclusion or exclusion criterion, but it is likely that the patient is considered an adult according to local regulation.\n",
106
+ "yes\n",
107
+ "I do not know if the patient is eligible for this clinical trial because the criteria do not mention age or cancer type as inclusion or exclusion criteria, and there is no information about the patient's H. pylori status.\n",
108
+ "unclear\n",
109
+ "The patient is not eligible for this clinical trial because the patient's tumor has a HER2 mutation, whereas the trial requires a KRAS wild type (wt) amplification or a KRAS G12V mutation.\n",
110
+ "no\n",
111
+ "The patient is not eligible for this clinical trial because the patient has stomach cancer, but the trial is specific to gastric cancer with malignant ascites or pancreatic cancer with malignant ascites, and there is no mention of malignant ascites in the patient's condition.\n",
112
+ "no\n",
113
+ "The patient is eligible for this clinical trial based on the provided criteria, as they meet the inclusion criteria (unresectable or recurrent gastric cancer, age over 20, and measurable tumor) and do not have any of the exclusion criteria mentioned.\n",
114
+ "yes\n",
115
+ "The patient is not eligible for this clinical trial because the patient has a known HER2 gene mutation, and the exclusion criteria specifically state that HER2 positive gastric or GEJ adenocarcinoma is an exclusion criterion.\n",
116
+ "no\n",
117
+ "The 65-year-old male patient with Stomach cancer is eligible for this clinical trial based on the provided information, as he meets the inclusion criteria (HER2-positive, measurable tumor, and biopsiable tumor) and does not have any obvious exclusion criteria mentioned.\n",
118
+ "yes\n",
119
+ "The patient is not eligible for this clinical trial because they have a known HER2 gene mutation, which is an exclusion criterion.\n",
120
+ "no\n"
121
+ ]
122
+ }
123
+ ],
124
+ "source": [
125
+ "for nct_id in NCTIDs:\n",
126
+ " TargetCriteria = df.loc[df['NCTID'] == nct_id, 'Eligibility Criteria'].values[0]\n",
127
+ " AgentJudgment = CriteriaCheckAgent.evaluate_eligibility(TargetCriteria, ex_question)\n",
128
+ " print(AgentJudgment)\n",
129
+ "\n",
130
+ " AgentGrade = grader_agent.evaluate_eligibility(AgentJudgment)\n",
131
+ " print(AgentGrade)\n",
132
+ " # NCTIDに一致する行を見つけて更新\n",
133
+ " df.loc[df['NCTID'] == nct_id, 'AgentJudgment'] = AgentJudgment\n",
134
+ " df.loc[df['NCTID'] == nct_id, 'AgentGrade'] = AgentGrade"
135
+ ]
136
+ },
137
+ {
138
+ "cell_type": "code",
139
+ "execution_count": null,
140
+ "metadata": {},
141
+ "outputs": [],
142
+ "source": []
143
+ },
144
+ {
145
+ "cell_type": "code",
146
+ "execution_count": 7,
147
+ "metadata": {},
148
+ "outputs": [],
149
+ "source": [
150
+ " # 列を指定した順に並び替え\n",
151
+ "columns_order = ['NCTID', 'AgentGrade', 'Title', 'AgentJudgment', 'Japanes Locations', \n",
152
+ " 'Primary Completion Date', 'Cancer', 'Summary', 'Eligibility Criteria']\n",
153
+ "df = df[columns_order] "
154
+ ]
155
+ },
156
+ {
157
+ "cell_type": "code",
158
+ "execution_count": 8,
159
+ "metadata": {},
160
+ "outputs": [
161
+ {
162
+ "data": {
163
+ "text/html": [
164
+ "<div>\n",
165
+ "<style scoped>\n",
166
+ " .dataframe tbody tr th:only-of-type {\n",
167
+ " vertical-align: middle;\n",
168
+ " }\n",
169
+ "\n",
170
+ " .dataframe tbody tr th {\n",
171
+ " vertical-align: top;\n",
172
+ " }\n",
173
+ "\n",
174
+ " .dataframe thead th {\n",
175
+ " text-align: right;\n",
176
+ " }\n",
177
+ "</style>\n",
178
+ "<table border=\"1\" class=\"dataframe\">\n",
179
+ " <thead>\n",
180
+ " <tr style=\"text-align: right;\">\n",
181
+ " <th></th>\n",
182
+ " <th>NCTID</th>\n",
183
+ " <th>AgentGrade</th>\n",
184
+ " <th>Title</th>\n",
185
+ " <th>AgentJudgment</th>\n",
186
+ " <th>Japanes Locations</th>\n",
187
+ " <th>Primary Completion Date</th>\n",
188
+ " <th>Cancer</th>\n",
189
+ " <th>Summary</th>\n",
190
+ " <th>Eligibility Criteria</th>\n",
191
+ " </tr>\n",
192
+ " </thead>\n",
193
+ " <tbody>\n",
194
+ " <tr>\n",
195
+ " <th>0</th>\n",
196
+ " <td>NCT06324357</td>\n",
197
+ " <td>no</td>\n",
198
+ " <td>Beamion BCGC-1: A Study to Find a Suitable Dos...</td>\n",
199
+ " <td>The patient is not eligible for this clinical ...</td>\n",
200
+ " <td>ku, shi</td>\n",
201
+ " <td>2027-02-22</td>\n",
202
+ " <td>Metastatic Breast Cancer, Metastatic Gastric A...</td>\n",
203
+ " <td>This study is open to adults aged 18 years and...</td>\n",
204
+ " <td>Inclusion Criteria:\\n\\n* Signed and dated writ...</td>\n",
205
+ " </tr>\n",
206
+ " <tr>\n",
207
+ " <th>1</th>\n",
208
+ " <td>NCT06490055</td>\n",
209
+ " <td>yes</td>\n",
210
+ " <td>Predicting the Efficacy in Advanced Gastric Ca...</td>\n",
211
+ " <td>The patient is eligible for this clinical tria...</td>\n",
212
+ " <td>Kurashiki</td>\n",
213
+ " <td>2025-12-31</td>\n",
214
+ " <td>Gastric Cancer, Chemotherapy Effect, Paclitaxe...</td>\n",
215
+ " <td>With advances in chemotherapy for gastric canc...</td>\n",
216
+ " <td>Inclusion Criteria:\\n\\n1. unresectable or recu...</td>\n",
217
+ " </tr>\n",
218
+ " <tr>\n",
219
+ " <th>2</th>\n",
220
+ " <td>NCT05002127</td>\n",
221
+ " <td>unclear</td>\n",
222
+ " <td>A Study of Evorpacept (ALX148) in Patients wit...</td>\n",
223
+ " <td>The patient is eligible for this clinical tria...</td>\n",
224
+ " <td>Chiba, Fukuoka, Gifu, Kumamoto, Kyoto, Nagasak...</td>\n",
225
+ " <td>2026-07</td>\n",
226
+ " <td>Gastric Cancer, Gastroesophageal Junction Aden...</td>\n",
227
+ " <td>A Phase 2/3 Study of Evorpacept (ALX148) in Co...</td>\n",
228
+ " <td>Inclusion Criteria:\\n\\n* HER2-overexpressing a...</td>\n",
229
+ " </tr>\n",
230
+ " <tr>\n",
231
+ " <th>3</th>\n",
232
+ " <td>NCT04379596</td>\n",
233
+ " <td>yes</td>\n",
234
+ " <td>Ph1b/2 Study of the Safety and Efficacy of T-D...</td>\n",
235
+ " <td>The 65-year-old male patient with Stomach canc...</td>\n",
236
+ " <td>Kashiwa, gun, ku, shi</td>\n",
237
+ " <td>2026-07-30</td>\n",
238
+ " <td>Gastric Cancer</td>\n",
239
+ " <td>DESTINY-Gastric03 will investigate the safety,...</td>\n",
240
+ " <td>Inclusion criteria:\\n\\n1. Male and female part...</td>\n",
241
+ " </tr>\n",
242
+ " <tr>\n",
243
+ " <th>4</th>\n",
244
+ " <td>NCT05205343</td>\n",
245
+ " <td>yes</td>\n",
246
+ " <td>Trans-Pacific Multicenter Collaborative Study ...</td>\n",
247
+ " <td>The patient is eligible for this clinical tria...</td>\n",
248
+ " <td>Tokyo</td>\n",
249
+ " <td>2026-05-31</td>\n",
250
+ " <td>Gastrostomy, Gastric, GastroEsophageal Cancer</td>\n",
251
+ " <td>To compare the symptoms of patients who have a...</td>\n",
252
+ " <td>Inclusion Criteria:\\n\\n1. Able to speak and re...</td>\n",
253
+ " </tr>\n",
254
+ " <tr>\n",
255
+ " <th>5</th>\n",
256
+ " <td>NCT05365581</td>\n",
257
+ " <td>yes</td>\n",
258
+ " <td>A Study of ASP2138 Given by Itself or Given Wi...</td>\n",
259
+ " <td>The patient is eligible for this clinical tria...</td>\n",
260
+ " <td>Kashiwa, Nagoya, Osakasayama, Suita, Yokohama, ku</td>\n",
261
+ " <td>2026-10-31</td>\n",
262
+ " <td>Gastric Adenocarcinoma, Gastroesophageal Junct...</td>\n",
263
+ " <td>Claudin 18.2 protein, or CLDN18.2 is a protein...</td>\n",
264
+ " <td>Inclusion Criteria:\\n\\n* Participant is consid...</td>\n",
265
+ " </tr>\n",
266
+ " <tr>\n",
267
+ " <th>6</th>\n",
268
+ " <td>NCT00197470</td>\n",
269
+ " <td>unclear</td>\n",
270
+ " <td>Cytokine Gene Polymorphisms in Gastric Diseases</td>\n",
271
+ " <td>I do not know if the patient is eligible for t...</td>\n",
272
+ " <td>Hamamatsu</td>\n",
273
+ " <td>Unknown Date</td>\n",
274
+ " <td>Gastric Ulcer, Duodenal Ulcer, Gastric Cancer</td>\n",
275
+ " <td>Recently, cytokine polymorphisms are considere...</td>\n",
276
+ " <td>Inclusion Criteria:\\n\\n-\\n\\nExclusion Criteria...</td>\n",
277
+ " </tr>\n",
278
+ " <tr>\n",
279
+ " <th>7</th>\n",
280
+ " <td>NCT06056024</td>\n",
281
+ " <td>no</td>\n",
282
+ " <td>A Study to Test How Well Different Doses of BI...</td>\n",
283
+ " <td>The patient is not eligible for this clinical ...</td>\n",
284
+ " <td>Kashiwa, ku</td>\n",
285
+ " <td>2027-05-26</td>\n",
286
+ " <td>Solid Tumor, KRAS Mutation</td>\n",
287
+ " <td>This study is open to adults with advanced can...</td>\n",
288
+ " <td>Inclusion Criteria:\\n\\n1. Patients with pathol...</td>\n",
289
+ " </tr>\n",
290
+ " <tr>\n",
291
+ " <th>8</th>\n",
292
+ " <td>NCT05438459</td>\n",
293
+ " <td>no</td>\n",
294
+ " <td>GAIA-102 Intraperitoneal Administration in Pat...</td>\n",
295
+ " <td>The patient is not eligible for this clinical ...</td>\n",
296
+ " <td>shi</td>\n",
297
+ " <td>2026-12-31</td>\n",
298
+ " <td>Gastric Cancer, Pancreatic Cancer</td>\n",
299
+ " <td>Phase I Part :\\n\\nConfirm the safety of GAIA-1...</td>\n",
300
+ " <td>Inclusion Criteria:\\n\\n1. Unresectable, advanc...</td>\n",
301
+ " </tr>\n",
302
+ " <tr>\n",
303
+ " <th>9</th>\n",
304
+ " <td>NCT06490159</td>\n",
305
+ " <td>yes</td>\n",
306
+ " <td>Predicting Peripheral Neuropathy of Paclitaxel...</td>\n",
307
+ " <td>The patient is eligible for this clinical tria...</td>\n",
308
+ " <td>Kurashiki</td>\n",
309
+ " <td>2025-12-31</td>\n",
310
+ " <td>Gastric Cancer, Chemotherapy-induced Periphera...</td>\n",
311
+ " <td>Although advances in chemotherapy have improve...</td>\n",
312
+ " <td>Inclusion Criteria:\\n\\n1. unresectable or recu...</td>\n",
313
+ " </tr>\n",
314
+ " <tr>\n",
315
+ " <th>10</th>\n",
316
+ " <td>NCT06038578</td>\n",
317
+ " <td>no</td>\n",
318
+ " <td>A Study of TRK-950 When Used in Combination Wi...</td>\n",
319
+ " <td>The patient is not eligible for this clinical ...</td>\n",
320
+ " <td>Chuo Ku, Kashiwa, Ku</td>\n",
321
+ " <td>2025-08-31</td>\n",
322
+ " <td>Gastric Adenocarcinoma, Gastric Cancer, Gastro...</td>\n",
323
+ " <td>This study will assess the efficacy, safety, o...</td>\n",
324
+ " <td>Inclusion Criteria:\\n\\n* Histologically or cyt...</td>\n",
325
+ " </tr>\n",
326
+ " <tr>\n",
327
+ " <th>11</th>\n",
328
+ " <td>NCT05152147</td>\n",
329
+ " <td>yes</td>\n",
330
+ " <td>A Study of Zanidatamab in Combination With Che...</td>\n",
331
+ " <td>The 65-year-old male patient with Stomach canc...</td>\n",
332
+ " <td>Cho, Chuo Ku, Hirakata, Ina, Ku, Matsuyama, Na...</td>\n",
333
+ " <td>2024-12-31</td>\n",
334
+ " <td>Gastric Neoplasms, Gastroesophageal Adenocarci...</td>\n",
335
+ " <td>This study is being done to find out if zanida...</td>\n",
336
+ " <td>Inclusion Criteria:\\n\\n* Histologically confir...</td>\n",
337
+ " </tr>\n",
338
+ " <tr>\n",
339
+ " <th>12</th>\n",
340
+ " <td>NCT05322577</td>\n",
341
+ " <td>no</td>\n",
342
+ " <td>A Study Evaluating Bemarituzumab in Combinatio...</td>\n",
343
+ " <td>The patient is not eligible for this clinical ...</td>\n",
344
+ " <td>Shi, gun, ku, shi</td>\n",
345
+ " <td>2026-03-17</td>\n",
346
+ " <td>Gastric Cancer, Gastroesophageal Junction Cancer</td>\n",
347
+ " <td>The main objectives of this study are to evalu...</td>\n",
348
+ " <td>Inclusion Criteria:\\n\\n* Adults with unresecta...</td>\n",
349
+ " </tr>\n",
350
+ " </tbody>\n",
351
+ "</table>\n",
352
+ "</div>"
353
+ ],
354
+ "text/plain": [
355
+ " NCTID AgentGrade Title \\\n",
356
+ "0 NCT06324357 no Beamion BCGC-1: A Study to Find a Suitable Dos... \n",
357
+ "1 NCT06490055 yes Predicting the Efficacy in Advanced Gastric Ca... \n",
358
+ "2 NCT05002127 unclear A Study of Evorpacept (ALX148) in Patients wit... \n",
359
+ "3 NCT04379596 yes Ph1b/2 Study of the Safety and Efficacy of T-D... \n",
360
+ "4 NCT05205343 yes Trans-Pacific Multicenter Collaborative Study ... \n",
361
+ "5 NCT05365581 yes A Study of ASP2138 Given by Itself or Given Wi... \n",
362
+ "6 NCT00197470 unclear Cytokine Gene Polymorphisms in Gastric Diseases \n",
363
+ "7 NCT06056024 no A Study to Test How Well Different Doses of BI... \n",
364
+ "8 NCT05438459 no GAIA-102 Intraperitoneal Administration in Pat... \n",
365
+ "9 NCT06490159 yes Predicting Peripheral Neuropathy of Paclitaxel... \n",
366
+ "10 NCT06038578 no A Study of TRK-950 When Used in Combination Wi... \n",
367
+ "11 NCT05152147 yes A Study of Zanidatamab in Combination With Che... \n",
368
+ "12 NCT05322577 no A Study Evaluating Bemarituzumab in Combinatio... \n",
369
+ "\n",
370
+ " AgentJudgment \\\n",
371
+ "0 The patient is not eligible for this clinical ... \n",
372
+ "1 The patient is eligible for this clinical tria... \n",
373
+ "2 The patient is eligible for this clinical tria... \n",
374
+ "3 The 65-year-old male patient with Stomach canc... \n",
375
+ "4 The patient is eligible for this clinical tria... \n",
376
+ "5 The patient is eligible for this clinical tria... \n",
377
+ "6 I do not know if the patient is eligible for t... \n",
378
+ "7 The patient is not eligible for this clinical ... \n",
379
+ "8 The patient is not eligible for this clinical ... \n",
380
+ "9 The patient is eligible for this clinical tria... \n",
381
+ "10 The patient is not eligible for this clinical ... \n",
382
+ "11 The 65-year-old male patient with Stomach canc... \n",
383
+ "12 The patient is not eligible for this clinical ... \n",
384
+ "\n",
385
+ " Japanes Locations Primary Completion Date \\\n",
386
+ "0 ku, shi 2027-02-22 \n",
387
+ "1 Kurashiki 2025-12-31 \n",
388
+ "2 Chiba, Fukuoka, Gifu, Kumamoto, Kyoto, Nagasak... 2026-07 \n",
389
+ "3 Kashiwa, gun, ku, shi 2026-07-30 \n",
390
+ "4 Tokyo 2026-05-31 \n",
391
+ "5 Kashiwa, Nagoya, Osakasayama, Suita, Yokohama, ku 2026-10-31 \n",
392
+ "6 Hamamatsu Unknown Date \n",
393
+ "7 Kashiwa, ku 2027-05-26 \n",
394
+ "8 shi 2026-12-31 \n",
395
+ "9 Kurashiki 2025-12-31 \n",
396
+ "10 Chuo Ku, Kashiwa, Ku 2025-08-31 \n",
397
+ "11 Cho, Chuo Ku, Hirakata, Ina, Ku, Matsuyama, Na... 2024-12-31 \n",
398
+ "12 Shi, gun, ku, shi 2026-03-17 \n",
399
+ "\n",
400
+ " Cancer \\\n",
401
+ "0 Metastatic Breast Cancer, Metastatic Gastric A... \n",
402
+ "1 Gastric Cancer, Chemotherapy Effect, Paclitaxe... \n",
403
+ "2 Gastric Cancer, Gastroesophageal Junction Aden... \n",
404
+ "3 Gastric Cancer \n",
405
+ "4 Gastrostomy, Gastric, GastroEsophageal Cancer \n",
406
+ "5 Gastric Adenocarcinoma, Gastroesophageal Junct... \n",
407
+ "6 Gastric Ulcer, Duodenal Ulcer, Gastric Cancer \n",
408
+ "7 Solid Tumor, KRAS Mutation \n",
409
+ "8 Gastric Cancer, Pancreatic Cancer \n",
410
+ "9 Gastric Cancer, Chemotherapy-induced Periphera... \n",
411
+ "10 Gastric Adenocarcinoma, Gastric Cancer, Gastro... \n",
412
+ "11 Gastric Neoplasms, Gastroesophageal Adenocarci... \n",
413
+ "12 Gastric Cancer, Gastroesophageal Junction Cancer \n",
414
+ "\n",
415
+ " Summary \\\n",
416
+ "0 This study is open to adults aged 18 years and... \n",
417
+ "1 With advances in chemotherapy for gastric canc... \n",
418
+ "2 A Phase 2/3 Study of Evorpacept (ALX148) in Co... \n",
419
+ "3 DESTINY-Gastric03 will investigate the safety,... \n",
420
+ "4 To compare the symptoms of patients who have a... \n",
421
+ "5 Claudin 18.2 protein, or CLDN18.2 is a protein... \n",
422
+ "6 Recently, cytokine polymorphisms are considere... \n",
423
+ "7 This study is open to adults with advanced can... \n",
424
+ "8 Phase I Part :\\n\\nConfirm the safety of GAIA-1... \n",
425
+ "9 Although advances in chemotherapy have improve... \n",
426
+ "10 This study will assess the efficacy, safety, o... \n",
427
+ "11 This study is being done to find out if zanida... \n",
428
+ "12 The main objectives of this study are to evalu... \n",
429
+ "\n",
430
+ " Eligibility Criteria \n",
431
+ "0 Inclusion Criteria:\\n\\n* Signed and dated writ... \n",
432
+ "1 Inclusion Criteria:\\n\\n1. unresectable or recu... \n",
433
+ "2 Inclusion Criteria:\\n\\n* HER2-overexpressing a... \n",
434
+ "3 Inclusion criteria:\\n\\n1. Male and female part... \n",
435
+ "4 Inclusion Criteria:\\n\\n1. Able to speak and re... \n",
436
+ "5 Inclusion Criteria:\\n\\n* Participant is consid... \n",
437
+ "6 Inclusion Criteria:\\n\\n-\\n\\nExclusion Criteria... \n",
438
+ "7 Inclusion Criteria:\\n\\n1. Patients with pathol... \n",
439
+ "8 Inclusion Criteria:\\n\\n1. Unresectable, advanc... \n",
440
+ "9 Inclusion Criteria:\\n\\n1. unresectable or recu... \n",
441
+ "10 Inclusion Criteria:\\n\\n* Histologically or cyt... \n",
442
+ "11 Inclusion Criteria:\\n\\n* Histologically confir... \n",
443
+ "12 Inclusion Criteria:\\n\\n* Adults with unresecta... "
444
+ ]
445
+ },
446
+ "execution_count": 8,
447
+ "metadata": {},
448
+ "output_type": "execute_result"
449
+ }
450
+ ],
451
+ "source": [
452
+ "df"
453
+ ]
454
+ },
455
+ {
456
+ "cell_type": "code",
457
+ "execution_count": null,
458
+ "metadata": {},
459
+ "outputs": [],
460
+ "source": []
461
+ }
462
+ ],
463
+ "metadata": {
464
+ "kernelspec": {
465
+ "display_name": "gradio",
466
+ "language": "python",
467
+ "name": "python3"
468
+ },
469
+ "language_info": {
470
+ "codemirror_mode": {
471
+ "name": "ipython",
472
+ "version": 3
473
+ },
474
+ "file_extension": ".py",
475
+ "mimetype": "text/x-python",
476
+ "name": "python",
477
+ "nbconvert_exporter": "python",
478
+ "pygments_lexer": "ipython3",
479
+ "version": "3.12.3"
480
+ }
481
+ },
482
+ "nbformat": 4,
483
+ "nbformat_minor": 2
484
+ }
dev/GraphAppDev9.ipynb ADDED
@@ -0,0 +1,1396 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": 44,
6
+ "metadata": {},
7
+ "outputs": [
8
+ {
9
+ "name": "stderr",
10
+ "output_type": "stream",
11
+ "text": [
12
+ "/Users/satoc/miniforge3/envs/gradio/lib/python3.12/site-packages/transformers/tokenization_utils_base.py:1617: FutureWarning: `clean_up_tokenization_spaces` was not set. It will be set to `True` by default. This behavior will be deprecated in transformers v4.45, and will be then set to `False` by default. For more details check this issue: https://github.com/huggingface/transformers/issues/31884\n",
13
+ " warnings.warn(\n"
14
+ ]
15
+ }
16
+ ],
17
+ "source": [
18
+ "from langchain_community.agent_toolkits import create_sql_agent\n",
19
+ "from langchain_openai import ChatOpenAI\n",
20
+ "from langchain_groq import ChatGroq\n",
21
+ "from langchain_core.prompts import ChatPromptTemplate\n",
22
+ "from langchain_core.pydantic_v1 import BaseModel, Field\n",
23
+ "import pandas as pd\n",
24
+ "from pydantic import BaseModel, Field\n",
25
+ "\n",
26
+ "from langchain.text_splitter import RecursiveCharacterTextSplitter\n",
27
+ "from langchain_community.vectorstores import Chroma\n",
28
+ "from langchain.embeddings import HuggingFaceEmbeddings\n",
29
+ "from langchain_core.runnables import RunnablePassthrough\n",
30
+ "from langchain_core.output_parsers import StrOutputParser\n",
31
+ "\n",
32
+ "\n",
33
+ "gpt = ChatOpenAI(model=\"gpt-3.5-turbo\", temperature=0)\n",
34
+ "#agent_gpt_executor = create_sql_agent(gpt, db=db, agent_type=\"tool-calling\", verbose=True)\n",
35
+ "\n",
36
+ "## make database\n",
37
+ "from langchain_community.utilities import SQLDatabase\n",
38
+ "from sqlalchemy import create_engine\n",
39
+ "\n",
40
+ "from langchain.prompts import ChatPromptTemplate\n",
41
+ "from langchain.schema import SystemMessage\n",
42
+ "from langchain_core.prompts import MessagesPlaceholder\n",
43
+ "#agent_groq_executor = create_sql_agent(llm, db=db, agent_type=\"tool-calling\", verbose=True)\n",
44
+ "\n",
45
+ "from OpenAITools.FetchTools import fetch_clinical_trials, fetch_clinical_trials_jp\n",
46
+ "from OpenAITools.CrinicalTrialTools import QuestionModifierEnglish, TumorNameExtractor, SimpleClinicalTrialAgent,GraderAgent,LLMTranslator,generate_ex_question_English\n",
47
+ "\n",
48
+ "from OpenAITools.JRCTTools import get_matched_df\n",
49
+ "from sentence_transformers import SentenceTransformer\n",
50
+ "from sentence_transformers import util\n",
51
+ "groq = ChatGroq(model_name=\"llama3-70b-8192\", temperature=0)\n",
52
+ "#agent_groq_executor = create_sql_agent(groq, db=db, agent_type=\"tool-calling\", verbose=True)\n",
53
+ "\n",
54
+ "import ast\n",
55
+ "import torch\n",
56
+ "age = \"65\"\n",
57
+ "sex =\"男性\"\n",
58
+ "tumor_type =\"glioma\"\n",
59
+ "#tumor_type = \"gastric cancer\"\n",
60
+ "GeneMutation =\"HER2\"\n",
61
+ "Meseable = \"有り\"\n",
62
+ "Biopsiable = \"有り\"\n",
63
+ "NCTID = 'NCT06441994'\n",
64
+ "\n",
65
+ "#Define extractor\n",
66
+ "Translator = LLMTranslator(groq)\n",
67
+ "TumorName = Translator.translate(tumor_type)\n",
68
+ "selectionModel = SentenceTransformer('pritamdeka/S-PubMedBert-MS-MARCO')\n",
69
+ "ex_question = generate_ex_question_English(age, sex, TumorName, GeneMutation, Meseable, Biopsiable)"
70
+ ]
71
+ },
72
+ {
73
+ "cell_type": "code",
74
+ "execution_count": 45,
75
+ "metadata": {},
76
+ "outputs": [],
77
+ "source": [
78
+ "basedf = pd.read_csv(\"../ClinicalTrialCSV/JRCT20241215CancerPost.csv\", index_col=0)"
79
+ ]
80
+ },
81
+ {
82
+ "cell_type": "code",
83
+ "execution_count": 46,
84
+ "metadata": {},
85
+ "outputs": [
86
+ {
87
+ "name": "stderr",
88
+ "output_type": "stream",
89
+ "text": [
90
+ "/var/folders/yw/qz00x75d7kb98f7vm8dkhkvw0000gn/T/ipykernel_49357/2492212482.py:2: SettingWithCopyWarning: \n",
91
+ "A value is trying to be set on a copy of a slice from a DataFrame.\n",
92
+ "Try using .loc[row_indexer,col_indexer] = value instead\n",
93
+ "\n",
94
+ "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
95
+ " df['AgentJudgment'] = None\n",
96
+ "/var/folders/yw/qz00x75d7kb98f7vm8dkhkvw0000gn/T/ipykernel_49357/2492212482.py:3: SettingWithCopyWarning: \n",
97
+ "A value is trying to be set on a copy of a slice from a DataFrame.\n",
98
+ "Try using .loc[row_indexer,col_indexer] = value instead\n",
99
+ "\n",
100
+ "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
101
+ " df['AgentGrade'] = None\n"
102
+ ]
103
+ }
104
+ ],
105
+ "source": [
106
+ "df = get_matched_df(basedf=basedf, query=TumorName, model=selectionModel, threshold=0.925)\n",
107
+ "df['AgentJudgment'] = None\n",
108
+ "df['AgentGrade'] = None"
109
+ ]
110
+ },
111
+ {
112
+ "cell_type": "code",
113
+ "execution_count": 47,
114
+ "metadata": {},
115
+ "outputs": [
116
+ {
117
+ "data": {
118
+ "text/html": [
119
+ "<div>\n",
120
+ "<style scoped>\n",
121
+ " .dataframe tbody tr th:only-of-type {\n",
122
+ " vertical-align: middle;\n",
123
+ " }\n",
124
+ "\n",
125
+ " .dataframe tbody tr th {\n",
126
+ " vertical-align: top;\n",
127
+ " }\n",
128
+ "\n",
129
+ " .dataframe thead th {\n",
130
+ " text-align: right;\n",
131
+ " }\n",
132
+ "</style>\n",
133
+ "<table border=\"1\" class=\"dataframe\">\n",
134
+ " <thead>\n",
135
+ " <tr style=\"text-align: right;\">\n",
136
+ " <th></th>\n",
137
+ " <th>JRCT ID</th>\n",
138
+ " <th>NCT No</th>\n",
139
+ " <th>JapicCTI No</th>\n",
140
+ " <th>Title</th>\n",
141
+ " <th>TargetJ</th>\n",
142
+ " <th>Target</th>\n",
143
+ " <th>TargetEnglish</th>\n",
144
+ " <th>研究・治験の目的</th>\n",
145
+ " <th>試験等のフェーズ</th>\n",
146
+ " <th>試験の種類</th>\n",
147
+ " <th>...</th>\n",
148
+ " <th>Age Minimum</th>\n",
149
+ " <th>Age Maximum</th>\n",
150
+ " <th>Gender</th>\n",
151
+ " <th>Discontinuation Criteria</th>\n",
152
+ " <th>Keyword</th>\n",
153
+ " <th>Intervention(s)</th>\n",
154
+ " <th>TargetWord</th>\n",
155
+ " <th>TargetVec</th>\n",
156
+ " <th>AgentJudgment</th>\n",
157
+ " <th>AgentGrade</th>\n",
158
+ " </tr>\n",
159
+ " </thead>\n",
160
+ " <tbody>\n",
161
+ " <tr>\n",
162
+ " <th>82</th>\n",
163
+ " <td>jRCT2051240121</td>\n",
164
+ " <td>NCT06413706</td>\n",
165
+ " <td>NaN</td>\n",
166
+ " <td>放射線療法後の悪性神経膠腫の小児および若年成人を対象に、アベマシクリブ+テモゾロミドとテモゾ...</td>\n",
167
+ " <td>悪性神経膠腫</td>\n",
168
+ " <td>悪性神経膠腫</td>\n",
169
+ " <td>High-Grade Glioma</td>\n",
170
+ " <td>放射線療法後の悪性神経膠腫を有する小児および若年成人を対象に、アベマシクリブとテモゾロミドの...</td>\n",
171
+ " <td>2</td>\n",
172
+ " <td>NaN</td>\n",
173
+ " <td>...</td>\n",
174
+ " <td>No limit</td>\n",
175
+ " <td>21age old not</td>\n",
176
+ " <td>NaN</td>\n",
177
+ " <td>NaN</td>\n",
178
+ " <td>NaN</td>\n",
179
+ " <td>Drug: Abemaciclib Administered orally Other Na...</td>\n",
180
+ " <td>['High-Grade Glioma']</td>\n",
181
+ " <td>[[-0.12244764715433121, -0.5778073668479919, -...</td>\n",
182
+ " <td>None</td>\n",
183
+ " <td>None</td>\n",
184
+ " </tr>\n",
185
+ " <tr>\n",
186
+ " <th>175</th>\n",
187
+ " <td>jRCT2031240090</td>\n",
188
+ " <td>NaN</td>\n",
189
+ " <td>NaN</td>\n",
190
+ " <td>再発悪性神経膠腫に対する治療用放射性薬剤64Cu-ATSMの有効性を検証するランダム化比較医...</td>\n",
191
+ " <td>悪性神経膠腫</td>\n",
192
+ " <td>悪性神経膠腫</td>\n",
193
+ " <td>Malignant glioma</td>\n",
194
+ " <td>再発・難治性悪性神経膠腫を対象として、64Cu-diacetyl-bis(N4-methyl...</td>\n",
195
+ " <td>3</td>\n",
196
+ " <td>NaN</td>\n",
197
+ " <td>...</td>\n",
198
+ " <td>18age old over</td>\n",
199
+ " <td>75age old under</td>\n",
200
+ " <td>Both</td>\n",
201
+ " <td>NaN</td>\n",
202
+ " <td>glioblastoma, grade3/4 astrocytoma, grade3 oli...</td>\n",
203
+ " <td>Group A: BPC Therapy Depending on the patient'...</td>\n",
204
+ " <td>['Malignant Glioma']</td>\n",
205
+ " <td>[[-0.33767956495285034, -0.4648125171661377, -...</td>\n",
206
+ " <td>None</td>\n",
207
+ " <td>None</td>\n",
208
+ " </tr>\n",
209
+ " <tr>\n",
210
+ " <th>263</th>\n",
211
+ " <td>jRCT2041230136</td>\n",
212
+ " <td>NaN</td>\n",
213
+ " <td>NaN</td>\n",
214
+ " <td>再発膠芽腫に対するTUG1を標的とした核酸医薬医師主導第I相試験</td>\n",
215
+ " <td>再発膠芽腫</td>\n",
216
+ " <td>再発膠芽腫</td>\n",
217
+ " <td>recurrent glioblastoma</td>\n",
218
+ " <td>再発膠芽腫患者を対象としてTUG1ASOを投与した場合の投与時の安全性を検討し、至適投与量を...</td>\n",
219
+ " <td>1</td>\n",
220
+ " <td>NaN</td>\n",
221
+ " <td>...</td>\n",
222
+ " <td>18age old over</td>\n",
223
+ " <td>75age old under</td>\n",
224
+ " <td>Both</td>\n",
225
+ " <td>NaN</td>\n",
226
+ " <td>NaN</td>\n",
227
+ " <td>Dosing frequency: 1 time /week Dose Levels Lev...</td>\n",
228
+ " <td>['Recurrent', 'Glioblastoma']</td>\n",
229
+ " <td>[[-0.27501848340034485, -0.5264514088630676, -...</td>\n",
230
+ " <td>None</td>\n",
231
+ " <td>None</td>\n",
232
+ " </tr>\n",
233
+ " <tr>\n",
234
+ " <th>361</th>\n",
235
+ " <td>jRCT2051230069</td>\n",
236
+ " <td>NaN</td>\n",
237
+ " <td>NaN</td>\n",
238
+ " <td>神経膠腫患者に対するロムスチン療法とプロカルバジン、ロムスチン、ビンクリスチン併⽤療法の安全...</td>\n",
239
+ " <td>神経膠腫</td>\n",
240
+ " <td>神経膠腫</td>\n",
241
+ " <td>Glioma</td>\n",
242
+ " <td>神経膠腫患者におけるロムスチン療法とプロカルバジン、ロムスチン、ビンクリスチン併用療法の安全...</td>\n",
243
+ " <td>1</td>\n",
244
+ " <td>NaN</td>\n",
245
+ " <td>...</td>\n",
246
+ " <td>18age old over</td>\n",
247
+ " <td>No limit</td>\n",
248
+ " <td>Both</td>\n",
249
+ " <td>NaN</td>\n",
250
+ " <td>NaN</td>\n",
251
+ " <td>&lt;cohort1&gt; Lomustine 130 mg/m2 orally every 6 w...</td>\n",
252
+ " <td>['Glioma']</td>\n",
253
+ " <td>[[-0.21631155908107758, -0.5687925219535828, -...</td>\n",
254
+ " <td>None</td>\n",
255
+ " <td>None</td>\n",
256
+ " </tr>\n",
257
+ " <tr>\n",
258
+ " <th>414</th>\n",
259
+ " <td>jRCT2031230007</td>\n",
260
+ " <td>NaN</td>\n",
261
+ " <td>NaN</td>\n",
262
+ " <td>BRAF融合遺伝子陽性の進行・再発の低悪性度神経膠腫または膵癌に対するビニメチニブの第Ⅱ相医...</td>\n",
263
+ " <td>低悪性度神経膠腫、膵癌</td>\n",
264
+ " <td>低悪性度神経膠腫、膵癌</td>\n",
265
+ " <td>Low-grade glioma, pancreatic cancer</td>\n",
266
+ " <td>BRAF融合遺伝子または遺伝子再構成陽性の切除不能または再発の低悪性度神経膠腫(コホート A...</td>\n",
267
+ " <td>2</td>\n",
268
+ " <td>NaN</td>\n",
269
+ " <td>...</td>\n",
270
+ " <td>12age old over</td>\n",
271
+ " <td>No limit</td>\n",
272
+ " <td>Both</td>\n",
273
+ " <td>NaN</td>\n",
274
+ " <td>BRAF fusion gene, BRAF rearrangement, low-grad...</td>\n",
275
+ " <td>Binimetinib is administered 45 mg orally, twic...</td>\n",
276
+ " <td>['Low-Grade Glioma', 'Pancreatic Cancer']</td>\n",
277
+ " <td>[[-0.18604964017868042, -0.547483503818512, -0...</td>\n",
278
+ " <td>None</td>\n",
279
+ " <td>None</td>\n",
280
+ " </tr>\n",
281
+ " <tr>\n",
282
+ " <th>636</th>\n",
283
+ " <td>jRCT2031210299</td>\n",
284
+ " <td>NaN</td>\n",
285
+ " <td>NaN</td>\n",
286
+ " <td>再発悪性神経膠腫患者を対象としたDSP-0390の第1相試験</td>\n",
287
+ " <td>再発悪性神経膠腫</td>\n",
288
+ " <td>再発悪性神経膠腫</td>\n",
289
+ " <td>Recurrent High-Grade Glioma</td>\n",
290
+ " <td>再発悪性神経膠腫患者を対象にDSP-0390を経口投与したときの安全性、薬物動態、薬力学及び...</td>\n",
291
+ " <td>1</td>\n",
292
+ " <td>NaN</td>\n",
293
+ " <td>...</td>\n",
294
+ " <td>18age old over</td>\n",
295
+ " <td>No limit</td>\n",
296
+ " <td>Both</td>\n",
297
+ " <td>NaN</td>\n",
298
+ " <td>NaN</td>\n",
299
+ " <td>Patients will receive DSP-0390 orally once dai...</td>\n",
300
+ " <td>['Recurrent', 'High-Grade Glioma']</td>\n",
301
+ " <td>[[-0.2750183045864105, -0.5264511704444885, -0...</td>\n",
302
+ " <td>None</td>\n",
303
+ " <td>None</td>\n",
304
+ " </tr>\n",
305
+ " <tr>\n",
306
+ " <th>712</th>\n",
307
+ " <td>jRCT2031200153</td>\n",
308
+ " <td>NaN</td>\n",
309
+ " <td>NaN</td>\n",
310
+ " <td>Cellm-001による初発膠芽腫治療効果無作為比較対照試験</td>\n",
311
+ " <td>膠芽腫</td>\n",
312
+ " <td>膠芽腫</td>\n",
313
+ " <td>glioblastoma</td>\n",
314
+ " <td>脳腫瘍のうち、初発悪性膠芽腫に対する自家脳腫瘍免疫賦活剤であるCellm-001について、術...</td>\n",
315
+ " <td>3</td>\n",
316
+ " <td>NaN</td>\n",
317
+ " <td>...</td>\n",
318
+ " <td>18age old over</td>\n",
319
+ " <td>75age old under</td>\n",
320
+ " <td>Both</td>\n",
321
+ " <td>NaN</td>\n",
322
+ " <td>NaN</td>\n",
323
+ " <td>Inject the investigational drug (Cellm-001 or ...</td>\n",
324
+ " <td>['Glioblastoma']</td>\n",
325
+ " <td>[[-0.15113382041454315, -0.5002245306968689, -...</td>\n",
326
+ " <td>None</td>\n",
327
+ " <td>None</td>\n",
328
+ " </tr>\n",
329
+ " </tbody>\n",
330
+ "</table>\n",
331
+ "<p>7 rows × 43 columns</p>\n",
332
+ "</div>"
333
+ ],
334
+ "text/plain": [
335
+ " JRCT ID NCT No JapicCTI No \\\n",
336
+ "82 jRCT2051240121 NCT06413706 NaN \n",
337
+ "175 jRCT2031240090 NaN NaN \n",
338
+ "263 jRCT2041230136 NaN NaN \n",
339
+ "361 jRCT2051230069 NaN NaN \n",
340
+ "414 jRCT2031230007 NaN NaN \n",
341
+ "636 jRCT2031210299 NaN NaN \n",
342
+ "712 jRCT2031200153 NaN NaN \n",
343
+ "\n",
344
+ " Title TargetJ \\\n",
345
+ "82 放射線療法後の悪性神経膠腫の小児および若年成人を対象に、アベマシクリブ+テモゾロミドとテモゾ... 悪性神経膠腫 \n",
346
+ "175 再発悪性神経膠腫に対する治療用放射性薬剤64Cu-ATSMの有効性を検証するランダム化比較医... 悪性神経膠腫 \n",
347
+ "263 再発膠芽腫に対するTUG1を標的とした核酸医薬医師主導第I相試験 再発膠芽腫 \n",
348
+ "361 神経膠腫患者に対するロムスチン療法とプロカルバジン、ロムスチン、ビンクリスチン併⽤療法の安全... 神経膠腫 \n",
349
+ "414 BRAF融合遺伝子陽性の進行・再発の低悪性度神経膠腫または膵癌に対するビニメチニブの第Ⅱ相医... 低悪性度神経膠腫、膵癌 \n",
350
+ "636 再発悪性神経膠腫患者を対象としたDSP-0390の第1相試験 再発悪性神経膠腫 \n",
351
+ "712 Cellm-001による初発膠芽腫治療効果無作為比較対照試験 膠芽腫 \n",
352
+ "\n",
353
+ " Target TargetEnglish \\\n",
354
+ "82 悪性神経膠腫 High-Grade Glioma \n",
355
+ "175 悪性神経膠腫 Malignant glioma \n",
356
+ "263 再発膠芽腫 recurrent glioblastoma \n",
357
+ "361 神経膠腫 Glioma \n",
358
+ "414 低悪性度神経膠腫、膵癌 Low-grade glioma, pancreatic cancer \n",
359
+ "636 再発悪性神経膠腫 Recurrent High-Grade Glioma \n",
360
+ "712 膠芽腫 glioblastoma \n",
361
+ "\n",
362
+ " 研究・治験の目的 試験等のフェーズ 試験の種類 ... \\\n",
363
+ "82 放射線療法後の悪性神経膠腫を有する小児および若年成人を対象に、アベマシクリブとテモゾロミドの... 2 NaN ... \n",
364
+ "175 再発・難治性悪性神経膠腫を対象として、64Cu-diacetyl-bis(N4-methyl... 3 NaN ... \n",
365
+ "263 再発膠芽腫患者を対象としてTUG1ASOを投与した場合の投与時の安全性を検討し、至適投与量を... 1 NaN ... \n",
366
+ "361 神経膠腫患者におけるロムスチン療法とプロカルバジン、ロムスチン、ビンクリスチン併用療法の安全... 1 NaN ... \n",
367
+ "414 BRAF融合遺伝子または遺伝子再構成陽性の切除不能または再発の低悪性度神経膠腫(コホート A... 2 NaN ... \n",
368
+ "636 再発悪性神経膠腫患者を対象にDSP-0390を経口投与したときの安全性、薬物動態、薬力学及び... 1 NaN ... \n",
369
+ "712 脳腫瘍のうち、初発悪性膠芽腫に対する自家脳腫瘍免疫賦活剤であるCellm-001について、術... 3 NaN ... \n",
370
+ "\n",
371
+ " Age Minimum Age Maximum Gender Discontinuation Criteria \\\n",
372
+ "82 No limit 21age old not NaN NaN \n",
373
+ "175 18age old over 75age old under Both NaN \n",
374
+ "263 18age old over 75age old under Both NaN \n",
375
+ "361 18age old over No limit Both NaN \n",
376
+ "414 12age old over No limit Both NaN \n",
377
+ "636 18age old over No limit Both NaN \n",
378
+ "712 18age old over 75age old under Both NaN \n",
379
+ "\n",
380
+ " Keyword \\\n",
381
+ "82 NaN \n",
382
+ "175 glioblastoma, grade3/4 astrocytoma, grade3 oli... \n",
383
+ "263 NaN \n",
384
+ "361 NaN \n",
385
+ "414 BRAF fusion gene, BRAF rearrangement, low-grad... \n",
386
+ "636 NaN \n",
387
+ "712 NaN \n",
388
+ "\n",
389
+ " Intervention(s) \\\n",
390
+ "82 Drug: Abemaciclib Administered orally Other Na... \n",
391
+ "175 Group A: BPC Therapy Depending on the patient'... \n",
392
+ "263 Dosing frequency: 1 time /week Dose Levels Lev... \n",
393
+ "361 <cohort1> Lomustine 130 mg/m2 orally every 6 w... \n",
394
+ "414 Binimetinib is administered 45 mg orally, twic... \n",
395
+ "636 Patients will receive DSP-0390 orally once dai... \n",
396
+ "712 Inject the investigational drug (Cellm-001 or ... \n",
397
+ "\n",
398
+ " TargetWord \\\n",
399
+ "82 ['High-Grade Glioma'] \n",
400
+ "175 ['Malignant Glioma'] \n",
401
+ "263 ['Recurrent', 'Glioblastoma'] \n",
402
+ "361 ['Glioma'] \n",
403
+ "414 ['Low-Grade Glioma', 'Pancreatic Cancer'] \n",
404
+ "636 ['Recurrent', 'High-Grade Glioma'] \n",
405
+ "712 ['Glioblastoma'] \n",
406
+ "\n",
407
+ " TargetVec AgentJudgment \\\n",
408
+ "82 [[-0.12244764715433121, -0.5778073668479919, -... None \n",
409
+ "175 [[-0.33767956495285034, -0.4648125171661377, -... None \n",
410
+ "263 [[-0.27501848340034485, -0.5264514088630676, -... None \n",
411
+ "361 [[-0.21631155908107758, -0.5687925219535828, -... None \n",
412
+ "414 [[-0.18604964017868042, -0.547483503818512, -0... None \n",
413
+ "636 [[-0.2750183045864105, -0.5264511704444885, -0... None \n",
414
+ "712 [[-0.15113382041454315, -0.5002245306968689, -... None \n",
415
+ "\n",
416
+ " AgentGrade \n",
417
+ "82 None \n",
418
+ "175 None \n",
419
+ "263 None \n",
420
+ "361 None \n",
421
+ "414 None \n",
422
+ "636 None \n",
423
+ "712 None \n",
424
+ "\n",
425
+ "[7 rows x 43 columns]"
426
+ ]
427
+ },
428
+ "execution_count": 47,
429
+ "metadata": {},
430
+ "output_type": "execute_result"
431
+ }
432
+ ],
433
+ "source": [
434
+ "df"
435
+ ]
436
+ },
437
+ {
438
+ "cell_type": "code",
439
+ "execution_count": 48,
440
+ "metadata": {},
441
+ "outputs": [
442
+ {
443
+ "name": "stderr",
444
+ "output_type": "stream",
445
+ "text": [
446
+ "/var/folders/yw/qz00x75d7kb98f7vm8dkhkvw0000gn/T/ipykernel_49357/1375088122.py:1: SettingWithCopyWarning: \n",
447
+ "A value is trying to be set on a copy of a slice from a DataFrame.\n",
448
+ "Try using .loc[row_indexer,col_indexer] = value instead\n",
449
+ "\n",
450
+ "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
451
+ " df['AgentJudgment'] = None\n",
452
+ "/var/folders/yw/qz00x75d7kb98f7vm8dkhkvw0000gn/T/ipykernel_49357/1375088122.py:2: SettingWithCopyWarning: \n",
453
+ "A value is trying to be set on a copy of a slice from a DataFrame.\n",
454
+ "Try using .loc[row_indexer,col_indexer] = value instead\n",
455
+ "\n",
456
+ "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
457
+ " df['AgentGrade'] = None\n"
458
+ ]
459
+ }
460
+ ],
461
+ "source": [
462
+ "\n",
463
+ "df['AgentJudgment'] = None\n",
464
+ "df['AgentGrade'] = None\n",
465
+ "\n",
466
+ "#Define agents\n",
467
+ "#modifier = QuestionModifierEnglish(groq)\n",
468
+ "CriteriaCheckAgent = SimpleClinicalTrialAgent(groq)\n",
469
+ "grader_agent = GraderAgent(groq)"
470
+ ]
471
+ },
472
+ {
473
+ "cell_type": "code",
474
+ "execution_count": 49,
475
+ "metadata": {},
476
+ "outputs": [
477
+ {
478
+ "data": {
479
+ "text/plain": [
480
+ "'Patients who meets any of the following criteria cannot participate in this clinical trial. -Diffuse Intrinsic Pontine Glioma (DIPG) or diffuse midline glioma located in the ? -Recurrent or refractory HGG including any recurrence/progression during/after radiotherapy. -Secondary HGG, defined as a previously treated low-grade glioma that now meets high- grade criteria, or that resulted from a previously treated malignancy. -Have known pathogenic somatic mutations appropriate for an anaplastic lymphoma kinase (ALK), B-rapidly accelerated fibrosarcoma (BRAF), or neurotrophic tyrosine receptor kinase (NTRK ) inhibitor, in regions where these therapies are available and deemed appropriate by the investigator. -Prior HGG treatment (including bevacizumab), except for surgery and radiotherapy (with or without concomitant temozolomide) -Current enrollment in another trial deemed. -Treatment with an investigational product within the last 30 days or 5 half-lives (whichever is longer). -Prior malignancy within the previous 3 years that, per the investigator and the medical monitor, may affect interpretation of study results. -A preexisting medical condition(s) that, per the investigator, would preclude study participation. -Any serious, active, systemic infection requiring IV antibiotic, antifungal, or antiviral therapy, including acute hepatitis B or C, or Human Immunodeficiency Virus at C1D1. -Intolerability or hypersensitivity such as urticaria, anaphylaxis, toxic necrolysis, and/or Stevens-Johnson syndrome, to temozolomide, its excipients, or dacarbazine. -Received a live virus vaccine within 28 days of C1D1. -Pregnant, breastfeeding, or intend to become pregnant during the study.'"
481
+ ]
482
+ },
483
+ "execution_count": 49,
484
+ "metadata": {},
485
+ "output_type": "execute_result"
486
+ }
487
+ ],
488
+ "source": [
489
+ "df.iloc[0,:]['Inclusion Criteria']\n",
490
+ "df.iloc[0,:]['Exclusion Criteria']"
491
+ ]
492
+ },
493
+ {
494
+ "cell_type": "code",
495
+ "execution_count": 50,
496
+ "metadata": {},
497
+ "outputs": [],
498
+ "source": [
499
+ "def GetJRCTCriteria(dataframe, idx):\n",
500
+ " InC = dataframe.iloc[idx,:]['Inclusion Criteria']\n",
501
+ " ExC = dataframe.iloc[idx,:]['Exclusion Criteria']\n",
502
+ " return \"Inclusion Criteria :\" + InC + \"\\n\" + \"Exclusion Criteria :\" + ExC"
503
+ ]
504
+ },
505
+ {
506
+ "cell_type": "code",
507
+ "execution_count": 51,
508
+ "metadata": {},
509
+ "outputs": [],
510
+ "source": [
511
+ "TargetCriteria = GetJRCTCriteria(df,0)"
512
+ ]
513
+ },
514
+ {
515
+ "cell_type": "code",
516
+ "execution_count": 52,
517
+ "metadata": {},
518
+ "outputs": [
519
+ {
520
+ "name": "stdout",
521
+ "output_type": "stream",
522
+ "text": [
523
+ "The patient is eligible for this clinical trial based on the provided information, as there are no exclusion criteria that would prevent him from participating.\n"
524
+ ]
525
+ }
526
+ ],
527
+ "source": [
528
+ "AgentJudgment = CriteriaCheckAgent.evaluate_eligibility(TargetCriteria, ex_question)\n",
529
+ "print(AgentJudgment)"
530
+ ]
531
+ },
532
+ {
533
+ "cell_type": "code",
534
+ "execution_count": 53,
535
+ "metadata": {},
536
+ "outputs": [],
537
+ "source": [
538
+ "AgentGrade = grader_agent.evaluate_eligibility(AgentJudgment)"
539
+ ]
540
+ },
541
+ {
542
+ "cell_type": "code",
543
+ "execution_count": 54,
544
+ "metadata": {},
545
+ "outputs": [
546
+ {
547
+ "data": {
548
+ "text/plain": [
549
+ "'yes'"
550
+ ]
551
+ },
552
+ "execution_count": 54,
553
+ "metadata": {},
554
+ "output_type": "execute_result"
555
+ }
556
+ ],
557
+ "source": [
558
+ "AgentGrade"
559
+ ]
560
+ },
561
+ {
562
+ "cell_type": "code",
563
+ "execution_count": 55,
564
+ "metadata": {},
565
+ "outputs": [],
566
+ "source": [
567
+ "ex_question = generate_ex_question_English(age, sex, TumorName, GeneMutation, Meseable, Biopsiable)"
568
+ ]
569
+ },
570
+ {
571
+ "cell_type": "code",
572
+ "execution_count": 56,
573
+ "metadata": {},
574
+ "outputs": [
575
+ {
576
+ "name": "stdout",
577
+ "output_type": "stream",
578
+ "text": [
579
+ "The patient is eligible for this clinical trial based on the provided information, as there are no exclusion criteria that would prevent him from participating.\n",
580
+ "yes\n",
581
+ "The patient is eligible for this clinical trial based on the provided information, as the patient meets the inclusion criteria (age, measurable and biopsiable tumor, and no exclusion criteria mentioned).\n",
582
+ "yes\n",
583
+ "The patient is not eligible for this clinical trial because the patient's age (65) exceeds the upper limit of 75 years old specified in inclusion criterion (7).\n",
584
+ "no\n",
585
+ "Based on the provided information, the patient is eligible for this clinical trial. The patient meets the inclusion criteria for Cohort 1, as they have a glioma (WHO Grade 2-4) diagnosed by pathological diagnosis of resection or biopsy, have a history of chemotherapy or radiation therapy, and have measurable lesions based on the RANO criteria. The patient's age of 65 meets the age requirement, and there is no mention of any exclusion criteria that would prevent the patient from participating.\n",
586
+ "yes\n",
587
+ "The patient is not eligible for this clinical trial because the inclusion criteria specify that patients must have a BRAF fusion or rearrangement, but the patient has a HER2 gene mutation.\n",
588
+ "no\n",
589
+ "Based on the provided criteria, the 65-year-old male patient with glioma appears to be eligible for this clinical trial, as there are no specific age restrictions or exclusions mentioned. However, I do not know if the patient meets the other inclusion criteria, such as Karnofsky Performance Status (KPS) score, adequate organ function, and recovery from prior therapy, as this information is not provided.\n",
590
+ "unclear\n",
591
+ "The patient is eligible for this clinical trial based on the provided information, as the patient meets the inclusion criteria (age, measurable tumor, biopsiable tumor) and does not have any obvious exclusions (e.g., no mention of corticosteroids, immunosuppressive agents, or other exclusion criteria). However, some information is missing, such as Karnofsky Performance Status, neutrophil count, hemoglobin, platelet count, and other lab values, which would need to be confirmed to ensure full eligibility.\n",
592
+ "unclear\n"
593
+ ]
594
+ }
595
+ ],
596
+ "source": [
597
+ "for i in range(len(df)):\n",
598
+ " TargetCriteria = GetJRCTCriteria(df, i)\n",
599
+ " AgentJudgment = CriteriaCheckAgent.evaluate_eligibility(TargetCriteria, ex_question)\n",
600
+ " print(AgentJudgment)\n",
601
+ " AgentGrade = grader_agent.evaluate_eligibility(AgentJudgment)\n",
602
+ " print(AgentGrade)\n",
603
+ " \n",
604
+ " # df.locを使って値を代入(行・列名で指定)\n",
605
+ " df.loc[df.index[i], 'AgentJudgment'] = AgentJudgment\n",
606
+ " df.loc[df.index[i], 'AgentGrade'] = AgentGrade\n"
607
+ ]
608
+ },
609
+ {
610
+ "cell_type": "markdown",
611
+ "metadata": {},
612
+ "source": [
613
+ "for i in range(len(df)):\n",
614
+ " TargetCriteria = GetJRCTCriteria(df,i)\n",
615
+ " AgentJudgment = CriteriaCheckAgent.evaluate_eligibility(TargetCriteria, ex_question)\n",
616
+ " print(AgentJudgment)\n",
617
+ " AgentGrade = grader_agent.evaluate_eligibility(AgentJudgment)\n",
618
+ " print(AgentGrade)\n",
619
+ " df.iloc[i,:]['AgentJudgment'] = AgentJudgment\n",
620
+ " df.iloc[i,:]['AgentJudgment'] = AgentGrade\n"
621
+ ]
622
+ },
623
+ {
624
+ "cell_type": "markdown",
625
+ "metadata": {},
626
+ "source": []
627
+ },
628
+ {
629
+ "cell_type": "code",
630
+ "execution_count": 58,
631
+ "metadata": {},
632
+ "outputs": [
633
+ {
634
+ "data": {
635
+ "text/html": [
636
+ "<div>\n",
637
+ "<style scoped>\n",
638
+ " .dataframe tbody tr th:only-of-type {\n",
639
+ " vertical-align: middle;\n",
640
+ " }\n",
641
+ "\n",
642
+ " .dataframe tbody tr th {\n",
643
+ " vertical-align: top;\n",
644
+ " }\n",
645
+ "\n",
646
+ " .dataframe thead th {\n",
647
+ " text-align: right;\n",
648
+ " }\n",
649
+ "</style>\n",
650
+ "<table border=\"1\" class=\"dataframe\">\n",
651
+ " <thead>\n",
652
+ " <tr style=\"text-align: right;\">\n",
653
+ " <th></th>\n",
654
+ " <th>JRCT ID</th>\n",
655
+ " <th>NCT No</th>\n",
656
+ " <th>JapicCTI No</th>\n",
657
+ " <th>Title</th>\n",
658
+ " <th>TargetJ</th>\n",
659
+ " <th>Target</th>\n",
660
+ " <th>TargetEnglish</th>\n",
661
+ " <th>研究・治験の目的</th>\n",
662
+ " <th>試験等のフェーズ</th>\n",
663
+ " <th>試験の種類</th>\n",
664
+ " <th>...</th>\n",
665
+ " <th>Age Minimum</th>\n",
666
+ " <th>Age Maximum</th>\n",
667
+ " <th>Gender</th>\n",
668
+ " <th>Discontinuation Criteria</th>\n",
669
+ " <th>Keyword</th>\n",
670
+ " <th>Intervention(s)</th>\n",
671
+ " <th>TargetWord</th>\n",
672
+ " <th>TargetVec</th>\n",
673
+ " <th>AgentJudgment</th>\n",
674
+ " <th>AgentGrade</th>\n",
675
+ " </tr>\n",
676
+ " </thead>\n",
677
+ " <tbody>\n",
678
+ " <tr>\n",
679
+ " <th>82</th>\n",
680
+ " <td>jRCT2051240121</td>\n",
681
+ " <td>NCT06413706</td>\n",
682
+ " <td>NaN</td>\n",
683
+ " <td>放射線療法後の悪性神経膠腫の小児および若年成人を対象に、アベマシクリブ+テモゾロミドとテモゾ...</td>\n",
684
+ " <td>悪性神経膠腫</td>\n",
685
+ " <td>悪性神経膠腫</td>\n",
686
+ " <td>High-Grade Glioma</td>\n",
687
+ " <td>放射線療法後の悪性神経膠腫を有する小児および若年成人を対象に、アベマシクリブとテモゾロミドの...</td>\n",
688
+ " <td>2</td>\n",
689
+ " <td>NaN</td>\n",
690
+ " <td>...</td>\n",
691
+ " <td>No limit</td>\n",
692
+ " <td>21age old not</td>\n",
693
+ " <td>NaN</td>\n",
694
+ " <td>NaN</td>\n",
695
+ " <td>NaN</td>\n",
696
+ " <td>Drug: Abemaciclib Administered orally Other Na...</td>\n",
697
+ " <td>['High-Grade Glioma']</td>\n",
698
+ " <td>[[-0.12244764715433121, -0.5778073668479919, -...</td>\n",
699
+ " <td>The patient is eligible for this clinical tria...</td>\n",
700
+ " <td>yes</td>\n",
701
+ " </tr>\n",
702
+ " <tr>\n",
703
+ " <th>175</th>\n",
704
+ " <td>jRCT2031240090</td>\n",
705
+ " <td>NaN</td>\n",
706
+ " <td>NaN</td>\n",
707
+ " <td>再発悪性神経膠腫に対する治療用放射性薬剤64Cu-ATSMの有効性を検証するランダム化比較医...</td>\n",
708
+ " <td>悪性神経膠腫</td>\n",
709
+ " <td>悪性神経膠腫</td>\n",
710
+ " <td>Malignant glioma</td>\n",
711
+ " <td>再発・難治性悪性神経膠腫を対象として、64Cu-diacetyl-bis(N4-methyl...</td>\n",
712
+ " <td>3</td>\n",
713
+ " <td>NaN</td>\n",
714
+ " <td>...</td>\n",
715
+ " <td>18age old over</td>\n",
716
+ " <td>75age old under</td>\n",
717
+ " <td>Both</td>\n",
718
+ " <td>NaN</td>\n",
719
+ " <td>glioblastoma, grade3/4 astrocytoma, grade3 oli...</td>\n",
720
+ " <td>Group A: BPC Therapy Depending on the patient'...</td>\n",
721
+ " <td>['Malignant Glioma']</td>\n",
722
+ " <td>[[-0.33767956495285034, -0.4648125171661377, -...</td>\n",
723
+ " <td>The patient is eligible for this clinical tria...</td>\n",
724
+ " <td>yes</td>\n",
725
+ " </tr>\n",
726
+ " <tr>\n",
727
+ " <th>263</th>\n",
728
+ " <td>jRCT2041230136</td>\n",
729
+ " <td>NaN</td>\n",
730
+ " <td>NaN</td>\n",
731
+ " <td>再発膠芽腫に対するTUG1を標的とした核酸医薬医師主導第I相試験</td>\n",
732
+ " <td>再発膠芽腫</td>\n",
733
+ " <td>再発膠芽腫</td>\n",
734
+ " <td>recurrent glioblastoma</td>\n",
735
+ " <td>再発膠芽腫患者を対象としてTUG1ASOを投与した場合の投与時の安全性を検討し、至適投与量を...</td>\n",
736
+ " <td>1</td>\n",
737
+ " <td>NaN</td>\n",
738
+ " <td>...</td>\n",
739
+ " <td>18age old over</td>\n",
740
+ " <td>75age old under</td>\n",
741
+ " <td>Both</td>\n",
742
+ " <td>NaN</td>\n",
743
+ " <td>NaN</td>\n",
744
+ " <td>Dosing frequency: 1 time /week Dose Levels Lev...</td>\n",
745
+ " <td>['Recurrent', 'Glioblastoma']</td>\n",
746
+ " <td>[[-0.27501848340034485, -0.5264514088630676, -...</td>\n",
747
+ " <td>The patient is not eligible for this clinical ...</td>\n",
748
+ " <td>no</td>\n",
749
+ " </tr>\n",
750
+ " <tr>\n",
751
+ " <th>361</th>\n",
752
+ " <td>jRCT2051230069</td>\n",
753
+ " <td>NaN</td>\n",
754
+ " <td>NaN</td>\n",
755
+ " <td>神経膠腫患者に対するロムスチン療法とプロカルバジン、ロムスチン、ビンクリスチン併⽤療法の安全...</td>\n",
756
+ " <td>神経膠腫</td>\n",
757
+ " <td>神経膠腫</td>\n",
758
+ " <td>Glioma</td>\n",
759
+ " <td>神経膠腫患者におけるロムスチン療法とプロカルバジン、ロムスチン、ビンクリスチン併用療法の安全...</td>\n",
760
+ " <td>1</td>\n",
761
+ " <td>NaN</td>\n",
762
+ " <td>...</td>\n",
763
+ " <td>18age old over</td>\n",
764
+ " <td>No limit</td>\n",
765
+ " <td>Both</td>\n",
766
+ " <td>NaN</td>\n",
767
+ " <td>NaN</td>\n",
768
+ " <td>&lt;cohort1&gt; Lomustine 130 mg/m2 orally every 6 w...</td>\n",
769
+ " <td>['Glioma']</td>\n",
770
+ " <td>[[-0.21631155908107758, -0.5687925219535828, -...</td>\n",
771
+ " <td>Based on the provided information, the patient...</td>\n",
772
+ " <td>yes</td>\n",
773
+ " </tr>\n",
774
+ " <tr>\n",
775
+ " <th>414</th>\n",
776
+ " <td>jRCT2031230007</td>\n",
777
+ " <td>NaN</td>\n",
778
+ " <td>NaN</td>\n",
779
+ " <td>BRAF融合遺伝子陽性の進行・再発の低悪性度神経膠腫または膵癌に対するビニメチニブの第Ⅱ相医...</td>\n",
780
+ " <td>低悪性度神経膠腫、膵癌</td>\n",
781
+ " <td>低悪性度神経膠腫、膵癌</td>\n",
782
+ " <td>Low-grade glioma, pancreatic cancer</td>\n",
783
+ " <td>BRAF融合遺伝子または遺伝子再構成陽性の切除不能または再発の低悪性度神経膠腫(コホート A...</td>\n",
784
+ " <td>2</td>\n",
785
+ " <td>NaN</td>\n",
786
+ " <td>...</td>\n",
787
+ " <td>12age old over</td>\n",
788
+ " <td>No limit</td>\n",
789
+ " <td>Both</td>\n",
790
+ " <td>NaN</td>\n",
791
+ " <td>BRAF fusion gene, BRAF rearrangement, low-grad...</td>\n",
792
+ " <td>Binimetinib is administered 45 mg orally, twic...</td>\n",
793
+ " <td>['Low-Grade Glioma', 'Pancreatic Cancer']</td>\n",
794
+ " <td>[[-0.18604964017868042, -0.547483503818512, -0...</td>\n",
795
+ " <td>The patient is not eligible for this clinical ...</td>\n",
796
+ " <td>no</td>\n",
797
+ " </tr>\n",
798
+ " <tr>\n",
799
+ " <th>636</th>\n",
800
+ " <td>jRCT2031210299</td>\n",
801
+ " <td>NaN</td>\n",
802
+ " <td>NaN</td>\n",
803
+ " <td>再発悪性神経膠腫患者を対象としたDSP-0390の第1相試験</td>\n",
804
+ " <td>再発悪性神経膠腫</td>\n",
805
+ " <td>再発悪性神経膠腫</td>\n",
806
+ " <td>Recurrent High-Grade Glioma</td>\n",
807
+ " <td>再発悪性神経膠腫患者を対象にDSP-0390を経口投与したときの安全性、薬物動態、薬力学及び...</td>\n",
808
+ " <td>1</td>\n",
809
+ " <td>NaN</td>\n",
810
+ " <td>...</td>\n",
811
+ " <td>18age old over</td>\n",
812
+ " <td>No limit</td>\n",
813
+ " <td>Both</td>\n",
814
+ " <td>NaN</td>\n",
815
+ " <td>NaN</td>\n",
816
+ " <td>Patients will receive DSP-0390 orally once dai...</td>\n",
817
+ " <td>['Recurrent', 'High-Grade Glioma']</td>\n",
818
+ " <td>[[-0.2750183045864105, -0.5264511704444885, -0...</td>\n",
819
+ " <td>Based on the provided criteria, the 65-year-ol...</td>\n",
820
+ " <td>unclear</td>\n",
821
+ " </tr>\n",
822
+ " <tr>\n",
823
+ " <th>712</th>\n",
824
+ " <td>jRCT2031200153</td>\n",
825
+ " <td>NaN</td>\n",
826
+ " <td>NaN</td>\n",
827
+ " <td>Cellm-001による初発膠芽腫治療効果無作為比較対照試験</td>\n",
828
+ " <td>膠芽腫</td>\n",
829
+ " <td>膠芽腫</td>\n",
830
+ " <td>glioblastoma</td>\n",
831
+ " <td>脳腫瘍のうち、初発悪性膠芽腫に対する自家脳腫瘍免疫賦活剤であるCellm-001について、術...</td>\n",
832
+ " <td>3</td>\n",
833
+ " <td>NaN</td>\n",
834
+ " <td>...</td>\n",
835
+ " <td>18age old over</td>\n",
836
+ " <td>75age old under</td>\n",
837
+ " <td>Both</td>\n",
838
+ " <td>NaN</td>\n",
839
+ " <td>NaN</td>\n",
840
+ " <td>Inject the investigational drug (Cellm-001 or ...</td>\n",
841
+ " <td>['Glioblastoma']</td>\n",
842
+ " <td>[[-0.15113382041454315, -0.5002245306968689, -...</td>\n",
843
+ " <td>The patient is eligible for this clinical tria...</td>\n",
844
+ " <td>unclear</td>\n",
845
+ " </tr>\n",
846
+ " </tbody>\n",
847
+ "</table>\n",
848
+ "<p>7 rows × 43 columns</p>\n",
849
+ "</div>"
850
+ ],
851
+ "text/plain": [
852
+ " JRCT ID NCT No JapicCTI No \\\n",
853
+ "82 jRCT2051240121 NCT06413706 NaN \n",
854
+ "175 jRCT2031240090 NaN NaN \n",
855
+ "263 jRCT2041230136 NaN NaN \n",
856
+ "361 jRCT2051230069 NaN NaN \n",
857
+ "414 jRCT2031230007 NaN NaN \n",
858
+ "636 jRCT2031210299 NaN NaN \n",
859
+ "712 jRCT2031200153 NaN NaN \n",
860
+ "\n",
861
+ " Title TargetJ \\\n",
862
+ "82 放射線療法後の悪性神経膠腫の小児および若年成人を対象に、アベマシクリブ+テモゾロミドとテモゾ... 悪性神経膠腫 \n",
863
+ "175 再発悪性神経膠腫に対する治療用放射性薬剤64Cu-ATSMの有効性を検証するランダム化比較医... 悪性神経膠腫 \n",
864
+ "263 再発膠芽腫に対するTUG1を標的とした核酸医薬医師主導第I相試験 再発膠芽腫 \n",
865
+ "361 神経膠腫患者に対するロムスチン療法とプロカルバジン、ロムスチン、ビンクリスチン併⽤療法の安全... 神経膠腫 \n",
866
+ "414 BRAF融合遺伝子陽性の進行・再発の低悪性度神経膠腫または膵癌に対するビニメチニブの第Ⅱ相医... 低悪性度神経膠腫、膵癌 \n",
867
+ "636 再発悪性神経膠腫患者を対象としたDSP-0390の第1相試験 再発悪性神経膠腫 \n",
868
+ "712 Cellm-001による初発膠芽腫治療効果無作為比較対照試験 膠芽腫 \n",
869
+ "\n",
870
+ " Target TargetEnglish \\\n",
871
+ "82 悪性神経膠腫 High-Grade Glioma \n",
872
+ "175 悪性神経膠腫 Malignant glioma \n",
873
+ "263 再発膠芽腫 recurrent glioblastoma \n",
874
+ "361 神経膠腫 Glioma \n",
875
+ "414 低悪性度神経膠腫、膵癌 Low-grade glioma, pancreatic cancer \n",
876
+ "636 再発悪性神経膠腫 Recurrent High-Grade Glioma \n",
877
+ "712 膠芽腫 glioblastoma \n",
878
+ "\n",
879
+ " 研究・治験の目的 試験等のフェーズ 試験の種類 ... \\\n",
880
+ "82 放射線療法後の悪性神経膠腫を有する小児および若年成人を対象に、アベマシクリブとテモゾロミドの... 2 NaN ... \n",
881
+ "175 再発・難治性悪性神経膠腫を対象として、64Cu-diacetyl-bis(N4-methyl... 3 NaN ... \n",
882
+ "263 再発膠芽腫患者を対象としてTUG1ASOを投与した場合の投与時の安全性を検討し、至適投与量を... 1 NaN ... \n",
883
+ "361 神経膠腫患者におけるロムスチン療法とプロカルバジン、ロムスチン、ビンクリスチン併用療法の安全... 1 NaN ... \n",
884
+ "414 BRAF融合遺伝子または遺伝子再構成陽性の切除不能または再発の低悪性度神経膠腫(コホート A... 2 NaN ... \n",
885
+ "636 再発悪性神経膠腫患者を対象にDSP-0390を経口投与したときの安全性、薬物動態、薬力学及び... 1 NaN ... \n",
886
+ "712 脳腫瘍のうち、初発悪性膠芽腫に対する自家脳腫瘍免疫賦活剤であるCellm-001について、術... 3 NaN ... \n",
887
+ "\n",
888
+ " Age Minimum Age Maximum Gender Discontinuation Criteria \\\n",
889
+ "82 No limit 21age old not NaN NaN \n",
890
+ "175 18age old over 75age old under Both NaN \n",
891
+ "263 18age old over 75age old under Both NaN \n",
892
+ "361 18age old over No limit Both NaN \n",
893
+ "414 12age old over No limit Both NaN \n",
894
+ "636 18age old over No limit Both NaN \n",
895
+ "712 18age old over 75age old under Both NaN \n",
896
+ "\n",
897
+ " Keyword \\\n",
898
+ "82 NaN \n",
899
+ "175 glioblastoma, grade3/4 astrocytoma, grade3 oli... \n",
900
+ "263 NaN \n",
901
+ "361 NaN \n",
902
+ "414 BRAF fusion gene, BRAF rearrangement, low-grad... \n",
903
+ "636 NaN \n",
904
+ "712 NaN \n",
905
+ "\n",
906
+ " Intervention(s) \\\n",
907
+ "82 Drug: Abemaciclib Administered orally Other Na... \n",
908
+ "175 Group A: BPC Therapy Depending on the patient'... \n",
909
+ "263 Dosing frequency: 1 time /week Dose Levels Lev... \n",
910
+ "361 <cohort1> Lomustine 130 mg/m2 orally every 6 w... \n",
911
+ "414 Binimetinib is administered 45 mg orally, twic... \n",
912
+ "636 Patients will receive DSP-0390 orally once dai... \n",
913
+ "712 Inject the investigational drug (Cellm-001 or ... \n",
914
+ "\n",
915
+ " TargetWord \\\n",
916
+ "82 ['High-Grade Glioma'] \n",
917
+ "175 ['Malignant Glioma'] \n",
918
+ "263 ['Recurrent', 'Glioblastoma'] \n",
919
+ "361 ['Glioma'] \n",
920
+ "414 ['Low-Grade Glioma', 'Pancreatic Cancer'] \n",
921
+ "636 ['Recurrent', 'High-Grade Glioma'] \n",
922
+ "712 ['Glioblastoma'] \n",
923
+ "\n",
924
+ " TargetVec \\\n",
925
+ "82 [[-0.12244764715433121, -0.5778073668479919, -... \n",
926
+ "175 [[-0.33767956495285034, -0.4648125171661377, -... \n",
927
+ "263 [[-0.27501848340034485, -0.5264514088630676, -... \n",
928
+ "361 [[-0.21631155908107758, -0.5687925219535828, -... \n",
929
+ "414 [[-0.18604964017868042, -0.547483503818512, -0... \n",
930
+ "636 [[-0.2750183045864105, -0.5264511704444885, -0... \n",
931
+ "712 [[-0.15113382041454315, -0.5002245306968689, -... \n",
932
+ "\n",
933
+ " AgentJudgment AgentGrade \n",
934
+ "82 The patient is eligible for this clinical tria... yes \n",
935
+ "175 The patient is eligible for this clinical tria... yes \n",
936
+ "263 The patient is not eligible for this clinical ... no \n",
937
+ "361 Based on the provided information, the patient... yes \n",
938
+ "414 The patient is not eligible for this clinical ... no \n",
939
+ "636 Based on the provided criteria, the 65-year-ol... unclear \n",
940
+ "712 The patient is eligible for this clinical tria... unclear \n",
941
+ "\n",
942
+ "[7 rows x 43 columns]"
943
+ ]
944
+ },
945
+ "execution_count": 58,
946
+ "metadata": {},
947
+ "output_type": "execute_result"
948
+ }
949
+ ],
950
+ "source": [
951
+ "df"
952
+ ]
953
+ },
954
+ {
955
+ "cell_type": "code",
956
+ "execution_count": 59,
957
+ "metadata": {},
958
+ "outputs": [
959
+ {
960
+ "data": {
961
+ "text/plain": [
962
+ "Index(['JRCT ID', 'NCT No', 'JapicCTI No', 'Title', 'TargetJ', 'Target',\n",
963
+ " 'TargetEnglish', '研究・治験の目的', '試験等のフェーズ', '試験の種類', '無作為化', '盲検化', '対照',\n",
964
+ " '割付け', '研究目的', '主たる選択基準', '主たる除外基準', '年齢下限', '年齢上限', '性別', '中止基準',\n",
965
+ " '対象疾患キーワード', '介入の内容', 'URL', 'Phase', 'Study Type', 'allocation',\n",
966
+ " 'masking', 'control', 'assignment', 'purpose', 'Inclusion Criteria',\n",
967
+ " 'Exclusion Criteria', 'Age Minimum', 'Age Maximum', 'Gender',\n",
968
+ " 'Discontinuation Criteria', 'Keyword', 'Intervention(s)', 'TargetWord',\n",
969
+ " 'TargetVec', 'AgentJudgment', 'AgentGrade'],\n",
970
+ " dtype='object')"
971
+ ]
972
+ },
973
+ "execution_count": 59,
974
+ "metadata": {},
975
+ "output_type": "execute_result"
976
+ }
977
+ ],
978
+ "source": [
979
+ "df.columns"
980
+ ]
981
+ },
982
+ {
983
+ "cell_type": "code",
984
+ "execution_count": 62,
985
+ "metadata": {},
986
+ "outputs": [],
987
+ "source": [
988
+ " # 列を指定した順に並び替え\n",
989
+ "columns_order = ['JRCT ID', 'Title', '研究・治験の目的','AgentJudgment', 'AgentGrade','主たる選択基準', '主たる除外基準','Inclusion Criteria','Exclusion Criteria','NCT No', 'JapicCTI No']\n",
990
+ "df = df[columns_order]"
991
+ ]
992
+ },
993
+ {
994
+ "cell_type": "code",
995
+ "execution_count": 63,
996
+ "metadata": {},
997
+ "outputs": [
998
+ {
999
+ "data": {
1000
+ "text/html": [
1001
+ "<div>\n",
1002
+ "<style scoped>\n",
1003
+ " .dataframe tbody tr th:only-of-type {\n",
1004
+ " vertical-align: middle;\n",
1005
+ " }\n",
1006
+ "\n",
1007
+ " .dataframe tbody tr th {\n",
1008
+ " vertical-align: top;\n",
1009
+ " }\n",
1010
+ "\n",
1011
+ " .dataframe thead th {\n",
1012
+ " text-align: right;\n",
1013
+ " }\n",
1014
+ "</style>\n",
1015
+ "<table border=\"1\" class=\"dataframe\">\n",
1016
+ " <thead>\n",
1017
+ " <tr style=\"text-align: right;\">\n",
1018
+ " <th></th>\n",
1019
+ " <th>JRCT ID</th>\n",
1020
+ " <th>Title</th>\n",
1021
+ " <th>研究・治験の目的</th>\n",
1022
+ " <th>AgentJudgment</th>\n",
1023
+ " <th>AgentGrade</th>\n",
1024
+ " <th>主たる選択基準</th>\n",
1025
+ " <th>主たる除外基準</th>\n",
1026
+ " <th>Inclusion Criteria</th>\n",
1027
+ " <th>Exclusion Criteria</th>\n",
1028
+ " <th>NCT No</th>\n",
1029
+ " <th>JapicCTI No</th>\n",
1030
+ " </tr>\n",
1031
+ " </thead>\n",
1032
+ " <tbody>\n",
1033
+ " <tr>\n",
1034
+ " <th>82</th>\n",
1035
+ " <td>jRCT2051240121</td>\n",
1036
+ " <td>放射線療法後の悪性神経膠腫の小児および若年成人を対象に、アベマシクリブ+テモゾロミドとテモゾ...</td>\n",
1037
+ " <td>放射線療法後の悪性神経膠腫を有する小児および若年成人を対象に、アベマシクリブとテモゾロミドの...</td>\n",
1038
+ " <td>The patient is eligible for this clinical tria...</td>\n",
1039
+ " <td>yes</td>\n",
1040
+ " <td>以下の基準をすべて満たす必要がある ‐生検によって、以下に示す2016 年WHO分類グレード...</td>\n",
1041
+ " <td>以下の基準のいずれかに該当する場合、本治験へ参加できない。 ‐びまん性橋膠腫(diffuse...</td>\n",
1042
+ " <td>Subjects required to meet all the folloiwng cr...</td>\n",
1043
+ " <td>Patients who meets any of the following criter...</td>\n",
1044
+ " <td>NCT06413706</td>\n",
1045
+ " <td>NaN</td>\n",
1046
+ " </tr>\n",
1047
+ " <tr>\n",
1048
+ " <th>175</th>\n",
1049
+ " <td>jRCT2031240090</td>\n",
1050
+ " <td>再発悪性神経膠腫に対する治療用放射性薬剤64Cu-ATSMの有効性を検証するランダム化比較医...</td>\n",
1051
+ " <td>再発・難治性悪性神経膠腫を対象として、64Cu-diacetyl-bis(N4-methyl...</td>\n",
1052
+ " <td>The patient is eligible for this clinical tria...</td>\n",
1053
+ " <td>yes</td>\n",
1054
+ " <td>1) 登録前直近の病理診断により組織学的にWHO2021に基づく悪性神経膠腫(膠芽腫または、...</td>\n",
1055
+ " <td>1) 登録前2年以内の他の悪性腫瘍の既往または合併を有する。ただし局所治療により治癒と判断さ...</td>\n",
1056
+ " <td>1) Histologically diagnosed as high grade glio...</td>\n",
1057
+ " <td>1) Have a history or merger of other malignanc...</td>\n",
1058
+ " <td>NaN</td>\n",
1059
+ " <td>NaN</td>\n",
1060
+ " </tr>\n",
1061
+ " <tr>\n",
1062
+ " <th>263</th>\n",
1063
+ " <td>jRCT2041230136</td>\n",
1064
+ " <td>再発膠芽腫に対するTUG1を標的とした核酸医薬医師主導第I相試験</td>\n",
1065
+ " <td>再発膠芽腫患者を対象としてTUG1ASOを投与した場合の投与時の安全性を検討し、至適投与量を...</td>\n",
1066
+ " <td>The patient is not eligible for this clinical ...</td>\n",
1067
+ " <td>no</td>\n",
1068
+ " <td>(1)手術摘出検体又は生検検体の永久標本にて、組織学的に膠芽腫と診断されている患者 (2)標...</td>\n",
1069
+ " <td>(1)脳外転移のある患者 (2)著明な頭蓋内圧亢進症状のある患者 (3)初発時又は再発・増悪...</td>\n",
1070
+ " <td>(1) Patients with a histological diagnosis of ...</td>\n",
1071
+ " <td>(1) Patients with extracerebral metastases. (2...</td>\n",
1072
+ " <td>NaN</td>\n",
1073
+ " <td>NaN</td>\n",
1074
+ " </tr>\n",
1075
+ " <tr>\n",
1076
+ " <th>361</th>\n",
1077
+ " <td>jRCT2051230069</td>\n",
1078
+ " <td>神経膠腫患者に対するロムスチン療法とプロカルバジン、ロムスチン、ビンクリスチン併⽤療法の安全...</td>\n",
1079
+ " <td>神経膠腫患者におけるロムスチン療法とプロカルバジン、ロムスチン、ビンクリスチン併用療法の安全...</td>\n",
1080
+ " <td>Based on the provided information, the patient...</td>\n",
1081
+ " <td>yes</td>\n",
1082
+ " <td>&lt;コホート1&gt;以下のすべての項目を満たすものとする。 1)摘出術又は生検の病理診断にて、神経...</td>\n",
1083
+ " <td>&lt;コホート1、コホート2共通&gt; 1) 活動性の重複がんを有する(同時性重複がん/多発がん及び...</td>\n",
1084
+ " <td>&lt;Cohort 1&gt; All of the following items shall be...</td>\n",
1085
+ " <td>&lt;Common to Cohort 1 and Cohort 2&gt; 1) Active mu...</td>\n",
1086
+ " <td>NaN</td>\n",
1087
+ " <td>NaN</td>\n",
1088
+ " </tr>\n",
1089
+ " <tr>\n",
1090
+ " <th>414</th>\n",
1091
+ " <td>jRCT2031230007</td>\n",
1092
+ " <td>BRAF融合遺伝子陽性の進行・再発の低悪性度神経膠腫または膵癌に対するビニメチニブの第Ⅱ相医...</td>\n",
1093
+ " <td>BRAF融合遺伝子または遺伝子再構成陽性の切除不能または再発の低悪性度神経膠腫(コホート A...</td>\n",
1094
+ " <td>The patient is not eligible for this clinical ...</td>\n",
1095
+ " <td>no</td>\n",
1096
+ " <td>コホートA、コホートB共通の適格規準 1) 保険診療下で行われているNGSを用いたがん遺伝子...</td>\n",
1097
+ " <td>1) 活動性の重複がんを有する(ただし、次の1~3は除外しない:1完全切除された以下のがん:...</td>\n",
1098
+ " <td>Inclusion criteria for both cohort A and B 1) ...</td>\n",
1099
+ " <td>1) Active double primary cancer (but not (1)-(...</td>\n",
1100
+ " <td>NaN</td>\n",
1101
+ " <td>NaN</td>\n",
1102
+ " </tr>\n",
1103
+ " <tr>\n",
1104
+ " <th>636</th>\n",
1105
+ " <td>jRCT2031210299</td>\n",
1106
+ " <td>再発悪性神経膠腫患者を対象としたDSP-0390の第1相試験</td>\n",
1107
+ " <td>再発悪性神経膠腫患者を対象にDSP-0390を経口投与したときの安全性、薬物動態、薬力学及び...</td>\n",
1108
+ " <td>Based on the provided criteria, the 65-year-ol...</td>\n",
1109
+ " <td>unclear</td>\n",
1110
+ " <td>1. 3ヵ月以上の生存が見込める患者 2. 前治療(化学療法、手術又は放射線療法)による副作...</td>\n",
1111
+ " <td>1. Day 1前の3ヵ月以内にベバシズマブ又はその他の血管内皮増殖因子(VEGF)阻害薬に...</td>\n",
1112
+ " <td>1. Estimated life expectancy &gt;= 3 months 2. Re...</td>\n",
1113
+ " <td>1. Prior therapy with bevacizumab or other ant...</td>\n",
1114
+ " <td>NaN</td>\n",
1115
+ " <td>NaN</td>\n",
1116
+ " </tr>\n",
1117
+ " <tr>\n",
1118
+ " <th>712</th>\n",
1119
+ " <td>jRCT2031200153</td>\n",
1120
+ " <td>Cellm-001による初発膠芽腫治療効果無作為比較対照試験</td>\n",
1121
+ " <td>脳腫瘍のうち、初発悪性膠芽腫に対する自家脳腫瘍免疫賦活剤であるCellm-001について、術...</td>\n",
1122
+ " <td>The patient is eligible for this clinical tria...</td>\n",
1123
+ " <td>unclear</td>\n",
1124
+ " <td>(1)年齢は満18歳以上、75歳以下である。 (2)テント上の膠芽腫(WHO Grade I...</td>\n",
1125
+ " <td>(1)登録前14日以内の副腎皮質ステロイド剤(10mg/日超のプレドニゾロン、あるいは相当量...</td>\n",
1126
+ " <td>(1) 18 years old or older and 75 years old or ...</td>\n",
1127
+ " <td>(1) Systemic administration of corticosteroids...</td>\n",
1128
+ " <td>NaN</td>\n",
1129
+ " <td>NaN</td>\n",
1130
+ " </tr>\n",
1131
+ " </tbody>\n",
1132
+ "</table>\n",
1133
+ "</div>"
1134
+ ],
1135
+ "text/plain": [
1136
+ " JRCT ID Title \\\n",
1137
+ "82 jRCT2051240121 放射線療法後の悪性神経膠腫の小児および若年成人を対象に、アベマシクリブ+テモゾロミドとテモゾ... \n",
1138
+ "175 jRCT2031240090 再発悪性神経膠腫に対する治療用放射性薬剤64Cu-ATSMの有効性を検証するランダム化比較医... \n",
1139
+ "263 jRCT2041230136 再発膠芽腫に対するTUG1を標的とした核酸医薬医師主導第I相試験 \n",
1140
+ "361 jRCT2051230069 神経膠腫患者に対するロムスチン療法とプロカルバジン、ロムスチン、ビンクリスチン併⽤療法の安全... \n",
1141
+ "414 jRCT2031230007 BRAF融合遺伝子陽性の進行・再発の低悪性度神経膠腫または膵癌に対するビニメチニブの第Ⅱ相医... \n",
1142
+ "636 jRCT2031210299 再発悪性神経膠腫患者を対象としたDSP-0390の第1相試験 \n",
1143
+ "712 jRCT2031200153 Cellm-001による初発膠芽腫治療効果無作為比較対照試験 \n",
1144
+ "\n",
1145
+ " 研究・治験の目的 \\\n",
1146
+ "82 放射線療法後の悪性神経膠腫を有する小児および若年成人を対象に、アベマシクリブとテモゾロミドの... \n",
1147
+ "175 再発・難治性悪性神経膠腫を対象として、64Cu-diacetyl-bis(N4-methyl... \n",
1148
+ "263 再発膠芽腫患者を対象としてTUG1ASOを投与した場合の投与時の安全性を検討し、至適投与量を... \n",
1149
+ "361 神経膠腫患者におけるロムスチン療法とプロカルバジン、ロムスチン、ビンクリスチン併用療法の安全... \n",
1150
+ "414 BRAF融合遺伝子または遺伝子再構成陽性の切除不能または再発の低悪性度神経膠腫(コホー�� A... \n",
1151
+ "636 再発悪性神経膠腫患者を対象にDSP-0390を経口投与したときの安全性、薬物動態、薬力学及び... \n",
1152
+ "712 脳腫瘍のうち、初発悪性膠芽腫に対する自家脳腫瘍免疫賦活剤であるCellm-001について、術... \n",
1153
+ "\n",
1154
+ " AgentJudgment AgentGrade \\\n",
1155
+ "82 The patient is eligible for this clinical tria... yes \n",
1156
+ "175 The patient is eligible for this clinical tria... yes \n",
1157
+ "263 The patient is not eligible for this clinical ... no \n",
1158
+ "361 Based on the provided information, the patient... yes \n",
1159
+ "414 The patient is not eligible for this clinical ... no \n",
1160
+ "636 Based on the provided criteria, the 65-year-ol... unclear \n",
1161
+ "712 The patient is eligible for this clinical tria... unclear \n",
1162
+ "\n",
1163
+ " 主たる選択基準 \\\n",
1164
+ "82 以下の基準をすべて満たす必要がある ‐生検によって、以下に示す2016 年WHO分類グレード... \n",
1165
+ "175 1) 登録前直近の病理診断により組織学的にWHO2021に基づく悪性神経膠腫(膠芽腫または、... \n",
1166
+ "263 (1)手術摘出検体又は生検検体の永久標本にて、組織学的に膠芽腫と診断されている患者 (2)標... \n",
1167
+ "361 <コホート1>以下のすべての項目を満たすものとする。 1)摘出術又は生検の病理診断にて、神経... \n",
1168
+ "414 コホートA、コホートB共通の適格規準 1) 保険診療下で行われているNGSを用いたがん遺伝子... \n",
1169
+ "636 1. 3ヵ月以上の生存が見込める患者 2. 前治療(化学療法、手術又は放射線療法)による副作... \n",
1170
+ "712 (1)年齢は満18歳以上、75歳以下である。 (2)テント上の膠芽腫(WHO Grade I... \n",
1171
+ "\n",
1172
+ " 主たる除外基準 \\\n",
1173
+ "82 以下の基準のいずれかに該当する場合、本治験へ参加できない。 ‐びまん性橋膠腫(diffuse... \n",
1174
+ "175 1) 登録前2年以内の他の悪性腫瘍の既往または合併を有する。ただし局所治療により治癒と判断さ... \n",
1175
+ "263 (1)脳外転移のある患者 (2)著明な頭蓋内圧亢進症状のある患者 (3)初発時又は再発・増悪... \n",
1176
+ "361 <コホート1、コホート2共通> 1) 活動性の重複がんを有する(同時性重複がん/多発がん及び... \n",
1177
+ "414 1) 活動性の重複がんを有する(ただし、次の1~3は除外しない:1完全切除された以下のがん:... \n",
1178
+ "636 1. Day 1前の3ヵ月以内にベバシズマブ又はその他の血管内皮増殖因子(VEGF)阻害薬に... \n",
1179
+ "712 (1)登録前14日以内の副腎皮質ステロイド剤(10mg/日超のプレドニゾロン、あるいは相当量... \n",
1180
+ "\n",
1181
+ " Inclusion Criteria \\\n",
1182
+ "82 Subjects required to meet all the folloiwng cr... \n",
1183
+ "175 1) Histologically diagnosed as high grade glio... \n",
1184
+ "263 (1) Patients with a histological diagnosis of ... \n",
1185
+ "361 <Cohort 1> All of the following items shall be... \n",
1186
+ "414 Inclusion criteria for both cohort A and B 1) ... \n",
1187
+ "636 1. Estimated life expectancy >= 3 months 2. Re... \n",
1188
+ "712 (1) 18 years old or older and 75 years old or ... \n",
1189
+ "\n",
1190
+ " Exclusion Criteria NCT No \\\n",
1191
+ "82 Patients who meets any of the following criter... NCT06413706 \n",
1192
+ "175 1) Have a history or merger of other malignanc... NaN \n",
1193
+ "263 (1) Patients with extracerebral metastases. (2... NaN \n",
1194
+ "361 <Common to Cohort 1 and Cohort 2> 1) Active mu... NaN \n",
1195
+ "414 1) Active double primary cancer (but not (1)-(... NaN \n",
1196
+ "636 1. Prior therapy with bevacizumab or other ant... NaN \n",
1197
+ "712 (1) Systemic administration of corticosteroids... NaN \n",
1198
+ "\n",
1199
+ " JapicCTI No \n",
1200
+ "82 NaN \n",
1201
+ "175 NaN \n",
1202
+ "263 NaN \n",
1203
+ "361 NaN \n",
1204
+ "414 NaN \n",
1205
+ "636 NaN \n",
1206
+ "712 NaN "
1207
+ ]
1208
+ },
1209
+ "execution_count": 63,
1210
+ "metadata": {},
1211
+ "output_type": "execute_result"
1212
+ }
1213
+ ],
1214
+ "source": [
1215
+ "df"
1216
+ ]
1217
+ },
1218
+ {
1219
+ "cell_type": "code",
1220
+ "execution_count": 5,
1221
+ "metadata": {},
1222
+ "outputs": [],
1223
+ "source": [
1224
+ " # 列を指定した順に並び替え\n",
1225
+ "columns_order = ['NCTID', 'AgentGrade', 'Title', 'AgentJudgment', 'Japanes Locations', \n",
1226
+ " 'Primary Completion Date', 'Cancer', 'Summary', 'Eligibility Criteria']\n",
1227
+ "df = df[columns_order] "
1228
+ ]
1229
+ },
1230
+ {
1231
+ "cell_type": "code",
1232
+ "execution_count": 6,
1233
+ "metadata": {},
1234
+ "outputs": [
1235
+ {
1236
+ "data": {
1237
+ "text/html": [
1238
+ "<div>\n",
1239
+ "<style scoped>\n",
1240
+ " .dataframe tbody tr th:only-of-type {\n",
1241
+ " vertical-align: middle;\n",
1242
+ " }\n",
1243
+ "\n",
1244
+ " .dataframe tbody tr th {\n",
1245
+ " vertical-align: top;\n",
1246
+ " }\n",
1247
+ "\n",
1248
+ " .dataframe thead th {\n",
1249
+ " text-align: right;\n",
1250
+ " }\n",
1251
+ "</style>\n",
1252
+ "<table border=\"1\" class=\"dataframe\">\n",
1253
+ " <thead>\n",
1254
+ " <tr style=\"text-align: right;\">\n",
1255
+ " <th></th>\n",
1256
+ " <th>NCTID</th>\n",
1257
+ " <th>AgentGrade</th>\n",
1258
+ " <th>Title</th>\n",
1259
+ " <th>AgentJudgment</th>\n",
1260
+ " <th>Japanes Locations</th>\n",
1261
+ " <th>Primary Completion Date</th>\n",
1262
+ " <th>Cancer</th>\n",
1263
+ " <th>Summary</th>\n",
1264
+ " <th>Eligibility Criteria</th>\n",
1265
+ " </tr>\n",
1266
+ " </thead>\n",
1267
+ " <tbody>\n",
1268
+ " <tr>\n",
1269
+ " <th>0</th>\n",
1270
+ " <td>NCT05580562</td>\n",
1271
+ " <td>no</td>\n",
1272
+ " <td>ONC201 in H3 K27M-mutant Diffuse Glioma Follow...</td>\n",
1273
+ " <td>The patient is not eligible for this clinical ...</td>\n",
1274
+ " <td>Chuo City, Fukuoka, Kyoto, Osaka, Sapporo</td>\n",
1275
+ " <td>2026-08</td>\n",
1276
+ " <td>H3 K27M, Glioma</td>\n",
1277
+ " <td>This is a randomized, double-blind, placebo-co...</td>\n",
1278
+ " <td>Inclusion Criteria:\\n\\n1. Able to understand t...</td>\n",
1279
+ " </tr>\n",
1280
+ " <tr>\n",
1281
+ " <th>1</th>\n",
1282
+ " <td>NCT06413706</td>\n",
1283
+ " <td>yes</td>\n",
1284
+ " <td>A Study Comparing Abemaciclib Plus Temozolomid...</td>\n",
1285
+ " <td>The patient is eligible for this clinical tria...</td>\n",
1286
+ " <td>Nagoya, Osaka, Tokyo</td>\n",
1287
+ " <td>2027-07</td>\n",
1288
+ " <td>Glioma</td>\n",
1289
+ " <td>The purpose of this study is to measure the be...</td>\n",
1290
+ " <td>Inclusion Criteria:\\n\\n* Biopsy proven high-gr...</td>\n",
1291
+ " </tr>\n",
1292
+ " <tr>\n",
1293
+ " <th>2</th>\n",
1294
+ " <td>NCT05503264</td>\n",
1295
+ " <td>no</td>\n",
1296
+ " <td>A Study To Evaluate The Efficacy, Safety, Phar...</td>\n",
1297
+ " <td>The patient is not eligible for this clinical ...</td>\n",
1298
+ " <td>Aichi, Chiba, Fukuoka, Gifu, Hokkaido, Hyogo, ...</td>\n",
1299
+ " <td>2026-06-23</td>\n",
1300
+ " <td>NMDAR Autoimmune Encephalitis, LGI1 Autoimmune...</td>\n",
1301
+ " <td>The purpose of this study is to assess the eff...</td>\n",
1302
+ " <td>Inclusion Criteria:\\n\\n* Reasonable exclusion ...</td>\n",
1303
+ " </tr>\n",
1304
+ " <tr>\n",
1305
+ " <th>3</th>\n",
1306
+ " <td>NCT06159478</td>\n",
1307
+ " <td>no</td>\n",
1308
+ " <td>Binimetinib in Patients With BRAF Fusion-posit...</td>\n",
1309
+ " <td>The patient is not eligible for this clinical ...</td>\n",
1310
+ " <td>Fukuoka, Kashiwa, Kyoto City, Sapporo, Sendai, ku</td>\n",
1311
+ " <td>2027-02-28</td>\n",
1312
+ " <td>Low-grade Glioma, Pancreatic Cancer</td>\n",
1313
+ " <td>This study is an open-label, parallel, 2-cohor...</td>\n",
1314
+ " <td>Inclusion Criteria:\\n\\nInclusion criteria for ...</td>\n",
1315
+ " </tr>\n",
1316
+ " </tbody>\n",
1317
+ "</table>\n",
1318
+ "</div>"
1319
+ ],
1320
+ "text/plain": [
1321
+ " NCTID AgentGrade Title \\\n",
1322
+ "0 NCT05580562 no ONC201 in H3 K27M-mutant Diffuse Glioma Follow... \n",
1323
+ "1 NCT06413706 yes A Study Comparing Abemaciclib Plus Temozolomid... \n",
1324
+ "2 NCT05503264 no A Study To Evaluate The Efficacy, Safety, Phar... \n",
1325
+ "3 NCT06159478 no Binimetinib in Patients With BRAF Fusion-posit... \n",
1326
+ "\n",
1327
+ " AgentJudgment \\\n",
1328
+ "0 The patient is not eligible for this clinical ... \n",
1329
+ "1 The patient is eligible for this clinical tria... \n",
1330
+ "2 The patient is not eligible for this clinical ... \n",
1331
+ "3 The patient is not eligible for this clinical ... \n",
1332
+ "\n",
1333
+ " Japanes Locations Primary Completion Date \\\n",
1334
+ "0 Chuo City, Fukuoka, Kyoto, Osaka, Sapporo 2026-08 \n",
1335
+ "1 Nagoya, Osaka, Tokyo 2027-07 \n",
1336
+ "2 Aichi, Chiba, Fukuoka, Gifu, Hokkaido, Hyogo, ... 2026-06-23 \n",
1337
+ "3 Fukuoka, Kashiwa, Kyoto City, Sapporo, Sendai, ku 2027-02-28 \n",
1338
+ "\n",
1339
+ " Cancer \\\n",
1340
+ "0 H3 K27M, Glioma \n",
1341
+ "1 Glioma \n",
1342
+ "2 NMDAR Autoimmune Encephalitis, LGI1 Autoimmune... \n",
1343
+ "3 Low-grade Glioma, Pancreatic Cancer \n",
1344
+ "\n",
1345
+ " Summary \\\n",
1346
+ "0 This is a randomized, double-blind, placebo-co... \n",
1347
+ "1 The purpose of this study is to measure the be... \n",
1348
+ "2 The purpose of this study is to assess the eff... \n",
1349
+ "3 This study is an open-label, parallel, 2-cohor... \n",
1350
+ "\n",
1351
+ " Eligibility Criteria \n",
1352
+ "0 Inclusion Criteria:\\n\\n1. Able to understand t... \n",
1353
+ "1 Inclusion Criteria:\\n\\n* Biopsy proven high-gr... \n",
1354
+ "2 Inclusion Criteria:\\n\\n* Reasonable exclusion ... \n",
1355
+ "3 Inclusion Criteria:\\n\\nInclusion criteria for ... "
1356
+ ]
1357
+ },
1358
+ "execution_count": 6,
1359
+ "metadata": {},
1360
+ "output_type": "execute_result"
1361
+ }
1362
+ ],
1363
+ "source": [
1364
+ "df"
1365
+ ]
1366
+ },
1367
+ {
1368
+ "cell_type": "code",
1369
+ "execution_count": null,
1370
+ "metadata": {},
1371
+ "outputs": [],
1372
+ "source": []
1373
+ }
1374
+ ],
1375
+ "metadata": {
1376
+ "kernelspec": {
1377
+ "display_name": "gradio",
1378
+ "language": "python",
1379
+ "name": "python3"
1380
+ },
1381
+ "language_info": {
1382
+ "codemirror_mode": {
1383
+ "name": "ipython",
1384
+ "version": 3
1385
+ },
1386
+ "file_extension": ".py",
1387
+ "mimetype": "text/x-python",
1388
+ "name": "python",
1389
+ "nbconvert_exporter": "python",
1390
+ "pygments_lexer": "ipython3",
1391
+ "version": "3.12.3"
1392
+ }
1393
+ },
1394
+ "nbformat": 4,
1395
+ "nbformat_minor": 2
1396
+ }
dev_JRCT_api/202041128JRCTCSV.ipynb ADDED
@@ -0,0 +1,1360 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": 22,
6
+ "metadata": {},
7
+ "outputs": [],
8
+ "source": [
9
+ "import pandas as pd\n",
10
+ "from OpenAITools.JRCTTools import fetch_clinical_trials, extract_jrct_links, create_dataframe_from_urls, reorder_columns"
11
+ ]
12
+ },
13
+ {
14
+ "cell_type": "code",
15
+ "execution_count": 23,
16
+ "metadata": {},
17
+ "outputs": [
18
+ {
19
+ "name": "stdout",
20
+ "output_type": "stream",
21
+ "text": [
22
+ "検索ボタンがクリックできないため、JavaScriptでクリックします。\n",
23
+ "1 ページ目を処理しました。\n",
24
+ "2 ページ目を処理しました。\n",
25
+ "3 ページ目を処理しました。\n",
26
+ "4 ページ目を処理しました。\n",
27
+ "5 ページ目を処理しました。\n",
28
+ "次のページはありません。全ての結果を取得しました。\n"
29
+ ]
30
+ }
31
+ ],
32
+ "source": [
33
+ "# fetch_clinical_trialsを使って検索結果を取得\n",
34
+ "results = fetch_clinical_trials(disease_name=\"がん 神経膠腫 骨髄腫 黒色腫\", freeword=\"\")"
35
+ ]
36
+ },
37
+ {
38
+ "cell_type": "code",
39
+ "execution_count": 26,
40
+ "metadata": {},
41
+ "outputs": [
42
+ {
43
+ "data": {
44
+ "text/plain": [
45
+ "['がん患者の疼痛',\n",
46
+ " '卵巣がん',\n",
47
+ " '膵嚢胞、慢性膵炎、家族性膵がん及び遺伝性膵がん家族歴を有する症例、糖尿病症例(新規発症・急性増悪...',\n",
48
+ " '肺がん',\n",
49
+ " '固形がん',\n",
50
+ " '末期がん',\n",
51
+ " '進行固形がん',\n",
52
+ " 'H3 K27M 変異を有する初発びまん性神経膠腫',\n",
53
+ " 'がん',\n",
54
+ " '難治性がん(希少がん、AYAがん、原発不明がんを含める)',\n",
55
+ " '頭頸部がんと血液がんを除く固形癌',\n",
56
+ " '転移性固形がん\\n進行性固形がん\\n非小細胞肺がん\\nSMARCA4欠損がん',\n",
57
+ " '進行性非小細胞肺癌(NSCLC)及びその他の固形がん',\n",
58
+ " '悪性神経膠腫',\n",
59
+ " '転移性非小細胞肺がん',\n",
60
+ " '固形がん',\n",
61
+ " '肺がん',\n",
62
+ " '悪性リンパ腫, がん治療関連心機能障害, 心不全',\n",
63
+ " '進行固形がん',\n",
64
+ " 'S状結腸癌または直腸がん',\n",
65
+ " '肺がん検診を受ける患者、及び1次スクリーニングで要検査(経過観察の対象)となった患者',\n",
66
+ " '進行固形がん',\n",
67
+ " '非小細胞性肺がん',\n",
68
+ " '進行非小細胞肺がん',\n",
69
+ " '神経膠腫',\n",
70
+ " '子宮頸癌\\n胃/胃食道接合部腺癌\\nマイクロサテライト安定性結腸直腸癌\\n非小細胞肺癌\\n頭頸部扁平上皮癌...',\n",
71
+ " 'がん悪液質、がん治療中に生じる諸症状',\n",
72
+ " 'がん疼痛',\n",
73
+ " '多発性骨髄腫',\n",
74
+ " '標準治療がない、または標準治療に不応もしくは不耐の根治切除不能な進行・再発固形がん患者',\n",
75
+ " '悪性腫瘍(肺がん等)、炎症性腸疾患、、関節リウマチ、自己免疫疾患',\n",
76
+ " '多発性骨髄腫、慢性骨髄性白血病',\n",
77
+ " '進行肺がん',\n",
78
+ " '消化器がん',\n",
79
+ " '乳がん',\n",
80
+ " '大腸がん',\n",
81
+ " '非小細胞肺がん',\n",
82
+ " '標準治療がない又は不応若しくは不耐の進行再発と診断されたユーイング肉腫又は固形がん',\n",
83
+ " '悪性神経膠腫',\n",
84
+ " '転移性固形がん\\n再発性固形がん\\n進行性固形がん',\n",
85
+ " '進行がん',\n",
86
+ " '膵がん',\n",
87
+ " '子宮体がん',\n",
88
+ " '切除可能な非小細胞肺がん',\n",
89
+ " '卵巣癌・固形がん',\n",
90
+ " '卵巣がん・卵管癌・腹膜癌',\n",
91
+ " '頭頸部がん',\n",
92
+ " '肺がん、食道がん、胃癌等の固形がん',\n",
93
+ " '子宮内膜癌、頭頸部扁平上皮癌、膵管腺癌、大腸癌、肝細胞癌、食道腺癌/食道胃接合部腺癌/胃腺癌、尿...',\n",
94
+ " '多発性骨髄腫',\n",
95
+ " '再発又は難治性の多発性骨髄腫',\n",
96
+ " '進行固形がん',\n",
97
+ " 'がん疼痛',\n",
98
+ " '悪性黒色腫',\n",
99
+ " '進行NSCLC 及びその他の固形がん',\n",
100
+ " '扁平上皮非小細胞肺がん',\n",
101
+ " '非小細胞肺がん',\n",
102
+ " '進行性又は転移性の固形がん',\n",
103
+ " '多発性骨髄腫',\n",
104
+ " '固形がん',\n",
105
+ " 'CIでM1のないPSMA-PETによるオリゴ転移性前立腺がん(OMPC)',\n",
106
+ " '非小細胞肺がん\\n食道がん\\n胃がん',\n",
107
+ " '再発または難治性多発性骨髄腫',\n",
108
+ " 'MTAP 欠損固形がん患者',\n",
109
+ " '乳がんに伴う軽度から中等度の抑うつ状態',\n",
110
+ " '固形がん',\n",
111
+ " '多発性骨髄腫',\n",
112
+ " '手術不能かつ既存治療不応の進行・再発固形がん',\n",
113
+ " '切除不能・再発固形がん',\n",
114
+ " '早期又は進行/転移性の固形がん',\n",
115
+ " '潜在的にSEZ6を発現する進行固形がん',\n",
116
+ " '胃がん疑い及び他疾患で上部消化管内視鏡検査を受ける予定の者',\n",
117
+ " '再発又は難治性の多発性骨髄腫(RRMM)',\n",
118
+ " '手術治療を予定する低肺機能合併肺がん患者',\n",
119
+ " '多発性骨髄腫',\n",
120
+ " '未治療多発性骨髄腫',\n",
121
+ " 'がん(胃、大腸、喉頭、乳、子宮、肺、膀胱、悪性リンパ腫)',\n",
122
+ " 'がん',\n",
123
+ " '直腸がん',\n",
124
+ " '乳がん、早期乳がん',\n",
125
+ " '遠隔転移を有する膵がん',\n",
126
+ " '進行性又は転移性がん',\n",
127
+ " '大腸がん検診における大腸内視鏡受診者',\n",
128
+ " '再発及び難治性の多発性骨髄腫',\n",
129
+ " '進行性又は転移性の固形がん、進行性又は転移性の食道癌、進行性又は転移性の頭頸部扁平上皮癌',\n",
130
+ " '黒色腫',\n",
131
+ " '固形がん(Arm 1)、非小細胞肺癌(Arm 2及びArm 3)',\n",
132
+ " '胃腺がん, 胃食道接合部(GEJ)腺がん',\n",
133
+ " '子宮頸がん',\n",
134
+ " '臨床的に遠隔転移のない膵がん',\n",
135
+ " '標準治療がない又は不応若しくは不耐の進行再発と診断されたユーイング肉腫又は固形がん',\n",
136
+ " '血液がん',\n",
137
+ " '非小細胞肺がん',\n",
138
+ " '神経膠腫',\n",
139
+ " '局所進行又は転移性固形がん',\n",
140
+ " '多発性骨髄腫',\n",
141
+ " '多発性骨髄腫',\n",
142
+ " 'がん化学療法',\n",
143
+ " 'HER2陰性切除不能・進行再発胃がん',\n",
144
+ " '膀胱がん\\n転移性腫瘍\\n尿管癌',\n",
145
+ " '再発・難治性の局所進行性・転移性乳がん及びトリプルネガティブ乳がん',\n",
146
+ " '乳がん、早期乳がん',\n",
147
+ " '進行性の切除不能又は転移性MSIhi 又はdMMR固形がん,結腸直腸がん(CRC)',\n",
148
+ " '多発性骨髄腫',\n",
149
+ " 'IDH野生型神経膠腫(グレードⅢ)(退形成性星細胞腫)',\n",
150
+ " 'トリプルネガティブ乳がん',\n",
151
+ " 'MSI-HまたはdMMRを有する進行大腸がん',\n",
152
+ " '白血病、悪性リンパ腫、多発性骨髄腫、再生不良性貧血、骨髄異形成症候群',\n",
153
+ " '多発性骨髄腫',\n",
154
+ " '低悪性度神経膠腫、膵癌',\n",
155
+ " '頭頚部がん',\n",
156
+ " '乳がん',\n",
157
+ " '固形がん',\n",
158
+ " '乳がん',\n",
159
+ " '頭頸部がん',\n",
160
+ " '進行又は転移性固形がん',\n",
161
+ " '食道がん、胃がん',\n",
162
+ " '固形がん',\n",
163
+ " '再発又は難治性多発性骨髄腫',\n",
164
+ " 'がん悪液質',\n",
165
+ " 'がんによる神経障害性疼痛',\n",
166
+ " '乳がん(非浸潤性乳管癌、浸潤性乳管癌)',\n",
167
+ " '多発性骨髄腫',\n",
168
+ " '卵巣がん、子宮内膜がん、子宮頸がん',\n",
169
+ " '非小細胞肺がん',\n",
170
+ " '消化器がん',\n",
171
+ " '用量漸増コホート:固形がん\\n拡大コホート1:結腸・直腸がん\\n拡大コホート2:TMEM180陽性の結腸・直腸...',\n",
172
+ " '初発の多発性骨髄腫',\n",
173
+ " '炎症性腸疾患、乾癬、掌蹠膿疱症、悪性腫瘍(悪性黒色腫等)、関節リウマチ、自己免疫疾患',\n",
174
+ " '頭頸部がんのがん治療に伴う口腔粘膜炎の疼痛 ',\n",
175
+ " '口腔がん',\n",
176
+ " '多発性骨髄腫',\n",
177
+ " 'がん悪液質、がん治療の副作用',\n",
178
+ " '固形がん',\n",
179
+ " '進行非小細胞肺がん',\n",
180
+ " '乳がん',\n",
181
+ " '良性・悪性乳腺腫瘍、遺伝性乳がん卵巣がん症候群',\n",
182
+ " '進行非小細胞肺がん\\nEGFR変異\\nHER2変異',\n",
183
+ " 'がん',\n",
184
+ " '卵巣がん',\n",
185
+ " '多発性骨髄腫',\n",
186
+ " '固形がん',\n",
187
+ " 'がん',\n",
188
+ " '高度がん疼痛',\n",
189
+ " '治癒切除不能または再発の病変を有する下記臓器原発の腫瘍。 ① 消化器(食道、胃、大腸、胆道、膵) ② ...',\n",
190
+ " '統合失調症(統合失調感情障害を含む)、がん',\n",
191
+ " 'がん',\n",
192
+ " '移植後の初発多発性骨髄腫',\n",
193
+ " '標準治療後の再発悪性神経膠腫',\n",
194
+ " '食道がん',\n",
195
+ " '再発又は難治性の多発性骨髄腫であり,承認された添付文書に基づきide-celの投与に適格である成人被験者。',\n",
196
+ " '小児がんおよびAYAがん患者',\n",
197
+ " '全てのがん患者',\n",
198
+ " '非小細胞肺がん',\n",
199
+ " '膵がん、良性膵疾患、他の消化器領域がん',\n",
200
+ " '進行がんおよび再発がん患者の抑うつ症状',\n",
201
+ " 'がん',\n",
202
+ " '1) 消化器がん(食道がん,胃がん,大腸がん) 2) 心疾患(狭心症,心臓弁膜症) 3) 肺がん\\u30004)\\u3000運動...',\n",
203
+ " '多発性骨髄腫',\n",
204
+ " '多発性骨髄腫',\n",
205
+ " 'BRAF V600E 遺伝子変異陽性大腸がん',\n",
206
+ " '進行性又は転移性の固形がん',\n",
207
+ " '固形がん',\n",
208
+ " '悪性神経膠腫',\n",
209
+ " '腎細胞がん',\n",
210
+ " '局所進行又は転移性固形がん',\n",
211
+ " '転移性又は切除不能の悪性黒色腫, 転移性又は切除不能の肝細胞癌, 転移性又は切除不能の大腸癌',\n",
212
+ " '乳がん',\n",
213
+ " '多発性骨髄腫',\n",
214
+ " 'がん',\n",
215
+ " '乳がん',\n",
216
+ " '多発性骨髄腫',\n",
217
+ " 'MAGE A4陽性かつHLA-A*02:01陽性の切除不能進行・再発を有する固形がん',\n",
218
+ " '乳がん',\n",
219
+ " '食道扁平上皮がん',\n",
220
+ " '再発悪性神経膠腫',\n",
221
+ " '膵臓がん',\n",
222
+ " '上皮性卵巣がん(原発性腹膜がん及び卵管がんを含む)',\n",
223
+ " '【コホートA】BRCA変異陽性の子宮平滑筋肉腫:募集中\\n【コホートB】BRCA変異陰性・HRD陽性の子宮平滑筋...',\n",
224
+ " '未治療の治癒切除不能な膵がん患者( 遠隔転移例・切除不能局所進行膵がん)を対象とし、術後の再発症例...',\n",
225
+ " '高齢者進行非小細胞肺がん及び膵がん',\n",
226
+ " '乳がん',\n",
227
+ " '多発性骨髄腫',\n",
228
+ " '進行固形がん',\n",
229
+ " '尿路上皮がん',\n",
230
+ " '再発又は難治性の多発性骨髄腫(RRMM)',\n",
231
+ " '手術不能又は再発PD-L1陽性トリプルネガティブ乳がん',\n",
232
+ " '乳がん術後リンパ浮腫',\n",
233
+ " '筋層非浸潤性膀胱がん',\n",
234
+ " '固形がん及び血液がん(AML, MDS, DLBCL)',\n",
235
+ " '結腸がん・直腸がん',\n",
236
+ " '前立腺がん',\n",
237
+ " '膵がん、胆道がん',\n",
238
+ " '前立腺がん',\n",
239
+ " '胃癌、食道がん',\n",
240
+ " '直腸がん',\n",
241
+ " '多発性骨髄腫',\n",
242
+ " '多発性骨髄腫',\n",
243
+ " '膵がん',\n",
244
+ " '膵臓がん',\n",
245
+ " '固形がん',\n",
246
+ " '頭頸部扁平上皮がん',\n",
247
+ " '原発性肺がん、転移性肺がん',\n",
248
+ " '乳がん',\n",
249
+ " '胆道がん',\n",
250
+ " '子宮がん',\n",
251
+ " '非扁平上皮非小細胞肺がん',\n",
252
+ " '子宮頸がん、子宮体がん、卵巣がん',\n",
253
+ " '粘膜黒色腫',\n",
254
+ " '局所進行性又は転移性の頭頚部癌、胃癌、食道癌、非小細胞肺癌、又は悪性黒色腫',\n",
255
+ " '肝細胞がん',\n",
256
+ " '汎がん(約20種類の悪性腫瘍)',\n",
257
+ " '大腸がん',\n",
258
+ " '悪性リンパ腫,\\u3000固形がん',\n",
259
+ " '非小細胞肺がん',\n",
260
+ " '膵臓がん',\n",
261
+ " '悪性黒色腫',\n",
262
+ " '肝細胞癌,固形がん,大腸癌,子宮体癌',\n",
263
+ " '乳がん',\n",
264
+ " 'WHO (World Health Organization)分類2016のグレードⅢ~Ⅳに分類される悪性神経膠腫',\n",
265
+ " '進行性悪性黒色腫',\n",
266
+ " '固形がん',\n",
267
+ " '再発脊髄悪性神経膠腫',\n",
268
+ " '胃がん',\n",
269
+ " '胃がん',\n",
270
+ " '初発悪性神経膠腫',\n",
271
+ " '膵がん',\n",
272
+ " '悪性神経膠腫',\n",
273
+ " '進行性悪性黒色腫',\n",
274
+ " '食道胃接合部がん(西の分類)',\n",
275
+ " '食道がん',\n",
276
+ " '進行性悪性黒色腫',\n",
277
+ " '乳がん',\n",
278
+ " 'ALK遺伝子異常を有する希少がん',\n",
279
+ " 'Part1:固形がん\\nPart2:頭頸部がん,尿路上皮がん',\n",
280
+ " '下腹部消化器がん ']"
281
+ ]
282
+ },
283
+ "execution_count": 26,
284
+ "metadata": {},
285
+ "output_type": "execute_result"
286
+ }
287
+ ],
288
+ "source": [
289
+ "[result[2] for result in results]"
290
+ ]
291
+ },
292
+ {
293
+ "cell_type": "code",
294
+ "execution_count": 28,
295
+ "metadata": {},
296
+ "outputs": [],
297
+ "source": [
298
+ "targetDf = pd.DataFrame({'JRCT ID':[result[0] for result in results],\n",
299
+ " 'Target':[result[2] for result in results]})"
300
+ ]
301
+ },
302
+ {
303
+ "cell_type": "code",
304
+ "execution_count": 29,
305
+ "metadata": {},
306
+ "outputs": [],
307
+ "source": [
308
+ "targetDf.to_csv('./20241128Target.csv')"
309
+ ]
310
+ },
311
+ {
312
+ "cell_type": "code",
313
+ "execution_count": 14,
314
+ "metadata": {},
315
+ "outputs": [
316
+ {
317
+ "name": "stdout",
318
+ "output_type": "stream",
319
+ "text": [
320
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1032240511\n",
321
+ "Waiting for 30 seconds before the next request...\n",
322
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1032240506\n",
323
+ "Waiting for 30 seconds before the next request...\n",
324
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1042240125\n",
325
+ "Waiting for 30 seconds before the next request...\n",
326
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1052240186\n",
327
+ "Waiting for 30 seconds before the next request...\n",
328
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030240477\n",
329
+ "Waiting for 30 seconds before the next request...\n",
330
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030240433\n",
331
+ "Waiting for 30 seconds before the next request...\n",
332
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240381\n",
333
+ "Waiting for 30 seconds before the next request...\n",
334
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051240141\n",
335
+ "Waiting for 30 seconds before the next request...\n",
336
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1050240136\n",
337
+ "Waiting for 30 seconds before the next request...\n",
338
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1040240090\n",
339
+ "Waiting for 30 seconds before the next request...\n",
340
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs071240060\n",
341
+ "Waiting for 30 seconds before the next request...\n",
342
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051240129\n",
343
+ "Waiting for 30 seconds before the next request...\n",
344
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240335\n",
345
+ "Waiting for 30 seconds before the next request...\n",
346
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051240121\n",
347
+ "Waiting for 30 seconds before the next request...\n",
348
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2061240051\n",
349
+ "Waiting for 30 seconds before the next request...\n",
350
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240313\n",
351
+ "Waiting for 30 seconds before the next request...\n",
352
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs061240049\n",
353
+ "Waiting for 30 seconds before the next request...\n",
354
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1031240297\n",
355
+ "Waiting for 30 seconds before the next request...\n",
356
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240279\n",
357
+ "Waiting for 30 seconds before the next request...\n",
358
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1042240073\n",
359
+ "Waiting for 30 seconds before the next request...\n",
360
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1032240277\n",
361
+ "Waiting for 30 seconds before the next request...\n",
362
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240272\n",
363
+ "Waiting for 30 seconds before the next request...\n",
364
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240261\n",
365
+ "Waiting for 30 seconds before the next request...\n",
366
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240248\n",
367
+ "Waiting for 30 seconds before the next request...\n",
368
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1031240239\n",
369
+ "Waiting for 30 seconds before the next request...\n",
370
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240229\n",
371
+ "Waiting for 30 seconds before the next request...\n",
372
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1051240096\n",
373
+ "Waiting for 30 seconds before the next request...\n",
374
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031240220\n",
375
+ "Waiting for 30 seconds before the next request...\n",
376
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2041240056\n",
377
+ "Waiting for 30 seconds before the next request...\n",
378
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240210\n",
379
+ "Waiting for 30 seconds before the next request...\n",
380
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1011240022\n",
381
+ "Waiting for 30 seconds before the next request...\n",
382
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2021240013\n",
383
+ "Waiting for 30 seconds before the next request...\n",
384
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs021240010\n",
385
+ "Waiting for 30 seconds before the next request...\n",
386
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030240152\n",
387
+ "Waiting for 30 seconds before the next request...\n",
388
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2052240059\n",
389
+ "Waiting for 30 seconds before the next request...\n",
390
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1031240153\n",
391
+ "Waiting for 30 seconds before the next request...\n",
392
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs061240019\n",
393
+ "Waiting for 30 seconds before the next request...\n",
394
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030240137\n",
395
+ "Waiting for 30 seconds before the next request...\n",
396
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240090\n",
397
+ "Waiting for 30 seconds before the next request...\n",
398
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240083\n",
399
+ "Waiting for 30 seconds before the next request...\n",
400
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1052240029\n",
401
+ "Waiting for 30 seconds before the next request...\n",
402
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1042240023\n",
403
+ "Waiting for 30 seconds before the next request...\n",
404
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240065\n",
405
+ "Waiting for 30 seconds before the next request...\n",
406
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1031240063\n",
407
+ "Waiting for 30 seconds before the next request...\n",
408
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240057\n",
409
+ "Waiting for 30 seconds before the next request...\n",
410
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs032240033\n",
411
+ "Waiting for 30 seconds before the next request...\n",
412
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1052240008\n",
413
+ "Waiting for 30 seconds before the next request...\n",
414
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2033240023\n",
415
+ "Waiting for 30 seconds before the next request...\n",
416
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240016\n",
417
+ "Waiting for 30 seconds before the next request...\n",
418
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240014\n",
419
+ "Waiting for 30 seconds before the next request...\n",
420
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2041240003\n",
421
+ "Waiting for 30 seconds before the next request...\n",
422
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230747\n",
423
+ "Waiting for 30 seconds before the next request...\n",
424
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1040230173\n",
425
+ "Waiting for 30 seconds before the next request...\n",
426
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2041230169\n",
427
+ "Waiting for 30 seconds before the next request...\n",
428
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230693\n",
429
+ "Waiting for 30 seconds before the next request...\n",
430
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230688\n",
431
+ "Waiting for 30 seconds before the next request...\n",
432
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031230682\n",
433
+ "Waiting for 30 seconds before the next request...\n",
434
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2011230059\n",
435
+ "Waiting for 30 seconds before the next request...\n",
436
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230660\n",
437
+ "Waiting for 30 seconds before the next request...\n",
438
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230637\n",
439
+ "Waiting for 30 seconds before the next request...\n",
440
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230608\n",
441
+ "Waiting for 30 seconds before the next request...\n",
442
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031230606\n",
443
+ "Waiting for 30 seconds before the next request...\n",
444
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2021230055\n",
445
+ "Waiting for 30 seconds before the next request...\n",
446
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230577\n",
447
+ "Waiting for 30 seconds before the next request...\n",
448
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs032230540\n",
449
+ "Waiting for 30 seconds before the next request...\n",
450
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230532\n",
451
+ "Waiting for 30 seconds before the next request...\n",
452
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2061230084\n",
453
+ "Waiting for 30 seconds before the next request...\n",
454
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230531\n",
455
+ "Waiting for 30 seconds before the next request...\n",
456
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030230529\n",
457
+ "Waiting for 30 seconds before the next request...\n",
458
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051230147\n",
459
+ "Waiting for 30 seconds before the next request...\n",
460
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230510\n",
461
+ "Waiting for 30 seconds before the next request...\n",
462
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1032230493\n",
463
+ "Waiting for 30 seconds before the next request...\n",
464
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2071230097\n",
465
+ "Waiting for 30 seconds before the next request...\n",
466
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs042230112\n",
467
+ "Waiting for 30 seconds before the next request...\n",
468
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2071230095\n",
469
+ "Waiting for 30 seconds before the next request...\n",
470
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2011230049\n",
471
+ "Waiting for 30 seconds before the next request...\n",
472
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1020230039\n",
473
+ "Waiting for 30 seconds before the next request...\n",
474
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041230106\n",
475
+ "Waiting for 30 seconds before the next request...\n",
476
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2072230089\n",
477
+ "Waiting for 30 seconds before the next request...\n",
478
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2061230074\n",
479
+ "Waiting for 30 seconds before the next request...\n",
480
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230429\n",
481
+ "Waiting for 30 seconds before the next request...\n",
482
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230410\n",
483
+ "Waiting for 30 seconds before the next request...\n",
484
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1032230396\n",
485
+ "Waiting for 30 seconds before the next request...\n",
486
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051230108\n",
487
+ "Waiting for 30 seconds before the next request...\n",
488
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230372\n",
489
+ "Waiting for 30 seconds before the next request...\n",
490
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230360\n",
491
+ "Waiting for 30 seconds before the next request...\n",
492
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230356\n",
493
+ "Waiting for 30 seconds before the next request...\n",
494
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230319\n",
495
+ "Waiting for 30 seconds before the next request...\n",
496
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030230315\n",
497
+ "Waiting for 30 seconds before the next request...\n",
498
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230311\n",
499
+ "Waiting for 30 seconds before the next request...\n",
500
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2033230299\n",
501
+ "Waiting for 30 seconds before the next request...\n",
502
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230249\n",
503
+ "Waiting for 30 seconds before the next request...\n",
504
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030230246\n",
505
+ "Waiting for 30 seconds before the next request...\n",
506
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051230069\n",
507
+ "Waiting for 30 seconds before the next request...\n",
508
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230234\n",
509
+ "Waiting for 30 seconds before the next request...\n",
510
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230223\n",
511
+ "Waiting for 30 seconds before the next request...\n",
512
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051230065\n",
513
+ "Waiting for 30 seconds before the next request...\n",
514
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030230130\n",
515
+ "Waiting for 30 seconds before the next request...\n",
516
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031230127\n",
517
+ "Waiting for 30 seconds before the next request...\n",
518
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230098\n",
519
+ "Waiting for 30 seconds before the next request...\n",
520
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230090\n",
521
+ "Waiting for 30 seconds before the next request...\n",
522
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230096\n",
523
+ "Waiting for 30 seconds before the next request...\n",
524
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230088\n",
525
+ "Waiting for 30 seconds before the next request...\n",
526
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230087\n",
527
+ "Waiting for 30 seconds before the next request...\n",
528
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2032230060\n",
529
+ "Waiting for 30 seconds before the next request...\n",
530
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2061230009\n",
531
+ "Waiting for 30 seconds before the next request...\n",
532
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031230018\n",
533
+ "Waiting for 30 seconds before the next request...\n",
534
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1070230005\n",
535
+ "Waiting for 30 seconds before the next request...\n",
536
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230009\n",
537
+ "Waiting for 30 seconds before the next request...\n",
538
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230007\n",
539
+ "Waiting for 30 seconds before the next request...\n",
540
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs032220746\n",
541
+ "Waiting for 30 seconds before the next request...\n",
542
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs061220113\n",
543
+ "Waiting for 30 seconds before the next request...\n",
544
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220738\n",
545
+ "Waiting for 30 seconds before the next request...\n",
546
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs052220194\n",
547
+ "Waiting for 30 seconds before the next request...\n",
548
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041220157\n",
549
+ "Waiting for 30 seconds before the next request...\n",
550
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220675\n",
551
+ "Waiting for 30 seconds before the next request...\n",
552
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051220176\n",
553
+ "Waiting for 30 seconds before the next request...\n",
554
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs032220618\n",
555
+ "Waiting for 30 seconds before the next request...\n",
556
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2041220125\n",
557
+ "Waiting for 30 seconds before the next request...\n",
558
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220581\n",
559
+ "Waiting for 30 seconds before the next request...\n",
560
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031220569\n",
561
+ "Waiting for 30 seconds before the next request...\n",
562
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1032220561\n",
563
+ "Waiting for 30 seconds before the next request...\n",
564
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2021220036\n",
565
+ "Waiting for 30 seconds before the next request...\n",
566
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030220526\n",
567
+ "Waiting for 30 seconds before the next request...\n",
568
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041220102\n",
569
+ "Waiting for 30 seconds before the next request...\n",
570
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030220495\n",
571
+ "Waiting for 30 seconds before the next request...\n",
572
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220477\n",
573
+ "Waiting for 30 seconds before the next request...\n",
574
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2063220071\n",
575
+ "Waiting for 30 seconds before the next request...\n",
576
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1011220023\n",
577
+ "Waiting for 30 seconds before the next request...\n",
578
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220421\n",
579
+ "Waiting for 30 seconds before the next request...\n",
580
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041220065\n",
581
+ "Waiting for 30 seconds before the next request...\n",
582
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2021220022\n",
583
+ "Waiting for 30 seconds before the next request...\n",
584
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1051220093\n",
585
+ "Waiting for 30 seconds before the next request...\n",
586
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220311\n",
587
+ "Waiting for 30 seconds before the next request...\n",
588
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220278\n",
589
+ "Waiting for 30 seconds before the next request...\n",
590
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220276\n",
591
+ "Waiting for 30 seconds before the next request...\n",
592
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs032220240\n",
593
+ "Waiting for 30 seconds before the next request...\n",
594
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220233\n",
595
+ "Waiting for 30 seconds before the next request...\n",
596
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1040220043\n",
597
+ "Waiting for 30 seconds before the next request...\n",
598
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220203\n",
599
+ "Waiting for 30 seconds before the next request...\n",
600
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2033220220\n",
601
+ "Waiting for 30 seconds before the next request...\n",
602
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2041220034\n",
603
+ "Waiting for 30 seconds before the next request...\n",
604
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030220126\n",
605
+ "Waiting for 30 seconds before the next request...\n",
606
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1051220045\n",
607
+ "Waiting for 30 seconds before the next request...\n",
608
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1050220041\n",
609
+ "Waiting for 30 seconds before the next request...\n",
610
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1060220026\n",
611
+ "Waiting for 30 seconds before the next request...\n",
612
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041220021\n",
613
+ "Waiting for 30 seconds before the next request...\n",
614
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220060\n",
615
+ "Waiting for 30 seconds before the next request...\n",
616
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs051220019\n",
617
+ "Waiting for 30 seconds before the next request...\n",
618
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1040220010\n",
619
+ "Waiting for 30 seconds before the next request...\n",
620
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2053220006\n",
621
+ "Waiting for 30 seconds before the next request...\n",
622
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1050220005\n",
623
+ "Waiting for 30 seconds before the next request...\n",
624
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030220014\n",
625
+ "Waiting for 30 seconds before the next request...\n",
626
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1031210706\n",
627
+ "Waiting for 30 seconds before the next request...\n",
628
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs051210205\n",
629
+ "Waiting for 30 seconds before the next request...\n",
630
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030210687\n",
631
+ "Waiting for 30 seconds before the next request...\n",
632
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030210672\n",
633
+ "Waiting for 30 seconds before the next request...\n",
634
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs021210075\n",
635
+ "Waiting for 30 seconds before the next request...\n",
636
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031210635\n",
637
+ "Waiting for 30 seconds before the next request...\n",
638
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031210607\n",
639
+ "Waiting for 30 seconds before the next request...\n",
640
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs051210152\n",
641
+ "Waiting for 30 seconds before the next request...\n",
642
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031210530\n",
643
+ "Waiting for 30 seconds before the next request...\n",
644
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2033210499\n",
645
+ "Waiting for 30 seconds before the next request...\n",
646
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2033210469\n",
647
+ "Waiting for 30 seconds before the next request...\n",
648
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041210108\n",
649
+ "Waiting for 30 seconds before the next request...\n",
650
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031210426\n",
651
+ "Waiting for 30 seconds before the next request...\n",
652
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031210405\n",
653
+ "Waiting for 30 seconds before the next request...\n",
654
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1010210046\n",
655
+ "Waiting for 30 seconds before the next request...\n",
656
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs071210084\n",
657
+ "Waiting for 30 seconds before the next request...\n",
658
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030210390\n",
659
+ "Waiting for 30 seconds before the next request...\n",
660
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1050210104\n",
661
+ "Waiting for 30 seconds before the next request...\n",
662
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs071210074\n",
663
+ "Waiting for 30 seconds before the next request...\n",
664
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2043210077\n",
665
+ "Waiting for 30 seconds before the next request...\n",
666
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2052210099\n",
667
+ "Waiting for 30 seconds before the next request...\n",
668
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031210300\n",
669
+ "Waiting for 30 seconds before the next request...\n",
670
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031210299\n",
671
+ "Waiting for 30 seconds before the next request...\n",
672
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs032210292\n",
673
+ "Waiting for 30 seconds before the next request...\n",
674
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2033210278\n",
675
+ "Waiting for 30 seconds before the next request...\n",
676
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031210264\n",
677
+ "Waiting for 30 seconds before the next request...\n",
678
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2041210056\n",
679
+ "Waiting for 30 seconds before the next request...\n",
680
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041210053\n",
681
+ "Waiting for 30 seconds before the next request...\n",
682
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs061210028\n",
683
+ "Waiting for 30 seconds before the next request...\n",
684
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2011210025\n",
685
+ "Waiting for 30 seconds before the next request...\n",
686
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2011210020\n",
687
+ "Waiting for 30 seconds before the next request...\n",
688
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041210041\n",
689
+ "Waiting for 30 seconds before the next request...\n",
690
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051210043\n",
691
+ "Waiting for 30 seconds before the next request...\n",
692
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs021210010\n",
693
+ "Waiting for 30 seconds before the next request...\n",
694
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs042210018\n",
695
+ "Waiting for 30 seconds before the next request...\n",
696
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2043210017\n",
697
+ "Waiting for 30 seconds before the next request...\n",
698
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031210072\n",
699
+ "Waiting for 30 seconds before the next request...\n",
700
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041200113\n",
701
+ "Waiting for 30 seconds before the next request...\n",
702
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs062200061\n",
703
+ "Waiting for 30 seconds before the next request...\n",
704
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030200410\n",
705
+ "Waiting for 30 seconds before the next request...\n",
706
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031200384\n",
707
+ "Waiting for 30 seconds before the next request...\n",
708
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1031200386\n",
709
+ "Waiting for 30 seconds before the next request...\n",
710
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs051200121\n",
711
+ "Waiting for 30 seconds before the next request...\n",
712
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031200320\n",
713
+ "Waiting for 30 seconds before the next request...\n",
714
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2033200278\n",
715
+ "Waiting for 30 seconds before the next request...\n",
716
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1041200082\n",
717
+ "Waiting for 30 seconds before the next request...\n",
718
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051200105\n",
719
+ "Waiting for 30 seconds before the next request...\n",
720
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1062200037\n",
721
+ "Waiting for 30 seconds before the next request...\n",
722
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2071200060\n",
723
+ "Waiting for 30 seconds before the next request...\n",
724
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs062200029\n",
725
+ "Waiting for 30 seconds before the next request...\n",
726
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1052210105\n",
727
+ "Waiting for 30 seconds before the next request...\n",
728
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1052200051\n",
729
+ "Waiting for 30 seconds before the next request...\n",
730
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs071200026\n",
731
+ "Waiting for 30 seconds before the next request...\n",
732
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031200088\n",
733
+ "Waiting for 30 seconds before the next request...\n",
734
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1031200069\n",
735
+ "Waiting for 30 seconds before the next request...\n",
736
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1051200028\n",
737
+ "Waiting for 30 seconds before the next request...\n",
738
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2080225196\n",
739
+ "Waiting for 30 seconds before the next request...\n",
740
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTc030190263\n",
741
+ "Waiting for 30 seconds before the next request...\n",
742
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1020190017\n",
743
+ "Waiting for 30 seconds before the next request...\n",
744
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031190186\n",
745
+ "Waiting for 30 seconds before the next request...\n",
746
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030190169\n",
747
+ "Waiting for 30 seconds before the next request...\n",
748
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031190126\n",
749
+ "Waiting for 30 seconds before the next request...\n",
750
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1031190131\n",
751
+ "Waiting for 30 seconds before the next request...\n",
752
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2033190086\n",
753
+ "Waiting for 30 seconds before the next request...\n",
754
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2080224780\n",
755
+ "Waiting for 30 seconds before the next request...\n",
756
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1031190049\n",
757
+ "Waiting for 30 seconds before the next request...\n",
758
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs071190010\n",
759
+ "Waiting for 30 seconds before the next request...\n",
760
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051190009\n",
761
+ "Waiting for 30 seconds before the next request...\n",
762
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs051190006\n",
763
+ "Waiting for 30 seconds before the next request...\n",
764
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs021180010\n",
765
+ "Waiting for 30 seconds before the next request...\n",
766
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs061180096\n",
767
+ "Waiting for 30 seconds before the next request...\n",
768
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs061180095\n",
769
+ "Waiting for 30 seconds before the next request...\n",
770
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs061180085\n",
771
+ "Waiting for 30 seconds before the next request...\n",
772
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs061180074\n",
773
+ "Waiting for 30 seconds before the next request...\n",
774
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031180170\n",
775
+ "Waiting for 30 seconds before the next request...\n",
776
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1091220410\n",
777
+ "Waiting for 30 seconds before the next request...\n",
778
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031180114\n",
779
+ "Waiting for 30 seconds before the next request...\n",
780
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031180115\n",
781
+ "Waiting for 30 seconds before the next request...\n",
782
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2080224549\n",
783
+ "Waiting for 30 seconds before the next request...\n",
784
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs051180046\n",
785
+ "Waiting for 30 seconds before the next request...\n",
786
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2091220364\n",
787
+ "Waiting for 30 seconds before the next request...\n",
788
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2080223823\n",
789
+ "Waiting for 30 seconds before the next request...\n",
790
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1090220224\n",
791
+ "Waiting for 30 seconds before the next request...\n"
792
+ ]
793
+ }
794
+ ],
795
+ "source": [
796
+ " # jRCT詳細リンクを作成\n",
797
+ "jrct_links = extract_jrct_links(results)\n",
798
+ "\n",
799
+ " # 詳細リンクからデータフレームを作成\n",
800
+ "df = create_dataframe_from_urls(jrct_links,delay=30)"
801
+ ]
802
+ },
803
+ {
804
+ "cell_type": "code",
805
+ "execution_count": 15,
806
+ "metadata": {},
807
+ "outputs": [],
808
+ "source": [
809
+ "# 整列後の DataFrame を作成\n",
810
+ "sorted_df = reorder_columns(df)"
811
+ ]
812
+ },
813
+ {
814
+ "cell_type": "code",
815
+ "execution_count": 16,
816
+ "metadata": {},
817
+ "outputs": [
818
+ {
819
+ "name": "stderr",
820
+ "output_type": "stream",
821
+ "text": [
822
+ "/var/folders/xj/t9whz9_x5g309fn84ql50wrm0000gn/T/ipykernel_82712/2325933109.py:1: SettingWithCopyWarning: \n",
823
+ "A value is trying to be set on a copy of a slice from a DataFrame.\n",
824
+ "Try using .loc[row_indexer,col_indexer] = value instead\n",
825
+ "\n",
826
+ "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
827
+ " sorted_df['JRCT ID'] = [result[0] for result in results]\n",
828
+ "/var/folders/xj/t9whz9_x5g309fn84ql50wrm0000gn/T/ipykernel_82712/2325933109.py:2: SettingWithCopyWarning: \n",
829
+ "A value is trying to be set on a copy of a slice from a DataFrame.\n",
830
+ "Try using .loc[row_indexer,col_indexer] = value instead\n",
831
+ "\n",
832
+ "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
833
+ " sorted_df['Title'] = [result[1] for result in results]\n"
834
+ ]
835
+ }
836
+ ],
837
+ "source": [
838
+ "sorted_df['JRCT ID'] = [result[0] for result in results]\n",
839
+ "sorted_df['Title'] = [result[1] for result in results]"
840
+ ]
841
+ },
842
+ {
843
+ "cell_type": "code",
844
+ "execution_count": 17,
845
+ "metadata": {},
846
+ "outputs": [],
847
+ "source": [
848
+ "new_order = [\"JRCT ID\", \"Title\"] + [col for col in sorted_df.columns if col not in [\"JRCT ID\", \"Title\"]]"
849
+ ]
850
+ },
851
+ {
852
+ "cell_type": "code",
853
+ "execution_count": 18,
854
+ "metadata": {},
855
+ "outputs": [],
856
+ "source": [
857
+ "sorted_df = sorted_df[new_order]"
858
+ ]
859
+ },
860
+ {
861
+ "cell_type": "code",
862
+ "execution_count": 19,
863
+ "metadata": {},
864
+ "outputs": [
865
+ {
866
+ "data": {
867
+ "text/html": [
868
+ "<div>\n",
869
+ "<style scoped>\n",
870
+ " .dataframe tbody tr th:only-of-type {\n",
871
+ " vertical-align: middle;\n",
872
+ " }\n",
873
+ "\n",
874
+ " .dataframe tbody tr th {\n",
875
+ " vertical-align: top;\n",
876
+ " }\n",
877
+ "\n",
878
+ " .dataframe thead th {\n",
879
+ " text-align: right;\n",
880
+ " }\n",
881
+ "</style>\n",
882
+ "<table border=\"1\" class=\"dataframe\">\n",
883
+ " <thead>\n",
884
+ " <tr style=\"text-align: right;\">\n",
885
+ " <th></th>\n",
886
+ " <th>JRCT ID</th>\n",
887
+ " <th>Title</th>\n",
888
+ " <th>研究・治験の目的</th>\n",
889
+ " <th>試験の種類</th>\n",
890
+ " <th>無作為化</th>\n",
891
+ " <th>盲検化</th>\n",
892
+ " <th>対照</th>\n",
893
+ " <th>割付け</th>\n",
894
+ " <th>研究目的</th>\n",
895
+ " <th>主たる選択基準</th>\n",
896
+ " <th>...</th>\n",
897
+ " <th>assignment</th>\n",
898
+ " <th>purpose</th>\n",
899
+ " <th>Inclusion Criteria</th>\n",
900
+ " <th>Exclusion Criteria</th>\n",
901
+ " <th>Age Minimum</th>\n",
902
+ " <th>Age Maximum</th>\n",
903
+ " <th>Gender</th>\n",
904
+ " <th>Discontinuation Criteria</th>\n",
905
+ " <th>Keyword</th>\n",
906
+ " <th>Intervention(s)</th>\n",
907
+ " </tr>\n",
908
+ " </thead>\n",
909
+ " <tbody>\n",
910
+ " <tr>\n",
911
+ " <th>0</th>\n",
912
+ " <td>jRCT1032240511</td>\n",
913
+ " <td>進行がん患者の痛みに対する交番磁界治療器の至適な治療時間の条件に関する多施設共同研究</td>\n",
914
+ " <td>交番磁界治療器を用いた自宅での疼痛治療について、進行がん患者が治療の継続が可能と考える治療時...</td>\n",
915
+ " <td>介入研究</td>\n",
916
+ " <td>単一群</td>\n",
917
+ " <td>非盲検</td>\n",
918
+ " <td>非対照</td>\n",
919
+ " <td>単群比較</td>\n",
920
+ " <td>その他</td>\n",
921
+ " <td>1.\\t同意取得日の年齢が18歳以上 である&lt;br&gt;\\r\\n2.\\t一般病棟/緩和ケア病棟に...</td>\n",
922
+ " <td>...</td>\n",
923
+ " <td>single assignment</td>\n",
924
+ " <td>other</td>\n",
925
+ " <td>1. Age 18 years or older on the day of consent...</td>\n",
926
+ " <td>1. There is a skin disorder in the painful are...</td>\n",
927
+ " <td>18age old over</td>\n",
928
+ " <td>No limit</td>\n",
929
+ " <td>Both</td>\n",
930
+ " <td>NaN</td>\n",
931
+ " <td></td>\n",
932
+ " <td>Four pads of the alternating magnetic field th...</td>\n",
933
+ " </tr>\n",
934
+ " <tr>\n",
935
+ " <th>1</th>\n",
936
+ " <td>jRCT1032240506</td>\n",
937
+ " <td>卵巣腫瘍手術での術中低圧換気介入による術中出血量に及ぼす影響:ランダム化比較試験</td>\n",
938
+ " <td>卵巣悪性腫瘍手術は高侵襲な手術であり輸血率の高い手術である。一方で輸血により癌の予後が悪化す...</td>\n",
939
+ " <td>介入研究</td>\n",
940
+ " <td>無作為化比較</td>\n",
941
+ " <td>単盲検</td>\n",
942
+ " <td>実薬(治療)対照</td>\n",
943
+ " <td>並行群間比較</td>\n",
944
+ " <td>治療</td>\n",
945
+ " <td>千葉大学医学部附属病院で卵巣がん手術をうける患者</td>\n",
946
+ " <td>...</td>\n",
947
+ " <td>parallel assignment</td>\n",
948
+ " <td>treatment purpose</td>\n",
949
+ " <td>Patients undergoing ovarian cancer surgery at ...</td>\n",
950
+ " <td>1.Minors\\n\\r\\n2.Emergency surgery\\n\\r\\n3.Patie...</td>\n",
951
+ " <td>18age old over</td>\n",
952
+ " <td>100age old not</td>\n",
953
+ " <td>Female</td>\n",
954
+ " <td>NaN</td>\n",
955
+ " <td></td>\n",
956
+ " <td>Low-pressure ventilation and low venous pressu...</td>\n",
957
+ " </tr>\n",
958
+ " <tr>\n",
959
+ " <th>2</th>\n",
960
+ " <td>jRCT1042240125</td>\n",
961
+ " <td>Liquid Biopsyによる膵がん早期診断法の開発</td>\n",
962
+ " <td>本研究では、膵がん高危険群である膵のう胞性病変等を対象にサーベイランスプログラムを立ち上げ、...</td>\n",
963
+ " <td>観察研究</td>\n",
964
+ " <td>単一群</td>\n",
965
+ " <td>非盲検</td>\n",
966
+ " <td>非対照</td>\n",
967
+ " <td>単群比較</td>\n",
968
+ " <td>診断</td>\n",
969
+ " <td>①\\t藤田医科大学病院を受診した膵がんハイリスク群と診断される症例&lt;br&gt;\\r\\n具体的には...</td>\n",
970
+ " <td>...</td>\n",
971
+ " <td>single assignment</td>\n",
972
+ " <td>diagnostic purpose</td>\n",
973
+ " <td>1. Cases diagnosed as high-risk group for panc...</td>\n",
974
+ " <td>1. Post-Pancreatic Surgery Cases\\n\\r\\n2. Cases...</td>\n",
975
+ " <td>20age old over</td>\n",
976
+ " <td>No limit</td>\n",
977
+ " <td>Both</td>\n",
978
+ " <td>NaN</td>\n",
979
+ " <td></td>\n",
980
+ " <td></td>\n",
981
+ " </tr>\n",
982
+ " <tr>\n",
983
+ " <th>3</th>\n",
984
+ " <td>jRCT1052240186</td>\n",
985
+ " <td>トリモーダルプレハビリテーションが周術期の睡眠に及ぼす影響の検討:ランダム化比較試験</td>\n",
986
+ " <td>術前の介入により、介入群の方が対照群に比べて入院直後の睡眠効率が良いかどうかを検討すること</td>\n",
987
+ " <td>介入研究</td>\n",
988
+ " <td>無作為化比較</td>\n",
989
+ " <td>非盲検</td>\n",
990
+ " <td>無治療対照/標準治療対照</td>\n",
991
+ " <td>単群比較</td>\n",
992
+ " <td>予防</td>\n",
993
+ " <td>・20歳以上&lt;br&gt;\\r\\n・肺がん患者\\n\\r\\n・胸腔鏡補助下で根治術を受ける患者\\n\\...</td>\n",
994
+ " <td>...</td>\n",
995
+ " <td>single assignment</td>\n",
996
+ " <td>prevention purpose</td>\n",
997
+ " <td>1) Patients aged 20 and over \\n\\r\\n2) Lung can...</td>\n",
998
+ " <td>1) Patients who do not agree \\n\\r\\n2) Patients...</td>\n",
999
+ " <td>20age old over</td>\n",
1000
+ " <td>No limit</td>\n",
1001
+ " <td>Both</td>\n",
1002
+ " <td>NaN</td>\n",
1003
+ " <td>Malignancy</td>\n",
1004
+ " <td>Intervention for the Experimental Group:\\n\\r\\n...</td>\n",
1005
+ " </tr>\n",
1006
+ " <tr>\n",
1007
+ " <th>4</th>\n",
1008
+ " <td>jRCT1030240477</td>\n",
1009
+ " <td>プレシジョンオンコロジーを加速するためのスコアリングシステムを開発する研究</td>\n",
1010
+ " <td>本研究の目的は、がん遺伝子パネル検査後、国立がん研究センター中央病院を受診した患者のデータを...</td>\n",
1011
+ " <td>観察研究</td>\n",
1012
+ " <td></td>\n",
1013
+ " <td></td>\n",
1014
+ " <td></td>\n",
1015
+ " <td></td>\n",
1016
+ " <td>その他</td>\n",
1017
+ " <td>1) がん遺伝子パネル検査を実施した医師&lt;br&gt;\\r\\n2) 遺伝子異常にマッチした治験目的...</td>\n",
1018
+ " <td>...</td>\n",
1019
+ " <td></td>\n",
1020
+ " <td>other</td>\n",
1021
+ " <td>1. Physicians who performed cancer gene panel ...</td>\n",
1022
+ " <td>Physicians deemed inappropriate by the Princip...</td>\n",
1023
+ " <td>No limit</td>\n",
1024
+ " <td>No limit</td>\n",
1025
+ " <td>Both</td>\n",
1026
+ " <td>NaN</td>\n",
1027
+ " <td>Genotype-matched trial</td>\n",
1028
+ " <td></td>\n",
1029
+ " </tr>\n",
1030
+ " <tr>\n",
1031
+ " <th>...</th>\n",
1032
+ " <td>...</td>\n",
1033
+ " <td>...</td>\n",
1034
+ " <td>...</td>\n",
1035
+ " <td>...</td>\n",
1036
+ " <td>...</td>\n",
1037
+ " <td>...</td>\n",
1038
+ " <td>...</td>\n",
1039
+ " <td>...</td>\n",
1040
+ " <td>...</td>\n",
1041
+ " <td>...</td>\n",
1042
+ " <td>...</td>\n",
1043
+ " <td>...</td>\n",
1044
+ " <td>...</td>\n",
1045
+ " <td>...</td>\n",
1046
+ " <td>...</td>\n",
1047
+ " <td>...</td>\n",
1048
+ " <td>...</td>\n",
1049
+ " <td>...</td>\n",
1050
+ " <td>...</td>\n",
1051
+ " <td>...</td>\n",
1052
+ " <td>...</td>\n",
1053
+ " </tr>\n",
1054
+ " <tr>\n",
1055
+ " <th>231</th>\n",
1056
+ " <td>jRCT2080224549</td>\n",
1057
+ " <td>進行性悪性黒色腫患者を対象としたGEN0101の皮内投与と、ペムブロリズマブ(抗PD-1抗体...</td>\n",
1058
+ " <td>NaN</td>\n",
1059
+ " <td>介入研究</td>\n",
1060
+ " <td>NaN</td>\n",
1061
+ " <td>NaN</td>\n",
1062
+ " <td>NaN</td>\n",
1063
+ " <td>NaN</td>\n",
1064
+ " <td>NaN</td>\n",
1065
+ " <td>NaN</td>\n",
1066
+ " <td>...</td>\n",
1067
+ " <td>NaN</td>\n",
1068
+ " <td>NaN</td>\n",
1069
+ " <td>NaN</td>\n",
1070
+ " <td>NaN</td>\n",
1071
+ " <td>NaN</td>\n",
1072
+ " <td>NaN</td>\n",
1073
+ " <td>&lt;p&gt;Both&lt;/p&gt;</td>\n",
1074
+ " <td>NaN</td>\n",
1075
+ " <td></td>\n",
1076
+ " <td>investigational material(s)&lt;br&gt;\\nGeneric name ...</td>\n",
1077
+ " </tr>\n",
1078
+ " <tr>\n",
1079
+ " <th>232</th>\n",
1080
+ " <td>jRCTs051180046</td>\n",
1081
+ " <td>造影CT及び造影MRIを用いた乳がんセンチネルリンパ節転移診断による腋窩手術回避に関する研究</td>\n",
1082
+ " <td>��発乳がん患者に対して、造影CTとMRIを用いた転移診断により、転移陰性例に腋窩手術を安全に...</td>\n",
1083
+ " <td>介入研究</td>\n",
1084
+ " <td>単一群</td>\n",
1085
+ " <td>非盲検</td>\n",
1086
+ " <td>ヒストリカルコントロール</td>\n",
1087
+ " <td>単群比較</td>\n",
1088
+ " <td>治療</td>\n",
1089
+ " <td>1.手術予定の原発T1-2乳がん症例。&lt;br&gt;\\r\\n2.臨床的腋窩リンパ節転移陰性症例。\\...</td>\n",
1090
+ " <td>...</td>\n",
1091
+ " <td>single assignment</td>\n",
1092
+ " <td>treatment purpose</td>\n",
1093
+ " <td>1.T1-2 primary breast cancer\\n\\r\\n2.Clinically...</td>\n",
1094
+ " <td>1.Contraindication of contrast agents\\n\\r\\n2.P...</td>\n",
1095
+ " <td>18age old over</td>\n",
1096
+ " <td>No limit</td>\n",
1097
+ " <td>Both</td>\n",
1098
+ " <td>NaN</td>\n",
1099
+ " <td>Breast cancer</td>\n",
1100
+ " <td>Identify the sentinel node by contrast-enhance...</td>\n",
1101
+ " </tr>\n",
1102
+ " <tr>\n",
1103
+ " <th>233</th>\n",
1104
+ " <td>jRCT2091220364</td>\n",
1105
+ " <td>ALK遺伝子異常を有する希少がんに対するアレクチニブの医師主導治験</td>\n",
1106
+ " <td>NaN</td>\n",
1107
+ " <td>NaN</td>\n",
1108
+ " <td>NaN</td>\n",
1109
+ " <td>非盲検</td>\n",
1110
+ " <td>無対照</td>\n",
1111
+ " <td></td>\n",
1112
+ " <td>NaN</td>\n",
1113
+ " <td>NaN</td>\n",
1114
+ " <td>...</td>\n",
1115
+ " <td></td>\n",
1116
+ " <td>NaN</td>\n",
1117
+ " <td>NaN</td>\n",
1118
+ " <td>NaN</td>\n",
1119
+ " <td>Age 7Month Week Day Hour over</td>\n",
1120
+ " <td>Age Month Week Day Hour No limit</td>\n",
1121
+ " <td>Both</td>\n",
1122
+ " <td>NaN</td>\n",
1123
+ " <td></td>\n",
1124
+ " <td>Intervention type:DRUG\\n\\nName of intervention...</td>\n",
1125
+ " </tr>\n",
1126
+ " <tr>\n",
1127
+ " <th>234</th>\n",
1128
+ " <td>jRCT2080223823</td>\n",
1129
+ " <td>固形がん患者を対象としたE7130 の臨床第1相試験</td>\n",
1130
+ " <td>NaN</td>\n",
1131
+ " <td>介入研究</td>\n",
1132
+ " <td>NaN</td>\n",
1133
+ " <td>NaN</td>\n",
1134
+ " <td>NaN</td>\n",
1135
+ " <td>NaN</td>\n",
1136
+ " <td>NaN</td>\n",
1137
+ " <td>NaN</td>\n",
1138
+ " <td>...</td>\n",
1139
+ " <td>NaN</td>\n",
1140
+ " <td>NaN</td>\n",
1141
+ " <td>NaN</td>\n",
1142
+ " <td>NaN</td>\n",
1143
+ " <td>NaN</td>\n",
1144
+ " <td>NaN</td>\n",
1145
+ " <td>&lt;p&gt;Both&lt;/p&gt;</td>\n",
1146
+ " <td>NaN</td>\n",
1147
+ " <td></td>\n",
1148
+ " <td>investigational material(s)&lt;br&gt;\\nGeneric name ...</td>\n",
1149
+ " </tr>\n",
1150
+ " <tr>\n",
1151
+ " <th>235</th>\n",
1152
+ " <td>jRCT1090220224</td>\n",
1153
+ " <td>体幹部神経ブロック後のレボブピバカインの血中濃度の変化</td>\n",
1154
+ " <td>NaN</td>\n",
1155
+ " <td>NaN</td>\n",
1156
+ " <td>NaN</td>\n",
1157
+ " <td>非盲検</td>\n",
1158
+ " <td>無対照</td>\n",
1159
+ " <td></td>\n",
1160
+ " <td>NaN</td>\n",
1161
+ " <td>NaN</td>\n",
1162
+ " <td>...</td>\n",
1163
+ " <td></td>\n",
1164
+ " <td>NaN</td>\n",
1165
+ " <td>NaN</td>\n",
1166
+ " <td>NaN</td>\n",
1167
+ " <td>20Age Month Week Day Hour over</td>\n",
1168
+ " <td>Age Month Week Day Hour No limit</td>\n",
1169
+ " <td>Both</td>\n",
1170
+ " <td>NaN</td>\n",
1171
+ " <td></td>\n",
1172
+ " <td>Intervention type:\\n\\nName of intervention:\\n\\...</td>\n",
1173
+ " </tr>\n",
1174
+ " </tbody>\n",
1175
+ "</table>\n",
1176
+ "<p>236 rows × 32 columns</p>\n",
1177
+ "</div>"
1178
+ ],
1179
+ "text/plain": [
1180
+ " JRCT ID Title \\\n",
1181
+ "0 jRCT1032240511 進行がん患者の痛みに対する交番磁界治療器の至適な治療時間の条件に関する多施設共同研究 \n",
1182
+ "1 jRCT1032240506 卵巣腫瘍手術での術中低圧換気介入による術中出血量に及ぼす影響:ランダム化比較試験 \n",
1183
+ "2 jRCT1042240125 Liquid Biopsyによる膵がん早期診断法の開発 \n",
1184
+ "3 jRCT1052240186 トリモーダルプレハビリテーションが周術期の睡眠に及ぼす影響の検討:ランダム化比較試験 \n",
1185
+ "4 jRCT1030240477 プレシジョンオンコロジーを加速するためのスコアリングシステムを開発する研究 \n",
1186
+ ".. ... ... \n",
1187
+ "231 jRCT2080224549 進行性悪性黒色腫患者を対象としたGEN0101の皮内投与��、ペムブロリズマブ(抗PD-1抗体... \n",
1188
+ "232 jRCTs051180046 造影CT及び造影MRIを用いた乳がんセンチネルリンパ節転移診断による腋窩手術回避に関する研究 \n",
1189
+ "233 jRCT2091220364 ALK遺伝子異常を有する希少がんに対するアレクチニブの医師主導治験 \n",
1190
+ "234 jRCT2080223823 固形がん患者を対象としたE7130 の臨床第1相試験 \n",
1191
+ "235 jRCT1090220224 体幹部神経ブロック後のレボブピバカインの血中濃度の変化 \n",
1192
+ "\n",
1193
+ " 研究・治験の目的 試験の種類 無作為化 盲検化 \\\n",
1194
+ "0 交番磁界治療器を用いた自宅での疼痛治療について、進行がん患者が治療の継続が可能と考える治療時... 介入研究 単一群 非盲検 \n",
1195
+ "1 卵巣悪性腫瘍手術は高侵襲な手術であり輸血率の高い手術である。一方で輸血により癌の予後が悪化す... 介入研究 無作為化比較 単盲検 \n",
1196
+ "2 本研究では、膵がん高危険群である膵のう胞性病変等を対象にサーベイランスプログラムを立ち上げ、... 観察研究 単一群 非盲検 \n",
1197
+ "3 術前の介入により、介入群の方が対照群に比べて入院直後の睡眠効率が良いかどうかを検討すること 介入研究 無作為化比較 非盲検 \n",
1198
+ "4 本研究の目的は、がん遺伝子パネル検査後、国立がん研究センター中央病院を受診した患者のデータを... 観察研究 \n",
1199
+ ".. ... ... ... ... \n",
1200
+ "231 NaN 介入研究 NaN NaN \n",
1201
+ "232 原発乳がん患者に対して、造影CTとMRIを用いた転移診断により、転移陰性例に腋窩手術を安全に... 介入研究 単一群 非盲検 \n",
1202
+ "233 NaN NaN NaN 非盲検 \n",
1203
+ "234 NaN 介入研究 NaN NaN \n",
1204
+ "235 NaN NaN NaN 非盲検 \n",
1205
+ "\n",
1206
+ " 対照 割付け 研究目的 \\\n",
1207
+ "0 非対照 単群比較 その他 \n",
1208
+ "1 実薬(治療)対照 並行群間比較 治療 \n",
1209
+ "2 非対照 単群比較 診断 \n",
1210
+ "3 無治療対照/標準治療対照 単群比較 予防 \n",
1211
+ "4 その他 \n",
1212
+ ".. ... ... ... \n",
1213
+ "231 NaN NaN NaN \n",
1214
+ "232 ヒストリカルコントロール 単群比較 治療 \n",
1215
+ "233 無対照 NaN \n",
1216
+ "234 NaN NaN NaN \n",
1217
+ "235 無対照 NaN \n",
1218
+ "\n",
1219
+ " 主たる選択基準 ... \\\n",
1220
+ "0 1.\\t同意取得日の年齢が18歳以上 である<br>\\r\\n2.\\t一般病棟/緩和ケア病棟に... ... \n",
1221
+ "1 千葉大学医学部附属病院で卵巣がん手術をうける患者 ... \n",
1222
+ "2 ①\\t藤田医科大学病院を受診した膵がんハイリスク群と診断される症例<br>\\r\\n具体的には... ... \n",
1223
+ "3 ・20歳以上<br>\\r\\n・肺がん患者\\n\\r\\n・胸腔鏡補助下で根治術を受ける患者\\n\\... ... \n",
1224
+ "4 1) がん遺伝子パネル検査を実施した医師<br>\\r\\n2) 遺伝子異常にマッチした治験目的... ... \n",
1225
+ ".. ... ... \n",
1226
+ "231 NaN ... \n",
1227
+ "232 1.手術予定の原発T1-2乳がん症例。<br>\\r\\n2.臨床的腋窩リンパ節転移陰性症例。\\... ... \n",
1228
+ "233 NaN ... \n",
1229
+ "234 NaN ... \n",
1230
+ "235 NaN ... \n",
1231
+ "\n",
1232
+ " assignment purpose \\\n",
1233
+ "0 single assignment other \n",
1234
+ "1 parallel assignment treatment purpose \n",
1235
+ "2 single assignment diagnostic purpose \n",
1236
+ "3 single assignment prevention purpose \n",
1237
+ "4 other \n",
1238
+ ".. ... ... \n",
1239
+ "231 NaN NaN \n",
1240
+ "232 single assignment treatment purpose \n",
1241
+ "233 NaN \n",
1242
+ "234 NaN NaN \n",
1243
+ "235 NaN \n",
1244
+ "\n",
1245
+ " Inclusion Criteria \\\n",
1246
+ "0 1. Age 18 years or older on the day of consent... \n",
1247
+ "1 Patients undergoing ovarian cancer surgery at ... \n",
1248
+ "2 1. Cases diagnosed as high-risk group for panc... \n",
1249
+ "3 1) Patients aged 20 and over \\n\\r\\n2) Lung can... \n",
1250
+ "4 1. Physicians who performed cancer gene panel ... \n",
1251
+ ".. ... \n",
1252
+ "231 NaN \n",
1253
+ "232 1.T1-2 primary breast cancer\\n\\r\\n2.Clinically... \n",
1254
+ "233 NaN \n",
1255
+ "234 NaN \n",
1256
+ "235 NaN \n",
1257
+ "\n",
1258
+ " Exclusion Criteria \\\n",
1259
+ "0 1. There is a skin disorder in the painful are... \n",
1260
+ "1 1.Minors\\n\\r\\n2.Emergency surgery\\n\\r\\n3.Patie... \n",
1261
+ "2 1. Post-Pancreatic Surgery Cases\\n\\r\\n2. Cases... \n",
1262
+ "3 1) Patients who do not agree \\n\\r\\n2) Patients... \n",
1263
+ "4 Physicians deemed inappropriate by the Princip... \n",
1264
+ ".. ... \n",
1265
+ "231 NaN \n",
1266
+ "232 1.Contraindication of contrast agents\\n\\r\\n2.P... \n",
1267
+ "233 NaN \n",
1268
+ "234 NaN \n",
1269
+ "235 NaN \n",
1270
+ "\n",
1271
+ " Age Minimum Age Maximum \\\n",
1272
+ "0 18age old over No limit \n",
1273
+ "1 18age old over 100age old not \n",
1274
+ "2 20age old over No limit \n",
1275
+ "3 20age old over No limit \n",
1276
+ "4 No limit No limit \n",
1277
+ ".. ... ... \n",
1278
+ "231 NaN NaN \n",
1279
+ "232 18age old over No limit \n",
1280
+ "233 Age 7Month Week Day Hour over Age Month Week Day Hour No limit \n",
1281
+ "234 NaN NaN \n",
1282
+ "235 20Age Month Week Day Hour over Age Month Week Day Hour No limit \n",
1283
+ "\n",
1284
+ " Gender Discontinuation Criteria Keyword \\\n",
1285
+ "0 Both NaN \n",
1286
+ "1 Female NaN \n",
1287
+ "2 Both NaN \n",
1288
+ "3 Both NaN Malignancy \n",
1289
+ "4 Both NaN Genotype-matched trial \n",
1290
+ ".. ... ... ... \n",
1291
+ "231 <p>Both</p> NaN \n",
1292
+ "232 Both NaN Breast cancer \n",
1293
+ "233 Both NaN \n",
1294
+ "234 <p>Both</p> NaN \n",
1295
+ "235 Both NaN \n",
1296
+ "\n",
1297
+ " Intervention(s) \n",
1298
+ "0 Four pads of the alternating magnetic field th... \n",
1299
+ "1 Low-pressure ventilation and low venous pressu... \n",
1300
+ "2 \n",
1301
+ "3 Intervention for the Experimental Group:\\n\\r\\n... \n",
1302
+ "4 \n",
1303
+ ".. ... \n",
1304
+ "231 investigational material(s)<br>\\nGeneric name ... \n",
1305
+ "232 Identify the sentinel node by contrast-enhance... \n",
1306
+ "233 Intervention type:DRUG\\n\\nName of intervention... \n",
1307
+ "234 investigational material(s)<br>\\nGeneric name ... \n",
1308
+ "235 Intervention type:\\n\\nName of intervention:\\n\\... \n",
1309
+ "\n",
1310
+ "[236 rows x 32 columns]"
1311
+ ]
1312
+ },
1313
+ "execution_count": 19,
1314
+ "metadata": {},
1315
+ "output_type": "execute_result"
1316
+ }
1317
+ ],
1318
+ "source": [
1319
+ "sorted_df"
1320
+ ]
1321
+ },
1322
+ {
1323
+ "cell_type": "code",
1324
+ "execution_count": 21,
1325
+ "metadata": {},
1326
+ "outputs": [],
1327
+ "source": [
1328
+ "sorted_df.to_csv('../JRCT20241128Cancer.csv')"
1329
+ ]
1330
+ },
1331
+ {
1332
+ "cell_type": "code",
1333
+ "execution_count": null,
1334
+ "metadata": {},
1335
+ "outputs": [],
1336
+ "source": []
1337
+ }
1338
+ ],
1339
+ "metadata": {
1340
+ "kernelspec": {
1341
+ "display_name": "gradio",
1342
+ "language": "python",
1343
+ "name": "python3"
1344
+ },
1345
+ "language_info": {
1346
+ "codemirror_mode": {
1347
+ "name": "ipython",
1348
+ "version": 3
1349
+ },
1350
+ "file_extension": ".py",
1351
+ "mimetype": "text/x-python",
1352
+ "name": "python",
1353
+ "nbconvert_exporter": "python",
1354
+ "pygments_lexer": "ipython3",
1355
+ "version": "3.12.3"
1356
+ }
1357
+ },
1358
+ "nbformat": 4,
1359
+ "nbformat_minor": 2
1360
+ }
dev_JRCT_api/202041129JRCTCSV.ipynb ADDED
@@ -0,0 +1,1183 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": 1,
6
+ "metadata": {},
7
+ "outputs": [],
8
+ "source": [
9
+ "import pandas as pd\n",
10
+ "from OpenAITools.JRCTTools import fetch_clinical_trials, extract_jrct_links, create_dataframe_from_urls, reorder_columns"
11
+ ]
12
+ },
13
+ {
14
+ "cell_type": "code",
15
+ "execution_count": 2,
16
+ "metadata": {},
17
+ "outputs": [
18
+ {
19
+ "name": "stdout",
20
+ "output_type": "stream",
21
+ "text": [
22
+ "検索ボタンがクリックできないため、JavaScriptでクリックします。\n",
23
+ "1 ページ目を処理しました。\n",
24
+ "2 ページ目を処理しました。\n",
25
+ "3 ページ目を処理しました。\n",
26
+ "4 ページ目を処理しました。\n",
27
+ "5 ページ目を処理しました。\n",
28
+ "6 ページ目を処理しました。\n",
29
+ "次のページはありません。全ての結果を取得しました。\n"
30
+ ]
31
+ }
32
+ ],
33
+ "source": [
34
+ "# fetch_clinical_trialsを使って検索結果を取得\n",
35
+ "results = fetch_clinical_trials(disease_name=\"がん 神経膠腫 骨髄腫 黒色腫 肉腫\", freeword=\"\",include_not_yet_recruiting=True)"
36
+ ]
37
+ },
38
+ {
39
+ "cell_type": "code",
40
+ "execution_count": 3,
41
+ "metadata": {},
42
+ "outputs": [
43
+ {
44
+ "name": "stdout",
45
+ "output_type": "stream",
46
+ "text": [
47
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030240513\n",
48
+ "Waiting for 15 seconds before the next request...\n",
49
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1032240511\n",
50
+ "Waiting for 15 seconds before the next request...\n",
51
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1032240506\n",
52
+ "Waiting for 15 seconds before the next request...\n",
53
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2041240130\n",
54
+ "Waiting for 15 seconds before the next request...\n",
55
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240500\n",
56
+ "Waiting for 15 seconds before the next request...\n",
57
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1042240125\n",
58
+ "Waiting for 15 seconds before the next request...\n",
59
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1052240186\n",
60
+ "Waiting for 15 seconds before the next request...\n",
61
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1060240085\n",
62
+ "Waiting for 15 seconds before the next request...\n",
63
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030240477\n",
64
+ "Waiting for 15 seconds before the next request...\n",
65
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240448\n",
66
+ "Waiting for 15 seconds before the next request...\n",
67
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030240441\n",
68
+ "Waiting for 15 seconds before the next request...\n",
69
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030240433\n",
70
+ "Waiting for 15 seconds before the next request...\n",
71
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240404\n",
72
+ "Waiting for 15 seconds before the next request...\n",
73
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240381\n",
74
+ "Waiting for 15 seconds before the next request...\n",
75
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs061240064\n",
76
+ "Waiting for 15 seconds before the next request...\n",
77
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051240141\n",
78
+ "Waiting for 15 seconds before the next request...\n",
79
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1050240136\n",
80
+ "Waiting for 15 seconds before the next request...\n",
81
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1040240090\n",
82
+ "Waiting for 15 seconds before the next request...\n",
83
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs071240060\n",
84
+ "Waiting for 15 seconds before the next request...\n",
85
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051240129\n",
86
+ "Waiting for 15 seconds before the next request...\n",
87
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2061240057\n",
88
+ "Waiting for 15 seconds before the next request...\n",
89
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240335\n",
90
+ "Waiting for 15 seconds before the next request...\n",
91
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051240121\n",
92
+ "Waiting for 15 seconds before the next request...\n",
93
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2061240051\n",
94
+ "Waiting for 15 seconds before the next request...\n",
95
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240313\n",
96
+ "Waiting for 15 seconds before the next request...\n",
97
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs061240049\n",
98
+ "Waiting for 15 seconds before the next request...\n",
99
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240303\n",
100
+ "Waiting for 15 seconds before the next request...\n",
101
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1031240297\n",
102
+ "Waiting for 15 seconds before the next request...\n",
103
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240279\n",
104
+ "Waiting for 15 seconds before the next request...\n",
105
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1042240073\n",
106
+ "Waiting for 15 seconds before the next request...\n",
107
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030240280\n",
108
+ "Waiting for 15 seconds before the next request...\n",
109
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1032240277\n",
110
+ "Waiting for 15 seconds before the next request...\n",
111
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240272\n",
112
+ "Waiting for 15 seconds before the next request...\n",
113
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240261\n",
114
+ "Waiting for 15 seconds before the next request...\n",
115
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240248\n",
116
+ "Waiting for 15 seconds before the next request...\n",
117
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1031240239\n",
118
+ "Waiting for 15 seconds before the next request...\n",
119
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240229\n",
120
+ "Waiting for 15 seconds before the next request...\n",
121
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1051240096\n",
122
+ "Waiting for 15 seconds before the next request...\n",
123
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031240220\n",
124
+ "Waiting for 15 seconds before the next request...\n",
125
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2041240056\n",
126
+ "Waiting for 15 seconds before the next request...\n",
127
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2061240032\n",
128
+ "Waiting for 15 seconds before the next request...\n",
129
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030240215\n",
130
+ "Waiting for 15 seconds before the next request...\n",
131
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240210\n",
132
+ "Waiting for 15 seconds before the next request...\n",
133
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1011240022\n",
134
+ "Waiting for 15 seconds before the next request...\n",
135
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2021240013\n",
136
+ "Waiting for 15 seconds before the next request...\n",
137
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051240071\n",
138
+ "Waiting for 15 seconds before the next request...\n",
139
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTc030240165\n",
140
+ "Waiting for 15 seconds before the next request...\n",
141
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs021240010\n",
142
+ "Waiting for 15 seconds before the next request...\n",
143
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030240152\n",
144
+ "Waiting for 15 seconds before the next request...\n",
145
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2052240059\n",
146
+ "Waiting for 15 seconds before the next request...\n",
147
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1031240153\n",
148
+ "Waiting for 15 seconds before the next request...\n",
149
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2071240020\n",
150
+ "Waiting for 15 seconds before the next request...\n",
151
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs061240019\n",
152
+ "Waiting for 15 seconds before the next request...\n",
153
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030240137\n",
154
+ "Waiting for 15 seconds before the next request...\n",
155
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030240131\n",
156
+ "Waiting for 15 seconds before the next request...\n",
157
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240090\n",
158
+ "Waiting for 15 seconds before the next request...\n",
159
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240083\n",
160
+ "Waiting for 15 seconds before the next request...\n",
161
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1052240029\n",
162
+ "Waiting for 15 seconds before the next request...\n",
163
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1042240023\n",
164
+ "Waiting for 15 seconds before the next request...\n",
165
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240065\n",
166
+ "Waiting for 15 seconds before the next request...\n",
167
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1031240063\n",
168
+ "Waiting for 15 seconds before the next request...\n",
169
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240057\n",
170
+ "Waiting for 15 seconds before the next request...\n",
171
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs032240033\n",
172
+ "Waiting for 15 seconds before the next request...\n",
173
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240026\n",
174
+ "Waiting for 15 seconds before the next request...\n",
175
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1052240008\n",
176
+ "Waiting for 15 seconds before the next request...\n",
177
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2033240023\n",
178
+ "Waiting for 15 seconds before the next request...\n",
179
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240016\n",
180
+ "Waiting for 15 seconds before the next request...\n",
181
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240014\n",
182
+ "Waiting for 15 seconds before the next request...\n",
183
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2041240003\n",
184
+ "Waiting for 15 seconds before the next request...\n",
185
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230747\n",
186
+ "Waiting for 15 seconds before the next request...\n",
187
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1040230173\n",
188
+ "Waiting for 15 seconds before the next request...\n",
189
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2041230169\n",
190
+ "Waiting for 15 seconds before the next request...\n",
191
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230693\n",
192
+ "Waiting for 15 seconds before the next request...\n",
193
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230688\n",
194
+ "Waiting for 15 seconds before the next request...\n",
195
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031230682\n",
196
+ "Waiting for 15 seconds before the next request...\n",
197
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2011230059\n",
198
+ "Waiting for 15 seconds before the next request...\n",
199
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230660\n",
200
+ "Waiting for 15 seconds before the next request...\n",
201
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230637\n",
202
+ "Waiting for 15 seconds before the next request...\n",
203
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230640\n",
204
+ "Waiting for 15 seconds before the next request...\n",
205
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230608\n",
206
+ "Waiting for 15 seconds before the next request...\n",
207
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031230606\n",
208
+ "Waiting for 15 seconds before the next request...\n",
209
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2021230055\n",
210
+ "Waiting for 15 seconds before the next request...\n",
211
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2041230141\n",
212
+ "Waiting for 15 seconds before the next request...\n",
213
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230577\n",
214
+ "Waiting for 15 seconds before the next request...\n",
215
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs032230540\n",
216
+ "Waiting for 15 seconds before the next request...\n",
217
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230532\n",
218
+ "Waiting for 15 seconds before the next request...\n",
219
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2061230084\n",
220
+ "Waiting for 15 seconds before the next request...\n",
221
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs051230150\n",
222
+ "Waiting for 15 seconds before the next request...\n",
223
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230531\n",
224
+ "Waiting for 15 seconds before the next request...\n",
225
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030230529\n",
226
+ "Waiting for 15 seconds before the next request...\n",
227
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051230147\n",
228
+ "Waiting for 15 seconds before the next request...\n",
229
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230510\n",
230
+ "Waiting for 15 seconds before the next request...\n",
231
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1032230493\n",
232
+ "Waiting for 15 seconds before the next request...\n",
233
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1032230494\n",
234
+ "Waiting for 15 seconds before the next request...\n",
235
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2071230097\n",
236
+ "Waiting for 15 seconds before the next request...\n",
237
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs042230112\n",
238
+ "Waiting for 15 seconds before the next request...\n",
239
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031230482\n",
240
+ "Waiting for 15 seconds before the next request...\n",
241
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2071230095\n",
242
+ "Waiting for 15 seconds before the next request...\n",
243
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2011230049\n",
244
+ "Waiting for 15 seconds before the next request...\n",
245
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1020230039\n",
246
+ "Waiting for 15 seconds before the next request...\n",
247
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041230106\n",
248
+ "Waiting for 15 seconds before the next request...\n",
249
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2072230089\n",
250
+ "Waiting for 15 seconds before the next request...\n",
251
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2061230074\n",
252
+ "Waiting for 15 seconds before the next request...\n",
253
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230429\n",
254
+ "Waiting for 15 seconds before the next request...\n",
255
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230410\n",
256
+ "Waiting for 15 seconds before the next request...\n",
257
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1032230396\n",
258
+ "Waiting for 15 seconds before the next request...\n",
259
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051230108\n",
260
+ "Waiting for 15 seconds before the next request...\n",
261
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230372\n",
262
+ "Waiting for 15 seconds before the next request...\n",
263
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230360\n",
264
+ "Waiting for 15 seconds before the next request...\n",
265
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230356\n",
266
+ "Waiting for 15 seconds before the next request...\n",
267
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230319\n",
268
+ "Waiting for 15 seconds before the next request...\n",
269
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030230315\n",
270
+ "Waiting for 15 seconds before the next request...\n",
271
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230311\n",
272
+ "Waiting for 15 seconds before the next request...\n",
273
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2033230299\n",
274
+ "Waiting for 15 seconds before the next request...\n",
275
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1050230086\n",
276
+ "Waiting for 15 seconds before the next request...\n",
277
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1012230030\n",
278
+ "Waiting for 15 seconds before the next request...\n",
279
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030230265\n",
280
+ "Waiting for 15 seconds before the next request...\n",
281
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230249\n",
282
+ "Waiting for 15 seconds before the next request...\n",
283
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030230246\n",
284
+ "Waiting for 15 seconds before the next request...\n",
285
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051230069\n",
286
+ "Waiting for 15 seconds before the next request...\n",
287
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2021230016\n",
288
+ "Waiting for 15 seconds before the next request...\n",
289
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230234\n",
290
+ "Waiting for 15 seconds before the next request...\n",
291
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230223\n",
292
+ "Waiting for 15 seconds before the next request...\n",
293
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051230065\n",
294
+ "Waiting for 15 seconds before the next request...\n",
295
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030230130\n",
296
+ "Waiting for 15 seconds before the next request...\n",
297
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031230127\n",
298
+ "Waiting for 15 seconds before the next request...\n",
299
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230098\n",
300
+ "Waiting for 15 seconds before the next request...\n",
301
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230090\n",
302
+ "Waiting for 15 seconds before the next request...\n",
303
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230096\n",
304
+ "Waiting for 15 seconds before the next request...\n",
305
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1040230027\n",
306
+ "Waiting for 15 seconds before the next request...\n",
307
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230088\n",
308
+ "Waiting for 15 seconds before the next request...\n",
309
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230087\n",
310
+ "Waiting for 15 seconds before the next request...\n",
311
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2032230060\n",
312
+ "Waiting for 15 seconds before the next request...\n",
313
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2061230009\n",
314
+ "Waiting for 15 seconds before the next request...\n",
315
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041230007\n",
316
+ "Waiting for 15 seconds before the next request...\n",
317
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031230018\n",
318
+ "Waiting for 15 seconds before the next request...\n",
319
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1070230005\n",
320
+ "Waiting for 15 seconds before the next request...\n",
321
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230009\n",
322
+ "Waiting for 15 seconds before the next request...\n",
323
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230007\n",
324
+ "Waiting for 15 seconds before the next request...\n",
325
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs032220746\n",
326
+ "Waiting for 15 seconds before the next request...\n",
327
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTa030220741\n",
328
+ "Waiting for 15 seconds before the next request...\n",
329
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs061220113\n",
330
+ "Waiting for 15 seconds before the next request...\n",
331
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220738\n",
332
+ "Waiting for 15 seconds before the next request...\n",
333
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs052220194\n",
334
+ "Waiting for 15 seconds before the next request...\n",
335
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220703\n",
336
+ "Waiting for 15 seconds before the next request...\n",
337
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2041220160\n",
338
+ "Waiting for 15 seconds before the next request...\n",
339
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041220157\n",
340
+ "Waiting for 15 seconds before the next request...\n",
341
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220675\n",
342
+ "Waiting for 15 seconds before the next request...\n",
343
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051220176\n",
344
+ "Waiting for 15 seconds before the next request...\n",
345
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs032220618\n",
346
+ "Waiting for 15 seconds before the next request...\n",
347
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs032220609\n",
348
+ "Waiting for 15 seconds before the next request...\n",
349
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2053220159\n",
350
+ "Waiting for 15 seconds before the next request...\n",
351
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030220594\n",
352
+ "Waiting for 15 seconds before the next request...\n",
353
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2041220125\n",
354
+ "Waiting for 15 seconds before the next request...\n",
355
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220581\n",
356
+ "Waiting for 15 seconds before the next request...\n",
357
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031220569\n",
358
+ "Waiting for 15 seconds before the next request...\n",
359
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1032220561\n",
360
+ "Waiting for 15 seconds before the next request...\n",
361
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2021220036\n",
362
+ "Waiting for 15 seconds before the next request...\n",
363
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030220526\n",
364
+ "Waiting for 15 seconds before the next request...\n",
365
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041220102\n",
366
+ "Waiting for 15 seconds before the next request...\n",
367
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030220495\n",
368
+ "Waiting for 15 seconds before the next request...\n",
369
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220477\n",
370
+ "Waiting for 15 seconds before the next request...\n",
371
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2063220071\n",
372
+ "Waiting for 15 seconds before the next request...\n",
373
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031220446\n",
374
+ "Waiting for 15 seconds before the next request...\n",
375
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1040220088\n",
376
+ "Waiting for 15 seconds before the next request...\n",
377
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1011220023\n",
378
+ "Waiting for 15 seconds before the next request...\n",
379
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220421\n",
380
+ "Waiting for 15 seconds before the next request...\n",
381
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041220065\n",
382
+ "Waiting for 15 seconds before the next request...\n",
383
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2021220022\n",
384
+ "Waiting for 15 seconds before the next request...\n",
385
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1051220093\n",
386
+ "Waiting for 15 seconds before the next request...\n",
387
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220311\n",
388
+ "Waiting for 15 seconds before the next request...\n",
389
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2071220043\n",
390
+ "Waiting for 15 seconds before the next request...\n",
391
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220278\n",
392
+ "Waiting for 15 seconds before the next request...\n",
393
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220276\n",
394
+ "Waiting for 15 seconds before the next request...\n",
395
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs032220240\n",
396
+ "Waiting for 15 seconds before the next request...\n",
397
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220233\n",
398
+ "Waiting for 15 seconds before the next request...\n",
399
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1040220043\n",
400
+ "Waiting for 15 seconds before the next request...\n",
401
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220203\n",
402
+ "Waiting for 15 seconds before the next request...\n",
403
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2033220220\n",
404
+ "Waiting for 15 seconds before the next request...\n",
405
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2041220034\n",
406
+ "Waiting for 15 seconds before the next request...\n",
407
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030220126\n",
408
+ "Waiting for 15 seconds before the next request...\n",
409
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1051220045\n",
410
+ "Waiting for 15 seconds before the next request...\n",
411
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1050220041\n",
412
+ "Waiting for 15 seconds before the next request...\n",
413
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1060220026\n",
414
+ "Waiting for 15 seconds before the next request...\n",
415
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041220024\n",
416
+ "Waiting for 15 seconds before the next request...\n",
417
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041220021\n",
418
+ "Waiting for 15 seconds before the next request...\n",
419
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2033220088\n",
420
+ "Waiting for 15 seconds before the next request...\n",
421
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220060\n",
422
+ "Waiting for 15 seconds before the next request...\n",
423
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs051220019\n",
424
+ "Waiting for 15 seconds before the next request...\n",
425
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1040220010\n",
426
+ "Waiting for 15 seconds before the next request...\n",
427
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2053220006\n",
428
+ "Waiting for 15 seconds before the next request...\n",
429
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1050220005\n",
430
+ "Waiting for 15 seconds before the next request...\n",
431
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030220014\n",
432
+ "Waiting for 15 seconds before the next request...\n",
433
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1031210706\n",
434
+ "Waiting for 15 seconds before the next request...\n",
435
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs051210205\n",
436
+ "Waiting for 15 seconds before the next request...\n",
437
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030210687\n",
438
+ "Waiting for 15 seconds before the next request...\n",
439
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030210672\n",
440
+ "Waiting for 15 seconds before the next request...\n",
441
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs021210075\n",
442
+ "Waiting for 15 seconds before the next request...\n",
443
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031210635\n",
444
+ "Waiting for 15 seconds before the next request...\n",
445
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031210607\n",
446
+ "Waiting for 15 seconds before the next request...\n",
447
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs051210152\n",
448
+ "Waiting for 15 seconds before the next request...\n",
449
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031210530\n",
450
+ "Waiting for 15 seconds before the next request...\n",
451
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2033210499\n",
452
+ "Waiting for 15 seconds before the next request...\n",
453
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2033210469\n",
454
+ "Waiting for 15 seconds before the next request...\n",
455
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041210108\n",
456
+ "Waiting for 15 seconds before the next request...\n",
457
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030210427\n",
458
+ "Waiting for 15 seconds before the next request...\n",
459
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031210426\n",
460
+ "Waiting for 15 seconds before the next request...\n",
461
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031210405\n",
462
+ "Waiting for 15 seconds before the next request...\n",
463
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1010210046\n",
464
+ "Waiting for 15 seconds before the next request...\n",
465
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs071210084\n",
466
+ "Waiting for 15 seconds before the next request...\n",
467
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030210390\n",
468
+ "Waiting for 15 seconds before the next request...\n",
469
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1050210104\n",
470
+ "Waiting for 15 seconds before the next request...\n",
471
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs071210074\n",
472
+ "Waiting for 15 seconds before the next request...\n",
473
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2052210099\n",
474
+ "Waiting for 15 seconds before the next request...\n",
475
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031210300\n",
476
+ "Waiting for 15 seconds before the next request...\n",
477
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031210299\n",
478
+ "Waiting for 15 seconds before the next request...\n",
479
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs032210292\n",
480
+ "Waiting for 15 seconds before the next request...\n",
481
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2033210278\n",
482
+ "Waiting for 15 seconds before the next request...\n",
483
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031210264\n",
484
+ "Waiting for 15 seconds before the next request...\n",
485
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2041210056\n",
486
+ "Waiting for 15 seconds before the next request...\n",
487
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041210053\n",
488
+ "Waiting for 15 seconds before the next request...\n",
489
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs061210028\n",
490
+ "Waiting for 15 seconds before the next request...\n",
491
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2011210025\n",
492
+ "Waiting for 15 seconds before the next request...\n",
493
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2011210020\n",
494
+ "Waiting for 15 seconds before the next request...\n",
495
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041210041\n",
496
+ "Waiting for 15 seconds before the next request...\n",
497
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051210043\n",
498
+ "Waiting for 15 seconds before the next request...\n",
499
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs021210010\n",
500
+ "Waiting for 15 seconds before the next request...\n",
501
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs042210018\n",
502
+ "Waiting for 15 seconds before the next request...\n",
503
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2043210017\n",
504
+ "Waiting for 15 seconds before the next request...\n",
505
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031210072\n",
506
+ "Waiting for 15 seconds before the next request...\n",
507
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041200113\n",
508
+ "Waiting for 15 seconds before the next request...\n",
509
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs062200061\n",
510
+ "Waiting for 15 seconds before the next request...\n",
511
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030200410\n",
512
+ "Waiting for 15 seconds before the next request...\n",
513
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031200384\n",
514
+ "Waiting for 15 seconds before the next request...\n",
515
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1031200386\n",
516
+ "Waiting for 15 seconds before the next request...\n",
517
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs051200121\n",
518
+ "Waiting for 15 seconds before the next request...\n",
519
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031200320\n",
520
+ "Waiting for 15 seconds before the next request...\n",
521
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTc050200107\n",
522
+ "Waiting for 15 seconds before the next request...\n",
523
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2033200278\n",
524
+ "Waiting for 15 seconds before the next request...\n",
525
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1041200082\n",
526
+ "Waiting for 15 seconds before the next request...\n",
527
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051200105\n",
528
+ "Waiting for 15 seconds before the next request...\n",
529
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1062200037\n",
530
+ "Waiting for 15 seconds before the next request...\n",
531
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2071200060\n",
532
+ "Waiting for 15 seconds before the next request...\n",
533
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs062200029\n",
534
+ "Waiting for 15 seconds before the next request...\n",
535
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1052210105\n",
536
+ "Waiting for 15 seconds before the next request...\n",
537
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1052200051\n",
538
+ "Waiting for 15 seconds before the next request...\n",
539
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs071200026\n",
540
+ "Waiting for 15 seconds before the next request...\n",
541
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031200088\n",
542
+ "Waiting for 15 seconds before the next request...\n",
543
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1031200069\n",
544
+ "Waiting for 15 seconds before the next request...\n",
545
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1051200028\n",
546
+ "Waiting for 15 seconds before the next request...\n",
547
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2080225196\n",
548
+ "Waiting for 15 seconds before the next request...\n",
549
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTc030190263\n",
550
+ "Waiting for 15 seconds before the next request...\n",
551
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1020190017\n",
552
+ "Waiting for 15 seconds before the next request...\n",
553
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031190186\n",
554
+ "Waiting for 15 seconds before the next request...\n",
555
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030190169\n",
556
+ "Waiting for 15 seconds before the next request...\n",
557
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031190126\n",
558
+ "Waiting for 15 seconds before the next request...\n",
559
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1031190131\n",
560
+ "Waiting for 15 seconds before the next request...\n",
561
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2033190086\n",
562
+ "Waiting for 15 seconds before the next request...\n",
563
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2080224780\n",
564
+ "Waiting for 15 seconds before the next request...\n",
565
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1031190049\n",
566
+ "Waiting for 15 seconds before the next request...\n",
567
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs071190010\n",
568
+ "Waiting for 15 seconds before the next request...\n",
569
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051190009\n",
570
+ "Waiting for 15 seconds before the next request...\n",
571
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs051190006\n",
572
+ "Waiting for 15 seconds before the next request...\n",
573
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs051180207\n",
574
+ "Waiting for 15 seconds before the next request...\n",
575
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs051180200\n",
576
+ "Waiting for 15 seconds before the next request...\n",
577
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs021180022\n",
578
+ "Waiting for 15 seconds before the next request...\n",
579
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs021180010\n",
580
+ "Waiting for 15 seconds before the next request...\n",
581
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs061180096\n",
582
+ "Waiting for 15 seconds before the next request...\n",
583
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs061180095\n",
584
+ "Waiting for 15 seconds before the next request...\n",
585
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs061180085\n",
586
+ "Waiting for 15 seconds before the next request...\n",
587
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs061180074\n",
588
+ "Waiting for 15 seconds before the next request...\n",
589
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031180170\n",
590
+ "Waiting for 15 seconds before the next request...\n",
591
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1091220410\n",
592
+ "Waiting for 15 seconds before the next request...\n",
593
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031180114\n",
594
+ "Waiting for 15 seconds before the next request...\n",
595
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031180115\n",
596
+ "Waiting for 15 seconds before the next request...\n",
597
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2080224549\n",
598
+ "Waiting for 15 seconds before the next request...\n",
599
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs051180046\n",
600
+ "Waiting for 15 seconds before the next request...\n",
601
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs051180042\n",
602
+ "Waiting for 15 seconds before the next request...\n",
603
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs052180038\n",
604
+ "Waiting for 15 seconds before the next request...\n",
605
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1032180086\n",
606
+ "Waiting for 15 seconds before the next request...\n",
607
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2080224056\n",
608
+ "Waiting for 15 seconds before the next request...\n",
609
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2091220364\n",
610
+ "Waiting for 15 seconds before the next request...\n",
611
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2080223823\n",
612
+ "Waiting for 15 seconds before the next request...\n",
613
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1090220266\n",
614
+ "Waiting for 15 seconds before the next request...\n",
615
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1091220254\n",
616
+ "Waiting for 15 seconds before the next request...\n",
617
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1090220224\n",
618
+ "Waiting for 15 seconds before the next request...\n",
619
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1091220221\n",
620
+ "Waiting for 15 seconds before the next request...\n"
621
+ ]
622
+ }
623
+ ],
624
+ "source": [
625
+ " # jRCT詳細リンクを作成\n",
626
+ "jrct_links = extract_jrct_links(results)\n",
627
+ "\n",
628
+ " # 詳細リンクからデータフレームを作成\n",
629
+ "df = create_dataframe_from_urls(jrct_links,delay=15)"
630
+ ]
631
+ },
632
+ {
633
+ "cell_type": "code",
634
+ "execution_count": 4,
635
+ "metadata": {},
636
+ "outputs": [],
637
+ "source": [
638
+ "# 整列後の DataFrame を作成\n",
639
+ "sorted_df = reorder_columns(df)"
640
+ ]
641
+ },
642
+ {
643
+ "cell_type": "code",
644
+ "execution_count": 5,
645
+ "metadata": {},
646
+ "outputs": [
647
+ {
648
+ "name": "stderr",
649
+ "output_type": "stream",
650
+ "text": [
651
+ "/var/folders/xj/t9whz9_x5g309fn84ql50wrm0000gn/T/ipykernel_94689/3932068550.py:1: SettingWithCopyWarning: \n",
652
+ "A value is trying to be set on a copy of a slice from a DataFrame.\n",
653
+ "Try using .loc[row_indexer,col_indexer] = value instead\n",
654
+ "\n",
655
+ "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
656
+ " sorted_df['JRCT ID'] = [result[0] for result in results]\n",
657
+ "/var/folders/xj/t9whz9_x5g309fn84ql50wrm0000gn/T/ipykernel_94689/3932068550.py:2: SettingWithCopyWarning: \n",
658
+ "A value is trying to be set on a copy of a slice from a DataFrame.\n",
659
+ "Try using .loc[row_indexer,col_indexer] = value instead\n",
660
+ "\n",
661
+ "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
662
+ " sorted_df['Title'] = [result[1] for result in results]\n",
663
+ "/var/folders/xj/t9whz9_x5g309fn84ql50wrm0000gn/T/ipykernel_94689/3932068550.py:3: SettingWithCopyWarning: \n",
664
+ "A value is trying to be set on a copy of a slice from a DataFrame.\n",
665
+ "Try using .loc[row_indexer,col_indexer] = value instead\n",
666
+ "\n",
667
+ "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
668
+ " sorted_df['Target'] = [result[2] for result in results]\n"
669
+ ]
670
+ }
671
+ ],
672
+ "source": [
673
+ "sorted_df['JRCT ID'] = [result[0] for result in results]\n",
674
+ "sorted_df['Title'] = [result[1] for result in results]\n",
675
+ "sorted_df['Target'] = [result[2] for result in results]"
676
+ ]
677
+ },
678
+ {
679
+ "cell_type": "code",
680
+ "execution_count": 6,
681
+ "metadata": {},
682
+ "outputs": [],
683
+ "source": [
684
+ "new_order = [\"JRCT ID\", \"Title\",'Target'] + [col for col in sorted_df.columns if col not in [\"JRCT ID\", \"Title\",'Target']]"
685
+ ]
686
+ },
687
+ {
688
+ "cell_type": "code",
689
+ "execution_count": 7,
690
+ "metadata": {},
691
+ "outputs": [],
692
+ "source": [
693
+ "sorted_df = sorted_df[new_order]"
694
+ ]
695
+ },
696
+ {
697
+ "cell_type": "code",
698
+ "execution_count": 8,
699
+ "metadata": {},
700
+ "outputs": [
701
+ {
702
+ "data": {
703
+ "text/html": [
704
+ "<div>\n",
705
+ "<style scoped>\n",
706
+ " .dataframe tbody tr th:only-of-type {\n",
707
+ " vertical-align: middle;\n",
708
+ " }\n",
709
+ "\n",
710
+ " .dataframe tbody tr th {\n",
711
+ " vertical-align: top;\n",
712
+ " }\n",
713
+ "\n",
714
+ " .dataframe thead th {\n",
715
+ " text-align: right;\n",
716
+ " }\n",
717
+ "</style>\n",
718
+ "<table border=\"1\" class=\"dataframe\">\n",
719
+ " <thead>\n",
720
+ " <tr style=\"text-align: right;\">\n",
721
+ " <th></th>\n",
722
+ " <th>JRCT ID</th>\n",
723
+ " <th>Title</th>\n",
724
+ " <th>Target</th>\n",
725
+ " <th>研究・治験の目的</th>\n",
726
+ " <th>試験の種類</th>\n",
727
+ " <th>無作為化</th>\n",
728
+ " <th>盲検化</th>\n",
729
+ " <th>対照</th>\n",
730
+ " <th>割付け</th>\n",
731
+ " <th>研究目的</th>\n",
732
+ " <th>...</th>\n",
733
+ " <th>purpose</th>\n",
734
+ " <th>Inclusion Criteria</th>\n",
735
+ " <th>Exclusion Criteria</th>\n",
736
+ " <th>Age Minimum</th>\n",
737
+ " <th>Age Maximum</th>\n",
738
+ " <th>Gender</th>\n",
739
+ " <th>Discontinuation Criteria</th>\n",
740
+ " <th>Keyword</th>\n",
741
+ " <th>Intervention(s)</th>\n",
742
+ " <th>Phase</th>\n",
743
+ " </tr>\n",
744
+ " </thead>\n",
745
+ " <tbody>\n",
746
+ " <tr>\n",
747
+ " <th>0</th>\n",
748
+ " <td>jRCT1030240513</td>\n",
749
+ " <td>進行がん患者に対する可聴領域外のハイレゾ自然音源が与える生体情報や癒しの変化を評価する\\n探...</td>\n",
750
+ " <td>がん</td>\n",
751
+ " <td>進行がん患者を対象に、可聴領域外のハイレゾ自然音源を介入とした音楽療法が、無音と比較して、疲...</td>\n",
752
+ " <td>介入研究</td>\n",
753
+ " <td>無作為化比較</td>\n",
754
+ " <td>単盲検</td>\n",
755
+ " <td>プラセボ対照</td>\n",
756
+ " <td>並行群間比較</td>\n",
757
+ " <td>緩和</td>\n",
758
+ " <td>...</td>\n",
759
+ " <td>supportive care</td>\n",
760
+ " <td>Eligible participants must meet the following ...</td>\n",
761
+ " <td>Exclusion criteria apply if any of the followi...</td>\n",
762
+ " <td>18age old over</td>\n",
763
+ " <td>No limit</td>\n",
764
+ " <td></td>\n",
765
+ " <td>NaN</td>\n",
766
+ " <td>cancer,</td>\n",
767
+ " <td>Participants will be exposed to either sounds ...</td>\n",
768
+ " <td>NaN</td>\n",
769
+ " </tr>\n",
770
+ " <tr>\n",
771
+ " <th>1</th>\n",
772
+ " <td>jRCT1032240511</td>\n",
773
+ " <td>進行がん患者の痛みに対する交番磁界治療器の至適な治療時間の条件に関する多施設共同研究</td>\n",
774
+ " <td>がん患者の疼痛</td>\n",
775
+ " <td>交番磁界治療器を用いた自宅での疼痛治療について、進行がん患者が治療の継続が可能と考える治療時...</td>\n",
776
+ " <td>介入研究</td>\n",
777
+ " <td>単一群</td>\n",
778
+ " <td>非盲検</td>\n",
779
+ " <td>非対照</td>\n",
780
+ " <td>単群比較</td>\n",
781
+ " <td>その他</td>\n",
782
+ " <td>...</td>\n",
783
+ " <td>other</td>\n",
784
+ " <td>1. Age 18 years or older on the day of consent...</td>\n",
785
+ " <td>1. There is a skin disorder in the painful are...</td>\n",
786
+ " <td>18age old over</td>\n",
787
+ " <td>No limit</td>\n",
788
+ " <td>Both</td>\n",
789
+ " <td>NaN</td>\n",
790
+ " <td></td>\n",
791
+ " <td>Four pads of the alternating magnetic field th...</td>\n",
792
+ " <td>NaN</td>\n",
793
+ " </tr>\n",
794
+ " <tr>\n",
795
+ " <th>2</th>\n",
796
+ " <td>jRCT1032240506</td>\n",
797
+ " <td>卵巣腫瘍手術での術中低圧換気介入による術中出血量に及ぼす影響:ランダム化比較試験</td>\n",
798
+ " <td>卵巣がん</td>\n",
799
+ " <td>卵巣悪性腫瘍手術は高侵襲な手術であり輸血率の高い手術である。一方で輸血により癌の予後が悪化す...</td>\n",
800
+ " <td>介入研究</td>\n",
801
+ " <td>無作為化比較</td>\n",
802
+ " <td>単盲検</td>\n",
803
+ " <td>実薬(治療)対照</td>\n",
804
+ " <td>並行群間比較</td>\n",
805
+ " <td>治療</td>\n",
806
+ " <td>...</td>\n",
807
+ " <td>treatment purpose</td>\n",
808
+ " <td>Patients undergoing ovarian cancer surgery at ...</td>\n",
809
+ " <td>1.Minors\\n\\r\\n2.Emergency surgery\\n\\r\\n3.Patie...</td>\n",
810
+ " <td>18age old over</td>\n",
811
+ " <td>100age old not</td>\n",
812
+ " <td>Female</td>\n",
813
+ " <td>NaN</td>\n",
814
+ " <td></td>\n",
815
+ " <td>Low-pressure ventilation and low venous pressu...</td>\n",
816
+ " <td>NaN</td>\n",
817
+ " </tr>\n",
818
+ " <tr>\n",
819
+ " <th>3</th>\n",
820
+ " <td>jRCT2041240130</td>\n",
821
+ " <td>中等度-高度PONV発症リスクを有する肺切除術予定患者の周術期管理におけるGranisetr...</td>\n",
822
+ " <td>肺がん</td>\n",
823
+ " <td>全身麻酔を要する肺切除術周術期における標準制吐療法であるグラニセトロン(Granisetro...</td>\n",
824
+ " <td>NaN</td>\n",
825
+ " <td>無作為化比較</td>\n",
826
+ " <td>���盲検</td>\n",
827
+ " <td>無治療対照/標準治療対照</td>\n",
828
+ " <td>並行群間比較</td>\n",
829
+ " <td>治療</td>\n",
830
+ " <td>...</td>\n",
831
+ " <td>treatment purpose</td>\n",
832
+ " <td>(1) Patients scheduled to undergo anatomical l...</td>\n",
833
+ " <td>(1) Patients with a history of allergy to the ...</td>\n",
834
+ " <td>18age old over</td>\n",
835
+ " <td>No limit</td>\n",
836
+ " <td>Both</td>\n",
837
+ " <td>NaN</td>\n",
838
+ " <td></td>\n",
839
+ " <td>Treatment group\\n\\r\\nAdminister GRA 1mg intrav...</td>\n",
840
+ " <td>NaN</td>\n",
841
+ " </tr>\n",
842
+ " <tr>\n",
843
+ " <th>4</th>\n",
844
+ " <td>jRCT2031240500</td>\n",
845
+ " <td>ミスマッチ修復機能欠損(dMMR)又は高頻度マイクロサテライト不安定性(MSI-H)を有する...</td>\n",
846
+ " <td>ミスマッチ修復機能欠損(dMMR)又は高頻度マイクロサテライト不安定性(MSI-H)を有する...</td>\n",
847
+ " <td>固形がんは、体のさまざまな部位に発生する異常な組織の塊である。本治験は、特定の遺伝的特徴を持...</td>\n",
848
+ " <td>NaN</td>\n",
849
+ " <td>単一群</td>\n",
850
+ " <td>非盲検</td>\n",
851
+ " <td>非対照</td>\n",
852
+ " <td>単群比較</td>\n",
853
+ " <td>治療</td>\n",
854
+ " <td>...</td>\n",
855
+ " <td>treatment purpose</td>\n",
856
+ " <td>Parts 1, 2, and 3 inclusion criteria: \\n\\r\\n-H...</td>\n",
857
+ " <td>Parts 1, 2, and 3 exclusion criteria:\\n\\r\\n-Ha...</td>\n",
858
+ " <td>18age old over</td>\n",
859
+ " <td>No limit</td>\n",
860
+ " <td>Both</td>\n",
861
+ " <td>NaN</td>\n",
862
+ " <td></td>\n",
863
+ " <td>Drug: GSK4418959\\n\\r\\nDrug:PD-1 inhibitor</td>\n",
864
+ " <td>NaN</td>\n",
865
+ " </tr>\n",
866
+ " <tr>\n",
867
+ " <th>...</th>\n",
868
+ " <td>...</td>\n",
869
+ " <td>...</td>\n",
870
+ " <td>...</td>\n",
871
+ " <td>...</td>\n",
872
+ " <td>...</td>\n",
873
+ " <td>...</td>\n",
874
+ " <td>...</td>\n",
875
+ " <td>...</td>\n",
876
+ " <td>...</td>\n",
877
+ " <td>...</td>\n",
878
+ " <td>...</td>\n",
879
+ " <td>...</td>\n",
880
+ " <td>...</td>\n",
881
+ " <td>...</td>\n",
882
+ " <td>...</td>\n",
883
+ " <td>...</td>\n",
884
+ " <td>...</td>\n",
885
+ " <td>...</td>\n",
886
+ " <td>...</td>\n",
887
+ " <td>...</td>\n",
888
+ " <td>...</td>\n",
889
+ " </tr>\n",
890
+ " <tr>\n",
891
+ " <th>282</th>\n",
892
+ " <td>jRCT2080223823</td>\n",
893
+ " <td>固形がん患者を対象としたE7130 の臨床第1相試験</td>\n",
894
+ " <td>Part1:固形がん\\nPart2:頭頸部がん,尿路上皮がん</td>\n",
895
+ " <td>NaN</td>\n",
896
+ " <td>介入研究</td>\n",
897
+ " <td>NaN</td>\n",
898
+ " <td>NaN</td>\n",
899
+ " <td>NaN</td>\n",
900
+ " <td>NaN</td>\n",
901
+ " <td>NaN</td>\n",
902
+ " <td>...</td>\n",
903
+ " <td>NaN</td>\n",
904
+ " <td>NaN</td>\n",
905
+ " <td>NaN</td>\n",
906
+ " <td>NaN</td>\n",
907
+ " <td>NaN</td>\n",
908
+ " <td>&lt;p&gt;Both&lt;/p&gt;</td>\n",
909
+ " <td>NaN</td>\n",
910
+ " <td></td>\n",
911
+ " <td>investigational material(s)&lt;br&gt;\\nGeneric name ...</td>\n",
912
+ " <td>NaN</td>\n",
913
+ " </tr>\n",
914
+ " <tr>\n",
915
+ " <th>283</th>\n",
916
+ " <td>jRCT1090220266</td>\n",
917
+ " <td>肺がん手術患者に対する運動療法とBCAA摂取の併用効果の検討</td>\n",
918
+ " <td>肺がん</td>\n",
919
+ " <td>NaN</td>\n",
920
+ " <td>NaN</td>\n",
921
+ " <td>NaN</td>\n",
922
+ " <td>非盲検</td>\n",
923
+ " <td>実薬(治療)対照</td>\n",
924
+ " <td>なし</td>\n",
925
+ " <td>NaN</td>\n",
926
+ " <td>...</td>\n",
927
+ " <td>NaN</td>\n",
928
+ " <td>NaN</td>\n",
929
+ " <td>NaN</td>\n",
930
+ " <td>Age Month Week Day Hour</td>\n",
931
+ " <td>Age Month Week Day Hour No limit</td>\n",
932
+ " <td>Both</td>\n",
933
+ " <td>NaN</td>\n",
934
+ " <td></td>\n",
935
+ " <td>Intervention type:BEHAVIOUR\\n\\nName of interve...</td>\n",
936
+ " <td>NaN</td>\n",
937
+ " </tr>\n",
938
+ " <tr>\n",
939
+ " <th>284</th>\n",
940
+ " <td>jRCT1091220254</td>\n",
941
+ " <td>肺動静脈分離3D-CT angiographyにおけるヨード造影剤量低減の検討</td>\n",
942
+ " <td>肺がん</td>\n",
943
+ " <td>NaN</td>\n",
944
+ " <td>NaN</td>\n",
945
+ " <td>NaN</td>\n",
946
+ " <td>単盲検</td>\n",
947
+ " <td>用量比較</td>\n",
948
+ " <td>あり</td>\n",
949
+ " <td>NaN</td>\n",
950
+ " <td>...</td>\n",
951
+ " <td>NaN</td>\n",
952
+ " <td>NaN</td>\n",
953
+ " <td>NaN</td>\n",
954
+ " <td>Age Month Week Day Hour No limit</td>\n",
955
+ " <td>Age Month Week Day Hour No limit</td>\n",
956
+ " <td>Both</td>\n",
957
+ " <td>NaN</td>\n",
958
+ " <td></td>\n",
959
+ " <td>Intervention type:DRUG\\n\\nName of intervention...</td>\n",
960
+ " <td>NaN</td>\n",
961
+ " </tr>\n",
962
+ " <tr>\n",
963
+ " <th>285</th>\n",
964
+ " <td>jRCT1090220224</td>\n",
965
+ " <td>体幹部神経ブロック後のレボブピバカインの血中濃度の変化</td>\n",
966
+ " <td>下腹部消化器がん</td>\n",
967
+ " <td>NaN</td>\n",
968
+ " <td>NaN</td>\n",
969
+ " <td>NaN</td>\n",
970
+ " <td>非盲検</td>\n",
971
+ " <td>無対照</td>\n",
972
+ " <td></td>\n",
973
+ " <td>NaN</td>\n",
974
+ " <td>...</td>\n",
975
+ " <td>NaN</td>\n",
976
+ " <td>NaN</td>\n",
977
+ " <td>NaN</td>\n",
978
+ " <td>20Age Month Week Day Hour over</td>\n",
979
+ " <td>Age Month Week Day Hour No limit</td>\n",
980
+ " <td>Both</td>\n",
981
+ " <td>NaN</td>\n",
982
+ " <td></td>\n",
983
+ " <td>Intervention type:\\n\\nName of intervention:\\n\\...</td>\n",
984
+ " <td>NaN</td>\n",
985
+ " </tr>\n",
986
+ " <tr>\n",
987
+ " <th>286</th>\n",
988
+ " <td>jRCT1091220221</td>\n",
989
+ " <td>ヨード造影剤と生理食塩水の混合溶液を用いたtest injectionによる混合割合と造影効...</td>\n",
990
+ " <td>肺がん</td>\n",
991
+ " <td>NaN</td>\n",
992
+ " <td>NaN</td>\n",
993
+ " <td>NaN</td>\n",
994
+ " <td>非盲検</td>\n",
995
+ " <td>無対照</td>\n",
996
+ " <td>なし</td>\n",
997
+ " <td>NaN</td>\n",
998
+ " <td>...</td>\n",
999
+ " <td>NaN</td>\n",
1000
+ " <td>NaN</td>\n",
1001
+ " <td>NaN</td>\n",
1002
+ " <td>Age Month Week Day Hour No limit</td>\n",
1003
+ " <td>Age Month Week Day Hour No limit</td>\n",
1004
+ " <td>Both</td>\n",
1005
+ " <td>NaN</td>\n",
1006
+ " <td></td>\n",
1007
+ " <td>Intervention type:DRUG\\n\\nName of intervention...</td>\n",
1008
+ " <td>NaN</td>\n",
1009
+ " </tr>\n",
1010
+ " </tbody>\n",
1011
+ "</table>\n",
1012
+ "<p>287 rows × 35 columns</p>\n",
1013
+ "</div>"
1014
+ ],
1015
+ "text/plain": [
1016
+ " JRCT ID Title \\\n",
1017
+ "0 jRCT1030240513 進行がん患者に対する可聴領域外のハイレゾ自然音源が与える生体情報や癒しの変化を評価する\\n探... \n",
1018
+ "1 jRCT1032240511 進行がん患者の痛みに対する交番磁界治療器の至適な治療時間の条件に関する多施設共同研究 \n",
1019
+ "2 jRCT1032240506 卵巣腫瘍手術での術中低圧換気介入による術中出血量に及ぼす影響:ランダム化比較試験 \n",
1020
+ "3 jRCT2041240130 中等度-高度PONV発症リスクを有する肺切除術予定患者の周術期管理におけるGranisetr... \n",
1021
+ "4 jRCT2031240500 ミスマッチ修復機能欠損(dMMR)又は高頻度マイクロサテライト不安定性(MSI-H)を有する... \n",
1022
+ ".. ... ... \n",
1023
+ "282 jRCT2080223823 固形がん患者を対象としたE7130 の臨床第1相試験 \n",
1024
+ "283 jRCT1090220266 肺がん手術患者に対する運動療法とBCAA摂取の併用効果の検討 \n",
1025
+ "284 jRCT1091220254 肺動静脈分離3D-CT angiographyにおけるヨード造影剤量低減の検討 \n",
1026
+ "285 jRCT1090220224 体幹部神経ブロック後のレボブピバカインの血中濃度の変化 \n",
1027
+ "286 jRCT1091220221 ヨード造影剤と生理食塩水の混合溶液を用いたtest injectionによる混合割合と造影効... \n",
1028
+ "\n",
1029
+ " Target \\\n",
1030
+ "0 がん \n",
1031
+ "1 がん患者の疼痛 \n",
1032
+ "2 卵巣がん \n",
1033
+ "3 肺がん \n",
1034
+ "4 ミスマッチ修復機能欠損(dMMR)又は高頻度マイクロサテライト不安定性(MSI-H)を有する... \n",
1035
+ ".. ... \n",
1036
+ "282 Part1:固形がん\\nPart2:頭頸部がん,尿路上皮がん \n",
1037
+ "283 肺がん \n",
1038
+ "284 肺がん \n",
1039
+ "285 下腹部消化器がん \n",
1040
+ "286 肺がん \n",
1041
+ "\n",
1042
+ " 研究・治験の目的 試験の種類 無作為化 盲検化 \\\n",
1043
+ "0 進行がん患者を対象に、可聴領域外のハイレゾ自然音源を介入とした音楽療法が、無音と比較して、疲... 介入研究 無作為化比較 単盲検 \n",
1044
+ "1 交番磁界治療器を用いた自宅での疼痛治療について、進行がん患者が治療の継続が可能と考える治療時... 介入研究 単一群 非盲検 \n",
1045
+ "2 卵巣悪性腫瘍手術は高侵襲な手術であり輸血率の高い手術である。一方で輸血により癌の予後が悪化す... 介入研究 無作為化比較 単盲検 \n",
1046
+ "3 全身麻酔を要する肺切除術周術期における標準制吐療法であるグラニセトロン(Granisetro... NaN 無作為化比較 非盲検 \n",
1047
+ "4 固形がんは、体のさまざまな部位に発生する異常な組織の塊である。本治験は、特定の遺伝的特徴を持... NaN 単一群 非盲検 \n",
1048
+ ".. ... ... ... ... \n",
1049
+ "282 NaN 介入研究 NaN NaN \n",
1050
+ "283 NaN NaN NaN 非盲検 \n",
1051
+ "284 NaN NaN NaN 単盲検 \n",
1052
+ "285 NaN NaN NaN 非盲検 \n",
1053
+ "286 NaN NaN NaN 非盲検 \n",
1054
+ "\n",
1055
+ " 対照 割付け 研究目的 ... purpose \\\n",
1056
+ "0 プラセボ対照 並行群間比較 緩和 ... supportive care \n",
1057
+ "1 非対照 単群比較 その他 ... other \n",
1058
+ "2 実薬(治療)対照 並行群間比較 治療 ... treatment purpose \n",
1059
+ "3 無治療対照/標準治療対照 並行群間比較 治療 ... treatment purpose \n",
1060
+ "4 非対照 単群比較 治療 ... treatment purpose \n",
1061
+ ".. ... ... ... ... ... \n",
1062
+ "282 NaN NaN NaN ... NaN \n",
1063
+ "283 実薬(治療)対照 なし NaN ... NaN \n",
1064
+ "284 用量比較 あり NaN ... NaN \n",
1065
+ "285 無対照 NaN ... NaN \n",
1066
+ "286 無対照 なし NaN ... NaN \n",
1067
+ "\n",
1068
+ " Inclusion Criteria \\\n",
1069
+ "0 Eligible participants must meet the following ... \n",
1070
+ "1 1. Age 18 years or older on the day of consent... \n",
1071
+ "2 Patients undergoing ovarian cancer surgery at ... \n",
1072
+ "3 (1) Patients scheduled to undergo anatomical l... \n",
1073
+ "4 Parts 1, 2, and 3 inclusion criteria: \\n\\r\\n-H... \n",
1074
+ ".. ... \n",
1075
+ "282 NaN \n",
1076
+ "283 NaN \n",
1077
+ "284 NaN \n",
1078
+ "285 NaN \n",
1079
+ "286 NaN \n",
1080
+ "\n",
1081
+ " Exclusion Criteria \\\n",
1082
+ "0 Exclusion criteria apply if any of the followi... \n",
1083
+ "1 1. There is a skin disorder in the painful are... \n",
1084
+ "2 1.Minors\\n\\r\\n2.Emergency surgery\\n\\r\\n3.Patie... \n",
1085
+ "3 (1) Patients with a history of allergy to the ... \n",
1086
+ "4 Parts 1, 2, and 3 exclusion criteria:\\n\\r\\n-Ha... \n",
1087
+ ".. ... \n",
1088
+ "282 NaN \n",
1089
+ "283 NaN \n",
1090
+ "284 NaN \n",
1091
+ "285 NaN \n",
1092
+ "286 NaN \n",
1093
+ "\n",
1094
+ " Age Minimum Age Maximum \\\n",
1095
+ "0 18age old over No limit \n",
1096
+ "1 18age old over No limit \n",
1097
+ "2 18age old over 100age old not \n",
1098
+ "3 18age old over No limit \n",
1099
+ "4 18age old over No limit \n",
1100
+ ".. ... ... \n",
1101
+ "282 NaN NaN \n",
1102
+ "283 Age Month Week Day Hour Age Month Week Day Hour No limit \n",
1103
+ "284 Age Month Week Day Hour No limit Age Month Week Day Hour No limit \n",
1104
+ "285 20Age Month Week Day Hour over Age Month Week Day Hour No limit \n",
1105
+ "286 Age Month Week Day Hour No limit Age Month Week Day Hour No limit \n",
1106
+ "\n",
1107
+ " Gender Discontinuation Criteria Keyword \\\n",
1108
+ "0 NaN cancer, \n",
1109
+ "1 Both NaN \n",
1110
+ "2 Female NaN \n",
1111
+ "3 Both NaN \n",
1112
+ "4 Both NaN \n",
1113
+ ".. ... ... ... \n",
1114
+ "282 <p>Both</p> NaN \n",
1115
+ "283 Both NaN \n",
1116
+ "284 Both NaN \n",
1117
+ "285 Both NaN \n",
1118
+ "286 Both NaN \n",
1119
+ "\n",
1120
+ " Intervention(s) Phase \n",
1121
+ "0 Participants will be exposed to either sounds ... NaN \n",
1122
+ "1 Four pads of the alternating magnetic field th... NaN \n",
1123
+ "2 Low-pressure ventilation and low venous pressu... NaN \n",
1124
+ "3 Treatment group\\n\\r\\nAdminister GRA 1mg intrav... NaN \n",
1125
+ "4 Drug: GSK4418959\\n\\r\\nDrug:PD-1 inhibitor NaN \n",
1126
+ ".. ... ... \n",
1127
+ "282 investigational material(s)<br>\\nGeneric name ... NaN \n",
1128
+ "283 Intervention type:BEHAVIOUR\\n\\nName of interve... NaN \n",
1129
+ "284 Intervention type:DRUG\\n\\nName of intervention... NaN \n",
1130
+ "285 Intervention type:\\n\\nName of intervention:\\n\\... NaN \n",
1131
+ "286 Intervention type:DRUG\\n\\nName of intervention... NaN \n",
1132
+ "\n",
1133
+ "[287 rows x 35 columns]"
1134
+ ]
1135
+ },
1136
+ "execution_count": 8,
1137
+ "metadata": {},
1138
+ "output_type": "execute_result"
1139
+ }
1140
+ ],
1141
+ "source": [
1142
+ "sorted_df"
1143
+ ]
1144
+ },
1145
+ {
1146
+ "cell_type": "code",
1147
+ "execution_count": 9,
1148
+ "metadata": {},
1149
+ "outputs": [],
1150
+ "source": [
1151
+ "sorted_df.to_csv('../JRCT20241129Cancer.csv')"
1152
+ ]
1153
+ },
1154
+ {
1155
+ "cell_type": "code",
1156
+ "execution_count": null,
1157
+ "metadata": {},
1158
+ "outputs": [],
1159
+ "source": []
1160
+ }
1161
+ ],
1162
+ "metadata": {
1163
+ "kernelspec": {
1164
+ "display_name": "gradio",
1165
+ "language": "python",
1166
+ "name": "python3"
1167
+ },
1168
+ "language_info": {
1169
+ "codemirror_mode": {
1170
+ "name": "ipython",
1171
+ "version": 3
1172
+ },
1173
+ "file_extension": ".py",
1174
+ "mimetype": "text/x-python",
1175
+ "name": "python",
1176
+ "nbconvert_exporter": "python",
1177
+ "pygments_lexer": "ipython3",
1178
+ "version": "3.12.3"
1179
+ }
1180
+ },
1181
+ "nbformat": 4,
1182
+ "nbformat_minor": 2
1183
+ }
dev_JRCT_api/202041130JRCTCSV.ipynb ADDED
@@ -0,0 +1,1292 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": 1,
6
+ "metadata": {},
7
+ "outputs": [],
8
+ "source": [
9
+ "import pandas as pd\n",
10
+ "from OpenAITools.JRCTTools import fetch_clinical_trials, extract_jrct_links, create_dataframe_from_urls, reorder_columns"
11
+ ]
12
+ },
13
+ {
14
+ "cell_type": "code",
15
+ "execution_count": 2,
16
+ "metadata": {},
17
+ "outputs": [
18
+ {
19
+ "name": "stdout",
20
+ "output_type": "stream",
21
+ "text": [
22
+ "1 ページ目を処理しました。\n",
23
+ "2 ページ目を処理しました。\n",
24
+ "3 ページ目を処理しました。\n",
25
+ "4 ページ目を処理しました。\n",
26
+ "5 ページ目を処理しました。\n",
27
+ "6 ページ目を処理しました。\n",
28
+ "7 ページ目を処理しました。\n",
29
+ "次のページはありません。全ての結果を取得しました。\n"
30
+ ]
31
+ }
32
+ ],
33
+ "source": [
34
+ "# fetch_clinical_trialsを使って検索結果を取得\n",
35
+ "results = fetch_clinical_trials(disease_name=\"がん 神経膠腫 骨髄腫 黒色腫 肉腫 間質腫瘍 膠芽腫 内分泌腫瘍 パジェット ラブドイド\", freeword=\"\",include_not_yet_recruiting=True)"
36
+ ]
37
+ },
38
+ {
39
+ "cell_type": "code",
40
+ "execution_count": 3,
41
+ "metadata": {},
42
+ "outputs": [
43
+ {
44
+ "name": "stdout",
45
+ "output_type": "stream",
46
+ "text": [
47
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030240513\n",
48
+ "Waiting for 15 seconds before the next request...\n",
49
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1032240511\n",
50
+ "Waiting for 15 seconds before the next request...\n",
51
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1032240506\n",
52
+ "Waiting for 15 seconds before the next request...\n",
53
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2041240130\n",
54
+ "Waiting for 15 seconds before the next request...\n",
55
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240500\n",
56
+ "Waiting for 15 seconds before the next request...\n",
57
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1042240125\n",
58
+ "Waiting for 15 seconds before the next request...\n",
59
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1052240186\n",
60
+ "Waiting for 15 seconds before the next request...\n",
61
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1060240085\n",
62
+ "Waiting for 15 seconds before the next request...\n",
63
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030240477\n",
64
+ "Waiting for 15 seconds before the next request...\n",
65
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs011240047\n",
66
+ "Waiting for 15 seconds before the next request...\n",
67
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240448\n",
68
+ "Waiting for 15 seconds before the next request...\n",
69
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030240441\n",
70
+ "Waiting for 15 seconds before the next request...\n",
71
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030240433\n",
72
+ "Waiting for 15 seconds before the next request...\n",
73
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240404\n",
74
+ "Waiting for 15 seconds before the next request...\n",
75
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240381\n",
76
+ "Waiting for 15 seconds before the next request...\n",
77
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs061240064\n",
78
+ "Waiting for 15 seconds before the next request...\n",
79
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051240150\n",
80
+ "Waiting for 15 seconds before the next request...\n",
81
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051240141\n",
82
+ "Waiting for 15 seconds before the next request...\n",
83
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1050240136\n",
84
+ "Waiting for 15 seconds before the next request...\n",
85
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1040240090\n",
86
+ "Waiting for 15 seconds before the next request...\n",
87
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs071240060\n",
88
+ "Waiting for 15 seconds before the next request...\n",
89
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051240129\n",
90
+ "Waiting for 15 seconds before the next request...\n",
91
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2061240057\n",
92
+ "Waiting for 15 seconds before the next request...\n",
93
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240335\n",
94
+ "Waiting for 15 seconds before the next request...\n",
95
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051240121\n",
96
+ "Waiting for 15 seconds before the next request...\n",
97
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2061240051\n",
98
+ "Waiting for 15 seconds before the next request...\n",
99
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240313\n",
100
+ "Waiting for 15 seconds before the next request...\n",
101
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs061240049\n",
102
+ "Waiting for 15 seconds before the next request...\n",
103
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051240119\n",
104
+ "Waiting for 15 seconds before the next request...\n",
105
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240303\n",
106
+ "Waiting for 15 seconds before the next request...\n",
107
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1031240297\n",
108
+ "Waiting for 15 seconds before the next request...\n",
109
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240279\n",
110
+ "Waiting for 15 seconds before the next request...\n",
111
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1042240073\n",
112
+ "Waiting for 15 seconds before the next request...\n",
113
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030240280\n",
114
+ "Waiting for 15 seconds before the next request...\n",
115
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1032240277\n",
116
+ "Waiting for 15 seconds before the next request...\n",
117
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240272\n",
118
+ "Waiting for 15 seconds before the next request...\n",
119
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240261\n",
120
+ "Waiting for 15 seconds before the next request...\n",
121
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031240258\n",
122
+ "Waiting for 15 seconds before the next request...\n",
123
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240248\n",
124
+ "Waiting for 15 seconds before the next request...\n",
125
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1031240239\n",
126
+ "Waiting for 15 seconds before the next request...\n",
127
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240229\n",
128
+ "Waiting for 15 seconds before the next request...\n",
129
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1051240096\n",
130
+ "Waiting for 15 seconds before the next request...\n",
131
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031240220\n",
132
+ "Waiting for 15 seconds before the next request...\n",
133
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240219\n",
134
+ "Waiting for 15 seconds before the next request...\n",
135
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2041240056\n",
136
+ "Waiting for 15 seconds before the next request...\n",
137
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2061240032\n",
138
+ "Waiting for 15 seconds before the next request...\n",
139
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030240215\n",
140
+ "Waiting for 15 seconds before the next request...\n",
141
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240210\n",
142
+ "Waiting for 15 seconds before the next request...\n",
143
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1011240022\n",
144
+ "Waiting for 15 seconds before the next request...\n",
145
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2021240013\n",
146
+ "Waiting for 15 seconds before the next request...\n",
147
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051240071\n",
148
+ "Waiting for 15 seconds before the next request...\n",
149
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTc030240165\n",
150
+ "Waiting for 15 seconds before the next request...\n",
151
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs021240010\n",
152
+ "Waiting for 15 seconds before the next request...\n",
153
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030240152\n",
154
+ "Waiting for 15 seconds before the next request...\n",
155
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2052240059\n",
156
+ "Waiting for 15 seconds before the next request...\n",
157
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1031240153\n",
158
+ "Waiting for 15 seconds before the next request...\n",
159
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2071240020\n",
160
+ "Waiting for 15 seconds before the next request...\n",
161
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs061240019\n",
162
+ "Waiting for 15 seconds before the next request...\n",
163
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030240137\n",
164
+ "Waiting for 15 seconds before the next request...\n",
165
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030240131\n",
166
+ "Waiting for 15 seconds before the next request...\n",
167
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240090\n",
168
+ "Waiting for 15 seconds before the next request...\n",
169
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240083\n",
170
+ "Waiting for 15 seconds before the next request...\n",
171
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1052240029\n",
172
+ "Waiting for 15 seconds before the next request...\n",
173
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1042240023\n",
174
+ "Waiting for 15 seconds before the next request...\n",
175
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240065\n",
176
+ "Waiting for 15 seconds before the next request...\n",
177
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1031240063\n",
178
+ "Waiting for 15 seconds before the next request...\n",
179
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240057\n",
180
+ "Waiting for 15 seconds before the next request...\n",
181
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs032240033\n",
182
+ "Waiting for 15 seconds before the next request...\n",
183
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240026\n",
184
+ "Waiting for 15 seconds before the next request...\n",
185
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1051240009\n",
186
+ "Waiting for 15 seconds before the next request...\n",
187
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1052240008\n",
188
+ "Waiting for 15 seconds before the next request...\n",
189
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2033240023\n",
190
+ "Waiting for 15 seconds before the next request...\n",
191
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240016\n",
192
+ "Waiting for 15 seconds before the next request...\n",
193
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240014\n",
194
+ "Waiting for 15 seconds before the next request...\n",
195
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2041240003\n",
196
+ "Waiting for 15 seconds before the next request...\n",
197
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230747\n",
198
+ "Waiting for 15 seconds before the next request...\n",
199
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1040230173\n",
200
+ "Waiting for 15 seconds before the next request...\n",
201
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2041230169\n",
202
+ "Waiting for 15 seconds before the next request...\n",
203
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230693\n",
204
+ "Waiting for 15 seconds before the next request...\n",
205
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230688\n",
206
+ "Waiting for 15 seconds before the next request...\n",
207
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031230682\n",
208
+ "Waiting for 15 seconds before the next request...\n",
209
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2011230059\n",
210
+ "Waiting for 15 seconds before the next request...\n",
211
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230660\n",
212
+ "Waiting for 15 seconds before the next request...\n",
213
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230637\n",
214
+ "Waiting for 15 seconds before the next request...\n",
215
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230640\n",
216
+ "Waiting for 15 seconds before the next request...\n",
217
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2071230114\n",
218
+ "Waiting for 15 seconds before the next request...\n",
219
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230608\n",
220
+ "Waiting for 15 seconds before the next request...\n",
221
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031230606\n",
222
+ "Waiting for 15 seconds before the next request...\n",
223
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2021230055\n",
224
+ "Waiting for 15 seconds before the next request...\n",
225
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTc031230593\n",
226
+ "Waiting for 15 seconds before the next request...\n",
227
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2041230141\n",
228
+ "Waiting for 15 seconds before the next request...\n",
229
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2041230136\n",
230
+ "Waiting for 15 seconds before the next request...\n",
231
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230577\n",
232
+ "Waiting for 15 seconds before the next request...\n",
233
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2032230554\n",
234
+ "Waiting for 15 seconds before the next request...\n",
235
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs032230540\n",
236
+ "Waiting for 15 seconds before the next request...\n",
237
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230532\n",
238
+ "Waiting for 15 seconds before the next request...\n",
239
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2061230084\n",
240
+ "Waiting for 15 seconds before the next request...\n",
241
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs051230150\n",
242
+ "Waiting for 15 seconds before the next request...\n",
243
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230531\n",
244
+ "Waiting for 15 seconds before the next request...\n",
245
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030230529\n",
246
+ "Waiting for 15 seconds before the next request...\n",
247
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051230147\n",
248
+ "Waiting for 15 seconds before the next request...\n",
249
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230510\n",
250
+ "Waiting for 15 seconds before the next request...\n",
251
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230511\n",
252
+ "Waiting for 15 seconds before the next request...\n",
253
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1032230493\n",
254
+ "Waiting for 15 seconds before the next request...\n",
255
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1032230494\n",
256
+ "Waiting for 15 seconds before the next request...\n",
257
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2071230097\n",
258
+ "Waiting for 15 seconds before the next request...\n",
259
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs042230112\n",
260
+ "Waiting for 15 seconds before the next request...\n",
261
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031230482\n",
262
+ "Waiting for 15 seconds before the next request...\n",
263
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2071230095\n",
264
+ "Waiting for 15 seconds before the next request...\n",
265
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2011230049\n",
266
+ "Waiting for 15 seconds before the next request...\n",
267
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1020230039\n",
268
+ "Waiting for 15 seconds before the next request...\n",
269
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041230106\n",
270
+ "Waiting for 15 seconds before the next request...\n",
271
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2072230089\n",
272
+ "Waiting for 15 seconds before the next request...\n",
273
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2061230074\n",
274
+ "Waiting for 15 seconds before the next request...\n",
275
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230429\n",
276
+ "Waiting for 15 seconds before the next request...\n",
277
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230410\n",
278
+ "Waiting for 15 seconds before the next request...\n",
279
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1032230396\n",
280
+ "Waiting for 15 seconds before the next request...\n",
281
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051230108\n",
282
+ "Waiting for 15 seconds before the next request...\n",
283
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230372\n",
284
+ "Waiting for 15 seconds before the next request...\n",
285
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230360\n",
286
+ "Waiting for 15 seconds before the next request...\n",
287
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230356\n",
288
+ "Waiting for 15 seconds before the next request...\n",
289
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230319\n",
290
+ "Waiting for 15 seconds before the next request...\n",
291
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030230315\n",
292
+ "Waiting for 15 seconds before the next request...\n",
293
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230311\n",
294
+ "Waiting for 15 seconds before the next request...\n",
295
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2033230299\n",
296
+ "Waiting for 15 seconds before the next request...\n",
297
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1050230086\n",
298
+ "Waiting for 15 seconds before the next request...\n",
299
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1012230030\n",
300
+ "Waiting for 15 seconds before the next request...\n",
301
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030230265\n",
302
+ "Waiting for 15 seconds before the next request...\n",
303
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230249\n",
304
+ "Waiting for 15 seconds before the next request...\n",
305
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030230246\n",
306
+ "Waiting for 15 seconds before the next request...\n",
307
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1031230245\n",
308
+ "Waiting for 15 seconds before the next request...\n",
309
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051230069\n",
310
+ "Waiting for 15 seconds before the next request...\n",
311
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2021230016\n",
312
+ "Waiting for 15 seconds before the next request...\n",
313
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230234\n",
314
+ "Waiting for 15 seconds before the next request...\n",
315
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230223\n",
316
+ "Waiting for 15 seconds before the next request...\n",
317
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051230065\n",
318
+ "Waiting for 15 seconds before the next request...\n",
319
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030230130\n",
320
+ "Waiting for 15 seconds before the next request...\n",
321
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031230127\n",
322
+ "Waiting for 15 seconds before the next request...\n",
323
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230098\n",
324
+ "Waiting for 15 seconds before the next request...\n",
325
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230090\n",
326
+ "Waiting for 15 seconds before the next request...\n",
327
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230096\n",
328
+ "Waiting for 15 seconds before the next request...\n",
329
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1040230027\n",
330
+ "Waiting for 15 seconds before the next request...\n",
331
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230093\n",
332
+ "Waiting for 15 seconds before the next request...\n",
333
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230088\n",
334
+ "Waiting for 15 seconds before the next request...\n",
335
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230087\n",
336
+ "Waiting for 15 seconds before the next request...\n",
337
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs062230014\n",
338
+ "Waiting for 15 seconds before the next request...\n",
339
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2032230060\n",
340
+ "Waiting for 15 seconds before the next request...\n",
341
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2061230009\n",
342
+ "Waiting for 15 seconds before the next request...\n",
343
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041230007\n",
344
+ "Waiting for 15 seconds before the next request...\n",
345
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031230018\n",
346
+ "Waiting for 15 seconds before the next request...\n",
347
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1070230005\n",
348
+ "Waiting for 15 seconds before the next request...\n",
349
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230009\n",
350
+ "Waiting for 15 seconds before the next request...\n",
351
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031230007\n",
352
+ "Waiting for 15 seconds before the next request...\n",
353
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs032220746\n",
354
+ "Waiting for 15 seconds before the next request...\n",
355
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTa030220741\n",
356
+ "Waiting for 15 seconds before the next request...\n",
357
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs061220113\n",
358
+ "Waiting for 15 seconds before the next request...\n",
359
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220738\n",
360
+ "Waiting for 15 seconds before the next request...\n",
361
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220716\n",
362
+ "Waiting for 15 seconds before the next request...\n",
363
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs052220194\n",
364
+ "Waiting for 15 seconds before the next request...\n",
365
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220703\n",
366
+ "Waiting for 15 seconds before the next request...\n",
367
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2041220160\n",
368
+ "Waiting for 15 seconds before the next request...\n",
369
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041220157\n",
370
+ "Waiting for 15 seconds before the next request...\n",
371
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220675\n",
372
+ "Waiting for 15 seconds before the next request...\n",
373
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051220176\n",
374
+ "Waiting for 15 seconds before the next request...\n",
375
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs032220618\n",
376
+ "Waiting for 15 seconds before the next request...\n",
377
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs032220609\n",
378
+ "Waiting for 15 seconds before the next request...\n",
379
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2053220159\n",
380
+ "Waiting for 15 seconds before the next request...\n",
381
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030220594\n",
382
+ "Waiting for 15 seconds before the next request...\n",
383
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2041220125\n",
384
+ "Waiting for 15 seconds before the next request...\n",
385
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220581\n",
386
+ "Waiting for 15 seconds before the next request...\n",
387
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031220569\n",
388
+ "Waiting for 15 seconds before the next request...\n",
389
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1032220561\n",
390
+ "Waiting for 15 seconds before the next request...\n",
391
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2021220036\n",
392
+ "Waiting for 15 seconds before the next request...\n",
393
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030220526\n",
394
+ "Waiting for 15 seconds before the next request...\n",
395
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041220102\n",
396
+ "Waiting for 15 seconds before the next request...\n",
397
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030220495\n",
398
+ "Waiting for 15 seconds before the next request...\n",
399
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220477\n",
400
+ "Waiting for 15 seconds before the next request...\n",
401
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2063220071\n",
402
+ "Waiting for 15 seconds before the next request...\n",
403
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031220446\n",
404
+ "Waiting for 15 seconds before the next request...\n",
405
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1040220088\n",
406
+ "Waiting for 15 seconds before the next request...\n",
407
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1011220023\n",
408
+ "Waiting for 15 seconds before the next request...\n",
409
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2011220022\n",
410
+ "Waiting for 15 seconds before the next request...\n",
411
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220421\n",
412
+ "Waiting for 15 seconds before the next request...\n",
413
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041220065\n",
414
+ "Waiting for 15 seconds before the next request...\n",
415
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2021220022\n",
416
+ "Waiting for 15 seconds before the next request...\n",
417
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1051220093\n",
418
+ "Waiting for 15 seconds before the next request...\n",
419
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220311\n",
420
+ "Waiting for 15 seconds before the next request...\n",
421
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2071220043\n",
422
+ "Waiting for 15 seconds before the next request...\n",
423
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220278\n",
424
+ "Waiting for 15 seconds before the next request...\n",
425
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220276\n",
426
+ "Waiting for 15 seconds before the next request...\n",
427
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs032220240\n",
428
+ "Waiting for 15 seconds before the next request...\n",
429
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220233\n",
430
+ "Waiting for 15 seconds before the next request...\n",
431
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1040220043\n",
432
+ "Waiting for 15 seconds before the next request...\n",
433
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220203\n",
434
+ "Waiting for 15 seconds before the next request...\n",
435
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2033220220\n",
436
+ "Waiting for 15 seconds before the next request...\n",
437
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2041220034\n",
438
+ "Waiting for 15 seconds before the next request...\n",
439
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030220126\n",
440
+ "Waiting for 15 seconds before the next request...\n",
441
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1051220045\n",
442
+ "Waiting for 15 seconds before the next request...\n",
443
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1050220041\n",
444
+ "Waiting for 15 seconds before the next request...\n",
445
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1060220026\n",
446
+ "Waiting for 15 seconds before the next request...\n",
447
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041220024\n",
448
+ "Waiting for 15 seconds before the next request...\n",
449
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031220099\n",
450
+ "Waiting for 15 seconds before the next request...\n",
451
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041220021\n",
452
+ "Waiting for 15 seconds before the next request...\n",
453
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2033220088\n",
454
+ "Waiting for 15 seconds before the next request...\n",
455
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031220060\n",
456
+ "Waiting for 15 seconds before the next request...\n",
457
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs052220021\n",
458
+ "Waiting for 15 seconds before the next request...\n",
459
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs051220019\n",
460
+ "Waiting for 15 seconds before the next request...\n",
461
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1040220010\n",
462
+ "Waiting for 15 seconds before the next request...\n",
463
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2053220006\n",
464
+ "Waiting for 15 seconds before the next request...\n",
465
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1050220005\n",
466
+ "Waiting for 15 seconds before the next request...\n",
467
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030220014\n",
468
+ "Waiting for 15 seconds before the next request...\n",
469
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1031210706\n",
470
+ "Waiting for 15 seconds before the next request...\n",
471
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs051210205\n",
472
+ "Waiting for 15 seconds before the next request...\n",
473
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030210687\n",
474
+ "Waiting for 15 seconds before the next request...\n",
475
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030210672\n",
476
+ "Waiting for 15 seconds before the next request...\n",
477
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs021210075\n",
478
+ "Waiting for 15 seconds before the next request...\n",
479
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031210635\n",
480
+ "Waiting for 15 seconds before the next request...\n",
481
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031210607\n",
482
+ "Waiting for 15 seconds before the next request...\n",
483
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs051210152\n",
484
+ "Waiting for 15 seconds before the next request...\n",
485
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031210530\n",
486
+ "Waiting for 15 seconds before the next request...\n",
487
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2033210499\n",
488
+ "Waiting for 15 seconds before the next request...\n",
489
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2033210469\n",
490
+ "Waiting for 15 seconds before the next request...\n",
491
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs032210450\n",
492
+ "Waiting for 15 seconds before the next request...\n",
493
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041210108\n",
494
+ "Waiting for 15 seconds before the next request...\n",
495
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030210427\n",
496
+ "Waiting for 15 seconds before the next request...\n",
497
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031210426\n",
498
+ "Waiting for 15 seconds before the next request...\n",
499
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2011210044\n",
500
+ "Waiting for 15 seconds before the next request...\n",
501
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031210405\n",
502
+ "Waiting for 15 seconds before the next request...\n",
503
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs042210090\n",
504
+ "Waiting for 15 seconds before the next request...\n",
505
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1010210046\n",
506
+ "Waiting for 15 seconds before the next request...\n",
507
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs071210084\n",
508
+ "Waiting for 15 seconds before the next request...\n",
509
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030210390\n",
510
+ "Waiting for 15 seconds before the next request...\n",
511
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1050210104\n",
512
+ "Waiting for 15 seconds before the next request...\n",
513
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs071210074\n",
514
+ "Waiting for 15 seconds before the next request...\n",
515
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2052210099\n",
516
+ "Waiting for 15 seconds before the next request...\n",
517
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031210300\n",
518
+ "Waiting for 15 seconds before the next request...\n",
519
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031210299\n",
520
+ "Waiting for 15 seconds before the next request...\n",
521
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs032210292\n",
522
+ "Waiting for 15 seconds before the next request...\n",
523
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2033210278\n",
524
+ "Waiting for 15 seconds before the next request...\n",
525
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031210264\n",
526
+ "Waiting for 15 seconds before the next request...\n",
527
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2041210056\n",
528
+ "Waiting for 15 seconds before the next request...\n",
529
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041210053\n",
530
+ "Waiting for 15 seconds before the next request...\n",
531
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs061210028\n",
532
+ "Waiting for 15 seconds before the next request...\n",
533
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2011210025\n",
534
+ "Waiting for 15 seconds before the next request...\n",
535
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2011210020\n",
536
+ "Waiting for 15 seconds before the next request...\n",
537
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041210041\n",
538
+ "Waiting for 15 seconds before the next request...\n",
539
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051210043\n",
540
+ "Waiting for 15 seconds before the next request...\n",
541
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs021210010\n",
542
+ "Waiting for 15 seconds before the next request...\n",
543
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs042210018\n",
544
+ "Waiting for 15 seconds before the next request...\n",
545
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2043210017\n",
546
+ "Waiting for 15 seconds before the next request...\n",
547
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031210072\n",
548
+ "Waiting for 15 seconds before the next request...\n",
549
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031200438\n",
550
+ "Waiting for 15 seconds before the next request...\n",
551
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041200113\n",
552
+ "Waiting for 15 seconds before the next request...\n",
553
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs062200061\n",
554
+ "Waiting for 15 seconds before the next request...\n",
555
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030200410\n",
556
+ "Waiting for 15 seconds before the next request...\n",
557
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031200384\n",
558
+ "Waiting for 15 seconds before the next request...\n",
559
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1031200386\n",
560
+ "Waiting for 15 seconds before the next request...\n",
561
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031200326\n",
562
+ "Waiting for 15 seconds before the next request...\n",
563
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs051200121\n",
564
+ "Waiting for 15 seconds before the next request...\n",
565
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031200320\n",
566
+ "Waiting for 15 seconds before the next request...\n",
567
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTc050200107\n",
568
+ "Waiting for 15 seconds before the next request...\n",
569
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2033200278\n",
570
+ "Waiting for 15 seconds before the next request...\n",
571
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1041200082\n",
572
+ "Waiting for 15 seconds before the next request...\n",
573
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051200105\n",
574
+ "Waiting for 15 seconds before the next request...\n",
575
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1062200037\n",
576
+ "Waiting for 15 seconds before the next request...\n",
577
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2071200060\n",
578
+ "Waiting for 15 seconds before the next request...\n",
579
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs062200029\n",
580
+ "Waiting for 15 seconds before the next request...\n",
581
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs051200071\n",
582
+ "Waiting for 15 seconds before the next request...\n",
583
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031200153\n",
584
+ "Waiting for 15 seconds before the next request...\n",
585
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1052210105\n",
586
+ "Waiting for 15 seconds before the next request...\n",
587
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1040200050\n",
588
+ "Waiting for 15 seconds before the next request...\n",
589
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1052200051\n",
590
+ "Waiting for 15 seconds before the next request...\n",
591
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs071200026\n",
592
+ "Waiting for 15 seconds before the next request...\n",
593
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031200088\n",
594
+ "Waiting for 15 seconds before the next request...\n",
595
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1031200069\n",
596
+ "Waiting for 15 seconds before the next request...\n",
597
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031200064\n",
598
+ "Waiting for 15 seconds before the next request...\n",
599
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1051200028\n",
600
+ "Waiting for 15 seconds before the next request...\n",
601
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2080225196\n",
602
+ "Waiting for 15 seconds before the next request...\n",
603
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTc030190263\n",
604
+ "Waiting for 15 seconds before the next request...\n",
605
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1020190017\n",
606
+ "Waiting for 15 seconds before the next request...\n",
607
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031190186\n",
608
+ "Waiting for 15 seconds before the next request...\n",
609
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030190169\n",
610
+ "Waiting for 15 seconds before the next request...\n",
611
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031190126\n",
612
+ "Waiting for 15 seconds before the next request...\n",
613
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1031190131\n",
614
+ "Waiting for 15 seconds before the next request...\n",
615
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2033190086\n",
616
+ "Waiting for 15 seconds before the next request...\n",
617
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2080224780\n",
618
+ "Waiting for 15 seconds before the next request...\n",
619
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1031190049\n",
620
+ "Waiting for 15 seconds before the next request...\n",
621
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs071190010\n",
622
+ "Waiting for 15 seconds before the next request...\n",
623
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2051190009\n",
624
+ "Waiting for 15 seconds before the next request...\n",
625
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs051190006\n",
626
+ "Waiting for 15 seconds before the next request...\n",
627
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs051180207\n",
628
+ "Waiting for 15 seconds before the next request...\n",
629
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs051180200\n",
630
+ "Waiting for 15 seconds before the next request...\n",
631
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs021180022\n",
632
+ "Waiting for 15 seconds before the next request...\n",
633
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs021180010\n",
634
+ "Waiting for 15 seconds before the next request...\n",
635
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs061180096\n",
636
+ "Waiting for 15 seconds before the next request...\n",
637
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs061180095\n",
638
+ "Waiting for 15 seconds before the next request...\n",
639
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs061180085\n",
640
+ "Waiting for 15 seconds before the next request...\n",
641
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs061180074\n",
642
+ "Waiting for 15 seconds before the next request...\n",
643
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031180170\n",
644
+ "Waiting for 15 seconds before the next request...\n",
645
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1091220410\n",
646
+ "Waiting for 15 seconds before the next request...\n",
647
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031180114\n",
648
+ "Waiting for 15 seconds before the next request...\n",
649
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031180115\n",
650
+ "Waiting for 15 seconds before the next request...\n",
651
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2080224549\n",
652
+ "Waiting for 15 seconds before the next request...\n",
653
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs051180046\n",
654
+ "Waiting for 15 seconds before the next request...\n",
655
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs051180042\n",
656
+ "Waiting for 15 seconds before the next request...\n",
657
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs052180038\n",
658
+ "Waiting for 15 seconds before the next request...\n",
659
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1032180086\n",
660
+ "Waiting for 15 seconds before the next request...\n",
661
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2080224056\n",
662
+ "Waiting for 15 seconds before the next request...\n",
663
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2091220364\n",
664
+ "Waiting for 15 seconds before the next request...\n",
665
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2080223823\n",
666
+ "Waiting for 15 seconds before the next request...\n",
667
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1090220266\n",
668
+ "Waiting for 15 seconds before the next request...\n",
669
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1091220254\n",
670
+ "Waiting for 15 seconds before the next request...\n",
671
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1090220224\n",
672
+ "Waiting for 15 seconds before the next request...\n",
673
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1091220221\n",
674
+ "Waiting for 15 seconds before the next request...\n"
675
+ ]
676
+ }
677
+ ],
678
+ "source": [
679
+ " # jRCT詳細リンクを作成\n",
680
+ "jrct_links = extract_jrct_links(results)\n",
681
+ "\n",
682
+ " # 詳細リンクからデータフレームを作成\n",
683
+ "df = create_dataframe_from_urls(jrct_links,delay=15)"
684
+ ]
685
+ },
686
+ {
687
+ "cell_type": "code",
688
+ "execution_count": 4,
689
+ "metadata": {},
690
+ "outputs": [],
691
+ "source": [
692
+ "# 整列後の DataFrame を作成\n",
693
+ "sorted_df = reorder_columns(df)"
694
+ ]
695
+ },
696
+ {
697
+ "cell_type": "code",
698
+ "execution_count": 5,
699
+ "metadata": {},
700
+ "outputs": [
701
+ {
702
+ "name": "stderr",
703
+ "output_type": "stream",
704
+ "text": [
705
+ "/var/folders/yw/qz00x75d7kb98f7vm8dkhkvw0000gn/T/ipykernel_89944/3932068550.py:1: SettingWithCopyWarning: \n",
706
+ "A value is trying to be set on a copy of a slice from a DataFrame.\n",
707
+ "Try using .loc[row_indexer,col_indexer] = value instead\n",
708
+ "\n",
709
+ "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
710
+ " sorted_df['JRCT ID'] = [result[0] for result in results]\n",
711
+ "/var/folders/yw/qz00x75d7kb98f7vm8dkhkvw0000gn/T/ipykernel_89944/3932068550.py:2: SettingWithCopyWarning: \n",
712
+ "A value is trying to be set on a copy of a slice from a DataFrame.\n",
713
+ "Try using .loc[row_indexer,col_indexer] = value instead\n",
714
+ "\n",
715
+ "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
716
+ " sorted_df['Title'] = [result[1] for result in results]\n",
717
+ "/var/folders/yw/qz00x75d7kb98f7vm8dkhkvw0000gn/T/ipykernel_89944/3932068550.py:3: SettingWithCopyWarning: \n",
718
+ "A value is trying to be set on a copy of a slice from a DataFrame.\n",
719
+ "Try using .loc[row_indexer,col_indexer] = value instead\n",
720
+ "\n",
721
+ "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
722
+ " sorted_df['Target'] = [result[2] for result in results]\n"
723
+ ]
724
+ }
725
+ ],
726
+ "source": [
727
+ "sorted_df['JRCT ID'] = [result[0] for result in results]\n",
728
+ "sorted_df['Title'] = [result[1] for result in results]\n",
729
+ "sorted_df['Target'] = [result[2] for result in results]"
730
+ ]
731
+ },
732
+ {
733
+ "cell_type": "code",
734
+ "execution_count": 6,
735
+ "metadata": {},
736
+ "outputs": [],
737
+ "source": [
738
+ "new_order = [\"JRCT ID\", 'NCT No', 'JapicCTI No',\"Title\",'Target'] + [col for col in sorted_df.columns if col not in [\"JRCT ID\", 'NCT No', 'JapicCTI No',\"Title\",'Target']]"
739
+ ]
740
+ },
741
+ {
742
+ "cell_type": "code",
743
+ "execution_count": 7,
744
+ "metadata": {},
745
+ "outputs": [],
746
+ "source": [
747
+ "sorted_df = sorted_df[new_order]"
748
+ ]
749
+ },
750
+ {
751
+ "cell_type": "code",
752
+ "execution_count": 8,
753
+ "metadata": {},
754
+ "outputs": [
755
+ {
756
+ "data": {
757
+ "text/html": [
758
+ "<div>\n",
759
+ "<style scoped>\n",
760
+ " .dataframe tbody tr th:only-of-type {\n",
761
+ " vertical-align: middle;\n",
762
+ " }\n",
763
+ "\n",
764
+ " .dataframe tbody tr th {\n",
765
+ " vertical-align: top;\n",
766
+ " }\n",
767
+ "\n",
768
+ " .dataframe thead th {\n",
769
+ " text-align: right;\n",
770
+ " }\n",
771
+ "</style>\n",
772
+ "<table border=\"1\" class=\"dataframe\">\n",
773
+ " <thead>\n",
774
+ " <tr style=\"text-align: right;\">\n",
775
+ " <th></th>\n",
776
+ " <th>JRCT ID</th>\n",
777
+ " <th>NCT No</th>\n",
778
+ " <th>JapicCTI No</th>\n",
779
+ " <th>Title</th>\n",
780
+ " <th>Target</th>\n",
781
+ " <th>研究・治験の目的</th>\n",
782
+ " <th>試験等のフェーズ</th>\n",
783
+ " <th>試験の種類</th>\n",
784
+ " <th>無作為化</th>\n",
785
+ " <th>盲検化</th>\n",
786
+ " <th>...</th>\n",
787
+ " <th>assignment</th>\n",
788
+ " <th>purpose</th>\n",
789
+ " <th>Inclusion Criteria</th>\n",
790
+ " <th>Exclusion Criteria</th>\n",
791
+ " <th>Age Minimum</th>\n",
792
+ " <th>Age Maximum</th>\n",
793
+ " <th>Gender</th>\n",
794
+ " <th>Discontinuation Criteria</th>\n",
795
+ " <th>Keyword</th>\n",
796
+ " <th>Intervention(s)</th>\n",
797
+ " </tr>\n",
798
+ " </thead>\n",
799
+ " <tbody>\n",
800
+ " <tr>\n",
801
+ " <th>0</th>\n",
802
+ " <td>jRCT1030240513</td>\n",
803
+ " <td>None</td>\n",
804
+ " <td>None</td>\n",
805
+ " <td>進行がん患者に対する可聴領域外のハイレゾ自然音源が与える生体情報や癒しの変化を評価する\\n探...</td>\n",
806
+ " <td>がん</td>\n",
807
+ " <td>進行がん患者を対象に、可聴領域外のハイレゾ自然音源を介入とした音楽療法が、無音と比較して、疲...</td>\n",
808
+ " <td>None</td>\n",
809
+ " <td>介入研究</td>\n",
810
+ " <td>無作為化比較</td>\n",
811
+ " <td>単盲検</td>\n",
812
+ " <td>...</td>\n",
813
+ " <td>parallel assignment</td>\n",
814
+ " <td>supportive care</td>\n",
815
+ " <td>Eligible participants must meet the following ...</td>\n",
816
+ " <td>Exclusion criteria apply if any of the followi...</td>\n",
817
+ " <td>18age old over</td>\n",
818
+ " <td>No limit</td>\n",
819
+ " <td></td>\n",
820
+ " <td>None</td>\n",
821
+ " <td>cancer,</td>\n",
822
+ " <td>Participants will be exposed to either sounds ...</td>\n",
823
+ " </tr>\n",
824
+ " <tr>\n",
825
+ " <th>1</th>\n",
826
+ " <td>jRCT1032240511</td>\n",
827
+ " <td>None</td>\n",
828
+ " <td>None</td>\n",
829
+ " <td>進行がん患者の痛みに対する交番磁界治療器の至適な治療時間の条件に関する多施設共同研究</td>\n",
830
+ " <td>がん患者の疼痛</td>\n",
831
+ " <td>交番磁界治療器を用いた自宅での疼痛治療について、進行がん患者が治療の継続が可能と考える治療時...</td>\n",
832
+ " <td>None</td>\n",
833
+ " <td>介入研究</td>\n",
834
+ " <td>単一群</td>\n",
835
+ " <td>非盲検</td>\n",
836
+ " <td>...</td>\n",
837
+ " <td>single assignment</td>\n",
838
+ " <td>other</td>\n",
839
+ " <td>1. Age 18 years or older on the day of consent...</td>\n",
840
+ " <td>1. There is a skin disorder in the painful are...</td>\n",
841
+ " <td>18age old over</td>\n",
842
+ " <td>No limit</td>\n",
843
+ " <td>Both</td>\n",
844
+ " <td>None</td>\n",
845
+ " <td></td>\n",
846
+ " <td>Four pads of the alternating magnetic field th...</td>\n",
847
+ " </tr>\n",
848
+ " <tr>\n",
849
+ " <th>2</th>\n",
850
+ " <td>jRCT1032240506</td>\n",
851
+ " <td>None</td>\n",
852
+ " <td>None</td>\n",
853
+ " <td>卵巣腫瘍手術での術中低圧換気介入による術中出血量に及ぼす影響:ランダム化比較試験</td>\n",
854
+ " <td>卵巣がん</td>\n",
855
+ " <td>卵巣悪性腫瘍手術は高侵襲な手術であり輸血率の高い手術である。一方で輸血により癌の予後が悪化す...</td>\n",
856
+ " <td>None</td>\n",
857
+ " <td>介入研究</td>\n",
858
+ " <td>無作為化比較</td>\n",
859
+ " <td>単盲検</td>\n",
860
+ " <td>...</td>\n",
861
+ " <td>parallel assignment</td>\n",
862
+ " <td>treatment purpose</td>\n",
863
+ " <td>Patients undergoing ovarian cancer surgery at ...</td>\n",
864
+ " <td>1.Minors\\r\\n2.Emergency surgery\\r\\n3.Patients ...</td>\n",
865
+ " <td>18age old over</td>\n",
866
+ " <td>100age old not</td>\n",
867
+ " <td>Female</td>\n",
868
+ " <td>None</td>\n",
869
+ " <td></td>\n",
870
+ " <td>Low-pressure ventilation and low venous pressu...</td>\n",
871
+ " </tr>\n",
872
+ " <tr>\n",
873
+ " <th>3</th>\n",
874
+ " <td>jRCT2041240130</td>\n",
875
+ " <td>None</td>\n",
876
+ " <td>None</td>\n",
877
+ " <td>中等度-高度PONV発症リスクを有する肺切除術予定患者の周術期管理におけるGranisetr...</td>\n",
878
+ " <td>肺がん</td>\n",
879
+ " <td>全身麻酔を要する肺切除術周術期における標準制吐療法であるグラニセトロン(Granisetro...</td>\n",
880
+ " <td>2</td>\n",
881
+ " <td>None</td>\n",
882
+ " <td>無作為化比較</td>\n",
883
+ " <td>非盲検</td>\n",
884
+ " <td>...</td>\n",
885
+ " <td>parallel assignment</td>\n",
886
+ " <td>treatment purpose</td>\n",
887
+ " <td>(1) Patients scheduled to undergo anatomical l...</td>\n",
888
+ " <td>(1) Patients with a history of allergy to the ...</td>\n",
889
+ " <td>18age old over</td>\n",
890
+ " <td>No limit</td>\n",
891
+ " <td>Both</td>\n",
892
+ " <td>None</td>\n",
893
+ " <td></td>\n",
894
+ " <td>Treatment group\\r\\nAdminister GRA 1mg intraven...</td>\n",
895
+ " </tr>\n",
896
+ " <tr>\n",
897
+ " <th>4</th>\n",
898
+ " <td>jRCT2031240500</td>\n",
899
+ " <td>None</td>\n",
900
+ " <td>None</td>\n",
901
+ " <td>ミスマッチ修復機能欠損(dMMR)又は高頻度マイクロサテライト不安定性(MSI-H)を有する...</td>\n",
902
+ " <td>ミスマッチ修復機能欠損(dMMR)又は高頻度マイクロサテライト不安定性(MSI-H)を有する...</td>\n",
903
+ " <td>固形がんは、体のさまざまな部位に���生する異常な組織の塊である。本治験は、特定の遺伝的特徴を持...</td>\n",
904
+ " <td>1-2</td>\n",
905
+ " <td>None</td>\n",
906
+ " <td>単一群</td>\n",
907
+ " <td>非盲検</td>\n",
908
+ " <td>...</td>\n",
909
+ " <td>single assignment</td>\n",
910
+ " <td>treatment purpose</td>\n",
911
+ " <td>Parts 1, 2, and 3 inclusion criteria: \\r\\n-Has...</td>\n",
912
+ " <td>Parts 1, 2, and 3 exclusion criteria:\\r\\n-Has ...</td>\n",
913
+ " <td>18age old over</td>\n",
914
+ " <td>No limit</td>\n",
915
+ " <td>Both</td>\n",
916
+ " <td>None</td>\n",
917
+ " <td></td>\n",
918
+ " <td>Drug: GSK4418959\\r\\nDrug:PD-1 inhibitor</td>\n",
919
+ " </tr>\n",
920
+ " <tr>\n",
921
+ " <th>...</th>\n",
922
+ " <td>...</td>\n",
923
+ " <td>...</td>\n",
924
+ " <td>...</td>\n",
925
+ " <td>...</td>\n",
926
+ " <td>...</td>\n",
927
+ " <td>...</td>\n",
928
+ " <td>...</td>\n",
929
+ " <td>...</td>\n",
930
+ " <td>...</td>\n",
931
+ " <td>...</td>\n",
932
+ " <td>...</td>\n",
933
+ " <td>...</td>\n",
934
+ " <td>...</td>\n",
935
+ " <td>...</td>\n",
936
+ " <td>...</td>\n",
937
+ " <td>...</td>\n",
938
+ " <td>...</td>\n",
939
+ " <td>...</td>\n",
940
+ " <td>...</td>\n",
941
+ " <td>...</td>\n",
942
+ " <td>...</td>\n",
943
+ " </tr>\n",
944
+ " <tr>\n",
945
+ " <th>309</th>\n",
946
+ " <td>jRCT2080223823</td>\n",
947
+ " <td>NCT03444701</td>\n",
948
+ " <td>JapicCTI-183879</td>\n",
949
+ " <td>固形がん患者を対象としたE7130 の臨床第1相試験</td>\n",
950
+ " <td>Part1:固形がん\\nPart2:頭頸部がん,尿路上皮がん</td>\n",
951
+ " <td>None</td>\n",
952
+ " <td>None</td>\n",
953
+ " <td>介入研究</td>\n",
954
+ " <td>None</td>\n",
955
+ " <td>None</td>\n",
956
+ " <td>...</td>\n",
957
+ " <td>None</td>\n",
958
+ " <td>None</td>\n",
959
+ " <td>None</td>\n",
960
+ " <td>None</td>\n",
961
+ " <td>None</td>\n",
962
+ " <td>None</td>\n",
963
+ " <td>Both</td>\n",
964
+ " <td>None</td>\n",
965
+ " <td></td>\n",
966
+ " <td>investigational material(s)\\nGeneric name etc ...</td>\n",
967
+ " </tr>\n",
968
+ " <tr>\n",
969
+ " <th>310</th>\n",
970
+ " <td>jRCT1090220266</td>\n",
971
+ " <td>None</td>\n",
972
+ " <td>None</td>\n",
973
+ " <td>肺がん手術患者に対する運動療法とBCAA摂取の併用効果の検討</td>\n",
974
+ " <td>肺がん</td>\n",
975
+ " <td>None</td>\n",
976
+ " <td>None</td>\n",
977
+ " <td>None</td>\n",
978
+ " <td>None</td>\n",
979
+ " <td>非盲検</td>\n",
980
+ " <td>...</td>\n",
981
+ " <td>No</td>\n",
982
+ " <td>None</td>\n",
983
+ " <td>None</td>\n",
984
+ " <td>None</td>\n",
985
+ " <td>Age Month Week Day Hour</td>\n",
986
+ " <td>Age Month Week Day Hour No limit</td>\n",
987
+ " <td>Both</td>\n",
988
+ " <td>None</td>\n",
989
+ " <td></td>\n",
990
+ " <td>Intervention type:BEHAVIOUR\\nName of intervent...</td>\n",
991
+ " </tr>\n",
992
+ " <tr>\n",
993
+ " <th>311</th>\n",
994
+ " <td>jRCT1091220254</td>\n",
995
+ " <td>None</td>\n",
996
+ " <td>None</td>\n",
997
+ " <td>肺動静脈分離3D-CT angiographyにおけるヨード造影剤量低減の検討</td>\n",
998
+ " <td>肺がん</td>\n",
999
+ " <td>None</td>\n",
1000
+ " <td>None</td>\n",
1001
+ " <td>None</td>\n",
1002
+ " <td>None</td>\n",
1003
+ " <td>単盲検</td>\n",
1004
+ " <td>...</td>\n",
1005
+ " <td>Yes</td>\n",
1006
+ " <td>None</td>\n",
1007
+ " <td>None</td>\n",
1008
+ " <td>None</td>\n",
1009
+ " <td>Age Month Week Day Hour No limit</td>\n",
1010
+ " <td>Age Month Week Day Hour No limit</td>\n",
1011
+ " <td>Both</td>\n",
1012
+ " <td>None</td>\n",
1013
+ " <td></td>\n",
1014
+ " <td>Intervention type:DRUG\\nName of intervention: ...</td>\n",
1015
+ " </tr>\n",
1016
+ " <tr>\n",
1017
+ " <th>312</th>\n",
1018
+ " <td>jRCT1090220224</td>\n",
1019
+ " <td>None</td>\n",
1020
+ " <td>None</td>\n",
1021
+ " <td>体幹部神経ブロック後のレボブピバカインの血中濃度の変化</td>\n",
1022
+ " <td>下腹部消化器がん</td>\n",
1023
+ " <td>None</td>\n",
1024
+ " <td>None</td>\n",
1025
+ " <td>None</td>\n",
1026
+ " <td>None</td>\n",
1027
+ " <td>非盲検</td>\n",
1028
+ " <td>...</td>\n",
1029
+ " <td></td>\n",
1030
+ " <td>None</td>\n",
1031
+ " <td>None</td>\n",
1032
+ " <td>None</td>\n",
1033
+ " <td>20Age Month Week Day Hour over</td>\n",
1034
+ " <td>Age Month Week Day Hour No limit</td>\n",
1035
+ " <td>Both</td>\n",
1036
+ " <td>None</td>\n",
1037
+ " <td></td>\n",
1038
+ " <td>Intervention type:\\nName of intervention:\\nDos...</td>\n",
1039
+ " </tr>\n",
1040
+ " <tr>\n",
1041
+ " <th>313</th>\n",
1042
+ " <td>jRCT1091220221</td>\n",
1043
+ " <td>None</td>\n",
1044
+ " <td>None</td>\n",
1045
+ " <td>ヨード造影剤と生理食塩水の混合溶液を用いたtest injectionによる混合割合と造影効...</td>\n",
1046
+ " <td>肺がん</td>\n",
1047
+ " <td>None</td>\n",
1048
+ " <td>None</td>\n",
1049
+ " <td>None</td>\n",
1050
+ " <td>None</td>\n",
1051
+ " <td>非盲検</td>\n",
1052
+ " <td>...</td>\n",
1053
+ " <td>No</td>\n",
1054
+ " <td>None</td>\n",
1055
+ " <td>None</td>\n",
1056
+ " <td>None</td>\n",
1057
+ " <td>Age Month Week Day Hour No limit</td>\n",
1058
+ " <td>Age Month Week Day Hour No limit</td>\n",
1059
+ " <td>Both</td>\n",
1060
+ " <td>None</td>\n",
1061
+ " <td></td>\n",
1062
+ " <td>Intervention type:DRUG\\nName of intervention:N...</td>\n",
1063
+ " </tr>\n",
1064
+ " </tbody>\n",
1065
+ "</table>\n",
1066
+ "<p>314 rows × 37 columns</p>\n",
1067
+ "</div>"
1068
+ ],
1069
+ "text/plain": [
1070
+ " JRCT ID NCT No JapicCTI No \\\n",
1071
+ "0 jRCT1030240513 None None \n",
1072
+ "1 jRCT1032240511 None None \n",
1073
+ "2 jRCT1032240506 None None \n",
1074
+ "3 jRCT2041240130 None None \n",
1075
+ "4 jRCT2031240500 None None \n",
1076
+ ".. ... ... ... \n",
1077
+ "309 jRCT2080223823 NCT03444701 JapicCTI-183879 \n",
1078
+ "310 jRCT1090220266 None None \n",
1079
+ "311 jRCT1091220254 None None \n",
1080
+ "312 jRCT1090220224 None None \n",
1081
+ "313 jRCT1091220221 None None \n",
1082
+ "\n",
1083
+ " Title \\\n",
1084
+ "0 進行がん患者に対する可聴領域外のハイレゾ自然音源が与える生体情報や癒しの変化を評価する\\n探... \n",
1085
+ "1 進行がん患者の痛みに対する交番磁界治療器の至適な治療時間の条件に関する多施設共同研究 \n",
1086
+ "2 卵巣腫瘍手術での術中低圧換気介入による術中出血量に及ぼす影響:ランダム化比較試験 \n",
1087
+ "3 中等度-高度PONV発症リスクを有する肺切除術予定患者の周術期管理におけるGranisetr... \n",
1088
+ "4 ミスマッチ修復機能欠損(dMMR)又は高頻度マイクロサテライト不安定性(MSI-H)を有する... \n",
1089
+ ".. ... \n",
1090
+ "309 固形がん患者を対象としたE7130 の臨床第1相試験 \n",
1091
+ "310 肺がん手術患者に対する運動療法とBCAA摂取の併用効果の検討 \n",
1092
+ "311 肺動静脈分離3D-CT angiographyにおけるヨード造影剤量低減の検討 \n",
1093
+ "312 体幹部神経ブロック後のレボブピバカインの血中濃度の変化 \n",
1094
+ "313 ヨード造影剤と生理食塩水の混合溶液を用いたtest injectionによる混合割合と造影効... \n",
1095
+ "\n",
1096
+ " Target \\\n",
1097
+ "0 がん \n",
1098
+ "1 がん患者の疼痛 \n",
1099
+ "2 卵巣がん \n",
1100
+ "3 肺がん \n",
1101
+ "4 ミスマッチ修復機能欠損(dMMR)又は高頻度マイクロサテライト不安定性(MSI-H)を有する... \n",
1102
+ ".. ... \n",
1103
+ "309 Part1:固形がん\\nPart2:頭頸部がん,尿路上皮がん \n",
1104
+ "310 肺がん \n",
1105
+ "311 肺がん \n",
1106
+ "312 下腹部消化器がん \n",
1107
+ "313 肺がん \n",
1108
+ "\n",
1109
+ " 研究・治験の目的 試験等のフェーズ 試験の種類 無作為化 \\\n",
1110
+ "0 進行がん患者を対象に、可聴領域外のハイレゾ自然音源を介入とした音楽療法が、無音と比較して、疲... None 介入研究 無作為化比��� \n",
1111
+ "1 交番磁界治療器を用いた自宅での疼痛治療について、進行がん患者が治療の継続が可能と考える治療時... None 介入研究 単一群 \n",
1112
+ "2 卵巣悪性腫瘍手術は高侵襲な手術であり輸血率の高い手術である。一方で輸血により癌の予後が悪化す... None 介入研究 無作為化比較 \n",
1113
+ "3 全身麻酔を要する肺切除術周術期における標準制吐療法であるグラニセトロン(Granisetro... 2 None 無作為化比較 \n",
1114
+ "4 固形がんは、体のさまざまな部位に発生する異常な組織の塊である。本治験は、特定の遺伝的特徴を持... 1-2 None 単一群 \n",
1115
+ ".. ... ... ... ... \n",
1116
+ "309 None None 介入研究 None \n",
1117
+ "310 None None None None \n",
1118
+ "311 None None None None \n",
1119
+ "312 None None None None \n",
1120
+ "313 None None None None \n",
1121
+ "\n",
1122
+ " 盲検化 ... assignment purpose \\\n",
1123
+ "0 単盲検 ... parallel assignment supportive care \n",
1124
+ "1 非盲検 ... single assignment other \n",
1125
+ "2 単盲検 ... parallel assignment treatment purpose \n",
1126
+ "3 非盲検 ... parallel assignment treatment purpose \n",
1127
+ "4 非盲検 ... single assignment treatment purpose \n",
1128
+ ".. ... ... ... ... \n",
1129
+ "309 None ... None None \n",
1130
+ "310 非盲検 ... No None \n",
1131
+ "311 単盲検 ... Yes None \n",
1132
+ "312 非盲検 ... None \n",
1133
+ "313 非盲検 ... No None \n",
1134
+ "\n",
1135
+ " Inclusion Criteria \\\n",
1136
+ "0 Eligible participants must meet the following ... \n",
1137
+ "1 1. Age 18 years or older on the day of consent... \n",
1138
+ "2 Patients undergoing ovarian cancer surgery at ... \n",
1139
+ "3 (1) Patients scheduled to undergo anatomical l... \n",
1140
+ "4 Parts 1, 2, and 3 inclusion criteria: \\r\\n-Has... \n",
1141
+ ".. ... \n",
1142
+ "309 None \n",
1143
+ "310 None \n",
1144
+ "311 None \n",
1145
+ "312 None \n",
1146
+ "313 None \n",
1147
+ "\n",
1148
+ " Exclusion Criteria \\\n",
1149
+ "0 Exclusion criteria apply if any of the followi... \n",
1150
+ "1 1. There is a skin disorder in the painful are... \n",
1151
+ "2 1.Minors\\r\\n2.Emergency surgery\\r\\n3.Patients ... \n",
1152
+ "3 (1) Patients with a history of allergy to the ... \n",
1153
+ "4 Parts 1, 2, and 3 exclusion criteria:\\r\\n-Has ... \n",
1154
+ ".. ... \n",
1155
+ "309 None \n",
1156
+ "310 None \n",
1157
+ "311 None \n",
1158
+ "312 None \n",
1159
+ "313 None \n",
1160
+ "\n",
1161
+ " Age Minimum Age Maximum \\\n",
1162
+ "0 18age old over No limit \n",
1163
+ "1 18age old over No limit \n",
1164
+ "2 18age old over 100age old not \n",
1165
+ "3 18age old over No limit \n",
1166
+ "4 18age old over No limit \n",
1167
+ ".. ... ... \n",
1168
+ "309 None None \n",
1169
+ "310 Age Month Week Day Hour Age Month Week Day Hour No limit \n",
1170
+ "311 Age Month Week Day Hour No limit Age Month Week Day Hour No limit \n",
1171
+ "312 20Age Month Week Day Hour over Age Month Week Day Hour No limit \n",
1172
+ "313 Age Month Week Day Hour No limit Age Month Week Day Hour No limit \n",
1173
+ "\n",
1174
+ " Gender Discontinuation Criteria Keyword \\\n",
1175
+ "0 None cancer, \n",
1176
+ "1 Both None \n",
1177
+ "2 Female None \n",
1178
+ "3 Both None \n",
1179
+ "4 Both None \n",
1180
+ ".. ... ... ... \n",
1181
+ "309 Both None \n",
1182
+ "310 Both None \n",
1183
+ "311 Both None \n",
1184
+ "312 Both None \n",
1185
+ "313 Both None \n",
1186
+ "\n",
1187
+ " Intervention(s) \n",
1188
+ "0 Participants will be exposed to either sounds ... \n",
1189
+ "1 Four pads of the alternating magnetic field th... \n",
1190
+ "2 Low-pressure ventilation and low venous pressu... \n",
1191
+ "3 Treatment group\\r\\nAdminister GRA 1mg intraven... \n",
1192
+ "4 Drug: GSK4418959\\r\\nDrug:PD-1 inhibitor \n",
1193
+ ".. ... \n",
1194
+ "309 investigational material(s)\\nGeneric name etc ... \n",
1195
+ "310 Intervention type:BEHAVIOUR\\nName of intervent... \n",
1196
+ "311 Intervention type:DRUG\\nName of intervention: ... \n",
1197
+ "312 Intervention type:\\nName of intervention:\\nDos... \n",
1198
+ "313 Intervention type:DRUG\\nName of intervention:N... \n",
1199
+ "\n",
1200
+ "[314 rows x 37 columns]"
1201
+ ]
1202
+ },
1203
+ "execution_count": 8,
1204
+ "metadata": {},
1205
+ "output_type": "execute_result"
1206
+ }
1207
+ ],
1208
+ "source": [
1209
+ "sorted_df"
1210
+ ]
1211
+ },
1212
+ {
1213
+ "cell_type": "code",
1214
+ "execution_count": 9,
1215
+ "metadata": {},
1216
+ "outputs": [],
1217
+ "source": [
1218
+ "sorted_df.to_csv('../JRCT20241130Cancer.csv')"
1219
+ ]
1220
+ },
1221
+ {
1222
+ "cell_type": "code",
1223
+ "execution_count": 10,
1224
+ "metadata": {},
1225
+ "outputs": [
1226
+ {
1227
+ "data": {
1228
+ "text/plain": [
1229
+ "array([None, 'NCT06551142', 'NCT06622941', 'NCT05580562', 'NCT06561685',\n",
1230
+ " 'NCT05730036', 'NCT06413706', 'NCT06417814', 'NCT03423628',\n",
1231
+ " 'NCT06465069', 'NCT06431594', 'NCT06526819', 'NCT06012435',\n",
1232
+ " 'NCT06452277', 'NCT04895709', 'NCT06223516', 'NCT05201066',\n",
1233
+ " 'NCT06158841', 'NCT06238479', 'NCT06390995', 'NCT06208150',\n",
1234
+ " 'NCT06330064', 'NCT05552222', 'NCT06106945', 'NCT06285097',\n",
1235
+ " 'NCT05933577', 'NCT05899608', 'NCT06548217', 'NCT04910568',\n",
1236
+ " 'NCT05980416', 'NCT04586426', 'NCT06240741', 'NCT05939414',\n",
1237
+ " 'NCT06152575', 'NCT06057402', 'NCT06130553', 'NCT04420884',\n",
1238
+ " 'NCT06045806', 'NCT06099782', 'NCT05599984', 'NCT05519085',\n",
1239
+ " 'NCT04031677', 'NCT05552976', 'NCT05952557', 'NCT06532331',\n",
1240
+ " 'NCT05544929', 'NCT05907122', 'NCT06038578', 'NCT05753501',\n",
1241
+ " 'NCT06074705', 'NCT05714839', 'NCT05614739', 'NCT05774951',\n",
1242
+ " 'NCT05838768', 'NCT03761108', 'NCT05485766', 'NCT05669989',\n",
1243
+ " 'NCT05382559', 'NCT05410145', 'NCT04931654', 'NCT05347485',\n",
1244
+ " 'NCT05572515', 'NCT05546476', 'NCT05623020', 'NCT05257083',\n",
1245
+ " 'NCT05259839', 'NCT05440786', 'NCT05275868', 'NCT05307705',\n",
1246
+ " 'NCT05099172', 'NCT05201781', 'NCT05067283', 'NCT05317416',\n",
1247
+ " 'NCT04771078', 'NCT05083169', 'NCT06535009', 'NCT05091346',\n",
1248
+ " 'NCT03398655', 'NCT05064618', 'NCT04923893', 'NCT04975997',\n",
1249
+ " 'NCT04452591', 'NCT04221542', 'NCT04649073', 'NCT03769506',\n",
1250
+ " 'NCT04419532', 'NCT04008797', 'NCT03818893', 'NCT03444701'],\n",
1251
+ " dtype=object)"
1252
+ ]
1253
+ },
1254
+ "execution_count": 10,
1255
+ "metadata": {},
1256
+ "output_type": "execute_result"
1257
+ }
1258
+ ],
1259
+ "source": [
1260
+ "sorted_df['NCT No'].unique()"
1261
+ ]
1262
+ },
1263
+ {
1264
+ "cell_type": "code",
1265
+ "execution_count": null,
1266
+ "metadata": {},
1267
+ "outputs": [],
1268
+ "source": []
1269
+ }
1270
+ ],
1271
+ "metadata": {
1272
+ "kernelspec": {
1273
+ "display_name": "gradio",
1274
+ "language": "python",
1275
+ "name": "python3"
1276
+ },
1277
+ "language_info": {
1278
+ "codemirror_mode": {
1279
+ "name": "ipython",
1280
+ "version": 3
1281
+ },
1282
+ "file_extension": ".py",
1283
+ "mimetype": "text/x-python",
1284
+ "name": "python",
1285
+ "nbconvert_exporter": "python",
1286
+ "pygments_lexer": "ipython3",
1287
+ "version": "3.12.3"
1288
+ }
1289
+ },
1290
+ "nbformat": 4,
1291
+ "nbformat_minor": 2
1292
+ }
dev_JRCT_api/202041202.ipynb ADDED
The diff for this file is too large to render. See raw diff
 
dev_JRCT_api/202041208.ipynb ADDED
The diff for this file is too large to render. See raw diff
 
dev_JRCT_api/202041213.ipynb ADDED
The diff for this file is too large to render. See raw diff
 
dev_JRCT_api/deback.ipynb ADDED
@@ -0,0 +1,1005 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": 1,
6
+ "metadata": {},
7
+ "outputs": [],
8
+ "source": [
9
+ "import requests\n",
10
+ "from bs4 import BeautifulSoup\n",
11
+ "import unicodedata\n",
12
+ "\n",
13
+ "def normalize_text(text):\n",
14
+ " if text is None:\n",
15
+ " return \"\"\n",
16
+ " text = unicodedata.normalize('NFKC', text)\n",
17
+ " return \" \".join(text.split())\n",
18
+ "\n",
19
+ "url = \"https://jrct.niph.go.jp/latest-detail/jRCT2051240150\"\n",
20
+ "headers = {\n",
21
+ " \"User-Agent\": \"Mozilla/5.0\"\n",
22
+ "}\n",
23
+ "\n",
24
+ "try:\n",
25
+ " response = requests.get(url, headers=headers, timeout=10)\n",
26
+ " response.raise_for_status()\n",
27
+ "except requests.RequestException as e:\n",
28
+ " print(f\"URLリクエストに失敗しました: {url} - エラー: {e}\")\n",
29
+ " # エラーが出た場合はここで止まります\n",
30
+ " exit(1)\n",
31
+ "\n",
32
+ "# response.text をファイルに保存して確認しても良い\n",
33
+ "# with open(\"debug_html.html\", \"w\", encoding=\"utf-8\") as f:\n",
34
+ "# f.write(response.text)\n",
35
+ "\n",
36
+ "soup = BeautifulSoup(response.text, 'html.parser')\n"
37
+ ]
38
+ },
39
+ {
40
+ "cell_type": "code",
41
+ "execution_count": 2,
42
+ "metadata": {},
43
+ "outputs": [
44
+ {
45
+ "name": "stdout",
46
+ "output_type": "stream",
47
+ "text": [
48
+ "-----\n",
49
+ "RAW: '研究の種別'\n",
50
+ "NORMALIZED: '研究の種別'\n",
51
+ "-----\n",
52
+ "RAW: '治験の区分'\n",
53
+ "NORMALIZED: '治験の区分'\n",
54
+ "-----\n",
55
+ "RAW: '初回公表日'\n",
56
+ "NORMALIZED: '初回公表日'\n",
57
+ "-----\n",
58
+ "RAW: '最終公表日'\n",
59
+ "NORMALIZED: '最終公表日'\n",
60
+ "-----\n",
61
+ "RAW: '中止年月日'\n",
62
+ "NORMALIZED: '中止年月日'\n",
63
+ "-----\n",
64
+ "RAW: '観察期間終了日'\n",
65
+ "NORMALIZED: '観察期間終了日'\n",
66
+ "-----\n",
67
+ "RAW: '研究名称'\n",
68
+ "NORMALIZED: '研究名称'\n",
69
+ "-----\n",
70
+ "RAW: '平易な研究名称'\n",
71
+ "NORMALIZED: '平易な研究名称'\n",
72
+ "-----\n",
73
+ "RAW: '研究責任(代表)医師の氏名'\n",
74
+ "NORMALIZED: '研究責任(代表)医師の氏名'\n",
75
+ "-----\n",
76
+ "RAW: '研究責任(代表)医師の所属機関'\n",
77
+ "NORMALIZED: '研究責任(代表)医師の所属機関'\n",
78
+ "-----\n",
79
+ "RAW: '研究・治験の目的'\n",
80
+ "NORMALIZED: '研究・治験の目的'\n",
81
+ "-----\n",
82
+ "RAW: '試験のフェーズ'\n",
83
+ "NORMALIZED: '試験のフェーズ'\n",
84
+ "-----\n",
85
+ "RAW: '対象疾患名'\n",
86
+ "NORMALIZED: '対象疾患名'\n",
87
+ "-----\n",
88
+ "RAW: '進捗状況'\n",
89
+ "NORMALIZED: '進捗状況'\n",
90
+ "-----\n",
91
+ "RAW: '医薬品等の一般名称'\n",
92
+ "NORMALIZED: '医薬品等の一般名称'\n",
93
+ "-----\n",
94
+ "RAW: '販売名'\n",
95
+ "NORMALIZED: '販売名'\n",
96
+ "-----\n",
97
+ "RAW: '認定委員会の名称'\n",
98
+ "NORMALIZED: '認定委員会の名称'\n",
99
+ "-----\n",
100
+ "RAW: '認定番号'\n",
101
+ "NORMALIZED: '認定番号'\n",
102
+ "-----\n",
103
+ "RAW: ' 試験等の名称 / Scientific Title(Acronym) '\n",
104
+ "NORMALIZED: '試験等の名称 / Scientific Title(Acronym)'\n",
105
+ "-----\n",
106
+ "RAW: ' 平易な試験等の名称 / Public Title(Acronym) '\n",
107
+ "NORMALIZED: '平易な試験等の名称 / Public Title(Acronym)'\n",
108
+ "-----\n",
109
+ "RAW: ' 科学的な内容の問合せ先 Contact for Scientific Queries '\n",
110
+ "NORMALIZED: '科学的な内容の問合せ先 Contact for Scientific Queries'\n",
111
+ "-----\n",
112
+ "RAW: '氏名 / Name'\n",
113
+ "NORMALIZED: '氏名 / Name'\n",
114
+ "-----\n",
115
+ "RAW: ' e-Rad番号 '\n",
116
+ "NORMALIZED: 'e-Rad番号'\n",
117
+ "-----\n",
118
+ "RAW: ' 所属機関(実施医療機関) '\n",
119
+ "NORMALIZED: '所属機関(実施医療機関)'\n",
120
+ "-----\n",
121
+ "RAW: ' Affiliation '\n",
122
+ "NORMALIZED: 'Affiliation'\n",
123
+ "-----\n",
124
+ "RAW: ' 所属部署 '\n",
125
+ "NORMALIZED: '所属部署'\n",
126
+ "-----\n",
127
+ "RAW: ' 所属機関の郵便番号 '\n",
128
+ "NORMALIZED: '所属機関の郵便番号'\n",
129
+ "-----\n",
130
+ "RAW: ' 所属機関の住所'\n",
131
+ "NORMALIZED: '所属機関の住所'\n",
132
+ "-----\n",
133
+ "RAW: ' Address '\n",
134
+ "NORMALIZED: 'Address'\n",
135
+ "-----\n",
136
+ "RAW: ' 電話番号 '\n",
137
+ "NORMALIZED: '電話番号'\n",
138
+ "-----\n",
139
+ "RAW: ' 電子メールアドレス '\n",
140
+ "NORMALIZED: '電子メールアドレス'\n",
141
+ "-----\n",
142
+ "RAW: ' 試験に関する問い合わせ先 Contact for Public Queries '\n",
143
+ "NORMALIZED: '試験に関する問い合わせ先 Contact for Public Queries'\n",
144
+ "-----\n",
145
+ "RAW: ' 担当者氏名 /\\n Name '\n",
146
+ "NORMALIZED: '担当者氏名 / Name'\n",
147
+ "-----\n",
148
+ "RAW: ' 担当者所属機関 / Affiliation '\n",
149
+ "NORMALIZED: '担当者所属機関 / Affiliation'\n",
150
+ "-----\n",
151
+ "RAW: ' 担当者所属部署 '\n",
152
+ "NORMALIZED: '担当者所属部署'\n",
153
+ "-----\n",
154
+ "RAW: ' 担当者所属機関の郵便番号 '\n",
155
+ "NORMALIZED: '担当者所属機関の郵便番号'\n",
156
+ "-----\n",
157
+ "RAW: '\\n 担当者所属機関の住所 /\\n Address '\n",
158
+ "NORMALIZED: '担当者所属機関の住所 / Address'\n",
159
+ "-----\n",
160
+ "RAW: ' 電話番号 '\n",
161
+ "NORMALIZED: '電話番号'\n",
162
+ "-----\n",
163
+ "RAW: ' FAX番号 '\n",
164
+ "NORMALIZED: 'FAX番号'\n",
165
+ "-----\n",
166
+ "RAW: ' 電子メールアドレス '\n",
167
+ "NORMALIZED: '電子メールアドレス'\n",
168
+ "-----\n",
169
+ "RAW: '\\n 実施医療機関の長の氏名 '\n",
170
+ "NORMALIZED: '実施医療機関の長の氏名'\n",
171
+ "-----\n",
172
+ "RAW: '\\n 当該試験等に対する管理者の許可の有無 '\n",
173
+ "NORMALIZED: '当該試験等に対する管理者の許可の有無'\n",
174
+ "-----\n",
175
+ "RAW: '\\n IRBの承認日 '\n",
176
+ "NORMALIZED: 'IRBの承認日'\n",
177
+ "-----\n",
178
+ "RAW: '\\n 救急医療に必要な施設又は設備 '\n",
179
+ "NORMALIZED: '救急医療に必要な施設又は設備'\n",
180
+ "-----\n",
181
+ "RAW: 'データマネジメント担当機関'\n",
182
+ "NORMALIZED: 'データマネジメント担当機関'\n",
183
+ "-----\n",
184
+ "RAW: 'データマネジメント担当責任者'\n",
185
+ "NORMALIZED: 'データマネジメント担当責任者'\n",
186
+ "-----\n",
187
+ "RAW: '氏名'\n",
188
+ "NORMALIZED: '氏名'\n",
189
+ "-----\n",
190
+ "RAW: 'e-Rad番号'\n",
191
+ "NORMALIZED: 'e-Rad番号'\n",
192
+ "-----\n",
193
+ "RAW: '所属'\n",
194
+ "NORMALIZED: '所属'\n",
195
+ "-----\n",
196
+ "RAW: '役職'\n",
197
+ "NORMALIZED: '役職'\n",
198
+ "-----\n",
199
+ "RAW: 'モニタリング担当機関'\n",
200
+ "NORMALIZED: 'モニタリング担当機関'\n",
201
+ "-----\n",
202
+ "RAW: 'モニタリング担当責任者'\n",
203
+ "NORMALIZED: 'モニタリング担当責任者'\n",
204
+ "-----\n",
205
+ "RAW: '氏名'\n",
206
+ "NORMALIZED: '氏名'\n",
207
+ "-----\n",
208
+ "RAW: 'e-Rad番号'\n",
209
+ "NORMALIZED: 'e-Rad番号'\n",
210
+ "-----\n",
211
+ "RAW: '所属'\n",
212
+ "NORMALIZED: '所属'\n",
213
+ "-----\n",
214
+ "RAW: '役職'\n",
215
+ "NORMALIZED: '役職'\n",
216
+ "-----\n",
217
+ "RAW: '監査担当機関'\n",
218
+ "NORMALIZED: '監査担当機関'\n",
219
+ "-----\n",
220
+ "RAW: '監査担当責任者'\n",
221
+ "NORMALIZED: '監査担当責任者'\n",
222
+ "-----\n",
223
+ "RAW: '氏名'\n",
224
+ "NORMALIZED: '氏名'\n",
225
+ "-----\n",
226
+ "RAW: 'e-Rad番号'\n",
227
+ "NORMALIZED: 'e-Rad番号'\n",
228
+ "-----\n",
229
+ "RAW: '所属'\n",
230
+ "NORMALIZED: '所属'\n",
231
+ "-----\n",
232
+ "RAW: '役職'\n",
233
+ "NORMALIZED: '役職'\n",
234
+ "-----\n",
235
+ "RAW: '統計解析担当機関'\n",
236
+ "NORMALIZED: '統計解析担当機関'\n",
237
+ "-----\n",
238
+ "RAW: '統計解析担当責任者'\n",
239
+ "NORMALIZED: '統計解析担当責任者'\n",
240
+ "-----\n",
241
+ "RAW: '氏名'\n",
242
+ "NORMALIZED: '氏名'\n",
243
+ "-----\n",
244
+ "RAW: 'e-Rad番号'\n",
245
+ "NORMALIZED: 'e-Rad番号'\n",
246
+ "-----\n",
247
+ "RAW: '所属'\n",
248
+ "NORMALIZED: '所属'\n",
249
+ "-----\n",
250
+ "RAW: '役職'\n",
251
+ "NORMALIZED: '役職'\n",
252
+ "-----\n",
253
+ "RAW: '研究・開発計画支援担当機関'\n",
254
+ "NORMALIZED: '研究・開発計画支援担当機関'\n",
255
+ "-----\n",
256
+ "RAW: '研究・開発計画支援担当責任者'\n",
257
+ "NORMALIZED: '研究・開発計画支援担当責任者'\n",
258
+ "-----\n",
259
+ "RAW: '氏名'\n",
260
+ "NORMALIZED: '氏名'\n",
261
+ "-----\n",
262
+ "RAW: 'e-Rad番号'\n",
263
+ "NORMALIZED: 'e-Rad番号'\n",
264
+ "-----\n",
265
+ "RAW: '所属'\n",
266
+ "NORMALIZED: '所属'\n",
267
+ "-----\n",
268
+ "RAW: '役職'\n",
269
+ "NORMALIZED: '役職'\n",
270
+ "-----\n",
271
+ "RAW: '調整・管理実務担当機関'\n",
272
+ "NORMALIZED: '調整・管理実務担当機関'\n",
273
+ "-----\n",
274
+ "RAW: '調整・管理実務担当責任者'\n",
275
+ "NORMALIZED: '調整・管理実務担当責任者'\n",
276
+ "-----\n",
277
+ "RAW: '氏名'\n",
278
+ "NORMALIZED: '氏名'\n",
279
+ "-----\n",
280
+ "RAW: 'e-Rad番号'\n",
281
+ "NORMALIZED: 'e-Rad番号'\n",
282
+ "-----\n",
283
+ "RAW: '所属'\n",
284
+ "NORMALIZED: '所属'\n",
285
+ "-----\n",
286
+ "RAW: '役職'\n",
287
+ "NORMALIZED: '役職'\n",
288
+ "-----\n",
289
+ "RAW: 'その他の研究を総括する者'\n",
290
+ "NORMALIZED: 'その他の研究を総括する者'\n",
291
+ "-----\n",
292
+ "RAW: '氏名 / Name'\n",
293
+ "NORMALIZED: '氏名 / Name'\n",
294
+ "-----\n",
295
+ "RAW: 'e-Rad番号'\n",
296
+ "NORMALIZED: 'e-Rad番号'\n",
297
+ "-----\n",
298
+ "RAW: '所属 / Affiliation'\n",
299
+ "NORMALIZED: '所属 / Affiliation'\n",
300
+ "-----\n",
301
+ "RAW: '役職'\n",
302
+ "NORMALIZED: '役職'\n",
303
+ "-----\n",
304
+ "RAW: 'Secondary Sponsor の該当性'\n",
305
+ "NORMALIZED: 'Secondary Sponsor の該当性'\n",
306
+ "-----\n",
307
+ "RAW: '治験責任医師等の連絡先'\n",
308
+ "NORMALIZED: '治験責任医師等の連絡先'\n",
309
+ "-----\n",
310
+ "RAW: '氏名'\n",
311
+ "NORMALIZED: '氏名'\n",
312
+ "-----\n",
313
+ "RAW: 'Name'\n",
314
+ "NORMALIZED: 'Name'\n",
315
+ "-----\n",
316
+ "RAW: 'e-Rad番号'\n",
317
+ "NORMALIZED: 'e-Rad番号'\n",
318
+ "-----\n",
319
+ "RAW: '所属機関(実施医療機関)'\n",
320
+ "NORMALIZED: '所属機関(実施医療機関)'\n",
321
+ "-----\n",
322
+ "RAW: 'Affiliation'\n",
323
+ "NORMALIZED: 'Affiliation'\n",
324
+ "-----\n",
325
+ "RAW: '所属部署'\n",
326
+ "NORMALIZED: '所属部署'\n",
327
+ "-----\n",
328
+ "RAW: '所属部署の郵便番号'\n",
329
+ "NORMALIZED: '所属部署の郵便番号'\n",
330
+ "-----\n",
331
+ "RAW: '所属機関の住所'\n",
332
+ "NORMALIZED: '所属機関の住所'\n",
333
+ "-----\n",
334
+ "RAW: '電話番号'\n",
335
+ "NORMALIZED: '電話番号'\n",
336
+ "-----\n",
337
+ "RAW: '電子メールアドレス'\n",
338
+ "NORMALIZED: '電子メールアドレス'\n",
339
+ "-----\n",
340
+ "RAW: '研究に関する問合わせ先'\n",
341
+ "NORMALIZED: '研究に関する問合わせ先'\n",
342
+ "-----\n",
343
+ "RAW: '担当者氏名'\n",
344
+ "NORMALIZED: '担当者氏名'\n",
345
+ "-----\n",
346
+ "RAW: '担当者所属機関'\n",
347
+ "NORMALIZED: '担当者所属機関'\n",
348
+ "-----\n",
349
+ "RAW: '担当者所属部署'\n",
350
+ "NORMALIZED: '担当者所属部署'\n",
351
+ "-----\n",
352
+ "RAW: '担当者所属機関の郵便番号'\n",
353
+ "NORMALIZED: '担当者所属機関の郵便番号'\n",
354
+ "-----\n",
355
+ "RAW: '担当者所属機関の住所'\n",
356
+ "NORMALIZED: '担当者所属機関の住所'\n",
357
+ "-----\n",
358
+ "RAW: '電話番号'\n",
359
+ "NORMALIZED: '電話番号'\n",
360
+ "-----\n",
361
+ "RAW: 'FAX番号'\n",
362
+ "NORMALIZED: 'FAX番号'\n",
363
+ "-----\n",
364
+ "RAW: '電子メールアドレス'\n",
365
+ "NORMALIZED: '電子メールアドレス'\n",
366
+ "-----\n",
367
+ "RAW: '実施医療機関の長の氏名'\n",
368
+ "NORMALIZED: '実施医療機関の長の氏名'\n",
369
+ "-----\n",
370
+ "RAW: '管理者の許可の有無'\n",
371
+ "NORMALIZED: '管理者の許可の有無'\n",
372
+ "-----\n",
373
+ "RAW: 'IRBの承認日'\n",
374
+ "NORMALIZED: 'IRBの承認日'\n",
375
+ "-----\n",
376
+ "RAW: '救急医療に必要な施設又は設備'\n",
377
+ "NORMALIZED: '救急医療に必要な施設又は設備'\n",
378
+ "-----\n",
379
+ "RAW: '治験責任医師等の連絡先'\n",
380
+ "NORMALIZED: '治験責任医師等の連絡先'\n",
381
+ "-----\n",
382
+ "RAW: '氏名'\n",
383
+ "NORMALIZED: '氏名'\n",
384
+ "-----\n",
385
+ "RAW: 'Name'\n",
386
+ "NORMALIZED: 'Name'\n",
387
+ "-----\n",
388
+ "RAW: 'e-Rad番号'\n",
389
+ "NORMALIZED: 'e-Rad番号'\n",
390
+ "-----\n",
391
+ "RAW: '所属機関(実施医療機関)'\n",
392
+ "NORMALIZED: '所属機関(実施医療機関)'\n",
393
+ "-----\n",
394
+ "RAW: 'Affiliation'\n",
395
+ "NORMALIZED: 'Affiliation'\n",
396
+ "-----\n",
397
+ "RAW: '所属部署'\n",
398
+ "NORMALIZED: '所属部署'\n",
399
+ "-----\n",
400
+ "RAW: '所属部署の郵便番号'\n",
401
+ "NORMALIZED: '所属部署の郵便番号'\n",
402
+ "-----\n",
403
+ "RAW: '所属機関の住所'\n",
404
+ "NORMALIZED: '所属機関の住所'\n",
405
+ "-----\n",
406
+ "RAW: '電話番号'\n",
407
+ "NORMALIZED: '電話番号'\n",
408
+ "-----\n",
409
+ "RAW: '電子メールアドレス'\n",
410
+ "NORMALIZED: '電子メールアドレス'\n",
411
+ "-----\n",
412
+ "RAW: '研究に関する問合わせ先'\n",
413
+ "NORMALIZED: '研究に関する問合わせ先'\n",
414
+ "-----\n",
415
+ "RAW: '担当者氏名'\n",
416
+ "NORMALIZED: '担当者氏名'\n",
417
+ "-----\n",
418
+ "RAW: '担当者所属機関'\n",
419
+ "NORMALIZED: '担当者所属機関'\n",
420
+ "-----\n",
421
+ "RAW: '担当者所属部署'\n",
422
+ "NORMALIZED: '担当者所属部署'\n",
423
+ "-----\n",
424
+ "RAW: '担当者所属機関の郵便番号'\n",
425
+ "NORMALIZED: '担当者所属機関の郵便番号'\n",
426
+ "-----\n",
427
+ "RAW: '担当者所属機関の住所'\n",
428
+ "NORMALIZED: '担当者所属機関の住所'\n",
429
+ "-----\n",
430
+ "RAW: '電話番号'\n",
431
+ "NORMALIZED: '電話番号'\n",
432
+ "-----\n",
433
+ "RAW: 'FAX番号'\n",
434
+ "NORMALIZED: 'FAX番号'\n",
435
+ "-----\n",
436
+ "RAW: '電子メールアドレス'\n",
437
+ "NORMALIZED: '電子メールアドレス'\n",
438
+ "-----\n",
439
+ "RAW: '実施医療機関の長の氏名'\n",
440
+ "NORMALIZED: '実施医療機関の長の氏名'\n",
441
+ "-----\n",
442
+ "RAW: '管理者の許可の有無'\n",
443
+ "NORMALIZED: '管理者の許可の有無'\n",
444
+ "-----\n",
445
+ "RAW: 'IRBの承認日'\n",
446
+ "NORMALIZED: 'IRBの承認日'\n",
447
+ "-----\n",
448
+ "RAW: '救急医療に必要な施設又は設備'\n",
449
+ "NORMALIZED: '救急医療に必要な施設又は設備'\n",
450
+ "-----\n",
451
+ "RAW: 'ご参考資料 多施設共同研究機関情報'\n",
452
+ "NORMALIZED: 'ご参考資料 多施設共同研究機関情報'\n",
453
+ "-----\n",
454
+ "RAW: '\\n 試験等の目的 '\n",
455
+ "NORMALIZED: '試験等の目的'\n",
456
+ "-----\n",
457
+ "RAW: '\\n 試験等のフェーズ /\\n Phase '\n",
458
+ "NORMALIZED: '試験等のフェーズ / Phase'\n",
459
+ "-----\n",
460
+ "RAW: '\\n 症例登録開始予定日 / Date of First Enrollment '\n",
461
+ "NORMALIZED: '症例登録開始予定日 / Date of First Enrollment'\n",
462
+ "-----\n",
463
+ "RAW: '\\n 第1症例登録日 / Date of First Enrollment '\n",
464
+ "NORMALIZED: '第1症例登録日 / Date of First Enrollment'\n",
465
+ "-----\n",
466
+ "RAW: '\\n 実施期間(開始日) '\n",
467
+ "NORMALIZED: '実施期間(開始日)'\n",
468
+ "-----\n",
469
+ "RAW: '\\n\\n 実施期間(終了日) \\n'\n",
470
+ "NORMALIZED: '実施期間(終了日)'\n",
471
+ "-----\n",
472
+ "RAW: '\\n 実施期間(終了日) '\n",
473
+ "NORMALIZED: '実施期間(終了日)'\n",
474
+ "-----\n",
475
+ "RAW: '\\n 実施予定被験者数 / Sample Size '\n",
476
+ "NORMALIZED: '実施予定被験者数 / Sample Size'\n",
477
+ "-----\n",
478
+ "RAW: '\\n 試験等の種類 /\\n Study Type '\n",
479
+ "NORMALIZED: '試験等の種類 / Study Type'\n",
480
+ "-----\n",
481
+ "RAW: '\\n 試験等のデザイン \\n Study Design '\n",
482
+ "NORMALIZED: '試験等のデザイン Study Design'\n",
483
+ "-----\n",
484
+ "RAW: '\\n 無作為化 / allocation '\n",
485
+ "NORMALIZED: '無作為化 / allocation'\n",
486
+ "-----\n",
487
+ "RAW: '\\n 盲検化 /masking '\n",
488
+ "NORMALIZED: '盲検化 /masking'\n",
489
+ "-----\n",
490
+ "RAW: '\\n 対照 / control '\n",
491
+ "NORMALIZED: '対照 / control'\n",
492
+ "-----\n",
493
+ "RAW: '\\n 割付け / assignment '\n",
494
+ "NORMALIZED: '割付け / assignment'\n",
495
+ "-----\n",
496
+ "RAW: '\\n 研究目的 / purpose '\n",
497
+ "NORMALIZED: '研究目的 / purpose'\n",
498
+ "-----\n",
499
+ "RAW: '\\n プラセボの有無 '\n",
500
+ "NORMALIZED: 'プラセボの有無'\n",
501
+ "-----\n",
502
+ "RAW: '\\n 盲検の有無 '\n",
503
+ "NORMALIZED: '盲検の有無'\n",
504
+ "-----\n",
505
+ "RAW: '\\n 無作為化の有無 '\n",
506
+ "NORMALIZED: '無作為化の有無'\n",
507
+ "-----\n",
508
+ "RAW: '\\n 保険外併用療養費の有無 '\n",
509
+ "NORMALIZED: '保険外併用療養費の有無'\n",
510
+ "-----\n",
511
+ "RAW: '\\n 実施国(日本以外) /\\n Countries of Recruitment(Except Japan) '\n",
512
+ "NORMALIZED: '実施国(日本以外) / Countries of Recruitment(Except Japan)'\n",
513
+ "-----\n",
514
+ "RAW: '\\n 研究対象者の適格基準 / Key inclusion & exclusion criteria '\n",
515
+ "NORMALIZED: '研究対象者の適格基準 / Key inclusion & exclusion criteria'\n",
516
+ "-----\n",
517
+ "RAW: '\\n 主たる選択基準 / Inclusion Criteria '\n",
518
+ "NORMALIZED: '主たる選択基準 / Inclusion Criteria'\n",
519
+ "-----\n",
520
+ "RAW: '\\n 主たる除外基準 / Exclusion Criteria '\n",
521
+ "NORMALIZED: '主たる除外基準 / Exclusion Criteria'\n",
522
+ "-----\n",
523
+ "RAW: '\\n 年齢下限 / Age Minimum '\n",
524
+ "NORMALIZED: '年齢下限 / Age Minimum'\n",
525
+ "-----\n",
526
+ "RAW: '\\n 年齢上限 / Age Maximum '\n",
527
+ "NORMALIZED: '年齢上限 / Age Maximum'\n",
528
+ "-----\n",
529
+ "RAW: '\\n 性別 / Gender '\n",
530
+ "NORMALIZED: '性別 / Gender'\n",
531
+ "-----\n",
532
+ "RAW: '\\n 中止基準 '\n",
533
+ "NORMALIZED: '中止基準'\n",
534
+ "-----\n",
535
+ "RAW: '\\n 対象疾患名 / Health Condition(s) or Problem(s) Studied '\n",
536
+ "NORMALIZED: '対象疾患名 / Health Condition(s) or Problem(s) Studied'\n",
537
+ "-----\n",
538
+ "RAW: '\\n 対象疾患コード / Code '\n",
539
+ "NORMALIZED: '対象疾患コード / Code'\n",
540
+ "-----\n",
541
+ "RAW: '\\n 対象疾患キーワード / Keyword '\n",
542
+ "NORMALIZED: '対象疾患キーワード / Keyword'\n",
543
+ "-----\n",
544
+ "RAW: '\\n 介入の有無 '\n",
545
+ "NORMALIZED: '介入の有無'\n",
546
+ "-----\n",
547
+ "RAW: '\\n 介入の内容 / Intervention(s) '\n",
548
+ "NORMALIZED: '介入の内容 / Intervention(s)'\n",
549
+ "-----\n",
550
+ "RAW: '\\n 介入コード / Code '\n",
551
+ "NORMALIZED: '介入コード / Code'\n",
552
+ "-----\n",
553
+ "RAW: '\\n 介入キーワード /Keyword '\n",
554
+ "NORMALIZED: '介入キーワード /Keyword'\n",
555
+ "-----\n",
556
+ "RAW: '\\n 主たる評価項目 / Primary Outcome(s) '\n",
557
+ "NORMALIZED: '主たる評価項目 / Primary Outcome(s)'\n",
558
+ "-----\n",
559
+ "RAW: '\\n 副次的な評価項目 / Secondary Outcome(s) '\n",
560
+ "NORMALIZED: '副次的な評価項目 / Secondary Outcome(s)'\n",
561
+ "-----\n",
562
+ "RAW: '医薬品、医療機器、再生医療等製品の別'\n",
563
+ "NORMALIZED: '医薬品、医療機器、再生医療等製品の別'\n",
564
+ "-----\n",
565
+ "RAW: '医薬品医療機器等法における未承認、適応外、承認内の別'\n",
566
+ "NORMALIZED: '医薬品医療機器等法における未承認、適応外、承認内の別'\n",
567
+ "-----\n",
568
+ "RAW: '一般名称等'\n",
569
+ "NORMALIZED: '一般名称等'\n",
570
+ "-----\n",
571
+ "RAW: '医薬品'\n",
572
+ "NORMALIZED: '医薬品'\n",
573
+ "-----\n",
574
+ "RAW: '一般名称'\n",
575
+ "NORMALIZED: '一般名称'\n",
576
+ "-----\n",
577
+ "RAW: '販売名(海外製品の場合は国名も記載すること)'\n",
578
+ "NORMALIZED: '販売名(海外製品の場合は国名も記載すること)'\n",
579
+ "-----\n",
580
+ "RAW: '承認番号'\n",
581
+ "NORMALIZED: '承認番号'\n",
582
+ "-----\n",
583
+ "RAW: '被験薬等提供者'\n",
584
+ "NORMALIZED: '被験薬等提供者'\n",
585
+ "-----\n",
586
+ "RAW: '名称'\n",
587
+ "NORMALIZED: '名称'\n",
588
+ "-----\n",
589
+ "RAW: '所在地'\n",
590
+ "NORMALIZED: '所在地'\n",
591
+ "-----\n",
592
+ "RAW: '監査の実施予定の有無'\n",
593
+ "NORMALIZED: '監査の実施予定の有無'\n",
594
+ "-----\n",
595
+ "RAW: '試験等の進捗状況'\n",
596
+ "NORMALIZED: '試験等の進捗状況'\n",
597
+ "-----\n",
598
+ "RAW: '進捗状況'\n",
599
+ "NORMALIZED: '進捗状況'\n",
600
+ "-----\n",
601
+ "RAW: 'Recruitment status'\n",
602
+ "NORMALIZED: 'Recruitment status'\n",
603
+ "-----\n",
604
+ "RAW: '主たる評価項目に係る研究成果'\n",
605
+ "NORMALIZED: '主たる評価項目に係る研究成果'\n",
606
+ "-----\n",
607
+ "RAW: 'Summary Results (Primary Outcome Results)'\n",
608
+ "NORMALIZED: 'Summary Results (Primary Outcome Results)'\n",
609
+ "-----\n",
610
+ "RAW: '\\n 研究対象者への補償の有無 '\n",
611
+ "NORMALIZED: '研究対象者への補償の有無'\n",
612
+ "-----\n",
613
+ "RAW: '\\n 補償の内容 '\n",
614
+ "NORMALIZED: '補償の内容'\n",
615
+ "-----\n",
616
+ "RAW: '\\n 保険への加入の有無 '\n",
617
+ "NORMALIZED: '保険への加入の有無'\n",
618
+ "-----\n",
619
+ "RAW: '\\n 保険の補償内容 '\n",
620
+ "NORMALIZED: '保険の補償内容'\n",
621
+ "-----\n",
622
+ "RAW: '\\n 保険以外の補償の内容 '\n",
623
+ "NORMALIZED: '保険以外の補償の内容'\n",
624
+ "-----\n",
625
+ "RAW: '依頼者等の名称'\n",
626
+ "NORMALIZED: '依頼者等の名称'\n",
627
+ "-----\n",
628
+ "RAW: 'Primary Sponsor'\n",
629
+ "NORMALIZED: 'Primary Sponsor'\n",
630
+ "-----\n",
631
+ "RAW: '研究資金提供の有無'\n",
632
+ "NORMALIZED: '研究資金提供の有無'\n",
633
+ "-----\n",
634
+ "RAW: 'Source of Monetary Support'\n",
635
+ "NORMALIZED: 'Source of Monetary Support'\n",
636
+ "-----\n",
637
+ "RAW: '契約締結の有無'\n",
638
+ "NORMALIZED: '契約締結の有無'\n",
639
+ "-----\n",
640
+ "RAW: '契約締結日'\n",
641
+ "NORMALIZED: '契約締結日'\n",
642
+ "-----\n",
643
+ "RAW: '物品提供の有無'\n",
644
+ "NORMALIZED: '物品提供の有無'\n",
645
+ "-----\n",
646
+ "RAW: '物品提供の内容'\n",
647
+ "NORMALIZED: '物品提供の内容'\n",
648
+ "-----\n",
649
+ "RAW: '役務提供の有無'\n",
650
+ "NORMALIZED: '役務提供の有無'\n",
651
+ "-----\n",
652
+ "RAW: '役務提供の内容'\n",
653
+ "NORMALIZED: '役務提供の内容'\n",
654
+ "-----\n",
655
+ "RAW: '研究資金等の提供組織の有無'\n",
656
+ "NORMALIZED: '研究資金等の提供組織の有無'\n",
657
+ "-----\n",
658
+ "RAW: '研究資金等の提供組織名称 / Source of Monetary Support'\n",
659
+ "NORMALIZED: '研究資金等の提供組織名称 / Source of Monetary Support'\n",
660
+ "-----\n",
661
+ "RAW: 'Secondary Sponsorの該当性'\n",
662
+ "NORMALIZED: 'Secondary Sponsorの該当性'\n",
663
+ "-----\n",
664
+ "RAW: '\\n IRBの名称 / Name of IRB '\n",
665
+ "NORMALIZED: 'IRBの名称 / Name of IRB'\n",
666
+ "-----\n",
667
+ "RAW: '\\n 住所 / Address '\n",
668
+ "NORMALIZED: '住所 / Address'\n",
669
+ "-----\n",
670
+ "RAW: '\\n 電話番号 '\n",
671
+ "NORMALIZED: '電話番号'\n",
672
+ "-----\n",
673
+ "RAW: '\\n 電子メールアドレス '\n",
674
+ "NORMALIZED: '電子メールアドレス'\n",
675
+ "-----\n",
676
+ "RAW: '\\n 審査受付番号\\n '\n",
677
+ "NORMALIZED: '審査受付番号'\n",
678
+ "-----\n",
679
+ "RAW: '\\n 当該試験等に対する審査結果 '\n",
680
+ "NORMALIZED: '当該試験等に対する審査結果'\n",
681
+ "-----\n",
682
+ "RAW: '\\n 他の臨床研究登録機関発行の研究番号 '\n",
683
+ "NORMALIZED: '他の臨床研究登録機関発行の研究番号'\n",
684
+ "-----\n",
685
+ "RAW: '\\n 他の臨床研究登録機関の名称 '\n",
686
+ "NORMALIZED: '他の臨床研究登録機関の名称'\n",
687
+ "-----\n",
688
+ "RAW: '\\n Issuing Authority '\n",
689
+ "NORMALIZED: 'Issuing Authority'\n",
690
+ "-----\n",
691
+ "RAW: '\\n 備考 '\n",
692
+ "NORMALIZED: '備考'\n",
693
+ "-----\n",
694
+ "RAW: '\\n 国際共同研究 '\n",
695
+ "NORMALIZED: '国際共同研究'\n",
696
+ "-----\n",
697
+ "RAW: '\\n 遺伝子治療等臨床研究に関する指針(平成27年厚生労働省令第344号)の対象となる試験等 '\n",
698
+ "NORMALIZED: '遺伝子治療等臨床研究に関する指針(平成27年厚生労働省令第344号)の対象となる試験等'\n",
699
+ "-----\n",
700
+ "RAW: '\\n 遺伝子組換え生物等の使用等の規制による生物の多様性の確保に関する法律(平成15年法律第97号)の対象となる薬物を用いる試験等 '\n",
701
+ "NORMALIZED: '遺伝子組換え生物等の使用等の規制による生物の多様性の確保に関する法律(平成15年法律第97号)の対象となる薬物を用いる試験等'\n",
702
+ "-----\n",
703
+ "RAW: '\\n 生物由来製品に指定が見込まれる薬物を用いる試験等 '\n",
704
+ "NORMALIZED: '生物由来製品に指定が見込まれる薬物を用いる試験等'\n",
705
+ "-----\n",
706
+ "RAW: '\\n IPDデータを共有する計画 / Plan to share IPD\\n '\n",
707
+ "NORMALIZED: 'IPDデータを共有する計画 / Plan to share IPD'\n",
708
+ "-----\n",
709
+ "RAW: '\\n 計画の説明 / Plan description\\n '\n",
710
+ "NORMALIZED: '計画の説明 / Plan description'\n",
711
+ "-----\n",
712
+ "RAW: '\\n その他1 '\n",
713
+ "NORMALIZED: 'その他1'\n",
714
+ "-----\n",
715
+ "RAW: '\\n その他2 '\n",
716
+ "NORMALIZED: 'その他2'\n",
717
+ "-----\n",
718
+ "RAW: '\\n その他3 '\n",
719
+ "NORMALIZED: 'その他3'\n",
720
+ "-----\n",
721
+ "RAW: '2-1 その他の添付資料1'\n",
722
+ "NORMALIZED: '2-1 その他の添付資料1'\n",
723
+ "-----\n",
724
+ "RAW: '2-2 その他の添付資料2'\n",
725
+ "NORMALIZED: '2-2 その他の添付資料2'\n"
726
+ ]
727
+ }
728
+ ],
729
+ "source": [
730
+ "for l in soup.find_all('label'):\n",
731
+ " raw_text = l.get_text()\n",
732
+ " normalized = normalize_text(raw_text)\n",
733
+ " print(\"-----\")\n",
734
+ " print(\"RAW:\", repr(raw_text))\n",
735
+ " print(\"NORMALIZED:\", repr(normalized))\n"
736
+ ]
737
+ },
738
+ {
739
+ "cell_type": "code",
740
+ "execution_count": 3,
741
+ "metadata": {},
742
+ "outputs": [
743
+ {
744
+ "name": "stdout",
745
+ "output_type": "stream",
746
+ "text": [
747
+ "FOUND LABEL:\n",
748
+ "NORMALIZED: 対象疾患名\n"
749
+ ]
750
+ }
751
+ ],
752
+ "source": [
753
+ "target_jp = \"対象疾患名\"\n",
754
+ "found_label = None\n",
755
+ "for l in soup.find_all('label'):\n",
756
+ " normalized = normalize_text(l.get_text())\n",
757
+ " if target_jp in normalized:\n",
758
+ " found_label = l\n",
759
+ " print(\"FOUND LABEL:\")\n",
760
+ " print(\"NORMALIZED:\", normalized)\n",
761
+ " break\n",
762
+ "\n",
763
+ "if not found_label:\n",
764
+ " print(\"対象疾患名 を含むラベルが見つかりませんでした。\")\n"
765
+ ]
766
+ },
767
+ {
768
+ "cell_type": "code",
769
+ "execution_count": 4,
770
+ "metadata": {},
771
+ "outputs": [
772
+ {
773
+ "name": "stdout",
774
+ "output_type": "stream",
775
+ "text": [
776
+ "Number of TDs: 1\n",
777
+ "TD[0]: 'ラブドイド腫瘍'\n"
778
+ ]
779
+ }
780
+ ],
781
+ "source": [
782
+ "if found_label:\n",
783
+ " th = found_label.find_parent('th')\n",
784
+ " if th:\n",
785
+ " tr = th.find_parent('tr')\n",
786
+ " if tr:\n",
787
+ " tds = tr.find_all('td')\n",
788
+ " print(\"Number of TDs:\", len(tds))\n",
789
+ " for i, td in enumerate(tds):\n",
790
+ " print(f\"TD[{i}]:\", repr(normalize_text(td.get_text())))\n",
791
+ " else:\n",
792
+ " print(\"Parent <tr> not found.\")\n",
793
+ " else:\n",
794
+ " print(\"Parent <th> not found.\")\n"
795
+ ]
796
+ },
797
+ {
798
+ "cell_type": "code",
799
+ "execution_count": 5,
800
+ "metadata": {},
801
+ "outputs": [],
802
+ "source": [
803
+ "def extract_label_data(label_text, label_en=None):\n",
804
+ " for l in soup.find_all('label'):\n",
805
+ " lt = l.get_text()\n",
806
+ " normalized_lt = normalize_text(lt)\n",
807
+ " if label_text in normalized_lt:\n",
808
+ " # 該当の<label>が見つかった場合の処理\n",
809
+ " th = l.find_parent('th')\n",
810
+ " if not th:\n",
811
+ " return None, None\n",
812
+ " tr = th.find_parent('tr')\n",
813
+ " if not tr:\n",
814
+ " return None, None\n",
815
+ " tds = tr.find_all('td')\n",
816
+ " if len(tds) == 0:\n",
817
+ " return None, None\n",
818
+ " \n",
819
+ " jp_data = normalize_text(tds[0].get_text()) if len(tds) > 0 else None\n",
820
+ " en_data = normalize_text(tds[1].get_text()) if label_en and len(tds) > 1 else None\n",
821
+ " return jp_data, en_data\n",
822
+ " return None, None\n"
823
+ ]
824
+ },
825
+ {
826
+ "cell_type": "code",
827
+ "execution_count": 6,
828
+ "metadata": {},
829
+ "outputs": [
830
+ {
831
+ "data": {
832
+ "text/plain": [
833
+ "('ラブドイド腫瘍', None)"
834
+ ]
835
+ },
836
+ "execution_count": 6,
837
+ "metadata": {},
838
+ "output_type": "execute_result"
839
+ }
840
+ ],
841
+ "source": [
842
+ "extract_label_data(\"対象疾患名\", \"Health Condition(s) or Problem(s) Studied\")"
843
+ ]
844
+ },
845
+ {
846
+ "cell_type": "code",
847
+ "execution_count": 7,
848
+ "metadata": {},
849
+ "outputs": [
850
+ {
851
+ "data": {
852
+ "text/plain": [
853
+ "('ラブドイド腫瘍', None)"
854
+ ]
855
+ },
856
+ "execution_count": 7,
857
+ "metadata": {},
858
+ "output_type": "execute_result"
859
+ }
860
+ ],
861
+ "source": [
862
+ "extract_label_data(\"対象疾患名\", \"Health Condition(s) or Problem(s) Studied\")"
863
+ ]
864
+ },
865
+ {
866
+ "cell_type": "code",
867
+ "execution_count": 8,
868
+ "metadata": {},
869
+ "outputs": [],
870
+ "source": [
871
+ "def extract_label_data(label_text, label_en=None):\n",
872
+ " for l in soup.find_all('label'):\n",
873
+ " lt = l.get_text()\n",
874
+ " normalized_lt = normalize_text(lt)\n",
875
+ " # 日本語だけでなく、英語のフレーズも含めてチェック\n",
876
+ " # label_text + \" / \" + label_en という完全一致に近い形で探索する\n",
877
+ " combined_text = label_text + \" / \" + label_en\n",
878
+ " if combined_text in normalized_lt:\n",
879
+ " # 該当<label>が見つかったら、ここで<th>→<tr>→<td>を辿る\n",
880
+ " th = l.find_parent('th')\n",
881
+ " if not th:\n",
882
+ " return None, None\n",
883
+ " tr = th.find_parent('tr')\n",
884
+ " if not tr:\n",
885
+ " return None, None\n",
886
+ " tds = tr.find_all('td')\n",
887
+ " if len(tds) == 0:\n",
888
+ " return None, None\n",
889
+ "\n",
890
+ " jp_data = normalize_text(tds[0].get_text()) if len(tds) > 0 else None\n",
891
+ " en_data = normalize_text(tds[1].get_text()) if label_en and len(tds) > 1 else None\n",
892
+ " return jp_data, en_data\n",
893
+ " return None, None\n"
894
+ ]
895
+ },
896
+ {
897
+ "cell_type": "code",
898
+ "execution_count": 9,
899
+ "metadata": {},
900
+ "outputs": [
901
+ {
902
+ "data": {
903
+ "text/plain": [
904
+ "('ラブドイド腫瘍', 'rhabdoid tumor')"
905
+ ]
906
+ },
907
+ "execution_count": 9,
908
+ "metadata": {},
909
+ "output_type": "execute_result"
910
+ }
911
+ ],
912
+ "source": [
913
+ "extract_label_data(\"対象疾患名\", \"Health Condition(s) or Problem(s) Studied\")"
914
+ ]
915
+ },
916
+ {
917
+ "cell_type": "code",
918
+ "execution_count": 10,
919
+ "metadata": {},
920
+ "outputs": [],
921
+ "source": [
922
+ "def extract_label_data_all(label_text, label_en):\n",
923
+ " results = []\n",
924
+ " combined_text = label_text + \" / \" + label_en\n",
925
+ " for l in soup.find_all('label'):\n",
926
+ " normalized_lt = normalize_text(l.get_text())\n",
927
+ " if combined_text in normalized_lt:\n",
928
+ " th = l.find_parent('th')\n",
929
+ " if not th:\n",
930
+ " continue\n",
931
+ " tr = th.find_parent('tr')\n",
932
+ " if not tr:\n",
933
+ " continue\n",
934
+ " tds = tr.find_all('td')\n",
935
+ " if len(tds) < 2:\n",
936
+ " continue\n",
937
+ " jp_data = normalize_text(tds[0].get_text())\n",
938
+ " en_data = normalize_text(tds[1].get_text())\n",
939
+ " results.append((jp_data, en_data))\n",
940
+ " return results"
941
+ ]
942
+ },
943
+ {
944
+ "cell_type": "code",
945
+ "execution_count": 11,
946
+ "metadata": {},
947
+ "outputs": [
948
+ {
949
+ "data": {
950
+ "text/plain": [
951
+ "[('ラブドイド腫瘍', 'rhabdoid tumor')]"
952
+ ]
953
+ },
954
+ "execution_count": 11,
955
+ "metadata": {},
956
+ "output_type": "execute_result"
957
+ }
958
+ ],
959
+ "source": [
960
+ "extract_label_data_all(\"対象疾患名\", \"Health Condition(s) or Problem(s) Studied\") "
961
+ ]
962
+ },
963
+ {
964
+ "cell_type": "code",
965
+ "execution_count": 12,
966
+ "metadata": {},
967
+ "outputs": [],
968
+ "source": [
969
+ "all_results = extract_label_data_all(\"対象疾患名\", \"Health Condition(s) or Problem(s) Studied\")\n",
970
+ "for jp, en in all_results:\n",
971
+ " if \"H3 K27M\" in jp and \"Newly Diagnosed\" in en:\n",
972
+ " print(\"Found desired pair:\", jp, en)\n",
973
+ " # ここでbreakするなり、returnするなりして終了\n"
974
+ ]
975
+ },
976
+ {
977
+ "cell_type": "code",
978
+ "execution_count": null,
979
+ "metadata": {},
980
+ "outputs": [],
981
+ "source": []
982
+ }
983
+ ],
984
+ "metadata": {
985
+ "kernelspec": {
986
+ "display_name": "gradio",
987
+ "language": "python",
988
+ "name": "python3"
989
+ },
990
+ "language_info": {
991
+ "codemirror_mode": {
992
+ "name": "ipython",
993
+ "version": 3
994
+ },
995
+ "file_extension": ".py",
996
+ "mimetype": "text/x-python",
997
+ "name": "python",
998
+ "nbconvert_exporter": "python",
999
+ "pygments_lexer": "ipython3",
1000
+ "version": "3.12.3"
1001
+ }
1002
+ },
1003
+ "nbformat": 4,
1004
+ "nbformat_minor": 2
1005
+ }
dev_JRCT_api/dev_web_scraber.ipynb ADDED
The diff for this file is too large to render. See raw diff
 
dev_JRCT_api/mergedev.ipynb ADDED
@@ -0,0 +1,743 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": 1,
6
+ "metadata": {},
7
+ "outputs": [],
8
+ "source": [
9
+ "import pandas as pd"
10
+ ]
11
+ },
12
+ {
13
+ "cell_type": "code",
14
+ "execution_count": 8,
15
+ "metadata": {},
16
+ "outputs": [],
17
+ "source": [
18
+ "detaildf = pd.read_csv('../ClinicalTrialCSV/JRCT20241128Cancer.csv', index_col=0)\n",
19
+ "targetdf = pd.read_csv('../ClinicalTrialCSV/20241128Target.csv',index_col=0)"
20
+ ]
21
+ },
22
+ {
23
+ "cell_type": "code",
24
+ "execution_count": 9,
25
+ "metadata": {},
26
+ "outputs": [
27
+ {
28
+ "data": {
29
+ "text/html": [
30
+ "<div>\n",
31
+ "<style scoped>\n",
32
+ " .dataframe tbody tr th:only-of-type {\n",
33
+ " vertical-align: middle;\n",
34
+ " }\n",
35
+ "\n",
36
+ " .dataframe tbody tr th {\n",
37
+ " vertical-align: top;\n",
38
+ " }\n",
39
+ "\n",
40
+ " .dataframe thead th {\n",
41
+ " text-align: right;\n",
42
+ " }\n",
43
+ "</style>\n",
44
+ "<table border=\"1\" class=\"dataframe\">\n",
45
+ " <thead>\n",
46
+ " <tr style=\"text-align: right;\">\n",
47
+ " <th></th>\n",
48
+ " <th>JRCT ID</th>\n",
49
+ " <th>Target</th>\n",
50
+ " </tr>\n",
51
+ " </thead>\n",
52
+ " <tbody>\n",
53
+ " <tr>\n",
54
+ " <th>0</th>\n",
55
+ " <td>jRCT1032240511</td>\n",
56
+ " <td>がん患者の疼痛</td>\n",
57
+ " </tr>\n",
58
+ " <tr>\n",
59
+ " <th>1</th>\n",
60
+ " <td>jRCT1032240506</td>\n",
61
+ " <td>卵巣がん</td>\n",
62
+ " </tr>\n",
63
+ " <tr>\n",
64
+ " <th>2</th>\n",
65
+ " <td>jRCT1042240125</td>\n",
66
+ " <td>膵嚢胞、慢性膵炎、家族性膵がん及び遺伝性膵がん家族歴を有する症例、糖尿病症例(新規発症・急性...</td>\n",
67
+ " </tr>\n",
68
+ " <tr>\n",
69
+ " <th>3</th>\n",
70
+ " <td>jRCT1052240186</td>\n",
71
+ " <td>肺がん</td>\n",
72
+ " </tr>\n",
73
+ " <tr>\n",
74
+ " <th>4</th>\n",
75
+ " <td>jRCT1030240477</td>\n",
76
+ " <td>固形がん</td>\n",
77
+ " </tr>\n",
78
+ " <tr>\n",
79
+ " <th>...</th>\n",
80
+ " <td>...</td>\n",
81
+ " <td>...</td>\n",
82
+ " </tr>\n",
83
+ " <tr>\n",
84
+ " <th>231</th>\n",
85
+ " <td>jRCT2080224549</td>\n",
86
+ " <td>進行性悪性黒色腫</td>\n",
87
+ " </tr>\n",
88
+ " <tr>\n",
89
+ " <th>232</th>\n",
90
+ " <td>jRCTs051180046</td>\n",
91
+ " <td>乳がん</td>\n",
92
+ " </tr>\n",
93
+ " <tr>\n",
94
+ " <th>233</th>\n",
95
+ " <td>jRCT2091220364</td>\n",
96
+ " <td>ALK遺伝子異常を有する希少がん</td>\n",
97
+ " </tr>\n",
98
+ " <tr>\n",
99
+ " <th>234</th>\n",
100
+ " <td>jRCT2080223823</td>\n",
101
+ " <td>Part1:固形がん\\nPart2:頭頸部がん,尿路上皮がん</td>\n",
102
+ " </tr>\n",
103
+ " <tr>\n",
104
+ " <th>235</th>\n",
105
+ " <td>jRCT1090220224</td>\n",
106
+ " <td>下腹部消化器がん</td>\n",
107
+ " </tr>\n",
108
+ " </tbody>\n",
109
+ "</table>\n",
110
+ "<p>236 rows × 2 columns</p>\n",
111
+ "</div>"
112
+ ],
113
+ "text/plain": [
114
+ " JRCT ID Target\n",
115
+ "0 jRCT1032240511 がん患者の疼痛\n",
116
+ "1 jRCT1032240506 卵巣がん\n",
117
+ "2 jRCT1042240125 膵嚢胞、慢性膵炎、家族性膵がん及び遺伝性膵がん家族歴を有する症例、糖尿病症例(新規発症・急性...\n",
118
+ "3 jRCT1052240186 肺がん\n",
119
+ "4 jRCT1030240477 固形がん\n",
120
+ ".. ... ...\n",
121
+ "231 jRCT2080224549 進行性悪性黒色腫\n",
122
+ "232 jRCTs051180046 乳がん\n",
123
+ "233 jRCT2091220364 ALK遺伝子異常を有する希少がん\n",
124
+ "234 jRCT2080223823 Part1:固形がん\\nPart2:頭頸部がん,尿路上皮がん\n",
125
+ "235 jRCT1090220224 下腹部消化器がん \n",
126
+ "\n",
127
+ "[236 rows x 2 columns]"
128
+ ]
129
+ },
130
+ "execution_count": 9,
131
+ "metadata": {},
132
+ "output_type": "execute_result"
133
+ }
134
+ ],
135
+ "source": [
136
+ "targetdf"
137
+ ]
138
+ },
139
+ {
140
+ "cell_type": "code",
141
+ "execution_count": 10,
142
+ "metadata": {},
143
+ "outputs": [],
144
+ "source": [
145
+ "merged_df = pd.merge(targetdf, detaildf, on=\"JRCT ID\", how=\"inner\")"
146
+ ]
147
+ },
148
+ {
149
+ "cell_type": "code",
150
+ "execution_count": 11,
151
+ "metadata": {},
152
+ "outputs": [
153
+ {
154
+ "data": {
155
+ "text/html": [
156
+ "<div>\n",
157
+ "<style scoped>\n",
158
+ " .dataframe tbody tr th:only-of-type {\n",
159
+ " vertical-align: middle;\n",
160
+ " }\n",
161
+ "\n",
162
+ " .dataframe tbody tr th {\n",
163
+ " vertical-align: top;\n",
164
+ " }\n",
165
+ "\n",
166
+ " .dataframe thead th {\n",
167
+ " text-align: right;\n",
168
+ " }\n",
169
+ "</style>\n",
170
+ "<table border=\"1\" class=\"dataframe\">\n",
171
+ " <thead>\n",
172
+ " <tr style=\"text-align: right;\">\n",
173
+ " <th></th>\n",
174
+ " <th>JRCT ID</th>\n",
175
+ " <th>Target</th>\n",
176
+ " <th>Title</th>\n",
177
+ " <th>研究・治験の目的</th>\n",
178
+ " <th>試験の種類</th>\n",
179
+ " <th>無作為化</th>\n",
180
+ " <th>盲検化</th>\n",
181
+ " <th>対照</th>\n",
182
+ " <th>割付け</th>\n",
183
+ " <th>研究目的</th>\n",
184
+ " <th>...</th>\n",
185
+ " <th>assignment</th>\n",
186
+ " <th>purpose</th>\n",
187
+ " <th>Inclusion Criteria</th>\n",
188
+ " <th>Exclusion Criteria</th>\n",
189
+ " <th>Age Minimum</th>\n",
190
+ " <th>Age Maximum</th>\n",
191
+ " <th>Gender</th>\n",
192
+ " <th>Discontinuation Criteria</th>\n",
193
+ " <th>Keyword</th>\n",
194
+ " <th>Intervention(s)</th>\n",
195
+ " </tr>\n",
196
+ " </thead>\n",
197
+ " <tbody>\n",
198
+ " <tr>\n",
199
+ " <th>0</th>\n",
200
+ " <td>jRCT1032240511</td>\n",
201
+ " <td>がん患者の疼痛</td>\n",
202
+ " <td>進行がん患者の痛みに対する交番磁界治療器の至適な治療時間の条件に関する多施設共同研究</td>\n",
203
+ " <td>交番磁界治療器を用いた自宅での疼痛治療について、進行がん患者が治療の継続が可能と考える治療時...</td>\n",
204
+ " <td>介入研究</td>\n",
205
+ " <td>単一群</td>\n",
206
+ " <td>非盲検</td>\n",
207
+ " <td>非対照</td>\n",
208
+ " <td>単群比較</td>\n",
209
+ " <td>その他</td>\n",
210
+ " <td>...</td>\n",
211
+ " <td>single assignment</td>\n",
212
+ " <td>other</td>\n",
213
+ " <td>1. Age 18 years or older on the day of consent...</td>\n",
214
+ " <td>1. There is a skin disorder in the painful are...</td>\n",
215
+ " <td>18age old over</td>\n",
216
+ " <td>No limit</td>\n",
217
+ " <td>Both</td>\n",
218
+ " <td>NaN</td>\n",
219
+ " <td>NaN</td>\n",
220
+ " <td>Four pads of the alternating magnetic field th...</td>\n",
221
+ " </tr>\n",
222
+ " <tr>\n",
223
+ " <th>1</th>\n",
224
+ " <td>jRCT1032240506</td>\n",
225
+ " <td>卵巣がん</td>\n",
226
+ " <td>卵巣腫瘍手術での術中低圧換気介入による術中出血量に及ぼす影響:ランダム化比較試験</td>\n",
227
+ " <td>卵巣悪性腫瘍手術は高侵襲な手術であり輸血率の高い手術である。一方で輸血により癌の予後が悪化す...</td>\n",
228
+ " <td>介入研究</td>\n",
229
+ " <td>無作為化比較</td>\n",
230
+ " <td>単盲検</td>\n",
231
+ " <td>実薬(治療)対照</td>\n",
232
+ " <td>並行群間比較</td>\n",
233
+ " <td>治療</td>\n",
234
+ " <td>...</td>\n",
235
+ " <td>parallel assignment</td>\n",
236
+ " <td>treatment purpose</td>\n",
237
+ " <td>Patients undergoing ovarian cancer surgery at ...</td>\n",
238
+ " <td>1.Minors\\n\\r\\n2.Emergency surgery\\n\\r\\n3.Patie...</td>\n",
239
+ " <td>18age old over</td>\n",
240
+ " <td>100age old not</td>\n",
241
+ " <td>Female</td>\n",
242
+ " <td>NaN</td>\n",
243
+ " <td>NaN</td>\n",
244
+ " <td>Low-pressure ventilation and low venous pressu...</td>\n",
245
+ " </tr>\n",
246
+ " <tr>\n",
247
+ " <th>2</th>\n",
248
+ " <td>jRCT1042240125</td>\n",
249
+ " <td>膵嚢胞、慢性膵炎、家族性膵がん及び遺伝性膵がん家族歴を有する症例、糖尿病症例(新規発症・急性...</td>\n",
250
+ " <td>Liquid Biopsyによる膵がん早期診断法の開発</td>\n",
251
+ " <td>本研究では、膵がん高危険群である膵のう胞性病変等を対象にサーベイランスプログラムを立ち上げ、...</td>\n",
252
+ " <td>観察研究</td>\n",
253
+ " <td>単一群</td>\n",
254
+ " <td>非盲検</td>\n",
255
+ " <td>非対照</td>\n",
256
+ " <td>単群比較</td>\n",
257
+ " <td>診断</td>\n",
258
+ " <td>...</td>\n",
259
+ " <td>single assignment</td>\n",
260
+ " <td>diagnostic purpose</td>\n",
261
+ " <td>1. Cases diagnosed as high-risk group for panc...</td>\n",
262
+ " <td>1. Post-Pancreatic Surgery Cases\\n\\r\\n2. Cases...</td>\n",
263
+ " <td>20age old over</td>\n",
264
+ " <td>No limit</td>\n",
265
+ " <td>Both</td>\n",
266
+ " <td>NaN</td>\n",
267
+ " <td>NaN</td>\n",
268
+ " <td>NaN</td>\n",
269
+ " </tr>\n",
270
+ " <tr>\n",
271
+ " <th>3</th>\n",
272
+ " <td>jRCT1052240186</td>\n",
273
+ " <td>肺がん</td>\n",
274
+ " <td>トリモーダルプレハビリテーションが周術期の睡眠に及ぼす影響の検討:ランダム化比較試験</td>\n",
275
+ " <td>術前の介入により、介入群の方が対照群に比べて入院直後の睡眠効率が良いかどうかを検討すること</td>\n",
276
+ " <td>介入研究</td>\n",
277
+ " <td>無作為化比較</td>\n",
278
+ " <td>非盲検</td>\n",
279
+ " <td>無治療対照/標準治療対照</td>\n",
280
+ " <td>単群比較</td>\n",
281
+ " <td>予防</td>\n",
282
+ " <td>...</td>\n",
283
+ " <td>single assignment</td>\n",
284
+ " <td>prevention purpose</td>\n",
285
+ " <td>1) Patients aged 20 and over \\n\\r\\n2) Lung can...</td>\n",
286
+ " <td>1) Patients who do not agree \\n\\r\\n2) Patients...</td>\n",
287
+ " <td>20age old over</td>\n",
288
+ " <td>No limit</td>\n",
289
+ " <td>Both</td>\n",
290
+ " <td>NaN</td>\n",
291
+ " <td>Malignancy</td>\n",
292
+ " <td>Intervention for the Experimental Group:\\n\\r\\n...</td>\n",
293
+ " </tr>\n",
294
+ " <tr>\n",
295
+ " <th>4</th>\n",
296
+ " <td>jRCT1030240477</td>\n",
297
+ " <td>固形がん</td>\n",
298
+ " <td>プレシジョンオンコロジーを加速するためのスコアリングシステムを開発する研究</td>\n",
299
+ " <td>本研究の目的は、がん遺伝子パネル検査後、国立がん研究センター中央病院を受診した患者のデータを...</td>\n",
300
+ " <td>観察研究</td>\n",
301
+ " <td>NaN</td>\n",
302
+ " <td>NaN</td>\n",
303
+ " <td>NaN</td>\n",
304
+ " <td>NaN</td>\n",
305
+ " <td>その他</td>\n",
306
+ " <td>...</td>\n",
307
+ " <td>NaN</td>\n",
308
+ " <td>other</td>\n",
309
+ " <td>1. Physicians who performed cancer gene panel ...</td>\n",
310
+ " <td>Physicians deemed inappropriate by the Princip...</td>\n",
311
+ " <td>No limit</td>\n",
312
+ " <td>No limit</td>\n",
313
+ " <td>Both</td>\n",
314
+ " <td>NaN</td>\n",
315
+ " <td>Genotype-matched trial</td>\n",
316
+ " <td>NaN</td>\n",
317
+ " </tr>\n",
318
+ " <tr>\n",
319
+ " <th>...</th>\n",
320
+ " <td>...</td>\n",
321
+ " <td>...</td>\n",
322
+ " <td>...</td>\n",
323
+ " <td>...</td>\n",
324
+ " <td>...</td>\n",
325
+ " <td>...</td>\n",
326
+ " <td>...</td>\n",
327
+ " <td>...</td>\n",
328
+ " <td>...</td>\n",
329
+ " <td>...</td>\n",
330
+ " <td>...</td>\n",
331
+ " <td>...</td>\n",
332
+ " <td>...</td>\n",
333
+ " <td>...</td>\n",
334
+ " <td>...</td>\n",
335
+ " <td>...</td>\n",
336
+ " <td>...</td>\n",
337
+ " <td>...</td>\n",
338
+ " <td>...</td>\n",
339
+ " <td>...</td>\n",
340
+ " <td>...</td>\n",
341
+ " </tr>\n",
342
+ " <tr>\n",
343
+ " <th>231</th>\n",
344
+ " <td>jRCT2080224549</td>\n",
345
+ " <td>進行性悪性黒色腫</td>\n",
346
+ " <td>進行性悪性黒色腫患者を対象としたGEN0101の皮内投与と、ペムブロリズマブ(抗PD-1抗体...</td>\n",
347
+ " <td>NaN</td>\n",
348
+ " <td>介入研究</td>\n",
349
+ " <td>NaN</td>\n",
350
+ " <td>NaN</td>\n",
351
+ " <td>NaN</td>\n",
352
+ " <td>NaN</td>\n",
353
+ " <td>NaN</td>\n",
354
+ " <td>...</td>\n",
355
+ " <td>NaN</td>\n",
356
+ " <td>NaN</td>\n",
357
+ " <td>NaN</td>\n",
358
+ " <td>NaN</td>\n",
359
+ " <td>NaN</td>\n",
360
+ " <td>NaN</td>\n",
361
+ " <td>&lt;p&gt;Both&lt;/p&gt;</td>\n",
362
+ " <td>NaN</td>\n",
363
+ " <td>NaN</td>\n",
364
+ " <td>investigational material(s)&lt;br&gt;\\nGeneric name ...</td>\n",
365
+ " </tr>\n",
366
+ " <tr>\n",
367
+ " <th>232</th>\n",
368
+ " <td>jRCTs051180046</td>\n",
369
+ " <td>乳がん</td>\n",
370
+ " <td>造影CT及び造影MRIを用いた乳がんセンチネルリンパ節転移診断による腋窩手術回避に関する研究</td>\n",
371
+ " <td>原発乳がん患者に対して、造影CTとMRIを用いた転移診断により、転移陰性例に腋窩手術を安全に...</td>\n",
372
+ " <td>介入研究</td>\n",
373
+ " <td>単一群</td>\n",
374
+ " <td>非盲検</td>\n",
375
+ " <td>ヒストリカルコントロール</td>\n",
376
+ " <td>単群比較</td>\n",
377
+ " <td>治療</td>\n",
378
+ " <td>...</td>\n",
379
+ " <td>single assignment</td>\n",
380
+ " <td>treatment purpose</td>\n",
381
+ " <td>1.T1-2 primary breast cancer\\n\\r\\n2.Clinically...</td>\n",
382
+ " <td>1.Contraindication of contrast agents\\n\\r\\n2.P...</td>\n",
383
+ " <td>18age old over</td>\n",
384
+ " <td>No limit</td>\n",
385
+ " <td>Both</td>\n",
386
+ " <td>NaN</td>\n",
387
+ " <td>Breast cancer</td>\n",
388
+ " <td>Identify the sentinel node by contrast-enhance...</td>\n",
389
+ " </tr>\n",
390
+ " <tr>\n",
391
+ " <th>233</th>\n",
392
+ " <td>jRCT2091220364</td>\n",
393
+ " <td>ALK遺伝子異常を有する希少がん</td>\n",
394
+ " <td>ALK遺伝子異常を有する希少がんに対するアレクチニブの医師主導治験</td>\n",
395
+ " <td>NaN</td>\n",
396
+ " <td>NaN</td>\n",
397
+ " <td>NaN</td>\n",
398
+ " <td>非盲検</td>\n",
399
+ " <td>無対照</td>\n",
400
+ " <td>NaN</td>\n",
401
+ " <td>NaN</td>\n",
402
+ " <td>...</td>\n",
403
+ " <td>NaN</td>\n",
404
+ " <td>NaN</td>\n",
405
+ " <td>NaN</td>\n",
406
+ " <td>NaN</td>\n",
407
+ " <td>Age 7Month Week Day Hour over</td>\n",
408
+ " <td>Age Month Week Day Hour No limit</td>\n",
409
+ " <td>Both</td>\n",
410
+ " <td>NaN</td>\n",
411
+ " <td>NaN</td>\n",
412
+ " <td>Intervention type:DRUG\\n\\nName of intervention...</td>\n",
413
+ " </tr>\n",
414
+ " <tr>\n",
415
+ " <th>234</th>\n",
416
+ " <td>jRCT2080223823</td>\n",
417
+ " <td>Part1:固形がん\\nPart2:頭頸部がん,尿路上皮がん</td>\n",
418
+ " <td>固形がん患者を対象としたE7130 の臨床第1相試験</td>\n",
419
+ " <td>NaN</td>\n",
420
+ " <td>介入研究</td>\n",
421
+ " <td>NaN</td>\n",
422
+ " <td>NaN</td>\n",
423
+ " <td>NaN</td>\n",
424
+ " <td>NaN</td>\n",
425
+ " <td>NaN</td>\n",
426
+ " <td>...</td>\n",
427
+ " <td>NaN</td>\n",
428
+ " <td>NaN</td>\n",
429
+ " <td>NaN</td>\n",
430
+ " <td>NaN</td>\n",
431
+ " <td>NaN</td>\n",
432
+ " <td>NaN</td>\n",
433
+ " <td>&lt;p&gt;Both&lt;/p&gt;</td>\n",
434
+ " <td>NaN</td>\n",
435
+ " <td>NaN</td>\n",
436
+ " <td>investigational material(s)&lt;br&gt;\\nGeneric name ...</td>\n",
437
+ " </tr>\n",
438
+ " <tr>\n",
439
+ " <th>235</th>\n",
440
+ " <td>jRCT1090220224</td>\n",
441
+ " <td>下腹部消化器がん</td>\n",
442
+ " <td>体幹部神経ブロック後のレボブピバカインの血中濃度の変化</td>\n",
443
+ " <td>NaN</td>\n",
444
+ " <td>NaN</td>\n",
445
+ " <td>NaN</td>\n",
446
+ " <td>非盲検</td>\n",
447
+ " <td>無対照</td>\n",
448
+ " <td>NaN</td>\n",
449
+ " <td>NaN</td>\n",
450
+ " <td>...</td>\n",
451
+ " <td>NaN</td>\n",
452
+ " <td>NaN</td>\n",
453
+ " <td>NaN</td>\n",
454
+ " <td>NaN</td>\n",
455
+ " <td>20Age Month Week Day Hour over</td>\n",
456
+ " <td>Age Month Week Day Hour No limit</td>\n",
457
+ " <td>Both</td>\n",
458
+ " <td>NaN</td>\n",
459
+ " <td>NaN</td>\n",
460
+ " <td>Intervention type:\\n\\nName of intervention:\\n\\...</td>\n",
461
+ " </tr>\n",
462
+ " </tbody>\n",
463
+ "</table>\n",
464
+ "<p>236 rows × 33 columns</p>\n",
465
+ "</div>"
466
+ ],
467
+ "text/plain": [
468
+ " JRCT ID Target \\\n",
469
+ "0 jRCT1032240511 がん患者の疼痛 \n",
470
+ "1 jRCT1032240506 卵巣がん \n",
471
+ "2 jRCT1042240125 膵嚢胞、慢性膵炎、家族性膵がん及び遺伝性膵がん家族歴を有する症例、糖尿病症例(新規発症・急性... \n",
472
+ "3 jRCT1052240186 肺がん \n",
473
+ "4 jRCT1030240477 固形がん \n",
474
+ ".. ... ... \n",
475
+ "231 jRCT2080224549 進行性悪性黒色腫 \n",
476
+ "232 jRCTs051180046 乳がん \n",
477
+ "233 jRCT2091220364 ALK遺伝子異常を有する希少がん \n",
478
+ "234 jRCT2080223823 Part1:固形がん\\nPart2:頭頸部がん,尿路上皮がん \n",
479
+ "235 jRCT1090220224 下腹部消化器がん \n",
480
+ "\n",
481
+ " Title \\\n",
482
+ "0 進行がん患���の痛みに対する交番磁界治療器の至適な治療時間の条件に関する多施設共同研究 \n",
483
+ "1 卵巣腫瘍手術での術中低圧換気介入による術中出血量に及ぼす影響:ランダム化比較試験 \n",
484
+ "2 Liquid Biopsyによる膵がん早期診断法の開発 \n",
485
+ "3 トリモーダルプレハビリテーションが周術期の睡眠に及ぼす影響の検討:ランダム化比較試験 \n",
486
+ "4 プレシジョンオンコロジーを加速するためのスコアリングシステムを開発する研究 \n",
487
+ ".. ... \n",
488
+ "231 進行性悪性黒色腫患者を対象としたGEN0101の皮内投与と、ペムブロリズマブ(抗PD-1抗体... \n",
489
+ "232 造影CT及び造影MRIを用いた乳がんセンチネルリンパ節転移診断による腋窩手術回避に関する研究 \n",
490
+ "233 ALK遺伝子異常を有する希少がんに対するアレクチニブの医師主導治験 \n",
491
+ "234 固形がん患者を対象としたE7130 の臨床第1相試験 \n",
492
+ "235 体幹部神経ブロック後のレボブピバカインの血中濃度の変化 \n",
493
+ "\n",
494
+ " 研究・治験の目的 試験の種類 無作為化 盲検化 \\\n",
495
+ "0 交番磁界治療器を用いた自宅での疼痛治療について、進行がん患者が治療の継続が可能と考える治療時... 介入研究 単一群 非盲検 \n",
496
+ "1 卵巣悪性腫瘍手術は高侵襲な手術であり輸血率の高い手術である。一方で輸血により癌の予後が悪化す... 介入研究 無作為化比較 単盲検 \n",
497
+ "2 本研究では、膵がん高危険群である膵のう胞性病変等を対象にサーベイランスプログラムを立ち上げ、... 観察研究 単一群 非盲検 \n",
498
+ "3 術前の介入により、介入群の方が対照群に比べて入院直後の睡眠効率が良いかどうかを検討すること 介入研究 無作為化比較 非盲検 \n",
499
+ "4 本研究の目的は、がん遺伝子パネル検査後、国立がん研究センター中央病院を受診した患者のデータを... 観察研究 NaN NaN \n",
500
+ ".. ... ... ... ... \n",
501
+ "231 NaN 介入研究 NaN NaN \n",
502
+ "232 原発乳がん患者に対して、造影CTとMRIを用いた転移診断により、転移陰性例に腋窩手術を安全に... 介入研究 単一群 非盲検 \n",
503
+ "233 NaN NaN NaN 非盲検 \n",
504
+ "234 NaN 介入研究 NaN NaN \n",
505
+ "235 NaN NaN NaN 非盲検 \n",
506
+ "\n",
507
+ " 対照 割付け 研究目的 ... assignment purpose \\\n",
508
+ "0 非対照 単群比較 その他 ... single assignment other \n",
509
+ "1 実薬(治療)対照 並行群間比較 治療 ... parallel assignment treatment purpose \n",
510
+ "2 非対照 単群比較 診断 ... single assignment diagnostic purpose \n",
511
+ "3 無治療対照/標準治療対照 単群比較 予防 ... single assignment prevention purpose \n",
512
+ "4 NaN NaN その他 ... NaN other \n",
513
+ ".. ... ... ... ... ... ... \n",
514
+ "231 NaN NaN NaN ... NaN NaN \n",
515
+ "232 ヒストリカルコントロール 単群比較 治療 ... single assignment treatment purpose \n",
516
+ "233 無対照 NaN NaN ... NaN NaN \n",
517
+ "234 NaN NaN NaN ... NaN NaN \n",
518
+ "235 無対照 NaN NaN ... NaN NaN \n",
519
+ "\n",
520
+ " Inclusion Criteria \\\n",
521
+ "0 1. Age 18 years or older on the day of consent... \n",
522
+ "1 Patients undergoing ovarian cancer surgery at ... \n",
523
+ "2 1. Cases diagnosed as high-risk group for panc... \n",
524
+ "3 1) Patients aged 20 and over \\n\\r\\n2) Lung can... \n",
525
+ "4 1. Physicians who performed cancer gene panel ... \n",
526
+ ".. ... \n",
527
+ "231 NaN \n",
528
+ "232 1.T1-2 primary breast cancer\\n\\r\\n2.Clinically... \n",
529
+ "233 NaN \n",
530
+ "234 NaN \n",
531
+ "235 NaN \n",
532
+ "\n",
533
+ " Exclusion Criteria \\\n",
534
+ "0 1. There is a skin disorder in the painful are... \n",
535
+ "1 1.Minors\\n\\r\\n2.Emergency surgery\\n\\r\\n3.Patie... \n",
536
+ "2 1. Post-Pancreatic Surgery Cases\\n\\r\\n2. Cases... \n",
537
+ "3 1) Patients who do not agree \\n\\r\\n2) Patients... \n",
538
+ "4 Physicians deemed inappropriate by the Princip... \n",
539
+ ".. ... \n",
540
+ "231 NaN \n",
541
+ "232 1.Contraindication of contrast agents\\n\\r\\n2.P... \n",
542
+ "233 NaN \n",
543
+ "234 NaN \n",
544
+ "235 NaN \n",
545
+ "\n",
546
+ " Age Minimum Age Maximum \\\n",
547
+ "0 18age old over No limit \n",
548
+ "1 18age old over 100age old not \n",
549
+ "2 20age old over No limit \n",
550
+ "3 20age old over No limit \n",
551
+ "4 No limit No limit \n",
552
+ ".. ... ... \n",
553
+ "231 NaN NaN \n",
554
+ "232 18age old over No limit \n",
555
+ "233 Age 7Month Week Day Hour over Age Month Week Day Hour No limit \n",
556
+ "234 NaN NaN \n",
557
+ "235 20Age Month Week Day Hour over Age Month Week Day Hour No limit \n",
558
+ "\n",
559
+ " Gender Discontinuation Criteria Keyword \\\n",
560
+ "0 Both NaN NaN \n",
561
+ "1 Female NaN NaN \n",
562
+ "2 Both NaN NaN \n",
563
+ "3 Both NaN Malignancy \n",
564
+ "4 Both NaN Genotype-matched trial \n",
565
+ ".. ... ... ... \n",
566
+ "231 <p>Both</p> NaN NaN \n",
567
+ "232 Both NaN Breast cancer \n",
568
+ "233 Both NaN NaN \n",
569
+ "234 <p>Both</p> NaN NaN \n",
570
+ "235 Both NaN NaN \n",
571
+ "\n",
572
+ " Intervention(s) \n",
573
+ "0 Four pads of the alternating magnetic field th... \n",
574
+ "1 Low-pressure ventilation and low venous pressu... \n",
575
+ "2 NaN \n",
576
+ "3 Intervention for the Experimental Group:\\n\\r\\n... \n",
577
+ "4 NaN \n",
578
+ ".. ... \n",
579
+ "231 investigational material(s)<br>\\nGeneric name ... \n",
580
+ "232 Identify the sentinel node by contrast-enhance... \n",
581
+ "233 Intervention type:DRUG\\n\\nName of intervention... \n",
582
+ "234 investigational material(s)<br>\\nGeneric name ... \n",
583
+ "235 Intervention type:\\n\\nName of intervention:\\n\\... \n",
584
+ "\n",
585
+ "[236 rows x 33 columns]"
586
+ ]
587
+ },
588
+ "execution_count": 11,
589
+ "metadata": {},
590
+ "output_type": "execute_result"
591
+ }
592
+ ],
593
+ "source": [
594
+ "merged_df"
595
+ ]
596
+ },
597
+ {
598
+ "cell_type": "code",
599
+ "execution_count": 12,
600
+ "metadata": {},
601
+ "outputs": [
602
+ {
603
+ "data": {
604
+ "text/html": [
605
+ "<div>\n",
606
+ "<style scoped>\n",
607
+ " .dataframe tbody tr th:only-of-type {\n",
608
+ " vertical-align: middle;\n",
609
+ " }\n",
610
+ "\n",
611
+ " .dataframe tbody tr th {\n",
612
+ " vertical-align: top;\n",
613
+ " }\n",
614
+ "\n",
615
+ " .dataframe thead th {\n",
616
+ " text-align: right;\n",
617
+ " }\n",
618
+ "</style>\n",
619
+ "<table border=\"1\" class=\"dataframe\">\n",
620
+ " <thead>\n",
621
+ " <tr style=\"text-align: right;\">\n",
622
+ " <th></th>\n",
623
+ " <th>JRCT ID</th>\n",
624
+ " <th>Target</th>\n",
625
+ " </tr>\n",
626
+ " </thead>\n",
627
+ " <tbody>\n",
628
+ " <tr>\n",
629
+ " <th>0</th>\n",
630
+ " <td>jRCT1032240511</td>\n",
631
+ " <td>がん患者の疼痛</td>\n",
632
+ " </tr>\n",
633
+ " <tr>\n",
634
+ " <th>1</th>\n",
635
+ " <td>jRCT1032240506</td>\n",
636
+ " <td>卵巣がん</td>\n",
637
+ " </tr>\n",
638
+ " <tr>\n",
639
+ " <th>2</th>\n",
640
+ " <td>jRCT1042240125</td>\n",
641
+ " <td>膵嚢胞、慢性膵炎、家族性膵がん及び遺伝性膵がん家族歴を有する症例、糖尿病症例(新規発症・急性...</td>\n",
642
+ " </tr>\n",
643
+ " <tr>\n",
644
+ " <th>3</th>\n",
645
+ " <td>jRCT1052240186</td>\n",
646
+ " <td>肺がん</td>\n",
647
+ " </tr>\n",
648
+ " <tr>\n",
649
+ " <th>4</th>\n",
650
+ " <td>jRCT1030240477</td>\n",
651
+ " <td>固形がん</td>\n",
652
+ " </tr>\n",
653
+ " <tr>\n",
654
+ " <th>...</th>\n",
655
+ " <td>...</td>\n",
656
+ " <td>...</td>\n",
657
+ " </tr>\n",
658
+ " <tr>\n",
659
+ " <th>231</th>\n",
660
+ " <td>jRCT2080224549</td>\n",
661
+ " <td>進行性悪性黒色腫</td>\n",
662
+ " </tr>\n",
663
+ " <tr>\n",
664
+ " <th>232</th>\n",
665
+ " <td>jRCTs051180046</td>\n",
666
+ " <td>乳がん</td>\n",
667
+ " </tr>\n",
668
+ " <tr>\n",
669
+ " <th>233</th>\n",
670
+ " <td>jRCT2091220364</td>\n",
671
+ " <td>ALK遺伝子異常を有する希少がん</td>\n",
672
+ " </tr>\n",
673
+ " <tr>\n",
674
+ " <th>234</th>\n",
675
+ " <td>jRCT2080223823</td>\n",
676
+ " <td>Part1:固形がん\\nPart2:頭頸部がん,尿路上皮がん</td>\n",
677
+ " </tr>\n",
678
+ " <tr>\n",
679
+ " <th>235</th>\n",
680
+ " <td>jRCT1090220224</td>\n",
681
+ " <td>下腹部消化器がん</td>\n",
682
+ " </tr>\n",
683
+ " </tbody>\n",
684
+ "</table>\n",
685
+ "<p>236 rows × 2 columns</p>\n",
686
+ "</div>"
687
+ ],
688
+ "text/plain": [
689
+ " JRCT ID Target\n",
690
+ "0 jRCT1032240511 がん患者の疼痛\n",
691
+ "1 jRCT1032240506 卵巣がん\n",
692
+ "2 jRCT1042240125 膵嚢胞、慢性膵炎、家族性膵がん及び遺伝性膵がん家族歴を有する症例、糖尿病症例(新規発症・急性...\n",
693
+ "3 jRCT1052240186 肺がん\n",
694
+ "4 jRCT1030240477 固形がん\n",
695
+ ".. ... ...\n",
696
+ "231 jRCT2080224549 進行性悪性黒色腫\n",
697
+ "232 jRCTs051180046 乳がん\n",
698
+ "233 jRCT2091220364 ALK遺伝子異常を有する希少がん\n",
699
+ "234 jRCT2080223823 Part1:固形がん\\nPart2:頭頸部がん,尿路上皮がん\n",
700
+ "235 jRCT1090220224 下腹部消化器がん \n",
701
+ "\n",
702
+ "[236 rows x 2 columns]"
703
+ ]
704
+ },
705
+ "execution_count": 12,
706
+ "metadata": {},
707
+ "output_type": "execute_result"
708
+ }
709
+ ],
710
+ "source": [
711
+ "targetdf"
712
+ ]
713
+ },
714
+ {
715
+ "cell_type": "code",
716
+ "execution_count": null,
717
+ "metadata": {},
718
+ "outputs": [],
719
+ "source": []
720
+ }
721
+ ],
722
+ "metadata": {
723
+ "kernelspec": {
724
+ "display_name": "gradio",
725
+ "language": "python",
726
+ "name": "python3"
727
+ },
728
+ "language_info": {
729
+ "codemirror_mode": {
730
+ "name": "ipython",
731
+ "version": 3
732
+ },
733
+ "file_extension": ".py",
734
+ "mimetype": "text/x-python",
735
+ "name": "python",
736
+ "nbconvert_exporter": "python",
737
+ "pygments_lexer": "ipython3",
738
+ "version": "3.12.3"
739
+ }
740
+ },
741
+ "nbformat": 4,
742
+ "nbformat_minor": 2
743
+ }
dev_JRCT_api/postprocess.ipynb ADDED
The diff for this file is too large to render. See raw diff
 
dev_JRCT_api/selenium.ipynb ADDED
The diff for this file is too large to render. See raw diff
 
dev_JRCT_api/selenium2.ipynb ADDED
The diff for this file is too large to render. See raw diff
 
dev_JRCT_api/selenium3.ipynb ADDED
The diff for this file is too large to render. See raw diff
 
dev_JRCT_api/selenium4.ipynb ADDED
@@ -0,0 +1,1061 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": 1,
6
+ "metadata": {},
7
+ "outputs": [],
8
+ "source": [
9
+ "import pandas as pd\n",
10
+ "from OpenAITools.JRCTTools import fetch_clinical_trials, extract_jrct_links, create_dataframe_from_urls, reorder_columns"
11
+ ]
12
+ },
13
+ {
14
+ "cell_type": "code",
15
+ "execution_count": 2,
16
+ "metadata": {},
17
+ "outputs": [
18
+ {
19
+ "name": "stdout",
20
+ "output_type": "stream",
21
+ "text": [
22
+ "検索ボタンがクリックできないため、JavaScriptでクリックします。\n",
23
+ "ページネーションが存在しません。全ての結果を取得しました。\n"
24
+ ]
25
+ }
26
+ ],
27
+ "source": [
28
+ "# fetch_clinical_trialsを使って検索結果を取得\n",
29
+ "results = fetch_clinical_trials(disease_name=\"肉腫\", freeword=\"\",include_not_yet_recruiting=True)"
30
+ ]
31
+ },
32
+ {
33
+ "cell_type": "code",
34
+ "execution_count": 3,
35
+ "metadata": {},
36
+ "outputs": [
37
+ {
38
+ "data": {
39
+ "text/plain": [
40
+ "['初発の小児・AYA世代の肝悪性腫瘍(肝芽腫、HCN-NOS、肝細胞癌、肝内胆管癌、肝未分化肉腫など)',\n",
41
+ " '切除不能皮膚血管肉腫',\n",
42
+ " '軟部肉腫',\n",
43
+ " '未治療又は1レジメンの全身治療歴を有するIDH1変異陽性の局所進行又は転移性の通常型軟骨肉腫',\n",
44
+ " '標準治療がない又は不応若しくは不耐の進行再発と診断されたユーイング肉腫又は固形がん',\n",
45
+ " '後腹膜原発性高リスク脱分化型脂肪肉腫または平滑筋肉腫',\n",
46
+ " '標準治療がない又は不応若しくは不耐の進行再発と診断されたユーイング肉腫又は固形がん',\n",
47
+ " '皮膚血管肉腫',\n",
48
+ " '後腹膜脱分化型脂肪肉腫',\n",
49
+ " '骨軟部肉腫',\n",
50
+ " '切除可能高悪性度非円形細胞軟部肉腫',\n",
51
+ " '・肉腫、ユーイング 、・新生物転移',\n",
52
+ " '高悪性骨肉腫',\n",
53
+ " '標準治療不応・不耐もしくは再発又は進行HER2陽性骨・軟部肉腫および婦人科悪性腫瘍',\n",
54
+ " '【コホートA】BRCA変異陽性の子宮平滑筋肉腫:募集中\\n【コホートB】BRCA変異陰性・HRD陽性の子宮平滑筋...',\n",
55
+ " '横紋筋肉腫',\n",
56
+ " '横紋筋肉腫',\n",
57
+ " 'ユーイング肉腫ファミリー腫瘍',\n",
58
+ " '進行骨軟部肉腫',\n",
59
+ " '悪性骨軟部腫瘍(骨軟部肉腫)',\n",
60
+ " '頭蓋底脊索腫・軟骨肉腫']"
61
+ ]
62
+ },
63
+ "execution_count": 3,
64
+ "metadata": {},
65
+ "output_type": "execute_result"
66
+ }
67
+ ],
68
+ "source": [
69
+ "[result[2] for result in results]"
70
+ ]
71
+ },
72
+ {
73
+ "cell_type": "code",
74
+ "execution_count": 4,
75
+ "metadata": {},
76
+ "outputs": [
77
+ {
78
+ "name": "stdout",
79
+ "output_type": "stream",
80
+ "text": [
81
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1060240085\n",
82
+ "Waiting for 5 seconds before the next request...\n",
83
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031240448\n",
84
+ "Waiting for 5 seconds before the next request...\n",
85
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs061240064\n",
86
+ "Waiting for 5 seconds before the next request...\n",
87
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2061240032\n",
88
+ "Waiting for 5 seconds before the next request...\n",
89
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1030240137\n",
90
+ "Waiting for 5 seconds before the next request...\n",
91
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031230482\n",
92
+ "Waiting for 5 seconds before the next request...\n",
93
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2033230299\n",
94
+ "Waiting for 5 seconds before the next request...\n",
95
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2021230016\n",
96
+ "Waiting for 5 seconds before the next request...\n",
97
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041230007\n",
98
+ "Waiting for 5 seconds before the next request...\n",
99
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs032220609\n",
100
+ "Waiting for 5 seconds before the next request...\n",
101
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs031220446\n",
102
+ "Waiting for 5 seconds before the next request...\n",
103
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2071220043\n",
104
+ "Waiting for 5 seconds before the next request...\n",
105
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs041220024\n",
106
+ "Waiting for 5 seconds before the next request...\n",
107
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2033220088\n",
108
+ "Waiting for 5 seconds before the next request...\n",
109
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT2031210264\n",
110
+ "Waiting for 5 seconds before the next request...\n",
111
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs051180207\n",
112
+ "Waiting for 5 seconds before the next request...\n",
113
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs051180200\n",
114
+ "Waiting for 5 seconds before the next request...\n",
115
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs021180022\n",
116
+ "Waiting for 5 seconds before the next request...\n",
117
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs051180042\n",
118
+ "Waiting for 5 seconds before the next request...\n",
119
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCTs052180038\n",
120
+ "Waiting for 5 seconds before the next request...\n",
121
+ "Processing URL: https://jrct.niph.go.jp/latest-detail/jRCT1032180086\n",
122
+ "Waiting for 5 seconds before the next request...\n"
123
+ ]
124
+ }
125
+ ],
126
+ "source": [
127
+ " # jRCT詳細リンクを作成\n",
128
+ "jrct_links = extract_jrct_links(results)\n",
129
+ "\n",
130
+ " # 詳細リンクからデータフレームを作成\n",
131
+ "df = create_dataframe_from_urls(jrct_links,delay=5)"
132
+ ]
133
+ },
134
+ {
135
+ "cell_type": "code",
136
+ "execution_count": 6,
137
+ "metadata": {},
138
+ "outputs": [],
139
+ "source": [
140
+ "# 整列後の DataFrame を作成\n",
141
+ "sorted_df = reorder_columns(df)"
142
+ ]
143
+ },
144
+ {
145
+ "cell_type": "code",
146
+ "execution_count": 7,
147
+ "metadata": {},
148
+ "outputs": [
149
+ {
150
+ "name": "stderr",
151
+ "output_type": "stream",
152
+ "text": [
153
+ "/var/folders/xj/t9whz9_x5g309fn84ql50wrm0000gn/T/ipykernel_93066/3932068550.py:1: SettingWithCopyWarning: \n",
154
+ "A value is trying to be set on a copy of a slice from a DataFrame.\n",
155
+ "Try using .loc[row_indexer,col_indexer] = value instead\n",
156
+ "\n",
157
+ "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
158
+ " sorted_df['JRCT ID'] = [result[0] for result in results]\n",
159
+ "/var/folders/xj/t9whz9_x5g309fn84ql50wrm0000gn/T/ipykernel_93066/3932068550.py:2: SettingWithCopyWarning: \n",
160
+ "A value is trying to be set on a copy of a slice from a DataFrame.\n",
161
+ "Try using .loc[row_indexer,col_indexer] = value instead\n",
162
+ "\n",
163
+ "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
164
+ " sorted_df['Title'] = [result[1] for result in results]\n",
165
+ "/var/folders/xj/t9whz9_x5g309fn84ql50wrm0000gn/T/ipykernel_93066/3932068550.py:3: SettingWithCopyWarning: \n",
166
+ "A value is trying to be set on a copy of a slice from a DataFrame.\n",
167
+ "Try using .loc[row_indexer,col_indexer] = value instead\n",
168
+ "\n",
169
+ "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
170
+ " sorted_df['Target'] = [result[2] for result in results]\n"
171
+ ]
172
+ }
173
+ ],
174
+ "source": [
175
+ "sorted_df['JRCT ID'] = [result[0] for result in results]\n",
176
+ "sorted_df['Title'] = [result[1] for result in results]\n",
177
+ "sorted_df['Target'] = [result[2] for result in results]"
178
+ ]
179
+ },
180
+ {
181
+ "cell_type": "code",
182
+ "execution_count": 8,
183
+ "metadata": {},
184
+ "outputs": [],
185
+ "source": [
186
+ "new_order = [\"JRCT ID\", \"Title\",'Target'] + [col for col in sorted_df.columns if col not in [\"JRCT ID\", \"Title\",'Target']]"
187
+ ]
188
+ },
189
+ {
190
+ "cell_type": "code",
191
+ "execution_count": 9,
192
+ "metadata": {},
193
+ "outputs": [],
194
+ "source": [
195
+ "sorted_df = sorted_df[new_order]"
196
+ ]
197
+ },
198
+ {
199
+ "cell_type": "code",
200
+ "execution_count": 10,
201
+ "metadata": {},
202
+ "outputs": [
203
+ {
204
+ "data": {
205
+ "text/html": [
206
+ "<div>\n",
207
+ "<style scoped>\n",
208
+ " .dataframe tbody tr th:only-of-type {\n",
209
+ " vertical-align: middle;\n",
210
+ " }\n",
211
+ "\n",
212
+ " .dataframe tbody tr th {\n",
213
+ " vertical-align: top;\n",
214
+ " }\n",
215
+ "\n",
216
+ " .dataframe thead th {\n",
217
+ " text-align: right;\n",
218
+ " }\n",
219
+ "</style>\n",
220
+ "<table border=\"1\" class=\"dataframe\">\n",
221
+ " <thead>\n",
222
+ " <tr style=\"text-align: right;\">\n",
223
+ " <th></th>\n",
224
+ " <th>JRCT ID</th>\n",
225
+ " <th>Title</th>\n",
226
+ " <th>Target</th>\n",
227
+ " <th>研究・治験の目的</th>\n",
228
+ " <th>試験の種類</th>\n",
229
+ " <th>無作為化</th>\n",
230
+ " <th>盲検化</th>\n",
231
+ " <th>対照</th>\n",
232
+ " <th>割付け</th>\n",
233
+ " <th>研究目的</th>\n",
234
+ " <th>...</th>\n",
235
+ " <th>Inclusion Criteria</th>\n",
236
+ " <th>Exclusion Criteria</th>\n",
237
+ " <th>Age Minimum</th>\n",
238
+ " <th>Age Maximum</th>\n",
239
+ " <th>Gender</th>\n",
240
+ " <th>Discontinuation Criteria</th>\n",
241
+ " <th>Keyword</th>\n",
242
+ " <th>Intervention(s)</th>\n",
243
+ " <th>Phase</th>\n",
244
+ " <th>Target</th>\n",
245
+ " </tr>\n",
246
+ " </thead>\n",
247
+ " <tbody>\n",
248
+ " <tr>\n",
249
+ " <th>0</th>\n",
250
+ " <td>jRCT1060240085</td>\n",
251
+ " <td>小児およびAYA肝腫瘍における術前3Dシミュレーションとそれに基づく術式立案システムの実行可...</td>\n",
252
+ " <td>初発の小児・AYA世代の肝悪性腫瘍(肝芽腫、HCN-NOS、肝細胞癌、肝内胆管癌、肝未分化肉...</td>\n",
253
+ " <td>本研究の目的は、小児・AYA肝腫瘍を対象として現在おこなっている中央画像診断、中央病理診断に...</td>\n",
254
+ " <td>観察研究</td>\n",
255
+ " <td>単一群</td>\n",
256
+ " <td>非盲検</td>\n",
257
+ " <td>非対照</td>\n",
258
+ " <td>単群比較</td>\n",
259
+ " <td>治療</td>\n",
260
+ " <td>...</td>\n",
261
+ " <td>1. Diagnosed or suspected to have a non-treate...</td>\n",
262
+ " <td>If the research director or co-researchers det...</td>\n",
263
+ " <td>No limit</td>\n",
264
+ " <td>40age old not</td>\n",
265
+ " <td></td>\n",
266
+ " <td>None</td>\n",
267
+ " <td>hepatoblastoma, HCN-NOS, hepatocellular carcin...</td>\n",
268
+ " <td></td>\n",
269
+ " <td>NaN</td>\n",
270
+ " <td>初発の小児・AYA世代の肝悪性腫瘍(肝芽腫、HCN-NOS、肝細胞癌、肝内胆管癌、肝未分化肉...</td>\n",
271
+ " </tr>\n",
272
+ " <tr>\n",
273
+ " <th>1</th>\n",
274
+ " <td>jRCT2031240448</td>\n",
275
+ " <td>切除不能皮膚血管肉腫に対するペムブロリズマブ+レンバチニブ併用療法の第II相医師主導治験</td>\n",
276
+ " <td>切除不能皮膚血管肉腫</td>\n",
277
+ " <td>切除不能皮膚血管肉腫に対するペムブロリズマブ+レンバチニブ併用療法の有効性を検証し、有効性と...</td>\n",
278
+ " <td>NaN</td>\n",
279
+ " <td>単一群</td>\n",
280
+ " <td>非盲検</td>\n",
281
+ " <td>非対照</td>\n",
282
+ " <td>単群比較</td>\n",
283
+ " <td>治療</td>\n",
284
+ " <td>...</td>\n",
285
+ " <td>1)\\tHistologically diagnosed with cutaneous an...</td>\n",
286
+ " <td>1)\\tPatients previously treated with anti-PD-1...</td>\n",
287
+ " <td>18age old over</td>\n",
288
+ " <td>85age old under</td>\n",
289
+ " <td>Both</td>\n",
290
+ " <td>None</td>\n",
291
+ " <td>cutaneous angiosarcoma, angiosarcoma</td>\n",
292
+ " <td>Each course is set at 21 days. Pembrolizumab 2...</td>\n",
293
+ " <td>NaN</td>\n",
294
+ " <td>切除不能皮膚血管肉腫</td>\n",
295
+ " </tr>\n",
296
+ " <tr>\n",
297
+ " <th>2</th>\n",
298
+ " <td>jRCTs061240064</td>\n",
299
+ " <td>進行期悪性軟部腫瘍に対するドキソルビシン及びトラベクテジン併用療法の有効性に関する非対照研究</td>\n",
300
+ " <td>軟部肉腫</td>\n",
301
+ " <td>進行期軟部肉腫患者に対するドキソルビシンとトラベクテジン併用療法の有効性を無増悪生存期間,疾...</td>\n",
302
+ " <td>介入研究</td>\n",
303
+ " <td>単一群</td>\n",
304
+ " <td>非盲検</td>\n",
305
+ " <td>ヒストリカルコントロール</td>\n",
306
+ " <td>単群比較</td>\n",
307
+ " <td>治療</td>\n",
308
+ " <td>...</td>\n",
309
+ " <td>1. Patients with pathologically diagnosed mali...</td>\n",
310
+ " <td>1. Patients who have received a cumulative dos...</td>\n",
311
+ " <td>18age old exceed</td>\n",
312
+ " <td>No limit</td>\n",
313
+ " <td>Both</td>\n",
314
+ " <td>None</td>\n",
315
+ " <td>Soft tissue sarcoma</td>\n",
316
+ " <td>Doxorubicin (60 mg/m2) for 15 minutes, Trabect...</td>\n",
317
+ " <td>NaN</td>\n",
318
+ " <td>軟部肉腫</td>\n",
319
+ " </tr>\n",
320
+ " <tr>\n",
321
+ " <th>3</th>\n",
322
+ " <td>jRCT2061240032</td>\n",
323
+ " <td>18歳以上の未治療又は1レジメンの全身治療歴を有するIDH1変異陽性の局所進行又は転移性の通...</td>\n",
324
+ " <td>未治療又は1レジメンの全身治療歴を有するIDH1変異陽性の局所進行又は転移性の通常型軟骨肉腫</td>\n",
325
+ " <td>Grade 1及びGrade 2の患者を対象に盲検化独立中央判定者(BICR)による腫瘍評価...</td>\n",
326
+ " <td>NaN</td>\n",
327
+ " <td>無作為化比較</td>\n",
328
+ " <td>二重盲検</td>\n",
329
+ " <td>プラセボ対照</td>\n",
330
+ " <td>並行群間比較</td>\n",
331
+ " <td>治療</td>\n",
332
+ " <td>...</td>\n",
333
+ " <td>Have a histopathological diagnosis (fresh or b...</td>\n",
334
+ " <td>Are unable to swallow oral medication.\\n\\r\\nPr...</td>\n",
335
+ " <td>18age old over</td>\n",
336
+ " <td>No limit</td>\n",
337
+ " <td>Both</td>\n",
338
+ " <td>None</td>\n",
339
+ " <td>Chondrosarcoma</td>\n",
340
+ " <td>Drug: Ivosidenib 500mg or Placebo\\n\\r\\nProvide...</td>\n",
341
+ " <td>NaN</td>\n",
342
+ " <td>未治療又は1レジメンの全身治療歴を有するIDH1変異陽性の局所進行又は転移性の通常型軟骨肉腫</td>\n",
343
+ " </tr>\n",
344
+ " <tr>\n",
345
+ " <th>4</th>\n",
346
+ " <td>jRCT1030240137</td>\n",
347
+ " <td>EPHB4受容体発現のユーイング肉腫又は固形がんを対象とした非ウイルス遺伝子改変CAR-T細...</td>\n",
348
+ " <td>標準治療がない又は不応若しくは不耐の進行再発と診断されたユーイング肉腫又は固形がん</td>\n",
349
+ " <td>CARTiEr試験において、AP8901が投与された被検者におけるヒト体内での動態ならびに作...</td>\n",
350
+ " <td>観察研究</td>\n",
351
+ " <td>単一群</td>\n",
352
+ " <td>非盲検</td>\n",
353
+ " <td>非対照</td>\n",
354
+ " <td>単群比較</td>\n",
355
+ " <td>治療</td>\n",
356
+ " <td>...</td>\n",
357
+ " <td>1.Patients enrolled in CARTiEr study\\n\\r\\n2.Wr...</td>\n",
358
+ " <td>1.Written consent has not been obtained from t...</td>\n",
359
+ " <td>18age old over</td>\n",
360
+ " <td>No limit</td>\n",
361
+ " <td>Both</td>\n",
362
+ " <td>None</td>\n",
363
+ " <td></td>\n",
364
+ " <td></td>\n",
365
+ " <td>NaN</td>\n",
366
+ " <td>標準治療がない又は不応若しくは不耐の進行再発と診断されたユーイング肉腫又は固形がん</td>\n",
367
+ " </tr>\n",
368
+ " <tr>\n",
369
+ " <th>5</th>\n",
370
+ " <td>jRCTs031230482</td>\n",
371
+ " <td>JCOG2214INT: 高リスク後腹膜肉腫に対する術前補助化学療法の意義に関するランダム化...</td>\n",
372
+ " <td>後腹膜原発性高リスク脱分化型脂肪肉腫または平滑筋肉腫</td>\n",
373
+ " <td>切除可能な後腹膜発生高リスク脱分化型脂肪肉腫および平滑筋肉腫を対象に、標準治療である根治的手...</td>\n",
374
+ " <td>介入研究</td>\n",
375
+ " <td>無作為化比較</td>\n",
376
+ " <td>非盲検</td>\n",
377
+ " <td>実薬(治療)対照</td>\n",
378
+ " <td>並行群間比較</td>\n",
379
+ " <td>治療</td>\n",
380
+ " <td>...</td>\n",
381
+ " <td>* Histologically proven primary high risk leio...</td>\n",
382
+ " <td>* Sarcoma originating from bone structure, abd...</td>\n",
383
+ " <td>18age old over</td>\n",
384
+ " <td>No limit</td>\n",
385
+ " <td>Both</td>\n",
386
+ " <td>None</td>\n",
387
+ " <td></td>\n",
388
+ " <td>Patients in the standard arm (surgery alone) w...</td>\n",
389
+ " <td>NaN</td>\n",
390
+ " <td>後腹膜原発性高リスク脱分化型脂肪肉腫または平滑筋肉腫</td>\n",
391
+ " </tr>\n",
392
+ " <tr>\n",
393
+ " <th>6</th>\n",
394
+ " <td>jRCT2033230299</td>\n",
395
+ " <td>EPHB4受容体発現のユーイング肉腫又は固形がんを対象とした非ウイルス遺伝子改変CAR-T細...</td>\n",
396
+ " <td>標準治療がない又は不応若しくは不耐の進行再発と診断されたユーイング肉腫又は固形がん</td>\n",
397
+ " <td>転移・再発に対して標準治療がない又は不応若しくは不耐の EPHB4 受容体を発現するユーイン...</td>\n",
398
+ " <td>NaN</td>\n",
399
+ " <td>単一群</td>\n",
400
+ " <td>非盲検</td>\n",
401
+ " <td>非対照</td>\n",
402
+ " <td>単群比較</td>\n",
403
+ " <td>治療</td>\n",
404
+ " <td>...</td>\n",
405
+ " <td>1.Patients who have voluntarily provided writt...</td>\n",
406
+ " <td>1.Patients with other malignancies or history ...</td>\n",
407
+ " <td>18age old over</td>\n",
408
+ " <td>No limit</td>\n",
409
+ " <td>Both</td>\n",
410
+ " <td>None</td>\n",
411
+ " <td></td>\n",
412
+ " <td>Administration of CAR-T cells produced from er...</td>\n",
413
+ " <td>NaN</td>\n",
414
+ " <td>標準治療がない又は不応若しくは不耐の進行再発と診断されたユーイング肉腫又は固形がん</td>\n",
415
+ " </tr>\n",
416
+ " <tr>\n",
417
+ " <th>7</th>\n",
418
+ " <td>jRCT2021230016</td>\n",
419
+ " <td>皮膚血管肉腫に対するパクリタキセルとTM5614併用の安全性・有効性を検討する第Ⅱ相医師主導治験</td>\n",
420
+ " <td>皮膚血管肉腫</td>\n",
421
+ " <td>皮膚血管肉腫のパ��リタキセル単剤療法無効症例を対象にTM5614とパクリタキセルの併用時にお...</td>\n",
422
+ " <td>NaN</td>\n",
423
+ " <td>単一群</td>\n",
424
+ " <td>非盲検</td>\n",
425
+ " <td>非対照</td>\n",
426
+ " <td>単群比較</td>\n",
427
+ " <td>治療</td>\n",
428
+ " <td>...</td>\n",
429
+ " <td>(1) Patients who are 18 years old over (at the...</td>\n",
430
+ " <td>(1) Patients with concomitant or pre-existing ...</td>\n",
431
+ " <td>18age old over</td>\n",
432
+ " <td>No limit</td>\n",
433
+ " <td>Both</td>\n",
434
+ " <td>None</td>\n",
435
+ " <td></td>\n",
436
+ " <td>(TM5614)\\n\\r\\nTM5614 should be taken orally af...</td>\n",
437
+ " <td>NaN</td>\n",
438
+ " <td>皮膚血管肉腫</td>\n",
439
+ " </tr>\n",
440
+ " <tr>\n",
441
+ " <th>8</th>\n",
442
+ " <td>jRCTs041230007</td>\n",
443
+ " <td>後腹膜脱分化型脂肪肉腫に対する術前AI(ドキソルビシン・イホスファミド)療法の単群第Ⅱ相試験</td>\n",
444
+ " <td>後腹膜脱分化型脂肪肉腫</td>\n",
445
+ " <td>肉眼的根治切除をし得た後腹膜脱分化型脂肪肉腫患者の術前ドキソルビシン・イホスファミド療法の有...</td>\n",
446
+ " <td>介入研究</td>\n",
447
+ " <td>単一群</td>\n",
448
+ " <td>非盲検</td>\n",
449
+ " <td>非対照</td>\n",
450
+ " <td>単群比較</td>\n",
451
+ " <td>治療</td>\n",
452
+ " <td>...</td>\n",
453
+ " <td>The patients diagnosed with de-differentiated ...</td>\n",
454
+ " <td>The patients have a severe allergy and drug hy...</td>\n",
455
+ " <td>18age old over</td>\n",
456
+ " <td>No limit</td>\n",
457
+ " <td>Both</td>\n",
458
+ " <td>None</td>\n",
459
+ " <td>retroperitoneal de-differentiated liposarcoma</td>\n",
460
+ " <td>Doxorubicin (20mg/m2/day), IV, given on day1-3...</td>\n",
461
+ " <td>NaN</td>\n",
462
+ " <td>後腹膜脱分化型脂肪肉腫</td>\n",
463
+ " </tr>\n",
464
+ " <tr>\n",
465
+ " <th>9</th>\n",
466
+ " <td>jRCTs032220609</td>\n",
467
+ " <td>骨軟部肉腫に対する線量平均LET最適化マルチイオン重粒子線治療のFeasibility臨床研究</td>\n",
468
+ " <td>骨軟部肉腫</td>\n",
469
+ " <td>骨軟部肉腫に対して既存の重粒子線治療法の生物線量を維持しつつ、腫瘍内の線量平均LET値の最適...</td>\n",
470
+ " <td>介入研究</td>\n",
471
+ " <td>単一群</td>\n",
472
+ " <td>非盲検</td>\n",
473
+ " <td>非対照</td>\n",
474
+ " <td>単群比較</td>\n",
475
+ " <td>治療</td>\n",
476
+ " <td>...</td>\n",
477
+ " <td>1. Histologically diagnosed high-grade bone an...</td>\n",
478
+ " <td>1.\\tPatients with serious complications.\\n\\r\\n...</td>\n",
479
+ " <td>No limit</td>\n",
480
+ " <td>No limit</td>\n",
481
+ " <td>Both</td>\n",
482
+ " <td>None</td>\n",
483
+ " <td>sarcoma</td>\n",
484
+ " <td>Multi-ion radiotherapy</td>\n",
485
+ " <td>NaN</td>\n",
486
+ " <td>骨軟部肉腫</td>\n",
487
+ " </tr>\n",
488
+ " <tr>\n",
489
+ " <th>10</th>\n",
490
+ " <td>jRCTs031220446</td>\n",
491
+ " <td>JCOG2102: 切除可能高悪性度非円形細胞軟部肉腫に対する術前術後補助化学療法と術後補助...</td>\n",
492
+ " <td>切除可能高悪性度非円形細胞軟部肉腫</td>\n",
493
+ " <td>切除可能なStage IIIA/B(T2-4N0M0)の非円形細胞軟部肉腫を対象に、標準治療...</td>\n",
494
+ " <td>介入研究</td>\n",
495
+ " <td>無作為化比較</td>\n",
496
+ " <td>非盲検</td>\n",
497
+ " <td>実薬(治療)対照</td>\n",
498
+ " <td>並行群間比較</td>\n",
499
+ " <td>治療</td>\n",
500
+ " <td>...</td>\n",
501
+ " <td>(1) Grade 2 or 3 (FNCLCC histological grading ...</td>\n",
502
+ " <td>(1) Synchronous or metachronous (within 5 year...</td>\n",
503
+ " <td>16age old over</td>\n",
504
+ " <td>70age old under</td>\n",
505
+ " <td>Both</td>\n",
506
+ " <td>None</td>\n",
507
+ " <td></td>\n",
508
+ " <td>Arm A: Three courses of preoperative chemother...</td>\n",
509
+ " <td>NaN</td>\n",
510
+ " <td>切除可能高悪性度非円形細胞軟部肉腫</td>\n",
511
+ " </tr>\n",
512
+ " <tr>\n",
513
+ " <th>11</th>\n",
514
+ " <td>jRCT2071220043</td>\n",
515
+ " <td>再発又は難治性ユーイング肉腫を有する患者を対象に、イリノテカン及びテモゾロミドと併用したとき...</td>\n",
516
+ " <td>・肉腫、ユーイング 、・新生物転移</td>\n",
517
+ " <td>CAMPFIRE:ユーイング肉腫患者を対象とした��ベマシクリブ(LY2835219)の研究</td>\n",
518
+ " <td>NaN</td>\n",
519
+ " <td>無作為化比較</td>\n",
520
+ " <td>非盲検</td>\n",
521
+ " <td>実薬(治療)対照</td>\n",
522
+ " <td>並行群間比較</td>\n",
523
+ " <td>治療</td>\n",
524
+ " <td>...</td>\n",
525
+ " <td>-Diagnosis of Ewing's sarcoma or Ewing's sarco...</td>\n",
526
+ " <td>-Participants with severe and/or uncontrolled ...</td>\n",
527
+ " <td>1age old over</td>\n",
528
+ " <td>39age old under</td>\n",
529
+ " <td>Both</td>\n",
530
+ " <td>None</td>\n",
531
+ " <td></td>\n",
532
+ " <td>-Drug: Abemaciclib\\n\\r\\n Orally\\n\\r\\n Ot...</td>\n",
533
+ " <td>NaN</td>\n",
534
+ " <td>・肉腫、ユーイング 、・新生物転移</td>\n",
535
+ " </tr>\n",
536
+ " <tr>\n",
537
+ " <th>12</th>\n",
538
+ " <td>jRCTs041220024</td>\n",
539
+ " <td>高悪性骨肉腫を対象としたメトトレキサート・アドリアマイシン・シスプラチン(MAP)療法にがん...</td>\n",
540
+ " <td>高悪性骨肉腫</td>\n",
541
+ " <td>臨床病期ⅡA、ⅡB、Ⅲ期、Ⅳ期又は術後再発の高悪性骨肉腫患者に対してファスジル+MAP療法(...</td>\n",
542
+ " <td>介入研究</td>\n",
543
+ " <td>単一群</td>\n",
544
+ " <td>非盲検</td>\n",
545
+ " <td>非対照</td>\n",
546
+ " <td>単群比較</td>\n",
547
+ " <td>治療</td>\n",
548
+ " <td>...</td>\n",
549
+ " <td>1.\\tStage2A, 2B, 3,4, or recurrent high grade ...</td>\n",
550
+ " <td>1.\\tLatest adequate organ function as proved b...</td>\n",
551
+ " <td>14age old over</td>\n",
552
+ " <td>65age old not</td>\n",
553
+ " <td>Both</td>\n",
554
+ " <td>None</td>\n",
555
+ " <td></td>\n",
556
+ " <td>fasudil hydrochloride hydrate as an IV infusion</td>\n",
557
+ " <td>NaN</td>\n",
558
+ " <td>高悪性骨肉腫</td>\n",
559
+ " </tr>\n",
560
+ " <tr>\n",
561
+ " <th>13</th>\n",
562
+ " <td>jRCT2033220088</td>\n",
563
+ " <td>HER2特異的キメラ抗原受容体(CAR)遺伝子改変T細胞療法の安全性に関する臨床第Ⅰ相試験</td>\n",
564
+ " <td>標準治療不応・不耐もしくは再発又は進行HER2陽性骨・軟部肉腫および婦人科悪性腫瘍</td>\n",
565
+ " <td>標準治療により不応・不耐もしくは再発又は進行HER2陽性骨・軟部肉腫および婦人科悪性腫瘍患者...</td>\n",
566
+ " <td>NaN</td>\n",
567
+ " <td>単一群</td>\n",
568
+ " <td>非盲検</td>\n",
569
+ " <td>非対照</td>\n",
570
+ " <td>単群比較</td>\n",
571
+ " <td>治療</td>\n",
572
+ " <td>...</td>\n",
573
+ " <td>SC1 (before apheresis)\\n\\r\\n1. Patients diagno...</td>\n",
574
+ " <td>SC1 (pre-apheresis), SC2 (pre-treatment initia...</td>\n",
575
+ " <td>5age old over</td>\n",
576
+ " <td>65age old not</td>\n",
577
+ " <td>Both</td>\n",
578
+ " <td>None</td>\n",
579
+ " <td></td>\n",
580
+ " <td>Administration of CAR-T cells produced from er...</td>\n",
581
+ " <td>NaN</td>\n",
582
+ " <td>標準治療不応・不耐もしくは再発又は進行HER2陽性骨・軟部肉腫および婦人科悪性腫瘍</td>\n",
583
+ " </tr>\n",
584
+ " <tr>\n",
585
+ " <th>14</th>\n",
586
+ " <td>jRCT2031210264</td>\n",
587
+ " <td>HRD陽性再発・難治性婦人科希少がんに対するNiraparibの安全性・有効性を評価する単群...</td>\n",
588
+ " <td>【コホートA】BRCA変異陽性の子宮平滑筋肉腫:募集中\\n【コホートB】BRCA変異陰性・H...</td>\n",
589
+ " <td>HRD陽性再発・難治性婦人科希少がんに対するNiraparibの安全性・有効性を評価する。</td>\n",
590
+ " <td>NaN</td>\n",
591
+ " <td>単一群</td>\n",
592
+ " <td>非盲検</td>\n",
593
+ " <td>非対照</td>\n",
594
+ " <td>単群比較</td>\n",
595
+ " <td>治療</td>\n",
596
+ " <td>...</td>\n",
597
+ " <td>Patients who meet all of the following criteri...</td>\n",
598
+ " <td>Subject will be excluded from the trial if the...</td>\n",
599
+ " <td>20age old over</td>\n",
600
+ " <td>No limit</td>\n",
601
+ " <td>Female</td>\n",
602
+ " <td>None</td>\n",
603
+ " <td>gynecology, malignancy, rare, gynecologic rare...</td>\n",
604
+ " <td>A 200 mg dose of niraparib is orally administe...</td>\n",
605
+ " <td>NaN</td>\n",
606
+ " <td>【コホートA】BRCA変異陽性の子宮平滑筋肉腫:募集中\\n【コホートB】BRCA変異陰性・H...</td>\n",
607
+ " </tr>\n",
608
+ " <tr>\n",
609
+ " <th>15</th>\n",
610
+ " <td>jRCTs051180207</td>\n",
611
+ " <td>横紋筋���腫中間リスク群患者に対するVAC2.2(ビンクリスチン、アクチノマイシンD、シクロホ...</td>\n",
612
+ " <td>横紋筋肉腫</td>\n",
613
+ " <td>Stage 2、3、Group IIIに分類される胎児型横紋筋肉腫、Group I, II、...</td>\n",
614
+ " <td>介入研究</td>\n",
615
+ " <td>単一群</td>\n",
616
+ " <td>非盲検</td>\n",
617
+ " <td>無治療対照/標準治療対照</td>\n",
618
+ " <td>単群比較</td>\n",
619
+ " <td>治療</td>\n",
620
+ " <td>...</td>\n",
621
+ " <td>1) Histologically confirmed newly diagnosed rh...</td>\n",
622
+ " <td>1) patients with synchronous or metachronous c...</td>\n",
623
+ " <td>1age old over</td>\n",
624
+ " <td>29age old under</td>\n",
625
+ " <td>Both</td>\n",
626
+ " <td>None</td>\n",
627
+ " <td>Rhabdomyosarcoma</td>\n",
628
+ " <td>chemotherapy 43 weeks \\n\\r\\nVAC2.2 therapy 9 c...</td>\n",
629
+ " <td>NaN</td>\n",
630
+ " <td>横紋筋肉腫</td>\n",
631
+ " </tr>\n",
632
+ " <tr>\n",
633
+ " <th>16</th>\n",
634
+ " <td>jRCTs051180200</td>\n",
635
+ " <td>横紋筋肉腫低リスクB群患者に対するVAC1.2(ビンクリスチン、アクチノマイシンD、シクロホ...</td>\n",
636
+ " <td>横紋筋肉腫</td>\n",
637
+ " <td>Stage 1、 Group III(眼窩Group III N0、NXを除く)、または、S...</td>\n",
638
+ " <td>介入研究</td>\n",
639
+ " <td>単一群</td>\n",
640
+ " <td>非盲検</td>\n",
641
+ " <td>非対照</td>\n",
642
+ " <td>単群比較</td>\n",
643
+ " <td>治療</td>\n",
644
+ " <td>...</td>\n",
645
+ " <td>1) Histologically confirmed newly diagnosed em...</td>\n",
646
+ " <td>1) patients with primary tumor of CNS origin, ...</td>\n",
647
+ " <td>No limit</td>\n",
648
+ " <td>29age old under</td>\n",
649
+ " <td>Both</td>\n",
650
+ " <td>None</td>\n",
651
+ " <td>rhabdomyosarcoma</td>\n",
652
+ " <td>chemotherapy 43 weeks \\n\\r\\nVAC1.2 therapy 9 c...</td>\n",
653
+ " <td>NaN</td>\n",
654
+ " <td>横紋筋肉腫</td>\n",
655
+ " </tr>\n",
656
+ " <tr>\n",
657
+ " <th>17</th>\n",
658
+ " <td>jRCTs021180022</td>\n",
659
+ " <td>限局性ユーイング肉腫ファミリー腫瘍に対するG-CSF併用治療期間短縮VDC-IE療法を用いた...</td>\n",
660
+ " <td>ユーイング肉腫ファミリー腫瘍</td>\n",
661
+ " <td>新規に診断された限局性ユーイング肉腫ファミリー腫瘍(ESFT)に対して、VDC-IE療法を顆...</td>\n",
662
+ " <td>介入研究</td>\n",
663
+ " <td>単一群</td>\n",
664
+ " <td>非盲検</td>\n",
665
+ " <td>非対照</td>\n",
666
+ " <td>単群比較</td>\n",
667
+ " <td>治療</td>\n",
668
+ " <td>...</td>\n",
669
+ " <td>1. Histologically confirmed newly diagnosed ES...</td>\n",
670
+ " <td>1. Patients with synchronous or metachronous c...</td>\n",
671
+ " <td>No limit</td>\n",
672
+ " <td>50age 0month old not</td>\n",
673
+ " <td>Both</td>\n",
674
+ " <td>None</td>\n",
675
+ " <td>Ewing sarcoma</td>\n",
676
+ " <td>Chemotherapy\\n\\r\\nStandard therapy for localiz...</td>\n",
677
+ " <td>NaN</td>\n",
678
+ " <td>ユーイング肉腫ファミリー腫瘍</td>\n",
679
+ " </tr>\n",
680
+ " <tr>\n",
681
+ " <th>18</th>\n",
682
+ " <td>jRCTs051180042</td>\n",
683
+ " <td>進行骨軟部肉腫に対するゲムシタビン/ドセタキセル併用療法の第Ⅱ相臨床試験</td>\n",
684
+ " <td>進行骨軟部肉腫</td>\n",
685
+ " <td>本試験は、再発または遠隔転移を有する進行骨軟部肉腫に対するゲムシタビン/ドセタキセル併用療法...</td>\n",
686
+ " <td>介入研究</td>\n",
687
+ " <td>単一群</td>\n",
688
+ " <td>非盲検</td>\n",
689
+ " <td>非対照</td>\n",
690
+ " <td>単群比較</td>\n",
691
+ " <td>治療</td>\n",
692
+ " <td>...</td>\n",
693
+ " <td>1)Patients are histopathologically diagnosed a...</td>\n",
694
+ " <td>1)Active double cancers within 5 years(cured i...</td>\n",
695
+ " <td>10age 0month 0week old over</td>\n",
696
+ " <td>70age 11month 4week old under</td>\n",
697
+ " <td>Both</td>\n",
698
+ " <td>None</td>\n",
699
+ " <td></td>\n",
700
+ " <td>Gemcitabine (900 mg/m2) intravenously(IV) on D...</td>\n",
701
+ " <td>NaN</td>\n",
702
+ " <td>進行骨軟部肉腫</td>\n",
703
+ " </tr>\n",
704
+ " <tr>\n",
705
+ " <th>19</th>\n",
706
+ " <td>jRCTs052180038</td>\n",
707
+ " <td>炭酸ガス経皮吸収による悪性骨軟部腫瘍に対する安全性および抗腫瘍効果に関する探索的臨床研究</td>\n",
708
+ " <td>��性骨軟部腫瘍(骨軟部肉腫)</td>\n",
709
+ " <td>悪性骨軟部腫瘍に対する炭酸ガス経皮吸収の安全性と有用性を評価すること</td>\n",
710
+ " <td>介入研究</td>\n",
711
+ " <td>単一群</td>\n",
712
+ " <td>非盲検</td>\n",
713
+ " <td>非対照</td>\n",
714
+ " <td>単群比較</td>\n",
715
+ " <td>治療</td>\n",
716
+ " <td>...</td>\n",
717
+ " <td>(1) Patients who have been histologically diag...</td>\n",
718
+ " <td>(1) Skin ulcer or pathological fracture in the...</td>\n",
719
+ " <td>16age old over</td>\n",
720
+ " <td>No limit</td>\n",
721
+ " <td>Both</td>\n",
722
+ " <td>None</td>\n",
723
+ " <td>sarcoma</td>\n",
724
+ " <td>Transcutaneous carbon dioxide (CO2) applicatio...</td>\n",
725
+ " <td>NaN</td>\n",
726
+ " <td>悪性骨軟部腫瘍(骨軟部肉腫)</td>\n",
727
+ " </tr>\n",
728
+ " <tr>\n",
729
+ " <th>20</th>\n",
730
+ " <td>jRCT1032180086</td>\n",
731
+ " <td>頭蓋底脊索腫・軟骨肉腫術後に対する陽子線治療の有効性・安全性を評価する第II相試験</td>\n",
732
+ " <td>頭蓋底脊索腫・軟骨肉腫</td>\n",
733
+ " <td>頭蓋底脊索腫術後に対する陽子線治療の有効性・安全性判定</td>\n",
734
+ " <td>介入研究</td>\n",
735
+ " <td>単一群</td>\n",
736
+ " <td>非盲検</td>\n",
737
+ " <td>非対照</td>\n",
738
+ " <td>単群比較</td>\n",
739
+ " <td>治療</td>\n",
740
+ " <td>...</td>\n",
741
+ " <td>1, Pathological diagnosis is chordoma or chond...</td>\n",
742
+ " <td>1, Multiple primary cancers\\n\\r\\n2, Invasion f...</td>\n",
743
+ " <td>15age old over</td>\n",
744
+ " <td>No limit</td>\n",
745
+ " <td>Both</td>\n",
746
+ " <td>None</td>\n",
747
+ " <td>proton radiation therapy, proton beam therapy,...</td>\n",
748
+ " <td>Proton Radiation Therapy</td>\n",
749
+ " <td>NaN</td>\n",
750
+ " <td>頭蓋底脊索腫・軟骨肉腫</td>\n",
751
+ " </tr>\n",
752
+ " </tbody>\n",
753
+ "</table>\n",
754
+ "<p>21 rows × 36 columns</p>\n",
755
+ "</div>"
756
+ ],
757
+ "text/plain": [
758
+ " JRCT ID Title \\\n",
759
+ "0 jRCT1060240085 小児およびAYA肝腫瘍における術前3Dシミュレーションとそれに基づく術式立案システムの実行可... \n",
760
+ "1 jRCT2031240448 切除不能皮膚血管肉腫に対するペムブロリズマブ+レンバチニブ併用療法の第II相医師主導治験 \n",
761
+ "2 jRCTs061240064 進行期悪性軟部腫瘍に対するドキソルビシン及びトラベクテジン併用療法の有効性に関する非対照研究 \n",
762
+ "3 jRCT2061240032 18歳以上の未治療又は1レジメンの全身治療歴を有するIDH1変異陽性の局所進行又は転移性の通... \n",
763
+ "4 jRCT1030240137 EPHB4受容体発現のユーイング肉腫又は固形がんを対象とした非ウイルス遺伝子改変CAR-T細... \n",
764
+ "5 jRCTs031230482 JCOG2214INT: 高リスク後腹膜肉腫に対する術前補助化学療法の意義に関するランダム化... \n",
765
+ "6 jRCT2033230299 EPHB4受容体発現のユーイング肉腫又は固形がんを対象とした非ウイルス遺伝子改変CAR-T細... \n",
766
+ "7 jRCT2021230016 皮膚血管肉腫に対するパクリタキセルとTM5614併用の安全性・有効性を検討する第Ⅱ相医師主導治験 \n",
767
+ "8 jRCTs041230007 後腹膜脱分化型脂肪肉腫に対する術前AI(ドキソルビシン・イホスファミド)療法の単群第Ⅱ相試験 \n",
768
+ "9 jRCTs032220609 骨軟部肉腫に対する線量平均LET最適化マルチイオン重粒子線治療のFeasibility臨床研究 \n",
769
+ "10 jRCTs031220446 JCOG2102: 切除可能高悪性度非円形細胞軟部肉腫に対する術前術後補助化学療法と術後補助... \n",
770
+ "11 jRCT2071220043 再発又は難治性ユーイング肉腫を有する患者を対象に、イリノテカン及びテモゾロミドと併用したとき... \n",
771
+ "12 jRCTs041220024 高悪性骨肉腫を対象としたメトトレキサート・アドリアマイシン・シスプラチン(MAP)療法にがん... \n",
772
+ "13 jRCT2033220088 HER2特異的キメラ抗原受容体(CAR)遺伝子改変T細胞療法の安全性に関する臨床第Ⅰ相試験 \n",
773
+ "14 jRCT2031210264 HRD陽性再発・難治性婦人科希少がんに対するNiraparibの安全性・有効性を評価する単群... \n",
774
+ "15 jRCTs051180207 横紋筋肉腫中間リスク群患者に対するVAC2.2(ビンクリスチン、アクチノマイシンD、シクロホ... \n",
775
+ "16 jRCTs051180200 横紋筋肉��低リスクB群患者に対するVAC1.2(ビンクリスチン、アクチノマイシンD、シクロホ... \n",
776
+ "17 jRCTs021180022 限局性ユーイング肉腫ファミリー腫瘍に対するG-CSF併用治療期間短縮VDC-IE療法を用いた... \n",
777
+ "18 jRCTs051180042 進行骨軟部肉腫に対するゲムシタビン/ドセタキセル併用療法の第Ⅱ相臨床試験 \n",
778
+ "19 jRCTs052180038 炭酸ガス経皮吸収による悪性骨軟部腫瘍に対する安全性および抗腫瘍効果に関する探索的臨床研究 \n",
779
+ "20 jRCT1032180086 頭蓋底脊索腫・軟骨肉腫術後に対する陽子線治療の有効性・安全性を評価する第II相試験 \n",
780
+ "\n",
781
+ " Target \\\n",
782
+ "0 初発の小児・AYA世代の肝悪性腫瘍(肝芽腫、HCN-NOS、肝細胞癌、肝内胆管癌、肝未分化肉... \n",
783
+ "1 切除不能皮膚血管肉腫 \n",
784
+ "2 軟部肉腫 \n",
785
+ "3 未治療又は1レジメンの全身治療歴を有するIDH1変異陽性の局所進行又は転移性の通常型軟骨肉腫 \n",
786
+ "4 標準治療がない又は不応若しくは不耐の進行再発と診断されたユーイング肉腫又は固形がん \n",
787
+ "5 後腹膜原発性高リスク脱分化型脂肪肉腫または平滑筋肉腫 \n",
788
+ "6 標準治療がない又は不応若しくは不耐の進行再発と診断されたユーイング肉腫又は固形がん \n",
789
+ "7 皮膚血管肉腫 \n",
790
+ "8 後腹膜脱分化型脂肪肉腫 \n",
791
+ "9 骨軟部肉腫 \n",
792
+ "10 切除可能高悪性度非円形細胞軟部肉腫 \n",
793
+ "11 ・肉腫、ユーイング 、・新生物転移 \n",
794
+ "12 高悪性骨肉腫 \n",
795
+ "13 標準治療不応・不耐もしくは再発又は進行HER2陽性骨・軟部肉腫および婦人科悪性腫瘍 \n",
796
+ "14 【コホートA】BRCA変異陽性の子宮平滑筋肉腫:募集中\\n【コホートB】BRCA変異陰性・H... \n",
797
+ "15 横紋筋肉腫 \n",
798
+ "16 横紋筋肉腫 \n",
799
+ "17 ユーイング肉腫ファミリー腫瘍 \n",
800
+ "18 進行骨軟部肉腫 \n",
801
+ "19 悪性骨軟部腫瘍(骨軟部肉腫) \n",
802
+ "20 頭蓋底脊索腫・軟骨肉腫 \n",
803
+ "\n",
804
+ " 研究・治験の目的 試験の種類 無作為化 盲検化 \\\n",
805
+ "0 本研究の目的は、小児・AYA肝腫瘍を対象として現在おこなっている中央画像診断、中央病理診断に... 観察研究 単一群 非盲検 \n",
806
+ "1 切除不能皮膚血管肉腫に対するペムブロリズマブ+レンバチニブ併用療法の有効性を検証し、有効性と... NaN 単一群 非盲検 \n",
807
+ "2 進行期軟部肉腫患者に対するドキソルビシンとトラベクテジン併用療法の有効性を無増悪生存期間,疾... 介入研究 単一群 非盲検 \n",
808
+ "3 Grade 1及びGrade 2の患者を対象に盲検化独立中央判定者(BICR)による腫瘍評価... NaN 無作為化比較 二重盲検 \n",
809
+ "4 CARTiEr試験において、AP8901が投与された被検者におけるヒト体内での動態ならびに作... 観察研究 単一群 非盲検 \n",
810
+ "5 切除可能な後腹膜発生高リスク脱分化型脂肪肉腫および平滑筋肉腫を対象に、標準治療である根治的手... 介入研究 無作為化比較 非盲検 \n",
811
+ "6 転移・再発に対して標準治療がない又は不応若しくは不耐の EPHB4 受容体を発現するユーイン... NaN 単一群 非盲検 \n",
812
+ "7 皮膚血管肉腫のパクリタキセル単剤療法無効症例を対象にTM5614とパクリタキセルの併用時にお... NaN 単一群 非盲検 \n",
813
+ "8 肉眼的根治切除をし得た後腹膜脱分化型脂肪肉腫患者の術前ドキソルビシン・イホスファミド療法の有... 介入研究 単一群 非盲検 \n",
814
+ "9 骨軟部肉腫に対して既存の重粒子線治療法の生物線量を維持しつつ、腫瘍内の線量平均LET値の最適... 介入研究 単��群 非盲検 \n",
815
+ "10 切除可能なStage IIIA/B(T2-4N0M0)の非円形細胞軟部肉腫を対象に、標準治療... 介入研究 無作為化比較 非盲検 \n",
816
+ "11 CAMPFIRE:ユーイング肉腫患者を対象としたアベマシクリブ(LY2835219)の研究 NaN 無作為化比較 非盲検 \n",
817
+ "12 臨床病期ⅡA、ⅡB、Ⅲ期、Ⅳ期又は術後再発の高悪性骨肉腫患者に対してファスジル+MAP療法(... 介入研究 単一群 非盲検 \n",
818
+ "13 標準治療により不応・不耐もしくは再発又は進行HER2陽性骨・軟部肉腫および婦人科悪性腫瘍患者... NaN 単一群 非盲検 \n",
819
+ "14 HRD陽性再発・難治性婦人科希少がんに対するNiraparibの安全性・有効性を評価する。 NaN 単一群 非盲検 \n",
820
+ "15 Stage 2、3、Group IIIに分類される胎児型横紋筋肉腫、Group I, II、... 介入研究 単一群 非盲検 \n",
821
+ "16 Stage 1、 Group III(眼窩Group III N0、NXを除く)、または、S... 介入研究 単一群 非盲検 \n",
822
+ "17 新規に診断された限局性ユーイング肉腫ファミリー腫瘍(ESFT)に対して、VDC-IE療法を顆... 介入研究 単一群 非盲検 \n",
823
+ "18 本試験は、再発または遠隔転移を有する進行骨軟部肉腫に対するゲムシタビン/ドセタキセル併用療法... 介入研究 単一群 非盲検 \n",
824
+ "19 悪性骨軟部腫瘍に対する炭酸ガス経皮吸収の安全性と有用性を評価すること 介入研究 単一群 非盲検 \n",
825
+ "20 頭蓋底脊索腫術後に対する陽子線治療の有効性・安全性判定 介入研究 単一群 非盲検 \n",
826
+ "\n",
827
+ " 対照 割付け 研究目的 ... \\\n",
828
+ "0 非対照 単群比較 治療 ... \n",
829
+ "1 非対照 単群比較 治療 ... \n",
830
+ "2 ヒストリカルコントロール 単群比較 治療 ... \n",
831
+ "3 プラセボ対照 並行群間比較 治療 ... \n",
832
+ "4 非対照 単群比較 治療 ... \n",
833
+ "5 実薬(治療)対照 並行群間比較 治療 ... \n",
834
+ "6 非対照 単群比較 治療 ... \n",
835
+ "7 非対照 単群比較 治療 ... \n",
836
+ "8 非対照 単群比較 治療 ... \n",
837
+ "9 非対照 単群比較 治療 ... \n",
838
+ "10 実薬(治療)対照 並行群間比較 治療 ... \n",
839
+ "11 実薬(治療)対照 並行群間比較 治療 ... \n",
840
+ "12 非対照 単群比較 治療 ... \n",
841
+ "13 非対照 単群比較 治療 ... \n",
842
+ "14 非対照 単群比較 治療 ... \n",
843
+ "15 無治療対照/標準治療対照 単群比較 治療 ... \n",
844
+ "16 非対照 単群比較 治療 ... \n",
845
+ "17 非対照 単群比較 治療 ... \n",
846
+ "18 非対照 単群比較 治療 ... \n",
847
+ "19 非対照 単群比較 治療 ... \n",
848
+ "20 非対照 単群比較 治療 ... \n",
849
+ "\n",
850
+ " Inclusion Criteria \\\n",
851
+ "0 1. Diagnosed or suspected to have a non-treate... \n",
852
+ "1 1)\\tHistologically diagnosed with cutaneous an... \n",
853
+ "2 1. Patients with pathologically diagnosed mali... \n",
854
+ "3 Have a histopathological diagnosis (fresh or b... \n",
855
+ "4 1.Patients enrolled in CARTiEr study\\n\\r\\n2.Wr... \n",
856
+ "5 * Histologically proven primary high risk leio... \n",
857
+ "6 1.Patients who have voluntarily provided writt... \n",
858
+ "7 (1) Patients who are 18 years old over (at the... \n",
859
+ "8 The patients diagnosed with de-differentiated ... \n",
860
+ "9 1. Histologically diagnosed high-grade bone an... \n",
861
+ "10 (1) Grade 2 or 3 (FNCLCC histological grading ... \n",
862
+ "11 -Diagnosis of Ewing's sarcoma or Ewing's sarco... \n",
863
+ "12 1.\\tStage2A, 2B, 3,4, or recurrent high grade ... \n",
864
+ "13 SC1 (before apheresis)\\n\\r\\n1. Patients diagno... \n",
865
+ "14 Patients who meet all of the following criteri... \n",
866
+ "15 1) Histologically confirmed newly diagnosed rh... \n",
867
+ "16 1) Histologically confirmed newly diagnosed em... \n",
868
+ "17 1. Histologically confirmed newly diagnosed ES... \n",
869
+ "18 1)Patients are histopathologically diagnosed a... \n",
870
+ "19 (1) Patients who have been histologically diag... \n",
871
+ "20 1, Pathological diagnosis is chordoma or chond... \n",
872
+ "\n",
873
+ " Exclusion Criteria \\\n",
874
+ "0 If the research director or co-researchers det... \n",
875
+ "1 1)\\tPatients previously treated with anti-PD-1... \n",
876
+ "2 1. Patients who have received a cumulative dos... \n",
877
+ "3 Are unable to swallow oral medication.\\n\\r\\nPr... \n",
878
+ "4 1.Written consent has not been obtained from t... \n",
879
+ "5 * Sarcoma originating from bone structure, abd... \n",
880
+ "6 1.Patients with other malignancies or history ... \n",
881
+ "7 (1) Patients with concomitant or pre-existing ... \n",
882
+ "8 The patients have a severe allergy and drug hy... \n",
883
+ "9 1.\\tPatients with serious complications.\\n\\r\\n... \n",
884
+ "10 (1) Synchronous or metachronous (within 5 year... \n",
885
+ "11 -Participants with severe and/or uncontrolled ... \n",
886
+ "12 1.\\tLatest adequate organ function as proved b... \n",
887
+ "13 SC1 (pre-apheresis), SC2 (pre-treatment initia... \n",
888
+ "14 Subject will be excluded from the trial if the... \n",
889
+ "15 1) patients with synchronous or metachronous c... \n",
890
+ "16 1) patients with primary tumor of CNS origin, ... \n",
891
+ "17 1. Patients with synchronous or metachronous c... \n",
892
+ "18 1)Active double cancers within 5 years(cured i... \n",
893
+ "19 (1) Skin ulcer or pathological fracture in the... \n",
894
+ "20 1, Multiple primary cancers\\n\\r\\n2, Invasion f... \n",
895
+ "\n",
896
+ " Age Minimum Age Maximum Gender \\\n",
897
+ "0 No limit 40age old not \n",
898
+ "1 18age old over 85age old under Both \n",
899
+ "2 18age old exceed No limit Both \n",
900
+ "3 18age old over No limit Both \n",
901
+ "4 18age old over No limit Both \n",
902
+ "5 18age old over No limit Both \n",
903
+ "6 18age old over No limit Both \n",
904
+ "7 18age old over No limit Both \n",
905
+ "8 18age old over No limit Both \n",
906
+ "9 No limit No limit Both \n",
907
+ "10 16age old over 70age old under Both \n",
908
+ "11 1age old over 39age old under Both \n",
909
+ "12 14age old over 65age old not Both \n",
910
+ "13 5age old over 65age old not Both \n",
911
+ "14 20age old over No limit Female \n",
912
+ "15 1age old over 29age old under Both \n",
913
+ "16 No limit 29age old under Both \n",
914
+ "17 No limit 50age 0month old not Both \n",
915
+ "18 10age 0month 0week old over 70age 11month 4week old under Both \n",
916
+ "19 16age old over No limit Both \n",
917
+ "20 15age old over No limit Both \n",
918
+ "\n",
919
+ " Discontinuation Criteria \\\n",
920
+ "0 None \n",
921
+ "1 None \n",
922
+ "2 None \n",
923
+ "3 None \n",
924
+ "4 None \n",
925
+ "5 None \n",
926
+ "6 None \n",
927
+ "7 None \n",
928
+ "8 None \n",
929
+ "9 None \n",
930
+ "10 None \n",
931
+ "11 None \n",
932
+ "12 None \n",
933
+ "13 None \n",
934
+ "14 None \n",
935
+ "15 None \n",
936
+ "16 None \n",
937
+ "17 None \n",
938
+ "18 None \n",
939
+ "19 None \n",
940
+ "20 None \n",
941
+ "\n",
942
+ " Keyword \\\n",
943
+ "0 hepatoblastoma, HCN-NOS, hepatocellular carcin... \n",
944
+ "1 cutaneous angiosarcoma, angiosarcoma \n",
945
+ "2 Soft tissue sarcoma \n",
946
+ "3 Chondrosarcoma \n",
947
+ "4 \n",
948
+ "5 \n",
949
+ "6 \n",
950
+ "7 \n",
951
+ "8 retroperitoneal de-differentiated liposarcoma \n",
952
+ "9 sarcoma \n",
953
+ "10 \n",
954
+ "11 \n",
955
+ "12 \n",
956
+ "13 \n",
957
+ "14 gynecology, malignancy, rare, gynecologic rare... \n",
958
+ "15 Rhabdomyosarcoma \n",
959
+ "16 rhabdomyosarcoma \n",
960
+ "17 Ewing sarcoma \n",
961
+ "18 \n",
962
+ "19 sarcoma \n",
963
+ "20 proton radiation therapy, proton beam therapy,... \n",
964
+ "\n",
965
+ " Intervention(s) Phase \\\n",
966
+ "0 NaN \n",
967
+ "1 Each course is set at 21 days. Pembrolizumab 2... NaN \n",
968
+ "2 Doxorubicin (60 mg/m2) for 15 minutes, Trabect... NaN \n",
969
+ "3 Drug: Ivosidenib 500mg or Placebo\\n\\r\\nProvide... NaN \n",
970
+ "4 NaN \n",
971
+ "5 Patients in the standard arm (surgery alone) w... NaN \n",
972
+ "6 Administration of CAR-T cells produced from er... NaN \n",
973
+ "7 (TM5614)\\n\\r\\nTM5614 should be taken orally af... NaN \n",
974
+ "8 Doxorubicin (20mg/m2/day), IV, given on day1-3... NaN \n",
975
+ "9 Multi-ion radiotherapy NaN \n",
976
+ "10 Arm A: Three courses of preoperative chemother... NaN \n",
977
+ "11 -Drug: Abemaciclib\\n\\r\\n Orally\\n\\r\\n Ot... NaN \n",
978
+ "12 fasudil hydrochloride hydrate as an IV infusion NaN \n",
979
+ "13 Administration of CAR-T cells produced from er... NaN \n",
980
+ "14 A 200 mg dose of niraparib is orally administe... NaN \n",
981
+ "15 chemotherapy 43 weeks \\n\\r\\nVAC2.2 therapy 9 c... NaN \n",
982
+ "16 chemotherapy 43 weeks \\n\\r\\nVAC1.2 therapy 9 c... NaN \n",
983
+ "17 Chemotherapy\\n\\r\\nStandard therapy for localiz... NaN \n",
984
+ "18 Gemcitabine (900 mg/m2) intravenously(IV) on D... NaN \n",
985
+ "19 Transcutaneous carbon dioxide (CO2) applicatio... NaN \n",
986
+ "20 Proton Radiation Therapy NaN \n",
987
+ "\n",
988
+ " Target \n",
989
+ "0 初発の小児・AYA世代の肝悪性腫瘍(肝芽腫、HCN-NOS、肝細胞癌、肝内胆管癌、肝未分化肉... \n",
990
+ "1 切除不能皮膚血管肉腫 \n",
991
+ "2 軟部肉腫 \n",
992
+ "3 未治療又は1レジメンの全身治療歴を有するIDH1変異陽性の局所進行又は転移性の通常型軟骨肉腫 \n",
993
+ "4 標準治療がない又は不応若しくは不耐の進行再発と診断されたユーイング肉腫又は固形がん \n",
994
+ "5 後腹膜原発性高リスク脱分化型脂肪肉腫または平滑筋肉腫 \n",
995
+ "6 標準治療がない又は不応若しくは不耐の進行再発と診断されたユーイング肉腫又は固形がん \n",
996
+ "7 皮膚血管肉腫 \n",
997
+ "8 後腹膜脱分化型脂肪肉腫 \n",
998
+ "9 骨軟部肉腫 \n",
999
+ "10 切除可能高悪性度非円形細胞軟部肉腫 \n",
1000
+ "11 ・肉腫、ユーイング 、・新生物転移 \n",
1001
+ "12 高悪性骨肉腫 \n",
1002
+ "13 標準治療不応・不耐もしくは再発又は進行HER2陽性骨・軟部肉腫および婦人科悪性腫瘍 \n",
1003
+ "14 【コホートA】BRCA変異陽性の子宮平滑筋肉腫:募集中\\n【コホートB】BRCA変異陰性・H... \n",
1004
+ "15 横紋筋肉腫 \n",
1005
+ "16 横紋筋肉腫 \n",
1006
+ "17 ユーイング肉腫ファミリー腫瘍 \n",
1007
+ "18 進行骨軟部肉腫 \n",
1008
+ "19 悪性骨軟部腫瘍(骨軟部肉腫) \n",
1009
+ "20 頭蓋底脊索腫・軟骨肉腫 \n",
1010
+ "\n",
1011
+ "[21 rows x 36 columns]"
1012
+ ]
1013
+ },
1014
+ "execution_count": 10,
1015
+ "metadata": {},
1016
+ "output_type": "execute_result"
1017
+ }
1018
+ ],
1019
+ "source": [
1020
+ "sorted_df"
1021
+ ]
1022
+ },
1023
+ {
1024
+ "cell_type": "code",
1025
+ "execution_count": 11,
1026
+ "metadata": {},
1027
+ "outputs": [],
1028
+ "source": [
1029
+ "sorted_df.to_csv('../JRCT20241129sarcoma.csv')"
1030
+ ]
1031
+ },
1032
+ {
1033
+ "cell_type": "code",
1034
+ "execution_count": null,
1035
+ "metadata": {},
1036
+ "outputs": [],
1037
+ "source": []
1038
+ }
1039
+ ],
1040
+ "metadata": {
1041
+ "kernelspec": {
1042
+ "display_name": "gradio",
1043
+ "language": "python",
1044
+ "name": "python3"
1045
+ },
1046
+ "language_info": {
1047
+ "codemirror_mode": {
1048
+ "name": "ipython",
1049
+ "version": 3
1050
+ },
1051
+ "file_extension": ".py",
1052
+ "mimetype": "text/x-python",
1053
+ "name": "python",
1054
+ "nbconvert_exporter": "python",
1055
+ "pygments_lexer": "ipython3",
1056
+ "version": "3.12.3"
1057
+ }
1058
+ },
1059
+ "nbformat": 4,
1060
+ "nbformat_minor": 2
1061
+ }
dev_JRCT_api/selenium5.ipynb ADDED
@@ -0,0 +1,294 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": 1,
6
+ "metadata": {},
7
+ "outputs": [],
8
+ "source": [
9
+ "from selenium import webdriver\n",
10
+ "from selenium.webdriver.common.by import By\n",
11
+ "from selenium.webdriver.support.ui import WebDriverWait\n",
12
+ "from selenium.webdriver.support import expected_conditions as EC\n",
13
+ "import csv\n",
14
+ "\n",
15
+ "\n",
16
+ "from selenium import webdriver\n",
17
+ "from selenium.webdriver.common.by import By\n",
18
+ "from selenium.webdriver.support.ui import WebDriverWait\n",
19
+ "from selenium.webdriver.support import expected_conditions as EC\n",
20
+ "import csv\n",
21
+ "\n",
22
+ "from selenium.common.exceptions import ElementClickInterceptedException, TimeoutException\n",
23
+ "\n",
24
+ "import pandas as pd\n",
25
+ "import requests\n",
26
+ "from bs4 import BeautifulSoup\n",
27
+ "import time"
28
+ ]
29
+ },
30
+ {
31
+ "cell_type": "code",
32
+ "execution_count": 12,
33
+ "metadata": {},
34
+ "outputs": [],
35
+ "source": [
36
+ "def scrape_jrct_all_details(url):\n",
37
+ " \"\"\"\n",
38
+ " 指定されたjRCT URLから必要なすべての情報を抽出します。\n",
39
+ " \"\"\"\n",
40
+ " # リクエストを送信\n",
41
+ " headers = {\n",
42
+ " \"User-Agent\": \"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36\"\n",
43
+ " }\n",
44
+ " try:\n",
45
+ " response = requests.get(url, headers=headers, timeout=10)\n",
46
+ " response.raise_for_status()\n",
47
+ " except requests.RequestException as e:\n",
48
+ " print(f\"URLリクエストに失敗しました: {url} - エラー: {e}\")\n",
49
+ " return {\"URL\": url, \"エラー\": \"リクエスト失敗\"}\n",
50
+ "\n",
51
+ " soup = BeautifulSoup(response.text, 'html.parser')\n",
52
+ "\n",
53
+ " # データ格納用辞書\n",
54
+ " data = {\"URL\": url}\n",
55
+ "\n",
56
+ " def extract_label_data(label_text, label_en=None):\n",
57
+ " \"\"\"\n",
58
+ " 特定のラベルに対応するデータを抽出するヘルパー関数\n",
59
+ " \"\"\"\n",
60
+ " label = soup.find('label', string=lambda text: text and label_text in text)\n",
61
+ " if label:\n",
62
+ " td_jp = label.find_parent('th').find_next_sibling('td')\n",
63
+ " td_en = td_jp.find_next_sibling('td') if td_jp and label_en else None\n",
64
+ " return (\n",
65
+ " td_jp.text.strip() if td_jp else None,\n",
66
+ " td_en.text.strip() if td_en else None\n",
67
+ " )\n",
68
+ " return None, None\n",
69
+ "\n",
70
+ " # \"研究・治験の目的\" を抽出\n",
71
+ " data[\"研究・治験の目的\"], _ = extract_label_data(\"研究・治験の目的\")\n",
72
+ "\n",
73
+ " # 試験デザイン情報(日本語と英語)を抽出\n",
74
+ " design_labels = [\n",
75
+ " ('試験等のフェーズ', 'Phase'),\n",
76
+ " ('試験の種類', 'Study Type'),\n",
77
+ " ('無作為化', 'allocation'),\n",
78
+ " ('盲検化', 'masking'),\n",
79
+ " ('対照', 'control'),\n",
80
+ " ('割付け', 'assignment'),\n",
81
+ " ('研究目的', 'purpose')\n",
82
+ " ]\n",
83
+ " for label_jp, label_en in design_labels:\n",
84
+ " jp, en = extract_label_data(label_jp, label_en)\n",
85
+ " data[label_jp] = jp\n",
86
+ " data[label_en] = en\n",
87
+ "\n",
88
+ " # その他の情報を抽出\n",
89
+ " details_labels = [\n",
90
+ " ('主たる選択基準', 'Inclusion Criteria'),\n",
91
+ " ('主たる除外基準', 'Exclusion Criteria'),\n",
92
+ " ('年齢下限', 'Age Minimum'),\n",
93
+ " ('年齢上限', 'Age Maximum'),\n",
94
+ " ('性別', 'Gender'),\n",
95
+ " ('中止基準', 'Discontinuation Criteria'),\n",
96
+ " ('対象疾患キーワード', 'Keyword'),\n",
97
+ " ('介入の内容', 'Intervention(s)')\n",
98
+ " ]\n",
99
+ " for label_jp, label_en in details_labels:\n",
100
+ " jp, en = extract_label_data(label_jp, label_en)\n",
101
+ " data[label_jp] = jp\n",
102
+ " data[label_en] = en\n",
103
+ "\n",
104
+ " # \"他の臨床研究登録機関への登録\" を探索\n",
105
+ " other_registries_section = soup.find(\"div\", id=\"area-toggle-07-02\")\n",
106
+ " japic_no_list = []\n",
107
+ " nct_no_list = []\n",
108
+ "\n",
109
+ " if other_registries_section:\n",
110
+ " rows = other_registries_section.find_all(\"tr\")\n",
111
+ " for row in rows:\n",
112
+ " label = row.find(\"label\")\n",
113
+ " if label and (\"ID番号\" in label.text or \"研究番号\" in label.text):\n",
114
+ " value_td = row.find(\"td\")\n",
115
+ " if value_td:\n",
116
+ " id_number = value_td.text.strip()\n",
117
+ " if id_number.startswith(\"JapicCTI\"):\n",
118
+ " japic_no_list.append(id_number)\n",
119
+ " elif id_number.startswith(\"NCT\"):\n",
120
+ " nct_no_list.append(id_number)\n",
121
+ "\n",
122
+ " # JapicCTI No と NCT No を格納(複数あればカンマ区切り)\n",
123
+ " data[\"JapicCTI No\"] = \", \".join(japic_no_list) if japic_no_list else None\n",
124
+ " data[\"NCT No\"] = \", \".join(nct_no_list) if nct_no_list else None\n",
125
+ "\n",
126
+ " # サーバーへの負荷を避けるためのスリープ\n",
127
+ " time.sleep(1) # 必要に応じて調整\n",
128
+ "\n",
129
+ " return data\n"
130
+ ]
131
+ },
132
+ {
133
+ "cell_type": "code",
134
+ "execution_count": 13,
135
+ "metadata": {},
136
+ "outputs": [],
137
+ "source": [
138
+ "url = \"https://jrct.niph.go.jp/latest-detail/jRCT2031200246\"\n",
139
+ "data = scrape_jrct_all_details(url)"
140
+ ]
141
+ },
142
+ {
143
+ "cell_type": "code",
144
+ "execution_count": 14,
145
+ "metadata": {},
146
+ "outputs": [
147
+ {
148
+ "data": {
149
+ "text/plain": [
150
+ "{'URL': 'https://jrct.niph.go.jp/latest-detail/jRCT2031200246',\n",
151
+ " '研究・治験の目的': '本治験は,非盲検,多施設共同,第1 相試験であり,PF-07248144の安全性,忍容性,PKおよびPDを評価するとともに,PF-07248144を単剤投与またはフルベストラント,レトロゾール+パルボシクリブもしくはPF-07220060+フルベストラントと併用投与したときの臨床的有効性の早期徴候を評価することを目的とする。',\n",
152
+ " '試験等のフェーズ': '1',\n",
153
+ " 'Phase': None,\n",
154
+ " '試験の種類': None,\n",
155
+ " 'Study Type': None,\n",
156
+ " '無作為化': '単一群',\n",
157
+ " 'allocation': 'single arm study',\n",
158
+ " '盲検化': '非盲検',\n",
159
+ " 'masking': 'open(masking not used)',\n",
160
+ " '対照': '非対照',\n",
161
+ " 'control': 'uncontrolled control',\n",
162
+ " '割付け': '単群比較',\n",
163
+ " 'assignment': 'single assignment',\n",
164
+ " '研究目的': '治療',\n",
165
+ " 'purpose': 'treatment purpose',\n",
166
+ " '主たる選択基準': '対象疾患 - 乳癌, 前立腺癌, 肺癌\\r\\n◦パート1A(単剤投与用量漸増パート):組織学的または細胞学的に局所進行または転移性ER 陽性HER2 陰性乳癌,局所進行または転移性CRPC,あるいは局所進行または転移性NSCLC と診断され,標準療法に不耐容もしくは抵抗性,または標準療法が適応とならないない治験参加者\\r\\n◦パート1B,1Cおよび1D(併用投与用量漸増パート):組織学的または細胞学的に局所進行または転移性ER 陽性HER2 陰性乳癌と診断された治験参加者。進行または転移性疾患に対する内分泌療法およびCDK 4/6 阻害薬による前治療を1 種類以上受けた後に疾患進行が認められた治験参加者\\r\\n◦パート2A(ER 陽性HER2 陰性乳癌3L+,単剤療法):組織学的または細胞学的に局所進行または転移性ER 陽性HER2 陰性乳癌と診断された治験参加者。少なくとも1 種類のCDK 4/6 阻害薬による前治療および1種類の内分泌療法による前治療後に疾患進行が認められた治験参加者\\r\\n◦パート2B(ER 陽性HER2 陰性乳癌2~4L,併用療法):組織学的または細胞学的に局所進行または転移性ER 陽性HER2 陰性乳癌と診断された治験参加者。少なくとも1 種類のCDK 4/6 阻害薬による前治療および1種類以上の内分泌療法による前治療後に疾患進行が認められた治験参加者\\r\\n◦パート2D(ER 陽性HER2 陰性乳癌2~4L,併用療法):組織学的または細胞学的に局所進行または転移性ER 陽性HER2 陰性乳癌と診断された治験参加者。少なくとも1 種類以上のCDK 4/6 阻害薬および内分泌療法による前治療後に疾患進行が認められた治験参加者\\r\\n◦各国の基準に従った検査法を用いて直近の腫瘍生検に基づき,ER 陽性腫瘍(染色細胞の1%以上陽性)が確認されている進行または転移性ER 陽性HER2 陰性乳癌を有する治験参加者\\r\\n◦免疫組織化学染色法(IHC)スコア0/1 である場合,またはin situ ハイブリダイゼーション(ISH)法(FISH/CISH/SISH/DISH)によりHER2/CEP17 比が2 未満,かつHER2 コピー数が4 未満である進行または転移性ER 陽性HER2 陰性乳癌を有する治験参加者\\r\\n◦妊娠可能または卵管結紮のみを有する進行または転移性ER 陽性HER2 陰性乳癌を有する女性治験参加者は,承認されたLHRH アゴニスト[ゴセレリン,リュープロリド(本邦においてはリュープロレリン)または同等の薬剤など]治療により,薬剤誘発性の閉経状態にする必要がある\\r\\n◦RECIST 第1.1 版の定義に基づく,放射線照射を受けていない測定可能病変を少なくとも1 つ有する治験参加者\\r\\n◦Eastern Cooperative Oncology Group(ECOG)パフォーマンスステータス(PS)が0 または1 の治験参加者\\r\\n◦18 歳以上の男女。日本では20 歳以上。\\r\\n◦適切な腎機能,肝機能,骨髄昨日を有する治験参加者\\r\\n◦前治療による急性の影響がベースラインまたはCTCAE グレード1 以下にまで回復している治験参加者。ただし,安全性上のリスクとならないと治験責任医師が判断したAE を除く。',\n",
167
+ " 'Inclusion Criteria': 'Disease Characteristics - Breast, Prostate, and Lung Cancer\\r\\n*Part 1A (Monotherapy Dose Escalation) Histological or cytological diagnosis of locally advanced or metastatic ER+HER2- breast cancer, locally advanced or metastatic CRPC, or locally advanced or metastatic NSCLC that is intolerant or resistant to standard therapy or for which no standard therapy is available.\\r\\n*Part 1B, Part 1C and Part 1D (Combination Dose Escalation) Histological or cytological diagnosis of locally advanced or metastatic ER+HER2- breast cancer. Participants must have progressed after at least 1 prior line of treatment with an endocrine therapy and CDK4/6 inhibitor in the advanced or metastatic setting.\\r\\n*Part 2A (ER+HER2- breast cancer 3L+, monotherapy) Histological or cytological diagnosis of locally advanced or metastatic ER+HER2- breast cancer. Participants must have progressed after at least 1 prior line of CDK4/6 inhibitor and 1 lines of endocrine therapy.\\r\\n*Part 2B (ER+HER2- breast cancer 2L, combination) Histological or cytological diagnosis of locally advanced or metastatic ER+HER2- breast cancer. Participants must have progressed after 1 prior line of CDK4/6 inhibitor and at least 1 line of endocrine therapy.\\r\\n*Part 2D (ER+HER2- breast cancer 2L, combination) Histological or cytological diagnosis of locally advanced or metastatic ER+HER2- breast cancer. Participants must have progressed after at least 1 prior line of CDK4/6 inhibitor and at least 1 line of endocrine therapy.\\r\\n*Participants with ER+HER2- advanced or metastatic breast cancer must have documentation of ER-positive tumor (>=1% positive stained cells) based on most recent tumor biopsy utilizing an assay consistent with local standards.\\r\\n*Participants with ER+HER2- advanced or metastatic breast cancer must have documentation of HER2-negative tumor: HER2-negative tumor is determined as immunohistochemistry score 0/1+ or negative by in situ hybridization (FISH/CISH/SISH/DISH) defined as a HER2/CEP17 ratio <2 or for single probe assessment a HER2 copy number <4.\\r\\n*Female participants with ER+HER2- advanced or metastatic breast cancer considered to be of childbearing potential (or have tubal ligations only) must be willing to undergo medically induced menopause by treatment with the approved LHRH agonist such as goserelin, leuprolide or equivalent agents to induce chemical menopause.\\r\\n*Participants must have at least 1 measurable lesion as defined by RECIST version 1.1 that has not been previously irradiated.\\r\\n*Eastern Cooperative Oncology Group (ECOG) Performance Status PS 0 or 1\\r\\n*Female or male patients aged >= 18 years (Japan >= 20 years).\\r\\n*Adequate renal, liver, and bone marrow function.\\r\\n*Resolved acute effects of any prior therapy to baseline severity or CTCAE Grade 1 except for adverse events (AEs) not constituting a safety risk by investigator judgment.I136',\n",
168
+ " '主たる除外基準': '・管理不能な腹水が認められる方(腹水をコントロールするための治療は限定的であるが,腹水が認められる治験参加者はすべて治験依頼者のメディカルモニターによる確認が必要である)\\r\\n・組み入れ前3 年以内にその他の活動性の悪性腫瘍を発症した方。ただし,適切に治療された皮膚の基底細胞癌もしくは扁平上皮癌または上皮内癌は除く\\r\\n・本治験組み入れ前3 週間以内に大きな外科的処置,放射線治療または全身療法による抗がん治療を受けた方\\r\\n・骨髄の25%を超える領域に放射線照射を受けた経験がある方\\r\\n・ベースライン時の12 誘導ECG が,安全性または治験結果の解釈に影響を及ぼす可能性[ベースライン時の補正QT(QTc)間隔が470 msec を超える,完全左脚ブロック,急性または発症時期不明の心筋梗塞の徴候,活動性の心筋虚血を示唆するST-T 間隔の変化,2 度または3 度の房室ブロック,重篤な徐脈性不整脈または頻脈性不整脈]がある臨床的に意味のある異常を示す方\\r\\n・抗凝固療法は許容されない。ただし,低分子ヘパリン投与による抗凝固療法は許容される。ビタミンK 拮抗薬または第Xa 因子阻害薬は,治験依頼者との協議により許容される場合もある。\\r\\n・PF-07248144 の有効成分/添加物に対して過敏症または重度のアレルギーの既往���たは疑いがある方\\r\\n・活動性の炎症性消化管疾患,難治性および未回復の慢性下痢,または胃切除の既往歴やラップバンドの外科手術,またはPF-07248144 錠の消化管吸収を著しく変化させる可能性のある他の消化管疾患を有している方。治療中の胃食道逆流性疾患は許容される。\\r\\n・妊娠中または授乳中の女性',\n",
169
+ " 'Exclusion Criteria': \"*Unmanageable ascites (limited medical treatment to control ascites is permitted, but all participants with ascites require review by sponsor's medical monitor).\\r\\n*Participants with any other active malignancy within 3 years prior to enrollment, except for adequately treated basal cell or squamous cell skin cancer, or carcinoma in situ.\\r\\n*Major surgery, radiation therapy, or systemic anti-cancer therapy within 3 weeks prior to study entry.\\r\\n*Prior irradiation to >25% of the bone marrow.\\r\\n*ECG clinically relevant abnormalities (eg, QTc >470 msec, complete LBBB, second/third degree AV block, ST elevation or EKG changes suggesting myocardial infarction or active myocardia ischemia).\\r\\n*Therapeutic anticoagulation. However, low molecular weight heparin is allowed. Vitamin K antagonists or factor Xa inhibitors may be allowed following discussion with the Sponsor.\\r\\n*Known or suspected hypersensitivity or severe allergy to active ingredient/excipients of PF-07248144.\\r\\n*Active inflammatory GI disease, refractory and unresolved chronic diarrhea or previous gastric resection, lap band surgery or other GI conditions and surgeries that may significantly alter the absorption of PF-07248144 tablets. Gastroesophageal reflux disease under treatment is allowed.\\r\\n*Pregnant or breastfeeding female participants.\",\n",
170
+ " '年齢下限': '20歳 以上',\n",
171
+ " 'Age Minimum': '20age old over',\n",
172
+ " '年齢上限': '上限なし',\n",
173
+ " 'Age Maximum': 'No limit',\n",
174
+ " '性別': '男性・女性',\n",
175
+ " 'Gender': 'Both',\n",
176
+ " '中止基準': '',\n",
177
+ " 'Discontinuation Criteria': None,\n",
178
+ " '対象疾患キーワード': '',\n",
179
+ " 'Keyword': '',\n",
180
+ " '介入の内容': 'Part 1A: PF-07248144 (KAT6阻害剤)\\r\\nPart 1B: PF-07248144 (KAT6阻害剤), フルベストラント (内分泌療法: フェソロデックス)\\r\\nPart 1C: PF-07248144 (KAT6阻害剤), レトロゾール (内分泌療法: フェマーラ), パルボシクリブ(CDK4/6阻害剤: イブランス)\\r\\nPart 1D: PF-07248144 (KAT6阻害剤), PF-07220060 (CDK4阻害剤), フルベストラント (内分泌療法: フェソロデックス)\\r\\nPart 2A: PF-07248144 (KAT6阻害剤)\\r\\nPart 2B: PF-07248144 (KAT6阻害剤), フルベストラント (内分泌療法: フェソロデックス)\\r\\nPart 2D: PF-07248144 (KAT6阻害剤), PF-07220060 (CDK4阻害剤), フルベストラント (内分泌療法: フェソロデックス)',\n",
181
+ " 'Intervention(s)': 'Part 1A: PF-07248144 (KAT6 Inhibitor)\\r\\nPart 1B: PF-07248144 (KAT6 Inhibitor), Fulvestrant (Endocrine Therapy: Faslodex)\\r\\nPart 1C: PF-07248144 (KAT6 Inhibitor), Letrozole (Endocrine Therapy: Femara), Palbociclib (CDK4/6 Inhibitor: Ibrance)\\r\\nPart 1D: PF-07248144 (KAT6 Inhibitor), PF-07220060 (CDK4 Inhibitor), Fulvestrant (Endocrine Therapy: Faslodex)\\r\\nPart 2A: PF-07248144 (KAT6 Inhibitor)\\r\\nPart 2B: PF-07248144 (KAT6 Inhibitor), Fulvestrant (Endocrine Therapy: Faslodex)\\r\\nPart 2D: PF-07248144 (KAT6 Inhibitor), PF-07220060 (CDK4 Inhibitor), Fulvestrant (Endocrine Therapy: Faslodex)',\n",
182
+ " 'JapicCTI No': None,\n",
183
+ " 'NCT No': 'NCT04606446'}"
184
+ ]
185
+ },
186
+ "execution_count": 14,
187
+ "metadata": {},
188
+ "output_type": "execute_result"
189
+ }
190
+ ],
191
+ "source": [
192
+ "data"
193
+ ]
194
+ },
195
+ {
196
+ "cell_type": "code",
197
+ "execution_count": 15,
198
+ "metadata": {},
199
+ "outputs": [],
200
+ "source": [
201
+ "url = \"https://jrct.niph.go.jp/latest-detail/jRCT2080223999\"\n",
202
+ "data = scrape_jrct_all_details(url)"
203
+ ]
204
+ },
205
+ {
206
+ "cell_type": "code",
207
+ "execution_count": 16,
208
+ "metadata": {},
209
+ "outputs": [
210
+ {
211
+ "data": {
212
+ "text/plain": [
213
+ "{'URL': 'https://jrct.niph.go.jp/latest-detail/jRCT2080223999',\n",
214
+ " '研究・治験の目的': None,\n",
215
+ " '試験等のフェーズ': None,\n",
216
+ " 'Phase': None,\n",
217
+ " '試験の種類': '介入研究',\n",
218
+ " 'Study Type': 'Interventional',\n",
219
+ " '無作為化': None,\n",
220
+ " 'allocation': None,\n",
221
+ " '盲検化': None,\n",
222
+ " 'masking': None,\n",
223
+ " '対照': None,\n",
224
+ " 'control': None,\n",
225
+ " '割付け': None,\n",
226
+ " 'assignment': None,\n",
227
+ " '研究目的': None,\n",
228
+ " 'purpose': None,\n",
229
+ " '主たる選択基準': None,\n",
230
+ " 'Inclusion Criteria': None,\n",
231
+ " '主たる除外基準': None,\n",
232
+ " 'Exclusion Criteria': None,\n",
233
+ " '年齢下限': None,\n",
234
+ " 'Age Minimum': None,\n",
235
+ " '年齢上限': None,\n",
236
+ " 'Age Maximum': None,\n",
237
+ " '性別': '男性・女性',\n",
238
+ " 'Gender': 'Both',\n",
239
+ " '中止基準': None,\n",
240
+ " 'Discontinuation Criteria': None,\n",
241
+ " '対象疾患キーワード': '',\n",
242
+ " 'Keyword': '',\n",
243
+ " '介入の内容': '試験対象薬剤等\\r\\n一般的名称等:BI 907828\\r\\n薬剤・試験薬剤:\\r\\n薬効分類コード:42- 腫瘍用薬\\r\\n用法・用量、使用方法:経口投与',\n",
244
+ " 'Intervention(s)': 'investigational material(s)\\r\\nGeneric name etc : BI 907828\\r\\nINN of investigational material : -\\r\\nTherapeutic category code : 42 - antitumor agents\\r\\nDosage and Administration for Investigational material : p.o',\n",
245
+ " 'JapicCTI No': 'JapicCTI-184058',\n",
246
+ " 'NCT No': 'NCT03449381'}"
247
+ ]
248
+ },
249
+ "execution_count": 16,
250
+ "metadata": {},
251
+ "output_type": "execute_result"
252
+ }
253
+ ],
254
+ "source": [
255
+ "data"
256
+ ]
257
+ },
258
+ {
259
+ "cell_type": "code",
260
+ "execution_count": null,
261
+ "metadata": {},
262
+ "outputs": [],
263
+ "source": []
264
+ },
265
+ {
266
+ "cell_type": "code",
267
+ "execution_count": null,
268
+ "metadata": {},
269
+ "outputs": [],
270
+ "source": []
271
+ }
272
+ ],
273
+ "metadata": {
274
+ "kernelspec": {
275
+ "display_name": "gradio",
276
+ "language": "python",
277
+ "name": "python3"
278
+ },
279
+ "language_info": {
280
+ "codemirror_mode": {
281
+ "name": "ipython",
282
+ "version": 3
283
+ },
284
+ "file_extension": ".py",
285
+ "mimetype": "text/x-python",
286
+ "name": "python",
287
+ "nbconvert_exporter": "python",
288
+ "pygments_lexer": "ipython3",
289
+ "version": "3.12.3"
290
+ }
291
+ },
292
+ "nbformat": 4,
293
+ "nbformat_minor": 2
294
+ }
dev_JRCT_api/serdhdev.ipynb ADDED
@@ -0,0 +1,1406 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": 1,
6
+ "metadata": {},
7
+ "outputs": [],
8
+ "source": [
9
+ "import pandas as pd"
10
+ ]
11
+ },
12
+ {
13
+ "cell_type": "code",
14
+ "execution_count": 2,
15
+ "metadata": {},
16
+ "outputs": [],
17
+ "source": [
18
+ "df = pd.read_csv('../ClinicalTrialCSV/JRCT20241129Cancer.csv', index_col=0)"
19
+ ]
20
+ },
21
+ {
22
+ "cell_type": "code",
23
+ "execution_count": 6,
24
+ "metadata": {},
25
+ "outputs": [
26
+ {
27
+ "data": {
28
+ "text/html": [
29
+ "<div>\n",
30
+ "<style scoped>\n",
31
+ " .dataframe tbody tr th:only-of-type {\n",
32
+ " vertical-align: middle;\n",
33
+ " }\n",
34
+ "\n",
35
+ " .dataframe tbody tr th {\n",
36
+ " vertical-align: top;\n",
37
+ " }\n",
38
+ "\n",
39
+ " .dataframe thead th {\n",
40
+ " text-align: right;\n",
41
+ " }\n",
42
+ "</style>\n",
43
+ "<table border=\"1\" class=\"dataframe\">\n",
44
+ " <thead>\n",
45
+ " <tr style=\"text-align: right;\">\n",
46
+ " <th></th>\n",
47
+ " <th>JRCT ID</th>\n",
48
+ " <th>Title</th>\n",
49
+ " <th>Target</th>\n",
50
+ " <th>研究・治験の目的</th>\n",
51
+ " <th>試験の種類</th>\n",
52
+ " <th>無作為化</th>\n",
53
+ " <th>盲検化</th>\n",
54
+ " <th>対照</th>\n",
55
+ " <th>割付け</th>\n",
56
+ " <th>研究目的</th>\n",
57
+ " <th>...</th>\n",
58
+ " <th>purpose</th>\n",
59
+ " <th>Inclusion Criteria</th>\n",
60
+ " <th>Exclusion Criteria</th>\n",
61
+ " <th>Age Minimum</th>\n",
62
+ " <th>Age Maximum</th>\n",
63
+ " <th>Gender</th>\n",
64
+ " <th>Discontinuation Criteria</th>\n",
65
+ " <th>Keyword</th>\n",
66
+ " <th>Intervention(s)</th>\n",
67
+ " <th>Phase</th>\n",
68
+ " </tr>\n",
69
+ " </thead>\n",
70
+ " <tbody>\n",
71
+ " <tr>\n",
72
+ " <th>0</th>\n",
73
+ " <td>jRCT1030240513</td>\n",
74
+ " <td>進行がん患者に対する可聴領域外のハイレゾ自然音源が与える生体情報や癒しの変化を評価する\\n探...</td>\n",
75
+ " <td>がん</td>\n",
76
+ " <td>進行がん患者を対象に、可聴領域外のハイレゾ自然音源を介入とした音楽療法が、無音と比較して、疲...</td>\n",
77
+ " <td>介入研究</td>\n",
78
+ " <td>無作為化比較</td>\n",
79
+ " <td>単盲検</td>\n",
80
+ " <td>プラセボ対照</td>\n",
81
+ " <td>並行群間比較</td>\n",
82
+ " <td>緩和</td>\n",
83
+ " <td>...</td>\n",
84
+ " <td>supportive care</td>\n",
85
+ " <td>Eligible participants must meet the following ...</td>\n",
86
+ " <td>Exclusion criteria apply if any of the followi...</td>\n",
87
+ " <td>18age old over</td>\n",
88
+ " <td>No limit</td>\n",
89
+ " <td>NaN</td>\n",
90
+ " <td>NaN</td>\n",
91
+ " <td>cancer,</td>\n",
92
+ " <td>Participants will be exposed to either sounds ...</td>\n",
93
+ " <td>NaN</td>\n",
94
+ " </tr>\n",
95
+ " <tr>\n",
96
+ " <th>1</th>\n",
97
+ " <td>jRCT1032240511</td>\n",
98
+ " <td>進行がん患者の痛みに対する交番磁界治療器の至適な治療時間の条件に関する多施設共同研究</td>\n",
99
+ " <td>がん患者の疼痛</td>\n",
100
+ " <td>交番磁界治療器を用いた自宅での疼痛治療について、進行がん患者が治療の継続が可能と考える治療時...</td>\n",
101
+ " <td>介入研究</td>\n",
102
+ " <td>単一群</td>\n",
103
+ " <td>非盲検</td>\n",
104
+ " <td>非対照</td>\n",
105
+ " <td>単群比較</td>\n",
106
+ " <td>その他</td>\n",
107
+ " <td>...</td>\n",
108
+ " <td>other</td>\n",
109
+ " <td>1. Age 18 years or older on the day of consent...</td>\n",
110
+ " <td>1. There is a skin disorder in the painful are...</td>\n",
111
+ " <td>18age old over</td>\n",
112
+ " <td>No limit</td>\n",
113
+ " <td>Both</td>\n",
114
+ " <td>NaN</td>\n",
115
+ " <td>NaN</td>\n",
116
+ " <td>Four pads of the alternating magnetic field th...</td>\n",
117
+ " <td>NaN</td>\n",
118
+ " </tr>\n",
119
+ " <tr>\n",
120
+ " <th>2</th>\n",
121
+ " <td>jRCT1032240506</td>\n",
122
+ " <td>卵巣腫瘍手術での術中低圧換気介入による術中出血量に及ぼす影響:ランダム化比較試験</td>\n",
123
+ " <td>卵巣がん</td>\n",
124
+ " <td>卵巣悪性腫瘍手術は高侵襲な手術であり輸血率の高い手術である。一方で輸血により癌の予後が悪化す...</td>\n",
125
+ " <td>介入研究</td>\n",
126
+ " <td>無作為化比較</td>\n",
127
+ " <td>単盲検</td>\n",
128
+ " <td>実薬���治療)対照</td>\n",
129
+ " <td>並行群間比較</td>\n",
130
+ " <td>治療</td>\n",
131
+ " <td>...</td>\n",
132
+ " <td>treatment purpose</td>\n",
133
+ " <td>Patients undergoing ovarian cancer surgery at ...</td>\n",
134
+ " <td>1.Minors\\n\\r\\n2.Emergency surgery\\n\\r\\n3.Patie...</td>\n",
135
+ " <td>18age old over</td>\n",
136
+ " <td>100age old not</td>\n",
137
+ " <td>Female</td>\n",
138
+ " <td>NaN</td>\n",
139
+ " <td>NaN</td>\n",
140
+ " <td>Low-pressure ventilation and low venous pressu...</td>\n",
141
+ " <td>NaN</td>\n",
142
+ " </tr>\n",
143
+ " <tr>\n",
144
+ " <th>3</th>\n",
145
+ " <td>jRCT2041240130</td>\n",
146
+ " <td>中等度-高度PONV発症リスクを有する肺切除術予定患者の周術期管理におけるGranisetr...</td>\n",
147
+ " <td>肺がん</td>\n",
148
+ " <td>全身麻酔を要する肺切除術周術期における標準制吐療法であるグラニセトロン(Granisetro...</td>\n",
149
+ " <td>NaN</td>\n",
150
+ " <td>無作為化比較</td>\n",
151
+ " <td>非盲検</td>\n",
152
+ " <td>無治療対照/標準治療対照</td>\n",
153
+ " <td>並行群間比較</td>\n",
154
+ " <td>治療</td>\n",
155
+ " <td>...</td>\n",
156
+ " <td>treatment purpose</td>\n",
157
+ " <td>(1) Patients scheduled to undergo anatomical l...</td>\n",
158
+ " <td>(1) Patients with a history of allergy to the ...</td>\n",
159
+ " <td>18age old over</td>\n",
160
+ " <td>No limit</td>\n",
161
+ " <td>Both</td>\n",
162
+ " <td>NaN</td>\n",
163
+ " <td>NaN</td>\n",
164
+ " <td>Treatment group\\n\\r\\nAdminister GRA 1mg intrav...</td>\n",
165
+ " <td>NaN</td>\n",
166
+ " </tr>\n",
167
+ " <tr>\n",
168
+ " <th>4</th>\n",
169
+ " <td>jRCT2031240500</td>\n",
170
+ " <td>ミスマッチ修復機能欠損(dMMR)又は高頻度マイクロサテライト不安定性(MSI-H)を有する...</td>\n",
171
+ " <td>ミスマッチ修復機能欠損(dMMR)又は高頻度マイクロサテライト不安定性(MSI-H)を有する...</td>\n",
172
+ " <td>固形がんは、体のさまざまな部位に発生する異常な組織の塊である。本治験は、特定の遺伝的特徴を持...</td>\n",
173
+ " <td>NaN</td>\n",
174
+ " <td>単一群</td>\n",
175
+ " <td>非盲検</td>\n",
176
+ " <td>非対照</td>\n",
177
+ " <td>単群比較</td>\n",
178
+ " <td>治療</td>\n",
179
+ " <td>...</td>\n",
180
+ " <td>treatment purpose</td>\n",
181
+ " <td>Parts 1, 2, and 3 inclusion criteria: \\n\\r\\n-H...</td>\n",
182
+ " <td>Parts 1, 2, and 3 exclusion criteria:\\n\\r\\n-Ha...</td>\n",
183
+ " <td>18age old over</td>\n",
184
+ " <td>No limit</td>\n",
185
+ " <td>Both</td>\n",
186
+ " <td>NaN</td>\n",
187
+ " <td>NaN</td>\n",
188
+ " <td>Drug: GSK4418959\\n\\r\\nDrug:PD-1 inhibitor</td>\n",
189
+ " <td>NaN</td>\n",
190
+ " </tr>\n",
191
+ " <tr>\n",
192
+ " <th>...</th>\n",
193
+ " <td>...</td>\n",
194
+ " <td>...</td>\n",
195
+ " <td>...</td>\n",
196
+ " <td>...</td>\n",
197
+ " <td>...</td>\n",
198
+ " <td>...</td>\n",
199
+ " <td>...</td>\n",
200
+ " <td>...</td>\n",
201
+ " <td>...</td>\n",
202
+ " <td>...</td>\n",
203
+ " <td>...</td>\n",
204
+ " <td>...</td>\n",
205
+ " <td>...</td>\n",
206
+ " <td>...</td>\n",
207
+ " <td>...</td>\n",
208
+ " <td>...</td>\n",
209
+ " <td>...</td>\n",
210
+ " <td>...</td>\n",
211
+ " <td>...</td>\n",
212
+ " <td>...</td>\n",
213
+ " <td>...</td>\n",
214
+ " </tr>\n",
215
+ " <tr>\n",
216
+ " <th>282</th>\n",
217
+ " <td>jRCT2080223823</td>\n",
218
+ " <td>固形がん患者を対象としたE7130 の臨床第1相試験</td>\n",
219
+ " <td>Part1:固形がん\\nPart2:頭頸部がん,尿路上皮がん</td>\n",
220
+ " <td>NaN</td>\n",
221
+ " <td>介入研究</td>\n",
222
+ " <td>NaN</td>\n",
223
+ " <td>NaN</td>\n",
224
+ " <td>NaN</td>\n",
225
+ " <td>NaN</td>\n",
226
+ " <td>NaN</td>\n",
227
+ " <td>...</td>\n",
228
+ " <td>NaN</td>\n",
229
+ " <td>NaN</td>\n",
230
+ " <td>NaN</td>\n",
231
+ " <td>NaN</td>\n",
232
+ " <td>NaN</td>\n",
233
+ " <td>&lt;p&gt;Both&lt;/p&gt;</td>\n",
234
+ " <td>NaN</td>\n",
235
+ " <td>NaN</td>\n",
236
+ " <td>investigational material(s)&lt;br&gt;\\nGeneric name ...</td>\n",
237
+ " <td>NaN</td>\n",
238
+ " </tr>\n",
239
+ " <tr>\n",
240
+ " <th>283</th>\n",
241
+ " <td>jRCT1090220266</td>\n",
242
+ " <td>肺がん手術患者に対する運動療法とBCAA���取の併用効果の検討</td>\n",
243
+ " <td>肺がん</td>\n",
244
+ " <td>NaN</td>\n",
245
+ " <td>NaN</td>\n",
246
+ " <td>NaN</td>\n",
247
+ " <td>非盲検</td>\n",
248
+ " <td>実薬(治療)対照</td>\n",
249
+ " <td>なし</td>\n",
250
+ " <td>NaN</td>\n",
251
+ " <td>...</td>\n",
252
+ " <td>NaN</td>\n",
253
+ " <td>NaN</td>\n",
254
+ " <td>NaN</td>\n",
255
+ " <td>Age Month Week Day Hour</td>\n",
256
+ " <td>Age Month Week Day Hour No limit</td>\n",
257
+ " <td>Both</td>\n",
258
+ " <td>NaN</td>\n",
259
+ " <td>NaN</td>\n",
260
+ " <td>Intervention type:BEHAVIOUR\\n\\nName of interve...</td>\n",
261
+ " <td>NaN</td>\n",
262
+ " </tr>\n",
263
+ " <tr>\n",
264
+ " <th>284</th>\n",
265
+ " <td>jRCT1091220254</td>\n",
266
+ " <td>肺動静脈分離3D-CT angiographyにおけるヨード造影剤量低減の検討</td>\n",
267
+ " <td>肺がん</td>\n",
268
+ " <td>NaN</td>\n",
269
+ " <td>NaN</td>\n",
270
+ " <td>NaN</td>\n",
271
+ " <td>単盲検</td>\n",
272
+ " <td>用量比較</td>\n",
273
+ " <td>あり</td>\n",
274
+ " <td>NaN</td>\n",
275
+ " <td>...</td>\n",
276
+ " <td>NaN</td>\n",
277
+ " <td>NaN</td>\n",
278
+ " <td>NaN</td>\n",
279
+ " <td>Age Month Week Day Hour No limit</td>\n",
280
+ " <td>Age Month Week Day Hour No limit</td>\n",
281
+ " <td>Both</td>\n",
282
+ " <td>NaN</td>\n",
283
+ " <td>NaN</td>\n",
284
+ " <td>Intervention type:DRUG\\n\\nName of intervention...</td>\n",
285
+ " <td>NaN</td>\n",
286
+ " </tr>\n",
287
+ " <tr>\n",
288
+ " <th>285</th>\n",
289
+ " <td>jRCT1090220224</td>\n",
290
+ " <td>体幹部神経ブロック後のレボブピバカインの血中濃度の変化</td>\n",
291
+ " <td>下腹部消化器がん</td>\n",
292
+ " <td>NaN</td>\n",
293
+ " <td>NaN</td>\n",
294
+ " <td>NaN</td>\n",
295
+ " <td>非盲検</td>\n",
296
+ " <td>無対照</td>\n",
297
+ " <td>NaN</td>\n",
298
+ " <td>NaN</td>\n",
299
+ " <td>...</td>\n",
300
+ " <td>NaN</td>\n",
301
+ " <td>NaN</td>\n",
302
+ " <td>NaN</td>\n",
303
+ " <td>20Age Month Week Day Hour over</td>\n",
304
+ " <td>Age Month Week Day Hour No limit</td>\n",
305
+ " <td>Both</td>\n",
306
+ " <td>NaN</td>\n",
307
+ " <td>NaN</td>\n",
308
+ " <td>Intervention type:\\n\\nName of intervention:\\n\\...</td>\n",
309
+ " <td>NaN</td>\n",
310
+ " </tr>\n",
311
+ " <tr>\n",
312
+ " <th>286</th>\n",
313
+ " <td>jRCT1091220221</td>\n",
314
+ " <td>ヨード造影剤と生理食塩水の混合溶液を用いたtest injectionによる混合割合と造影効...</td>\n",
315
+ " <td>肺がん</td>\n",
316
+ " <td>NaN</td>\n",
317
+ " <td>NaN</td>\n",
318
+ " <td>NaN</td>\n",
319
+ " <td>非盲検</td>\n",
320
+ " <td>無対照</td>\n",
321
+ " <td>なし</td>\n",
322
+ " <td>NaN</td>\n",
323
+ " <td>...</td>\n",
324
+ " <td>NaN</td>\n",
325
+ " <td>NaN</td>\n",
326
+ " <td>NaN</td>\n",
327
+ " <td>Age Month Week Day Hour No limit</td>\n",
328
+ " <td>Age Month Week Day Hour No limit</td>\n",
329
+ " <td>Both</td>\n",
330
+ " <td>NaN</td>\n",
331
+ " <td>NaN</td>\n",
332
+ " <td>Intervention type:DRUG\\n\\nName of intervention...</td>\n",
333
+ " <td>NaN</td>\n",
334
+ " </tr>\n",
335
+ " </tbody>\n",
336
+ "</table>\n",
337
+ "<p>287 rows × 35 columns</p>\n",
338
+ "</div>"
339
+ ],
340
+ "text/plain": [
341
+ " JRCT ID Title \\\n",
342
+ "0 jRCT1030240513 進行がん患者に対する可聴領域外のハイレゾ自然音源が与える生体情報や癒しの変化を評価する\\n探... \n",
343
+ "1 jRCT1032240511 進行がん患者の痛みに対する交番磁界治療器の至適な治療時間の条件に関する多施設共同研究 \n",
344
+ "2 jRCT1032240506 卵巣腫瘍手術での術中低圧換気介入による術中出血量に及ぼす影響:ランダム化比較試験 \n",
345
+ "3 jRCT2041240130 中等度-高度PONV発症リスクを有する肺切除術予定患者の周術期管理におけるGranisetr... \n",
346
+ "4 jRCT2031240500 ミスマッチ修復機能欠損(dMMR)又は高頻度マイクロサテライト不安定性(MSI-H)を有する... \n",
347
+ ".. ... ... \n",
348
+ "282 jRCT2080223823 固形がん患者を対象としたE7130 の臨床第1相試験 \n",
349
+ "283 jRCT1090220266 肺がん手術患者に対する運動療法とBCAA摂��の併用効果の検討 \n",
350
+ "284 jRCT1091220254 肺動静脈分離3D-CT angiographyにおけるヨード造影剤量低減の検討 \n",
351
+ "285 jRCT1090220224 体幹部神経ブロック後のレボブピバカインの血中濃度の変化 \n",
352
+ "286 jRCT1091220221 ヨード造影剤と生理食塩水の混合溶液を用いたtest injectionによる混合割合と造影効... \n",
353
+ "\n",
354
+ " Target \\\n",
355
+ "0 がん \n",
356
+ "1 がん患者の疼痛 \n",
357
+ "2 卵巣がん \n",
358
+ "3 肺がん \n",
359
+ "4 ミスマッチ修復機能欠損(dMMR)又は高頻度マイクロサテライト不安定性(MSI-H)を有する... \n",
360
+ ".. ... \n",
361
+ "282 Part1:固形がん\\nPart2:頭頸部がん,尿路上皮がん \n",
362
+ "283 肺がん \n",
363
+ "284 肺がん \n",
364
+ "285 下腹部消化器がん \n",
365
+ "286 肺がん \n",
366
+ "\n",
367
+ " 研究・治験の目的 試験の種類 無作為化 盲検化 \\\n",
368
+ "0 進行がん患者を対象に、可聴領域外のハイレゾ自然音源を介入とした音楽療法が、無音と比較して、疲... 介入研究 無作為化比較 単盲検 \n",
369
+ "1 交番磁界治療器を用いた自宅での疼痛治療について、進行がん患者が治療の継続が可能と考える治療時... 介入研究 単一群 非盲検 \n",
370
+ "2 卵巣悪性腫瘍手術は高侵襲な手術であり輸血率の高い手術である。一方で輸血により癌の予後が悪化す... 介入研究 無作為化比較 単盲検 \n",
371
+ "3 全身麻酔を要する肺切除術周術期における標準制吐療法であるグラニセトロン(Granisetro... NaN 無作為化比較 非盲検 \n",
372
+ "4 固形がんは、体のさまざまな部位に発生する異常な組織の塊である。本治験は、特定の遺伝的特徴を持... NaN 単一群 非盲検 \n",
373
+ ".. ... ... ... ... \n",
374
+ "282 NaN 介入研究 NaN NaN \n",
375
+ "283 NaN NaN NaN 非盲検 \n",
376
+ "284 NaN NaN NaN 単盲検 \n",
377
+ "285 NaN NaN NaN 非盲検 \n",
378
+ "286 NaN NaN NaN 非盲検 \n",
379
+ "\n",
380
+ " 対照 割付け 研究目的 ... purpose \\\n",
381
+ "0 プラセボ対照 並行群間比較 緩和 ... supportive care \n",
382
+ "1 非対照 単群比較 その他 ... other \n",
383
+ "2 実薬(治療)対照 並行群間比較 治療 ... treatment purpose \n",
384
+ "3 無治療対照/標準治療対照 並行群間比較 治療 ... treatment purpose \n",
385
+ "4 非対照 単群比較 治療 ... treatment purpose \n",
386
+ ".. ... ... ... ... ... \n",
387
+ "282 NaN NaN NaN ... NaN \n",
388
+ "283 実薬(治療)対照 なし NaN ... NaN \n",
389
+ "284 用量比較 あり NaN ... NaN \n",
390
+ "285 無対照 NaN NaN ... NaN \n",
391
+ "286 無対照 なし NaN ... NaN \n",
392
+ "\n",
393
+ " Inclusion Criteria \\\n",
394
+ "0 Eligible participants must meet the following ... \n",
395
+ "1 1. Age 18 years or older on the day of consent... \n",
396
+ "2 Patients undergoing ovarian cancer surgery at ... \n",
397
+ "3 (1) Patients scheduled to undergo anatomical l... \n",
398
+ "4 Parts 1, 2, and 3 inclusion criteria: \\n\\r\\n-H... \n",
399
+ ".. ... \n",
400
+ "282 NaN \n",
401
+ "283 NaN \n",
402
+ "284 NaN \n",
403
+ "285 NaN \n",
404
+ "286 NaN \n",
405
+ "\n",
406
+ " Exclusion Criteria \\\n",
407
+ "0 Exclusion criteria apply if any of the followi... \n",
408
+ "1 1. There is a skin disorder in the painful are... \n",
409
+ "2 1.Minors\\n\\r\\n2.Emergency surgery\\n\\r\\n3.Patie... \n",
410
+ "3 (1) Patients with a history of allergy to the ... \n",
411
+ "4 Parts 1, 2, and 3 exclusion criteria:\\n\\r\\n-Ha... \n",
412
+ ".. ... \n",
413
+ "282 NaN \n",
414
+ "283 NaN \n",
415
+ "284 NaN \n",
416
+ "285 NaN \n",
417
+ "286 NaN \n",
418
+ "\n",
419
+ " Age Minimum Age Maximum \\\n",
420
+ "0 18age old over No limit \n",
421
+ "1 18age old over No limit \n",
422
+ "2 18age old over 100age old not \n",
423
+ "3 18age old over No limit \n",
424
+ "4 18age old over No limit \n",
425
+ ".. ... ... \n",
426
+ "282 NaN NaN \n",
427
+ "283 Age Month Week Day Hour Age Month Week Day Hour No limit \n",
428
+ "284 Age Month Week Day Hour No limit Age Month Week Day Hour No limit \n",
429
+ "285 20Age Month Week Day Hour over Age Month Week Day Hour No limit \n",
430
+ "286 Age Month Week Day Hour No limit Age Month Week Day Hour No limit \n",
431
+ "\n",
432
+ " Gender Discontinuation Criteria Keyword \\\n",
433
+ "0 NaN NaN cancer, \n",
434
+ "1 Both NaN NaN \n",
435
+ "2 Female NaN NaN \n",
436
+ "3 Both NaN NaN \n",
437
+ "4 Both NaN NaN \n",
438
+ ".. ... ... ... \n",
439
+ "282 <p>Both</p> NaN NaN \n",
440
+ "283 Both NaN NaN \n",
441
+ "284 Both NaN NaN \n",
442
+ "285 Both NaN NaN \n",
443
+ "286 Both NaN NaN \n",
444
+ "\n",
445
+ " Intervention(s) Phase \n",
446
+ "0 Participants will be exposed to either sounds ... NaN \n",
447
+ "1 Four pads of the alternating magnetic field th... NaN \n",
448
+ "2 Low-pressure ventilation and low venous pressu... NaN \n",
449
+ "3 Treatment group\\n\\r\\nAdminister GRA 1mg intrav... NaN \n",
450
+ "4 Drug: GSK4418959\\n\\r\\nDrug:PD-1 inhibitor NaN \n",
451
+ ".. ... ... \n",
452
+ "282 investigational material(s)<br>\\nGeneric name ... NaN \n",
453
+ "283 Intervention type:BEHAVIOUR\\n\\nName of interve... NaN \n",
454
+ "284 Intervention type:DRUG\\n\\nName of intervention... NaN \n",
455
+ "285 Intervention type:\\n\\nName of intervention:\\n\\... NaN \n",
456
+ "286 Intervention type:DRUG\\n\\nName of intervention... NaN \n",
457
+ "\n",
458
+ "[287 rows x 35 columns]"
459
+ ]
460
+ },
461
+ "execution_count": 6,
462
+ "metadata": {},
463
+ "output_type": "execute_result"
464
+ }
465
+ ],
466
+ "source": [
467
+ "df"
468
+ ]
469
+ },
470
+ {
471
+ "cell_type": "code",
472
+ "execution_count": 7,
473
+ "metadata": {},
474
+ "outputs": [
475
+ {
476
+ "data": {
477
+ "text/html": [
478
+ "<div>\n",
479
+ "<style scoped>\n",
480
+ " .dataframe tbody tr th:only-of-type {\n",
481
+ " vertical-align: middle;\n",
482
+ " }\n",
483
+ "\n",
484
+ " .dataframe tbody tr th {\n",
485
+ " vertical-align: top;\n",
486
+ " }\n",
487
+ "\n",
488
+ " .dataframe thead th {\n",
489
+ " text-align: right;\n",
490
+ " }\n",
491
+ "</style>\n",
492
+ "<table border=\"1\" class=\"dataframe\">\n",
493
+ " <thead>\n",
494
+ " <tr style=\"text-align: right;\">\n",
495
+ " <th></th>\n",
496
+ " <th>JRCT ID</th>\n",
497
+ " <th>Title</th>\n",
498
+ " <th>Target</th>\n",
499
+ " <th>研究・治験の目的</th>\n",
500
+ " <th>試験の種類</th>\n",
501
+ " <th>無作為化</th>\n",
502
+ " <th>盲検化</th>\n",
503
+ " <th>対照</th>\n",
504
+ " <th>割付け</th>\n",
505
+ " <th>研究目的</th>\n",
506
+ " <th>...</th>\n",
507
+ " <th>purpose</th>\n",
508
+ " <th>Inclusion Criteria</th>\n",
509
+ " <th>Exclusion Criteria</th>\n",
510
+ " <th>Age Minimum</th>\n",
511
+ " <th>Age Maximum</th>\n",
512
+ " <th>Gender</th>\n",
513
+ " <th>Discontinuation Criteria</th>\n",
514
+ " <th>Keyword</th>\n",
515
+ " <th>Intervention(s)</th>\n",
516
+ " <th>Phase</th>\n",
517
+ " </tr>\n",
518
+ " </thead>\n",
519
+ " <tbody>\n",
520
+ " <tr>\n",
521
+ " <th>3</th>\n",
522
+ " <td>jRCT2041240130</td>\n",
523
+ " <td>中等度-高度PONV発症リスクを有する肺切除術予定患者の周術期管理におけるGranisetr...</td>\n",
524
+ " <td>肺がん</td>\n",
525
+ " <td>全身麻酔を要する肺切除術周術期における標準制吐療法であるグラニセトロン(Granisetro...</td>\n",
526
+ " <td>NaN</td>\n",
527
+ " <td>無作為化比較</td>\n",
528
+ " <td>非盲検</td>\n",
529
+ " <td>無治療対照/標準治療対照</td>\n",
530
+ " <td>並行群間比較</td>\n",
531
+ " <td>治療</td>\n",
532
+ " <td>...</td>\n",
533
+ " <td>treatment purpose</td>\n",
534
+ " <td>(1) Patients scheduled to undergo anatomical l...</td>\n",
535
+ " <td>(1) Patients with a history of allergy to the ...</td>\n",
536
+ " <td>18age old over</td>\n",
537
+ " <td>No limit</td>\n",
538
+ " <td>Both</td>\n",
539
+ " <td>NaN</td>\n",
540
+ " <td>NaN</td>\n",
541
+ " <td>Treatment group\\n\\r\\nAdminister GRA 1mg intrav...</td>\n",
542
+ " <td>NaN</td>\n",
543
+ " </tr>\n",
544
+ " <tr>\n",
545
+ " <th>4</th>\n",
546
+ " <td>jRCT2031240500</td>\n",
547
+ " <td>ミスマッチ修復機能欠損(dMMR)又は高頻度マイクロサテライト不安定性(MSI-H)を有する...</td>\n",
548
+ " <td>ミスマッチ修復機能欠損(dMMR)又は高頻度マイクロサテライト不安定性(MSI-H)を有する...</td>\n",
549
+ " <td>固形がんは、体のさまざまな部位に発生する異常な組織の塊である。本治験は、特定の遺伝的特徴を持...</td>\n",
550
+ " <td>NaN</td>\n",
551
+ " <td>単一群</td>\n",
552
+ " <td>非盲検</td>\n",
553
+ " <td>非対照</td>\n",
554
+ " <td>単群比較</td>\n",
555
+ " <td>治療</td>\n",
556
+ " <td>...</td>\n",
557
+ " <td>treatment purpose</td>\n",
558
+ " <td>Parts 1, 2, and 3 inclusion criteria: \\n\\r\\n-H...</td>\n",
559
+ " <td>Parts 1, 2, and 3 exclusion criteria:\\n\\r\\n-Ha...</td>\n",
560
+ " <td>18age old over</td>\n",
561
+ " <td>No limit</td>\n",
562
+ " <td>Both</td>\n",
563
+ " <td>NaN</td>\n",
564
+ " <td>NaN</td>\n",
565
+ " <td>Drug: GSK4418959\\n\\r\\nDrug:PD-1 inhibitor</td>\n",
566
+ " <td>NaN</td>\n",
567
+ " </tr>\n",
568
+ " <tr>\n",
569
+ " <th>9</th>\n",
570
+ " <td>jRCT2031240448</td>\n",
571
+ " <td>切除不能皮膚血管肉腫に対するペムブロリズマブ+レンバチニブ併用療法の第II相医師主導治験</td>\n",
572
+ " <td>切除不能皮膚血管肉腫</td>\n",
573
+ " <td>切除不能皮膚血管肉腫に対するペムブロリズマブ+レンバチニブ併用療法の有効性を検証し、有効性と...</td>\n",
574
+ " <td>NaN</td>\n",
575
+ " <td>単一群</td>\n",
576
+ " <td>非盲検</td>\n",
577
+ " <td>非対照</td>\n",
578
+ " <td>単群比較</td>\n",
579
+ " <td>治療</td>\n",
580
+ " <td>...</td>\n",
581
+ " <td>treatment purpose</td>\n",
582
+ " <td>1)\\tHistologically diagnosed with cutaneous an...</td>\n",
583
+ " <td>1)\\tPatients previously treated with anti-PD-1...</td>\n",
584
+ " <td>18age old over</td>\n",
585
+ " <td>85age old under</td>\n",
586
+ " <td>Both</td>\n",
587
+ " <td>NaN</td>\n",
588
+ " <td>cutaneous angiosarcoma, angiosarcoma</td>\n",
589
+ " <td>Each course is set at 21 days. Pembrolizumab 2...</td>\n",
590
+ " <td>NaN</td>\n",
591
+ " </tr>\n",
592
+ " <tr>\n",
593
+ " <th>12</th>\n",
594
+ " <td>jRCT2031240404</td>\n",
595
+ " <td>転移性HR+/HER2-乳がん及びその他の進行性固形がん患者を対象にCDK4阻害剤BGB-4...</td>\n",
596
+ " <td>・進行性固形腫瘍・進行性乳がん・転移性乳がん・ホルモン受容体陽性乳がん・ホルモン受容体陽性乳...</td>\n",
597
+ " <td>サイクリン依存性キナーゼ 4 (CDK4) 阻害剤である BGB-43395 が、ホルモン受...</td>\n",
598
+ " <td>NaN</td>\n",
599
+ " <td>非無作為化比較</td>\n",
600
+ " <td>非盲検</td>\n",
601
+ " <td>用量比較</td>\n",
602
+ " <td>単群比較</td>\n",
603
+ " <td>治療</td>\n",
604
+ " <td>...</td>\n",
605
+ " <td>treatment purpose</td>\n",
606
+ " <td>-Phase 1a (Dose Escalation) and 1b (Dose Expan...</td>\n",
607
+ " <td>-Prior therapy selectively targeting CDK4 (pri...</td>\n",
608
+ " <td>18age old over</td>\n",
609
+ " <td>No limit</td>\n",
610
+ " <td>Both</td>\n",
611
+ " <td>NaN</td>\n",
612
+ " <td>NaN</td>\n",
613
+ " <td>-Drug: BGB-43395\\n\\r\\nPlanned doses administer...</td>\n",
614
+ " <td>NaN</td>\n",
615
+ " </tr>\n",
616
+ " <tr>\n",
617
+ " <th>13</th>\n",
618
+ " <td>jRCT2031240381</td>\n",
619
+ " <td>進行固形がん患者を対象としたGSK5764227の安全性、忍容性、薬物動態、及び有効性を評価...</td>\n",
620
+ " <td>進行固形がん</td>\n",
621
+ " <td>GSK5764227の安全性、忍容性、薬物動態、及び有効性を評価する。評価する。また、GSK...</td>\n",
622
+ " <td>NaN</td>\n",
623
+ " <td>非無作為化比較</td>\n",
624
+ " <td>非盲検</td>\n",
625
+ " <td>非対照</td>\n",
626
+ " <td>単群比較</td>\n",
627
+ " <td>治療</td>\n",
628
+ " <td>...</td>\n",
629
+ " <td>treatment purpose</td>\n",
630
+ " <td>-Male or female participants at least 18 years...</td>\n",
631
+ " <td>-Has ongoing adverse reaction(s) from prior th...</td>\n",
632
+ " <td>18age old over</td>\n",
633
+ " <td>No limit</td>\n",
634
+ " <td>Both</td>\n",
635
+ " <td>NaN</td>\n",
636
+ " <td>NaN</td>\n",
637
+ " <td>Drug: GSK5764227\\n\\r\\nGSK5764227 will be admin...</td>\n",
638
+ " <td>NaN</td>\n",
639
+ " </tr>\n",
640
+ " <tr>\n",
641
+ " <th>...</th>\n",
642
+ " <td>...</td>\n",
643
+ " <td>...</td>\n",
644
+ " <td>...</td>\n",
645
+ " <td>...</td>\n",
646
+ " <td>...</td>\n",
647
+ " <td>...</td>\n",
648
+ " <td>...</td>\n",
649
+ " <td>...</td>\n",
650
+ " <td>...</td>\n",
651
+ " <td>...</td>\n",
652
+ " <td>...</td>\n",
653
+ " <td>...</td>\n",
654
+ " <td>...</td>\n",
655
+ " <td>...</td>\n",
656
+ " <td>...</td>\n",
657
+ " <td>...</td>\n",
658
+ " <td>...</td>\n",
659
+ " <td>...</td>\n",
660
+ " <td>...</td>\n",
661
+ " <td>...</td>\n",
662
+ " <td>...</td>\n",
663
+ " </tr>\n",
664
+ " <tr>\n",
665
+ " <th>238</th>\n",
666
+ " <td>jRCT2033200278</td>\n",
667
+ " <td>MMG49 抗原陽性の再発・難治性多発性骨髄腫患者を対象に OPC-415 の安全性及び有効...</td>\n",
668
+ " <td>多発性骨髄腫</td>\n",
669
+ " <td>【第 I 相部分】\\r\\n• 骨髄腫細胞特異的抗体( MMG49)抗原陽性の再発・難治性のM...</td>\n",
670
+ " <td>NaN</td>\n",
671
+ " <td>単一群</td>\n",
672
+ " <td>非盲検</td>\n",
673
+ " <td>非対照</td>\n",
674
+ " <td>単群比較</td>\n",
675
+ " <td>治療</td>\n",
676
+ " <td>...</td>\n",
677
+ " <td>treatment purpose</td>\n",
678
+ " <td>-Patients aged between 20 and 80 (75 for the p...</td>\n",
679
+ " <td>-Patients who are scheduled to receive high-do...</td>\n",
680
+ " <td>20age old over</td>\n",
681
+ " <td>80age old under</td>\n",
682
+ " <td>Both</td>\n",
683
+ " <td>NaN</td>\n",
684
+ " <td>NaN</td>\n",
685
+ " <td>OPC-415 (up to 1X10^7cells/kg)\\n\\r\\nOn 2 days\\...</td>\n",
686
+ " <td>NaN</td>\n",
687
+ " </tr>\n",
688
+ " <tr>\n",
689
+ " <th>240</th>\n",
690
+ " <td>jRCT2051200105</td>\n",
691
+ " <td>標準化学療法に不応・不耐かつ外科的切除不能膵がん患者を対\\n象とした、 R-OKY-034F...</td>\n",
692
+ " <td>膵臓がん</td>\n",
693
+ " <td>標準化学療法に不応・不耐かつ外科的切除不能膵がん患者に対して、R-OKY-034Fを1日1回...</td>\n",
694
+ " <td>NaN</td>\n",
695
+ " <td>単一群</td>\n",
696
+ " <td>非盲検</td>\n",
697
+ " <td>非対照</td>\n",
698
+ " <td>単群比較</td>\n",
699
+ " <td>治療</td>\n",
700
+ " <td>...</td>\n",
701
+ " <td>treatment purpose</td>\n",
702
+ " <td>1. Patients who are 20 years old or above at t...</td>\n",
703
+ " <td>1. Patients with active duplicate cancer\\n\\r\\n...</td>\n",
704
+ " <td>20age old over</td>\n",
705
+ " <td>No limit</td>\n",
706
+ " <td>Both</td>\n",
707
+ " <td>NaN</td>\n",
708
+ " <td>NaN</td>\n",
709
+ " <td>Once a day for orally\\n\\r\\n1mg/kg, 2.5mg/kg, 5...</td>\n",
710
+ " <td>NaN</td>\n",
711
+ " </tr>\n",
712
+ " <tr>\n",
713
+ " <th>242</th>\n",
714
+ " <td>jRCT2071200060</td>\n",
715
+ " <td>1 種類以上の全身療法を含む 2種類以上の治療で失敗、あるいは治療中または治療後に病勢進行が...</td>\n",
716
+ " <td>頭頸部扁平上皮がん</td>\n",
717
+ " <td>1種類以上の全身療法を含む2種類以上の治療で失敗、あるいは治療中また は治療後に病勢進行した...</td>\n",
718
+ " <td>NaN</td>\n",
719
+ " <td>無作為化比較</td>\n",
720
+ " <td>非盲検</td>\n",
721
+ " <td>実薬(治療)対照</td>\n",
722
+ " <td>並行群間比較</td>\n",
723
+ " <td>治療</td>\n",
724
+ " <td>...</td>\n",
725
+ " <td>treatment purpose</td>\n",
726
+ " <td>Patients must meet the following criteria to b...</td>\n",
727
+ " <td>Patients with any of the following will be exc...</td>\n",
728
+ " <td>18age old over</td>\n",
729
+ " <td>No limit</td>\n",
730
+ " <td>Both</td>\n",
731
+ " <td>NaN</td>\n",
732
+ " <td>NaN</td>\n",
733
+ " <td>ASP-1929 640mg/m^2 intravenous infusion by dri...</td>\n",
734
+ " <td>NaN</td>\n",
735
+ " </tr>\n",
736
+ " <tr>\n",
737
+ " <th>257</th>\n",
738
+ " <td>jRCT2033190086</td>\n",
739
+ " <td>悪性黒色腫患者を対象としたインターロイキン12発現型遺伝子組換え単純ヘルペスウイルス1型の第...</td>\n",
740
+ " <td>悪性黒色腫</td>\n",
741
+ " <td>第Ⅰ相パート:進行期の悪性黒色腫患者を対象として、ヒトIL-12発現型遺伝子組換え単純ヘルペ...</td>\n",
742
+ " <td>NaN</td>\n",
743
+ " <td>単一群</td>\n",
744
+ " <td>非盲検</td>\n",
745
+ " <td>非対照</td>\n",
746
+ " <td>単群比較</td>\n",
747
+ " <td>治療</td>\n",
748
+ " <td>...</td>\n",
749
+ " <td>treatment purpose</td>\n",
750
+ " <td>(Phase 1)\\n\\r\\n1) Histologically confirmed mal...</td>\n",
751
+ " <td>(Phase 1 and 2)\\n\\r\\n1) Patients who have brai...</td>\n",
752
+ " <td>20age old over</td>\n",
753
+ " <td>No limit</td>\n",
754
+ " <td>Both</td>\n",
755
+ " <td>NaN</td>\n",
756
+ " <td>malignamt melanoma, advanced stage</td>\n",
757
+ " <td>Test drug (T-hIL12) will be administered into ...</td>\n",
758
+ " <td>NaN</td>\n",
759
+ " </tr>\n",
760
+ " <tr>\n",
761
+ " <th>261</th>\n",
762
+ " <td>jRCT2051190009</td>\n",
763
+ " <td>進行性悪性黒色腫患者を対象としたGEN0101の皮内投与と、ペムブロリズマブ(抗PD-1抗体...</td>\n",
764
+ " <td>進行性悪性黒色腫</td>\n",
765
+ " <td>抗PD-1抗体治療でSDが確定した、またはPDとなった患者を対象とし、非盲検下でGEN010...</td>\n",
766
+ " <td>NaN</td>\n",
767
+ " <td>非無作為化比較</td>\n",
768
+ " <td>非盲検</td>\n",
769
+ " <td>非対照</td>\n",
770
+ " <td>単群比較</td>\n",
771
+ " <td>治療</td>\n",
772
+ " <td>...</td>\n",
773
+ " <td>treatment purpose</td>\n",
774
+ " <td>Inclusion criteria \\n\\r\\nPatients meeting all ...</td>\n",
775
+ " <td>Exclusion criteria\\n\\r\\nPatients meeting any o...</td>\n",
776
+ " <td>20age old over</td>\n",
777
+ " <td>86age old not</td>\n",
778
+ " <td>Both</td>\n",
779
+ " <td>NaN</td>\n",
780
+ " <td>advanced melanoma</td>\n",
781
+ " <td>combination therapy of intracutaneous GEN0101 ...</td>\n",
782
+ " <td>NaN</td>\n",
783
+ " </tr>\n",
784
+ " </tbody>\n",
785
+ "</table>\n",
786
+ "<p>124 rows × 35 columns</p>\n",
787
+ "</div>"
788
+ ],
789
+ "text/plain": [
790
+ " JRCT ID Title \\\n",
791
+ "3 jRCT2041240130 中等度-高度PONV発症リスクを有する肺切除術予定患者の周術期管理におけるGranisetr... \n",
792
+ "4 jRCT2031240500 ミスマッチ修復機能欠損(dMMR)又は高頻度マイクロサテライト不安定性(MSI-H)を有する... \n",
793
+ "9 jRCT2031240448 切除不能皮膚血管肉腫に対するペムブロリズマブ+レンバチニブ併用療法の第II相医師主導治験 \n",
794
+ "12 jRCT2031240404 転移性HR+/HER2-乳がん及びその他の進行性固形がん患者を対象にCDK4阻害剤BGB-4... \n",
795
+ "13 jRCT2031240381 進行固形がん患者を対象としたGSK5764227の安全性、忍容性、薬物動態、及び有効性を評価... \n",
796
+ ".. ... ... \n",
797
+ "238 jRCT2033200278 MMG49 抗原陽性の再発・難治性多発性骨髄腫患者を対象に OPC-415 の安全性及び有効... \n",
798
+ "240 jRCT2051200105 標準化学療法に不応・不耐かつ外科的切除不能膵がん患者を対\\n象とした、 R-OKY-034F... \n",
799
+ "242 jRCT2071200060 1 種類以上の全身療法を含む 2種類以上の治療で失敗、あるいは治療中または治療後に病勢進行が... \n",
800
+ "257 jRCT2033190086 悪性黒色腫患者を対象としたインターロイキン12発現型遺伝子組換え単純ヘルペスウイルス1型の第... \n",
801
+ "261 jRCT2051190009 進行性悪性黒色腫患者を対象としたGEN0101の皮内投与と、ペムブロリズマブ(抗PD-1抗体... \n",
802
+ "\n",
803
+ " Target \\\n",
804
+ "3 肺がん \n",
805
+ "4 ミスマッチ修復機能欠損(dMMR)又は高頻度マイクロサテライト不安定性(MSI-H)を有する... \n",
806
+ "9 切除不能皮膚血管肉腫 \n",
807
+ "12 ・進行性固形腫瘍・進行性乳がん・転移性乳がん・ホルモン受容体陽性乳がん・ホルモン受容体陽性乳... \n",
808
+ "13 進行固形がん \n",
809
+ ".. ... \n",
810
+ "238 多発性骨髄腫 \n",
811
+ "240 膵臓がん \n",
812
+ "242 頭頸部扁平上皮がん \n",
813
+ "257 悪性黒色腫 \n",
814
+ "261 進行性悪性黒色腫 \n",
815
+ "\n",
816
+ " 研究・治験の目的 試験の種類 無作為化 盲検化 \\\n",
817
+ "3 全身麻酔を要する肺切除術周術期における標準制吐療法であるグラニセトロン(Granisetro... NaN 無作為化比較 非盲検 \n",
818
+ "4 固形がんは、体のさまざまな部位に発生する異常な組織の塊である。本治験は、特定の遺伝的特徴を持... NaN 単一群 非盲検 \n",
819
+ "9 切除不能皮膚血管肉腫に対するペムブロリズマブ+レンバチニブ併用療法の有効性を検証し、有効性と... NaN 単一群 非盲検 \n",
820
+ "12 サイクリン依存性キナーゼ 4 (CDK4) 阻害剤である BGB-43395 が、ホルモン受... NaN 非無作為化比較 非盲検 \n",
821
+ "13 GSK5764227の安全性、忍容性、薬物動態、及び有効性を評価する。評価する。また、GSK... NaN 非無作為化比較 非盲検 \n",
822
+ ".. ... ... ... ... \n",
823
+ "238 【第 I 相部分】\\r\\n• 骨髄腫細胞特異的抗体( MMG49)抗原陽性の再発・難治性のM... NaN 単一群 非盲検 \n",
824
+ "240 標準化学療法に不応・不耐かつ外科的切除不能膵がん患者に対して、R-OKY-034Fを1日1回... NaN 単一群 非盲検 \n",
825
+ "242 1種類以上の全身療法を含む2種類以上の治療で失敗、あるいは治療中また は治療後に病勢進行した... NaN 無作為化比較 非盲検 \n",
826
+ "257 第Ⅰ相パート:進行期の悪性黒色腫患者を対象として、ヒトIL-12発現型遺伝子組換え単純ヘルペ... NaN 単一群 非盲検 \n",
827
+ "261 抗PD-1抗体治療でSDが確定した、またはPDとなった患者を対象とし、非盲検下でGEN010... NaN 非無作為化比較 非盲検 \n",
828
+ "\n",
829
+ " 対照 割付け 研究目的 ... purpose \\\n",
830
+ "3 無治療対照/標準治療対照 並行群間比較 治療 ... treatment purpose \n",
831
+ "4 非対照 単群比較 治療 ... treatment purpose \n",
832
+ "9 非対照 単群比較 治療 ... treatment purpose \n",
833
+ "12 用量比較 単群比較 治療 ... treatment purpose \n",
834
+ "13 非対照 単群比較 治療 ... treatment purpose \n",
835
+ ".. ... ... ... ... ... \n",
836
+ "238 非対照 単群比較 治療 ... treatment purpose \n",
837
+ "240 非対照 単群比較 治療 ... treatment purpose \n",
838
+ "242 実薬(治療)対照 並行群間比較 治療 ... treatment purpose \n",
839
+ "257 非対照 単群比較 治療 ... treatment purpose \n",
840
+ "261 非対照 単群比較 治療 ... treatment purpose \n",
841
+ "\n",
842
+ " Inclusion Criteria \\\n",
843
+ "3 (1) Patients scheduled to undergo anatomical l... \n",
844
+ "4 Parts 1, 2, and 3 inclusion criteria: \\n\\r\\n-H... \n",
845
+ "9 1)\\tHistologically diagnosed with cutaneous an... \n",
846
+ "12 -Phase 1a (Dose Escalation) and 1b (Dose Expan... \n",
847
+ "13 -Male or female participants at least 18 years... \n",
848
+ ".. ... \n",
849
+ "238 -Patients aged between 20 and 80 (75 for the p... \n",
850
+ "240 1. Patients who are 20 years old or above at t... \n",
851
+ "242 Patients must meet the following criteria to b... \n",
852
+ "257 (Phase 1)\\n\\r\\n1) Histologically confirmed mal... \n",
853
+ "261 Inclusion criteria \\n\\r\\nPatients meeting all ... \n",
854
+ "\n",
855
+ " Exclusion Criteria Age Minimum \\\n",
856
+ "3 (1) Patients with a history of allergy to the ... 18age old over \n",
857
+ "4 Parts 1, 2, and 3 exclusion criteria:\\n\\r\\n-Ha... 18age old over \n",
858
+ "9 1)\\tPatients previously treated with anti-PD-1... 18age old over \n",
859
+ "12 -Prior therapy selectively targeting CDK4 (pri... 18age old over \n",
860
+ "13 -Has ongoing adverse reaction(s) from prior th... 18age old over \n",
861
+ ".. ... ... \n",
862
+ "238 -Patients who are scheduled to receive high-do... 20age old over \n",
863
+ "240 1. Patients with active duplicate cancer\\n\\r\\n... 20age old over \n",
864
+ "242 Patients with any of the following will be exc... 18age old over \n",
865
+ "257 (Phase 1 and 2)\\n\\r\\n1) Patients who have brai... 20age old over \n",
866
+ "261 Exclusion criteria\\n\\r\\nPatients meeting any o... 20age old over \n",
867
+ "\n",
868
+ " Age Maximum Gender Discontinuation Criteria \\\n",
869
+ "3 No limit Both NaN \n",
870
+ "4 No limit Both NaN \n",
871
+ "9 85age old under Both NaN \n",
872
+ "12 No limit Both NaN \n",
873
+ "13 No limit Both NaN \n",
874
+ ".. ... ... ... \n",
875
+ "238 80age old under Both NaN \n",
876
+ "240 No limit Both NaN \n",
877
+ "242 No limit Both NaN \n",
878
+ "257 No limit Both NaN \n",
879
+ "261 86age old not Both NaN \n",
880
+ "\n",
881
+ " Keyword \\\n",
882
+ "3 NaN \n",
883
+ "4 NaN \n",
884
+ "9 cutaneous angiosarcoma, angiosarcoma \n",
885
+ "12 NaN \n",
886
+ "13 NaN \n",
887
+ ".. ... \n",
888
+ "238 NaN \n",
889
+ "240 NaN \n",
890
+ "242 NaN \n",
891
+ "257 malignamt melanoma, advanced stage \n",
892
+ "261 advanced melanoma \n",
893
+ "\n",
894
+ " Intervention(s) Phase \n",
895
+ "3 Treatment group\\n\\r\\nAdminister GRA 1mg intrav... NaN \n",
896
+ "4 Drug: GSK4418959\\n\\r\\nDrug:PD-1 inhibitor NaN \n",
897
+ "9 Each course is set at 21 days. Pembrolizumab 2... NaN \n",
898
+ "12 -Drug: BGB-43395\\n\\r\\nPlanned doses administer... NaN \n",
899
+ "13 Drug: GSK5764227\\n\\r\\nGSK5764227 will be admin... NaN \n",
900
+ ".. ... ... \n",
901
+ "238 OPC-415 (up to 1X10^7cells/kg)\\n\\r\\nOn 2 days\\... NaN \n",
902
+ "240 Once a day for orally\\n\\r\\n1mg/kg, 2.5mg/kg, 5... NaN \n",
903
+ "242 ASP-1929 640mg/m^2 intravenous infusion by dri... NaN \n",
904
+ "257 Test drug (T-hIL12) will be administered into ... NaN \n",
905
+ "261 combination therapy of intracutaneous GEN0101 ... NaN \n",
906
+ "\n",
907
+ "[124 rows x 35 columns]"
908
+ ]
909
+ },
910
+ "execution_count": 7,
911
+ "metadata": {},
912
+ "output_type": "execute_result"
913
+ }
914
+ ],
915
+ "source": [
916
+ "df.dropna(subset=['試験等のフェーズ'])"
917
+ ]
918
+ },
919
+ {
920
+ "cell_type": "code",
921
+ "execution_count": 8,
922
+ "metadata": {},
923
+ "outputs": [],
924
+ "source": [
925
+ "nan_rows_df = df[df['試験等のフェーズ'].isna()]"
926
+ ]
927
+ },
928
+ {
929
+ "cell_type": "code",
930
+ "execution_count": 9,
931
+ "metadata": {},
932
+ "outputs": [
933
+ {
934
+ "data": {
935
+ "text/html": [
936
+ "<div>\n",
937
+ "<style scoped>\n",
938
+ " .dataframe tbody tr th:only-of-type {\n",
939
+ " vertical-align: middle;\n",
940
+ " }\n",
941
+ "\n",
942
+ " .dataframe tbody tr th {\n",
943
+ " vertical-align: top;\n",
944
+ " }\n",
945
+ "\n",
946
+ " .dataframe thead th {\n",
947
+ " text-align: right;\n",
948
+ " }\n",
949
+ "</style>\n",
950
+ "<table border=\"1\" class=\"dataframe\">\n",
951
+ " <thead>\n",
952
+ " <tr style=\"text-align: right;\">\n",
953
+ " <th></th>\n",
954
+ " <th>JRCT ID</th>\n",
955
+ " <th>Title</th>\n",
956
+ " <th>Target</th>\n",
957
+ " <th>研究・治験の目的</th>\n",
958
+ " <th>試験の種類</th>\n",
959
+ " <th>無作為化</th>\n",
960
+ " <th>盲検化</th>\n",
961
+ " <th>対照</th>\n",
962
+ " <th>割付け</th>\n",
963
+ " <th>研究目的</th>\n",
964
+ " <th>...</th>\n",
965
+ " <th>purpose</th>\n",
966
+ " <th>Inclusion Criteria</th>\n",
967
+ " <th>Exclusion Criteria</th>\n",
968
+ " <th>Age Minimum</th>\n",
969
+ " <th>Age Maximum</th>\n",
970
+ " <th>Gender</th>\n",
971
+ " <th>Discontinuation Criteria</th>\n",
972
+ " <th>Keyword</th>\n",
973
+ " <th>Intervention(s)</th>\n",
974
+ " <th>Phase</th>\n",
975
+ " </tr>\n",
976
+ " </thead>\n",
977
+ " <tbody>\n",
978
+ " <tr>\n",
979
+ " <th>0</th>\n",
980
+ " <td>jRCT1030240513</td>\n",
981
+ " <td>進行がん患者に対する可聴領域外のハイレゾ自然音源が与える生体情報や癒しの変化を評価する\\n探...</td>\n",
982
+ " <td>がん</td>\n",
983
+ " <td>進行がん患者を対象に、可聴領域外のハイレゾ自然音源を介入とした音楽療法が、無音と比較して、疲...</td>\n",
984
+ " <td>介入研究</td>\n",
985
+ " <td>無作為化比較</td>\n",
986
+ " <td>単盲検</td>\n",
987
+ " <td>プラセボ対照</td>\n",
988
+ " <td>並行群間比較</td>\n",
989
+ " <td>緩和</td>\n",
990
+ " <td>...</td>\n",
991
+ " <td>supportive care</td>\n",
992
+ " <td>Eligible participants must meet the following ...</td>\n",
993
+ " <td>Exclusion criteria apply if any of the followi...</td>\n",
994
+ " <td>18age old over</td>\n",
995
+ " <td>No limit</td>\n",
996
+ " <td>NaN</td>\n",
997
+ " <td>NaN</td>\n",
998
+ " <td>cancer,</td>\n",
999
+ " <td>Participants will be exposed to either sounds ...</td>\n",
1000
+ " <td>NaN</td>\n",
1001
+ " </tr>\n",
1002
+ " <tr>\n",
1003
+ " <th>1</th>\n",
1004
+ " <td>jRCT1032240511</td>\n",
1005
+ " <td>進行がん患者の痛みに対する交番磁界治療器の至適な治療時間の条件に関する多施設共同研究</td>\n",
1006
+ " <td>がん患者の疼痛</td>\n",
1007
+ " <td>交番磁界治療器を用いた自宅での疼痛治療について、進行がん患者が治療の継続が可能と考える治療時...</td>\n",
1008
+ " <td>介入研究</td>\n",
1009
+ " <td>単一群</td>\n",
1010
+ " <td>非盲検</td>\n",
1011
+ " <td>非対照</td>\n",
1012
+ " <td>単群比較</td>\n",
1013
+ " <td>その他</td>\n",
1014
+ " <td>...</td>\n",
1015
+ " <td>other</td>\n",
1016
+ " <td>1. Age 18 years or older on the day of consent...</td>\n",
1017
+ " <td>1. There is a skin disorder in the painful are...</td>\n",
1018
+ " <td>18age old over</td>\n",
1019
+ " <td>No limit</td>\n",
1020
+ " <td>Both</td>\n",
1021
+ " <td>NaN</td>\n",
1022
+ " <td>NaN</td>\n",
1023
+ " <td>Four pads of the alternating magnetic field th...</td>\n",
1024
+ " <td>NaN</td>\n",
1025
+ " </tr>\n",
1026
+ " <tr>\n",
1027
+ " <th>2</th>\n",
1028
+ " <td>jRCT1032240506</td>\n",
1029
+ " <td>卵巣腫瘍手術での術中低圧換気介入による術中出血量に及ぼす影響:ランダム化比較試験</td>\n",
1030
+ " <td>卵巣がん</td>\n",
1031
+ " <td>卵巣悪性腫瘍手術は高侵襲な手術であり輸血率の高い手術である。一方で輸血により癌の予後が悪化す...</td>\n",
1032
+ " <td>介入研究</td>\n",
1033
+ " <td>無作為化比較</td>\n",
1034
+ " <td>単盲検</td>\n",
1035
+ " <td>実薬(治療)対照</td>\n",
1036
+ " <td>並行群間比較</td>\n",
1037
+ " <td>治療</td>\n",
1038
+ " <td>...</td>\n",
1039
+ " <td>treatment purpose</td>\n",
1040
+ " <td>Patients undergoing ovarian cancer surgery at ...</td>\n",
1041
+ " <td>1.Minors\\n\\r\\n2.Emergency surgery\\n\\r\\n3.Patie...</td>\n",
1042
+ " <td>18age old over</td>\n",
1043
+ " <td>100age old not</td>\n",
1044
+ " <td>Female</td>\n",
1045
+ " <td>NaN</td>\n",
1046
+ " <td>NaN</td>\n",
1047
+ " <td>Low-pressure ventilation and low venous pressu...</td>\n",
1048
+ " <td>NaN</td>\n",
1049
+ " </tr>\n",
1050
+ " <tr>\n",
1051
+ " <th>5</th>\n",
1052
+ " <td>jRCT1042240125</td>\n",
1053
+ " <td>Liquid Biopsyによる膵がん早期診断法の開発</td>\n",
1054
+ " <td>膵嚢胞、慢性膵炎、家族性膵がん及び遺伝性膵がん家族歴を有する症例、糖尿病症例(新規発症・急性...</td>\n",
1055
+ " <td>本研究では、膵がん高危険群である膵のう胞性病変等を対象にサーベイランスプログラムを立ち上げ、...</td>\n",
1056
+ " <td>観察研究</td>\n",
1057
+ " <td>単一群</td>\n",
1058
+ " <td>非盲検</td>\n",
1059
+ " <td>非対照</td>\n",
1060
+ " <td>単群比較</td>\n",
1061
+ " <td>診断</td>\n",
1062
+ " <td>...</td>\n",
1063
+ " <td>diagnostic purpose</td>\n",
1064
+ " <td>1. Cases diagnosed as high-risk group for panc...</td>\n",
1065
+ " <td>1. Post-Pancreatic Surgery Cases\\n\\r\\n2. Cases...</td>\n",
1066
+ " <td>20age old over</td>\n",
1067
+ " <td>No limit</td>\n",
1068
+ " <td>Both</td>\n",
1069
+ " <td>NaN</td>\n",
1070
+ " <td>NaN</td>\n",
1071
+ " <td>NaN</td>\n",
1072
+ " <td>NaN</td>\n",
1073
+ " </tr>\n",
1074
+ " <tr>\n",
1075
+ " <th>6</th>\n",
1076
+ " <td>jRCT1052240186</td>\n",
1077
+ " <td>トリモーダルプレハビリテーションが周術期の睡眠に及ぼす影響の検討:ランダム化比較試験</td>\n",
1078
+ " <td>肺がん</td>\n",
1079
+ " <td>術前の介入により、介入群の方が対照群に比べて入院直後の睡眠効率が良いかどうかを検討すること</td>\n",
1080
+ " <td>介入研究</td>\n",
1081
+ " <td>無作為化比較</td>\n",
1082
+ " <td>非盲検</td>\n",
1083
+ " <td>無治療対照/標準治療対照</td>\n",
1084
+ " <td>単群比較</td>\n",
1085
+ " <td>予防</td>\n",
1086
+ " <td>...</td>\n",
1087
+ " <td>prevention purpose</td>\n",
1088
+ " <td>1) Patients aged 20 and over \\n\\r\\n2) Lung can...</td>\n",
1089
+ " <td>1) Patients who do not agree \\n\\r\\n2) Patients...</td>\n",
1090
+ " <td>20age old over</td>\n",
1091
+ " <td>No limit</td>\n",
1092
+ " <td>Both</td>\n",
1093
+ " <td>NaN</td>\n",
1094
+ " <td>Malignancy</td>\n",
1095
+ " <td>Intervention for the Experimental Group:\\n\\r\\n...</td>\n",
1096
+ " <td>NaN</td>\n",
1097
+ " </tr>\n",
1098
+ " <tr>\n",
1099
+ " <th>...</th>\n",
1100
+ " <td>...</td>\n",
1101
+ " <td>...</td>\n",
1102
+ " <td>...</td>\n",
1103
+ " <td>...</td>\n",
1104
+ " <td>...</td>\n",
1105
+ " <td>...</td>\n",
1106
+ " <td>...</td>\n",
1107
+ " <td>...</td>\n",
1108
+ " <td>...</td>\n",
1109
+ " <td>...</td>\n",
1110
+ " <td>...</td>\n",
1111
+ " <td>...</td>\n",
1112
+ " <td>...</td>\n",
1113
+ " <td>...</td>\n",
1114
+ " <td>...</td>\n",
1115
+ " <td>...</td>\n",
1116
+ " <td>...</td>\n",
1117
+ " <td>...</td>\n",
1118
+ " <td>...</td>\n",
1119
+ " <td>...</td>\n",
1120
+ " <td>...</td>\n",
1121
+ " </tr>\n",
1122
+ " <tr>\n",
1123
+ " <th>282</th>\n",
1124
+ " <td>jRCT2080223823</td>\n",
1125
+ " <td>固形がん患者を対象としたE7130 の臨床第1相試験</td>\n",
1126
+ " <td>Part1:固形がん\\nPart2:頭頸部がん,尿路上皮がん</td>\n",
1127
+ " <td>NaN</td>\n",
1128
+ " <td>介入研究</td>\n",
1129
+ " <td>NaN</td>\n",
1130
+ " <td>NaN</td>\n",
1131
+ " <td>NaN</td>\n",
1132
+ " <td>NaN</td>\n",
1133
+ " <td>NaN</td>\n",
1134
+ " <td>...</td>\n",
1135
+ " <td>NaN</td>\n",
1136
+ " <td>NaN</td>\n",
1137
+ " <td>NaN</td>\n",
1138
+ " <td>NaN</td>\n",
1139
+ " <td>NaN</td>\n",
1140
+ " <td>&lt;p&gt;Both&lt;/p&gt;</td>\n",
1141
+ " <td>NaN</td>\n",
1142
+ " <td>NaN</td>\n",
1143
+ " <td>investigational material(s)&lt;br&gt;\\nGeneric name ...</td>\n",
1144
+ " <td>NaN</td>\n",
1145
+ " </tr>\n",
1146
+ " <tr>\n",
1147
+ " <th>283</th>\n",
1148
+ " <td>jRCT1090220266</td>\n",
1149
+ " <td>肺がん手術患者に対する運動療法とBCAA摂取の併用効果の検討</td>\n",
1150
+ " <td>肺がん</td>\n",
1151
+ " <td>NaN</td>\n",
1152
+ " <td>NaN</td>\n",
1153
+ " <td>NaN</td>\n",
1154
+ " <td>非盲検</td>\n",
1155
+ " <td>実薬(治療)対照</td>\n",
1156
+ " <td>なし</td>\n",
1157
+ " <td>NaN</td>\n",
1158
+ " <td>...</td>\n",
1159
+ " <td>NaN</td>\n",
1160
+ " <td>NaN</td>\n",
1161
+ " <td>NaN</td>\n",
1162
+ " <td>Age Month Week Day Hour</td>\n",
1163
+ " <td>Age Month Week Day Hour No limit</td>\n",
1164
+ " <td>Both</td>\n",
1165
+ " <td>NaN</td>\n",
1166
+ " <td>NaN</td>\n",
1167
+ " <td>Intervention type:BEHAVIOUR\\n\\nName of interve...</td>\n",
1168
+ " <td>NaN</td>\n",
1169
+ " </tr>\n",
1170
+ " <tr>\n",
1171
+ " <th>284</th>\n",
1172
+ " <td>jRCT1091220254</td>\n",
1173
+ " <td>肺動静脈分離3D-CT angiographyにおけるヨード造影剤量低減の検討</td>\n",
1174
+ " <td>肺がん</td>\n",
1175
+ " <td>NaN</td>\n",
1176
+ " <td>NaN</td>\n",
1177
+ " <td>NaN</td>\n",
1178
+ " <td>単盲検</td>\n",
1179
+ " <td>用量比較</td>\n",
1180
+ " <td>あり</td>\n",
1181
+ " <td>NaN</td>\n",
1182
+ " <td>...</td>\n",
1183
+ " <td>NaN</td>\n",
1184
+ " <td>NaN</td>\n",
1185
+ " <td>NaN</td>\n",
1186
+ " <td>Age Month Week Day Hour No limit</td>\n",
1187
+ " <td>Age Month Week Day Hour No limit</td>\n",
1188
+ " <td>Both</td>\n",
1189
+ " <td>NaN</td>\n",
1190
+ " <td>NaN</td>\n",
1191
+ " <td>Intervention type:DRUG\\n\\nName of intervention...</td>\n",
1192
+ " <td>NaN</td>\n",
1193
+ " </tr>\n",
1194
+ " <tr>\n",
1195
+ " <th>285</th>\n",
1196
+ " <td>jRCT1090220224</td>\n",
1197
+ " <td>体幹部神経ブロック後のレボブピバカインの血中濃度の変化</td>\n",
1198
+ " <td>下腹部消化器がん</td>\n",
1199
+ " <td>NaN</td>\n",
1200
+ " <td>NaN</td>\n",
1201
+ " <td>NaN</td>\n",
1202
+ " <td>非盲検</td>\n",
1203
+ " <td>無対照</td>\n",
1204
+ " <td>NaN</td>\n",
1205
+ " <td>NaN</td>\n",
1206
+ " <td>...</td>\n",
1207
+ " <td>NaN</td>\n",
1208
+ " <td>NaN</td>\n",
1209
+ " <td>NaN</td>\n",
1210
+ " <td>20Age Month Week Day Hour over</td>\n",
1211
+ " <td>Age Month Week Day Hour No limit</td>\n",
1212
+ " <td>Both</td>\n",
1213
+ " <td>NaN</td>\n",
1214
+ " <td>NaN</td>\n",
1215
+ " <td>Intervention type:\\n\\nName of intervention:\\n\\...</td>\n",
1216
+ " <td>NaN</td>\n",
1217
+ " </tr>\n",
1218
+ " <tr>\n",
1219
+ " <th>286</th>\n",
1220
+ " <td>jRCT1091220221</td>\n",
1221
+ " <td>ヨード造影剤と生理食塩水の混合溶液を用いたtest injectionによる混合割合と造影効...</td>\n",
1222
+ " <td>肺がん</td>\n",
1223
+ " <td>NaN</td>\n",
1224
+ " <td>NaN</td>\n",
1225
+ " <td>NaN</td>\n",
1226
+ " <td>非盲検</td>\n",
1227
+ " <td>無対照</td>\n",
1228
+ " <td>なし</td>\n",
1229
+ " <td>NaN</td>\n",
1230
+ " <td>...</td>\n",
1231
+ " <td>NaN</td>\n",
1232
+ " <td>NaN</td>\n",
1233
+ " <td>NaN</td>\n",
1234
+ " <td>Age Month Week Day Hour No limit</td>\n",
1235
+ " <td>Age Month Week Day Hour No limit</td>\n",
1236
+ " <td>Both</td>\n",
1237
+ " <td>NaN</td>\n",
1238
+ " <td>NaN</td>\n",
1239
+ " <td>Intervention type:DRUG\\n\\nName of intervention...</td>\n",
1240
+ " <td>NaN</td>\n",
1241
+ " </tr>\n",
1242
+ " </tbody>\n",
1243
+ "</table>\n",
1244
+ "<p>163 rows × 35 columns</p>\n",
1245
+ "</div>"
1246
+ ],
1247
+ "text/plain": [
1248
+ " JRCT ID Title \\\n",
1249
+ "0 jRCT1030240513 進行がん患者に対する可聴領域外のハイレゾ自然音源が与える生体情報や癒しの変化を評価する\\n探... \n",
1250
+ "1 jRCT1032240511 進行がん患者の痛みに対する交番磁界治療器の至適な治療時間の条件に関する多施設共同研究 \n",
1251
+ "2 jRCT1032240506 卵巣腫瘍手術での術中低圧換気介入による術中出血量に及ぼす影響:ランダム化比較試験 \n",
1252
+ "5 jRCT1042240125 Liquid Biopsyによる膵がん早期診断法の開発 \n",
1253
+ "6 jRCT1052240186 トリモーダルプレハビリテーションが周術期の睡眠に及ぼす影響の検討:ランダム化比較試験 \n",
1254
+ ".. ... ... \n",
1255
+ "282 jRCT2080223823 固形がん患者を対象としたE7130 の臨床第1相試験 \n",
1256
+ "283 jRCT1090220266 肺がん手術患者に対する運動療法とBCAA摂取の併用効果の検討 \n",
1257
+ "284 jRCT1091220254 肺動静脈分離3D-CT angiographyにおけるヨード造影剤量低減の検討 \n",
1258
+ "285 jRCT1090220224 体幹部神経ブロック後のレボブピバカインの血中濃度の変化 \n",
1259
+ "286 jRCT1091220221 ヨード造影剤と生理食塩水の混合溶液を用いたtest injectionによる混合割合と造影効... \n",
1260
+ "\n",
1261
+ " Target \\\n",
1262
+ "0 がん \n",
1263
+ "1 がん患者の疼痛 \n",
1264
+ "2 卵巣がん \n",
1265
+ "5 膵嚢胞、慢性膵炎、家族性膵がん及び遺伝性膵がん家族歴を有する症例、糖尿病症例(新規発症・急性... \n",
1266
+ "6 肺がん \n",
1267
+ ".. ... \n",
1268
+ "282 Part1:固形がん\\nPart2:頭頸部がん,尿路上皮がん \n",
1269
+ "283 肺がん \n",
1270
+ "284 肺がん \n",
1271
+ "285 下腹部消化器がん \n",
1272
+ "286 肺がん \n",
1273
+ "\n",
1274
+ " 研究・治験の目的 試験の種類 無作為化 盲検化 \\\n",
1275
+ "0 進行がん患者を対象に、可聴領域外のハイレゾ自然音源を介入とした音楽療法が、無音と比較して、疲... 介入研究 無作為化比較 単盲検 \n",
1276
+ "1 交番磁界治療器を用いた自宅での疼痛治療について、進行がん患者が治療の継続が可能と考える治療時... 介入研究 単一群 非盲検 \n",
1277
+ "2 卵巣悪性腫瘍手術は高侵襲な手術であり輸血率の高い手術である。一方で輸血により癌の予後が悪化す... 介入研究 無作為化比較 単盲検 \n",
1278
+ "5 本研究では、膵がん高危険群である膵のう胞性病変等を対象にサーベイランスプログラムを立ち上げ、... 観察研究 単一群 非盲検 \n",
1279
+ "6 術前の介入により、介入群の方が対照群に比べて入院直後の睡眠効率が良いかどうかを検討すること 介入研究 無作為化比較 非盲検 \n",
1280
+ ".. ... ... ... ... \n",
1281
+ "282 NaN 介入研究 NaN NaN \n",
1282
+ "283 NaN NaN NaN 非盲検 \n",
1283
+ "284 NaN NaN NaN 単盲検 \n",
1284
+ "285 NaN NaN NaN 非盲検 \n",
1285
+ "286 NaN NaN NaN 非盲検 \n",
1286
+ "\n",
1287
+ " 対照 割付け 研究目的 ... purpose \\\n",
1288
+ "0 プラセボ対照 並行群間比較 緩和 ... supportive care \n",
1289
+ "1 非対照 単群比較 その他 ... other \n",
1290
+ "2 実薬(治療)対照 並行群間比較 治療 ... treatment purpose \n",
1291
+ "5 非対照 単群比較 診断 ... diagnostic purpose \n",
1292
+ "6 無治療対照/標準治療対照 単群比較 予防 ... prevention purpose \n",
1293
+ ".. ... ... ... ... ... \n",
1294
+ "282 NaN NaN NaN ... NaN \n",
1295
+ "283 実薬(治療)対照 なし NaN ... NaN \n",
1296
+ "284 用量比較 あり NaN ... NaN \n",
1297
+ "285 無対照 NaN NaN ... NaN \n",
1298
+ "286 無対照 なし NaN ... NaN \n",
1299
+ "\n",
1300
+ " Inclusion Criteria \\\n",
1301
+ "0 Eligible participants must meet the following ... \n",
1302
+ "1 1. Age 18 years or older on the day of consent... \n",
1303
+ "2 Patients undergoing ovarian cancer surgery at ... \n",
1304
+ "5 1. Cases diagnosed as high-risk group for panc... \n",
1305
+ "6 1) Patients aged 20 and over \\n\\r\\n2) Lung can... \n",
1306
+ ".. ... \n",
1307
+ "282 NaN \n",
1308
+ "283 NaN \n",
1309
+ "284 NaN \n",
1310
+ "285 NaN \n",
1311
+ "286 NaN \n",
1312
+ "\n",
1313
+ " Exclusion Criteria \\\n",
1314
+ "0 Exclusion criteria apply if any of the followi... \n",
1315
+ "1 1. There is a skin disorder in the painful are... \n",
1316
+ "2 1.Minors\\n\\r\\n2.Emergency surgery\\n\\r\\n3.Patie... \n",
1317
+ "5 1. Post-Pancreatic Surgery Cases\\n\\r\\n2. Cases... \n",
1318
+ "6 1) Patients who do not agree \\n\\r\\n2) Patients... \n",
1319
+ ".. ... \n",
1320
+ "282 NaN \n",
1321
+ "283 NaN \n",
1322
+ "284 NaN \n",
1323
+ "285 NaN \n",
1324
+ "286 NaN \n",
1325
+ "\n",
1326
+ " Age Minimum Age Maximum \\\n",
1327
+ "0 18age old over No limit \n",
1328
+ "1 18age old over No limit \n",
1329
+ "2 18age old over 100age old not \n",
1330
+ "5 20age old over No limit \n",
1331
+ "6 20age old over No limit \n",
1332
+ ".. ... ... \n",
1333
+ "282 NaN NaN \n",
1334
+ "283 Age Month Week Day Hour Age Month Week Day Hour No limit \n",
1335
+ "284 Age Month Week Day Hour No limit Age Month Week Day Hour No limit \n",
1336
+ "285 20Age Month Week Day Hour over Age Month Week Day Hour No limit \n",
1337
+ "286 Age Month Week Day Hour No limit Age Month Week Day Hour No limit \n",
1338
+ "\n",
1339
+ " Gender Discontinuation Criteria Keyword \\\n",
1340
+ "0 NaN NaN cancer, \n",
1341
+ "1 Both NaN NaN \n",
1342
+ "2 Female NaN NaN \n",
1343
+ "5 Both NaN NaN \n",
1344
+ "6 Both NaN Malignancy \n",
1345
+ ".. ... ... ... \n",
1346
+ "282 <p>Both</p> NaN NaN \n",
1347
+ "283 Both NaN NaN \n",
1348
+ "284 Both NaN NaN \n",
1349
+ "285 Both NaN NaN \n",
1350
+ "286 Both NaN NaN \n",
1351
+ "\n",
1352
+ " Intervention(s) Phase \n",
1353
+ "0 Participants will be exposed to either sounds ... NaN \n",
1354
+ "1 Four pads of the alternating magnetic field th... NaN \n",
1355
+ "2 Low-pressure ventilation and low venous pressu... NaN \n",
1356
+ "5 NaN NaN \n",
1357
+ "6 Intervention for the Experimental Group:\\n\\r\\n... NaN \n",
1358
+ ".. ... ... \n",
1359
+ "282 investigational material(s)<br>\\nGeneric name ... NaN \n",
1360
+ "283 Intervention type:BEHAVIOUR\\n\\nName of interve... NaN \n",
1361
+ "284 Intervention type:DRUG\\n\\nName of intervention... NaN \n",
1362
+ "285 Intervention type:\\n\\nName of intervention:\\n\\... NaN \n",
1363
+ "286 Intervention type:DRUG\\n\\nName of intervention... NaN \n",
1364
+ "\n",
1365
+ "[163 rows x 35 columns]"
1366
+ ]
1367
+ },
1368
+ "execution_count": 9,
1369
+ "metadata": {},
1370
+ "output_type": "execute_result"
1371
+ }
1372
+ ],
1373
+ "source": [
1374
+ "nan_rows_df"
1375
+ ]
1376
+ },
1377
+ {
1378
+ "cell_type": "code",
1379
+ "execution_count": null,
1380
+ "metadata": {},
1381
+ "outputs": [],
1382
+ "source": []
1383
+ }
1384
+ ],
1385
+ "metadata": {
1386
+ "kernelspec": {
1387
+ "display_name": "gradio",
1388
+ "language": "python",
1389
+ "name": "python3"
1390
+ },
1391
+ "language_info": {
1392
+ "codemirror_mode": {
1393
+ "name": "ipython",
1394
+ "version": 3
1395
+ },
1396
+ "file_extension": ".py",
1397
+ "mimetype": "text/x-python",
1398
+ "name": "python",
1399
+ "nbconvert_exporter": "python",
1400
+ "pygments_lexer": "ipython3",
1401
+ "version": "3.12.3"
1402
+ }
1403
+ },
1404
+ "nbformat": 4,
1405
+ "nbformat_minor": 2
1406
+ }
dev_JRCT_api/test.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ ['尿路上皮癌', '切除不能進行・再発胃癌', '非小細胞肺癌', '進行性悪性固形癌\n転移性悪性固形癌', '肺がん', '胃腺癌及び食道胃接合部腺癌', '非扁平上皮非小細胞肺癌', '未治療の濾胞性リンパ腫', 'ミスマッチ修復機能欠損(dMMR)又は高頻度マイクロサテライト不安定性(MSI-H)を有する固形がん', 'MET過剰発現を有する非小細胞肺癌', '進行/転移性固形癌', '頭頸部扁平上皮癌', '転移性膵管腺癌(mPDAC)', '前立腺癌', 'トリプルネガティブ乳癌', 'HR+/HER2-の切除不能局所進行又は転移性乳癌の患者', '未治療の転移性非扁平上皮非小細胞肺癌(NSCLC)', 'PD-L1陽性の転移性非小細胞肺癌', '去勢抵抗性前立腺癌', '切除不能皮膚血管肉腫', 'PD-L1陽性の未治療の転移性非小細胞肺癌', 'NSQ, NSCLC', '卵巣癌、腹膜癌及び卵管癌', '進行固形癌', '進行固形癌', '進展型小細胞肺癌', '高リスク大細胞型B細胞リンパ腫', '子宮体癌', 'HER2陽性転移性乳癌', '・進行性固形腫瘍・進行性乳がん・転移性乳がん・ホルモン受容体陽性乳がん・ホルモン受容体陽性乳がん...', '膵管腺癌\n非小細胞肺癌\n大腸癌', '進行固形がん', '非小細胞肺癌', 'ラブドイド腫瘍', '非小細胞肺癌', '膵癌', '非ホジキンリンパ腫', 'H3 K27M 変異を有する初発びまん性神経膠腫', '胃癌、胃食道接合部癌', '局所進行又は再発性の外陰癌・腟癌・子宮頸癌', '固形癌', '転移性固形がん\n進行性固形がん\n非小細胞肺がん\nSMARCA4欠損がん', '卵巣癌\n子宮内膜癌\n非小細胞肺癌', '再発・難治性多発性骨髄腫', '転移性去勢抵抗性前立腺癌', 'Up-to-7基準外の中期肝細胞癌', '進行性非小細胞肺癌(NSCLC)及びその他の固形がん', '転移性肝臓癌', '悪性神経膠腫', '転移性非小細胞肺がん', '固形がん', '再発多形性膠芽腫', '転移性膵管腺癌', '転移性固形がん\n再発性固形がん\n進行性固形がん', '非小細胞肺癌', '再発性低悪性度漿液性卵巣癌(LGSOC)', 'B細胞性非ホジキンリンパ腫\n- 濾胞性リンパ腫(FL)\n- びまん性大細胞型B細胞リンパ腫(DLBCL)', '非小細胞肺癌', '遠隔転移を伴う結腸・直腸癌', '進行固形がん', '肝細胞癌', '進行又は転移例に対する標準治療による治療歴のあるKRAS G12C陽性進行又は転移性非小細胞肺癌', '●固形腫瘍', '進行固形がん', '非小細胞性肺がん', '進行性固形癌', 'B細胞性非ホジキンリンパ腫 (NHL) \n慢性リンパ性白血病 (CLL)', '進行非小細胞肺がん', 'びまん性大細胞型 B 細胞リンパ腫', '進行固形癌', '非小細胞肺癌', 'HER2遺伝子異常を伴う固形腫瘍', '固形腫瘍', '子宮頸癌\n胃/胃食道接合部腺癌\nマイクロサテライト安定性結腸直腸癌\n非小細胞肺癌\n頭頸部扁平上皮癌...', '胆道癌', '転移性去勢抵抗性前立腺癌', 'HER2陽性の進行性又は転移性の胆道癌', '進行期乳房外パジェット病', '多発性骨髄腫', '転移性去勢抵抗性前立腺癌', '非小細胞肺癌', '濾胞性リンパ腫', '非小細胞肺癌', '未治療又は1レジメンの全身治療歴を有するIDH1変異陽性の局所進行又は転移性の通常型軟骨肉腫', '標準治療がない、または標準治療に不応もしくは不耐の根治切除不能な進行・再発固形がん患者', '扁平上皮非小細胞肺癌', '子宮頸癌', '非小細胞肺癌', '大細胞型B細胞リンパ腫', '非ホジキンリンパ腫\n難治性B細胞性非ホジキンリンパ腫\n再発B細胞性非ホジキンリンパ腫', '多発性骨髄腫、慢性骨髄性白血病', 'HER2発現を有する固形癌', '限局型小細胞肺癌', '結腸直腸癌、膵管腺癌、胆道癌', '"再発又は難治性の多発性骨髄腫\n治療歴のあるアミロイド軽鎖(AL)アミロイドーシス"', '固形癌', '進行性又は転移性非扁平上皮非小細胞肺癌', '未治療のFLIPI 2~5の濾胞性リンパ腫患者', '再発進行原発性肺腺癌', '臨床病期II期またはIII期と診断され、かつ切除可能な乳癌', '臨床病期II期またはIII期と診断され、かつ切除可能な乳癌', '乳がん', '食道癌(扁平上皮癌)', '多発性骨髄腫', '非小細胞肺癌', '胃腺癌、食道胃接合部腺癌及び食道腺癌', '転移性乳癌(mBC)及び進行または転移性胃又は胃食道接合部又は食道腺癌(mGEAC)患者', '進展型小細胞肺癌\n小細胞肺癌', '非小細胞肺癌', '進行固形癌', '筋層非浸潤性膀胱癌', '非小細胞肺癌', '去勢抵抗性前立腺癌', '進行乳癌', '進展型小細胞肺癌', '悪性神経膠腫', '転移性固形がん\n再発性固形がん\n進行性固形がん', '成人T細胞白血病・リンパ腫', '���宮体がん', '非小細胞肺癌', '進行小細胞肺癌', '卵巣癌・固形がん', '転移性結腸直腸癌', '未治療の転移性非扁平上皮非小細胞肺癌(NSCLC)', '筋層非浸潤性膀胱癌', '子宮体癌', '転移性前立腺癌', '転移性前立腺癌', '再発又は難治性の多発性骨髄腫', '肺がん、食道がん、胃癌等の固形がん', '子宮内膜癌、頭頸部扁平上皮癌、膵管腺癌、大腸癌、肝細胞癌、食道腺癌/食道胃接合部腺癌/胃腺癌、尿...', '多発性骨髄腫', '成人T細胞白血病リンパ腫', '再発又は難治性の多発性骨髄腫', 'HER2 陽性又は HER2 低発現の切除不能又は転移性乳癌', '進行固形がん', '子宮体癌', '悪性胸膜中皮腫', '乳癌', '非小細胞肺癌', '進行固形癌', '固形癌', '中枢神経系原発リンパ腫', '慢性リンパ性白血病/小リンパ球性リンパ腫', '悪性黒色腫', '再発小細胞肺癌', '進行NSCLC 及びその他の固形がん', 'ホルモン受容体(HR)陽性ヒト上皮増殖因子受容体2(HER2)陰性の進行または転移乳癌', '扁平上皮非小細胞肺がん', '転移性非扁平上皮非小細胞肺癌', '固形腫瘍及び血液学的悪性腫瘍', '非小細胞肺癌', '進行性又は転移性の固形がん', 'エストロゲン受容体陽性/ヒト上皮増殖因子受容体 2 陰性の進行または転移乳癌', '未治療の大細胞型B細胞リンパ腫患者', '多発性骨髄腫', '乳癌', '固形がん', '局所進行(切除不能)及び/又は遠隔転移を伴うHER2発現癌', '多発性骨髄腫', '再発小細胞肺癌(SCLC)', '神経内分泌腫瘍(NEN)', '固形癌', '組織学的又は細胞学的に確認されたES-SCLC', '再発又は難治性濾胞性リンパ腫', 'CIでM1のないPSMA-PETによるオリゴ転移性前立腺がん(OMPC)', '再発・難治性のマントル細胞リンパ腫又は再発・難治性の前駆B細胞性急性リンパ芽球性白血病', '再発または難治性多発性骨髄腫', '多発性骨髄腫', '限局型小細胞肺癌\n小細胞肺癌', '本治験の被験者は,アジアの実施医療機関から参加する,確立された治療が無効である又はその適応ではな...', '再発膠芽腫', '局所進行又は転移性固形癌', '局所進行頭頸部扁平上皮癌', 'MTAP 欠損固形がん患者', '古典的ホジキンリンパ腫及び非ホジキンリンパ腫', '胃癌、食道胃接合部癌、膵管腺癌', '転移性去勢感受性前立腺癌', '局所進行頭頸部扁平上皮癌', '初発膠芽腫', '肝細胞癌,膵管腺癌,胆道癌,食道扁平上皮癌,乳癌,頭頚部扁平上皮癌', '固形がん', '多発性骨髄腫', '手術不能かつ既存治療不応の進行・再発固形がん', '早期又は進行/転移性の固形がん', '非小細胞肺癌', '非小細胞肺癌\n転移性腫瘍', '固形癌', '新生物', '胆道癌', '潜在的にSEZ6を発現する進行固形がん', '肺外神経内分泌癌(ただしメルケル細胞癌,甲状腺髄様癌又はグレード3の神経内分泌腫瘍を除く)\n肺の大...', '非小細胞肺癌(NSCLC)', 'HER2 TKD変異を有する切除不能,局所進行又は転移性非扁平上皮非小細胞肺癌', '再発又は難治性の多発性骨髄腫(RRMM)', '多発性骨髄腫', 'HER2低発現の胃腺癌又は胃食道接合部腺癌又は食道腺癌', '未治療多発性骨髄腫', '再発又は難治性のT細胞リンパ腫及び慢性リンパ性白血病/小リンパ球性リンパ腫', '消化器(消化管・肝胆膵)神経内分泌癌', '直腸がん', '切除不能な胸膜中皮腫', '乳がん、早期乳がん', '切除不能な転移性結腸・直腸癌', '悪性固形腫瘍', '局所進行子宮頸癌', '遠隔転移を有する膵がん', '• パート1: 局所進行又は転移性固形癌\n• パート2: 胃腺癌、食道胃接合部腺癌、食道腺癌又は非小細胞肺癌', '非小細胞肺癌', '進行性又は転移性がん', '再発及び難治性の多発性骨髄腫', '大細胞型B細胞性リンパ腫、濾胞性リンパ腫', '進行性又は転移性の固形がん、進行性又は転移性の食道癌、進行性又は転移性の頭頸部扁平上皮癌', '再発又は遠隔転移を有する頭頸部癌', '再発又は難治性のT細胞リンパ腫', '急性白血病(慢性白血病の急性転化例を含む)、悪性リンパ腫\nただし、L-アスパラギナーゼ製剤に過敏症...', '黒色腫', '固形がん(Arm 1)、非小細胞肺癌(Arm 2及びArm 3)', 'EGFRのエクソン20挿入変異を有する局所進行又は転移性非扁平上皮非小細胞肺癌', 'EGFRのエクソン20挿入変異及びUncommon/Single又はCompound変異を有する局所進行又は転移性非小細胞肺癌', '用量漸増部分:組織型を問わず,KRAS wt増幅又はKRAS G12V変異を有する治療選択肢が限られている固形癌...', 'B細胞性非ホジキンリンパ腫', '再発若しくは転移性又は切除不能な局所進行の有棘細胞癌', '胃腺がん, 胃食道接合部(GEJ)腺がん', '前立腺癌', '臨床的に遠隔転移のない膵がん', '癌関連静脈血栓塞栓症', '尿路上皮癌', 'CRPCコホート\n転移性去勢抵抗性前立腺癌', '標準治療がない又は不応若しくは不耐の進行再発と診断されたユーイング肉腫又は固形がん', 'KRAS wt増幅を有する固形癌(GAC,EAC,及びGEJAC)\n組織型を問わず,KRAS wt増幅又はKRAS G12V変異を...', '癌', '中枢神経系原発悪性リンパ腫', '肝細胞癌、胆道癌', 'エストロゲン受容体陽性/ヒト上皮増殖因子受容体2陰性の進行乳癌', '血液がん', '筋層浸潤性膀胱癌', 'びまん性大細胞型B細胞リンパ腫 ', '非小細胞肺癌', '神経膠腫', '局所進行、転移性、又は切除不能な固形癌', '皮膚血管肉腫', '局所進行又は転移性固形がん', '胆道癌', '固形癌', '多発性骨髄腫', '多発性骨髄腫', '結腸癌', '胃癌\n食道胃接合部癌\n膵臓線癌\n食道線癌', '進行切除不能肝細胞癌', '頭頸部癌', '卵巣癌', '胃腺癌、胃食道接合部(GEJ)腺癌、及び食道腺癌を含む進行性又は転移性GEA患者', '筋層非浸潤性膀胱癌', '未治療の切除不能または再発胸腺癌', '乳癌', '局所進行又は転移性非扁平上皮非小細胞肺癌', '膀胱がん\n転移性腫瘍\n尿管癌', '再発・難治性の局所進行性・転移性乳がん及びトリプルネガティブ乳がん', '乳がん、早期乳がん', '進行性の切除不能又は転移性MSIhi 又はdMMR固形がん,結腸直腸がん(CRC)', '多発性骨髄腫', '固形癌', '局所進行切除不能又は転移性の胃腺癌又は食道胃接合部腺癌', 'IDH野生型神経膠腫(グレードⅢ)(退形成性星細胞腫)', 'トリプルネガティブ乳がん', 'EGFR遺伝子変異を有する非小細胞肺癌患者', 'FGFR2遺伝子融合又は再構成を伴う胆管癌', '非小細胞肺癌', '多発性骨髄腫', '低悪性度神経膠腫、膵癌', '進行固形癌、非小細胞肺癌、頭頚部腫瘍', '固形がん', '卵巣癌', '肝転移を有する進行又は再発固形癌の患者', 'DLL3を発現する小細胞肺癌及びその他の神経内分泌腫瘍', '卵巣扁平上皮癌', '進行性固形がん', 'BRAF V600変異を有する局所進行切除不能又は転移性黒色腫、治療歴のないBRAF V600E変異を有する転移性結...', '進行又は転移性固形がん', '肝細胞癌', '食道がん、胃がん', 'エストロゲン受容体陽性/ヒト上皮増殖因子受容体2陰性の進行乳癌', 'LTK融合遺伝子陽性の進行非小細胞肺癌(NSCLC)', '多発性骨髄腫患者', '進行,切除不能又は転移性固形癌', '食道扁平上皮癌', '再発又は難治性多発性骨髄腫', '固形癌', 'HER2 陽性転移性結腸直腸癌', '乳癌', 'がん悪液質', '切除不能胆道癌', '進行性尿路上皮癌', '多発性骨髄腫', '二次性中枢神経系リンパ腫', '小細胞肺癌及びその他の神経内分泌癌', 'ミスマッチ修復異常を認める切除可能なStage II/III およびStage I 直腸癌', '局所進行頭頸部扁平上皮癌', '用量漸増コホート:固形がん\n拡大コホート1:結腸・直腸がん\n拡大コホート2:TMEM180陽性の結腸・直腸...', '膀胱新生物受容体、線維芽細胞増殖因子', '初発の多発性骨髄腫', '切除不能進行・再発胃癌', '非小細胞肺癌', '乳房外パジェット病', '頭頸部がんのがん治療に伴う口腔粘膜炎の疼痛 ', '非小細胞肺癌', '非小細胞肺癌', '子宮体癌\n胃癌\n転移性去勢抵抗性前立腺癌\n卵巣癌\n大腸癌\n尿路上皮癌\n胆道癌', '特定の進行固形癌', '結腸・直腸癌遠隔転移の治癒切除を予定している患者', '成熟B細胞性リンパ腫', '非小細胞肺癌', '多発性骨髄腫', '再発及び/又は難治性B細胞性非ホジキンリンパ腫(B-NHL)及び再発及び/又は難治性B細胞性急性リンパ芽...', '結腸直腸癌', '固形がん', '固形癌', '・肉腫、ユーイング 、・新生物転移', '進行非小細胞肺がん', '乳がん', '原発性直腸癌', '進行非小細胞肺がん\nEGFR変異\nHER2変異', '肝細胞癌', '卵巣がん', '非小細胞肺癌 ', '多発性骨髄腫', '悪性腹水を伴うMSS進行期消化器癌', '固形がん', '腹膜播種を伴う大腸癌', '固形癌', '標準治療不応・不耐もしくは再発又は進行HER2陽性骨・軟部肉腫および婦人科悪性腫瘍', '進行腎細胞癌及び卵巣癌', '悪性胸膜中皮腫', '移植後の初発多発性骨髄腫', '肝細胞癌', '胃癌又は食道胃接合部癌', '非小細胞肺癌', '局所進行(切除不能)又は転移性乳癌', '進行固形癌', 'BRAF V600E 変異を有する切除可能大��癌遠隔転移患者', '進行MTAP欠損固形癌', 'EGFR 遺伝子変異陽性未治療進行非小細胞肺癌', '肺扁平上皮癌', '標準治療がない、あるいは標準的治療法に不応又は不耐の固形癌', 'Nectin-4陽性固形癌', '非小細胞肺癌', '胃癌、食道胃接合部癌', '筋層浸潤性膀胱癌', '進行固形癌', '切除不能な局所進行非小細胞肺癌(ステージIII)', '胃腺癌,食道胃接合部腺癌,膵腺癌', '多発性骨髄腫', '非小細胞肺癌を除くALK 融合遺伝子陽性、進行・再発の固形腫瘍', '再発又は難治性のB細胞性非ホジキンリンパ腫', 'PD-L1高発現(TPSが50%以上)の進行又は転移性非小細胞肺癌', 'びまん性大細胞リンパ腫、急性リンパ芽球性白血病、慢性リンパ性白血病', '乳癌、胆道癌、卵巣癌、子宮内膜癌', '固形癌', '進行性又は転移性の固形がん', '前立腺癌', 'HER2エクソン19又は20の変異を有する非小細胞肺癌', '固形がん', 'NRG1融合が記録されているNSCLC、膵腺癌、および他のすべての固形腫瘍', '悪性胸膜中皮腫', '中間期肝細胞癌', '局所進行又は転移性固形がん', '消化管間質腫瘍', '転移性又は切除不能の悪性黒色腫, 転移性又は切除不能の肝細胞癌, 転移性又は切除不能の大腸癌', '非小細胞肺癌,進行固形癌,胃食道接合部腺癌,大腸癌', '肺扁平上皮癌', '非小細胞肺癌(NSCLC),頭頸部扁平上皮癌(HNSCC),その他の固形癌', '進行・再発非小細胞肺癌', '非小細胞肺癌(NSCLC)', '乳がん', '中皮腫,NF2 / LATS1 / LATS2 変異を伴う腫瘍,及び機能獲得性YAP / TAZ融合を伴う腫瘍を有する患者', 'HER2陽性の胃癌または胃食道接合部癌', '再発悪性神経膠腫', '固形癌', '上皮性卵巣がん(原発性腹膜がん及び卵管がんを含む)', '非小細胞肺癌、大腸新生物、子宮内膜新生物、卵巣新生物、膵臓新生物、胆道新生物', '【コホートA】BRCA変異陽性の子宮平滑筋肉腫:募集中\n【コホートB】BRCA変異陰性・HRD陽性の子宮平滑筋...', '未治療の治癒切除不能な膵がん患者( 遠隔転移例・切除不能局所進行膵がん)を対象とし、術後の再発症例...', '成人のROS1 融合遺伝子陽性の進行または転移性非小細胞肺癌(NSCLC)患者', '転移性食道扁平上皮癌', '多発性骨髄腫', '進行固形がん', '再発又は難治性の多発性骨髄腫(RRMM)', '胃癌', '進行固形癌', '・進行固形癌 \n・KRAS p.G12C変異を有する', 'LK、ROS1またはNTRK1-3の遺伝子再構成を有する進行固形癌患者', '筋層非浸潤性膀胱がん', '固形がん及び血液がん(AML, MDS, DLBCL)', '成人 T 細胞白血病・リンパ腫', 'ER陽性HER2陰性乳癌', '進行固形癌', '筋層浸潤性膀胱癌', '進行又は転移性非小細胞肺癌', '再発又は難治性の大細胞型B細胞リンパ腫', 'GPC3発現手術不能進行再発卵巣明細胞癌で腹膜播種を有する患者', '筋層非浸潤性膀胱癌', '前立腺がん', '非ホジキンリンパ腫 (びまん性大細胞型B細胞リンパ腫)', '膀胱癌', '表在性食道癌', '多発性骨髄腫', '膵臓がん', '局所進行または転移性ER陽性HER2陰性乳癌,局所進行または転移性去勢抵抗性前立腺癌,局所進行または転...', '頭頸部扁平上皮がん', '固形癌(非小細胞肺癌など)', '胃腺癌、胃食道接合部腺癌又は食道腺癌', '膠芽腫', '4型進行胃癌', '悪性黒色腫', '進行性悪性黒色腫']
dev_JRCT_api/vector_search.ipynb ADDED
The diff for this file is too large to render. See raw diff
 
dev_JRCT_api/vector_search1.ipynb ADDED
@@ -0,0 +1,1235 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": 1,
6
+ "metadata": {},
7
+ "outputs": [
8
+ {
9
+ "name": "stderr",
10
+ "output_type": "stream",
11
+ "text": [
12
+ "/Users/satoc/miniforge3/envs/gradio/lib/python3.12/site-packages/sentence_transformers/cross_encoder/CrossEncoder.py:13: TqdmExperimentalWarning: Using `tqdm.autonotebook.tqdm` in notebook mode. Use `tqdm.tqdm` instead to force console mode (e.g. in jupyter console)\n",
13
+ " from tqdm.autonotebook import tqdm, trange\n"
14
+ ]
15
+ }
16
+ ],
17
+ "source": [
18
+ "from sentence_transformers import SentenceTransformer, util\n",
19
+ "import pandas as pd\n",
20
+ "import re"
21
+ ]
22
+ },
23
+ {
24
+ "cell_type": "code",
25
+ "execution_count": 2,
26
+ "metadata": {},
27
+ "outputs": [],
28
+ "source": [
29
+ "# Target列を分割する関数\n",
30
+ "def split_target(target):\n",
31
+ " # 指定された区切り文字で分割\n",
32
+ " split_words = re.split(r'[,\\n、・及びおよび又はまたは]+', target)\n",
33
+ " # 空白文字を除外してリストとして返す\n",
34
+ " return [word.strip() for word in split_words if word.strip()]"
35
+ ]
36
+ },
37
+ {
38
+ "cell_type": "code",
39
+ "execution_count": 3,
40
+ "metadata": {},
41
+ "outputs": [],
42
+ "source": [
43
+ "basedf = pd.read_csv('../ClinicalTrialCSV/JRCT20241202Cancer.csv', index_col=0)\n",
44
+ "basedf = basedf.dropna(subset=['試験等のフェーズ'])\n",
45
+ "# Target列を分割してTargetWord列を追加\n",
46
+ "basedf['TargetWord'] = basedf['Target'].apply(split_target)"
47
+ ]
48
+ },
49
+ {
50
+ "cell_type": "code",
51
+ "execution_count": 4,
52
+ "metadata": {},
53
+ "outputs": [
54
+ {
55
+ "name": "stderr",
56
+ "output_type": "stream",
57
+ "text": [
58
+ "/Users/satoc/miniforge3/envs/gradio/lib/python3.12/site-packages/transformers/tokenization_utils_base.py:1617: FutureWarning: `clean_up_tokenization_spaces` was not set. It will be set to `True` by default. This behavior will be deprecated in transformers v4.45, and will be then set to `False` by default. For more details check this issue: https://github.com/huggingface/transformers/issues/31884\n",
59
+ " warnings.warn(\n"
60
+ ]
61
+ }
62
+ ],
63
+ "source": [
64
+ "# モデルのロード\n",
65
+ "model = SentenceTransformer('all-MiniLM-L6-v2')"
66
+ ]
67
+ },
68
+ {
69
+ "cell_type": "code",
70
+ "execution_count": 9,
71
+ "metadata": {},
72
+ "outputs": [],
73
+ "source": [
74
+ "# クエリ\n",
75
+ "#query = \"乳がん\"\n",
76
+ "query = \"神経膠腫\"\n",
77
+ "threshold = 0.7\n",
78
+ "# クエリをベクトル化\n",
79
+ "query_vec = model.encode(query, convert_to_tensor=True)\n"
80
+ ]
81
+ },
82
+ {
83
+ "cell_type": "code",
84
+ "execution_count": 10,
85
+ "metadata": {},
86
+ "outputs": [
87
+ {
88
+ "data": {
89
+ "text/html": [
90
+ "<div>\n",
91
+ "<style scoped>\n",
92
+ " .dataframe tbody tr th:only-of-type {\n",
93
+ " vertical-align: middle;\n",
94
+ " }\n",
95
+ "\n",
96
+ " .dataframe tbody tr th {\n",
97
+ " vertical-align: top;\n",
98
+ " }\n",
99
+ "\n",
100
+ " .dataframe thead th {\n",
101
+ " text-align: right;\n",
102
+ " }\n",
103
+ "</style>\n",
104
+ "<table border=\"1\" class=\"dataframe\">\n",
105
+ " <thead>\n",
106
+ " <tr style=\"text-align: right;\">\n",
107
+ " <th></th>\n",
108
+ " <th>JRCT ID</th>\n",
109
+ " <th>NCT No</th>\n",
110
+ " <th>JapicCTI No</th>\n",
111
+ " <th>Title</th>\n",
112
+ " <th>Target</th>\n",
113
+ " <th>研究・治験の目的</th>\n",
114
+ " <th>試験等のフェーズ</th>\n",
115
+ " <th>試験の種類</th>\n",
116
+ " <th>無作為化</th>\n",
117
+ " <th>盲検化</th>\n",
118
+ " <th>...</th>\n",
119
+ " <th>purpose</th>\n",
120
+ " <th>Inclusion Criteria</th>\n",
121
+ " <th>Exclusion Criteria</th>\n",
122
+ " <th>Age Minimum</th>\n",
123
+ " <th>Age Maximum</th>\n",
124
+ " <th>Gender</th>\n",
125
+ " <th>Discontinuation Criteria</th>\n",
126
+ " <th>Keyword</th>\n",
127
+ " <th>Intervention(s)</th>\n",
128
+ " <th>TargetWord</th>\n",
129
+ " </tr>\n",
130
+ " </thead>\n",
131
+ " <tbody>\n",
132
+ " <tr>\n",
133
+ " <th>72</th>\n",
134
+ " <td>jRCT2051240141</td>\n",
135
+ " <td>NCT05580562</td>\n",
136
+ " <td>NaN</td>\n",
137
+ " <td>新たに診断され放射線療法を完了したH3 K27M変異を有するびまん性神経膠腫の治療のためのO...</td>\n",
138
+ " <td>H3 K27M 変異を有する初発びまん性神経膠腫</td>\n",
139
+ " <td>H3 K27M変異びまん性神経膠腫を有する被験者を対象に、放射線療法後に投与されたONC20...</td>\n",
140
+ " <td>3</td>\n",
141
+ " <td>NaN</td>\n",
142
+ " <td>無作為化比較</td>\n",
143
+ " <td>二重盲検</td>\n",
144
+ " <td>...</td>\n",
145
+ " <td>treatment purpose</td>\n",
146
+ " <td>1. Able to understand the study procedures and...</td>\n",
147
+ " <td>1. Primary spinal tumor.\\r\\n2. Diffuse intrins...</td>\n",
148
+ " <td>No limit</td>\n",
149
+ " <td>No limit</td>\n",
150
+ " <td>NaN</td>\n",
151
+ " <td>NaN</td>\n",
152
+ " <td>NaN</td>\n",
153
+ " <td>Participants will be randomized at baseline in...</td>\n",
154
+ " <td>[H3 K27M 変異を有する初発, ん性神経膠腫]</td>\n",
155
+ " </tr>\n",
156
+ " <tr>\n",
157
+ " <th>103</th>\n",
158
+ " <td>jRCT2051240121</td>\n",
159
+ " <td>NCT06413706</td>\n",
160
+ " <td>NaN</td>\n",
161
+ " <td>放射線療法後の悪性神経膠腫の小児および若年成人を対象に、アベマシクリブ+テモゾロミドとテモゾ...</td>\n",
162
+ " <td>悪性神経膠腫</td>\n",
163
+ " <td>放射線療法後の悪性神経膠腫を有する小児および若年成人を対象に、アベマシクリブとテモゾロミドの...</td>\n",
164
+ " <td>2</td>\n",
165
+ " <td>NaN</td>\n",
166
+ " <td>無作為化比較</td>\n",
167
+ " <td>非盲検</td>\n",
168
+ " <td>...</td>\n",
169
+ " <td>treatment purpose</td>\n",
170
+ " <td>Subjects required to meet all the folloiwng cr...</td>\n",
171
+ " <td>Patients who meets any of the following criter...</td>\n",
172
+ " <td>No limit</td>\n",
173
+ " <td>21age old not</td>\n",
174
+ " <td>NaN</td>\n",
175
+ " <td>NaN</td>\n",
176
+ " <td>NaN</td>\n",
177
+ " <td>Drug: Abemaciclib\\r\\nAdministered orally\\r\\nOt...</td>\n",
178
+ " <td>[悪性神経膠腫]</td>\n",
179
+ " </tr>\n",
180
+ " <tr>\n",
181
+ " <th>224</th>\n",
182
+ " <td>jRCT2031240090</td>\n",
183
+ " <td>NaN</td>\n",
184
+ " <td>NaN</td>\n",
185
+ " <td>再発悪性神経膠腫に対する治療用放射性薬剤64Cu-ATSMの有効性を検証するランダム化比較医...</td>\n",
186
+ " <td>悪性神経膠腫</td>\n",
187
+ " <td>再発・難治性悪性神経膠腫を対象として、64Cu-diacetyl-bis(N4-methyl...</td>\n",
188
+ " <td>3</td>\n",
189
+ " <td>NaN</td>\n",
190
+ " <td>無作為化比較</td>\n",
191
+ " <td>非盲検</td>\n",
192
+ " <td>...</td>\n",
193
+ " <td>treatment purpose</td>\n",
194
+ " <td>1) Histologically diagnosed as high grade glio...</td>\n",
195
+ " <td>1) Have a history or merger of other malignanc...</td>\n",
196
+ " <td>18age old over</td>\n",
197
+ " <td>75age old under</td>\n",
198
+ " <td>Both</td>\n",
199
+ " <td>NaN</td>\n",
200
+ " <td>glioblastoma, grade3/4 astrocytoma, grade3 oli...</td>\n",
201
+ " <td>Group A: BPC Therapy\\r\\nDepending on the patie...</td>\n",
202
+ " <td>[悪性神経膠腫]</td>\n",
203
+ " </tr>\n",
204
+ " <tr>\n",
205
+ " <th>286</th>\n",
206
+ " <td>jRCT2071230124</td>\n",
207
+ " <td>NCT06541665</td>\n",
208
+ " <td>NaN</td>\n",
209
+ " <td>ONO-4059-13:未治療の中枢神経系原発リンパ腫(PCNSL)を対象としたONO-40...</td>\n",
210
+ " <td>中枢神経系原発リンパ腫</td>\n",
211
+ " <td>未治療PCNSL患者を対象にONO-4059 とR-MPV 療法を併用投与したときの忍容性及...</td>\n",
212
+ " <td>1</td>\n",
213
+ " <td>NaN</td>\n",
214
+ " <td>単一群</td>\n",
215
+ " <td>非盲検</td>\n",
216
+ " <td>...</td>\n",
217
+ " <td>treatment purpose</td>\n",
218
+ " <td>1. Patients diagnosed with PCNSL\\r\\n2. Patient...</td>\n",
219
+ " <td>1.Patients with intraocular PCNSL without brai...</td>\n",
220
+ " <td>18age old over</td>\n",
221
+ " <td>No limit</td>\n",
222
+ " <td>Both</td>\n",
223
+ " <td>NaN</td>\n",
224
+ " <td>NaN</td>\n",
225
+ " <td>Concomitant administration of ONO-4059 and rit...</td>\n",
226
+ " <td>[中枢神経系原発リンパ腫]</td>\n",
227
+ " </tr>\n",
228
+ " <tr>\n",
229
+ " <th>321</th>\n",
230
+ " <td>jRCT2071230114</td>\n",
231
+ " <td>NCT06240741</td>\n",
232
+ " <td>NaN</td>\n",
233
+ " <td>日本の神経内分泌腫瘍(NEN)患者及び健康成人を対象に[68Ga]Ga-DOTA-TATEを...</td>\n",
234
+ " <td>神経内分泌腫瘍(NEN)</td>\n",
235
+ " <td>神経内分泌腫瘍(NEN)患者及び健康成人(HV)を対象に,[68Ga]Ga-DOTA-TAT...</td>\n",
236
+ " <td>3</td>\n",
237
+ " <td>NaN</td>\n",
238
+ " <td>単一群</td>\n",
239
+ " <td>非盲検</td>\n",
240
+ " <td>...</td>\n",
241
+ " <td>diagnostic purpose</td>\n",
242
+ " <td>1. Signed informed consent must be obtained pr...</td>\n",
243
+ " <td>1. Inability to complete the needed investigat...</td>\n",
244
+ " <td>18age old over</td>\n",
245
+ " <td>No limit</td>\n",
246
+ " <td>Both</td>\n",
247
+ " <td>NaN</td>\n",
248
+ " <td>NaN</td>\n",
249
+ " <td>[68Ga]Ga-DOTA-TATE will be administered intrav...</td>\n",
250
+ " <td>[神経内分泌腫瘍(NEN)]</td>\n",
251
+ " </tr>\n",
252
+ " <tr>\n",
253
+ " <th>370</th>\n",
254
+ " <td>jRCT2031230511</td>\n",
255
+ " <td>NaN</td>\n",
256
+ " <td>NaN</td>\n",
257
+ " <td>DAREON™-7:神経内分泌癌(NEC)患者の1次治療として,BI 764532点滴静注を...</td>\n",
258
+ " <td>肺外神経内分泌癌(ただしメルケル細胞癌,甲状腺髄様癌又はグレード3の神経内分泌腫瘍を除く)\\...</td>\n",
259
+ " <td>パートA:用量漸増の主要目的は,BI 764532の最大耐量(MTD)及び/又は目標用量の拡...</td>\n",
260
+ " <td>1</td>\n",
261
+ " <td>NaN</td>\n",
262
+ " <td>非無作為化比較</td>\n",
263
+ " <td>非盲検</td>\n",
264
+ " <td>...</td>\n",
265
+ " <td>treatment purpose</td>\n",
266
+ " <td>- Male or female participants &gt;=18 years old a...</td>\n",
267
+ " <td>- Previous treatment in this trial\\r\\n- Curren...</td>\n",
268
+ " <td>18age old over</td>\n",
269
+ " <td>No limit</td>\n",
270
+ " <td>Both</td>\n",
271
+ " <td>NaN</td>\n",
272
+ " <td>NaN</td>\n",
273
+ " <td>Confidential information</td>\n",
274
+ " <td>[肺外神経内分泌癌(, だしメルケル細胞癌,甲状腺髄様癌, グレード3の神経内分泌腫瘍を除く...</td>\n",
275
+ " </tr>\n",
276
+ " <tr>\n",
277
+ " <th>387</th>\n",
278
+ " <td>jRCT2031230456</td>\n",
279
+ " <td>NaN</td>\n",
280
+ " <td>NaN</td>\n",
281
+ " <td>JCOG2107E: 切除不能・再発消化器(消化管・肝胆膵)神経内分泌癌(NEC)を対象とし...</td>\n",
282
+ " <td>消化器(消化管・肝胆膵)神経内分泌癌</td>\n",
283
+ " <td>切除不能・再発消化器(消化管・肝胆膵)神経内分泌癌(NEC)において、エトポシド+カルボプラ...</td>\n",
284
+ " <td>3</td>\n",
285
+ " <td>NaN</td>\n",
286
+ " <td>無作為化比較</td>\n",
287
+ " <td>非盲検</td>\n",
288
+ " <td>...</td>\n",
289
+ " <td>treatment purpose</td>\n",
290
+ " <td>1) Histologically confirmed neuroendocrine car...</td>\n",
291
+ " <td>1) Synchronous or metachronous malignancies\\r\\...</td>\n",
292
+ " <td>18age old over</td>\n",
293
+ " <td>75age old under</td>\n",
294
+ " <td>NaN</td>\n",
295
+ " <td>NaN</td>\n",
296
+ " <td>NaN</td>\n",
297
+ " <td>Arm A: Six courses of etoposide + carboplatin ...</td>\n",
298
+ " <td>[消化器(消化管, 肝胆膵)神経内分泌癌]</td>\n",
299
+ " </tr>\n",
300
+ " <tr>\n",
301
+ " <th>459</th>\n",
302
+ " <td>jRCT2031230277</td>\n",
303
+ " <td>NaN</td>\n",
304
+ " <td>NaN</td>\n",
305
+ " <td>メトトレキサート基盤寛解導入療法後奏効例の非照射初発中枢神経系原発悪性リンパ腫に対するチラブ...</td>\n",
306
+ " <td>中枢神経系原発悪性リンパ腫</td>\n",
307
+ " <td>寛解導入療法として大量メトトレキサート(HD-MTX)基盤化学療法実施後に完全奏効(CRまた...</td>\n",
308
+ " <td>2</td>\n",
309
+ " <td>NaN</td>\n",
310
+ " <td>無作為化比較</td>\n",
311
+ " <td>二重盲検</td>\n",
312
+ " <td>...</td>\n",
313
+ " <td>treatment purpose</td>\n",
314
+ " <td>1) Histopathological diagnosis of B cell lymph...</td>\n",
315
+ " <td>1) Synchronous or metachronous malignancies.\\r...</td>\n",
316
+ " <td>18age old over</td>\n",
317
+ " <td>No limit</td>\n",
318
+ " <td>NaN</td>\n",
319
+ " <td>NaN</td>\n",
320
+ " <td>NaN</td>\n",
321
+ " <td>Tirabrutinib (480 mg) or placebo taken orally ...</td>\n",
322
+ " <td>[中枢神経系原発悪性リンパ腫]</td>\n",
323
+ " </tr>\n",
324
+ " <tr>\n",
325
+ " <th>473</th>\n",
326
+ " <td>jRCT2051230069</td>\n",
327
+ " <td>NaN</td>\n",
328
+ " <td>NaN</td>\n",
329
+ " <td>神経膠腫患者に対するロムスチン療法とプロカルバジン、ロムスチン、ビンクリスチン併⽤療法の安全...</td>\n",
330
+ " <td>神経膠腫</td>\n",
331
+ " <td>神経膠腫患者におけるロムスチン療法とプロカルバジン、ロムスチン、ビンクリスチン併⽤療法の安全...</td>\n",
332
+ " <td>1</td>\n",
333
+ " <td>NaN</td>\n",
334
+ " <td>単一群</td>\n",
335
+ " <td>非盲検</td>\n",
336
+ " <td>...</td>\n",
337
+ " <td>treatment purpose</td>\n",
338
+ " <td>&lt;Cohort 1&gt;\\r\\n All of the following items shal...</td>\n",
339
+ " <td>&lt;Common to Cohort 1 and Cohort 2&gt;\\r\\n1) Active...</td>\n",
340
+ " <td>18age old over</td>\n",
341
+ " <td>No limit</td>\n",
342
+ " <td>Both</td>\n",
343
+ " <td>NaN</td>\n",
344
+ " <td>NaN</td>\n",
345
+ " <td>&lt;cohort1&gt;\\r\\nLomustine 130 mg/m2 orally every ...</td>\n",
346
+ " <td>[神経膠腫]</td>\n",
347
+ " </tr>\n",
348
+ " <tr>\n",
349
+ " <th>529</th>\n",
350
+ " <td>jRCT2032230060</td>\n",
351
+ " <td>NaN</td>\n",
352
+ " <td>NaN</td>\n",
353
+ " <td>初発IDH野生型低悪性度神経膠腫に対する交流電場腫瘍治療システムの有効性と安全性を検証する多...</td>\n",
354
+ " <td>IDH野生型神経膠腫(グレードⅢ)(退形成性星細胞腫)</td>\n",
355
+ " <td>初発IDH野生型低悪性度神経膠腫を対象に、放射線化学療法後のテモゾロミド維持療法期における交...</td>\n",
356
+ " <td>2</td>\n",
357
+ " <td>NaN</td>\n",
358
+ " <td>単一群</td>\n",
359
+ " <td>非盲検</td>\n",
360
+ " <td>...</td>\n",
361
+ " <td>treatment purpose</td>\n",
362
+ " <td>At the time of enrollment, patients will be in...</td>\n",
363
+ " <td>Any of the following conditions shall not appl...</td>\n",
364
+ " <td>18age old over</td>\n",
365
+ " <td>No limit</td>\n",
366
+ " <td>Both</td>\n",
367
+ " <td>NaN</td>\n",
368
+ " <td>Glioma</td>\n",
369
+ " <td>The patient using the product should shave all...</td>\n",
370
+ " <td>[IDH野生型神経膠腫(グレードⅢ)(退形成性星細胞腫)]</td>\n",
371
+ " </tr>\n",
372
+ " <tr>\n",
373
+ " <th>549</th>\n",
374
+ " <td>jRCT2031230007</td>\n",
375
+ " <td>NaN</td>\n",
376
+ " <td>NaN</td>\n",
377
+ " <td>BRAF融合遺伝子陽性の進行・再発の低悪性度神経膠腫または膵癌に対するビニメチニブの第Ⅱ相医...</td>\n",
378
+ " <td>低悪性度神経膠腫、膵癌</td>\n",
379
+ " <td>BRAF融合遺伝子または遺伝子再構成陽性の切除不能または再発の低悪性度神経膠腫(コホート A...</td>\n",
380
+ " <td>2</td>\n",
381
+ " <td>NaN</td>\n",
382
+ " <td>単一群</td>\n",
383
+ " <td>非盲検</td>\n",
384
+ " <td>...</td>\n",
385
+ " <td>treatment purpose</td>\n",
386
+ " <td>Inclusion criteria for both cohort A and B\\r\\n...</td>\n",
387
+ " <td>1) Active double primary cancer (but not (1)-(...</td>\n",
388
+ " <td>12age old over</td>\n",
389
+ " <td>No limit</td>\n",
390
+ " <td>Both</td>\n",
391
+ " <td>NaN</td>\n",
392
+ " <td>BRAF fusion gene, BRAF rearrangement, low-grad...</td>\n",
393
+ " <td>Binimetinib is administered 45 mg orally, twic...</td>\n",
394
+ " <td>[低悪性度神経膠腫, 膵癌]</td>\n",
395
+ " </tr>\n",
396
+ " <tr>\n",
397
+ " <th>563</th>\n",
398
+ " <td>jRCT2031220716</td>\n",
399
+ " <td>NaN</td>\n",
400
+ " <td>NaN</td>\n",
401
+ " <td>DLL3を発現する小細胞肺癌及びその他の神経内分泌腫瘍の患者を対象としたBI 764532と...</td>\n",
402
+ " <td>DLL3を発現する小細胞肺癌及びその他の神経内分泌腫瘍</td>\n",
403
+ " <td>用量-毒性関係を評価し,ezabenlimab併用下でのBI 764532の最大耐量(MTD...</td>\n",
404
+ " <td>1</td>\n",
405
+ " <td>NaN</td>\n",
406
+ " <td>非無作為化比較</td>\n",
407
+ " <td>非盲検</td>\n",
408
+ " <td>...</td>\n",
409
+ " <td>treatment purpose</td>\n",
410
+ " <td>a)Signed and dated, written informed consent f...</td>\n",
411
+ " <td>a)Previous treatment with T cell engagers or c...</td>\n",
412
+ " <td>18age old over</td>\n",
413
+ " <td>No limit</td>\n",
414
+ " <td>Both</td>\n",
415
+ " <td>NaN</td>\n",
416
+ " <td>NaN</td>\n",
417
+ " <td>Confidential information</td>\n",
418
+ " <td>[DLL3を発現する小細胞肺癌, その他の神経内分泌腫瘍]</td>\n",
419
+ " </tr>\n",
420
+ " <tr>\n",
421
+ " <th>633</th>\n",
422
+ " <td>jRCT2031220511</td>\n",
423
+ " <td>NCT05619744</td>\n",
424
+ " <td>NaN</td>\n",
425
+ " <td>進行小細胞肺癌及びその他の神経内分泌癌患者を対象としてRO7616789の安全性,忍容性,薬...</td>\n",
426
+ " <td>小細胞肺癌及びその他の神経内分泌癌</td>\n",
427
+ " <td>非盲検多施設共同第Ⅰ相臨床試験</td>\n",
428
+ " <td>1</td>\n",
429
+ " <td>NaN</td>\n",
430
+ " <td>単一群</td>\n",
431
+ " <td>非盲検</td>\n",
432
+ " <td>...</td>\n",
433
+ " <td>treatment purpose</td>\n",
434
+ " <td>-Life expectancy at least 12 weeks\\r\\n-Eastern...</td>\n",
435
+ " <td>-History or clinical evidence of primary centr...</td>\n",
436
+ " <td>18age old over</td>\n",
437
+ " <td>No limit</td>\n",
438
+ " <td>Both</td>\n",
439
+ " <td>NaN</td>\n",
440
+ " <td>NaN</td>\n",
441
+ " <td>RO7616789: RO7616789 is administered as a intr...</td>\n",
442
+ " <td>[小細胞肺癌, その他の神経内分泌癌]</td>\n",
443
+ " </tr>\n",
444
+ " <tr>\n",
445
+ " <th>875</th>\n",
446
+ " <td>jRCT2031210299</td>\n",
447
+ " <td>NaN</td>\n",
448
+ " <td>NaN</td>\n",
449
+ " <td>再発悪性神経膠腫患者を対象としたDSP-0390の第1相試験</td>\n",
450
+ " <td>再発悪性神経膠腫</td>\n",
451
+ " <td>再発悪性神経膠腫患者を対象にDSP-0390を経口投与したときの安全性、薬物動態、薬力学及び...</td>\n",
452
+ " <td>1</td>\n",
453
+ " <td>NaN</td>\n",
454
+ " <td>単一群</td>\n",
455
+ " <td>非盲検</td>\n",
456
+ " <td>...</td>\n",
457
+ " <td>treatment purpose</td>\n",
458
+ " <td>1.\\tEstimated life expectancy &gt;= 3 months\\r\\n2...</td>\n",
459
+ " <td>1.\\tPrior therapy with bevacizumab or other an...</td>\n",
460
+ " <td>18age old over</td>\n",
461
+ " <td>No limit</td>\n",
462
+ " <td>Both</td>\n",
463
+ " <td>NaN</td>\n",
464
+ " <td>NaN</td>\n",
465
+ " <td>Patients will receive DSP-0390 orally once dai...</td>\n",
466
+ " <td>[再発悪性神経膠腫]</td>\n",
467
+ " </tr>\n",
468
+ " </tbody>\n",
469
+ "</table>\n",
470
+ "<p>14 rows × 39 columns</p>\n",
471
+ "</div>"
472
+ ],
473
+ "text/plain": [
474
+ " JRCT ID NCT No JapicCTI No \\\n",
475
+ "72 jRCT2051240141 NCT05580562 NaN \n",
476
+ "103 jRCT2051240121 NCT06413706 NaN \n",
477
+ "224 jRCT2031240090 NaN NaN \n",
478
+ "286 jRCT2071230124 NCT06541665 NaN \n",
479
+ "321 jRCT2071230114 NCT06240741 NaN \n",
480
+ "370 jRCT2031230511 NaN NaN \n",
481
+ "387 jRCT2031230456 NaN NaN \n",
482
+ "459 jRCT2031230277 NaN NaN \n",
483
+ "473 jRCT2051230069 NaN NaN \n",
484
+ "529 jRCT2032230060 NaN NaN \n",
485
+ "549 jRCT2031230007 NaN NaN \n",
486
+ "563 jRCT2031220716 NaN NaN \n",
487
+ "633 jRCT2031220511 NCT05619744 NaN \n",
488
+ "875 jRCT2031210299 NaN NaN \n",
489
+ "\n",
490
+ " Title \\\n",
491
+ "72 新たに診断され放射線療法を完了したH3 K27M変異を有するびまん性神経膠腫の治療のためのO... \n",
492
+ "103 放射線療法後の悪性神経膠腫の小児および若年成人を対象に、アベマシクリブ+テモゾロミドとテモゾ... \n",
493
+ "224 再発悪性神経膠腫に対する治療用放射性薬剤64Cu-ATSMの有効性を検証するランダム化比較医... \n",
494
+ "286 ONO-4059-13:未治療の中枢神経系原発リンパ腫(PCNSL)を対象としたONO-40... \n",
495
+ "321 日本の神経内分泌腫瘍(NEN)患者及び健康成人を対象に[68Ga]Ga-DOTA-TATEを... \n",
496
+ "370 DAREON™-7:神経内分泌癌(NEC)患者の1次治療として,BI 764532点滴静注を... \n",
497
+ "387 JCOG2107E: 切除不能・再発消化器(消化管・肝胆膵)神経内分泌癌(NEC)を対象とし... \n",
498
+ "459 メトトレキサート基盤寛解導入療法後奏効例の非照射初発中枢神経系原発悪性リンパ腫に対するチラブ... \n",
499
+ "473 神経膠腫患者に対するロムスチン療法とプロカルバジン、ロムスチン、ビンクリスチン併⽤療法の安全... \n",
500
+ "529 初発IDH野生型低悪性度神経膠腫に対する交流電場腫瘍治療システムの有効性と安全性を検証する多... \n",
501
+ "549 BRAF融合遺伝子陽性の進行・再発の低悪性度神経膠腫または膵癌に対するビニメチニブの第Ⅱ相医... \n",
502
+ "563 DLL3を発現する小細胞肺癌及びその他の神経内分泌腫瘍の患者を対象としたBI 764532と... \n",
503
+ "633 進行小細胞肺癌及びその他の神経内分泌癌患者を対象としてRO7616789の安全性,忍容性,薬... \n",
504
+ "875 再発悪性神経膠腫患者を対象としたDSP-0390の第1相試験 \n",
505
+ "\n",
506
+ " Target \\\n",
507
+ "72 H3 K27M 変異を有する初発びまん性神経膠腫 \n",
508
+ "103 悪性神経膠腫 \n",
509
+ "224 悪性神経膠腫 \n",
510
+ "286 中枢神経系原発リンパ腫 \n",
511
+ "321 神経内分泌腫瘍(NEN) \n",
512
+ "370 肺外神経内分泌癌(ただしメルケル細胞癌,甲状腺髄様癌又はグレード3の神経内分泌腫瘍を除く)\\... \n",
513
+ "387 消化器(消化管・肝胆膵)神経内分泌癌 \n",
514
+ "459 中枢神経系原発悪性リンパ腫 \n",
515
+ "473 神経膠腫 \n",
516
+ "529 IDH野生型神経膠腫(グレードⅢ)(退形成性星細胞腫) \n",
517
+ "549 低悪性度神経膠腫、膵癌 \n",
518
+ "563 DLL3を発現する小細胞肺癌及びその他の神経内分泌腫瘍 \n",
519
+ "633 小細胞肺癌及びその他の神経内分泌癌 \n",
520
+ "875 再発悪性神経膠腫 \n",
521
+ "\n",
522
+ " 研究・治験の目的 試験等のフェーズ 試験の種類 \\\n",
523
+ "72 H3 K27M変異びまん性神経膠腫を有する被験者を対象に、放射線療法後に投与されたONC20... 3 NaN \n",
524
+ "103 放射線療法後の悪性神経膠腫を有する小児および若年成人を対象に、アベマシクリブとテモゾロミドの... 2 NaN \n",
525
+ "224 再発・難治性悪性神経膠腫を対象として、64Cu-diacetyl-bis(N4-methyl... 3 NaN \n",
526
+ "286 未治療PCNSL患者を対象にONO-4059 とR-MPV 療法を併用投与したときの忍容性及... 1 NaN \n",
527
+ "321 神経内分泌腫瘍(NEN)患者及び健康成人(HV)を対象に,[68Ga]Ga-DOTA-TAT... 3 NaN \n",
528
+ "370 パートA:用量漸増の主要目的は,BI 764532の最大耐量(MTD)及び/又は目標用量の拡... 1 NaN \n",
529
+ "387 切除不能・再発消化器(消化管・肝胆膵)神経内分泌癌(NEC)において、エトポシド+カルボプラ... 3 NaN \n",
530
+ "459 寛解導入療法として大量メトトレキサート(HD-MTX)基盤化学療法実施後に完全奏効(CRまた... 2 NaN \n",
531
+ "473 神経膠腫患者におけるロムスチン療法とプロカルバジン、ロムスチン、ビンクリスチン併⽤療法の安全... 1 NaN \n",
532
+ "529 初発IDH野生型低悪性度神経膠腫を対象に、放射線化学療法後のテモゾロミド維持療法期における交... 2 NaN \n",
533
+ "549 BRAF融合遺伝子または遺伝子再構成陽性の切除不能または再発の低悪性度神経膠腫(コホート A... 2 NaN \n",
534
+ "563 用量-毒性関係を評価し,ezabenlimab併用下でのBI 764532の最大耐量(MTD... 1 NaN \n",
535
+ "633 非盲検多施設共同第Ⅰ相臨床試験 1 NaN \n",
536
+ "875 再発悪性神経膠腫患者を対象にDSP-0390を経口投与したときの安全性、薬物動態、薬力学及び... 1 NaN \n",
537
+ "\n",
538
+ " 無作為化 盲検化 ... purpose \\\n",
539
+ "72 無作為化比較 二重盲検 ... treatment purpose \n",
540
+ "103 無作為化比較 非盲検 ... treatment purpose \n",
541
+ "224 無作為化比較 非盲検 ... treatment purpose \n",
542
+ "286 単一群 非盲検 ... treatment purpose \n",
543
+ "321 単一群 非盲検 ... diagnostic purpose \n",
544
+ "370 非無作為化比較 非盲検 ... treatment purpose \n",
545
+ "387 無作為化比較 非盲検 ... treatment purpose \n",
546
+ "459 無作為化比較 二重盲検 ... treatment purpose \n",
547
+ "473 単一群 非盲検 ... treatment purpose \n",
548
+ "529 単一群 非盲検 ... treatment purpose \n",
549
+ "549 単一群 非盲検 ... treatment purpose \n",
550
+ "563 非無作為化比較 非盲検 ... treatment purpose \n",
551
+ "633 単一群 非盲検 ... treatment purpose \n",
552
+ "875 単一群 非盲検 ... treatment purpose \n",
553
+ "\n",
554
+ " Inclusion Criteria \\\n",
555
+ "72 1. Able to understand the study procedures and... \n",
556
+ "103 Subjects required to meet all the folloiwng cr... \n",
557
+ "224 1) Histologically diagnosed as high grade glio... \n",
558
+ "286 1. Patients diagnosed with PCNSL\\r\\n2. Patient... \n",
559
+ "321 1. Signed informed consent must be obtained pr... \n",
560
+ "370 - Male or female participants >=18 years old a... \n",
561
+ "387 1) Histologically confirmed neuroendocrine car... \n",
562
+ "459 1) Histopathological diagnosis of B cell lymph... \n",
563
+ "473 <Cohort 1>\\r\\n All of the following items shal... \n",
564
+ "529 At the time of enrollment, patients will be in... \n",
565
+ "549 Inclusion criteria for both cohort A and B\\r\\n... \n",
566
+ "563 a)Signed and dated, written informed consent f... \n",
567
+ "633 -Life expectancy at least 12 weeks\\r\\n-Eastern... \n",
568
+ "875 1.\\tEstimated life expectancy >= 3 months\\r\\n2... \n",
569
+ "\n",
570
+ " Exclusion Criteria Age Minimum \\\n",
571
+ "72 1. Primary spinal tumor.\\r\\n2. Diffuse intrins... No limit \n",
572
+ "103 Patients who meets any of the following criter... No limit \n",
573
+ "224 1) Have a history or merger of other malignanc... 18age old over \n",
574
+ "286 1.Patients with intraocular PCNSL without brai... 18age old over \n",
575
+ "321 1. Inability to complete the needed investigat... 18age old over \n",
576
+ "370 - Previous treatment in this trial\\r\\n- Curren... 18age old over \n",
577
+ "387 1) Synchronous or metachronous malignancies\\r\\... 18age old over \n",
578
+ "459 1) Synchronous or metachronous malignancies.\\r... 18age old over \n",
579
+ "473 <Common to Cohort 1 and Cohort 2>\\r\\n1) Active... 18age old over \n",
580
+ "529 Any of the following conditions shall not appl... 18age old over \n",
581
+ "549 1) Active double primary cancer (but not (1)-(... 12age old over \n",
582
+ "563 a)Previous treatment with T cell engagers or c... 18age old over \n",
583
+ "633 -History or clinical evidence of primary centr... 18age old over \n",
584
+ "875 1.\\tPrior therapy with bevacizumab or other an... 18age old over \n",
585
+ "\n",
586
+ " Age Maximum Gender Discontinuation Criteria \\\n",
587
+ "72 No limit NaN NaN \n",
588
+ "103 21age old not NaN NaN \n",
589
+ "224 75age old under Both NaN \n",
590
+ "286 No limit Both NaN \n",
591
+ "321 No limit Both NaN \n",
592
+ "370 No limit Both NaN \n",
593
+ "387 75age old under NaN NaN \n",
594
+ "459 No limit NaN NaN \n",
595
+ "473 No limit Both NaN \n",
596
+ "529 No limit Both NaN \n",
597
+ "549 No limit Both NaN \n",
598
+ "563 No limit Both NaN \n",
599
+ "633 No limit Both NaN \n",
600
+ "875 No limit Both NaN \n",
601
+ "\n",
602
+ " Keyword \\\n",
603
+ "72 NaN \n",
604
+ "103 NaN \n",
605
+ "224 glioblastoma, grade3/4 astrocytoma, grade3 oli... \n",
606
+ "286 NaN \n",
607
+ "321 NaN \n",
608
+ "370 NaN \n",
609
+ "387 NaN \n",
610
+ "459 NaN \n",
611
+ "473 NaN \n",
612
+ "529 Glioma \n",
613
+ "549 BRAF fusion gene, BRAF rearrangement, low-grad... \n",
614
+ "563 NaN \n",
615
+ "633 NaN \n",
616
+ "875 NaN \n",
617
+ "\n",
618
+ " Intervention(s) \\\n",
619
+ "72 Participants will be randomized at baseline in... \n",
620
+ "103 Drug: Abemaciclib\\r\\nAdministered orally\\r\\nOt... \n",
621
+ "224 Group A: BPC Therapy\\r\\nDepending on the patie... \n",
622
+ "286 Concomitant administration of ONO-4059 and rit... \n",
623
+ "321 [68Ga]Ga-DOTA-TATE will be administered intrav... \n",
624
+ "370 Confidential information \n",
625
+ "387 Arm A: Six courses of etoposide + carboplatin ... \n",
626
+ "459 Tirabrutinib (480 mg) or placebo taken orally ... \n",
627
+ "473 <cohort1>\\r\\nLomustine 130 mg/m2 orally every ... \n",
628
+ "529 The patient using the product should shave all... \n",
629
+ "549 Binimetinib is administered 45 mg orally, twic... \n",
630
+ "563 Confidential information \n",
631
+ "633 RO7616789: RO7616789 is administered as a intr... \n",
632
+ "875 Patients will receive DSP-0390 orally once dai... \n",
633
+ "\n",
634
+ " TargetWord \n",
635
+ "72 [H3 K27M 変異を有する初発, ん性神経膠腫] \n",
636
+ "103 [悪性神経膠腫] \n",
637
+ "224 [悪性神経膠腫] \n",
638
+ "286 [中枢神経系原発リンパ腫] \n",
639
+ "321 [神経内分泌腫瘍(NEN)] \n",
640
+ "370 [肺外神経内分泌癌(, だしメルケル細胞癌,甲状腺髄様癌, グレード3の神経内分泌腫瘍を除く... \n",
641
+ "387 [消化器(消化管, 肝胆膵)神経内分泌癌] \n",
642
+ "459 [中枢神経系原発悪性リンパ腫] \n",
643
+ "473 [神経膠腫] \n",
644
+ "529 [IDH野生型神経膠腫(グレードⅢ)(退形成性星細胞腫)] \n",
645
+ "549 [低悪性度神経膠腫, 膵癌] \n",
646
+ "563 [DLL3を発現する小細胞肺癌, その他の神経内分泌腫瘍] \n",
647
+ "633 [小細胞肺癌, その他の神経内分泌癌] \n",
648
+ "875 [再発悪性神経膠腫] \n",
649
+ "\n",
650
+ "[14 rows x 39 columns]"
651
+ ]
652
+ },
653
+ "execution_count": 10,
654
+ "metadata": {},
655
+ "output_type": "execute_result"
656
+ }
657
+ ],
658
+ "source": [
659
+ "# ターゲットリスト全体を処理\n",
660
+ "matched_indices = []\n",
661
+ "target_vecs_list = []\n",
662
+ "cosine_scores_list = []\n",
663
+ "for idx, target_words in enumerate(basedf['TargetWord']):\n",
664
+ " # ターゲット内の各単語をベクトル化\n",
665
+ " target_vecs = model.encode(target_words, convert_to_tensor=True)\n",
666
+ " # コサイン類似度を計算\n",
667
+ " cosine_scores = util.cos_sim(query_vec, target_vecs).squeeze()\n",
668
+ " target_vecs_list.append(target_vecs)\n",
669
+ " cosine_scores_list.append(cosine_scores)\n",
670
+ " # 閾値を超えるか確認\n",
671
+ " if (cosine_scores >= threshold).any(): # いずれかが閾値を超えている場合\n",
672
+ " matched_indices.append(idx)\n",
673
+ "\n",
674
+ "# 抽出\n",
675
+ "matched_df = basedf.iloc[matched_indices]\n",
676
+ "matched_df"
677
+ ]
678
+ },
679
+ {
680
+ "cell_type": "code",
681
+ "execution_count": 11,
682
+ "metadata": {},
683
+ "outputs": [],
684
+ "source": [
685
+ "# 全データのターゲット列をベクトル化\n",
686
+ "target_list = basedf['Target'].tolist()\n",
687
+ "target_vecs = model.encode(target_list, convert_to_tensor=True)\n",
688
+ "# コサイン類似度を計算\n",
689
+ "cosine_scores = util.cos_sim(query_vec, target_vecs).squeeze()"
690
+ ]
691
+ },
692
+ {
693
+ "cell_type": "code",
694
+ "execution_count": 13,
695
+ "metadata": {},
696
+ "outputs": [
697
+ {
698
+ "data": {
699
+ "text/html": [
700
+ "<div>\n",
701
+ "<style scoped>\n",
702
+ " .dataframe tbody tr th:only-of-type {\n",
703
+ " vertical-align: middle;\n",
704
+ " }\n",
705
+ "\n",
706
+ " .dataframe tbody tr th {\n",
707
+ " vertical-align: top;\n",
708
+ " }\n",
709
+ "\n",
710
+ " .dataframe thead th {\n",
711
+ " text-align: right;\n",
712
+ " }\n",
713
+ "</style>\n",
714
+ "<table border=\"1\" class=\"dataframe\">\n",
715
+ " <thead>\n",
716
+ " <tr style=\"text-align: right;\">\n",
717
+ " <th></th>\n",
718
+ " <th>JRCT ID</th>\n",
719
+ " <th>NCT No</th>\n",
720
+ " <th>JapicCTI No</th>\n",
721
+ " <th>Title</th>\n",
722
+ " <th>Target</th>\n",
723
+ " <th>研究・治験の目的</th>\n",
724
+ " <th>試験等のフェーズ</th>\n",
725
+ " <th>試験の種類</th>\n",
726
+ " <th>無作為化</th>\n",
727
+ " <th>盲検化</th>\n",
728
+ " <th>...</th>\n",
729
+ " <th>purpose</th>\n",
730
+ " <th>Inclusion Criteria</th>\n",
731
+ " <th>Exclusion Criteria</th>\n",
732
+ " <th>Age Minimum</th>\n",
733
+ " <th>Age Maximum</th>\n",
734
+ " <th>Gender</th>\n",
735
+ " <th>Discontinuation Criteria</th>\n",
736
+ " <th>Keyword</th>\n",
737
+ " <th>Intervention(s)</th>\n",
738
+ " <th>TargetWord</th>\n",
739
+ " </tr>\n",
740
+ " </thead>\n",
741
+ " <tbody>\n",
742
+ " <tr>\n",
743
+ " <th>103</th>\n",
744
+ " <td>jRCT2051240121</td>\n",
745
+ " <td>NCT06413706</td>\n",
746
+ " <td>NaN</td>\n",
747
+ " <td>放射線療法後の悪性神経膠腫の小児および若年成人を対象に、アベマシクリブ+テモゾロミドとテモゾ...</td>\n",
748
+ " <td>悪性神経膠腫</td>\n",
749
+ " <td>放射線療法後の悪性神経膠腫を有する小児および若年成人を対象に、アベマシクリブとテモゾロミドの...</td>\n",
750
+ " <td>2</td>\n",
751
+ " <td>NaN</td>\n",
752
+ " <td>無作為化比較</td>\n",
753
+ " <td>非盲検</td>\n",
754
+ " <td>...</td>\n",
755
+ " <td>treatment purpose</td>\n",
756
+ " <td>Subjects required to meet all the folloiwng cr...</td>\n",
757
+ " <td>Patients who meets any of the following criter...</td>\n",
758
+ " <td>No limit</td>\n",
759
+ " <td>21age old not</td>\n",
760
+ " <td>NaN</td>\n",
761
+ " <td>NaN</td>\n",
762
+ " <td>NaN</td>\n",
763
+ " <td>Drug: Abemaciclib\\r\\nAdministered orally\\r\\nOt...</td>\n",
764
+ " <td>[悪性神経膠腫]</td>\n",
765
+ " </tr>\n",
766
+ " <tr>\n",
767
+ " <th>224</th>\n",
768
+ " <td>jRCT2031240090</td>\n",
769
+ " <td>NaN</td>\n",
770
+ " <td>NaN</td>\n",
771
+ " <td>再発悪性神経膠腫に対する治療用放射性薬剤64Cu-ATSMの有効性を検証するランダム化比較医...</td>\n",
772
+ " <td>悪性神経膠腫</td>\n",
773
+ " <td>再発・難治性悪性神経膠腫を対象として、64Cu-diacetyl-bis(N4-methyl...</td>\n",
774
+ " <td>3</td>\n",
775
+ " <td>NaN</td>\n",
776
+ " <td>無作為化比較</td>\n",
777
+ " <td>非盲検</td>\n",
778
+ " <td>...</td>\n",
779
+ " <td>treatment purpose</td>\n",
780
+ " <td>1) Histologically diagnosed as high grade glio...</td>\n",
781
+ " <td>1) Have a history or merger of other malignanc...</td>\n",
782
+ " <td>18age old over</td>\n",
783
+ " <td>75age old under</td>\n",
784
+ " <td>Both</td>\n",
785
+ " <td>NaN</td>\n",
786
+ " <td>glioblastoma, grade3/4 astrocytoma, grade3 oli...</td>\n",
787
+ " <td>Group A: BPC Therapy\\r\\nDepending on the patie...</td>\n",
788
+ " <td>[悪性神経膠腫]</td>\n",
789
+ " </tr>\n",
790
+ " <tr>\n",
791
+ " <th>286</th>\n",
792
+ " <td>jRCT2071230124</td>\n",
793
+ " <td>NCT06541665</td>\n",
794
+ " <td>NaN</td>\n",
795
+ " <td>ONO-4059-13:未治療の中枢神経系原発リンパ腫(PCNSL)を対象としたONO-40...</td>\n",
796
+ " <td>中枢神経系原発リンパ腫</td>\n",
797
+ " <td>未治療PCNSL患者を対象にONO-4059 とR-MPV 療法を併用投与したときの忍容性及...</td>\n",
798
+ " <td>1</td>\n",
799
+ " <td>NaN</td>\n",
800
+ " <td>単一群</td>\n",
801
+ " <td>非盲検</td>\n",
802
+ " <td>...</td>\n",
803
+ " <td>treatment purpose</td>\n",
804
+ " <td>1. Patients diagnosed with PCNSL\\r\\n2. Patient...</td>\n",
805
+ " <td>1.Patients with intraocular PCNSL without brai...</td>\n",
806
+ " <td>18age old over</td>\n",
807
+ " <td>No limit</td>\n",
808
+ " <td>Both</td>\n",
809
+ " <td>NaN</td>\n",
810
+ " <td>NaN</td>\n",
811
+ " <td>Concomitant administration of ONO-4059 and rit...</td>\n",
812
+ " <td>[中枢神経系原発リンパ腫]</td>\n",
813
+ " </tr>\n",
814
+ " <tr>\n",
815
+ " <th>321</th>\n",
816
+ " <td>jRCT2071230114</td>\n",
817
+ " <td>NCT06240741</td>\n",
818
+ " <td>NaN</td>\n",
819
+ " <td>日本の神経内分泌腫瘍(NEN)患者及び健康成人を対象に[68Ga]Ga-DOTA-TATEを...</td>\n",
820
+ " <td>神経内分泌腫瘍(NEN)</td>\n",
821
+ " <td>神経内分泌腫瘍(NEN)患者及び健康成人(HV)を対象に,[68Ga]Ga-DOTA-TAT...</td>\n",
822
+ " <td>3</td>\n",
823
+ " <td>NaN</td>\n",
824
+ " <td>単一群</td>\n",
825
+ " <td>非盲検</td>\n",
826
+ " <td>...</td>\n",
827
+ " <td>diagnostic purpose</td>\n",
828
+ " <td>1. Signed informed consent must be obtained pr...</td>\n",
829
+ " <td>1. Inability to complete the needed investigat...</td>\n",
830
+ " <td>18age old over</td>\n",
831
+ " <td>No limit</td>\n",
832
+ " <td>Both</td>\n",
833
+ " <td>NaN</td>\n",
834
+ " <td>NaN</td>\n",
835
+ " <td>[68Ga]Ga-DOTA-TATE will be administered intrav...</td>\n",
836
+ " <td>[神経内分泌腫瘍(NEN)]</td>\n",
837
+ " </tr>\n",
838
+ " <tr>\n",
839
+ " <th>370</th>\n",
840
+ " <td>jRCT2031230511</td>\n",
841
+ " <td>NaN</td>\n",
842
+ " <td>NaN</td>\n",
843
+ " <td>DAREON™-7:神経内分泌癌(NEC)患者の1次治療として,BI 764532点滴静注を...</td>\n",
844
+ " <td>肺外神経内分泌癌(ただしメルケル細胞癌,甲状腺髄様癌又はグレード3の神経内分泌腫瘍を除く)\\...</td>\n",
845
+ " <td>パートA:用量漸増の主要目的は,BI 764532の最大耐量(MTD)及び/又は目標用量の拡...</td>\n",
846
+ " <td>1</td>\n",
847
+ " <td>NaN</td>\n",
848
+ " <td>非無作為化比較</td>\n",
849
+ " <td>非盲検</td>\n",
850
+ " <td>...</td>\n",
851
+ " <td>treatment purpose</td>\n",
852
+ " <td>- Male or female participants &gt;=18 years old a...</td>\n",
853
+ " <td>- Previous treatment in this trial\\r\\n- Curren...</td>\n",
854
+ " <td>18age old over</td>\n",
855
+ " <td>No limit</td>\n",
856
+ " <td>Both</td>\n",
857
+ " <td>NaN</td>\n",
858
+ " <td>NaN</td>\n",
859
+ " <td>Confidential information</td>\n",
860
+ " <td>[肺外神経内分泌癌(, だしメルケル細胞癌,甲状腺髄様癌, グレード3の神経内分泌腫瘍を除く...</td>\n",
861
+ " </tr>\n",
862
+ " <tr>\n",
863
+ " <th>387</th>\n",
864
+ " <td>jRCT2031230456</td>\n",
865
+ " <td>NaN</td>\n",
866
+ " <td>NaN</td>\n",
867
+ " <td>JCOG2107E: 切除不能・再発消化器(消化管・肝胆膵)神経内分泌癌(NEC)を対象とし...</td>\n",
868
+ " <td>消化器(消化管・肝胆膵)神経内分泌癌</td>\n",
869
+ " <td>切除不能・再発消化器(消化管・肝胆膵)神経内分泌癌(NEC)において、エトポシド+カルボプラ...</td>\n",
870
+ " <td>3</td>\n",
871
+ " <td>NaN</td>\n",
872
+ " <td>無作為化比較</td>\n",
873
+ " <td>非盲検</td>\n",
874
+ " <td>...</td>\n",
875
+ " <td>treatment purpose</td>\n",
876
+ " <td>1) Histologically confirmed neuroendocrine car...</td>\n",
877
+ " <td>1) Synchronous or metachronous malignancies\\r\\...</td>\n",
878
+ " <td>18age old over</td>\n",
879
+ " <td>75age old under</td>\n",
880
+ " <td>NaN</td>\n",
881
+ " <td>NaN</td>\n",
882
+ " <td>NaN</td>\n",
883
+ " <td>Arm A: Six courses of etoposide + carboplatin ...</td>\n",
884
+ " <td>[消化器(消化管, 肝胆膵)神経内分泌癌]</td>\n",
885
+ " </tr>\n",
886
+ " <tr>\n",
887
+ " <th>459</th>\n",
888
+ " <td>jRCT2031230277</td>\n",
889
+ " <td>NaN</td>\n",
890
+ " <td>NaN</td>\n",
891
+ " <td>メトトレキサート基盤寛解導入療法後奏効例の非照射初発中枢神経系原発悪性リンパ腫に対するチラブ...</td>\n",
892
+ " <td>中枢神経系原発悪性リンパ腫</td>\n",
893
+ " <td>寛解導入療法として大量メトトレキサート(HD-MTX)基盤化学療法実施後に完全奏効(CRまた...</td>\n",
894
+ " <td>2</td>\n",
895
+ " <td>NaN</td>\n",
896
+ " <td>無作為化比較</td>\n",
897
+ " <td>二重盲検</td>\n",
898
+ " <td>...</td>\n",
899
+ " <td>treatment purpose</td>\n",
900
+ " <td>1) Histopathological diagnosis of B cell lymph...</td>\n",
901
+ " <td>1) Synchronous or metachronous malignancies.\\r...</td>\n",
902
+ " <td>18age old over</td>\n",
903
+ " <td>No limit</td>\n",
904
+ " <td>NaN</td>\n",
905
+ " <td>NaN</td>\n",
906
+ " <td>NaN</td>\n",
907
+ " <td>Tirabrutinib (480 mg) or placebo taken orally ...</td>\n",
908
+ " <td>[中枢神経系原発悪性リンパ腫]</td>\n",
909
+ " </tr>\n",
910
+ " <tr>\n",
911
+ " <th>473</th>\n",
912
+ " <td>jRCT2051230069</td>\n",
913
+ " <td>NaN</td>\n",
914
+ " <td>NaN</td>\n",
915
+ " <td>神経膠腫患者に対するロムスチン療法とプロカルバジン、ロムスチン、ビンクリスチン併⽤療法の安全...</td>\n",
916
+ " <td>神経膠腫</td>\n",
917
+ " <td>神経膠腫患者におけるロムスチン療法とプロカルバジン、ロムスチン、ビンクリスチン併⽤療法の安全...</td>\n",
918
+ " <td>1</td>\n",
919
+ " <td>NaN</td>\n",
920
+ " <td>単一群</td>\n",
921
+ " <td>非盲検</td>\n",
922
+ " <td>...</td>\n",
923
+ " <td>treatment purpose</td>\n",
924
+ " <td>&lt;Cohort 1&gt;\\r\\n All of the following items shal...</td>\n",
925
+ " <td>&lt;Common to Cohort 1 and Cohort 2&gt;\\r\\n1) Active...</td>\n",
926
+ " <td>18age old over</td>\n",
927
+ " <td>No limit</td>\n",
928
+ " <td>Both</td>\n",
929
+ " <td>NaN</td>\n",
930
+ " <td>NaN</td>\n",
931
+ " <td>&lt;cohort1&gt;\\r\\nLomustine 130 mg/m2 orally every ...</td>\n",
932
+ " <td>[神経膠腫]</td>\n",
933
+ " </tr>\n",
934
+ " <tr>\n",
935
+ " <th>529</th>\n",
936
+ " <td>jRCT2032230060</td>\n",
937
+ " <td>NaN</td>\n",
938
+ " <td>NaN</td>\n",
939
+ " <td>初発IDH野生型低悪性度神経膠腫に対する交流電場腫瘍治療システムの有効性と安全性を検証する多...</td>\n",
940
+ " <td>IDH野生型神経膠腫(グレードⅢ)(退形成性星細胞腫)</td>\n",
941
+ " <td>初発IDH野生型低悪性度神経膠腫を対象に、放射線化学療法後のテモゾロミド維持療法期における交...</td>\n",
942
+ " <td>2</td>\n",
943
+ " <td>NaN</td>\n",
944
+ " <td>単一群</td>\n",
945
+ " <td>非盲検</td>\n",
946
+ " <td>...</td>\n",
947
+ " <td>treatment purpose</td>\n",
948
+ " <td>At the time of enrollment, patients will be in...</td>\n",
949
+ " <td>Any of the following conditions shall not appl...</td>\n",
950
+ " <td>18age old over</td>\n",
951
+ " <td>No limit</td>\n",
952
+ " <td>Both</td>\n",
953
+ " <td>NaN</td>\n",
954
+ " <td>Glioma</td>\n",
955
+ " <td>The patient using the product should shave all...</td>\n",
956
+ " <td>[IDH野生型神経膠腫(グレードⅢ)(退形成性星細胞腫)]</td>\n",
957
+ " </tr>\n",
958
+ " <tr>\n",
959
+ " <th>549</th>\n",
960
+ " <td>jRCT2031230007</td>\n",
961
+ " <td>NaN</td>\n",
962
+ " <td>NaN</td>\n",
963
+ " <td>BRAF融合遺伝子陽性の進行・再発の低悪性度神経膠腫または膵癌に対するビニメチニブの第Ⅱ相医...</td>\n",
964
+ " <td>低悪性度神経膠腫、膵癌</td>\n",
965
+ " <td>BRAF融合遺伝子または遺伝子再構成陽性の切除不能または再発の低悪性度神経膠腫(コホート A...</td>\n",
966
+ " <td>2</td>\n",
967
+ " <td>NaN</td>\n",
968
+ " <td>単一群</td>\n",
969
+ " <td>非盲検</td>\n",
970
+ " <td>...</td>\n",
971
+ " <td>treatment purpose</td>\n",
972
+ " <td>Inclusion criteria for both cohort A and B\\r\\n...</td>\n",
973
+ " <td>1) Active double primary cancer (but not (1)-(...</td>\n",
974
+ " <td>12age old over</td>\n",
975
+ " <td>No limit</td>\n",
976
+ " <td>Both</td>\n",
977
+ " <td>NaN</td>\n",
978
+ " <td>BRAF fusion gene, BRAF rearrangement, low-grad...</td>\n",
979
+ " <td>Binimetinib is administered 45 mg orally, twic...</td>\n",
980
+ " <td>[低悪性度神経膠腫, 膵癌]</td>\n",
981
+ " </tr>\n",
982
+ " <tr>\n",
983
+ " <th>633</th>\n",
984
+ " <td>jRCT2031220511</td>\n",
985
+ " <td>NCT05619744</td>\n",
986
+ " <td>NaN</td>\n",
987
+ " <td>進行小細胞肺癌及びその他の神経内分泌癌患者を対象としてRO7616789の安全性,忍容性,薬...</td>\n",
988
+ " <td>小細胞肺癌及びその他の神経内分泌癌</td>\n",
989
+ " <td>非盲検多施設共同第Ⅰ相臨床試験</td>\n",
990
+ " <td>1</td>\n",
991
+ " <td>NaN</td>\n",
992
+ " <td>単一群</td>\n",
993
+ " <td>非盲検</td>\n",
994
+ " <td>...</td>\n",
995
+ " <td>treatment purpose</td>\n",
996
+ " <td>-Life expectancy at least 12 weeks\\r\\n-Eastern...</td>\n",
997
+ " <td>-History or clinical evidence of primary centr...</td>\n",
998
+ " <td>18age old over</td>\n",
999
+ " <td>No limit</td>\n",
1000
+ " <td>Both</td>\n",
1001
+ " <td>NaN</td>\n",
1002
+ " <td>NaN</td>\n",
1003
+ " <td>RO7616789: RO7616789 is administered as a intr...</td>\n",
1004
+ " <td>[小細胞肺癌, その他の神経内分泌癌]</td>\n",
1005
+ " </tr>\n",
1006
+ " <tr>\n",
1007
+ " <th>875</th>\n",
1008
+ " <td>jRCT2031210299</td>\n",
1009
+ " <td>NaN</td>\n",
1010
+ " <td>NaN</td>\n",
1011
+ " <td>再発悪性神経膠腫患者を対象としたDSP-0390の第1相試験</td>\n",
1012
+ " <td>再発悪性神経膠腫</td>\n",
1013
+ " <td>再発悪性神経膠腫患者を対象にDSP-0390を経口投与したときの安全性、薬物動態、薬力学及び...</td>\n",
1014
+ " <td>1</td>\n",
1015
+ " <td>NaN</td>\n",
1016
+ " <td>単一群</td>\n",
1017
+ " <td>非盲検</td>\n",
1018
+ " <td>...</td>\n",
1019
+ " <td>treatment purpose</td>\n",
1020
+ " <td>1.\\tEstimated life expectancy &gt;= 3 months\\r\\n2...</td>\n",
1021
+ " <td>1.\\tPrior therapy with bevacizumab or other an...</td>\n",
1022
+ " <td>18age old over</td>\n",
1023
+ " <td>No limit</td>\n",
1024
+ " <td>Both</td>\n",
1025
+ " <td>NaN</td>\n",
1026
+ " <td>NaN</td>\n",
1027
+ " <td>Patients will receive DSP-0390 orally once dai...</td>\n",
1028
+ " <td>[再発悪性神経膠腫]</td>\n",
1029
+ " </tr>\n",
1030
+ " </tbody>\n",
1031
+ "</table>\n",
1032
+ "<p>12 rows × 39 columns</p>\n",
1033
+ "</div>"
1034
+ ],
1035
+ "text/plain": [
1036
+ " JRCT ID NCT No JapicCTI No \\\n",
1037
+ "103 jRCT2051240121 NCT06413706 NaN \n",
1038
+ "224 jRCT2031240090 NaN NaN \n",
1039
+ "286 jRCT2071230124 NCT06541665 NaN \n",
1040
+ "321 jRCT2071230114 NCT06240741 NaN \n",
1041
+ "370 jRCT2031230511 NaN NaN \n",
1042
+ "387 jRCT2031230456 NaN NaN \n",
1043
+ "459 jRCT2031230277 NaN NaN \n",
1044
+ "473 jRCT2051230069 NaN NaN \n",
1045
+ "529 jRCT2032230060 NaN NaN \n",
1046
+ "549 jRCT2031230007 NaN NaN \n",
1047
+ "633 jRCT2031220511 NCT05619744 NaN \n",
1048
+ "875 jRCT2031210299 NaN NaN \n",
1049
+ "\n",
1050
+ " Title \\\n",
1051
+ "103 放射線療法後の悪性神経膠腫の小児および若年成人を対象に、アベマシクリブ+テモゾロミドとテモゾ... \n",
1052
+ "224 再発悪性神経膠腫に対する治療用放射性薬剤64Cu-ATSMの有効性を検証するランダム化比較医... \n",
1053
+ "286 ONO-4059-13:未治療の中枢神経系原発リンパ腫(PCNSL)を対象としたONO-40... \n",
1054
+ "321 日本の神経内分泌腫瘍(NEN)患者及び健康成人を対象に[68Ga]Ga-DOTA-TATEを... \n",
1055
+ "370 DAREON™-7:神経内分泌癌(NEC)患者の1次治療として,BI 764532点滴静注を... \n",
1056
+ "387 JCOG2107E: 切除不能・再発消化器(消化管・肝胆膵)神経内分泌癌(NEC)を対象とし... \n",
1057
+ "459 メトトレキサート基盤寛解導入療法後奏効例の非照射初発中枢神経系原発悪性リンパ腫に対するチラブ... \n",
1058
+ "473 神経膠腫患者に対するロムスチン療法とプロカルバジン、ロムスチン、ビンクリスチン併⽤療法の安全... \n",
1059
+ "529 初発IDH野生型低悪性度神経膠腫に対する交流電場腫瘍治療システムの有効性と安全性を検証する多... \n",
1060
+ "549 BRAF融合遺伝子陽性の進行・再発の低悪性度神経膠腫または膵癌に対するビニメチニブの第Ⅱ相医... \n",
1061
+ "633 進行小細胞肺癌及びその他の神経内分泌癌患者を対象としてRO7616789の安全性,忍容性,薬... \n",
1062
+ "875 再発悪性神経膠腫患者を対象としたDSP-0390の第1相試験 \n",
1063
+ "\n",
1064
+ " Target \\\n",
1065
+ "103 悪性神経膠腫 \n",
1066
+ "224 悪性神経膠腫 \n",
1067
+ "286 中枢神経系原発リンパ腫 \n",
1068
+ "321 神経内分泌腫瘍(NEN) \n",
1069
+ "370 肺外神経内分泌癌(ただしメルケル細胞癌,甲状腺髄様癌又はグレード3の神経内分泌腫瘍を除く)\\... \n",
1070
+ "387 消化器(消化管・肝胆膵)神経内分泌癌 \n",
1071
+ "459 中枢神経系原発悪性リンパ腫 \n",
1072
+ "473 神経膠腫 \n",
1073
+ "529 IDH野生型神経膠腫(グレードⅢ)(退形成性星細胞腫) \n",
1074
+ "549 低悪性度神経膠腫、膵癌 \n",
1075
+ "633 小細胞肺癌及びその他の神経内分泌癌 \n",
1076
+ "875 再発悪性神経膠腫 \n",
1077
+ "\n",
1078
+ " 研究・治験の目的 試験等のフェーズ 試験の種類 \\\n",
1079
+ "103 放射線療法後の悪性神経膠腫を有する小児および若年成人を対象に、アベマシクリブとテモゾロミドの... 2 NaN \n",
1080
+ "224 再発・難治性悪性神経膠腫を対象として、64Cu-diacetyl-bis(N4-methyl... 3 NaN \n",
1081
+ "286 未治療PCNSL患者を対象にONO-4059 とR-MPV 療法を併用投与したときの忍容性及... 1 NaN \n",
1082
+ "321 神経内分泌腫瘍(NEN)患者及び健康成人(HV)を対象に,[68Ga]Ga-DOTA-TAT... 3 NaN \n",
1083
+ "370 パートA:用量漸増の主要目的は,BI 764532の最大耐量(MTD)及び/又は目標用量の拡... 1 NaN \n",
1084
+ "387 切除不能・再発消化器(消化管・肝胆膵)神経内分泌癌(NEC)において、エトポシド+カルボプラ... 3 NaN \n",
1085
+ "459 寛解導入療法として大量メトトレキサート(HD-MTX)基盤化学療法実施後に完全奏効(CRまた... 2 NaN \n",
1086
+ "473 神経膠腫患者におけるロムスチン療法とプロカルバジン、ロムスチン、ビンクリスチン併⽤療法の安全... 1 NaN \n",
1087
+ "529 初発IDH野生型低悪性度神経膠腫を対象に、放射線化学療法後のテモゾロミド維持療法期における交... 2 NaN \n",
1088
+ "549 BRAF融合遺伝子または遺伝子再構成陽性の切除不能または再発の低悪性度神経膠腫(コホート A... 2 NaN \n",
1089
+ "633 非盲検多施設共同第Ⅰ相臨床試験 1 NaN \n",
1090
+ "875 再発悪性神経膠腫患者を対象にDSP-0390を経口投与したときの安全性、薬物動態、薬力学及び... 1 NaN \n",
1091
+ "\n",
1092
+ " 無作為化 盲検化 ... purpose \\\n",
1093
+ "103 無作為化比較 非盲検 ... treatment purpose \n",
1094
+ "224 無作為化比較 非盲検 ... treatment purpose \n",
1095
+ "286 単一群 非盲検 ... treatment purpose \n",
1096
+ "321 単一群 非盲検 ... diagnostic purpose \n",
1097
+ "370 非無作為化比較 非盲検 ... treatment purpose \n",
1098
+ "387 無作為化比較 非盲検 ... treatment purpose \n",
1099
+ "459 無作為化比較 二重盲検 ... treatment purpose \n",
1100
+ "473 単一群 非盲検 ... treatment purpose \n",
1101
+ "529 単一群 非盲検 ... treatment purpose \n",
1102
+ "549 単一群 非盲検 ... treatment purpose \n",
1103
+ "633 単一群 非盲検 ... treatment purpose \n",
1104
+ "875 単一群 非盲検 ... treatment purpose \n",
1105
+ "\n",
1106
+ " Inclusion Criteria \\\n",
1107
+ "103 Subjects required to meet all the folloiwng cr... \n",
1108
+ "224 1) Histologically diagnosed as high grade glio... \n",
1109
+ "286 1. Patients diagnosed with PCNSL\\r\\n2. Patient... \n",
1110
+ "321 1. Signed informed consent must be obtained pr... \n",
1111
+ "370 - Male or female participants >=18 years old a... \n",
1112
+ "387 1) Histologically confirmed neuroendocrine car... \n",
1113
+ "459 1) Histopathological diagnosis of B cell lymph... \n",
1114
+ "473 <Cohort 1>\\r\\n All of the following items shal... \n",
1115
+ "529 At the time of enrollment, patients will be in... \n",
1116
+ "549 Inclusion criteria for both cohort A and B\\r\\n... \n",
1117
+ "633 -Life expectancy at least 12 weeks\\r\\n-Eastern... \n",
1118
+ "875 1.\\tEstimated life expectancy >= 3 months\\r\\n2... \n",
1119
+ "\n",
1120
+ " Exclusion Criteria Age Minimum \\\n",
1121
+ "103 Patients who meets any of the following criter... No limit \n",
1122
+ "224 1) Have a history or merger of other malignanc... 18age old over \n",
1123
+ "286 1.Patients with intraocular PCNSL without brai... 18age old over \n",
1124
+ "321 1. Inability to complete the needed investigat... 18age old over \n",
1125
+ "370 - Previous treatment in this trial\\r\\n- Curren... 18age old over \n",
1126
+ "387 1) Synchronous or metachronous malignancies\\r\\... 18age old over \n",
1127
+ "459 1) Synchronous or metachronous malignancies.\\r... 18age old over \n",
1128
+ "473 <Common to Cohort 1 and Cohort 2>\\r\\n1) Active... 18age old over \n",
1129
+ "529 Any of the following conditions shall not appl... 18age old over \n",
1130
+ "549 1) Active double primary cancer (but not (1)-(... 12age old over \n",
1131
+ "633 -History or clinical evidence of primary centr... 18age old over \n",
1132
+ "875 1.\\tPrior therapy with bevacizumab or other an... 18age old over \n",
1133
+ "\n",
1134
+ " Age Maximum Gender Discontinuation Criteria \\\n",
1135
+ "103 21age old not NaN NaN \n",
1136
+ "224 75age old under Both NaN \n",
1137
+ "286 No limit Both NaN \n",
1138
+ "321 No limit Both NaN \n",
1139
+ "370 No limit Both NaN \n",
1140
+ "387 75age old under NaN NaN \n",
1141
+ "459 No limit NaN NaN \n",
1142
+ "473 No limit Both NaN \n",
1143
+ "529 No limit Both NaN \n",
1144
+ "549 No limit Both NaN \n",
1145
+ "633 No limit Both NaN \n",
1146
+ "875 No limit Both NaN \n",
1147
+ "\n",
1148
+ " Keyword \\\n",
1149
+ "103 NaN \n",
1150
+ "224 glioblastoma, grade3/4 astrocytoma, grade3 oli... \n",
1151
+ "286 NaN \n",
1152
+ "321 NaN \n",
1153
+ "370 NaN \n",
1154
+ "387 NaN \n",
1155
+ "459 NaN \n",
1156
+ "473 NaN \n",
1157
+ "529 Glioma \n",
1158
+ "549 BRAF fusion gene, BRAF rearrangement, low-grad... \n",
1159
+ "633 NaN \n",
1160
+ "875 NaN \n",
1161
+ "\n",
1162
+ " Intervention(s) \\\n",
1163
+ "103 Drug: Abemaciclib\\r\\nAdministered orally\\r\\nOt... \n",
1164
+ "224 Group A: BPC Therapy\\r\\nDepending on the patie... \n",
1165
+ "286 Concomitant administration of ONO-4059 and rit... \n",
1166
+ "321 [68Ga]Ga-DOTA-TATE will be administered intrav... \n",
1167
+ "370 Confidential information \n",
1168
+ "387 Arm A: Six courses of etoposide + carboplatin ... \n",
1169
+ "459 Tirabrutinib (480 mg) or placebo taken orally ... \n",
1170
+ "473 <cohort1>\\r\\nLomustine 130 mg/m2 orally every ... \n",
1171
+ "529 The patient using the product should shave all... \n",
1172
+ "549 Binimetinib is administered 45 mg orally, twic... \n",
1173
+ "633 RO7616789: RO7616789 is administered as a intr... \n",
1174
+ "875 Patients will receive DSP-0390 orally once dai... \n",
1175
+ "\n",
1176
+ " TargetWord \n",
1177
+ "103 [悪性神経膠腫] \n",
1178
+ "224 [悪性神経膠腫] \n",
1179
+ "286 [中枢神経系原発リンパ腫] \n",
1180
+ "321 [神経内分泌腫瘍(NEN)] \n",
1181
+ "370 [肺外神経内分泌癌(, だしメルケル細胞癌,甲状腺髄様癌, グレード3の神経内分泌腫瘍を除く... \n",
1182
+ "387 [消化器(消化管, 肝胆膵)神経内分泌癌] \n",
1183
+ "459 [中枢神経系原発悪性リンパ腫] \n",
1184
+ "473 [神経膠腫] \n",
1185
+ "529 [IDH野生型神経膠腫(グレードⅢ)(退形成性星細胞腫)] \n",
1186
+ "549 [低悪性度神経膠腫, 膵癌] \n",
1187
+ "633 [小細胞肺癌, その他の神経内分泌癌] \n",
1188
+ "875 [再発悪性神経膠腫] \n",
1189
+ "\n",
1190
+ "[12 rows x 39 columns]"
1191
+ ]
1192
+ },
1193
+ "execution_count": 13,
1194
+ "metadata": {},
1195
+ "output_type": "execute_result"
1196
+ }
1197
+ ],
1198
+ "source": [
1199
+ "matched_indices_d = (cosine_scores >= threshold).nonzero().tolist()\n",
1200
+ "# 入れ子リストをフラットなリストに変換\n",
1201
+ "flat_indices_d = [idx[0] for idx in matched_indices_d]\n",
1202
+ "\n",
1203
+ "# 抽出\n",
1204
+ "matched_df_d = basedf.iloc[flat_indices_d]\n",
1205
+ "matched_df_d\n"
1206
+ ]
1207
+ },
1208
+ {
1209
+ "cell_type": "markdown",
1210
+ "metadata": {},
1211
+ "source": []
1212
+ }
1213
+ ],
1214
+ "metadata": {
1215
+ "kernelspec": {
1216
+ "display_name": "gradio",
1217
+ "language": "python",
1218
+ "name": "python3"
1219
+ },
1220
+ "language_info": {
1221
+ "codemirror_mode": {
1222
+ "name": "ipython",
1223
+ "version": 3
1224
+ },
1225
+ "file_extension": ".py",
1226
+ "mimetype": "text/x-python",
1227
+ "name": "python",
1228
+ "nbconvert_exporter": "python",
1229
+ "pygments_lexer": "ipython3",
1230
+ "version": "3.12.3"
1231
+ }
1232
+ },
1233
+ "nbformat": 4,
1234
+ "nbformat_minor": 2
1235
+ }
dev_JRCT_api/vector_search2.ipynb ADDED
@@ -0,0 +1,1907 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": 4,
6
+ "metadata": {},
7
+ "outputs": [],
8
+ "source": [
9
+ "import pandas as pd\n",
10
+ "import torch\n",
11
+ "from transformers import AutoTokenizer, AutoModel\n",
12
+ "import re"
13
+ ]
14
+ },
15
+ {
16
+ "cell_type": "code",
17
+ "execution_count": 2,
18
+ "metadata": {},
19
+ "outputs": [],
20
+ "source": [
21
+ "# Target列を分割する関数\n",
22
+ "def split_target(target):\n",
23
+ " # 指定された区切り文字で分割\n",
24
+ " split_words = re.split(r'[,\\n、・及びおよび又はまたは]+', target)\n",
25
+ " # 空白文字を除外してリストとして返す\n",
26
+ " return [word.strip() for word in split_words if word.strip()]"
27
+ ]
28
+ },
29
+ {
30
+ "cell_type": "code",
31
+ "execution_count": 3,
32
+ "metadata": {},
33
+ "outputs": [],
34
+ "source": [
35
+ "basedf = pd.read_csv('../ClinicalTrialCSV/JRCT20241202Cancer.csv', index_col=0)\n",
36
+ "basedf = basedf.dropna(subset=['試験等のフェーズ'])\n",
37
+ "# Target列を分割してTargetWord列を追加\n",
38
+ "basedf['TargetWord'] = basedf['Target'].apply(split_target)"
39
+ ]
40
+ },
41
+ {
42
+ "cell_type": "code",
43
+ "execution_count": 5,
44
+ "metadata": {},
45
+ "outputs": [
46
+ {
47
+ "data": {
48
+ "application/vnd.jupyter.widget-view+json": {
49
+ "model_id": "9671f824f52348f8a161a130e7437adb",
50
+ "version_major": 2,
51
+ "version_minor": 0
52
+ },
53
+ "text/plain": [
54
+ "tokenizer_config.json: 0%| | 0.00/418 [00:00<?, ?B/s]"
55
+ ]
56
+ },
57
+ "metadata": {},
58
+ "output_type": "display_data"
59
+ },
60
+ {
61
+ "data": {
62
+ "application/vnd.jupyter.widget-view+json": {
63
+ "model_id": "6da34a9d4894446292efdc8b26959431",
64
+ "version_major": 2,
65
+ "version_minor": 0
66
+ },
67
+ "text/plain": [
68
+ "sentencepiece.bpe.model: 0%| | 0.00/5.07M [00:00<?, ?B/s]"
69
+ ]
70
+ },
71
+ "metadata": {},
72
+ "output_type": "display_data"
73
+ },
74
+ {
75
+ "data": {
76
+ "application/vnd.jupyter.widget-view+json": {
77
+ "model_id": "497e9ea0ccdb4efcb40f33fc7f48f7e9",
78
+ "version_major": 2,
79
+ "version_minor": 0
80
+ },
81
+ "text/plain": [
82
+ "tokenizer.json: 0%| | 0.00/17.1M [00:00<?, ?B/s]"
83
+ ]
84
+ },
85
+ "metadata": {},
86
+ "output_type": "display_data"
87
+ },
88
+ {
89
+ "data": {
90
+ "application/vnd.jupyter.widget-view+json": {
91
+ "model_id": "9f5ddefc537d40cfa4c1cc74431c0558",
92
+ "version_major": 2,
93
+ "version_minor": 0
94
+ },
95
+ "text/plain": [
96
+ "special_tokens_map.json: 0%| | 0.00/280 [00:00<?, ?B/s]"
97
+ ]
98
+ },
99
+ "metadata": {},
100
+ "output_type": "display_data"
101
+ },
102
+ {
103
+ "data": {
104
+ "application/vnd.jupyter.widget-view+json": {
105
+ "model_id": "fe3dcf900fe5496eb5fb5773535e122c",
106
+ "version_major": 2,
107
+ "version_minor": 0
108
+ },
109
+ "text/plain": [
110
+ "config.json: 0%| | 0.00/690 [00:00<?, ?B/s]"
111
+ ]
112
+ },
113
+ "metadata": {},
114
+ "output_type": "display_data"
115
+ },
116
+ {
117
+ "data": {
118
+ "application/vnd.jupyter.widget-view+json": {
119
+ "model_id": "046a5fa146b943c7914a9d9be475fe9b",
120
+ "version_major": 2,
121
+ "version_minor": 0
122
+ },
123
+ "text/plain": [
124
+ "model.safetensors: 0%| | 0.00/2.24G [00:00<?, ?B/s]"
125
+ ]
126
+ },
127
+ "metadata": {},
128
+ "output_type": "display_data"
129
+ }
130
+ ],
131
+ "source": [
132
+ "# モデルとトークナイザーのロード\n",
133
+ "model_name = \"intfloat/multilingual-e5-large\"\n",
134
+ "tokenizer = AutoTokenizer.from_pretrained(model_name)\n",
135
+ "model = AutoModel.from_pretrained(model_name)"
136
+ ]
137
+ },
138
+ {
139
+ "cell_type": "code",
140
+ "execution_count": 6,
141
+ "metadata": {},
142
+ "outputs": [],
143
+ "source": [
144
+ "# テキストをベクトル化する関数\n",
145
+ "def encode_text(texts):\n",
146
+ " inputs = tokenizer(texts, padding=True, truncation=True, return_tensors=\"pt\")\n",
147
+ " with torch.no_grad():\n",
148
+ " outputs = model(**inputs)\n",
149
+ " return outputs.last_hidden_state.mean(dim=1) # 平均プーリングでベクトル化"
150
+ ]
151
+ },
152
+ {
153
+ "cell_type": "code",
154
+ "execution_count": 66,
155
+ "metadata": {},
156
+ "outputs": [],
157
+ "source": [
158
+ "# クエリ\n",
159
+ "query = \"乳がん\"\n",
160
+ "#query = \"神経膠腫\"\n",
161
+ "threshold = 0.91\n",
162
+ "#threshold = 0.875\n",
163
+ "# クエリをベクトル化\n",
164
+ "query_vec = encode_text([query])"
165
+ ]
166
+ },
167
+ {
168
+ "cell_type": "code",
169
+ "execution_count": 67,
170
+ "metadata": {},
171
+ "outputs": [
172
+ {
173
+ "data": {
174
+ "text/plain": [
175
+ "torch.Size([1, 1024])"
176
+ ]
177
+ },
178
+ "execution_count": 67,
179
+ "metadata": {},
180
+ "output_type": "execute_result"
181
+ }
182
+ ],
183
+ "source": [
184
+ "query_vec.shape"
185
+ ]
186
+ },
187
+ {
188
+ "cell_type": "code",
189
+ "execution_count": 68,
190
+ "metadata": {},
191
+ "outputs": [
192
+ {
193
+ "data": {
194
+ "text/html": [
195
+ "<div>\n",
196
+ "<style scoped>\n",
197
+ " .dataframe tbody tr th:only-of-type {\n",
198
+ " vertical-align: middle;\n",
199
+ " }\n",
200
+ "\n",
201
+ " .dataframe tbody tr th {\n",
202
+ " vertical-align: top;\n",
203
+ " }\n",
204
+ "\n",
205
+ " .dataframe thead th {\n",
206
+ " text-align: right;\n",
207
+ " }\n",
208
+ "</style>\n",
209
+ "<table border=\"1\" class=\"dataframe\">\n",
210
+ " <thead>\n",
211
+ " <tr style=\"text-align: right;\">\n",
212
+ " <th></th>\n",
213
+ " <th>JRCT ID</th>\n",
214
+ " <th>NCT No</th>\n",
215
+ " <th>JapicCTI No</th>\n",
216
+ " <th>Title</th>\n",
217
+ " <th>Target</th>\n",
218
+ " <th>研究・治験の目的</th>\n",
219
+ " <th>試験等のフェーズ</th>\n",
220
+ " <th>試験の種類</th>\n",
221
+ " <th>無作為化</th>\n",
222
+ " <th>盲検化</th>\n",
223
+ " <th>...</th>\n",
224
+ " <th>purpose</th>\n",
225
+ " <th>Inclusion Criteria</th>\n",
226
+ " <th>Exclusion Criteria</th>\n",
227
+ " <th>Age Minimum</th>\n",
228
+ " <th>Age Maximum</th>\n",
229
+ " <th>Gender</th>\n",
230
+ " <th>Discontinuation Criteria</th>\n",
231
+ " <th>Keyword</th>\n",
232
+ " <th>Intervention(s)</th>\n",
233
+ " <th>TargetWord</th>\n",
234
+ " </tr>\n",
235
+ " </thead>\n",
236
+ " <tbody>\n",
237
+ " <tr>\n",
238
+ " <th>12</th>\n",
239
+ " <td>jRCT2041240130</td>\n",
240
+ " <td>NaN</td>\n",
241
+ " <td>NaN</td>\n",
242
+ " <td>中等度-高度PONV発症リスクを有する肺切除術予定患者の周術期管理におけるGranisetr...</td>\n",
243
+ " <td>肺がん</td>\n",
244
+ " <td>全身麻酔を要する肺切除術周術期における標準制吐療法であるグラニセトロン(Granisetro...</td>\n",
245
+ " <td>2</td>\n",
246
+ " <td>NaN</td>\n",
247
+ " <td>無作為化比較</td>\n",
248
+ " <td>非盲検</td>\n",
249
+ " <td>...</td>\n",
250
+ " <td>treatment purpose</td>\n",
251
+ " <td>(1) Patients scheduled to undergo anatomical l...</td>\n",
252
+ " <td>(1) Patients with a history of allergy to the ...</td>\n",
253
+ " <td>18age old over</td>\n",
254
+ " <td>No limit</td>\n",
255
+ " <td>Both</td>\n",
256
+ " <td>NaN</td>\n",
257
+ " <td>NaN</td>\n",
258
+ " <td>Treatment group\\r\\nAdminister GRA 1mg intraven...</td>\n",
259
+ " <td>[肺がん]</td>\n",
260
+ " </tr>\n",
261
+ " <tr>\n",
262
+ " <th>59</th>\n",
263
+ " <td>jRCT2031240404</td>\n",
264
+ " <td>NaN</td>\n",
265
+ " <td>NaN</td>\n",
266
+ " <td>転移性HR+/HER2-乳がん及びその他の進行性固形がん患者を対象にCDK4阻害剤BGB-4...</td>\n",
267
+ " <td>・進行性固形腫瘍・進行性乳がん・転移性乳がん・ホルモン受容体陽性乳がん・ホルモン受容体陽性乳...</td>\n",
268
+ " <td>サイクリン依存性キナーゼ 4 (CDK4) 阻害剤である BGB-43395 が、ホルモン受...</td>\n",
269
+ " <td>1</td>\n",
270
+ " <td>NaN</td>\n",
271
+ " <td>非無作為化比較</td>\n",
272
+ " <td>非盲検</td>\n",
273
+ " <td>...</td>\n",
274
+ " <td>treatment purpose</td>\n",
275
+ " <td>-Phase 1a (Dose Escalation) and 1b (Dose Expan...</td>\n",
276
+ " <td>-Prior therapy selectively targeting CDK4 (pri...</td>\n",
277
+ " <td>18age old over</td>\n",
278
+ " <td>No limit</td>\n",
279
+ " <td>Both</td>\n",
280
+ " <td>NaN</td>\n",
281
+ " <td>NaN</td>\n",
282
+ " <td>-Drug: BGB-43395\\r\\nPlanned doses administered...</td>\n",
283
+ " <td>[進行性固形腫瘍, 進行性乳がん, 転移性乳がん, ホルモン受容体陽性乳がん, ホルモン受容...</td>\n",
284
+ " </tr>\n",
285
+ " <tr>\n",
286
+ " <th>201</th>\n",
287
+ " <td>jRCT2052240059</td>\n",
288
+ " <td>NaN</td>\n",
289
+ " <td>NaN</td>\n",
290
+ " <td>遺伝子HSD17B4高メチル化を有するHER2陽性ER陰性乳癌における非手術療法の有用性を評...</td>\n",
291
+ " <td>乳がん</td>\n",
292
+ " <td>HSD17B4高メチル化(HSD17B4 hypermethylation:HH)を有するH...</td>\n",
293
+ " <td>2</td>\n",
294
+ " <td>NaN</td>\n",
295
+ " <td>単一群</td>\n",
296
+ " <td>非盲検</td>\n",
297
+ " <td>...</td>\n",
298
+ " <td>diagnostic purpose</td>\n",
299
+ " <td>1. Histologically confirmed invasive breast ca...</td>\n",
300
+ " <td>1. History of other malignancy within the last...</td>\n",
301
+ " <td>20age old over</td>\n",
302
+ " <td>No limit</td>\n",
303
+ " <td>Female</td>\n",
304
+ " <td>NaN</td>\n",
305
+ " <td>NaN</td>\n",
306
+ " <td>Omitting breast surgery after preoperative che...</td>\n",
307
+ " <td>[乳がん]</td>\n",
308
+ " </tr>\n",
309
+ " <tr>\n",
310
+ " <th>234</th>\n",
311
+ " <td>jRCT2031240065</td>\n",
312
+ " <td>NaN</td>\n",
313
+ " <td>NaN</td>\n",
314
+ " <td>DNAミスマッチ修復機構欠損を有する進行性・転移性子宮体がん患者を対象に、一次治療として化学...</td>\n",
315
+ " <td>子宮体がん</td>\n",
316
+ " <td>dMMR/MSI-Hを有する再発又は進行子宮体癌患者を対象にdostarlimabの有効性及...</td>\n",
317
+ " <td>3</td>\n",
318
+ " <td>NaN</td>\n",
319
+ " <td>無作為化比較</td>\n",
320
+ " <td>非盲検</td>\n",
321
+ " <td>...</td>\n",
322
+ " <td>treatment purpose</td>\n",
323
+ " <td>1. Female patient is at least 18 years of age,...</td>\n",
324
+ " <td>1. Patient has received neoadjuvant/adjuvant s...</td>\n",
325
+ " <td>18age old over</td>\n",
326
+ " <td>No limit</td>\n",
327
+ " <td>Female</td>\n",
328
+ " <td>NaN</td>\n",
329
+ " <td>NaN</td>\n",
330
+ " <td>Patients will be randomized 1:1 to receive eit...</td>\n",
331
+ " <td>[子宮体がん]</td>\n",
332
+ " </tr>\n",
333
+ " <tr>\n",
334
+ " <th>257</th>\n",
335
+ " <td>jRCT2033240023</td>\n",
336
+ " <td>NaN</td>\n",
337
+ " <td>NaN</td>\n",
338
+ " <td>免疫チェックポイント阻害剤に対してacquired resistanceとなったがん患者を対...</td>\n",
339
+ " <td>肺がん、食道がん、胃癌等の固形がん</td>\n",
340
+ " <td>免疫チェックポイント阻害剤に対してacquired resistanceとなったがん患者(非...</td>\n",
341
+ " <td>1-2</td>\n",
342
+ " <td>NaN</td>\n",
343
+ " <td>単一群</td>\n",
344
+ " <td>非盲検</td>\n",
345
+ " <td>...</td>\n",
346
+ " <td>treatment purpose</td>\n",
347
+ " <td>1. Japanese patients aged 20 years or older at...</td>\n",
348
+ " <td>1. Patients with a history of severe drug hype...</td>\n",
349
+ " <td>20age old over</td>\n",
350
+ " <td>No limit</td>\n",
351
+ " <td>Both</td>\n",
352
+ " <td>NaN</td>\n",
353
+ " <td>NaN</td>\n",
354
+ " <td>Intramuscular injection of the investigational...</td>\n",
355
+ " <td>[肺がん, 食道がん, 胃癌等の固形がん]</td>\n",
356
+ " </tr>\n",
357
+ " <tr>\n",
358
+ " <th>271</th>\n",
359
+ " <td>jRCT2031230750</td>\n",
360
+ " <td>NCT06188559</td>\n",
361
+ " <td>NaN</td>\n",
362
+ " <td>治療歴のある HER2 陽性又は HER2 低発現の切除不能又は転移性乳癌の被験者を対象に,...</td>\n",
363
+ " <td>HER2 陽性又は HER2 低発現の切除不能又は転移性乳癌</td>\n",
364
+ " <td>治療</td>\n",
365
+ " <td>2</td>\n",
366
+ " <td>NaN</td>\n",
367
+ " <td>無作為化比較</td>\n",
368
+ " <td>非盲検</td>\n",
369
+ " <td>...</td>\n",
370
+ " <td>treatment purpose</td>\n",
371
+ " <td>(1) Male or female, aged &gt;=18 years at the tim...</td>\n",
372
+ " <td>(1) Presence of brain or subdural metastases, ...</td>\n",
373
+ " <td>18age old over</td>\n",
374
+ " <td>No limit</td>\n",
375
+ " <td>Both</td>\n",
376
+ " <td>NaN</td>\n",
377
+ " <td>NaN</td>\n",
378
+ " <td>Generic Name:NA\\r\\nStudy Treatment in dose opt...</td>\n",
379
+ " <td>[HER2 陽性, HER2 低発現の切除不能, 転移性乳癌]</td>\n",
380
+ " </tr>\n",
381
+ " <tr>\n",
382
+ " <th>279</th>\n",
383
+ " <td>jRCT2031230723</td>\n",
384
+ " <td>NCT06112379</td>\n",
385
+ " <td>NaN</td>\n",
386
+ " <td>未治療のトリプルネガティブ又はホルモン受容体低発現/HER2陰性乳癌の成人患者を対象として、...</td>\n",
387
+ " <td>乳癌</td>\n",
388
+ " <td>未治療のトリプルネガティブ又はホルモン受容体低発現/HER2陰性乳癌の成人患者を対象として、...</td>\n",
389
+ " <td>3</td>\n",
390
+ " <td>NaN</td>\n",
391
+ " <td>無作為化比較</td>\n",
392
+ " <td>非盲検</td>\n",
393
+ " <td>...</td>\n",
394
+ " <td>treatment purpose</td>\n",
395
+ " <td>1. Participant must be &gt;= 18 years at the time...</td>\n",
396
+ " <td>1. As judged by the investigator, any evidence...</td>\n",
397
+ " <td>18age old over</td>\n",
398
+ " <td>No limit</td>\n",
399
+ " <td>Both</td>\n",
400
+ " <td>NaN</td>\n",
401
+ " <td>NaN</td>\n",
402
+ " <td>- Experimental arm: Dato-DXd plus durvalumab n...</td>\n",
403
+ " <td>[乳癌]</td>\n",
404
+ " </tr>\n",
405
+ " <tr>\n",
406
+ " <th>311</th>\n",
407
+ " <td>jRCT2061230102</td>\n",
408
+ " <td>NCT06103864</td>\n",
409
+ " <td>NaN</td>\n",
410
+ " <td>Programmed death-ligand(PD-L1)陽性の局所再発手術不能又は転移性...</td>\n",
411
+ " <td>乳癌</td>\n",
412
+ " <td>PD-L1陽性の局所再発手術不能または転移性TNBC患者を対象に、デュルバルマブ併用または非...</td>\n",
413
+ " <td>3</td>\n",
414
+ " <td>NaN</td>\n",
415
+ " <td>無作為化比較</td>\n",
416
+ " <td>非盲検</td>\n",
417
+ " <td>...</td>\n",
418
+ " <td>treatment purpose</td>\n",
419
+ " <td>Histologically or cytologically documented loc...</td>\n",
420
+ " <td>As judged by investigator, severe or uncontrol...</td>\n",
421
+ " <td>18age old over</td>\n",
422
+ " <td>No limit</td>\n",
423
+ " <td>Both</td>\n",
424
+ " <td>NaN</td>\n",
425
+ " <td>NaN</td>\n",
426
+ " <td>Arm 1: Dato-DXd + durvalumab\\r\\nArm 2: Investi...</td>\n",
427
+ " <td>[乳癌]</td>\n",
428
+ " </tr>\n",
429
+ " <tr>\n",
430
+ " <th>396</th>\n",
431
+ " <td>jRCT2061230074</td>\n",
432
+ " <td>NCT05952557</td>\n",
433
+ " <td>NaN</td>\n",
434
+ " <td>根治的局所治療(化学療法の併用または非併用)を受けて疾患の兆候のない、再発リスクが中間~高リ...</td>\n",
435
+ " <td>乳がん、早期乳がん</td>\n",
436
+ " <td>Treatment</td>\n",
437
+ " <td>3</td>\n",
438
+ " <td>NaN</td>\n",
439
+ " <td>無作為化比較</td>\n",
440
+ " <td>非盲検</td>\n",
441
+ " <td>...</td>\n",
442
+ " <td>treatment purpose</td>\n",
443
+ " <td>- Women and Men; 18 years or more at the time ...</td>\n",
444
+ " <td>- Inoperable locally advanced or metastatic br...</td>\n",
445
+ " <td>18age old over</td>\n",
446
+ " <td>No limit</td>\n",
447
+ " <td>NaN</td>\n",
448
+ " <td>NaN</td>\n",
449
+ " <td>NaN</td>\n",
450
+ " <td>arm A: continue with SoC ET as directed by inv...</td>\n",
451
+ " <td>[乳がん, 早期乳がん]</td>\n",
452
+ " </tr>\n",
453
+ " <tr>\n",
454
+ " <th>467</th>\n",
455
+ " <td>jRCT2031230249</td>\n",
456
+ " <td>NCT05753501</td>\n",
457
+ " <td>NaN</td>\n",
458
+ " <td>[M23-647]B細胞性悪性腫瘍患者を対象としたBTK 分解誘導化合物ABBV-101 の...</td>\n",
459
+ " <td>血液がん</td>\n",
460
+ " <td>・ABBV-101 の安全性を明らかにし,忍容性を確認する\\r\\n・ABBV-101 の経口...</td>\n",
461
+ " <td>1</td>\n",
462
+ " <td>NaN</td>\n",
463
+ " <td>単一群</td>\n",
464
+ " <td>非盲検</td>\n",
465
+ " <td>...</td>\n",
466
+ " <td>treatment purpose</td>\n",
467
+ " <td>-For Dose Escalation (Part 1) only: Participan...</td>\n",
468
+ " <td>-Previously treated with a Bruton's tyrosine k...</td>\n",
469
+ " <td>18age old over</td>\n",
470
+ " <td>No limit</td>\n",
471
+ " <td>Both</td>\n",
472
+ " <td>NaN</td>\n",
473
+ " <td>NaN</td>\n",
474
+ " <td>Drug: ABBV-101\\r\\nOral: Tablet</td>\n",
475
+ " <td>[血液がん]</td>\n",
476
+ " </tr>\n",
477
+ " <tr>\n",
478
+ " <th>509</th>\n",
479
+ " <td>jRCT2031230109</td>\n",
480
+ " <td>NCT05514054</td>\n",
481
+ " <td>NaN</td>\n",
482
+ " <td>EMBER-4:2~5年間の術後内分泌療法による前治療歴を有する再発高リスクのER+、HER...</td>\n",
483
+ " <td>乳癌</td>\n",
484
+ " <td>早期乳癌患者を対象としたimlunestrantと標準的な内分泌療法の比較試験</td>\n",
485
+ " <td>3</td>\n",
486
+ " <td>NaN</td>\n",
487
+ " <td>無作為化比較</td>\n",
488
+ " <td>非盲検</td>\n",
489
+ " <td>...</td>\n",
490
+ " <td>treatment purpose</td>\n",
491
+ " <td>-Have a diagnosis of ER+, HER2- early-stage, r...</td>\n",
492
+ " <td>-Have any evidence of metastatic disease (incl...</td>\n",
493
+ " <td>18age old over</td>\n",
494
+ " <td>No limit</td>\n",
495
+ " <td>Both</td>\n",
496
+ " <td>NaN</td>\n",
497
+ " <td>NaN</td>\n",
498
+ " <td>-Drug: Imlunestrant\\r\\n Administered orally.\\...</td>\n",
499
+ " <td>[乳癌]</td>\n",
500
+ " </tr>\n",
501
+ " <tr>\n",
502
+ " <th>514</th>\n",
503
+ " <td>jRCT2031230090</td>\n",
504
+ " <td>NaN</td>\n",
505
+ " <td>NaN</td>\n",
506
+ " <td>MELK阻害剤OTS167POにおける転移性・進行性乳がん患者を対象とした安全性、忍容性およ...</td>\n",
507
+ " <td>再発・難治性の局所進行性・転移性乳がん及びトリプルネガティブ乳がん</td>\n",
508
+ " <td>再発・難治性の局所進行性または転移性乳がん患者に対して、OTS167を経口カプセルで投与する...</td>\n",
509
+ " <td>1</td>\n",
510
+ " <td>NaN</td>\n",
511
+ " <td>単一群</td>\n",
512
+ " <td>非盲検</td>\n",
513
+ " <td>...</td>\n",
514
+ " <td>treatment purpose</td>\n",
515
+ " <td>Dose Escalation and Dose Expansion Cohorts\\r\\n...</td>\n",
516
+ " <td>Dose Escalation and Expansion Cohorts\\r\\n1.\\tW...</td>\n",
517
+ " <td>18age old over</td>\n",
518
+ " <td>No limit</td>\n",
519
+ " <td>Female</td>\n",
520
+ " <td>NaN</td>\n",
521
+ " <td>NaN</td>\n",
522
+ " <td>This is a Phase I dose escalation/expansion mu...</td>\n",
523
+ " <td>[再発, 難治性の局所進行性, 転移性乳がん, トリプルネガティブ乳がん]</td>\n",
524
+ " </tr>\n",
525
+ " <tr>\n",
526
+ " <th>515</th>\n",
527
+ " <td>jRCT2031230096</td>\n",
528
+ " <td>NCT05774951</td>\n",
529
+ " <td>NaN</td>\n",
530
+ " <td>根治的局所領域療法(化学療法の併用または非併用)および標準補助内分泌療法(ET)を少なくとも...</td>\n",
531
+ " <td>乳がん、早期乳がん</td>\n",
532
+ " <td>Treatment</td>\n",
533
+ " <td>3</td>\n",
534
+ " <td>NaN</td>\n",
535
+ " <td>無作為化比較</td>\n",
536
+ " <td>非盲検</td>\n",
537
+ " <td>...</td>\n",
538
+ " <td>treatment purpose</td>\n",
539
+ " <td>- Women and Men, greater than or equal to 18 y...</td>\n",
540
+ " <td>- Inoperable locally advanced or metastatic br...</td>\n",
541
+ " <td>18age old over</td>\n",
542
+ " <td>No limit</td>\n",
543
+ " <td>Both</td>\n",
544
+ " <td>NaN</td>\n",
545
+ " <td>NaN</td>\n",
546
+ " <td>arm A: continue with SoC ET as directed by inv...</td>\n",
547
+ " <td>[乳がん, 早期乳がん]</td>\n",
548
+ " </tr>\n",
549
+ " <tr>\n",
550
+ " <th>582</th>\n",
551
+ " <td>jRCT2051220176</td>\n",
552
+ " <td>NaN</td>\n",
553
+ " <td>NaN</td>\n",
554
+ " <td>切除不能進行再発食道がん及び胃がんに対する免疫チェックポイント阻害剤(ICI)と光線力学的療...</td>\n",
555
+ " <td>食道がん、胃がん</td>\n",
556
+ " <td>一次治療として免疫チェックポイント阻害剤(ICI)を含む標準治療を予定される進行・再発食道が...</td>\n",
557
+ " <td>2</td>\n",
558
+ " <td>NaN</td>\n",
559
+ " <td>単一群</td>\n",
560
+ " <td>非盲検</td>\n",
561
+ " <td>...</td>\n",
562
+ " <td>treatment purpose</td>\n",
563
+ " <td>The patient with unresectable or recurrent eso...</td>\n",
564
+ " <td>Has been diagnosed with HER2-positive gastric ...</td>\n",
565
+ " <td>18age old over</td>\n",
566
+ " <td>No limit</td>\n",
567
+ " <td>Both</td>\n",
568
+ " <td>NaN</td>\n",
569
+ " <td>Esophageal cancer, Gastric cancer</td>\n",
570
+ " <td>Cohort A: Nivolumab(240mg, every 2 weeks or 36...</td>\n",
571
+ " <td>[食道がん, 胃がん]</td>\n",
572
+ " </tr>\n",
573
+ " <tr>\n",
574
+ " <th>610</th>\n",
575
+ " <td>jRCT2061220087</td>\n",
576
+ " <td>NCT05629585</td>\n",
577
+ " <td>NaN</td>\n",
578
+ " <td>術前薬物療法後の外科的切除時に乳房及び/又は腋窩リンパ節に浸潤性残存病変を有するステージI~...</td>\n",
579
+ " <td>乳癌</td>\n",
580
+ " <td>術前薬物療法後の外科的切除時に乳房および/または腋窩リンパ節に浸潤性残存病変を有するI~II...</td>\n",
581
+ " <td>3</td>\n",
582
+ " <td>NaN</td>\n",
583
+ " <td>無作為化比較</td>\n",
584
+ " <td>非盲検</td>\n",
585
+ " <td>...</td>\n",
586
+ " <td>treatment purpose</td>\n",
587
+ " <td>Participant must be &gt;= 18 years at the time of...</td>\n",
588
+ " <td>Stage IV (metastatic) TNBC.\\r\\nHistory of prio...</td>\n",
589
+ " <td>18age old over</td>\n",
590
+ " <td>130age old under</td>\n",
591
+ " <td>Both</td>\n",
592
+ " <td>NaN</td>\n",
593
+ " <td>NaN</td>\n",
594
+ " <td>Arm 1: Dato-DXd 6 mg/kg IV Q3W x 8 cycles + Du...</td>\n",
595
+ " <td>[乳癌]</td>\n",
596
+ " </tr>\n",
597
+ " <tr>\n",
598
+ " <th>693</th>\n",
599
+ " <td>jRCT2031220276</td>\n",
600
+ " <td>NCT05307705</td>\n",
601
+ " <td>NaN</td>\n",
602
+ " <td>PIK3CA H1047R変異を有する進行乳がん患者及びその他の固形がん患者を対象としたLO...</td>\n",
603
+ " <td>乳がん</td>\n",
604
+ " <td>LOXO-783 の単独投与及び他の抗がん剤との併用投与における 第 2 相試験の推奨用量、...</td>\n",
605
+ " <td>1</td>\n",
606
+ " <td>NaN</td>\n",
607
+ " <td>単一群</td>\n",
608
+ " <td>非盲検</td>\n",
609
+ " <td>...</td>\n",
610
+ " <td>treatment purpose</td>\n",
611
+ " <td>-Have advanced breast cancer or another solid ...</td>\n",
612
+ " <td>-Medical Conditions\\r\\n -Colorectal cancer\\r\\n...</td>\n",
613
+ " <td>18age old over</td>\n",
614
+ " <td>No limit</td>\n",
615
+ " <td>Both</td>\n",
616
+ " <td>NaN</td>\n",
617
+ " <td>NaN</td>\n",
618
+ " <td>-Drug: LOXO-783\\r\\n Oral\\r\\n Other Name: LY384...</td>\n",
619
+ " <td>[乳がん]</td>\n",
620
+ " </tr>\n",
621
+ " <tr>\n",
622
+ " <th>708</th>\n",
623
+ " <td>jRCT2031220203</td>\n",
624
+ " <td>NaN</td>\n",
625
+ " <td>NaN</td>\n",
626
+ " <td>初回腫瘍減量手術肉眼的完全切除後の進行卵巣癌を対象にパクリタキセル、カルボプラチン投与後のニ...</td>\n",
627
+ " <td>卵巣がん</td>\n",
628
+ " <td>診断時にステージIIIA/B/Cの高悪性度上皮性卵巣癌で、PDS後に残存病変を認めない患者を...</td>\n",
629
+ " <td>2</td>\n",
630
+ " <td>NaN</td>\n",
631
+ " <td>無作為化比較</td>\n",
632
+ " <td>非盲検</td>\n",
633
+ " <td>...</td>\n",
634
+ " <td>treatment purpose</td>\n",
635
+ " <td>1. Female patient &gt;= 18 years of age.\\r\\n2. Si...</td>\n",
636
+ " <td>1. Patient with clear cell adenocarcinoma or c...</td>\n",
637
+ " <td>18age old over</td>\n",
638
+ " <td>No limit</td>\n",
639
+ " <td>Female</td>\n",
640
+ " <td>NaN</td>\n",
641
+ " <td>NaN</td>\n",
642
+ " <td>Patients will be included after surgery and wi...</td>\n",
643
+ " <td>[卵巣がん]</td>\n",
644
+ " </tr>\n",
645
+ " <tr>\n",
646
+ " <th>753</th>\n",
647
+ " <td>jRCT2031220034</td>\n",
648
+ " <td>NCT04862663</td>\n",
649
+ " <td>NaN</td>\n",
650
+ " <td>局所進行(切除不能)又は転移性のホルモン受容体陽性/ヒト上皮細胞成長因子受容体2 陰性乳癌を...</td>\n",
651
+ " <td>局所進行(切除不能)又は転移性乳癌</td>\n",
652
+ " <td>Treatment</td>\n",
653
+ " <td>3</td>\n",
654
+ " <td>NaN</td>\n",
655
+ " <td>無作為化比較</td>\n",
656
+ " <td>二重盲検</td>\n",
657
+ " <td>...</td>\n",
658
+ " <td>treatment purpose</td>\n",
659
+ " <td>Key inclusion criteria for both phases:\\n\\r\\n1...</td>\n",
660
+ " <td>Key exclusion criteria for both phases:\\r\\n1. ...</td>\n",
661
+ " <td>18age old over</td>\n",
662
+ " <td>99age old under</td>\n",
663
+ " <td>Both</td>\n",
664
+ " <td>NaN</td>\n",
665
+ " <td>NaN</td>\n",
666
+ " <td>Capivasertib: PO BD 4 days on /3 days off per ...</td>\n",
667
+ " <td>[局所進行(切除不能), 転移性乳癌]</td>\n",
668
+ " </tr>\n",
669
+ " <tr>\n",
670
+ " <th>802</th>\n",
671
+ " <td>jRCT2031210585</td>\n",
672
+ " <td>NCT05123482</td>\n",
673
+ " <td>NaN</td>\n",
674
+ " <td>進行又は転移性固形がん患者を対象としたAZD8205の単独療法及び他の抗がん剤との併用療法に...</td>\n",
675
+ " <td>乳癌、胆道癌、卵巣癌、子宮内膜癌</td>\n",
676
+ " <td>進行又は転移性固形がんに対する治療法候補としての新規化合物AZD8205の研究</td>\n",
677
+ " <td>1-2</td>\n",
678
+ " <td>NaN</td>\n",
679
+ " <td>単一群</td>\n",
680
+ " <td>非盲検</td>\n",
681
+ " <td>...</td>\n",
682
+ " <td>treatment purpose</td>\n",
683
+ " <td>- Age18 years or more\\n\\r\\n- Relapsed/metastat...</td>\n",
684
+ " <td>- Treatment with any of the following:\\n\\r\\n1....</td>\n",
685
+ " <td>18age old over</td>\n",
686
+ " <td>No limit</td>\n",
687
+ " <td>Both</td>\n",
688
+ " <td>NaN</td>\n",
689
+ " <td>NaN</td>\n",
690
+ " <td>Sub-study1\\r\\nAZD8205 Monotherapy\\r\\nAZD8205 i...</td>\n",
691
+ " <td>[乳癌, 胆道癌, 卵巣癌, 子宮内膜癌]</td>\n",
692
+ " </tr>\n",
693
+ " <tr>\n",
694
+ " <th>865</th>\n",
695
+ " <td>jRCT2052210099</td>\n",
696
+ " <td>NaN</td>\n",
697
+ " <td>NaN</td>\n",
698
+ " <td>乳がんを有する成人女性及び健康成人女性を対象とした乳房用マイクロ波画像診断装置IGS-000...</td>\n",
699
+ " <td>乳がん</td>\n",
700
+ " <td>本治験の目的は,乳がん又はその疑いのある者,並びに乳がん又はその疑いがない者を対象に乳房画像...</td>\n",
701
+ " <td>2</td>\n",
702
+ " <td>NaN</td>\n",
703
+ " <td>単一群</td>\n",
704
+ " <td>単盲検</td>\n",
705
+ " <td>...</td>\n",
706
+ " <td>screening</td>\n",
707
+ " <td>Breast cancer (including suspected) \\r\\n(1) On...</td>\n",
708
+ " <td>(1) There is trauma with bleeding on the breas...</td>\n",
709
+ " <td>20age old over</td>\n",
710
+ " <td>No limit</td>\n",
711
+ " <td>Female</td>\n",
712
+ " <td>NaN</td>\n",
713
+ " <td>NaN</td>\n",
714
+ " <td>The test using IGS-0001 will be performed twic...</td>\n",
715
+ " <td>[乳がん]</td>\n",
716
+ " </tr>\n",
717
+ " </tbody>\n",
718
+ "</table>\n",
719
+ "<p>20 rows × 39 columns</p>\n",
720
+ "</div>"
721
+ ],
722
+ "text/plain": [
723
+ " JRCT ID NCT No JapicCTI No \\\n",
724
+ "12 jRCT2041240130 NaN NaN \n",
725
+ "59 jRCT2031240404 NaN NaN \n",
726
+ "201 jRCT2052240059 NaN NaN \n",
727
+ "234 jRCT2031240065 NaN NaN \n",
728
+ "257 jRCT2033240023 NaN NaN \n",
729
+ "271 jRCT2031230750 NCT06188559 NaN \n",
730
+ "279 jRCT2031230723 NCT06112379 NaN \n",
731
+ "311 jRCT2061230102 NCT06103864 NaN \n",
732
+ "396 jRCT2061230074 NCT05952557 NaN \n",
733
+ "467 jRCT2031230249 NCT05753501 NaN \n",
734
+ "509 jRCT2031230109 NCT05514054 NaN \n",
735
+ "514 jRCT2031230090 NaN NaN \n",
736
+ "515 jRCT2031230096 NCT05774951 NaN \n",
737
+ "582 jRCT2051220176 NaN NaN \n",
738
+ "610 jRCT2061220087 NCT05629585 NaN \n",
739
+ "693 jRCT2031220276 NCT05307705 NaN \n",
740
+ "708 jRCT2031220203 NaN NaN \n",
741
+ "753 jRCT2031220034 NCT04862663 NaN \n",
742
+ "802 jRCT2031210585 NCT05123482 NaN \n",
743
+ "865 jRCT2052210099 NaN NaN \n",
744
+ "\n",
745
+ " Title \\\n",
746
+ "12 中等度-高度PONV発症リスクを有する肺切除術予定患者の周術期管理におけるGranisetr... \n",
747
+ "59 転移性HR+/HER2-乳がん及びその他の進行性固形がん患者を対象にCDK4阻害剤BGB-4... \n",
748
+ "201 遺伝子HSD17B4高メチル化を有するHER2陽性ER陰性乳癌における非手術療法の有用性を評... \n",
749
+ "234 DNAミスマッチ修復機構欠損を有する進行性・転移性子宮体がん患者を対象に、一次治療として化学... \n",
750
+ "257 免疫チェックポイント阻害剤に対してacquired resistanceとなったがん患者を対... \n",
751
+ "271 治療歴のある HER2 陽性又は HER2 低発現の切除不能又は転移性乳癌の被験者を対象に,... \n",
752
+ "279 未治療のトリプルネガティブ又はホルモン受容体低発現/HER2陰性乳癌の成人患者を対象として、... \n",
753
+ "311 Programmed death-ligand(PD-L1)陽性の局所再発手術不能又は転移性... \n",
754
+ "396 根治的局所治療(化学療法の併用または非併用)を受けて疾患の兆候のない、再発リスクが中間~高リ... \n",
755
+ "467 [M23-647]B細胞性悪性腫瘍患者を対象としたBTK 分解誘導化合物ABBV-101 の... \n",
756
+ "509 EMBER-4:2~5年間の術後内分泌療法による前治療歴を有する再発高リスクのER+、HER... \n",
757
+ "514 MELK阻害剤OTS167POにおける転移性・進行性乳がん患者を対象とした安全性、忍容性およ... \n",
758
+ "515 根治的局所領域療法(化学療法の併用または非併用)および標準補助内分泌療法(ET)を少なくとも... \n",
759
+ "582 切除不能進行再発食道がん及び胃がんに対する免疫チェックポイント阻害剤(ICI)と光線力学的療... \n",
760
+ "610 術前薬物療法後の外科的切除時に乳房及び/又は腋窩リンパ節に浸潤性残存病変を有するステージI~... \n",
761
+ "693 PIK3CA H1047R変異を有する進行乳がん患者及びその他の固形がん患者を対象としたLO... \n",
762
+ "708 初回腫瘍減量手術肉眼的完全切除後の進行卵巣癌を対象にパクリタキセル、カルボプラチン投与後のニ... \n",
763
+ "753 局所進行(切除不能)又は転移性のホルモン受容体陽性/ヒト上皮細胞成長因子受容体2 陰性乳癌を... \n",
764
+ "802 進行又は転移性固形がん患者を対象としたAZD8205の単独療法及び他の抗がん剤との併用療法に... \n",
765
+ "865 乳がんを有する成人女性及び健康成人女性を対象とした乳房用マイクロ波画像診断装置IGS-000... \n",
766
+ "\n",
767
+ " Target \\\n",
768
+ "12 肺がん \n",
769
+ "59 ・進行性固形腫瘍・進行性乳がん・転移性乳がん・ホルモン受容体陽性乳がん・ホルモン受容体陽性乳... \n",
770
+ "201 乳がん \n",
771
+ "234 子宮体がん \n",
772
+ "257 肺がん、食道がん、胃癌等の固形がん \n",
773
+ "271 HER2 陽性又は HER2 低発現の切除不能又は転移性乳癌 \n",
774
+ "279 乳癌 \n",
775
+ "311 乳癌 \n",
776
+ "396 乳がん、早期乳がん \n",
777
+ "467 血液がん \n",
778
+ "509 乳癌 \n",
779
+ "514 再発・難治性の局所進行性・転移性乳がん及びトリプルネガティブ乳がん \n",
780
+ "515 乳がん、早期乳がん \n",
781
+ "582 食道がん、胃がん \n",
782
+ "610 乳癌 \n",
783
+ "693 乳がん \n",
784
+ "708 卵巣がん \n",
785
+ "753 局所進行(切除不能)又は転移性乳癌 \n",
786
+ "802 乳癌、胆道癌、卵巣癌、子宮内膜癌 \n",
787
+ "865 乳がん \n",
788
+ "\n",
789
+ " 研究・治験の目的 試験等のフェーズ 試験の種類 \\\n",
790
+ "12 全身麻酔を要する肺切除術周術期における標準制吐療法であるグラニセトロン(Granisetro... 2 NaN \n",
791
+ "59 サイクリン依存性キナーゼ 4 (CDK4) 阻害剤である BGB-43395 が、ホルモン受... 1 NaN \n",
792
+ "201 HSD17B4高メチル化(HSD17B4 hypermethylation:HH)を有するH... 2 NaN \n",
793
+ "234 dMMR/MSI-Hを有する再発又は進行子宮体癌患者を対象にdostarlimabの有効性及... 3 NaN \n",
794
+ "257 免疫チェックポイント阻害剤に対してacquired resistanceとなったがん患者(非... 1-2 NaN \n",
795
+ "271 治療 2 NaN \n",
796
+ "279 未治療のトリプルネガティブ又はホルモン受容体低発現/HER2陰性乳癌の成人患者を対象として、... 3 NaN \n",
797
+ "311 PD-L1陽性の局所再発手術不能または転移性TNBC患者を対象に、デュルバルマブ併用または非... 3 NaN \n",
798
+ "396 Treatment 3 NaN \n",
799
+ "467 ・ABBV-101 の安全性を明らかにし,忍容性を確認する\\r\\n・ABBV-101 の経口... 1 NaN \n",
800
+ "509 早期乳癌患者を対象としたimlunestrantと標準的な内分泌療法の比較試験 3 NaN \n",
801
+ "514 再発・難治性の局所進行性または転移性乳がん患者に対して、OTS167を経口カプセルで投与する... 1 NaN \n",
802
+ "515 Treatment 3 NaN \n",
803
+ "582 一次治療として免疫チェックポイント阻害剤(ICI)を含む標準治療を予定される進行・再発食道が... 2 NaN \n",
804
+ "610 術前薬物療法後の外科的切除時に乳房および/または腋窩リンパ節に浸潤性残存病変を有するI~II... 3 NaN \n",
805
+ "693 LOXO-783 の単独投与及び他の抗がん剤との併用投与における 第 2 相試験の推奨用量、... 1 NaN \n",
806
+ "708 診断時にステージIIIA/B/Cの高悪性度上皮性卵巣癌で、PDS後に残存病変を認めない患者を... 2 NaN \n",
807
+ "753 Treatment 3 NaN \n",
808
+ "802 進行又は転移性固形がんに対する治療法候補としての新規化合物AZD8205の研究 1-2 NaN \n",
809
+ "865 本治験の目的は,乳がん又はその疑いのある者,並びに乳がん又はその疑いがない者を対象に乳房画像... 2 NaN \n",
810
+ "\n",
811
+ " 無作為化 盲検化 ... purpose \\\n",
812
+ "12 無作為化比較 非盲検 ... treatment purpose \n",
813
+ "59 非無作為化比較 非盲検 ... treatment purpose \n",
814
+ "201 単一群 非盲検 ... diagnostic purpose \n",
815
+ "234 無作為化比較 非盲検 ... treatment purpose \n",
816
+ "257 単一群 非盲検 ... treatment purpose \n",
817
+ "271 無作為化比較 非盲検 ... treatment purpose \n",
818
+ "279 無作為化比較 非盲検 ... treatment purpose \n",
819
+ "311 無作為化比較 非盲検 ... treatment purpose \n",
820
+ "396 無作為化比較 非盲検 ... treatment purpose \n",
821
+ "467 単一群 非盲検 ... treatment purpose \n",
822
+ "509 無作為化比較 非盲検 ... treatment purpose \n",
823
+ "514 単一群 非盲検 ... treatment purpose \n",
824
+ "515 無作為化比較 非盲検 ... treatment purpose \n",
825
+ "582 単一群 非盲検 ... treatment purpose \n",
826
+ "610 無作為化比較 非盲検 ... treatment purpose \n",
827
+ "693 単一群 非盲検 ... treatment purpose \n",
828
+ "708 無作為化比較 非盲検 ... treatment purpose \n",
829
+ "753 無作為化比較 二重盲検 ... treatment purpose \n",
830
+ "802 単一群 非盲検 ... treatment purpose \n",
831
+ "865 単一群 単盲検 ... screening \n",
832
+ "\n",
833
+ " Inclusion Criteria \\\n",
834
+ "12 (1) Patients scheduled to undergo anatomical l... \n",
835
+ "59 -Phase 1a (Dose Escalation) and 1b (Dose Expan... \n",
836
+ "201 1. Histologically confirmed invasive breast ca... \n",
837
+ "234 1. Female patient is at least 18 years of age,... \n",
838
+ "257 1. Japanese patients aged 20 years or older at... \n",
839
+ "271 (1) Male or female, aged >=18 years at the tim... \n",
840
+ "279 1. Participant must be >= 18 years at the time... \n",
841
+ "311 Histologically or cytologically documented loc... \n",
842
+ "396 - Women and Men; 18 years or more at the time ... \n",
843
+ "467 -For Dose Escalation (Part 1) only: Participan... \n",
844
+ "509 -Have a diagnosis of ER+, HER2- early-stage, r... \n",
845
+ "514 Dose Escalation and Dose Expansion Cohorts\\r\\n... \n",
846
+ "515 - Women and Men, greater than or equal to 18 y... \n",
847
+ "582 The patient with unresectable or recurrent eso... \n",
848
+ "610 Participant must be >= 18 years at the time of... \n",
849
+ "693 -Have advanced breast cancer or another solid ... \n",
850
+ "708 1. Female patient >= 18 years of age.\\r\\n2. Si... \n",
851
+ "753 Key inclusion criteria for both phases:\\n\\r\\n1... \n",
852
+ "802 - Age18 years or more\\n\\r\\n- Relapsed/metastat... \n",
853
+ "865 Breast cancer (including suspected) \\r\\n(1) On... \n",
854
+ "\n",
855
+ " Exclusion Criteria Age Minimum \\\n",
856
+ "12 (1) Patients with a history of allergy to the ... 18age old over \n",
857
+ "59 -Prior therapy selectively targeting CDK4 (pri... 18age old over \n",
858
+ "201 1. History of other malignancy within the last... 20age old over \n",
859
+ "234 1. Patient has received neoadjuvant/adjuvant s... 18age old over \n",
860
+ "257 1. Patients with a history of severe drug hype... 20age old over \n",
861
+ "271 (1) Presence of brain or subdural metastases, ... 18age old over \n",
862
+ "279 1. As judged by the investigator, any evidence... 18age old over \n",
863
+ "311 As judged by investigator, severe or uncontrol... 18age old over \n",
864
+ "396 - Inoperable locally advanced or metastatic br... 18age old over \n",
865
+ "467 -Previously treated with a Bruton's tyrosine k... 18age old over \n",
866
+ "509 -Have any evidence of metastatic disease (incl... 18age old over \n",
867
+ "514 Dose Escalation and Expansion Cohorts\\r\\n1.\\tW... 18age old over \n",
868
+ "515 - Inoperable locally advanced or metastatic br... 18age old over \n",
869
+ "582 Has been diagnosed with HER2-positive gastric ... 18age old over \n",
870
+ "610 Stage IV (metastatic) TNBC.\\r\\nHistory of prio... 18age old over \n",
871
+ "693 -Medical Conditions\\r\\n -Colorectal cancer\\r\\n... 18age old over \n",
872
+ "708 1. Patient with clear cell adenocarcinoma or c... 18age old over \n",
873
+ "753 Key exclusion criteria for both phases:\\r\\n1. ... 18age old over \n",
874
+ "802 - Treatment with any of the following:\\n\\r\\n1.... 18age old over \n",
875
+ "865 (1) There is trauma with bleeding on the breas... 20age old over \n",
876
+ "\n",
877
+ " Age Maximum Gender Discontinuation Criteria \\\n",
878
+ "12 No limit Both NaN \n",
879
+ "59 No limit Both NaN \n",
880
+ "201 No limit Female NaN \n",
881
+ "234 No limit Female NaN \n",
882
+ "257 No limit Both NaN \n",
883
+ "271 No limit Both NaN \n",
884
+ "279 No limit Both NaN \n",
885
+ "311 No limit Both NaN \n",
886
+ "396 No limit NaN NaN \n",
887
+ "467 No limit Both NaN \n",
888
+ "509 No limit Both NaN \n",
889
+ "514 No limit Female NaN \n",
890
+ "515 No limit Both NaN \n",
891
+ "582 No limit Both NaN \n",
892
+ "610 130age old under Both NaN \n",
893
+ "693 No limit Both NaN \n",
894
+ "708 No limit Female NaN \n",
895
+ "753 99age old under Both NaN \n",
896
+ "802 No limit Both NaN \n",
897
+ "865 No limit Female NaN \n",
898
+ "\n",
899
+ " Keyword \\\n",
900
+ "12 NaN \n",
901
+ "59 NaN \n",
902
+ "201 NaN \n",
903
+ "234 NaN \n",
904
+ "257 NaN \n",
905
+ "271 NaN \n",
906
+ "279 NaN \n",
907
+ "311 NaN \n",
908
+ "396 NaN \n",
909
+ "467 NaN \n",
910
+ "509 NaN \n",
911
+ "514 NaN \n",
912
+ "515 NaN \n",
913
+ "582 Esophageal cancer, Gastric cancer \n",
914
+ "610 NaN \n",
915
+ "693 NaN \n",
916
+ "708 NaN \n",
917
+ "753 NaN \n",
918
+ "802 NaN \n",
919
+ "865 NaN \n",
920
+ "\n",
921
+ " Intervention(s) \\\n",
922
+ "12 Treatment group\\r\\nAdminister GRA 1mg intraven... \n",
923
+ "59 -Drug: BGB-43395\\r\\nPlanned doses administered... \n",
924
+ "201 Omitting breast surgery after preoperative che... \n",
925
+ "234 Patients will be randomized 1:1 to receive eit... \n",
926
+ "257 Intramuscular injection of the investigational... \n",
927
+ "271 Generic Name:NA\\r\\nStudy Treatment in dose opt... \n",
928
+ "279 - Experimental arm: Dato-DXd plus durvalumab n... \n",
929
+ "311 Arm 1: Dato-DXd + durvalumab\\r\\nArm 2: Investi... \n",
930
+ "396 arm A: continue with SoC ET as directed by inv... \n",
931
+ "467 Drug: ABBV-101\\r\\nOral: Tablet \n",
932
+ "509 -Drug: Imlunestrant\\r\\n Administered orally.\\... \n",
933
+ "514 This is a Phase I dose escalation/expansion mu... \n",
934
+ "515 arm A: continue with SoC ET as directed by inv... \n",
935
+ "582 Cohort A: Nivolumab(240mg, every 2 weeks or 36... \n",
936
+ "610 Arm 1: Dato-DXd 6 mg/kg IV Q3W x 8 cycles + Du... \n",
937
+ "693 -Drug: LOXO-783\\r\\n Oral\\r\\n Other Name: LY384... \n",
938
+ "708 Patients will be included after surgery and wi... \n",
939
+ "753 Capivasertib: PO BD 4 days on /3 days off per ... \n",
940
+ "802 Sub-study1\\r\\nAZD8205 Monotherapy\\r\\nAZD8205 i... \n",
941
+ "865 The test using IGS-0001 will be performed twic... \n",
942
+ "\n",
943
+ " TargetWord \n",
944
+ "12 [肺がん] \n",
945
+ "59 [進行性固形腫瘍, 進行性乳がん, 転移性乳がん, ホルモン受容体陽性乳がん, ホルモン受容... \n",
946
+ "201 [乳がん] \n",
947
+ "234 [子宮体がん] \n",
948
+ "257 [肺がん, 食道がん, 胃癌等の固形がん] \n",
949
+ "271 [HER2 陽性, HER2 低発現の切除不能, 転移性乳癌] \n",
950
+ "279 [乳癌] \n",
951
+ "311 [乳癌] \n",
952
+ "396 [乳がん, 早期乳がん] \n",
953
+ "467 [血液がん] \n",
954
+ "509 [乳癌] \n",
955
+ "514 [再発, 難治性の局所進行性, 転移性乳がん, トリプルネガティブ乳がん] \n",
956
+ "515 [乳がん, 早期乳がん] \n",
957
+ "582 [食道がん, 胃がん] \n",
958
+ "610 [乳癌] \n",
959
+ "693 [乳がん] \n",
960
+ "708 [卵巣がん] \n",
961
+ "753 [局所進行(切除不能), 転移性乳癌] \n",
962
+ "802 [乳癌, 胆道癌, 卵巣癌, 子宮内膜癌] \n",
963
+ "865 [乳がん] \n",
964
+ "\n",
965
+ "[20 rows x 39 columns]"
966
+ ]
967
+ },
968
+ "execution_count": 68,
969
+ "metadata": {},
970
+ "output_type": "execute_result"
971
+ }
972
+ ],
973
+ "source": [
974
+ "# ターゲットリスト全体を処理\n",
975
+ "matched_indices = []\n",
976
+ "target_vecs_list = []\n",
977
+ "cosine_scores_list = []\n",
978
+ "for idx, target_words in enumerate(basedf['TargetWord']):\n",
979
+ " # ターゲット内の各単語をベクトル化\n",
980
+ " target_vecs = encode_text(target_words)\n",
981
+ " # コサイン類似度を計算\n",
982
+ " cosine_scores = torch.nn.functional.cosine_similarity(query_vec, target_vecs)\n",
983
+ " target_vecs_list.append(target_vecs)\n",
984
+ " cosine_scores_list.append(cosine_scores)\n",
985
+ " # 閾値を超えるか確認\n",
986
+ " if (cosine_scores >= threshold).any(): # いずれかが閾値を超えている場合\n",
987
+ " matched_indices.append(idx)\n",
988
+ "\n",
989
+ "# 抽出\n",
990
+ "matched_df = basedf.iloc[matched_indices]\n",
991
+ "matched_df"
992
+ ]
993
+ },
994
+ {
995
+ "cell_type": "code",
996
+ "execution_count": 69,
997
+ "metadata": {},
998
+ "outputs": [
999
+ {
1000
+ "data": {
1001
+ "text/plain": [
1002
+ "[tensor([0.8485]),\n",
1003
+ " tensor([0.8322, 0.8710]),\n",
1004
+ " tensor([0.8630]),\n",
1005
+ " tensor([0.8748, 0.8663]),\n",
1006
+ " tensor([0.9373]),\n",
1007
+ " tensor([0.8615, 0.8576]),\n",
1008
+ " tensor([0.8443]),\n",
1009
+ " tensor([0.8511]),\n",
1010
+ " tensor([0.8320, 0.8452]),\n",
1011
+ " tensor([0.8485]),\n",
1012
+ " tensor([0.8681]),\n",
1013
+ " tensor([0.8585]),\n",
1014
+ " tensor([0.8489]),\n",
1015
+ " tensor([0.8535]),\n",
1016
+ " tensor([0.9058]),\n",
1017
+ " tensor([0.8473, 0.9020]),\n",
1018
+ " tensor([0.8587]),\n",
1019
+ " tensor([0.8621]),\n",
1020
+ " tensor([0.8526]),\n",
1021
+ " tensor([0.8363]),\n",
1022
+ " tensor([0.8573]),\n",
1023
+ " tensor([0.7646, 0.7990]),\n",
1024
+ " tensor([0.9068, 0.8733, 0.8775]),\n",
1025
+ " tensor([0.8584]),\n",
1026
+ " tensor([0.8584]),\n",
1027
+ " tensor([0.8624]),\n",
1028
+ " tensor([0.8456]),\n",
1029
+ " tensor([0.8959]),\n",
1030
+ " tensor([0.8844]),\n",
1031
+ " tensor([0.8842, 0.9356, 0.9305, 0.9065, 0.8970]),\n",
1032
+ " tensor([0.8691, 0.8630, 0.8718]),\n",
1033
+ " tensor([0.8758]),\n",
1034
+ " tensor([0.8630]),\n",
1035
+ " tensor([0.8611]),\n",
1036
+ " tensor([0.8630]),\n",
1037
+ " tensor([0.8963]),\n",
1038
+ " tensor([0.8601]),\n",
1039
+ " tensor([0.8040, 0.8439]),\n",
1040
+ " tensor([0.8789, 0.8568]),\n",
1041
+ " tensor([0.8110, 0.8643, 0.8400, 0.9012]),\n",
1042
+ " tensor([0.8604]),\n",
1043
+ " tensor([0.8752, 0.8826, 0.8916, 0.8565]),\n",
1044
+ " tensor([0.9091, 0.8941, 0.8630]),\n",
1045
+ " tensor([0.8391, 0.8505]),\n",
1046
+ " tensor([0.8625]),\n",
1047
+ " tensor([0.8507]),\n",
1048
+ " tensor([0.8583, 0.8685]),\n",
1049
+ " tensor([0.8758]),\n",
1050
+ " tensor([0.8597]),\n",
1051
+ " tensor([0.8707]),\n",
1052
+ " tensor([0.8908]),\n",
1053
+ " tensor([0.8480]),\n",
1054
+ " tensor([0.8567]),\n",
1055
+ " tensor([0.8752, 0.8763, 0.8826]),\n",
1056
+ " tensor([0.8630]),\n",
1057
+ " tensor([0.8497]),\n",
1058
+ " tensor([0.8395, 0.8532, 0.7941, 0.8583]),\n",
1059
+ " tensor([0.8630]),\n",
1060
+ " tensor([0.8254, 0.8873]),\n",
1061
+ " tensor([0.8758]),\n",
1062
+ " tensor([0.8806]),\n",
1063
+ " tensor([0.8152, 0.8277, 0.8346, 0.8746]),\n",
1064
+ " tensor([0.8478]),\n",
1065
+ " tensor([0.8758]),\n",
1066
+ " tensor([0.8781]),\n",
1067
+ " tensor([0.8615]),\n",
1068
+ " tensor([0.8446, 0.8641]),\n",
1069
+ " tensor([0.8733]),\n",
1070
+ " tensor([0.8507]),\n",
1071
+ " tensor([0.8584]),\n",
1072
+ " tensor([0.8630]),\n",
1073
+ " tensor([0.8545]),\n",
1074
+ " tensor([0.8819]),\n",
1075
+ " tensor([0.8969, 0.8613, 0.8482, 0.8693, 0.8598]),\n",
1076
+ " tensor([0.8688]),\n",
1077
+ " tensor([0.8625]),\n",
1078
+ " tensor([0.8455, 0.8619]),\n",
1079
+ " tensor([0.8788]),\n",
1080
+ " tensor([0.8540]),\n",
1081
+ " tensor([0.8625]),\n",
1082
+ " tensor([0.8630]),\n",
1083
+ " tensor([0.8664]),\n",
1084
+ " tensor([0.8630]),\n",
1085
+ " tensor([0.8459, 0.8211, 0.8484]),\n",
1086
+ " tensor([0.8508, 0.8430, 0.8313, 0.8702]),\n",
1087
+ " tensor([0.8469]),\n",
1088
+ " tensor([0.9016]),\n",
1089
+ " tensor([0.8630]),\n",
1090
+ " tensor([0.8379]),\n",
1091
+ " tensor([0.8558, 0.8561, 0.8513]),\n",
1092
+ " tensor([0.8582, 0.8528]),\n",
1093
+ " tensor([0.8582]),\n",
1094
+ " tensor([0.8536]),\n",
1095
+ " tensor([0.8804, 0.8691, 0.8711]),\n",
1096
+ " tensor([0.8377, 0.8560, 0.8276]),\n",
1097
+ " tensor([0.8604]),\n",
1098
+ " tensor([0.8301, 0.8577]),\n",
1099
+ " tensor([0.8410]),\n",
1100
+ " tensor([0.8664]),\n",
1101
+ " tensor([0.8473, 0.8524, 0.8974]),\n",
1102
+ " tensor([0.8473, 0.8524, 0.8974]),\n",
1103
+ " tensor([1.]),\n",
1104
+ " tensor([0.8547]),\n",
1105
+ " tensor([0.8540]),\n",
1106
+ " tensor([0.8630]),\n",
1107
+ " tensor([0.8615, 0.8576, 0.8696]),\n",
1108
+ " tensor([0.9083, 0.8155, 0.8555, 0.8375, 0.8585]),\n",
1109
+ " tensor([0.8624, 0.8528]),\n",
1110
+ " tensor([0.8630]),\n",
1111
+ " tensor([0.8584]),\n",
1112
+ " tensor([0.8347]),\n",
1113
+ " tensor([0.8630]),\n",
1114
+ " tensor([0.8526]),\n",
1115
+ " tensor([0.9058]),\n",
1116
+ " tensor([0.8624]),\n",
1117
+ " tensor([0.8597]),\n",
1118
+ " tensor([0.8752, 0.8763, 0.8826]),\n",
1119
+ " tensor([0.8305, 0.8894]),\n",
1120
+ " tensor([0.9246]),\n",
1121
+ " tensor([0.8630]),\n",
1122
+ " tensor([0.8611]),\n",
1123
+ " tensor([0.9068, 0.8908]),\n",
1124
+ " tensor([0.8708]),\n",
1125
+ " tensor([0.8587]),\n",
1126
+ " tensor([0.8347]),\n",
1127
+ " tensor([0.8959]),\n",
1128
+ " tensor([0.8711]),\n",
1129
+ " tensor([0.8711]),\n",
1130
+ " tensor([0.8388, 0.8499]),\n",
1131
+ " tensor([0.9373, 0.9130, 0.8716]),\n",
1132
+ " tensor([0.8913, 0.8613, 0.8677, 0.8699, 0.8787, 0.8538, 0.8325]),\n",
1133
+ " tensor([0.8540]),\n",
1134
+ " tensor([0.8514]),\n",
1135
+ " tensor([0.8388, 0.8499]),\n",
1136
+ " tensor([0.8457, 0.8334, 0.9242]),\n",
1137
+ " tensor([0.8758]),\n",
1138
+ " tensor([0.8959]),\n",
1139
+ " tensor([0.8841]),\n",
1140
+ " tensor([0.9522]),\n",
1141
+ " tensor([0.8630]),\n",
1142
+ " tensor([0.8584]),\n",
1143
+ " tensor([0.8604]),\n",
1144
+ " tensor([0.8525]),\n",
1145
+ " tensor([0.8535]),\n",
1146
+ " tensor([0.8662]),\n",
1147
+ " tensor([0.8639]),\n",
1148
+ " tensor([0.8466, 0.8730]),\n",
1149
+ " tensor([0.8337, 0.9098]),\n",
1150
+ " tensor([0.8670]),\n",
1151
+ " tensor([0.8577]),\n",
1152
+ " tensor([0.8863, 0.8752]),\n",
1153
+ " tensor([0.8630]),\n",
1154
+ " tensor([0.8315, 0.8696]),\n",
1155
+ " tensor([0.8362, 0.9098]),\n",
1156
+ " tensor([0.8380]),\n",
1157
+ " tensor([0.8540]),\n",
1158
+ " tensor([0.9522]),\n",
1159
+ " tensor([0.8908]),\n",
1160
+ " tensor([0.8305, 0.8000, 0.8520]),\n",
1161
+ " tensor([0.8540]),\n",
1162
+ " tensor([0.8673]),\n",
1163
+ " tensor([0.8593]),\n",
1164
+ " tensor([0.8604]),\n",
1165
+ " tensor([0.8203, 0.8343, 0.7933]),\n",
1166
+ " tensor([0.8391, 0.8621]),\n",
1167
+ " tensor([0.8368, 0.8635]),\n",
1168
+ " tensor([0.8365, 0.8518, 0.8365, 0.8411]),\n",
1169
+ " tensor([0.8391, 0.8505]),\n",
1170
+ " tensor([0.8540]),\n",
1171
+ " tensor([0.8536, 0.8536]),\n",
1172
+ " tensor([0.8248, 0.7948, 0.8418, 0.8342, 0.8219]),\n",
1173
+ " tensor([0.8521]),\n",
1174
+ " tensor([0.8106, 0.8684]),\n",
1175
+ " tensor([0.8510]),\n",
1176
+ " tensor([0.8446]),\n",
1177
+ " tensor([0.8541, 0.8603]),\n",
1178
+ " tensor([0.8789, 0.8576, 0.8710]),\n",
1179
+ " tensor([0.8631]),\n",
1180
+ " tensor([0.8510]),\n",
1181
+ " tensor([0.8523]),\n",
1182
+ " tensor([0.8423]),\n",
1183
+ " tensor([0.8908]),\n",
1184
+ " tensor([0.8540]),\n",
1185
+ " tensor([0.8376, 0.8768]),\n",
1186
+ " tensor([0.8051, 0.8686]),\n",
1187
+ " tensor([0.8630]),\n",
1188
+ " tensor([0.8630, 0.8839]),\n",
1189
+ " tensor([0.8604]),\n",
1190
+ " tensor([0.8051]),\n",
1191
+ " tensor([0.8688]),\n",
1192
+ " tensor([0.8562]),\n",
1193
+ " tensor([0.8562, 0.8553, 0.8430, 0.8563]),\n",
1194
+ " tensor([0.8586]),\n",
1195
+ " tensor([0.8458, 0.8616]),\n",
1196
+ " tensor([0.8375, 0.8453]),\n",
1197
+ " tensor([0.8540]),\n",
1198
+ " tensor([0.8603, 0.8568, 0.8696]),\n",
1199
+ " tensor([0.8450]),\n",
1200
+ " tensor([0.8371, 0.8642, 0.8535]),\n",
1201
+ " tensor([0.8417, 0.8689]),\n",
1202
+ " tensor([0.9093]),\n",
1203
+ " tensor([0.8728]),\n",
1204
+ " tensor([0.9990, 0.9460]),\n",
1205
+ " tensor([0.8443, 0.8873]),\n",
1206
+ " tensor([0.8759]),\n",
1207
+ " tensor([0.8752]),\n",
1208
+ " tensor([0.8440]),\n",
1209
+ " tensor([0.7623, 0.8737, 0.8236, 0.8576, 0.8696, 0.8687]),\n",
1210
+ " tensor([0.8630]),\n",
1211
+ " tensor([0.8314, 0.8953]),\n",
1212
+ " tensor([0.8388, 0.8499]),\n",
1213
+ " tensor([0.8360, 0.8724]),\n",
1214
+ " tensor([0.8303, 0.8760, 0.8303, 0.8781, 0.8303, 0.8612]),\n",
1215
+ " tensor([0.8384, 0.8511]),\n",
1216
+ " tensor([0.8391, 0.8590]),\n",
1217
+ " tensor([0.8247, 0.8847, 0.8139, 0.8356]),\n",
1218
+ " tensor([0.8628]),\n",
1219
+ " tensor([0.8732, 0.8518, 0.7789]),\n",
1220
+ " tensor([0.8204, 0.8629]),\n",
1221
+ " tensor([0.8384, 0.7728, 0.8089, 0.8722]),\n",
1222
+ " tensor([0.8061, 0.8273]),\n",
1223
+ " tensor([0.8435]),\n",
1224
+ " tensor([0.8344, 0.8426, 0.8477]),\n",
1225
+ " tensor([0.8838, 0.8694]),\n",
1226
+ " tensor([0.8535]),\n",
1227
+ " tensor([0.8411]),\n",
1228
+ " tensor([0.8804]),\n",
1229
+ " tensor([0.8485]),\n",
1230
+ " tensor([0.8155, 0.8625]),\n",
1231
+ " tensor([0.8511, 0.8162, 0.8280, 0.8599, 0.8879]),\n",
1232
+ " tensor([0.8422, 0.7904, 0.8108, 0.8225]),\n",
1233
+ " tensor([0.8901]),\n",
1234
+ " tensor([0.8508]),\n",
1235
+ " tensor([0.8806, 0.8688]),\n",
1236
+ " tensor([0.8786]),\n",
1237
+ " tensor([0.9182]),\n",
1238
+ " tensor([0.8405]),\n",
1239
+ " tensor([0.8563]),\n",
1240
+ " tensor([0.8630]),\n",
1241
+ " tensor([0.8495]),\n",
1242
+ " tensor([0.8110, 0.8427, 0.8705]),\n",
1243
+ " tensor([0.8525]),\n",
1244
+ " tensor([0.8106, 0.8752]),\n",
1245
+ " tensor([0.8688]),\n",
1246
+ " tensor([0.8604]),\n",
1247
+ " tensor([0.8540]),\n",
1248
+ " tensor([0.8540]),\n",
1249
+ " tensor([0.8809]),\n",
1250
+ " tensor([0.8789, 0.8576, 0.8790, 0.8781]),\n",
1251
+ " tensor([0.8525]),\n",
1252
+ " tensor([0.8846]),\n",
1253
+ " tensor([0.9068]),\n",
1254
+ " tensor([0.8602, 0.8571, 0.8578, 0.8484]),\n",
1255
+ " tensor([0.8347]),\n",
1256
+ " tensor([0.8501, 0.9079]),\n",
1257
+ " tensor([0.9522]),\n",
1258
+ " tensor([0.8107, 0.8577]),\n",
1259
+ " tensor([0.8938, 0.8839, 0.8568]),\n",
1260
+ " tensor([0.8391, 0.8348, 0.9305, 0.9071]),\n",
1261
+ " tensor([0.9990, 0.9460]),\n",
1262
+ " tensor([0.8587, 0.8379, 0.8649]),\n",
1263
+ " tensor([0.8540]),\n",
1264
+ " tensor([0.8604]),\n",
1265
+ " tensor([0.8264, 0.8635, 0.8576]),\n",
1266
+ " tensor([0.8264]),\n",
1267
+ " tensor([0.9071]),\n",
1268
+ " tensor([0.8395]),\n",
1269
+ " tensor([0.8179, 0.8403]),\n",
1270
+ " tensor([0.8630]),\n",
1271
+ " tensor([0.8540]),\n",
1272
+ " tensor([0.8409, 0.8956]),\n",
1273
+ " tensor([0.8602, 0.8630, 0.8836]),\n",
1274
+ " tensor([0.8908]),\n",
1275
+ " tensor([0.9068]),\n",
1276
+ " tensor([0.8309, 0.8598]),\n",
1277
+ " tensor([0.8576, 0.8500]),\n",
1278
+ " tensor([0.8625]),\n",
1279
+ " tensor([0.8804]),\n",
1280
+ " tensor([0.8359, 0.8612, 0.8127]),\n",
1281
+ " tensor([0.8163, 0.8752]),\n",
1282
+ " tensor([0.8806]),\n",
1283
+ " tensor([0.9118, 0.9205]),\n",
1284
+ " tensor([0.8786]),\n",
1285
+ " tensor([0.8577]),\n",
1286
+ " tensor([0.8506]),\n",
1287
+ " tensor([0.8201, 0.8684]),\n",
1288
+ " tensor([0.8499]),\n",
1289
+ " tensor([0.8391, 0.8505]),\n",
1290
+ " tensor([0.8604]),\n",
1291
+ " tensor([0.8535]),\n",
1292
+ " tensor([0.9522]),\n",
1293
+ " tensor([0.8773]),\n",
1294
+ " tensor([0.8280]),\n",
1295
+ " tensor([0.8488]),\n",
1296
+ " tensor([0.8540]),\n",
1297
+ " tensor([0.8459]),\n",
1298
+ " tensor([0.8514, 0.8533]),\n",
1299
+ " tensor([0.8249, 0.8579]),\n",
1300
+ " tensor([0.8510]),\n",
1301
+ " tensor([0.8597, 0.8345, 0.9077, 0.8147, 0.8507]),\n",
1302
+ " tensor([0.8188, 0.8284]),\n",
1303
+ " tensor([0.8393]),\n",
1304
+ " tensor([0.8322, 0.8710]),\n",
1305
+ " tensor([0.8630]),\n",
1306
+ " tensor([0.8823]),\n",
1307
+ " tensor([0.8659]),\n",
1308
+ " tensor([0.8630]),\n",
1309
+ " tensor([0.8630]),\n",
1310
+ " tensor([0.8907, 0.8770, 0.8625, 0.9053, 0.8711, 0.8543, 0.8684]),\n",
1311
+ " tensor([0.8658]),\n",
1312
+ " tensor([0.8503, 0.8373]),\n",
1313
+ " tensor([0.8517]),\n",
1314
+ " tensor([0.8630]),\n",
1315
+ " tensor([0.8540]),\n",
1316
+ " tensor([0.8365, 0.7996, 0.8437, 0.8365, 0.7996, 0.8523]),\n",
1317
+ " tensor([0.8804]),\n",
1318
+ " tensor([0.8908]),\n",
1319
+ " tensor([0.8604]),\n",
1320
+ " tensor([0.8649, 0.8198, 0.8309]),\n",
1321
+ " tensor([0.8733]),\n",
1322
+ " tensor([1.]),\n",
1323
+ " tensor([0.8749]),\n",
1324
+ " tensor([0.8733, 0.8395, 0.8583]),\n",
1325
+ " tensor([0.8806]),\n",
1326
+ " tensor([0.9128]),\n",
1327
+ " tensor([0.8630]),\n",
1328
+ " tensor([0.8540]),\n",
1329
+ " tensor([0.8552]),\n",
1330
+ " tensor([0.8908]),\n",
1331
+ " tensor([0.8577]),\n",
1332
+ " tensor([0.8604]),\n",
1333
+ " tensor([0.8463, 0.8154, 0.8398, 0.8542, 0.8673, 0.8961]),\n",
1334
+ " tensor([0.8551, 0.9088]),\n",
1335
+ " tensor([0.8841]),\n",
1336
+ " tensor([0.8358]),\n",
1337
+ " tensor([0.8806]),\n",
1338
+ " tensor([0.8789, 0.8576]),\n",
1339
+ " tensor([0.8630]),\n",
1340
+ " tensor([0.8232, 0.9240]),\n",
1341
+ " tensor([0.8584]),\n",
1342
+ " tensor([0.8242]),\n",
1343
+ " tensor([0.8471]),\n",
1344
+ " tensor([0.8499]),\n",
1345
+ " tensor([0.8526]),\n",
1346
+ " tensor([0.8513, 0.8181, 0.8358, 0.8695]),\n",
1347
+ " tensor([0.8433]),\n",
1348
+ " tensor([0.8630]),\n",
1349
+ " tensor([0.8789, 0.8576]),\n",
1350
+ " tensor([0.8405]),\n",
1351
+ " tensor([0.8584]),\n",
1352
+ " tensor([0.8580]),\n",
1353
+ " tensor([0.8496]),\n",
1354
+ " tensor([0.8540]),\n",
1355
+ " tensor([0.8434, 0.8146, 0.8664]),\n",
1356
+ " tensor([0.8375, 0.8562]),\n",
1357
+ " tensor([0.8319, 0.8758]),\n",
1358
+ " tensor([0.8725, 0.8489, 0.8651]),\n",
1359
+ " tensor([0.9505, 0.8707, 0.9088, 0.8914]),\n",
1360
+ " tensor([0.8604]),\n",
1361
+ " tensor([0.8315, 0.8696]),\n",
1362
+ " tensor([0.8535]),\n",
1363
+ " tensor([0.8290, 0.8370]),\n",
1364
+ " tensor([0.8908]),\n",
1365
+ " tensor([0.8182, 0.8864, 0.8526]),\n",
1366
+ " tensor([0.8841]),\n",
1367
+ " tensor([0.8685]),\n",
1368
+ " tensor([0.8106, 0.8752]),\n",
1369
+ " tensor([0.8770]),\n",
1370
+ " tensor([0.8430, 0.8630, 0.8430, 0.8706, 0.8430, 0.8658]),\n",
1371
+ " tensor([0.8265]),\n",
1372
+ " tensor([0.8526]),\n",
1373
+ " tensor([0.8559]),\n",
1374
+ " tensor([0.8161, 0.8664]),\n",
1375
+ " tensor([0.8586]),\n",
1376
+ " tensor([1.]),\n",
1377
+ " tensor([0.8256, 0.8344]),\n",
1378
+ " tensor([0.8712, 0.8568]),\n",
1379
+ " tensor([0.8467]),\n",
1380
+ " tensor([0.8604]),\n",
1381
+ " tensor([0.8669, 0.8661]),\n",
1382
+ " tensor([0.8630, 0.8427, 0.8530, 0.8497, 0.8509, 0.8302]),\n",
1383
+ " tensor([0.8336, 0.8468, 0.8465]),\n",
1384
+ " tensor([0.8380, 0.8434, 0.8507]),\n",
1385
+ " tensor([0.8220, 0.8638]),\n",
1386
+ " tensor([0.8623]),\n",
1387
+ " tensor([0.8540]),\n",
1388
+ " tensor([0.8758]),\n",
1389
+ " tensor([0.8375, 0.8453]),\n",
1390
+ " tensor([0.8776]),\n",
1391
+ " tensor([0.8584]),\n",
1392
+ " tensor([0.8583, 0.8142]),\n",
1393
+ " tensor([0.7930, 0.7781, 0.8385]),\n",
1394
+ " tensor([0.8479]),\n",
1395
+ " tensor([0.8923, 0.8914, 0.7692, 0.8157]),\n",
1396
+ " tensor([0.8373, 0.8890]),\n",
1397
+ " tensor([0.8785]),\n",
1398
+ " tensor([0.8584]),\n",
1399
+ " tensor([0.8405]),\n",
1400
+ " tensor([0.8159, 0.8669]),\n",
1401
+ " tensor([0.8381, 0.8489]),\n",
1402
+ " tensor([0.8450]),\n",
1403
+ " tensor([0.8347]),\n",
1404
+ " tensor([0.8554]),\n",
1405
+ " tensor([0.8535, 0.8582]),\n",
1406
+ " tensor([0.8536]),\n",
1407
+ " tensor([0.8561]),\n",
1408
+ " tensor([0.8540]),\n",
1409
+ " tensor([0.8914]),\n",
1410
+ " tensor([0.8101, 0.8767, 0.8590, 0.8398]),\n",
1411
+ " tensor([0.8797]),\n",
1412
+ " tensor([0.8584]),\n",
1413
+ " tensor([0.8615, 0.8568, 0.8696]),\n",
1414
+ " tensor([0.8419]),\n",
1415
+ " tensor([0.8385]),\n",
1416
+ " tensor([0.8662]),\n",
1417
+ " tensor([0.8648])]"
1418
+ ]
1419
+ },
1420
+ "execution_count": 69,
1421
+ "metadata": {},
1422
+ "output_type": "execute_result"
1423
+ }
1424
+ ],
1425
+ "source": [
1426
+ "cosine_scores_list"
1427
+ ]
1428
+ },
1429
+ {
1430
+ "cell_type": "code",
1431
+ "execution_count": 70,
1432
+ "metadata": {},
1433
+ "outputs": [],
1434
+ "source": [
1435
+ "# 全データのターゲット列をベクトル化\n",
1436
+ "target_list = basedf['Target'].tolist()\n",
1437
+ "\n",
1438
+ "target_vecs = encode_text(target_list)\n",
1439
+ " # コサイン類似度を計算\n",
1440
+ "cosine_scores = torch.nn.functional.cosine_similarity(query_vec, target_vecs)"
1441
+ ]
1442
+ },
1443
+ {
1444
+ "cell_type": "code",
1445
+ "execution_count": 71,
1446
+ "metadata": {},
1447
+ "outputs": [
1448
+ {
1449
+ "data": {
1450
+ "text/html": [
1451
+ "<div>\n",
1452
+ "<style scoped>\n",
1453
+ " .dataframe tbody tr th:only-of-type {\n",
1454
+ " vertical-align: middle;\n",
1455
+ " }\n",
1456
+ "\n",
1457
+ " .dataframe tbody tr th {\n",
1458
+ " vertical-align: top;\n",
1459
+ " }\n",
1460
+ "\n",
1461
+ " .dataframe thead th {\n",
1462
+ " text-align: right;\n",
1463
+ " }\n",
1464
+ "</style>\n",
1465
+ "<table border=\"1\" class=\"dataframe\">\n",
1466
+ " <thead>\n",
1467
+ " <tr style=\"text-align: right;\">\n",
1468
+ " <th></th>\n",
1469
+ " <th>JRCT ID</th>\n",
1470
+ " <th>NCT No</th>\n",
1471
+ " <th>JapicCTI No</th>\n",
1472
+ " <th>Title</th>\n",
1473
+ " <th>Target</th>\n",
1474
+ " <th>研究・治験の目的</th>\n",
1475
+ " <th>試験等のフェーズ</th>\n",
1476
+ " <th>試験の種類</th>\n",
1477
+ " <th>無作為化</th>\n",
1478
+ " <th>盲検化</th>\n",
1479
+ " <th>...</th>\n",
1480
+ " <th>purpose</th>\n",
1481
+ " <th>Inclusion Criteria</th>\n",
1482
+ " <th>Exclusion Criteria</th>\n",
1483
+ " <th>Age Minimum</th>\n",
1484
+ " <th>Age Maximum</th>\n",
1485
+ " <th>Gender</th>\n",
1486
+ " <th>Discontinuation Criteria</th>\n",
1487
+ " <th>Keyword</th>\n",
1488
+ " <th>Intervention(s)</th>\n",
1489
+ " <th>TargetWord</th>\n",
1490
+ " </tr>\n",
1491
+ " </thead>\n",
1492
+ " <tbody>\n",
1493
+ " <tr>\n",
1494
+ " <th>12</th>\n",
1495
+ " <td>jRCT2041240130</td>\n",
1496
+ " <td>NaN</td>\n",
1497
+ " <td>NaN</td>\n",
1498
+ " <td>中等度-高度PONV発症リスクを有する肺切除術予定患者の周術期管理におけるGranisetr...</td>\n",
1499
+ " <td>肺がん</td>\n",
1500
+ " <td>全身麻酔を要する肺切除術周術期における標準制吐療法であるグラニセトロン(Granisetro...</td>\n",
1501
+ " <td>2</td>\n",
1502
+ " <td>NaN</td>\n",
1503
+ " <td>無作為化比較</td>\n",
1504
+ " <td>非盲検</td>\n",
1505
+ " <td>...</td>\n",
1506
+ " <td>treatment purpose</td>\n",
1507
+ " <td>(1) Patients scheduled to undergo anatomical l...</td>\n",
1508
+ " <td>(1) Patients with a history of allergy to the ...</td>\n",
1509
+ " <td>18age old over</td>\n",
1510
+ " <td>No limit</td>\n",
1511
+ " <td>Both</td>\n",
1512
+ " <td>NaN</td>\n",
1513
+ " <td>NaN</td>\n",
1514
+ " <td>Treatment group\\r\\nAdminister GRA 1mg intraven...</td>\n",
1515
+ " <td>[肺がん]</td>\n",
1516
+ " </tr>\n",
1517
+ " <tr>\n",
1518
+ " <th>201</th>\n",
1519
+ " <td>jRCT2052240059</td>\n",
1520
+ " <td>NaN</td>\n",
1521
+ " <td>NaN</td>\n",
1522
+ " <td>遺伝子HSD17B4高メチル化を有するHER2陽性ER陰性乳癌における非手術療法の有用性を評...</td>\n",
1523
+ " <td>乳がん</td>\n",
1524
+ " <td>HSD17B4高メチル化(HSD17B4 hypermethylation:HH)を有するH...</td>\n",
1525
+ " <td>2</td>\n",
1526
+ " <td>NaN</td>\n",
1527
+ " <td>単一群</td>\n",
1528
+ " <td>非盲検</td>\n",
1529
+ " <td>...</td>\n",
1530
+ " <td>diagnostic purpose</td>\n",
1531
+ " <td>1. Histologically confirmed invasive breast ca...</td>\n",
1532
+ " <td>1. History of other malignancy within the last...</td>\n",
1533
+ " <td>20age old over</td>\n",
1534
+ " <td>No limit</td>\n",
1535
+ " <td>Female</td>\n",
1536
+ " <td>NaN</td>\n",
1537
+ " <td>NaN</td>\n",
1538
+ " <td>Omitting breast surgery after preoperative che...</td>\n",
1539
+ " <td>[乳がん]</td>\n",
1540
+ " </tr>\n",
1541
+ " <tr>\n",
1542
+ " <th>279</th>\n",
1543
+ " <td>jRCT2031230723</td>\n",
1544
+ " <td>NCT06112379</td>\n",
1545
+ " <td>NaN</td>\n",
1546
+ " <td>未治療のトリプルネガティブ又はホルモン受容体低発現/HER2陰性乳癌の成人患者を対象として、...</td>\n",
1547
+ " <td>乳癌</td>\n",
1548
+ " <td>未治療のトリプルネガティブ又はホルモン受容体低発現/HER2陰性乳癌の成人患者を対象として、...</td>\n",
1549
+ " <td>3</td>\n",
1550
+ " <td>NaN</td>\n",
1551
+ " <td>無作為化比較</td>\n",
1552
+ " <td>非盲検</td>\n",
1553
+ " <td>...</td>\n",
1554
+ " <td>treatment purpose</td>\n",
1555
+ " <td>1. Participant must be &gt;= 18 years at the time...</td>\n",
1556
+ " <td>1. As judged by the investigator, any evidence...</td>\n",
1557
+ " <td>18age old over</td>\n",
1558
+ " <td>No limit</td>\n",
1559
+ " <td>Both</td>\n",
1560
+ " <td>NaN</td>\n",
1561
+ " <td>NaN</td>\n",
1562
+ " <td>- Experimental arm: Dato-DXd plus durvalumab n...</td>\n",
1563
+ " <td>[乳癌]</td>\n",
1564
+ " </tr>\n",
1565
+ " <tr>\n",
1566
+ " <th>311</th>\n",
1567
+ " <td>jRCT2061230102</td>\n",
1568
+ " <td>NCT06103864</td>\n",
1569
+ " <td>NaN</td>\n",
1570
+ " <td>Programmed death-ligand(PD-L1)陽性の局所再発手術不能又は転移性...</td>\n",
1571
+ " <td>乳癌</td>\n",
1572
+ " <td>PD-L1陽性の局所再発手術不能または転移性TNBC患者を対象に、デュルバルマブ併用または非...</td>\n",
1573
+ " <td>3</td>\n",
1574
+ " <td>NaN</td>\n",
1575
+ " <td>無作為化比較</td>\n",
1576
+ " <td>非盲検</td>\n",
1577
+ " <td>...</td>\n",
1578
+ " <td>treatment purpose</td>\n",
1579
+ " <td>Histologically or cytologically documented loc...</td>\n",
1580
+ " <td>As judged by investigator, severe or uncontrol...</td>\n",
1581
+ " <td>18age old over</td>\n",
1582
+ " <td>No limit</td>\n",
1583
+ " <td>Both</td>\n",
1584
+ " <td>NaN</td>\n",
1585
+ " <td>NaN</td>\n",
1586
+ " <td>Arm 1: Dato-DXd + durvalumab\\r\\nArm 2: Investi...</td>\n",
1587
+ " <td>[乳癌]</td>\n",
1588
+ " </tr>\n",
1589
+ " <tr>\n",
1590
+ " <th>396</th>\n",
1591
+ " <td>jRCT2061230074</td>\n",
1592
+ " <td>NCT05952557</td>\n",
1593
+ " <td>NaN</td>\n",
1594
+ " <td>根治的局所治療(化学療法の併用または非併用)を受けて疾患の兆候のない、再発リスクが中間~高リ...</td>\n",
1595
+ " <td>乳がん、早期乳がん</td>\n",
1596
+ " <td>Treatment</td>\n",
1597
+ " <td>3</td>\n",
1598
+ " <td>NaN</td>\n",
1599
+ " <td>無作為化比較</td>\n",
1600
+ " <td>非盲検</td>\n",
1601
+ " <td>...</td>\n",
1602
+ " <td>treatment purpose</td>\n",
1603
+ " <td>- Women and Men; 18 years or more at the time ...</td>\n",
1604
+ " <td>- Inoperable locally advanced or metastatic br...</td>\n",
1605
+ " <td>18age old over</td>\n",
1606
+ " <td>No limit</td>\n",
1607
+ " <td>NaN</td>\n",
1608
+ " <td>NaN</td>\n",
1609
+ " <td>NaN</td>\n",
1610
+ " <td>arm A: continue with SoC ET as directed by inv...</td>\n",
1611
+ " <td>[乳がん, 早期乳がん]</td>\n",
1612
+ " </tr>\n",
1613
+ " <tr>\n",
1614
+ " <th>509</th>\n",
1615
+ " <td>jRCT2031230109</td>\n",
1616
+ " <td>NCT05514054</td>\n",
1617
+ " <td>NaN</td>\n",
1618
+ " <td>EMBER-4:2~5年間の術後内分泌療法による前治療歴を有する再発高リスクのER+、HER...</td>\n",
1619
+ " <td>乳癌</td>\n",
1620
+ " <td>早期乳癌患者を対象としたimlunestrantと標準的な内分泌療法の比較試験</td>\n",
1621
+ " <td>3</td>\n",
1622
+ " <td>NaN</td>\n",
1623
+ " <td>無作為化比較</td>\n",
1624
+ " <td>非盲検</td>\n",
1625
+ " <td>...</td>\n",
1626
+ " <td>treatment purpose</td>\n",
1627
+ " <td>-Have a diagnosis of ER+, HER2- early-stage, r...</td>\n",
1628
+ " <td>-Have any evidence of metastatic disease (incl...</td>\n",
1629
+ " <td>18age old over</td>\n",
1630
+ " <td>No limit</td>\n",
1631
+ " <td>Both</td>\n",
1632
+ " <td>NaN</td>\n",
1633
+ " <td>NaN</td>\n",
1634
+ " <td>-Drug: Imlunestrant\\r\\n Administered orally.\\...</td>\n",
1635
+ " <td>[乳癌]</td>\n",
1636
+ " </tr>\n",
1637
+ " <tr>\n",
1638
+ " <th>515</th>\n",
1639
+ " <td>jRCT2031230096</td>\n",
1640
+ " <td>NCT05774951</td>\n",
1641
+ " <td>NaN</td>\n",
1642
+ " <td>根治的局所領域療法(化学療法の併用または非併用)および標準補助内分泌療法(ET)を少なくとも...</td>\n",
1643
+ " <td>乳がん、早期乳がん</td>\n",
1644
+ " <td>Treatment</td>\n",
1645
+ " <td>3</td>\n",
1646
+ " <td>NaN</td>\n",
1647
+ " <td>無作為化比較</td>\n",
1648
+ " <td>非盲検</td>\n",
1649
+ " <td>...</td>\n",
1650
+ " <td>treatment purpose</td>\n",
1651
+ " <td>- Women and Men, greater than or equal to 18 y...</td>\n",
1652
+ " <td>- Inoperable locally advanced or metastatic br...</td>\n",
1653
+ " <td>18age old over</td>\n",
1654
+ " <td>No limit</td>\n",
1655
+ " <td>Both</td>\n",
1656
+ " <td>NaN</td>\n",
1657
+ " <td>NaN</td>\n",
1658
+ " <td>arm A: continue with SoC ET as directed by inv...</td>\n",
1659
+ " <td>[乳がん, 早期乳がん]</td>\n",
1660
+ " </tr>\n",
1661
+ " <tr>\n",
1662
+ " <th>610</th>\n",
1663
+ " <td>jRCT2061220087</td>\n",
1664
+ " <td>NCT05629585</td>\n",
1665
+ " <td>NaN</td>\n",
1666
+ " <td>術前薬物療法後の外科的切除時に乳房及び/又は腋窩リンパ節に浸潤性残存病変を有するステージI~...</td>\n",
1667
+ " <td>乳癌</td>\n",
1668
+ " <td>術前薬物療法後の外科的切除時に乳房および/または腋窩リンパ節に浸潤性残存病変を有するI~II...</td>\n",
1669
+ " <td>3</td>\n",
1670
+ " <td>NaN</td>\n",
1671
+ " <td>無作為化比較</td>\n",
1672
+ " <td>非盲検</td>\n",
1673
+ " <td>...</td>\n",
1674
+ " <td>treatment purpose</td>\n",
1675
+ " <td>Participant must be &gt;= 18 years at the time of...</td>\n",
1676
+ " <td>Stage IV (metastatic) TNBC.\\r\\nHistory of prio...</td>\n",
1677
+ " <td>18age old over</td>\n",
1678
+ " <td>130age old under</td>\n",
1679
+ " <td>Both</td>\n",
1680
+ " <td>NaN</td>\n",
1681
+ " <td>NaN</td>\n",
1682
+ " <td>Arm 1: Dato-DXd 6 mg/kg IV Q3W x 8 cycles + Du...</td>\n",
1683
+ " <td>[乳癌]</td>\n",
1684
+ " </tr>\n",
1685
+ " <tr>\n",
1686
+ " <th>693</th>\n",
1687
+ " <td>jRCT2031220276</td>\n",
1688
+ " <td>NCT05307705</td>\n",
1689
+ " <td>NaN</td>\n",
1690
+ " <td>PIK3CA H1047R変異を有する進行乳がん患者及びその他の固形がん患者を対象としたLO...</td>\n",
1691
+ " <td>乳がん</td>\n",
1692
+ " <td>LOXO-783 の単独投与及び他の抗がん剤との併用投与における 第 2 相試験の推奨用量、...</td>\n",
1693
+ " <td>1</td>\n",
1694
+ " <td>NaN</td>\n",
1695
+ " <td>単一群</td>\n",
1696
+ " <td>非盲検</td>\n",
1697
+ " <td>...</td>\n",
1698
+ " <td>treatment purpose</td>\n",
1699
+ " <td>-Have advanced breast cancer or another solid ...</td>\n",
1700
+ " <td>-Medical Conditions\\r\\n -Colorectal cancer\\r\\n...</td>\n",
1701
+ " <td>18age old over</td>\n",
1702
+ " <td>No limit</td>\n",
1703
+ " <td>Both</td>\n",
1704
+ " <td>NaN</td>\n",
1705
+ " <td>NaN</td>\n",
1706
+ " <td>-Drug: LOXO-783\\r\\n Oral\\r\\n Other Name: LY384...</td>\n",
1707
+ " <td>[乳がん]</td>\n",
1708
+ " </tr>\n",
1709
+ " <tr>\n",
1710
+ " <th>865</th>\n",
1711
+ " <td>jRCT2052210099</td>\n",
1712
+ " <td>NaN</td>\n",
1713
+ " <td>NaN</td>\n",
1714
+ " <td>乳がんを有する成人女性及び健康成人女性を対象とした乳房用マイクロ波画像診断装置IGS-000...</td>\n",
1715
+ " <td>乳がん</td>\n",
1716
+ " <td>本治験の目的は,乳がん又はその疑いのある者,並びに乳がん又はその疑いがない者を対象に乳房画像...</td>\n",
1717
+ " <td>2</td>\n",
1718
+ " <td>NaN</td>\n",
1719
+ " <td>単一群</td>\n",
1720
+ " <td>単盲検</td>\n",
1721
+ " <td>...</td>\n",
1722
+ " <td>screening</td>\n",
1723
+ " <td>Breast cancer (including suspected) \\r\\n(1) On...</td>\n",
1724
+ " <td>(1) There is trauma with bleeding on the breas...</td>\n",
1725
+ " <td>20age old over</td>\n",
1726
+ " <td>No limit</td>\n",
1727
+ " <td>Female</td>\n",
1728
+ " <td>NaN</td>\n",
1729
+ " <td>NaN</td>\n",
1730
+ " <td>The test using IGS-0001 will be performed twic...</td>\n",
1731
+ " <td>[乳がん]</td>\n",
1732
+ " </tr>\n",
1733
+ " </tbody>\n",
1734
+ "</table>\n",
1735
+ "<p>10 rows × 39 columns</p>\n",
1736
+ "</div>"
1737
+ ],
1738
+ "text/plain": [
1739
+ " JRCT ID NCT No JapicCTI No \\\n",
1740
+ "12 jRCT2041240130 NaN NaN \n",
1741
+ "201 jRCT2052240059 NaN NaN \n",
1742
+ "279 jRCT2031230723 NCT06112379 NaN \n",
1743
+ "311 jRCT2061230102 NCT06103864 NaN \n",
1744
+ "396 jRCT2061230074 NCT05952557 NaN \n",
1745
+ "509 jRCT2031230109 NCT05514054 NaN \n",
1746
+ "515 jRCT2031230096 NCT05774951 NaN \n",
1747
+ "610 jRCT2061220087 NCT05629585 NaN \n",
1748
+ "693 jRCT2031220276 NCT05307705 NaN \n",
1749
+ "865 jRCT2052210099 NaN NaN \n",
1750
+ "\n",
1751
+ " Title Target \\\n",
1752
+ "12 中等度-高度PONV発症リスクを有する肺切除術予定患者の周術期管理におけるGranisetr... 肺がん \n",
1753
+ "201 遺伝子HSD17B4高メチル化を有するHER2陽性ER陰性乳癌における非手術療法の有用性を評... 乳がん \n",
1754
+ "279 未治療のトリプルネガティブ又はホルモン受容体低発現/HER2陰性乳癌の成人患者を対象として、... 乳癌 \n",
1755
+ "311 Programmed death-ligand(PD-L1)陽性の局所再発手術不能又は転移性... 乳癌 \n",
1756
+ "396 根治的局所治療(化学療法の併用または非併用)を受けて疾患の兆候のない、再発リスクが中間~高リ... 乳がん、早期乳がん \n",
1757
+ "509 EMBER-4:2~5年間の術後内分泌療法による前治療歴を有する再発高リスクのER+、HER... 乳癌 \n",
1758
+ "515 根治的局所領域療法(化学療法の併用または非併用)および標準補助内分泌療法(ET)を少なくとも... 乳がん、早期乳がん \n",
1759
+ "610 術前薬物療法後の外科的切除時に乳房及び/又は腋窩リンパ節に浸潤性残存病変を有するステージI~... 乳癌 \n",
1760
+ "693 PIK3CA H1047R変異を有する進行乳がん患者及びその他の固形がん患者を対象としたLO... 乳がん \n",
1761
+ "865 乳がんを有する成人女性及び健康成人女性を対象とした乳房用マイクロ波画像診断装置IGS-000... 乳がん \n",
1762
+ "\n",
1763
+ " 研究・治験の目的 試験等のフェーズ 試験の種類 無作為化 \\\n",
1764
+ "12 全身麻酔を要する肺切除術周術期における標準制吐療法であるグラニセトロン(Granisetro... 2 NaN 無作為化比較 \n",
1765
+ "201 HSD17B4高メチル化(HSD17B4 hypermethylation:HH)を有するH... 2 NaN 単一群 \n",
1766
+ "279 未治療のトリプルネガティブ又はホルモン受容体低発現/HER2陰性乳癌の成人患者を対象として、... 3 NaN 無作為化比較 \n",
1767
+ "311 PD-L1陽性の局所再発手術不能または転移性TNBC患者を対象に、デュルバルマブ併用または非... 3 NaN 無作為化比較 \n",
1768
+ "396 Treatment 3 NaN 無作為化比較 \n",
1769
+ "509 早期乳癌患者を対象としたimlunestrantと標準的な内分泌療法の比較試験 3 NaN 無作為化比較 \n",
1770
+ "515 Treatment 3 NaN 無作為化比較 \n",
1771
+ "610 術前薬物療法後の外科的切除時に乳房および/または腋窩リンパ節に浸潤性残存病変を有するI~II... 3 NaN 無作為化比較 \n",
1772
+ "693 LOXO-783 の単独投与及び他の抗がん剤との併用投与における 第 2 相試験の推奨用量、... 1 NaN 単一群 \n",
1773
+ "865 本治験の目的は,乳がん又はその疑いのある者,並びに乳がん又はその疑いがない者を対象に乳房画像... 2 NaN 単一群 \n",
1774
+ "\n",
1775
+ " 盲検化 ... purpose \\\n",
1776
+ "12 非盲検 ... treatment purpose \n",
1777
+ "201 非盲検 ... diagnostic purpose \n",
1778
+ "279 非盲検 ... treatment purpose \n",
1779
+ "311 非盲検 ... treatment purpose \n",
1780
+ "396 非盲検 ... treatment purpose \n",
1781
+ "509 非盲検 ... treatment purpose \n",
1782
+ "515 非盲検 ... treatment purpose \n",
1783
+ "610 非盲検 ... treatment purpose \n",
1784
+ "693 非盲検 ... treatment purpose \n",
1785
+ "865 単盲検 ... screening \n",
1786
+ "\n",
1787
+ " Inclusion Criteria \\\n",
1788
+ "12 (1) Patients scheduled to undergo anatomical l... \n",
1789
+ "201 1. Histologically confirmed invasive breast ca... \n",
1790
+ "279 1. Participant must be >= 18 years at the time... \n",
1791
+ "311 Histologically or cytologically documented loc... \n",
1792
+ "396 - Women and Men; 18 years or more at the time ... \n",
1793
+ "509 -Have a diagnosis of ER+, HER2- early-stage, r... \n",
1794
+ "515 - Women and Men, greater than or equal to 18 y... \n",
1795
+ "610 Participant must be >= 18 years at the time of... \n",
1796
+ "693 -Have advanced breast cancer or another solid ... \n",
1797
+ "865 Breast cancer (including suspected) \\r\\n(1) On... \n",
1798
+ "\n",
1799
+ " Exclusion Criteria Age Minimum \\\n",
1800
+ "12 (1) Patients with a history of allergy to the ... 18age old over \n",
1801
+ "201 1. History of other malignancy within the last... 20age old over \n",
1802
+ "279 1. As judged by the investigator, any evidence... 18age old over \n",
1803
+ "311 As judged by investigator, severe or uncontrol... 18age old over \n",
1804
+ "396 - Inoperable locally advanced or metastatic br... 18age old over \n",
1805
+ "509 -Have any evidence of metastatic disease (incl... 18age old over \n",
1806
+ "515 - Inoperable locally advanced or metastatic br... 18age old over \n",
1807
+ "610 Stage IV (metastatic) TNBC.\\r\\nHistory of prio... 18age old over \n",
1808
+ "693 -Medical Conditions\\r\\n -Colorectal cancer\\r\\n... 18age old over \n",
1809
+ "865 (1) There is trauma with bleeding on the breas... 20age old over \n",
1810
+ "\n",
1811
+ " Age Maximum Gender Discontinuation Criteria Keyword \\\n",
1812
+ "12 No limit Both NaN NaN \n",
1813
+ "201 No limit Female NaN NaN \n",
1814
+ "279 No limit Both NaN NaN \n",
1815
+ "311 No limit Both NaN NaN \n",
1816
+ "396 No limit NaN NaN NaN \n",
1817
+ "509 No limit Both NaN NaN \n",
1818
+ "515 No limit Both NaN NaN \n",
1819
+ "610 130age old under Both NaN NaN \n",
1820
+ "693 No limit Both NaN NaN \n",
1821
+ "865 No limit Female NaN NaN \n",
1822
+ "\n",
1823
+ " Intervention(s) TargetWord \n",
1824
+ "12 Treatment group\\r\\nAdminister GRA 1mg intraven... [肺がん] \n",
1825
+ "201 Omitting breast surgery after preoperative che... [乳がん] \n",
1826
+ "279 - Experimental arm: Dato-DXd plus durvalumab n... [乳癌] \n",
1827
+ "311 Arm 1: Dato-DXd + durvalumab\\r\\nArm 2: Investi... [乳癌] \n",
1828
+ "396 arm A: continue with SoC ET as directed by inv... [乳がん, 早期乳がん] \n",
1829
+ "509 -Drug: Imlunestrant\\r\\n Administered orally.\\... [乳癌] \n",
1830
+ "515 arm A: continue with SoC ET as directed by inv... [乳がん, 早期乳がん] \n",
1831
+ "610 Arm 1: Dato-DXd 6 mg/kg IV Q3W x 8 cycles + Du... [乳癌] \n",
1832
+ "693 -Drug: LOXO-783\\r\\n Oral\\r\\n Other Name: LY384... [乳がん] \n",
1833
+ "865 The test using IGS-0001 will be performed twic... [乳がん] \n",
1834
+ "\n",
1835
+ "[10 rows x 39 columns]"
1836
+ ]
1837
+ },
1838
+ "execution_count": 71,
1839
+ "metadata": {},
1840
+ "output_type": "execute_result"
1841
+ }
1842
+ ],
1843
+ "source": [
1844
+ "matched_indices_d = (cosine_scores >= threshold).nonzero().tolist()\n",
1845
+ "# 入れ子リストをフラットなリストに変換\n",
1846
+ "flat_indices_d = [idx[0] for idx in matched_indices_d]\n",
1847
+ "\n",
1848
+ "# 抽出\n",
1849
+ "matched_df_d = basedf.iloc[flat_indices_d]\n",
1850
+ "matched_df_d\n"
1851
+ ]
1852
+ },
1853
+ {
1854
+ "cell_type": "markdown",
1855
+ "metadata": {},
1856
+ "source": []
1857
+ },
1858
+ {
1859
+ "cell_type": "markdown",
1860
+ "metadata": {},
1861
+ "source": [
1862
+ "\n",
1863
+ "\n"
1864
+ ]
1865
+ },
1866
+ {
1867
+ "cell_type": "markdown",
1868
+ "metadata": {},
1869
+ "source": [
1870
+ "\n"
1871
+ ]
1872
+ },
1873
+ {
1874
+ "cell_type": "markdown",
1875
+ "metadata": {},
1876
+ "source": []
1877
+ },
1878
+ {
1879
+ "cell_type": "markdown",
1880
+ "metadata": {},
1881
+ "source": [
1882
+ "\n"
1883
+ ]
1884
+ }
1885
+ ],
1886
+ "metadata": {
1887
+ "kernelspec": {
1888
+ "display_name": "gradio",
1889
+ "language": "python",
1890
+ "name": "python3"
1891
+ },
1892
+ "language_info": {
1893
+ "codemirror_mode": {
1894
+ "name": "ipython",
1895
+ "version": 3
1896
+ },
1897
+ "file_extension": ".py",
1898
+ "mimetype": "text/x-python",
1899
+ "name": "python",
1900
+ "nbconvert_exporter": "python",
1901
+ "pygments_lexer": "ipython3",
1902
+ "version": "3.12.3"
1903
+ }
1904
+ },
1905
+ "nbformat": 4,
1906
+ "nbformat_minor": 2
1907
+ }
dev_JRCT_api/vector_search3.ipynb ADDED
@@ -0,0 +1,943 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "code",
5
+ "execution_count": 1,
6
+ "metadata": {},
7
+ "outputs": [
8
+ {
9
+ "name": "stderr",
10
+ "output_type": "stream",
11
+ "text": [
12
+ "/Users/satoc/miniforge3/envs/gradio/lib/python3.12/site-packages/sentence_transformers/cross_encoder/CrossEncoder.py:13: TqdmExperimentalWarning: Using `tqdm.autonotebook.tqdm` in notebook mode. Use `tqdm.tqdm` instead to force console mode (e.g. in jupyter console)\n",
13
+ " from tqdm.autonotebook import tqdm, trange\n"
14
+ ]
15
+ }
16
+ ],
17
+ "source": [
18
+ "from sentence_transformers import SentenceTransformer, util\n",
19
+ "import pandas as pd\n",
20
+ "import re"
21
+ ]
22
+ },
23
+ {
24
+ "cell_type": "code",
25
+ "execution_count": 2,
26
+ "metadata": {},
27
+ "outputs": [],
28
+ "source": [
29
+ "# Target列を分割する関数\n",
30
+ "def split_target(target):\n",
31
+ " # 指定された区切り文字で分割\n",
32
+ " split_words = re.split(r'[,\\n、・及びおよび又はまたは]+', target)\n",
33
+ " # 空白文字を除外してリストとして返す\n",
34
+ " return [word.strip() for word in split_words if word.strip()]"
35
+ ]
36
+ },
37
+ {
38
+ "cell_type": "code",
39
+ "execution_count": 3,
40
+ "metadata": {},
41
+ "outputs": [],
42
+ "source": [
43
+ "basedf = pd.read_csv('../ClinicalTrialCSV/JRCT20241202Cancer.csv', index_col=0)\n",
44
+ "basedf = basedf.dropna(subset=['試験等のフェーズ'])\n",
45
+ "# Target列を分割してTargetWord列を追加\n",
46
+ "basedf['TargetWord'] = basedf['Target'].apply(split_target)"
47
+ ]
48
+ },
49
+ {
50
+ "cell_type": "code",
51
+ "execution_count": 4,
52
+ "metadata": {},
53
+ "outputs": [
54
+ {
55
+ "data": {
56
+ "application/vnd.jupyter.widget-view+json": {
57
+ "model_id": "5ae79a392bff4b6284636dc3fae01e9e",
58
+ "version_major": 2,
59
+ "version_minor": 0
60
+ },
61
+ "text/plain": [
62
+ "modules.json: 0%| | 0.00/229 [00:00<?, ?B/s]"
63
+ ]
64
+ },
65
+ "metadata": {},
66
+ "output_type": "display_data"
67
+ },
68
+ {
69
+ "data": {
70
+ "application/vnd.jupyter.widget-view+json": {
71
+ "model_id": "d77922c7458f4888b48b689b9e150b1d",
72
+ "version_major": 2,
73
+ "version_minor": 0
74
+ },
75
+ "text/plain": [
76
+ "config_sentence_transformers.json: 0%| | 0.00/201 [00:00<?, ?B/s]"
77
+ ]
78
+ },
79
+ "metadata": {},
80
+ "output_type": "display_data"
81
+ },
82
+ {
83
+ "data": {
84
+ "application/vnd.jupyter.widget-view+json": {
85
+ "model_id": "833ce903e16b40dfb4ef29a71c56f888",
86
+ "version_major": 2,
87
+ "version_minor": 0
88
+ },
89
+ "text/plain": [
90
+ "README.md: 0%| | 0.00/9.63k [00:00<?, ?B/s]"
91
+ ]
92
+ },
93
+ "metadata": {},
94
+ "output_type": "display_data"
95
+ },
96
+ {
97
+ "data": {
98
+ "application/vnd.jupyter.widget-view+json": {
99
+ "model_id": "de2121e1cd8045aabfbc47e200f069be",
100
+ "version_major": 2,
101
+ "version_minor": 0
102
+ },
103
+ "text/plain": [
104
+ "sentence_bert_config.json: 0%| | 0.00/54.0 [00:00<?, ?B/s]"
105
+ ]
106
+ },
107
+ "metadata": {},
108
+ "output_type": "display_data"
109
+ },
110
+ {
111
+ "data": {
112
+ "application/vnd.jupyter.widget-view+json": {
113
+ "model_id": "8f4b2b0060b2464282008cb21b24e77e",
114
+ "version_major": 2,
115
+ "version_minor": 0
116
+ },
117
+ "text/plain": [
118
+ "config.json: 0%| | 0.00/975 [00:00<?, ?B/s]"
119
+ ]
120
+ },
121
+ "metadata": {},
122
+ "output_type": "display_data"
123
+ },
124
+ {
125
+ "data": {
126
+ "application/vnd.jupyter.widget-view+json": {
127
+ "model_id": "7b02beb2a3624815b7a19c6f728ad3d8",
128
+ "version_major": 2,
129
+ "version_minor": 0
130
+ },
131
+ "text/plain": [
132
+ "configuration_retrieva_bert.py: 0%| | 0.00/6.56k [00:00<?, ?B/s]"
133
+ ]
134
+ },
135
+ "metadata": {},
136
+ "output_type": "display_data"
137
+ },
138
+ {
139
+ "name": "stderr",
140
+ "output_type": "stream",
141
+ "text": [
142
+ "A new version of the following files was downloaded from https://huggingface.co/pkshatech/RoSEtta-base:\n",
143
+ "- configuration_retrieva_bert.py\n",
144
+ ". Make sure to double-check they do not contain any added malicious code. To avoid downloading new versions of the code file, you can pin a revision.\n"
145
+ ]
146
+ },
147
+ {
148
+ "data": {
149
+ "application/vnd.jupyter.widget-view+json": {
150
+ "model_id": "3633bdeaf5bc4c389cdae1c0c3ce75a8",
151
+ "version_major": 2,
152
+ "version_minor": 0
153
+ },
154
+ "text/plain": [
155
+ "retrieva_modeling.py: 0%| | 0.00/72.9k [00:00<?, ?B/s]"
156
+ ]
157
+ },
158
+ "metadata": {},
159
+ "output_type": "display_data"
160
+ },
161
+ {
162
+ "name": "stderr",
163
+ "output_type": "stream",
164
+ "text": [
165
+ "A new version of the following files was downloaded from https://huggingface.co/pkshatech/RoSEtta-base:\n",
166
+ "- retrieva_modeling.py\n",
167
+ ". Make sure to double-check they do not contain any added malicious code. To avoid downloading new versions of the code file, you can pin a revision.\n"
168
+ ]
169
+ },
170
+ {
171
+ "data": {
172
+ "application/vnd.jupyter.widget-view+json": {
173
+ "model_id": "54456e42adbb4d4a834a2faa94beab6c",
174
+ "version_major": 2,
175
+ "version_minor": 0
176
+ },
177
+ "text/plain": [
178
+ "model.safetensors: 0%| | 0.00/762M [00:00<?, ?B/s]"
179
+ ]
180
+ },
181
+ "metadata": {},
182
+ "output_type": "display_data"
183
+ },
184
+ {
185
+ "data": {
186
+ "application/vnd.jupyter.widget-view+json": {
187
+ "model_id": "aeb5faf6c37640f787095938c707356c",
188
+ "version_major": 2,
189
+ "version_minor": 0
190
+ },
191
+ "text/plain": [
192
+ "tokenizer_config.json: 0%| | 0.00/2.08k [00:00<?, ?B/s]"
193
+ ]
194
+ },
195
+ "metadata": {},
196
+ "output_type": "display_data"
197
+ },
198
+ {
199
+ "data": {
200
+ "application/vnd.jupyter.widget-view+json": {
201
+ "model_id": "7844a7d1ac894faead53ab8bdb3a61d0",
202
+ "version_major": 2,
203
+ "version_minor": 0
204
+ },
205
+ "text/plain": [
206
+ "tokenizer.json: 0%| | 0.00/6.41M [00:00<?, ?B/s]"
207
+ ]
208
+ },
209
+ "metadata": {},
210
+ "output_type": "display_data"
211
+ },
212
+ {
213
+ "data": {
214
+ "application/vnd.jupyter.widget-view+json": {
215
+ "model_id": "c793b2ab45f84faa8386abc875b0c153",
216
+ "version_major": 2,
217
+ "version_minor": 0
218
+ },
219
+ "text/plain": [
220
+ "special_tokens_map.json: 0%| | 0.00/1.07k [00:00<?, ?B/s]"
221
+ ]
222
+ },
223
+ "metadata": {},
224
+ "output_type": "display_data"
225
+ },
226
+ {
227
+ "data": {
228
+ "application/vnd.jupyter.widget-view+json": {
229
+ "model_id": "932a623910b146e2b7bbf01bc8262c9d",
230
+ "version_major": 2,
231
+ "version_minor": 0
232
+ },
233
+ "text/plain": [
234
+ "1_Pooling/config.json: 0%| | 0.00/296 [00:00<?, ?B/s]"
235
+ ]
236
+ },
237
+ "metadata": {},
238
+ "output_type": "display_data"
239
+ }
240
+ ],
241
+ "source": [
242
+ "# モデルのロード\n",
243
+ "model = SentenceTransformer(\"pkshatech/RoSEtta-base\", trust_remote_code=True)"
244
+ ]
245
+ },
246
+ {
247
+ "cell_type": "code",
248
+ "execution_count": 55,
249
+ "metadata": {},
250
+ "outputs": [],
251
+ "source": [
252
+ "# クエリ\n",
253
+ "#query = \"乳がん\"\n",
254
+ "query = \"神経膠腫\"\n",
255
+ "threshold = 0.8\n",
256
+ "#threshold = 0.675\n",
257
+ "# クエリをベクトル化\n",
258
+ "query_vec = model.encode(query, convert_to_tensor=True)\n"
259
+ ]
260
+ },
261
+ {
262
+ "cell_type": "code",
263
+ "execution_count": 56,
264
+ "metadata": {},
265
+ "outputs": [
266
+ {
267
+ "data": {
268
+ "text/html": [
269
+ "<div>\n",
270
+ "<style scoped>\n",
271
+ " .dataframe tbody tr th:only-of-type {\n",
272
+ " vertical-align: middle;\n",
273
+ " }\n",
274
+ "\n",
275
+ " .dataframe tbody tr th {\n",
276
+ " vertical-align: top;\n",
277
+ " }\n",
278
+ "\n",
279
+ " .dataframe thead th {\n",
280
+ " text-align: right;\n",
281
+ " }\n",
282
+ "</style>\n",
283
+ "<table border=\"1\" class=\"dataframe\">\n",
284
+ " <thead>\n",
285
+ " <tr style=\"text-align: right;\">\n",
286
+ " <th></th>\n",
287
+ " <th>JRCT ID</th>\n",
288
+ " <th>NCT No</th>\n",
289
+ " <th>JapicCTI No</th>\n",
290
+ " <th>Title</th>\n",
291
+ " <th>Target</th>\n",
292
+ " <th>研究・治験の目的</th>\n",
293
+ " <th>試験等のフェーズ</th>\n",
294
+ " <th>試験の種類</th>\n",
295
+ " <th>無作為化</th>\n",
296
+ " <th>盲検化</th>\n",
297
+ " <th>...</th>\n",
298
+ " <th>purpose</th>\n",
299
+ " <th>Inclusion Criteria</th>\n",
300
+ " <th>Exclusion Criteria</th>\n",
301
+ " <th>Age Minimum</th>\n",
302
+ " <th>Age Maximum</th>\n",
303
+ " <th>Gender</th>\n",
304
+ " <th>Discontinuation Criteria</th>\n",
305
+ " <th>Keyword</th>\n",
306
+ " <th>Intervention(s)</th>\n",
307
+ " <th>TargetWord</th>\n",
308
+ " </tr>\n",
309
+ " </thead>\n",
310
+ " <tbody>\n",
311
+ " <tr>\n",
312
+ " <th>72</th>\n",
313
+ " <td>jRCT2051240141</td>\n",
314
+ " <td>NCT05580562</td>\n",
315
+ " <td>NaN</td>\n",
316
+ " <td>新たに診断され放射線療法を完了したH3 K27M変異を有するびまん性神経膠腫の治療のためのO...</td>\n",
317
+ " <td>H3 K27M 変異を有する初発びまん性神経膠腫</td>\n",
318
+ " <td>H3 K27M変異びまん性神経膠腫を有する被験者を対象に、放射線療法後に投与されたONC20...</td>\n",
319
+ " <td>3</td>\n",
320
+ " <td>NaN</td>\n",
321
+ " <td>無作為化比較</td>\n",
322
+ " <td>二重盲検</td>\n",
323
+ " <td>...</td>\n",
324
+ " <td>treatment purpose</td>\n",
325
+ " <td>1. Able to understand the study procedures and...</td>\n",
326
+ " <td>1. Primary spinal tumor.\\r\\n2. Diffuse intrins...</td>\n",
327
+ " <td>No limit</td>\n",
328
+ " <td>No limit</td>\n",
329
+ " <td>NaN</td>\n",
330
+ " <td>NaN</td>\n",
331
+ " <td>NaN</td>\n",
332
+ " <td>Participants will be randomized at baseline in...</td>\n",
333
+ " <td>[H3 K27M 変異を有する初発, ん性神経膠腫]</td>\n",
334
+ " </tr>\n",
335
+ " <tr>\n",
336
+ " <th>103</th>\n",
337
+ " <td>jRCT2051240121</td>\n",
338
+ " <td>NCT06413706</td>\n",
339
+ " <td>NaN</td>\n",
340
+ " <td>放射線療法後の悪性神経膠腫の小児および若年成人を対象に、アベマシクリブ+テモゾロミドとテモゾ...</td>\n",
341
+ " <td>悪性神経膠腫</td>\n",
342
+ " <td>放射線療法後の悪性神経膠腫を有する小児および若年成人を対象に、アベマシクリブとテモゾロミドの...</td>\n",
343
+ " <td>2</td>\n",
344
+ " <td>NaN</td>\n",
345
+ " <td>無作為化比較</td>\n",
346
+ " <td>非盲検</td>\n",
347
+ " <td>...</td>\n",
348
+ " <td>treatment purpose</td>\n",
349
+ " <td>Subjects required to meet all the folloiwng cr...</td>\n",
350
+ " <td>Patients who meets any of the following criter...</td>\n",
351
+ " <td>No limit</td>\n",
352
+ " <td>21age old not</td>\n",
353
+ " <td>NaN</td>\n",
354
+ " <td>NaN</td>\n",
355
+ " <td>NaN</td>\n",
356
+ " <td>Drug: Abemaciclib\\r\\nAdministered orally\\r\\nOt...</td>\n",
357
+ " <td>[悪性神経膠腫]</td>\n",
358
+ " </tr>\n",
359
+ " <tr>\n",
360
+ " <th>224</th>\n",
361
+ " <td>jRCT2031240090</td>\n",
362
+ " <td>NaN</td>\n",
363
+ " <td>NaN</td>\n",
364
+ " <td>再発悪性神経膠腫に対する治療用放射性薬剤64Cu-ATSMの有効性を検証するランダム化比較医...</td>\n",
365
+ " <td>悪性神経膠腫</td>\n",
366
+ " <td>再発・難治性悪性神経膠腫を対象として、64Cu-diacetyl-bis(N4-methyl...</td>\n",
367
+ " <td>3</td>\n",
368
+ " <td>NaN</td>\n",
369
+ " <td>無作為化比較</td>\n",
370
+ " <td>非盲検</td>\n",
371
+ " <td>...</td>\n",
372
+ " <td>treatment purpose</td>\n",
373
+ " <td>1) Histologically diagnosed as high grade glio...</td>\n",
374
+ " <td>1) Have a history or merger of other malignanc...</td>\n",
375
+ " <td>18age old over</td>\n",
376
+ " <td>75age old under</td>\n",
377
+ " <td>Both</td>\n",
378
+ " <td>NaN</td>\n",
379
+ " <td>glioblastoma, grade3/4 astrocytoma, grade3 oli...</td>\n",
380
+ " <td>Group A: BPC Therapy\\r\\nDepending on the patie...</td>\n",
381
+ " <td>[悪性神経膠腫]</td>\n",
382
+ " </tr>\n",
383
+ " <tr>\n",
384
+ " <th>473</th>\n",
385
+ " <td>jRCT2051230069</td>\n",
386
+ " <td>NaN</td>\n",
387
+ " <td>NaN</td>\n",
388
+ " <td>神経膠腫患者に対するロムスチン療法とプロカルバジン、ロムスチン、ビンクリスチン併⽤療法の安全...</td>\n",
389
+ " <td>神経膠腫</td>\n",
390
+ " <td>神経膠腫患者におけるロムスチン療法とプロカルバジン、ロムスチン、ビンクリスチン併⽤療法の安全...</td>\n",
391
+ " <td>1</td>\n",
392
+ " <td>NaN</td>\n",
393
+ " <td>単一群</td>\n",
394
+ " <td>非盲検</td>\n",
395
+ " <td>...</td>\n",
396
+ " <td>treatment purpose</td>\n",
397
+ " <td>&lt;Cohort 1&gt;\\r\\n All of the following items shal...</td>\n",
398
+ " <td>&lt;Common to Cohort 1 and Cohort 2&gt;\\r\\n1) Active...</td>\n",
399
+ " <td>18age old over</td>\n",
400
+ " <td>No limit</td>\n",
401
+ " <td>Both</td>\n",
402
+ " <td>NaN</td>\n",
403
+ " <td>NaN</td>\n",
404
+ " <td>&lt;cohort1&gt;\\r\\nLomustine 130 mg/m2 orally every ...</td>\n",
405
+ " <td>[神経膠腫]</td>\n",
406
+ " </tr>\n",
407
+ " <tr>\n",
408
+ " <th>549</th>\n",
409
+ " <td>jRCT2031230007</td>\n",
410
+ " <td>NaN</td>\n",
411
+ " <td>NaN</td>\n",
412
+ " <td>BRAF融合遺伝子陽性の進行・再発の低悪性度神経膠腫または膵癌に対するビニメチニブの第Ⅱ相医...</td>\n",
413
+ " <td>低悪性度神経膠腫、膵癌</td>\n",
414
+ " <td>BRAF融合遺伝子または遺伝子再構成陽性の切除不能または再発の低悪性度神経膠腫(コホート A...</td>\n",
415
+ " <td>2</td>\n",
416
+ " <td>NaN</td>\n",
417
+ " <td>単一群</td>\n",
418
+ " <td>非盲検</td>\n",
419
+ " <td>...</td>\n",
420
+ " <td>treatment purpose</td>\n",
421
+ " <td>Inclusion criteria for both cohort A and B\\r\\n...</td>\n",
422
+ " <td>1) Active double primary cancer (but not (1)-(...</td>\n",
423
+ " <td>12age old over</td>\n",
424
+ " <td>No limit</td>\n",
425
+ " <td>Both</td>\n",
426
+ " <td>NaN</td>\n",
427
+ " <td>BRAF fusion gene, BRAF rearrangement, low-grad...</td>\n",
428
+ " <td>Binimetinib is administered 45 mg orally, twic...</td>\n",
429
+ " <td>[低悪性度神経膠腫, 膵癌]</td>\n",
430
+ " </tr>\n",
431
+ " <tr>\n",
432
+ " <th>875</th>\n",
433
+ " <td>jRCT2031210299</td>\n",
434
+ " <td>NaN</td>\n",
435
+ " <td>NaN</td>\n",
436
+ " <td>再発悪性神経膠腫患者を対象としたDSP-0390の第1相試験</td>\n",
437
+ " <td>再発悪性神経膠腫</td>\n",
438
+ " <td>再発悪性神経膠腫患者を対象にDSP-0390を経口投与したときの安全性、薬物動態、薬力学及び...</td>\n",
439
+ " <td>1</td>\n",
440
+ " <td>NaN</td>\n",
441
+ " <td>単一群</td>\n",
442
+ " <td>非盲検</td>\n",
443
+ " <td>...</td>\n",
444
+ " <td>treatment purpose</td>\n",
445
+ " <td>1.\\tEstimated life expectancy &gt;= 3 months\\r\\n2...</td>\n",
446
+ " <td>1.\\tPrior therapy with bevacizumab or other an...</td>\n",
447
+ " <td>18age old over</td>\n",
448
+ " <td>No limit</td>\n",
449
+ " <td>Both</td>\n",
450
+ " <td>NaN</td>\n",
451
+ " <td>NaN</td>\n",
452
+ " <td>Patients will receive DSP-0390 orally once dai...</td>\n",
453
+ " <td>[再発悪性神経膠腫]</td>\n",
454
+ " </tr>\n",
455
+ " <tr>\n",
456
+ " <th>981</th>\n",
457
+ " <td>jRCT2031200153</td>\n",
458
+ " <td>NaN</td>\n",
459
+ " <td>NaN</td>\n",
460
+ " <td>Cellm-001による初発膠芽腫治療効果無作為比較対照試験</td>\n",
461
+ " <td>膠芽腫</td>\n",
462
+ " <td>脳腫瘍のうち、初発悪性膠芽腫に対する自家脳腫瘍免疫賦活剤であるCellm-001について、術...</td>\n",
463
+ " <td>3</td>\n",
464
+ " <td>NaN</td>\n",
465
+ " <td>無作為化比較</td>\n",
466
+ " <td>二重盲検</td>\n",
467
+ " <td>...</td>\n",
468
+ " <td>treatment purpose</td>\n",
469
+ " <td>(1) 18 years old or older and 75 years old or ...</td>\n",
470
+ " <td>(1) Systemic administration of corticosteroids...</td>\n",
471
+ " <td>18age old over</td>\n",
472
+ " <td>75age old under</td>\n",
473
+ " <td>Both</td>\n",
474
+ " <td>NaN</td>\n",
475
+ " <td>NaN</td>\n",
476
+ " <td>Inject the investigational drug (Cellm-001 or ...</td>\n",
477
+ " <td>[膠芽腫]</td>\n",
478
+ " </tr>\n",
479
+ " </tbody>\n",
480
+ "</table>\n",
481
+ "<p>7 rows × 39 columns</p>\n",
482
+ "</div>"
483
+ ],
484
+ "text/plain": [
485
+ " JRCT ID NCT No JapicCTI No \\\n",
486
+ "72 jRCT2051240141 NCT05580562 NaN \n",
487
+ "103 jRCT2051240121 NCT06413706 NaN \n",
488
+ "224 jRCT2031240090 NaN NaN \n",
489
+ "473 jRCT2051230069 NaN NaN \n",
490
+ "549 jRCT2031230007 NaN NaN \n",
491
+ "875 jRCT2031210299 NaN NaN \n",
492
+ "981 jRCT2031200153 NaN NaN \n",
493
+ "\n",
494
+ " Title \\\n",
495
+ "72 新たに診断され放射線療法を完了したH3 K27M変異を有するびまん性神経膠腫の治療のためのO... \n",
496
+ "103 放射線療法後の悪性神経膠腫の小児および若年成人を対象に、アベマシクリブ+テモゾロミドとテモゾ... \n",
497
+ "224 再発悪性神経膠腫に対する治療用放射性薬剤64Cu-ATSMの有効性を検証するランダム化比較医... \n",
498
+ "473 神経膠腫患者に対するロムスチン療法とプロカルバジン、ロムスチン、ビンクリスチン併⽤療法の安全... \n",
499
+ "549 BRAF融合遺伝子陽性の進行・再発の低悪性度神経膠腫または膵癌に対するビニメチニブの第Ⅱ相医... \n",
500
+ "875 再発悪性神経膠腫患者を対象としたDSP-0390の第1相試験 \n",
501
+ "981 Cellm-001による初発膠芽腫治療効果無作為比較対照試験 \n",
502
+ "\n",
503
+ " Target \\\n",
504
+ "72 H3 K27M 変異を有する初発びまん性神経膠腫 \n",
505
+ "103 悪性神経膠腫 \n",
506
+ "224 悪性神経膠腫 \n",
507
+ "473 神経膠腫 \n",
508
+ "549 低悪性度神経膠腫、膵癌 \n",
509
+ "875 再発悪性神経膠腫 \n",
510
+ "981 膠芽腫 \n",
511
+ "\n",
512
+ " 研究・治験の目的 試験等のフェーズ 試験の種類 無作為化 \\\n",
513
+ "72 H3 K27M変異びまん性神経膠腫を有する被験者を対象に、放射線療法後に投与されたONC20... 3 NaN 無作為化比較 \n",
514
+ "103 放射線療法後の悪性神経膠腫を有する小児および若年成人を対象に、アベマシクリブとテモゾロミドの... 2 NaN 無作為化比較 \n",
515
+ "224 再発・難治性悪性神経膠腫を対象として、64Cu-diacetyl-bis(N4-methyl... 3 NaN 無作為化比較 \n",
516
+ "473 神経膠腫患者におけるロムスチン療法とプロカルバジン、ロムスチン、ビンクリスチン併⽤療法の安全... 1 NaN 単一群 \n",
517
+ "549 BRAF融合遺伝子または遺伝子再構成陽性の切除不能または再発の低悪性度神経膠腫(コホート A... 2 NaN 単一群 \n",
518
+ "875 再発悪性神経膠腫患者を対象にDSP-0390を経口投与したときの安全性、薬物動態、薬力学及び... 1 NaN 単一群 \n",
519
+ "981 脳腫瘍のうち、初発悪性膠芽腫に対する自家脳腫瘍免疫賦活剤であるCellm-001について、術... 3 NaN 無作為化比較 \n",
520
+ "\n",
521
+ " 盲検化 ... purpose \\\n",
522
+ "72 二重盲検 ... treatment purpose \n",
523
+ "103 非盲検 ... treatment purpose \n",
524
+ "224 非盲検 ... treatment purpose \n",
525
+ "473 非盲検 ... treatment purpose \n",
526
+ "549 非盲検 ... treatment purpose \n",
527
+ "875 非盲検 ... treatment purpose \n",
528
+ "981 二重盲検 ... treatment purpose \n",
529
+ "\n",
530
+ " Inclusion Criteria \\\n",
531
+ "72 1. Able to understand the study procedures and... \n",
532
+ "103 Subjects required to meet all the folloiwng cr... \n",
533
+ "224 1) Histologically diagnosed as high grade glio... \n",
534
+ "473 <Cohort 1>\\r\\n All of the following items shal... \n",
535
+ "549 Inclusion criteria for both cohort A and B\\r\\n... \n",
536
+ "875 1.\\tEstimated life expectancy >= 3 months\\r\\n2... \n",
537
+ "981 (1) 18 years old or older and 75 years old or ... \n",
538
+ "\n",
539
+ " Exclusion Criteria Age Minimum \\\n",
540
+ "72 1. Primary spinal tumor.\\r\\n2. Diffuse intrins... No limit \n",
541
+ "103 Patients who meets any of the following criter... No limit \n",
542
+ "224 1) Have a history or merger of other malignanc... 18age old over \n",
543
+ "473 <Common to Cohort 1 and Cohort 2>\\r\\n1) Active... 18age old over \n",
544
+ "549 1) Active double primary cancer (but not (1)-(... 12age old over \n",
545
+ "875 1.\\tPrior therapy with bevacizumab or other an... 18age old over \n",
546
+ "981 (1) Systemic administration of corticosteroids... 18age old over \n",
547
+ "\n",
548
+ " Age Maximum Gender Discontinuation Criteria \\\n",
549
+ "72 No limit NaN NaN \n",
550
+ "103 21age old not NaN NaN \n",
551
+ "224 75age old under Both NaN \n",
552
+ "473 No limit Both NaN \n",
553
+ "549 No limit Both NaN \n",
554
+ "875 No limit Both NaN \n",
555
+ "981 75age old under Both NaN \n",
556
+ "\n",
557
+ " Keyword \\\n",
558
+ "72 NaN \n",
559
+ "103 NaN \n",
560
+ "224 glioblastoma, grade3/4 astrocytoma, grade3 oli... \n",
561
+ "473 NaN \n",
562
+ "549 BRAF fusion gene, BRAF rearrangement, low-grad... \n",
563
+ "875 NaN \n",
564
+ "981 NaN \n",
565
+ "\n",
566
+ " Intervention(s) \\\n",
567
+ "72 Participants will be randomized at baseline in... \n",
568
+ "103 Drug: Abemaciclib\\r\\nAdministered orally\\r\\nOt... \n",
569
+ "224 Group A: BPC Therapy\\r\\nDepending on the patie... \n",
570
+ "473 <cohort1>\\r\\nLomustine 130 mg/m2 orally every ... \n",
571
+ "549 Binimetinib is administered 45 mg orally, twic... \n",
572
+ "875 Patients will receive DSP-0390 orally once dai... \n",
573
+ "981 Inject the investigational drug (Cellm-001 or ... \n",
574
+ "\n",
575
+ " TargetWord \n",
576
+ "72 [H3 K27M 変異を有する初発, ん性神経膠腫] \n",
577
+ "103 [悪性神経膠腫] \n",
578
+ "224 [悪性神経膠腫] \n",
579
+ "473 [神経膠腫] \n",
580
+ "549 [低悪性度神経膠腫, 膵癌] \n",
581
+ "875 [再発悪性神経膠腫] \n",
582
+ "981 [膠芽腫] \n",
583
+ "\n",
584
+ "[7 rows x 39 columns]"
585
+ ]
586
+ },
587
+ "execution_count": 56,
588
+ "metadata": {},
589
+ "output_type": "execute_result"
590
+ }
591
+ ],
592
+ "source": [
593
+ "# ターゲットリスト全体を処理\n",
594
+ "matched_indices = []\n",
595
+ "target_vecs_list = []\n",
596
+ "cosine_scores_list = []\n",
597
+ "for idx, target_words in enumerate(basedf['TargetWord']):\n",
598
+ " # ターゲット内の各単語をベクトル化\n",
599
+ " target_vecs = model.encode(target_words, convert_to_tensor=True)\n",
600
+ " # コサイン類似度を計算\n",
601
+ " cosine_scores = util.cos_sim(query_vec, target_vecs).squeeze()\n",
602
+ " target_vecs_list.append(target_vecs)\n",
603
+ " cosine_scores_list.append(cosine_scores)\n",
604
+ " # 閾値を超えるか確認\n",
605
+ " if (cosine_scores >= threshold).any(): # いずれかが閾値を超えている場合\n",
606
+ " matched_indices.append(idx)\n",
607
+ "\n",
608
+ "# 抽出\n",
609
+ "matched_df = basedf.iloc[matched_indices]\n",
610
+ "matched_df"
611
+ ]
612
+ },
613
+ {
614
+ "cell_type": "code",
615
+ "execution_count": 57,
616
+ "metadata": {},
617
+ "outputs": [],
618
+ "source": [
619
+ "# 全データのターゲット列をベクトル化\n",
620
+ "target_list = basedf['Target'].tolist()\n",
621
+ "target_vecs = model.encode(target_list, convert_to_tensor=True)\n",
622
+ "# コサイン類似度を計算\n",
623
+ "cosine_scores = util.cos_sim(query_vec, target_vecs).squeeze()"
624
+ ]
625
+ },
626
+ {
627
+ "cell_type": "code",
628
+ "execution_count": 58,
629
+ "metadata": {},
630
+ "outputs": [
631
+ {
632
+ "data": {
633
+ "text/html": [
634
+ "<div>\n",
635
+ "<style scoped>\n",
636
+ " .dataframe tbody tr th:only-of-type {\n",
637
+ " vertical-align: middle;\n",
638
+ " }\n",
639
+ "\n",
640
+ " .dataframe tbody tr th {\n",
641
+ " vertical-align: top;\n",
642
+ " }\n",
643
+ "\n",
644
+ " .dataframe thead th {\n",
645
+ " text-align: right;\n",
646
+ " }\n",
647
+ "</style>\n",
648
+ "<table border=\"1\" class=\"dataframe\">\n",
649
+ " <thead>\n",
650
+ " <tr style=\"text-align: right;\">\n",
651
+ " <th></th>\n",
652
+ " <th>JRCT ID</th>\n",
653
+ " <th>NCT No</th>\n",
654
+ " <th>JapicCTI No</th>\n",
655
+ " <th>Title</th>\n",
656
+ " <th>Target</th>\n",
657
+ " <th>研究・治験の目的</th>\n",
658
+ " <th>試験等のフェーズ</th>\n",
659
+ " <th>試験の種類</th>\n",
660
+ " <th>無作為化</th>\n",
661
+ " <th>盲検化</th>\n",
662
+ " <th>...</th>\n",
663
+ " <th>purpose</th>\n",
664
+ " <th>Inclusion Criteria</th>\n",
665
+ " <th>Exclusion Criteria</th>\n",
666
+ " <th>Age Minimum</th>\n",
667
+ " <th>Age Maximum</th>\n",
668
+ " <th>Gender</th>\n",
669
+ " <th>Discontinuation Criteria</th>\n",
670
+ " <th>Keyword</th>\n",
671
+ " <th>Intervention(s)</th>\n",
672
+ " <th>TargetWord</th>\n",
673
+ " </tr>\n",
674
+ " </thead>\n",
675
+ " <tbody>\n",
676
+ " <tr>\n",
677
+ " <th>103</th>\n",
678
+ " <td>jRCT2051240121</td>\n",
679
+ " <td>NCT06413706</td>\n",
680
+ " <td>NaN</td>\n",
681
+ " <td>放射線療法後の悪性神経膠腫の小児および若年成人を対象に、アベマシクリブ+テモゾロミドとテモゾ...</td>\n",
682
+ " <td>悪性神経膠腫</td>\n",
683
+ " <td>放射線療法後の悪性神経膠腫を有する小児および若年成人を対象に、アベマシクリブとテモゾロミドの...</td>\n",
684
+ " <td>2</td>\n",
685
+ " <td>NaN</td>\n",
686
+ " <td>無作為化比較</td>\n",
687
+ " <td>非盲検</td>\n",
688
+ " <td>...</td>\n",
689
+ " <td>treatment purpose</td>\n",
690
+ " <td>Subjects required to meet all the folloiwng cr...</td>\n",
691
+ " <td>Patients who meets any of the following criter...</td>\n",
692
+ " <td>No limit</td>\n",
693
+ " <td>21age old not</td>\n",
694
+ " <td>NaN</td>\n",
695
+ " <td>NaN</td>\n",
696
+ " <td>NaN</td>\n",
697
+ " <td>Drug: Abemaciclib\\r\\nAdministered orally\\r\\nOt...</td>\n",
698
+ " <td>[悪性神経膠腫]</td>\n",
699
+ " </tr>\n",
700
+ " <tr>\n",
701
+ " <th>224</th>\n",
702
+ " <td>jRCT2031240090</td>\n",
703
+ " <td>NaN</td>\n",
704
+ " <td>NaN</td>\n",
705
+ " <td>再発悪性神経膠腫に対する治療用放射性薬剤64Cu-ATSMの有効性を検証するランダム化比較医...</td>\n",
706
+ " <td>悪性神経膠腫</td>\n",
707
+ " <td>再発・難治性悪性神経膠腫を対象として、64Cu-diacetyl-bis(N4-methyl...</td>\n",
708
+ " <td>3</td>\n",
709
+ " <td>NaN</td>\n",
710
+ " <td>無作為化比較</td>\n",
711
+ " <td>非盲検</td>\n",
712
+ " <td>...</td>\n",
713
+ " <td>treatment purpose</td>\n",
714
+ " <td>1) Histologically diagnosed as high grade glio...</td>\n",
715
+ " <td>1) Have a history or merger of other malignanc...</td>\n",
716
+ " <td>18age old over</td>\n",
717
+ " <td>75age old under</td>\n",
718
+ " <td>Both</td>\n",
719
+ " <td>NaN</td>\n",
720
+ " <td>glioblastoma, grade3/4 astrocytoma, grade3 oli...</td>\n",
721
+ " <td>Group A: BPC Therapy\\r\\nDepending on the patie...</td>\n",
722
+ " <td>[悪性神経膠腫]</td>\n",
723
+ " </tr>\n",
724
+ " <tr>\n",
725
+ " <th>473</th>\n",
726
+ " <td>jRCT2051230069</td>\n",
727
+ " <td>NaN</td>\n",
728
+ " <td>NaN</td>\n",
729
+ " <td>神経膠腫患者に対するロムスチン療法とプロカルバジン、ロムスチン、ビンクリスチン併⽤療法の安全...</td>\n",
730
+ " <td>神経膠腫</td>\n",
731
+ " <td>神経膠腫患者におけるロムスチン療法とプロカルバジン、ロムスチン、ビンクリスチン併⽤療法の安全...</td>\n",
732
+ " <td>1</td>\n",
733
+ " <td>NaN</td>\n",
734
+ " <td>単一群</td>\n",
735
+ " <td>非盲検</td>\n",
736
+ " <td>...</td>\n",
737
+ " <td>treatment purpose</td>\n",
738
+ " <td>&lt;Cohort 1&gt;\\r\\n All of the following items shal...</td>\n",
739
+ " <td>&lt;Common to Cohort 1 and Cohort 2&gt;\\r\\n1) Active...</td>\n",
740
+ " <td>18age old over</td>\n",
741
+ " <td>No limit</td>\n",
742
+ " <td>Both</td>\n",
743
+ " <td>NaN</td>\n",
744
+ " <td>NaN</td>\n",
745
+ " <td>&lt;cohort1&gt;\\r\\nLomustine 130 mg/m2 orally every ...</td>\n",
746
+ " <td>[神経膠腫]</td>\n",
747
+ " </tr>\n",
748
+ " <tr>\n",
749
+ " <th>875</th>\n",
750
+ " <td>jRCT2031210299</td>\n",
751
+ " <td>NaN</td>\n",
752
+ " <td>NaN</td>\n",
753
+ " <td>再発悪性神経膠腫患者を対象としたDSP-0390の第1相試験</td>\n",
754
+ " <td>再発悪性神経膠腫</td>\n",
755
+ " <td>再発悪性神経膠腫患者を対象にDSP-0390を経口投与したときの安全性、薬物動態、薬力学及び...</td>\n",
756
+ " <td>1</td>\n",
757
+ " <td>NaN</td>\n",
758
+ " <td>単一群</td>\n",
759
+ " <td>非盲検</td>\n",
760
+ " <td>...</td>\n",
761
+ " <td>treatment purpose</td>\n",
762
+ " <td>1.\\tEstimated life expectancy &gt;= 3 months\\r\\n2...</td>\n",
763
+ " <td>1.\\tPrior therapy with bevacizumab or other an...</td>\n",
764
+ " <td>18age old over</td>\n",
765
+ " <td>No limit</td>\n",
766
+ " <td>Both</td>\n",
767
+ " <td>NaN</td>\n",
768
+ " <td>NaN</td>\n",
769
+ " <td>Patients will receive DSP-0390 orally once dai...</td>\n",
770
+ " <td>[再発悪性神経膠腫]</td>\n",
771
+ " </tr>\n",
772
+ " <tr>\n",
773
+ " <th>981</th>\n",
774
+ " <td>jRCT2031200153</td>\n",
775
+ " <td>NaN</td>\n",
776
+ " <td>NaN</td>\n",
777
+ " <td>Cellm-001による初発膠芽腫治療効果無作為比較対照試験</td>\n",
778
+ " <td>膠芽腫</td>\n",
779
+ " <td>脳腫瘍のうち、初発悪性膠芽腫に対する自家脳腫瘍免疫賦活剤であるCellm-001について、術...</td>\n",
780
+ " <td>3</td>\n",
781
+ " <td>NaN</td>\n",
782
+ " <td>無作為化比較</td>\n",
783
+ " <td>二重盲検</td>\n",
784
+ " <td>...</td>\n",
785
+ " <td>treatment purpose</td>\n",
786
+ " <td>(1) 18 years old or older and 75 years old or ...</td>\n",
787
+ " <td>(1) Systemic administration of corticosteroids...</td>\n",
788
+ " <td>18age old over</td>\n",
789
+ " <td>75age old under</td>\n",
790
+ " <td>Both</td>\n",
791
+ " <td>NaN</td>\n",
792
+ " <td>NaN</td>\n",
793
+ " <td>Inject the investigational drug (Cellm-001 or ...</td>\n",
794
+ " <td>[膠芽腫]</td>\n",
795
+ " </tr>\n",
796
+ " </tbody>\n",
797
+ "</table>\n",
798
+ "<p>5 rows × 39 columns</p>\n",
799
+ "</div>"
800
+ ],
801
+ "text/plain": [
802
+ " JRCT ID NCT No JapicCTI No \\\n",
803
+ "103 jRCT2051240121 NCT06413706 NaN \n",
804
+ "224 jRCT2031240090 NaN NaN \n",
805
+ "473 jRCT2051230069 NaN NaN \n",
806
+ "875 jRCT2031210299 NaN NaN \n",
807
+ "981 jRCT2031200153 NaN NaN \n",
808
+ "\n",
809
+ " Title Target \\\n",
810
+ "103 放射線療法後の悪性神経膠腫の小児および若年成人を対象に、アベマシクリブ+テモゾロミドとテモゾ... 悪性神経膠腫 \n",
811
+ "224 再発悪性神経膠腫に対する治療用放射性薬剤64Cu-ATSMの有効性を検証するランダム化比較医... 悪性神経膠腫 \n",
812
+ "473 神経膠腫患者に対するロムスチン療法とプロカ��バジン、ロムスチン、ビンクリスチン併⽤療法の安全... 神経膠腫 \n",
813
+ "875 再発悪性神経膠腫患者を対象としたDSP-0390の第1相試験 再発悪性神経膠腫 \n",
814
+ "981 Cellm-001による初発膠芽腫治療効果無作為比較対照試験 膠芽腫 \n",
815
+ "\n",
816
+ " 研究・治験の目的 試験等のフェーズ 試験の種類 無作為化 \\\n",
817
+ "103 放射線療法後の悪性神経膠腫を有する小児および若年成人を対象に、アベマシクリブとテモゾロミドの... 2 NaN 無作為化比較 \n",
818
+ "224 再発・難治性悪性神経膠腫を対象として、64Cu-diacetyl-bis(N4-methyl... 3 NaN 無作為化比較 \n",
819
+ "473 神経膠腫患者におけるロムスチン療法とプロカルバジン、ロムスチン、ビンクリスチン併⽤療法の安全... 1 NaN 単一群 \n",
820
+ "875 再発悪性神経膠腫患者を対象にDSP-0390を経口投与したときの安全性、薬物動態、薬力学及び... 1 NaN 単一群 \n",
821
+ "981 脳腫瘍のうち、初発悪性膠芽腫に対する自家脳腫瘍免疫賦活剤であるCellm-001について、術... 3 NaN 無作為化比較 \n",
822
+ "\n",
823
+ " 盲検化 ... purpose \\\n",
824
+ "103 非盲検 ... treatment purpose \n",
825
+ "224 非盲検 ... treatment purpose \n",
826
+ "473 非盲検 ... treatment purpose \n",
827
+ "875 非盲検 ... treatment purpose \n",
828
+ "981 二重盲検 ... treatment purpose \n",
829
+ "\n",
830
+ " Inclusion Criteria \\\n",
831
+ "103 Subjects required to meet all the folloiwng cr... \n",
832
+ "224 1) Histologically diagnosed as high grade glio... \n",
833
+ "473 <Cohort 1>\\r\\n All of the following items shal... \n",
834
+ "875 1.\\tEstimated life expectancy >= 3 months\\r\\n2... \n",
835
+ "981 (1) 18 years old or older and 75 years old or ... \n",
836
+ "\n",
837
+ " Exclusion Criteria Age Minimum \\\n",
838
+ "103 Patients who meets any of the following criter... No limit \n",
839
+ "224 1) Have a history or merger of other malignanc... 18age old over \n",
840
+ "473 <Common to Cohort 1 and Cohort 2>\\r\\n1) Active... 18age old over \n",
841
+ "875 1.\\tPrior therapy with bevacizumab or other an... 18age old over \n",
842
+ "981 (1) Systemic administration of corticosteroids... 18age old over \n",
843
+ "\n",
844
+ " Age Maximum Gender Discontinuation Criteria \\\n",
845
+ "103 21age old not NaN NaN \n",
846
+ "224 75age old under Both NaN \n",
847
+ "473 No limit Both NaN \n",
848
+ "875 No limit Both NaN \n",
849
+ "981 75age old under Both NaN \n",
850
+ "\n",
851
+ " Keyword \\\n",
852
+ "103 NaN \n",
853
+ "224 glioblastoma, grade3/4 astrocytoma, grade3 oli... \n",
854
+ "473 NaN \n",
855
+ "875 NaN \n",
856
+ "981 NaN \n",
857
+ "\n",
858
+ " Intervention(s) TargetWord \n",
859
+ "103 Drug: Abemaciclib\\r\\nAdministered orally\\r\\nOt... [悪性神経膠腫] \n",
860
+ "224 Group A: BPC Therapy\\r\\nDepending on the patie... [悪性神経膠腫] \n",
861
+ "473 <cohort1>\\r\\nLomustine 130 mg/m2 orally every ... [神経膠腫] \n",
862
+ "875 Patients will receive DSP-0390 orally once dai... [再発悪性神経膠腫] \n",
863
+ "981 Inject the investigational drug (Cellm-001 or ... [膠芽腫] \n",
864
+ "\n",
865
+ "[5 rows x 39 columns]"
866
+ ]
867
+ },
868
+ "execution_count": 58,
869
+ "metadata": {},
870
+ "output_type": "execute_result"
871
+ }
872
+ ],
873
+ "source": [
874
+ "matched_indices_d = (cosine_scores >= threshold).nonzero().tolist()\n",
875
+ "# 入れ子リストをフラットなリストに変換\n",
876
+ "flat_indices_d = [idx[0] for idx in matched_indices_d]\n",
877
+ "\n",
878
+ "# 抽出\n",
879
+ "matched_df_d = basedf.iloc[flat_indices_d]\n",
880
+ "matched_df_d\n"
881
+ ]
882
+ },
883
+ {
884
+ "cell_type": "markdown",
885
+ "metadata": {},
886
+ "source": []
887
+ },
888
+ {
889
+ "cell_type": "markdown",
890
+ "metadata": {},
891
+ "source": []
892
+ },
893
+ {
894
+ "cell_type": "markdown",
895
+ "metadata": {},
896
+ "source": [
897
+ "\n",
898
+ "\n"
899
+ ]
900
+ },
901
+ {
902
+ "cell_type": "markdown",
903
+ "metadata": {},
904
+ "source": [
905
+ "\n",
906
+ "\n"
907
+ ]
908
+ },
909
+ {
910
+ "cell_type": "markdown",
911
+ "metadata": {},
912
+ "source": []
913
+ },
914
+ {
915
+ "cell_type": "markdown",
916
+ "metadata": {},
917
+ "source": [
918
+ "\n"
919
+ ]
920
+ }
921
+ ],
922
+ "metadata": {
923
+ "kernelspec": {
924
+ "display_name": "gradio",
925
+ "language": "python",
926
+ "name": "python3"
927
+ },
928
+ "language_info": {
929
+ "codemirror_mode": {
930
+ "name": "ipython",
931
+ "version": 3
932
+ },
933
+ "file_extension": ".py",
934
+ "mimetype": "text/x-python",
935
+ "name": "python",
936
+ "nbconvert_exporter": "python",
937
+ "pygments_lexer": "ipython3",
938
+ "version": "3.12.3"
939
+ }
940
+ },
941
+ "nbformat": 4,
942
+ "nbformat_minor": 2
943
+ }
dev_JRCT_api/vector_searchE1.ipynb ADDED
The diff for this file is too large to render. See raw diff
 
dev_JRCT_api/vector_searchE2.ipynb ADDED
The diff for this file is too large to render. See raw diff
 
dev_JRCT_api/vector_searchE3.ipynb ADDED
The diff for this file is too large to render. See raw diff