Mirobody
The canonical registry of human health — roughly two thousand standardized indicators, clinical and lifestyle, resolved into one language.
東京都のプレコンセプションケア検査費等助成に登録している医療機関の一覧(令和8年11月1日時点)。エリア・受診対象・予約方法から検索できます。個人が作成した非公式サイトであり、東京都が運営するものではありません。
Translation pending
HealthTypeScript · AstroGitHub @shinnosuke-KOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
東京都のプレコンセプションケア(検査費等助成)に登録されている医療機関を、地域・条件で絞り込んで検索できる静的ページです。
Translation pending
Loading the full README.
Read the full README ↗東京都のプレコンセプションケア(検査費等助成)に登録されている医療機関を、地域・条件で絞り込んで検索できる静的サイトです。
[!NOTE] 本サイトは個人が作成した非公式のページであり、東京都・東京都福祉局が運営するものではありません。
公開ページ: https://shinnosuke-k.github.io/precon-clinics-tokyo/
/compare/ で料金・検査メニュー・見積もりを横並びに表示。URLで共有可)/c/{登録番号}/。受診方法、費用、必須検査・任意検査の項目と金額)/area/{区市町村名}/)と検査メニューごとのページ(/test/{f|m}/{検査名}/。料金の安い順)。検索エンジンからの入口として静的に生成/sitemap-index.xml)Astro で静的HTMLを生成しています。一覧ページの絞り込みだけがブラウザ側のJSで動き、詳細ページはJSなしの静的HTMLです。
| パス | 内容 |
|---|---|
data/*.xlsx | 元データ(登録医療機関一覧)。名前順で最後のファイルが使われます |
scripts/build.py | Excelから src/data/clinics.json を生成するスクリプト |
src/data/clinics.json | ページが読み込むデータ(生成物。コミットしておくとローカル開発時にPythonが不要) |
src/data/lastChecked.json | 東京都の公開ページでリストの更新有無を最後に確認した日({"date": "YYYY-MM-DD"})。ヘッダーの「最終確認日」に表示 |
src/pages/index.astro | 一覧ページ |
src/pages/c/[n].astro | 医療機関ごとの詳細ページ(183ページを静的生成) |
src/pages/area/[ward].astro | 区市町村ごとの一覧ページ |
src/pages/test/[side]/[slug].astro | 検査メニューごとの一覧ページ(料金順) |
src/lib/pages.ts | 区市町村・検査メニューページの定義とURL |
src/lib/estimate.ts | 費用の見積もりの計算(純粋関数。estimate.test.ts で単体テスト) |
src/lib/query.ts | URLクエリの読み替えとスラッグ(query.test.ts で単体テスト) |
src/scripts/compare.ts | 比較のピン留め(localStorage)と画面下のバー |
src/pages/compare.astro, src/scripts/compare-page.ts | 比較ページ |
src/scripts/filter.ts | 一覧の検索・絞り込み・並び替え(ブラウザ側) |
src/lib/ | データの集計、料金表示などの共通処理 |
src/components/, src/layouts/ | ヘッダー・フィルタ・詳細表示などの部品 |
src/styles/global.css | スタイル |
public/asset/ | favicon・OGP画像 |
東京都福祉局「プレコンセプションケア」ページで公開されている登録医療機関一覧(令和8年8月31日時点)を参照して作成しています。掲載内容(受付状況・費用等)は変わる可能性があるため、受診の際は各医療機関に直接ご確認ください。
新しい一覧データが公開されたら、Excelファイルを data/ に追加してmainにpushするだけです。
GitHub Actions(.github/workflows/deploy.yml)がpushを検知して次を自動で行います。
scripts/build.py を実行し、data/ 内で名前順最後のExcelから src/data/clinics.json を再生成npm run build で dist/ に静的HTMLを生成Excelのファイル名は 20270331tourokuiryoukikan.xlsx のように日付始まりにすると、名前順で自動的に最新版が選ばれます。
Node.js 22(.node-version)と、データ再生成には uv を使います。
uv run scripts/build.py # data/ の Excel から src/data/clinics.json を再生成(引数でExcelの指定も可)
npm install && npm run dev # http://localhost:4321/precon-clinics-tokyo/
npm test # src/lib の単体テスト(Node 22 の標準テストランナー。追加の依存なし)
npm run build && npm run preview # 本番と同じ静的HTMLを dist/ に生成して確認