intersystems-community/fhir-ai-hackathon-kit/iris-environment
Claude Code and agent skill by intersystems-community/fhir-ai-hackathon-kit
- community
Checking that the SKILL.md file is still in the repository.
Start, stop, inspect and troubleshoot the kit's InterSystems IRIS for Health Docker container (iris-fhir), its ports, credentials, URLs, Python env and skip-setup scripts. Use when setting up the hackathon environment, when a connection to IRIS or the FHIR server fails, or when a later tutorial needs tables that an earlier one builds.
Install
npx vskill@latest install intersystems-community/fhir-ai-hackathon-kit/iris-environmentSKILL.md
IRIS for Health dev environment (FHIR AI Hackathon Kit)
Source tutorials: Tutorials/1-setup/1.1-setup-iris-and-fhir.md, Tutorials/6-extras/CreateAFHIRServerIn5Minutes.md.
Facts (check docker-iris-fhir/docker-compose.yml if anything looks off)
| Thing | Value | |
|---|---|---|
| Container name / compose service | iris-fhir / iris | |
Superserver (Python iris driver, SQL) | host localhost, port 1972 (same as container) | |
| Web server (FHIR REST, portal, Swagger) | http://localhost:52773 (same as container) | |
| Credentials | SuperUser / SYS (dev only) | |
| Namespace for tutorial data + FHIR | FHIRSERVER | |
| FHIR base URL | http://localhost:52773/fhir/r4 | |
| FHIR capability statement | http://localhost:52773/fhir/r4/metadata | |
| Management Portal | http://localhost:52773/csp/sys/UtilHome.csp | |
| SQL explorer (FHIRSERVER) | http://localhost:52773/csp/sys/exp/%25CSP.UI.Portal.SQL.Home.zen?$NAMESPACE=FHIRSERVER | |
| Swagger UI | http://localhost:52773/fhir/swagger-ui/index.html |
Default IRIS ports 1972/52773 are mapped straight through to the host. The standalone container from CreateAFHIRServerIn5Minutes.md publishes the same ports, so stop one before starting the other.
Lifecycle
start.shbuilds the image, waits for IRIS, then runsfhir_server_setup.pyinside the container (creates FHIR server, bulk-loads Synthea bundles fromdocker-iris-fhir/data/fhir). First start is slow (minutes).- Data lives in named volume
iris-data, so it survives restarts. Re-runningstart.shon an existing volume re-POSTs the bundles and duplicates patients. Wipe withdown -vfor a clean state. - Readiness check:
docker psshows(healthy);curl -u SuperUser:SYS http://localhost:52773/fhir/r4/metadatareturns 200.
Shells inside the container
Use docker exec / docker cp with the container name. docker compose exec expects the service name (iris), not iris-fhir.
Python env
.env lives only at repo root. Code calls bare load_dotenv(), which walks up from cwd. Do not add per-folder .env files.
Skip-setup scripts (recreate state that earlier tutorials build)
Troubleshooting
| Symptom | Cause / fix | |
|---|---|---|
| Connection refused on 1972 / 52773 | Container not running or not healthy (docker ps). Superserver is 1972, web is 52773; do not swap them. | |
| License / connection limit errors | Community Edition caps connections. Close cursors and connections (cursor.close(); conn.close()), restart the Jupyter kernel holding stale ones. Failing this, restart the container with docker restart iris-fhir | |
| HTTP 401 from FHIR | Missing Basic auth. HTTP 403 = authenticated but not permitted. | |
Table 'SAMPLE.PERSON' not found (SQLCODE -30) | Table not created yet or wrong namespace. Run the skip-setup script, confirm namespace FHIRSERVER. | |
| Portal blank right after start | IRIS still starting. Wait, refresh. | |
| Embedded Python fails in container | merge.cpf must enable %Service_CallIn (already set in the kit). |
When an MCP server for IRIS is configured (.iris-agentic-dev.toml), prefer it for inspecting live state over guessing.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/iris-environment/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/intersystems-community/fhir-ai-hackathon-kit/iris-environment)