Merged
Conversation
Bun + Aidbox FHIR Server dashboard that displays patients and their observations. Uses Bun.serve() for HTTP, @health-samurai/aidbox-client for FHIR API access, and auto-generated TypeScript types. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Rename skill from dashboard to aidbox-dashboard - Remove hardcoded passwords from SKILL.md, reference docker-compose.yaml - Document Chart.js integration and $materialize workflow - Expose PostgreSQL port 5432 in docker-compose.yaml - Add --upload flag to build-init-bundle script for uploading bundle and materializing ViewDefinitions in one step Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Adds a ViewDefinition for body weight observations (LOINC 29463-7) that materializes into a sof.body_weight SQL table, and renders a Chart.js line chart on each patient's detail page showing their weight trend. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
… upload command - Add project README with quick start, structure, and development guide - Include $materialize entries in init-bundle.json so views are created on Aidbox startup - Add "build:init-bundle --upload" package.json script to avoid the -- separator - Change materialize valueCode from "table" to "view" - Update all references in SKILL.md and README.md Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
developer-experience/agentic-coding-dashboard/.claude/skills/aidbox-dashboard/SKILL.md
Outdated
Show resolved
Hide resolved
| The dashboard shows a list of patients with drill-down detail pages, including a body weight trend chart powered by materialized ViewDefinitions. | ||
|
|
||
|
|
||
| ## Key Features |
Contributor
There was a problem hiding this comment.
this whole paragraph is a duplicate of line 9.
|
|
||
| - [Bun](https://bun.sh/) - JavaScript runtime and toolkit | ||
| - [Docker](https://www.docker.com/) and Docker Compose - Container orchestration | ||
| - [Claude Code](https://docs.anthropic.com/en/docs/claude-code/setup) - AI-assisted development tool |
Contributor
There was a problem hiding this comment.
I don't think we want to stick to claude code only.
I know that https://agents.md/ should work, but I'm not sure.
- Remove boilerplate line from CLAUDE.md - Consolidate duplicate Key Features bullets, remove Bun.SQL mentions - Add $materialize docs link - Remove repetitive sof schema references from prose - Clarify basic vs root client usage in SKILL.md - Add dashboard screenshot Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
| description: Creating dashboards on top of Aidbox FHIR Server using ViewDefinitions | ||
| --- | ||
|
|
||
| # Aidbox FHIR Server |
| "resource": { | ||
| "resourceType": "AccessPolicy", | ||
| "id": "basic-policy", | ||
| "engine": "allow", |
Contributor
There was a problem hiding this comment.
"The basic client is used by the running app (src/aidbox.ts) for normal FHIR CRUD operations. The root client is only used by build-init-bundle script to upload the init bundle and materialize ViewDefinitions — operations that require admin-level access."
allow crud only then?
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…sactions Replace allow-all policy with two matcho policies: - Read/write access scoped to Patient and Observation resources - Separate policy for FHIR transaction bundles (used by seed script) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.