intersystems-community/fhir-ai-hackathon-kit/iris-environment

Claude Code and agent skill by intersystems-community/fhir-ai-hackathon-kit

Trust tier 3
  • community
Source check pending

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-environment

SKILL.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)

ThingValue
Container name / compose serviceiris-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)
CredentialsSuperUser / SYS (dev only)
Namespace for tutorial data + FHIRFHIRSERVER
FHIR base URLhttp://localhost:52773/fhir/r4
FHIR capability statementhttp://localhost:52773/fhir/r4/metadata
Management Portalhttp://localhost:52773/csp/sys/UtilHome.csp
SQL explorer (FHIRSERVER)http://localhost:52773/csp/sys/exp/%25CSP.UI.Portal.SQL.Home.zen?$NAMESPACE=FHIRSERVER
Swagger UIhttp://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

sh
./docker-iris-fhir/start.sh # PowerShell: .\docker-iris-fhir\start.ps1
./docker-iris-fhir/stop_and_remove.sh # PowerShell: .\docker-iris-fhir\stop_and_remove.ps1
docker compose -f docker-iris-fhir/docker-compose.yml down -v # full wipe incl. data volume
  • start.sh builds the image, waits for IRIS, then runs fhir_server_setup.py inside the container (creates FHIR server, bulk-loads Synthea bundles from docker-iris-fhir/data/fhir). First start is slow (minutes).
  • Data lives in named volume iris-data, so it survives restarts. Re-running start.sh on an existing volume re-POSTs the bundles and duplicates patients. Wipe with down -v for a clean state.
  • Readiness check: docker ps shows (healthy); curl -u SuperUser:SYS http://localhost:52773/fhir/r4/metadata returns 200.

Shells inside the container

sh
docker exec -it iris-fhir iris session iris # IRIS terminal (ObjectScript), exit with: halt
docker exec -it iris-fhir bash # OS shell
docker cp ./local/file iris-fhir:/path/in/container

Use docker exec / docker cp with the container name. docker compose exec expects the service name (iris), not iris-fhir.

Python env

sh
python -m venv .venv
source .venv/Scripts/activate # Git Bash on Windows; PowerShell: .\.venv\Scripts\Activate.ps1; mac/linux: source .venv/bin/activate
pip install -r requirements.txt # run from repo root
cp .env.example .env # then set OPENAI_API_KEY (needed for vector search and agents)

.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)

sh
python Tutorials/setup-scripts/setup_csv_data.py # Sample.Person, Sample.HealthCareData (drop + recreate)
python Tutorials/setup-scripts/setup_vector_store.py # Diabetes.VectorStore from Tutorials/data/papers (needs OPENAI_API_KEY, paid API calls)

Troubleshooting

SymptomCause / fix
Connection refused on 1972 / 52773Container not running or not healthy (docker ps). Superserver is 1972, web is 52773; do not swap them.
License / connection limit errorsCommunity 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 FHIRMissing 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 startIRIS still starting. Wait, refresh.
Embedded Python fails in containermerge.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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/intersystems-community/fhir-ai-hackathon-kit/iris-environment/badge)](https://verified-skill.com/skills/intersystems-community/fhir-ai-hackathon-kit/iris-environment)

Something wrong with this skill or its page? Tell us.