diff --git a/README.md b/README.md index 18ef113..be0e7bb 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,7 @@ A collection of examples on top of Aidbox FHIR platform ## Developer Experience +- [Agentic Coding: FHIR Patient Dashboard](developer-experience/agentic-coding-dashboard/) - [Agentic FHIR Implementation Guide Development](developer-experience/agentic-coding-ig-development/) - [Aidbox Firely .NET Client](developer-experience/aidbox-firely-dotnet-client/) - [Aidbox HAPI FHIR Client](developer-experience/aidbox-hapi-client/) diff --git a/developer-experience/agentic-coding-dashboard/.claude/skills/aidbox-dashboard/SKILL.md b/developer-experience/agentic-coding-dashboard/.claude/skills/aidbox-dashboard/SKILL.md new file mode 100644 index 0000000..167f784 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/.claude/skills/aidbox-dashboard/SKILL.md @@ -0,0 +1,360 @@ +--- +name: aidbox-dashboard +description: Creating dashboards on top of Aidbox FHIR Server using ViewDefinitions +--- + +# Aidbox Dashboard + +## Aidbox FHIR Server + +Aidbox runs locally on port 8080 via Docker Compose. All FHIR API requests use the `/fhir/` prefix. + +## Creating Dashboards + +Dashboards are built using the **SQL on FHIR** approach: + +1. **Define a ViewDefinition** — a FHIR resource that describes how to flatten a FHIR resource into tabular columns +2. **Upload and materialize** — run `bun run build:init-bundle --upload` to rebuild the init bundle, upload it to Aidbox, and materialize all ViewDefinitions into SQL tables in the `sof` schema +3. **Query with SQL** — the app uses `Bun.SQL` to connect directly to PostgreSQL and queries `sof.` for dashboard data +4. **Render a chart** — add a Chart.js chart component in `src/index.ts` and wire it into the appropriate route handler + +### Step 1: Create a ViewDefinition + +ViewDefinitions are stored as JSON files in `fhir/definitions/view-definitions/`. Use numeric prefixes for ordering (e.g., `01-body-weight.json`). + +Each file is a bundle entry with a PUT request: + +```json +{ + "request": { + "method": "PUT", + "url": "/ViewDefinition/patient-demographics" + }, + "resource": { + "resourceType": "ViewDefinition", + "id": "patient-demographics", + "name": "patient_demographics", + "status": "active", + "resource": "Patient", + "select": [ + { + "column": [ + { "path": "getResourceKey()", "name": "id" }, + { "path": "gender", "name": "gender" }, + { "path": "birthDate", "name": "birth_date" } + ] + }, + { + "forEachOrNull": "name.where(use = 'official').first()", + "column": [ + { "path": "given.join(' ')", "name": "given_name" }, + { "path": "family", "name": "family_name" } + ] + } + ] + } +} +``` + +### Step 2: Build, upload, and materialize + +After creating or editing a ViewDefinition file, run: + +```sh +bun run build:init-bundle --upload +``` + +This single command: +1. Rebuilds `init-bundle.json` from all files in `fhir/definitions/` +2. Uploads the bundle to Aidbox via the FHIR API (using the root client) +3. Calls `$materialize` on each ViewDefinition to create/refresh the corresponding SQL table in the `sof` schema + +Without `--upload`, it only rebuilds the JSON file locally. + +### Step 3: Query the view with SQL + +The app uses `Bun.SQL` (configured in `src/index.ts`) to query the `sof` schema directly: + +```ts +import { SQL } from "bun"; + +const db = new SQL({ + url: process.env.DATABASE_URL ?? "postgresql://aidbox:@localhost:5432/aidbox", +}); + +// Query a materialized view +const rows = await db.unsafe( + `SELECT effective_date, weight_kg, unit FROM sof.body_weight WHERE patient_id = $1 ORDER BY effective_date`, + [patientId], +); +``` + +Get the actual `POSTGRES_PASSWORD` from `docker-compose.yaml` (`services.postgres.environment.POSTGRES_PASSWORD`). + +### Step 4: Render a chart with Chart.js + +Charts are rendered using [Chart.js v4](https://www.chartjs.org/) loaded via CDN (`` in the Layout ``). + +See `BodyWeightChart` in `src/index.ts` for the existing pattern: + +1. Define a TypeScript interface for the query result rows +2. Create a function that returns a `` element + an inline ` + `; +} +``` + +Chart.js supports many chart types: `line`, `bar`, `pie`, `doughnut`, `radar`, `scatter`, `bubble`. See [Chart.js docs](https://www.chartjs.org/docs/latest/) for the full API. + +Use a unique `chartId` per chart instance (via the `chartIdCounter`) to support multiple charts on one page. + +### Database connection + +PostgreSQL is exposed on port 5432. Credentials are in `docker-compose.yaml` under `services.postgres.environment`: + +| Parameter | Source in `docker-compose.yaml` | +|-----------|-------------------------------| +| Host | `localhost` | +| Port | `5432` | +| Database | `POSTGRES_DB` | +| User | `POSTGRES_USER` | +| Password | `POSTGRES_PASSWORD` | + +Connection string format: `postgresql://:@localhost:5432/` + +## ViewDefinition Reference + +### Structure + +| Field | Required | Description | +|-------|----------|-------------| +| `resourceType` | yes | `"ViewDefinition"` | +| `name` | yes | Database table name (used as `sof.`). Must match `^[A-Za-z][A-Za-z0-9_]*$` | +| `resource` | yes | Target FHIR resource type (e.g., `"Patient"`, `"Observation"`) | +| `status` | yes | `"active"`, `"draft"`, `"retired"`, or `"unknown"` | +| `select` | yes | Array of select blocks defining output columns | +| `where` | no | Array of FHIRPath filter expressions | +| `constant` | no | Named constants referenced as `%name` in FHIRPath | + +### Select block + +| Field | Description | +|-------|-------------| +| `column` | Array of `{ path, name }` — FHIRPath expression and output column name | +| `forEach` | FHIRPath expression to iterate (creates multiple rows per resource) | +| `forEachOrNull` | Like `forEach` but emits a row with nulls when the collection is empty | +| `unionAll` | Combine multiple select structures | +| `select` | Nested select (cross-join with parent) | + +### Common FHIRPath expressions + +| Expression | Description | +|------------|-------------| +| `getResourceKey()` | Resource ID | +| `subject.getReferenceKey(Patient)` | Referenced Patient ID (for joins) | +| `gender` | Direct field access | +| `birthDate` | Direct field access | +| `name.where(use = 'official').first()` | Filter and pick first | +| `given.join(' ')` | Join array into string | +| `effective.ofType(dateTime)` | Polymorphic field access | +| `value.ofType(Quantity).value` | Quantity value | +| `value.ofType(Quantity).unit` | Quantity unit | +| `code.coding` | Iterate over codings | +| `code.coding.where(system='http://loinc.org').first()` | Pick specific coding | +| `code.coding.where(system = 'http://loinc.org' and code = '29463-7').exists()` | Filter by coding system + code | + +### Example: Body Weight ViewDefinition (with filter) + +```json +{ + "resourceType": "ViewDefinition", + "id": "body-weight", + "name": "body_weight", + "status": "active", + "resource": "Observation", + "where": [ + { + "path": "code.coding.where(system = 'http://loinc.org' and code = '29463-7').exists()" + } + ], + "select": [ + { + "column": [ + { "path": "getResourceKey()", "name": "id" }, + { "path": "subject.getReferenceKey(Patient)", "name": "patient_id" }, + { "path": "effective.ofType(dateTime)", "name": "effective_date" }, + { "path": "value.ofType(Quantity).value", "name": "weight_kg" }, + { "path": "value.ofType(Quantity).unit", "name": "unit" }, + { "path": "status", "name": "status" } + ] + } + ] +} +``` + +This creates `sof.body_weight` with columns: `id`, `patient_id`, `effective_date`, `weight_kg`, `unit`, `status`. + +### Example: Generic Observation ViewDefinition + +```json +{ + "resourceType": "ViewDefinition", + "id": "observation-values", + "name": "observation_values", + "status": "active", + "resource": "Observation", + "select": [ + { + "column": [ + { "path": "getResourceKey()", "name": "id" }, + { "path": "subject.getReferenceKey(Patient)", "name": "patient_id" }, + { "path": "status", "name": "status" }, + { "path": "effective.ofType(dateTime)", "name": "effective_date" }, + { "path": "value.ofType(Quantity).value", "name": "value" }, + { "path": "value.ofType(Quantity).unit", "name": "unit" } + ] + }, + { + "forEachOrNull": "code.coding.first()", + "column": [ + { "path": "system", "name": "code_system" }, + { "path": "code", "name": "code" }, + { "path": "display", "name": "code_display" } + ] + } + ] +} +``` + +## Auth Clients + +Two clients are available. Look up passwords in `docker-compose.yaml` and `fhir/definitions/access-control/`: + +| Client | Username | Password source | Use for | +|--------|----------|----------------|---------| +| **Application** | `basic` | `fhir/definitions/access-control/01-client.json` (`resource.secret`) | Normal CRUD + transactions | +| **Root** | `root` | `docker-compose.yaml` (`BOX_ROOT_CLIENT_SECRET`) | Admin operations, uploading init bundle | + +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. + +## Querying Resources via FHIR API + +```sh +# Read a specific resource (get BOX_ROOT_CLIENT_SECRET from docker-compose.yaml) +curl -s -u "root:" "http://localhost:8080/fhir/Patient/" | bun -e 'console.log(JSON.stringify(JSON.parse(await Bun.stdin.text()),null,2))' + +# Search resources +curl -s -u "root:" "http://localhost:8080/fhir/Patient?name=John&_count=10" | bun -e 'console.log(JSON.stringify(JSON.parse(await Bun.stdin.text()),null,2))' +``` + +Always use the `/fhir/` prefix. Without it, you get the Aidbox-native format instead of FHIR. + +## Init Bundle + +FHIR definitions live in `fhir/definitions/` as individual JSON files. **Never edit `init-bundle.json` directly.** + +Files are sorted by filename, so use numeric prefixes to control order (e.g., `01-client.json` loads before `02-access-policy.json`). + +```sh +# Rebuild, upload, and materialize ViewDefinitions in one step +bun run build:init-bundle --upload + +# Rebuild only (no upload) +bun run build:init-bundle +``` + +The init bundle is also auto-loaded on Aidbox startup via `BOX_INIT_BUNDLE` in `docker-compose.yaml`. Note: ViewDefinitions loaded this way still need a `$materialize` call to create the SQL tables. + +## Application Code + +The app uses `src/aidbox.ts` which wraps the `@health-samurai/aidbox-client` SDK: + +```ts +import { aidbox } from "./aidbox"; + +// Read +const result = await aidbox.read({ type: "Patient", id: "pt-1" }); + +// Search +const result = await aidbox.searchType({ type: "Patient", query: [["name", "John"], ["_count", "10"]] }); + +// Transaction +await aidbox.transaction({ format: "application/fhir+json", bundle: { resourceType: "Bundle", type: "transaction", entry: [...] } }); +``` + +For dashboard queries, use direct SQL via `Bun.SQL` against the `sof` schema instead of the FHIR API. + +## Debugging + +### Check Aidbox health +```sh +curl -s "http://localhost:8080/health" | bun -e 'console.log(JSON.stringify(JSON.parse(await Bun.stdin.text()),null,2))' +``` + +### Inspect a resource +```sh +curl -s -u "root:" "http://localhost:8080/fhir//" | bun -e 'console.log(JSON.stringify(JSON.parse(await Bun.stdin.text()),null,2))' +``` + +### List ViewDefinitions +```sh +curl -s -u "root:" "http://localhost:8080/ViewDefinition?_count=50" | bun -e 'console.log(JSON.stringify(JSON.parse(await Bun.stdin.text()),null,2))' +``` + +### Test a SQL table exists +```sh +# Via docker exec +docker compose exec postgres psql -U aidbox -d aidbox -c "SELECT * FROM sof. LIMIT 5;" +``` diff --git a/developer-experience/agentic-coding-dashboard/AGENTS.md b/developer-experience/agentic-coding-dashboard/AGENTS.md new file mode 100644 index 0000000..7f3583f --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/AGENTS.md @@ -0,0 +1,63 @@ +# AGENTS.md + +## Project Overview + +This project is an example of a typescript application written in Bun using Aidbox FHIR Server as a backend. It serves an HTML dashboard via Elysia showing patients and their observations. + +## Aidbox Client + +The app uses `@health-samurai/aidbox-client` (alpha) to communicate with Aidbox. The client is configured in `src/aidbox.ts` with `BasicAuthProvider`. + +All SDK methods return a `Result` — use `result.isOk()` / `result.isErr()` to handle responses: + +```ts +import { aidbox } from "./aidbox"; + +// Read +const result = await aidbox.read({ type: "Patient", id: "pt-1" }); + +// Search +const result = await aidbox.searchType({ type: "Patient", query: [["name", "Alice"], ["_count", "10"]] }); + +// Create / Update / Delete +await aidbox.create({ type: "Patient", resource: { ... } }); +await aidbox.update({ type: "Patient", id: "pt-1", resource: { ... } }); +await aidbox.delete({ type: "Patient", id: "pt-1" }); + +// Transaction +await aidbox.transaction({ format: "application/fhir+json", bundle: { resourceType: "Bundle", type: "transaction", entry: [...] } }); +``` + +## FHIR Type Generation + +FHIR TypeScript types are generated using `@atomic-ehr/codegen` (dev dependency). The generation script is at `scripts/generate-types.ts` and uses the `APIBuilder` API with tree-shaking to only include needed resource types. + +Generated types are output to `src/fhir-types/hl7-fhir-r4-core/` and should be imported from there: + +```ts +import type { Patient } from "./fhir-types/hl7-fhir-r4-core/Patient"; +import type { Observation } from "./fhir-types/hl7-fhir-r4-core/Observation"; +import type { Bundle, BundleEntry } from "./fhir-types/hl7-fhir-r4-core/Bundle"; +``` + +To add a new resource type, add its StructureDefinition URL to the `treeShake` config in `scripts/generate-types.ts` and re-run generation. + +## Commands + +| Command | Description | +|---------|-------------| +| `bun run dev` | Start dev server with hot reload (port 3000) | +| `bun run generate-types` | Regenerate FHIR TypeScript types | +| `bun run build:init-bundle` | Rebuild `init-bundle.json` from `fhir/definitions/` | +| `bun run seed` | Seed sample data (2 patients, 20 observations) | + +## Project Structure + +- `src/index.ts` — Elysia web server with routes +- `src/aidbox.ts` — AidboxClient instance +- `src/fhir-types/` — Auto-generated FHIR types (do not edit manually) +- `scripts/generate-types.ts` — Type generation config +- `scripts/build-init-bundle.ts` — Assembles init-bundle from definitions (sorted by filename) +- `scripts/seed.ts` — Seeds sample Patient and Observation data +- `fhir/definitions/` — FHIR resource definitions, ordered by numeric filename prefix +- `docker-compose.yaml` — Aidbox + PostgreSQL diff --git a/developer-experience/agentic-coding-dashboard/CLAUDE.md b/developer-experience/agentic-coding-dashboard/CLAUDE.md new file mode 100644 index 0000000..177ff71 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/CLAUDE.md @@ -0,0 +1,63 @@ +# CLAUDE.md + +## Project Overview + +This project is an example of a typescript application written in Bun using Aidbox FHIR Server as a backend. It serves an HTML dashboard via Elysia showing patients and their observations. + +## Aidbox Client + +The app uses `@health-samurai/aidbox-client` (alpha) to communicate with Aidbox. The client is configured in `src/aidbox.ts` with `BasicAuthProvider`. + +All SDK methods return a `Result` — use `result.isOk()` / `result.isErr()` to handle responses: + +```ts +import { aidbox } from "./aidbox"; + +// Read +const result = await aidbox.read({ type: "Patient", id: "pt-1" }); + +// Search +const result = await aidbox.searchType({ type: "Patient", query: [["name", "Alice"], ["_count", "10"]] }); + +// Create / Update / Delete +await aidbox.create({ type: "Patient", resource: { ... } }); +await aidbox.update({ type: "Patient", id: "pt-1", resource: { ... } }); +await aidbox.delete({ type: "Patient", id: "pt-1" }); + +// Transaction +await aidbox.transaction({ format: "application/fhir+json", bundle: { resourceType: "Bundle", type: "transaction", entry: [...] } }); +``` + +## FHIR Type Generation + +FHIR TypeScript types are generated using `@atomic-ehr/codegen` (dev dependency). The generation script is at `scripts/generate-types.ts` and uses the `APIBuilder` API with tree-shaking to only include needed resource types. + +Generated types are output to `src/fhir-types/hl7-fhir-r4-core/` and should be imported from there: + +```ts +import type { Patient } from "./fhir-types/hl7-fhir-r4-core/Patient"; +import type { Observation } from "./fhir-types/hl7-fhir-r4-core/Observation"; +import type { Bundle, BundleEntry } from "./fhir-types/hl7-fhir-r4-core/Bundle"; +``` + +To add a new resource type, add its StructureDefinition URL to the `treeShake` config in `scripts/generate-types.ts` and re-run generation. + +## Commands + +| Command | Description | +|---------|-------------| +| `bun run dev` | Start dev server with hot reload (port 3000) | +| `bun run generate-types` | Regenerate FHIR TypeScript types | +| `bun run build:init-bundle` | Rebuild `init-bundle.json` from `fhir/definitions/` | +| `bun run seed` | Seed sample data (2 patients, 20 observations) | + +## Project Structure + +- `src/index.ts` — Elysia web server with routes +- `src/aidbox.ts` — AidboxClient instance +- `src/fhir-types/` — Auto-generated FHIR types (do not edit manually) +- `scripts/generate-types.ts` — Type generation config +- `scripts/build-init-bundle.ts` — Assembles init-bundle from definitions (sorted by filename) +- `scripts/seed.ts` — Seeds sample Patient and Observation data +- `fhir/definitions/` — FHIR resource definitions, ordered by numeric filename prefix +- `docker-compose.yaml` — Aidbox + PostgreSQL diff --git a/developer-experience/agentic-coding-dashboard/README.md b/developer-experience/agentic-coding-dashboard/README.md new file mode 100644 index 0000000..0d792e3 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/README.md @@ -0,0 +1,170 @@ +--- +features: [FHIR Dashboard, AI assisted, Claude Code, SQL on FHIR, Chart.js, Bun, TypeScript] +languages: [TypeScript] +--- +# Agentic Coding: FHIR Patient Dashboard + +Building healthcare dashboards on top of FHIR data typically requires significant boilerplate: mapping FHIR resources to SQL, setting up charting libraries, and wiring everything together. + +This project demonstrates how **Claude Code can build a complete patient dashboard from a single prompt**, using Aidbox FHIR Server's [SQL on FHIR](https://build.fhir.org/ig/FHIR/sql-on-fhir-v2/) ViewDefinitions to flatten FHIR resources into queryable SQL tables, and Chart.js to visualize the data. + +The dashboard shows a list of patients with drill-down detail pages, including a body weight trend chart powered by materialized ViewDefinitions. + + +## Key Features + +- **SQL on FHIR ViewDefinitions**: Declarative mapping from FHIR resources to queryable SQL tables +- **Chart.js Visualizations**: Interactive line charts showing body weight trends over time +- **FHIR API Integration**: Patient and Observation data fetched via `@health-samurai/aidbox-client` +- **AI-Assisted Development**: Dashboard features built entirely through Claude Code prompts using the `/aidbox-dashboard` skill + + +## Prerequisites + +- [Bun](https://bun.sh/) - JavaScript runtime and toolkit +- [Docker](https://www.docker.com/) and Docker Compose - Container orchestration +- AI coding agent with [agents.md](https://agents.md/) and skills support (e.g., [Claude Code](https://docs.anthropic.com/en/docs/claude-code/setup)) - this tutorial was tested with Claude Code but should work with any compatible agent +- [Aidbox](https://www.health-samurai.io/docs/aidbox/getting-started/run-aidbox-locally) - Local FHIR server + + +## Quick Start + +1. **Clone the repository:** + ```bash + git clone git@github.com:Aidbox/examples.git + cd examples/developer-experience/agentic-coding-dashboard + ``` + +2. **Install dependencies:** + ```bash + bun install + ``` + +3. **Start the FHIR server:** + ```bash + docker compose up + ``` + +4. **Initialize Aidbox:** + - Open http://localhost:8080 in your browser + - Log in and initialize the instance with your Aidbox account + - The [init bundle](https://www.health-samurai.io/docs/aidbox/configuration/init-bundle) automatically configures: + - Client with Basic authentication (`basic:secret`) + - Access policies for the client + - Body weight ViewDefinition (with automatic materialization) + +5. **Seed sample data:** + ```bash + bun run seed + ``` + +6. **Start the dashboard App:** + ```bash + bun run dev + ``` + +7. **Open the dashboard App** at http://localhost:3000 + + +## Project Structure + +``` +agentic-coding-dashboard/ +├── .claude/ # Claude Code configuration +│ └── skills/ +│ └── aidbox-dashboard/ # Dashboard development skill +│ └── SKILL.md +├── CLAUDE.md # Claude Code main configuration +├── README.md # Project documentation +├── docker-compose.yaml # Aidbox + PostgreSQL +├── package.json +├── tsconfig.json +├── init-bundle.json # Generated bundle (do not edit) +├── fhir/ +│ └── definitions/ # FHIR resource definitions +│ ├── access-control/ +│ │ ├── 01-client.json # Basic auth client +│ │ └── 02-access-policy.json # Access policy +│ └── view-definitions/ +│ └── 01-body-weight.json # Body weight ViewDefinition +├── scripts/ +│ ├── build-init-bundle.ts # Build, upload & materialize +│ ├── generate-types.ts # FHIR type generation config +│ └── seed.ts # Seed sample patient data +└── src/ + ├── index.ts # Web server, routes & charts + ├── aidbox.ts # AidboxClient instance + └── fhir-types/ # Auto-generated FHIR types +``` + + +## How It Works + +### 1. ViewDefinitions flatten FHIR into SQL + +A [ViewDefinition](fhir/definitions/view-definitions/01-body-weight.json) declaratively maps FHIR Observation resources (filtered by LOINC code `29463-7` for body weight) into a flat SQL table: + +| Column | Source | +|--------|--------| +| `id` | Observation ID | +| `patient_id` | Referenced Patient ID | +| `effective_date` | Observation date | +| `weight_kg` | Quantity value | +| `unit` | Quantity unit | +| `status` | Observation status | + +### 2. Materialize creates the SQL table + +Running `bun run build:init-bundle --upload` uploads the ViewDefinition to Aidbox and calls [`$materialize`](https://www.health-samurai.io/docs/aidbox/modules/sql-on-fhir/operation-materialize), which creates a SQL table populated with data from matching FHIR resources. + +### 3. The app queries SQL directly + +The dashboard queries the materialized table directly, bypassing the FHIR API for efficient tabular access: + +```ts +const rows = await db.unsafe( + `SELECT effective_date, weight_kg, unit + FROM sof.body_weight + WHERE patient_id = $1 + ORDER BY effective_date`, + [patientId], +); +``` + +### 4. Chart.js renders the visualization + +Body weight data is passed to a Chart.js line chart, showing each patient's weight trend over time with interactive tooltips. + +![Patient detail page with body weight chart](images/image.png) + + +## Available Commands + +| Command | Description | +|---------|-------------| +| `bun run dev` | Start dev server with hot reload (port 3000) | +| `bun run build:init-bundle` | Rebuild `init-bundle.json` from definitions | +| `bun run build:init-bundle --upload` | Rebuild, upload to Aidbox & materialize views | +| `bun run seed` | Seed sample data (2 patients, 20 observations) | +| `bun run generate-types` | Regenerate FHIR TypeScript types | + + +## Development with Claude Code + +This project includes a custom `/aidbox-dashboard` skill that teaches Claude Code how to add new dashboard features. To add a new chart or view: + +```bash +claude +> /aidbox-dashboard Add a blood pressure chart to the patient detail page +``` + +Claude Code will: +1. Create a new ViewDefinition in `fhir/definitions/view-definitions/` +2. Run `bun run build:init-bundle --upload` to materialize it +3. Add the SQL query and Chart.js visualization to `src/index.ts` +4. Verify the result end-to-end + + +## AI Assistant Configuration + +The [CLAUDE.md](CLAUDE.md) file provides Claude Code with full context about the project structure, Aidbox client usage, FHIR type generation, and available commands. The [skill definition](.claude/skills/aidbox-dashboard/SKILL.md) provides step-by-step instructions for the SQL on FHIR dashboard workflow. diff --git a/developer-experience/agentic-coding-dashboard/bun.lock b/developer-experience/agentic-coding-dashboard/bun.lock new file mode 100644 index 0000000..51a536b --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/bun.lock @@ -0,0 +1,78 @@ +{ + "lockfileVersion": 1, + "configVersion": 1, + "workspaces": { + "": { + "name": "agentic-coding-dashboard", + "dependencies": { + "@health-samurai/aidbox-client": "0.0.0-alpha.4", + }, + "devDependencies": { + "@atomic-ehr/codegen": "^0.0.7", + "@types/bun": "latest", + "typescript": "^5.7.0", + }, + }, + }, + "packages": { + "@atomic-ehr/codegen": ["@atomic-ehr/codegen@0.0.7", "", { "dependencies": { "@atomic-ehr/fhir-canonical-manager": "^0.0.20", "@atomic-ehr/fhirschema": "^0.0.5", "mustache": "^4.2.0", "picocolors": "^1.1.1", "tinyglobby": "^0.2.15", "yaml": "^2.8.2", "yargs": "^18.0.0" }, "bin": { "atomic-codegen": "dist/cli/index.js" } }, "sha512-DhrnFZT8Wj6MdsWQVmFHFHYWc8FQXNTgkjFZHZDqB3XQcY+Z/nr4CliN3C2g7Gae84eM82Gq7KwYfJZpuuqzWA=="], + + "@atomic-ehr/fhir-canonical-manager": ["@atomic-ehr/fhir-canonical-manager@0.0.20", "", { "peerDependencies": { "typescript": "^5" }, "bin": { "fcm": "dist/cli/index.js" } }, "sha512-fDvHAkY8KWh7qPg/zKWelnixkE7sWkXMoESzx4YC1ndMiX9Hd9bWXVV9SycEL2NbarU0rMchlKDCo/LkvecsnQ=="], + + "@atomic-ehr/fhirschema": ["@atomic-ehr/fhirschema@0.0.5", "", { "peerDependencies": { "typescript": "^5" } }, "sha512-B/8ScNnnQUIR6d3FsIuGGvanOyE2j7W3mAubVmpPE2I/tho+meEBRrGgs5E+AY4jDz9mviTdOta08RpIhH2kew=="], + + "@health-samurai/aidbox-client": ["@health-samurai/aidbox-client@0.0.0-alpha.4", "", { "dependencies": { "@types/json-patch": "^0.0.33", "oauth4webapi": "^3.8.3", "yaml": "^2.8.1" } }, "sha512-ZZ8asGiBhU8dFFXg2SIQzJSes1AS/TdQCBkbEwGCJjwAUdIOuNEyTL/iiWa2CB+fmbUtXMUMkLymx/SikYG0Ug=="], + + "@types/bun": ["@types/bun@1.3.9", "", { "dependencies": { "bun-types": "1.3.9" } }, "sha512-KQ571yULOdWJiMH+RIWIOZ7B2RXQGpL1YQrBtLIV3FqDcCu6FsbFUBwhdKUlCKUpS3PJDsHlJ1QKlpxoVR+xtw=="], + + "@types/json-patch": ["@types/json-patch@0.0.33", "", {}, "sha512-XQ9hIoJCtnvTCnIV+p+SWQbY8Bt1pe+RuTkPG7lQeRCa9sPwYbhb0aYzM2paVPk0SGvV70R33rxjPjBcJ4Kdxw=="], + + "@types/node": ["@types/node@25.2.3", "", { "dependencies": { "undici-types": "~7.16.0" } }, "sha512-m0jEgYlYz+mDJZ2+F4v8D1AyQb+QzsNqRuI7xg1VQX/KlKS0qT9r1Mo16yo5F/MtifXFgaofIFsdFMox2SxIbQ=="], + + "ansi-regex": ["ansi-regex@6.2.2", "", {}, "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg=="], + + "ansi-styles": ["ansi-styles@6.2.3", "", {}, "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg=="], + + "bun-types": ["bun-types@1.3.9", "", { "dependencies": { "@types/node": "*" } }, "sha512-+UBWWOakIP4Tswh0Bt0QD0alpTY8cb5hvgiYeWCMet9YukHbzuruIEeXC2D7nMJPB12kbh8C7XJykSexEqGKJg=="], + + "cliui": ["cliui@9.0.1", "", { "dependencies": { "string-width": "^7.2.0", "strip-ansi": "^7.1.0", "wrap-ansi": "^9.0.0" } }, "sha512-k7ndgKhwoQveBL+/1tqGJYNz097I7WOvwbmmU2AR5+magtbjPWQTS1C5vzGkBC8Ym8UWRzfKUzUUqFLypY4Q+w=="], + + "emoji-regex": ["emoji-regex@10.6.0", "", {}, "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A=="], + + "escalade": ["escalade@3.2.0", "", {}, "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA=="], + + "fdir": ["fdir@6.5.0", "", { "peerDependencies": { "picomatch": "^3 || ^4" }, "optionalPeers": ["picomatch"] }, "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg=="], + + "get-caller-file": ["get-caller-file@2.0.5", "", {}, "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg=="], + + "get-east-asian-width": ["get-east-asian-width@1.4.0", "", {}, "sha512-QZjmEOC+IT1uk6Rx0sX22V6uHWVwbdbxf1faPqJ1QhLdGgsRGCZoyaQBm/piRdJy/D2um6hM1UP7ZEeQ4EkP+Q=="], + + "mustache": ["mustache@4.2.0", "", { "bin": { "mustache": "bin/mustache" } }, "sha512-71ippSywq5Yb7/tVYyGbkBggbU8H3u5Rz56fH60jGFgr8uHwxs+aSKeqmluIVzM0m0kB7xQjKS6qPfd0b2ZoqQ=="], + + "oauth4webapi": ["oauth4webapi@3.8.5", "", {}, "sha512-A8jmyUckVhRJj5lspguklcl90Ydqk61H3dcU0oLhH3Yv13KpAliKTt5hknpGGPZSSfOwGyraNEFmofDYH+1kSg=="], + + "picocolors": ["picocolors@1.1.1", "", {}, "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA=="], + + "picomatch": ["picomatch@4.0.3", "", {}, "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q=="], + + "string-width": ["string-width@7.2.0", "", { "dependencies": { "emoji-regex": "^10.3.0", "get-east-asian-width": "^1.0.0", "strip-ansi": "^7.1.0" } }, "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ=="], + + "strip-ansi": ["strip-ansi@7.1.2", "", { "dependencies": { "ansi-regex": "^6.0.1" } }, "sha512-gmBGslpoQJtgnMAvOVqGZpEz9dyoKTCzy2nfz/n8aIFhN/jCE/rCmcxabB6jOOHV+0WNnylOxaxBQPSvcWklhA=="], + + "tinyglobby": ["tinyglobby@0.2.15", "", { "dependencies": { "fdir": "^6.5.0", "picomatch": "^4.0.3" } }, "sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ=="], + + "typescript": ["typescript@5.9.3", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw=="], + + "undici-types": ["undici-types@7.16.0", "", {}, "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw=="], + + "wrap-ansi": ["wrap-ansi@9.0.2", "", { "dependencies": { "ansi-styles": "^6.2.1", "string-width": "^7.0.0", "strip-ansi": "^7.1.0" } }, "sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww=="], + + "y18n": ["y18n@5.0.8", "", {}, "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA=="], + + "yaml": ["yaml@2.8.2", "", { "bin": { "yaml": "bin.mjs" } }, "sha512-mplynKqc1C2hTVYxd0PU2xQAc22TI1vShAYGksCCfxbn/dFwnHTNi1bvYsBTkhdUNtGIf5xNOg938rrSSYvS9A=="], + + "yargs": ["yargs@18.0.0", "", { "dependencies": { "cliui": "^9.0.1", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", "string-width": "^7.2.0", "y18n": "^5.0.5", "yargs-parser": "^22.0.0" } }, "sha512-4UEqdc2RYGHZc7Doyqkrqiln3p9X2DZVxaGbwhn2pi7MrRagKaOcIKe8L3OxYcbhXLgLFUS3zAYuQjKBQgmuNg=="], + + "yargs-parser": ["yargs-parser@22.0.0", "", {}, "sha512-rwu/ClNdSMpkSrUb+d6BRsSkLUq1fmfsY6TOpYzTwvwkg1/NRG85KBy3kq++A8LKQwX6lsu+aWad+2khvuXrqw=="], + } +} diff --git a/developer-experience/agentic-coding-dashboard/docker-compose.yaml b/developer-experience/agentic-coding-dashboard/docker-compose.yaml new file mode 100644 index 0000000..b472634 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/docker-compose.yaml @@ -0,0 +1,63 @@ +volumes: + postgres_data: {} +services: + postgres: + image: docker.io/library/postgres:18 + ports: + - 5432:5432 + volumes: + - postgres_data:/var/lib/postgresql/18/docker:delegated + command: + - postgres + - -c + - shared_preload_libraries=pg_stat_statements + environment: + POSTGRES_USER: aidbox + POSTGRES_PORT: "5432" + POSTGRES_DB: aidbox + POSTGRES_PASSWORD: KYRMNQSitF + aidbox: + image: docker.io/healthsamurai/aidboxone:edge + pull_policy: always + depends_on: + - postgres + ports: + - 8080:8080 + environment: + BOX_ADMIN_PASSWORD: nJQ5JxU6HM + BOX_BOOTSTRAP_FHIR_PACKAGES: hl7.fhir.r4.core#4.0.1 + BOX_COMPATIBILITY_VALIDATION_JSON__SCHEMA_REGEX: "#{:fhir-datetime}" + BOX_DB_DATABASE: aidbox + BOX_DB_HOST: postgres + BOX_DB_PASSWORD: KYRMNQSitF + BOX_DB_PORT: "5432" + BOX_DB_USER: aidbox + BOX_FHIR_BUNDLE_EXECUTION_VALIDATION_MODE: limited + BOX_FHIR_COMPLIANT_MODE: "true" + BOX_FHIR_CORRECT_AIDBOX_FORMAT: "true" + BOX_FHIR_CREATEDAT_URL: https://aidbox.app/ex/createdAt + BOX_FHIR_SCHEMA_VALIDATION: "true" + BOX_FHIR_SEARCH_AUTHORIZE_INLINE_REQUESTS: "true" + BOX_FHIR_SEARCH_CHAIN_SUBSELECT: "true" + BOX_FHIR_SEARCH_COMPARISONS: "true" + BOX_FHIR_TERMINOLOGY_ENGINE: hybrid + BOX_FHIR_TERMINOLOGY_ENGINE_HYBRID_EXTERNAL_TX_SERVER: https://tx.health-samurai.io/fhir + BOX_FHIR_TERMINOLOGY_SERVICE_BASE_URL: https://tx.health-samurai.io/fhir + BOX_MODULE_SDC_STRICT_ACCESS_CONTROL: "true" + BOX_ROOT_CLIENT_SECRET: py26hcPsl9 + BOX_RUNME_UUID: 3002d826-f99d-4d07-b6eb-7fd2aa22f958 + BOX_SEARCH_INCLUDE_CONFORMANT: "true" + BOX_SECURITY_AUDIT_LOG_ENABLED: "true" + BOX_SECURITY_DEV_MODE: "true" + BOX_SETTINGS_MODE: read-write + BOX_WEB_BASE_URL: http://localhost:8080 + BOX_WEB_PORT: 8080 + BOX_INIT_BUNDLE: file:///app/init-bundle.json + volumes: + - ./init-bundle.json:/app/init-bundle.json:ro + healthcheck: + test: curl -f http://localhost:8080/health || exit 1 + interval: 5s + timeout: 5s + retries: 90 + start_period: 30s diff --git a/developer-experience/agentic-coding-dashboard/fhir/definitions/access-control/01-client.json b/developer-experience/agentic-coding-dashboard/fhir/definitions/access-control/01-client.json new file mode 100644 index 0000000..8da448a --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/fhir/definitions/access-control/01-client.json @@ -0,0 +1,12 @@ +{ + "request": { + "method": "PUT", + "url": "/Client/basic" + }, + "resource": { + "resourceType": "Client", + "id": "basic", + "secret": "secret", + "grant_types": ["basic"] + } +} diff --git a/developer-experience/agentic-coding-dashboard/fhir/definitions/access-control/02-access-policy.json b/developer-experience/agentic-coding-dashboard/fhir/definitions/access-control/02-access-policy.json new file mode 100644 index 0000000..54ac204 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/fhir/definitions/access-control/02-access-policy.json @@ -0,0 +1,22 @@ +{ + "request": { + "method": "PUT", + "url": "/AccessPolicy/basic-policy" + }, + "resource": { + "resourceType": "AccessPolicy", + "id": "basic-policy", + "engine": "matcho", + "link": [{ "reference": "Client/basic" }], + "matcho": { + "params": { + "resource/type": { + "$enum": ["Patient", "Observation"] + } + }, + "request-method": { + "$enum": ["get", "put"] + } + } + } +} diff --git a/developer-experience/agentic-coding-dashboard/fhir/definitions/access-control/03-transaction-policy.json b/developer-experience/agentic-coding-dashboard/fhir/definitions/access-control/03-transaction-policy.json new file mode 100644 index 0000000..d264977 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/fhir/definitions/access-control/03-transaction-policy.json @@ -0,0 +1,17 @@ +{ + "request": { + "method": "PUT", + "url": "/AccessPolicy/basic-transaction-policy" + }, + "resource": { + "resourceType": "AccessPolicy", + "id": "basic-transaction-policy", + "engine": "matcho", + "link": [{ "reference": "Client/basic" }], + "matcho": { + "operation": { + "id": "FhirTransaction" + } + } + } +} diff --git a/developer-experience/agentic-coding-dashboard/fhir/definitions/view-definitions/01-body-weight.json b/developer-experience/agentic-coding-dashboard/fhir/definitions/view-definitions/01-body-weight.json new file mode 100644 index 0000000..49fcdbd --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/fhir/definitions/view-definitions/01-body-weight.json @@ -0,0 +1,30 @@ +{ + "request": { + "method": "PUT", + "url": "/ViewDefinition/body-weight" + }, + "resource": { + "resourceType": "ViewDefinition", + "id": "body-weight", + "name": "body_weight", + "status": "active", + "resource": "Observation", + "where": [ + { + "path": "code.coding.where(system = 'http://loinc.org' and code = '29463-7').exists()" + } + ], + "select": [ + { + "column": [ + { "path": "getResourceKey()", "name": "id" }, + { "path": "subject.getReferenceKey(Patient)", "name": "patient_id" }, + { "path": "effective.ofType(dateTime)", "name": "effective_date" }, + { "path": "value.ofType(Quantity).value", "name": "weight_kg" }, + { "path": "value.ofType(Quantity).unit", "name": "unit" }, + { "path": "status", "name": "status" } + ] + } + ] + } +} diff --git a/developer-experience/agentic-coding-dashboard/images/image.png b/developer-experience/agentic-coding-dashboard/images/image.png new file mode 100644 index 0000000..f26f022 Binary files /dev/null and b/developer-experience/agentic-coding-dashboard/images/image.png differ diff --git a/developer-experience/agentic-coding-dashboard/init-bundle.json b/developer-experience/agentic-coding-dashboard/init-bundle.json new file mode 100644 index 0000000..904ea56 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/init-bundle.json @@ -0,0 +1,136 @@ +{ + "type": "batch", + "resourceType": "Bundle", + "entry": [ + { + "request": { + "method": "PUT", + "url": "/Client/basic" + }, + "resource": { + "resourceType": "Client", + "id": "basic", + "secret": "secret", + "grant_types": [ + "basic" + ] + } + }, + { + "request": { + "method": "PUT", + "url": "/AccessPolicy/basic-policy" + }, + "resource": { + "resourceType": "AccessPolicy", + "id": "basic-policy", + "engine": "matcho", + "link": [ + { + "reference": "Client/basic" + } + ], + "matcho": { + "params": { + "resource/type": { + "$enum": [ + "Patient", + "Observation" + ] + } + }, + "request-method": { + "$enum": [ + "get", + "put" + ] + } + } + } + }, + { + "request": { + "method": "PUT", + "url": "/AccessPolicy/basic-transaction-policy" + }, + "resource": { + "resourceType": "AccessPolicy", + "id": "basic-transaction-policy", + "engine": "matcho", + "link": [ + { + "reference": "Client/basic" + } + ], + "matcho": { + "operation": { + "id": "FhirTransaction" + } + } + } + }, + { + "request": { + "method": "PUT", + "url": "/ViewDefinition/body-weight" + }, + "resource": { + "resourceType": "ViewDefinition", + "id": "body-weight", + "name": "body_weight", + "status": "active", + "resource": "Observation", + "where": [ + { + "path": "code.coding.where(system = 'http://loinc.org' and code = '29463-7').exists()" + } + ], + "select": [ + { + "column": [ + { + "path": "getResourceKey()", + "name": "id" + }, + { + "path": "subject.getReferenceKey(Patient)", + "name": "patient_id" + }, + { + "path": "effective.ofType(dateTime)", + "name": "effective_date" + }, + { + "path": "value.ofType(Quantity).value", + "name": "weight_kg" + }, + { + "path": "value.ofType(Quantity).unit", + "name": "unit" + }, + { + "path": "status", + "name": "status" + } + ] + } + ] + } + }, + { + "request": { + "method": "POST", + "url": "/ViewDefinition/body-weight/$materialize" + }, + "resource": { + "resourceType": "Parameters", + "parameter": [ + { + "name": "type", + "valueCode": "view" + } + ] + } + } + ] +} diff --git a/developer-experience/agentic-coding-dashboard/package.json b/developer-experience/agentic-coding-dashboard/package.json new file mode 100644 index 0000000..6d6d093 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/package.json @@ -0,0 +1,20 @@ +{ + "name": "agentic-coding-dashboard", + "version": "1.0.0", + "type": "module", + "scripts": { + "dev": "bun run --watch src/index.ts", + "generate-types": "bun run scripts/generate-types.ts", + "build:init-bundle": "bun run scripts/build-init-bundle.ts", + "build:init-bundle --upload": "bun run scripts/build-init-bundle.ts --upload", + "seed": "bun run scripts/seed.ts" + }, + "dependencies": { + "@health-samurai/aidbox-client": "0.0.0-alpha.4" + }, + "devDependencies": { + "@atomic-ehr/codegen": "^0.0.7", + "@types/bun": "latest", + "typescript": "^5.7.0" + } +} diff --git a/developer-experience/agentic-coding-dashboard/scripts/build-init-bundle.ts b/developer-experience/agentic-coding-dashboard/scripts/build-init-bundle.ts new file mode 100644 index 0000000..e4dde9c --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/scripts/build-init-bundle.ts @@ -0,0 +1,87 @@ +import { Glob } from "bun"; +import { join } from "path"; + +const definitionsDir = join(import.meta.dir, "../fhir/definitions"); +const outputPath = join(import.meta.dir, "../init-bundle.json"); + +const files: string[] = []; +const glob = new Glob("**/*.json"); + +for await (const file of glob.scan({ cwd: definitionsDir })) { + files.push(file); +} + +files.sort(); + +const entries: unknown[] = []; +const viewDefinitionIds: string[] = []; + +for (const file of files) { + const content = await Bun.file(join(definitionsDir, file)).json(); + entries.push(content); + if (content.resource?.resourceType === "ViewDefinition" && content.resource.id) { + viewDefinitionIds.push(content.resource.id); + } +} + +// Add $materialize entries for each ViewDefinition so they are materialized on startup +for (const id of viewDefinitionIds) { + entries.push({ + request: { + method: "POST", + url: `/ViewDefinition/${id}/$materialize`, + }, + resource: { + resourceType: "Parameters", + parameter: [{ name: "type", valueCode: "view" }], + }, + }); +} + +const bundle = { + type: "batch", + resourceType: "Bundle", + entry: entries, +}; + +await Bun.write(outputPath, JSON.stringify(bundle, null, 2) + "\n"); +console.log(`Built init-bundle.json with ${entries.length} entries`); + +// If --upload flag is passed, upload bundle and materialize ViewDefinitions +if (process.argv.includes("--upload")) { + const baseUrl = process.env.AIDBOX_URL ?? "http://localhost:8080"; + const username = process.env.AIDBOX_ROOT_USER ?? "root"; + const password = process.env.AIDBOX_ROOT_PASSWORD ?? "py26hcPsl9"; + const auth = "Basic " + btoa(`${username}:${password}`); + + console.log("Uploading init bundle..."); + const uploadRes = await fetch(`${baseUrl}/fhir`, { + method: "POST", + headers: { "Content-Type": "application/fhir+json", Authorization: auth }, + body: JSON.stringify(bundle), + }); + + if (!uploadRes.ok) { + console.error("Upload failed:", uploadRes.status, await uploadRes.text()); + process.exit(1); + } + console.log("Init bundle uploaded successfully"); + + for (const id of viewDefinitionIds) { + console.log(`Materializing ViewDefinition/${id}...`); + const matRes = await fetch(`${baseUrl}/fhir/ViewDefinition/${id}/$materialize`, { + method: "POST", + headers: { "Content-Type": "application/json", Authorization: auth }, + body: JSON.stringify({ + resourceType: "Parameters", + parameter: [{ name: "type", valueCode: "view" }], + }), + }); + + if (!matRes.ok) { + console.error(`Materialize failed for ${id}:`, matRes.status, await matRes.text()); + process.exit(1); + } + console.log(`ViewDefinition/${id} materialized`); + } +} diff --git a/developer-experience/agentic-coding-dashboard/scripts/generate-types.ts b/developer-experience/agentic-coding-dashboard/scripts/generate-types.ts new file mode 100644 index 0000000..e390ca8 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/scripts/generate-types.ts @@ -0,0 +1,26 @@ +import { APIBuilder, prettyReport } from "@atomic-ehr/codegen"; + +const builder = new APIBuilder() + .throwException() + .fromPackage("hl7.fhir.r4.core", "4.0.1") + .typescript({ + withDebugComment: false, + generateProfile: false, + openResourceTypeSet: false, + }) + .typeSchema({ + treeShake: { + "hl7.fhir.r4.core": { + "http://hl7.org/fhir/StructureDefinition/Patient": {}, + "http://hl7.org/fhir/StructureDefinition/Observation": {}, + "http://hl7.org/fhir/StructureDefinition/Bundle": {}, + "http://hl7.org/fhir/StructureDefinition/OperationOutcome": {}, + }, + }, + }) + .outputTo("./src/fhir-types") + .cleanOutput(true); + +const report = await builder.generate(); +console.log(prettyReport(report)); +if (!report.success) process.exit(1); diff --git a/developer-experience/agentic-coding-dashboard/scripts/seed.ts b/developer-experience/agentic-coding-dashboard/scripts/seed.ts new file mode 100644 index 0000000..0c4944f --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/scripts/seed.ts @@ -0,0 +1,84 @@ +import { aidbox } from "../src/aidbox"; +import type { Patient } from "../src/fhir-types/hl7-fhir-r4-core/Patient"; +import type { Observation } from "../src/fhir-types/hl7-fhir-r4-core/Observation"; +import type { Bundle, BundleEntry } from "../src/fhir-types/hl7-fhir-r4-core/Bundle"; + +const patients: Patient[] = [ + { + resourceType: "Patient", + id: "pt-1", + name: [{ given: ["Alice"], family: "Smith", use: "official" }], + gender: "female", + birthDate: "1990-03-15", + active: true, + telecom: [ + { system: "phone", value: "555-0101" }, + { system: "email", value: "alice@example.com" }, + ], + }, + { + resourceType: "Patient", + id: "pt-2", + name: [{ given: ["Bob"], family: "Johnson", use: "official" }], + gender: "male", + birthDate: "1985-07-22", + active: true, + telecom: [{ system: "phone", value: "555-0102" }], + }, +]; + +// 10 body weight observations per patient, monthly readings over ~10 months +// Alice: weight trending 65 -> 62 kg (gradual decrease) +// Bob: weight trending 82 -> 85 kg (gradual increase) +const observations: Observation[] = [ + // Alice - Body weight (monthly, Jan-Oct 2025) + { resourceType: "Observation", id: "obs-alice-wt-01", status: "final", code: { coding: [{ system: "http://loinc.org", code: "29463-7", display: "Body weight" }] }, subject: { reference: "Patient/pt-1" }, effectiveDateTime: "2025-01-15", valueQuantity: { value: 65.0, unit: "kg", system: "http://unitsofmeasure.org", code: "kg" } }, + { resourceType: "Observation", id: "obs-alice-wt-02", status: "final", code: { coding: [{ system: "http://loinc.org", code: "29463-7", display: "Body weight" }] }, subject: { reference: "Patient/pt-1" }, effectiveDateTime: "2025-02-12", valueQuantity: { value: 64.5, unit: "kg", system: "http://unitsofmeasure.org", code: "kg" } }, + { resourceType: "Observation", id: "obs-alice-wt-03", status: "final", code: { coding: [{ system: "http://loinc.org", code: "29463-7", display: "Body weight" }] }, subject: { reference: "Patient/pt-1" }, effectiveDateTime: "2025-03-10", valueQuantity: { value: 64.8, unit: "kg", system: "http://unitsofmeasure.org", code: "kg" } }, + { resourceType: "Observation", id: "obs-alice-wt-04", status: "final", code: { coding: [{ system: "http://loinc.org", code: "29463-7", display: "Body weight" }] }, subject: { reference: "Patient/pt-1" }, effectiveDateTime: "2025-04-14", valueQuantity: { value: 64.0, unit: "kg", system: "http://unitsofmeasure.org", code: "kg" } }, + { resourceType: "Observation", id: "obs-alice-wt-05", status: "final", code: { coding: [{ system: "http://loinc.org", code: "29463-7", display: "Body weight" }] }, subject: { reference: "Patient/pt-1" }, effectiveDateTime: "2025-05-19", valueQuantity: { value: 63.5, unit: "kg", system: "http://unitsofmeasure.org", code: "kg" } }, + { resourceType: "Observation", id: "obs-alice-wt-06", status: "final", code: { coding: [{ system: "http://loinc.org", code: "29463-7", display: "Body weight" }] }, subject: { reference: "Patient/pt-1" }, effectiveDateTime: "2025-06-16", valueQuantity: { value: 63.2, unit: "kg", system: "http://unitsofmeasure.org", code: "kg" } }, + { resourceType: "Observation", id: "obs-alice-wt-07", status: "final", code: { coding: [{ system: "http://loinc.org", code: "29463-7", display: "Body weight" }] }, subject: { reference: "Patient/pt-1" }, effectiveDateTime: "2025-07-21", valueQuantity: { value: 63.0, unit: "kg", system: "http://unitsofmeasure.org", code: "kg" } }, + { resourceType: "Observation", id: "obs-alice-wt-08", status: "final", code: { coding: [{ system: "http://loinc.org", code: "29463-7", display: "Body weight" }] }, subject: { reference: "Patient/pt-1" }, effectiveDateTime: "2025-08-18", valueQuantity: { value: 62.7, unit: "kg", system: "http://unitsofmeasure.org", code: "kg" } }, + { resourceType: "Observation", id: "obs-alice-wt-09", status: "final", code: { coding: [{ system: "http://loinc.org", code: "29463-7", display: "Body weight" }] }, subject: { reference: "Patient/pt-1" }, effectiveDateTime: "2025-09-15", valueQuantity: { value: 62.3, unit: "kg", system: "http://unitsofmeasure.org", code: "kg" } }, + { resourceType: "Observation", id: "obs-alice-wt-10", status: "final", code: { coding: [{ system: "http://loinc.org", code: "29463-7", display: "Body weight" }] }, subject: { reference: "Patient/pt-1" }, effectiveDateTime: "2025-10-13", valueQuantity: { value: 62.0, unit: "kg", system: "http://unitsofmeasure.org", code: "kg" } }, + + // Bob - Body weight (monthly, Jan-Oct 2025) + { resourceType: "Observation", id: "obs-bob-wt-01", status: "final", code: { coding: [{ system: "http://loinc.org", code: "29463-7", display: "Body weight" }] }, subject: { reference: "Patient/pt-2" }, effectiveDateTime: "2025-01-20", valueQuantity: { value: 82.0, unit: "kg", system: "http://unitsofmeasure.org", code: "kg" } }, + { resourceType: "Observation", id: "obs-bob-wt-02", status: "final", code: { coding: [{ system: "http://loinc.org", code: "29463-7", display: "Body weight" }] }, subject: { reference: "Patient/pt-2" }, effectiveDateTime: "2025-02-17", valueQuantity: { value: 82.4, unit: "kg", system: "http://unitsofmeasure.org", code: "kg" } }, + { resourceType: "Observation", id: "obs-bob-wt-03", status: "final", code: { coding: [{ system: "http://loinc.org", code: "29463-7", display: "Body weight" }] }, subject: { reference: "Patient/pt-2" }, effectiveDateTime: "2025-03-17", valueQuantity: { value: 82.8, unit: "kg", system: "http://unitsofmeasure.org", code: "kg" } }, + { resourceType: "Observation", id: "obs-bob-wt-04", status: "final", code: { coding: [{ system: "http://loinc.org", code: "29463-7", display: "Body weight" }] }, subject: { reference: "Patient/pt-2" }, effectiveDateTime: "2025-04-21", valueQuantity: { value: 83.1, unit: "kg", system: "http://unitsofmeasure.org", code: "kg" } }, + { resourceType: "Observation", id: "obs-bob-wt-05", status: "final", code: { coding: [{ system: "http://loinc.org", code: "29463-7", display: "Body weight" }] }, subject: { reference: "Patient/pt-2" }, effectiveDateTime: "2025-05-19", valueQuantity: { value: 83.5, unit: "kg", system: "http://unitsofmeasure.org", code: "kg" } }, + { resourceType: "Observation", id: "obs-bob-wt-06", status: "final", code: { coding: [{ system: "http://loinc.org", code: "29463-7", display: "Body weight" }] }, subject: { reference: "Patient/pt-2" }, effectiveDateTime: "2025-06-23", valueQuantity: { value: 83.9, unit: "kg", system: "http://unitsofmeasure.org", code: "kg" } }, + { resourceType: "Observation", id: "obs-bob-wt-07", status: "final", code: { coding: [{ system: "http://loinc.org", code: "29463-7", display: "Body weight" }] }, subject: { reference: "Patient/pt-2" }, effectiveDateTime: "2025-07-21", valueQuantity: { value: 84.2, unit: "kg", system: "http://unitsofmeasure.org", code: "kg" } }, + { resourceType: "Observation", id: "obs-bob-wt-08", status: "final", code: { coding: [{ system: "http://loinc.org", code: "29463-7", display: "Body weight" }] }, subject: { reference: "Patient/pt-2" }, effectiveDateTime: "2025-08-18", valueQuantity: { value: 84.5, unit: "kg", system: "http://unitsofmeasure.org", code: "kg" } }, + { resourceType: "Observation", id: "obs-bob-wt-09", status: "final", code: { coding: [{ system: "http://loinc.org", code: "29463-7", display: "Body weight" }] }, subject: { reference: "Patient/pt-2" }, effectiveDateTime: "2025-09-22", valueQuantity: { value: 84.8, unit: "kg", system: "http://unitsofmeasure.org", code: "kg" } }, + { resourceType: "Observation", id: "obs-bob-wt-10", status: "final", code: { coding: [{ system: "http://loinc.org", code: "29463-7", display: "Body weight" }] }, subject: { reference: "Patient/pt-2" }, effectiveDateTime: "2025-10-20", valueQuantity: { value: 85.0, unit: "kg", system: "http://unitsofmeasure.org", code: "kg" } }, +]; + +const entries: BundleEntry[] = [ + ...patients.map((p): BundleEntry => ({ + resource: p, + request: { method: "PUT", url: `Patient/${p.id}` }, + })), + ...observations.map((o): BundleEntry => ({ + resource: o, + request: { method: "PUT", url: `Observation/${o.id}` }, + })), +]; + +const result = await aidbox.transaction({ + format: "application/fhir+json", + bundle: { + resourceType: "Bundle", + type: "transaction" as const, + entry: entries, + }, +}); + +if (result.isOk()) { + console.log(`Seeded ${patients.length} patients and ${observations.length} observations`); +} else { + console.error("Seed failed:", JSON.stringify(result.value.resource, null, 2)); + process.exit(1); +} diff --git a/developer-experience/agentic-coding-dashboard/src/aidbox.ts b/developer-experience/agentic-coding-dashboard/src/aidbox.ts new file mode 100644 index 0000000..95c0cfb --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/aidbox.ts @@ -0,0 +1,12 @@ +import { AidboxClient, BasicAuthProvider } from "@health-samurai/aidbox-client"; +import type { Bundle, OperationOutcome } from "./fhir-types/hl7-fhir-r4-core"; + +const baseUrl = process.env.AIDBOX_URL ?? "http://localhost:8080"; +const username = process.env.AIDBOX_CLIENT_ID ?? "basic"; +const password = process.env.AIDBOX_CLIENT_SECRET ?? "secret"; + +export const aidbox = new AidboxClient( + baseUrl, + // @ts-expect-error Bun's fetch type has extra properties not in the SDK's AuthProvider interface + new BasicAuthProvider(baseUrl, username, password), +); diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/README.md b/developer-experience/agentic-coding-dashboard/src/fhir-types/README.md new file mode 100644 index 0000000..8aa40b3 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/README.md @@ -0,0 +1,2552 @@ +# IR Report + +## Package: `hl7.fhir.r4.core` + +### Skipped Canonicals + +- `http://fhir-registry.smarthealthit.org/StructureDefinition/capabilities` +- `http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris` +- `http://hl7.org/fhir/StructureDefinition/11179-objectClass` +- `http://hl7.org/fhir/StructureDefinition/11179-objectClassProperty` +- `http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap` +- `http://hl7.org/fhir/StructureDefinition/11179-permitted-value-valueset` +- `http://hl7.org/fhir/StructureDefinition/Account` +- `http://hl7.org/fhir/StructureDefinition/ActivityDefinition` +- `http://hl7.org/fhir/StructureDefinition/AdverseEvent` +- `http://hl7.org/fhir/StructureDefinition/AllergyIntolerance` +- `http://hl7.org/fhir/StructureDefinition/Appointment` +- `http://hl7.org/fhir/StructureDefinition/AppointmentResponse` +- `http://hl7.org/fhir/StructureDefinition/AuditEvent` +- `http://hl7.org/fhir/StructureDefinition/Basic` +- `http://hl7.org/fhir/StructureDefinition/Binary` +- `http://hl7.org/fhir/StructureDefinition/BiologicallyDerivedProduct` +- `http://hl7.org/fhir/StructureDefinition/BodyStructure` +- `http://hl7.org/fhir/StructureDefinition/Bundle` +- `http://hl7.org/fhir/StructureDefinition/CapabilityStatement` +- `http://hl7.org/fhir/StructureDefinition/CarePlan` +- `http://hl7.org/fhir/StructureDefinition/CareTeam` +- `http://hl7.org/fhir/StructureDefinition/CatalogEntry` +- `http://hl7.org/fhir/StructureDefinition/ChargeItem` +- `http://hl7.org/fhir/StructureDefinition/ChargeItemDefinition` +- `http://hl7.org/fhir/StructureDefinition/Claim` +- `http://hl7.org/fhir/StructureDefinition/ClaimResponse` +- `http://hl7.org/fhir/StructureDefinition/ClinicalImpression` +- `http://hl7.org/fhir/StructureDefinition/CodeSystem` +- `http://hl7.org/fhir/StructureDefinition/Communication` +- `http://hl7.org/fhir/StructureDefinition/CommunicationRequest` +- `http://hl7.org/fhir/StructureDefinition/CompartmentDefinition` +- `http://hl7.org/fhir/StructureDefinition/Composition` +- `http://hl7.org/fhir/StructureDefinition/ConceptMap` +- `http://hl7.org/fhir/StructureDefinition/Condition` +- `http://hl7.org/fhir/StructureDefinition/Consent` +- `http://hl7.org/fhir/StructureDefinition/Contract` +- `http://hl7.org/fhir/StructureDefinition/Coverage` +- `http://hl7.org/fhir/StructureDefinition/CoverageEligibilityRequest` +- `http://hl7.org/fhir/StructureDefinition/CoverageEligibilityResponse` +- `http://hl7.org/fhir/StructureDefinition/Definition` +- `http://hl7.org/fhir/StructureDefinition/DetectedIssue` +- `http://hl7.org/fhir/StructureDefinition/Device` +- `http://hl7.org/fhir/StructureDefinition/DeviceDefinition` +- `http://hl7.org/fhir/StructureDefinition/DeviceMetric` +- `http://hl7.org/fhir/StructureDefinition/DeviceRequest` +- `http://hl7.org/fhir/StructureDefinition/DeviceUseStatement` +- `http://hl7.org/fhir/StructureDefinition/DiagnosticReport` +- `http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAnalysis` +- `http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAssessedCondition` +- `http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsFamilyMemberHistory` +- `http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsReferences` +- `http://hl7.org/fhir/StructureDefinition/DocumentManifest` +- `http://hl7.org/fhir/StructureDefinition/DocumentReference` +- `http://hl7.org/fhir/StructureDefinition/EffectEvidenceSynthesis` +- `http://hl7.org/fhir/StructureDefinition/ElementDefinition` +- `http://hl7.org/fhir/StructureDefinition/Encounter` +- `http://hl7.org/fhir/StructureDefinition/Endpoint` +- `http://hl7.org/fhir/StructureDefinition/EnrollmentRequest` +- `http://hl7.org/fhir/StructureDefinition/EnrollmentResponse` +- `http://hl7.org/fhir/StructureDefinition/EpisodeOfCare` +- `http://hl7.org/fhir/StructureDefinition/Event` +- `http://hl7.org/fhir/StructureDefinition/EventDefinition` +- `http://hl7.org/fhir/StructureDefinition/Evidence` +- `http://hl7.org/fhir/StructureDefinition/EvidenceVariable` +- `http://hl7.org/fhir/StructureDefinition/ExampleScenario` +- `http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit` +- `http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory` +- `http://hl7.org/fhir/StructureDefinition/FiveWs` +- `http://hl7.org/fhir/StructureDefinition/Flag` +- `http://hl7.org/fhir/StructureDefinition/Goal` +- `http://hl7.org/fhir/StructureDefinition/GraphDefinition` +- `http://hl7.org/fhir/StructureDefinition/Group` +- `http://hl7.org/fhir/StructureDefinition/GuidanceResponse` +- `http://hl7.org/fhir/StructureDefinition/HealthcareService` +- `http://hl7.org/fhir/StructureDefinition/ImagingStudy` +- `http://hl7.org/fhir/StructureDefinition/Immunization` +- `http://hl7.org/fhir/StructureDefinition/ImmunizationEvaluation` +- `http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation` +- `http://hl7.org/fhir/StructureDefinition/ImplementationGuide` +- `http://hl7.org/fhir/StructureDefinition/InsurancePlan` +- `http://hl7.org/fhir/StructureDefinition/Invoice` +- `http://hl7.org/fhir/StructureDefinition/Library` +- `http://hl7.org/fhir/StructureDefinition/Linkage` +- `http://hl7.org/fhir/StructureDefinition/List` +- `http://hl7.org/fhir/StructureDefinition/Location` +- `http://hl7.org/fhir/StructureDefinition/MarketingStatus` +- `http://hl7.org/fhir/StructureDefinition/Measure` +- `http://hl7.org/fhir/StructureDefinition/MeasureReport` +- `http://hl7.org/fhir/StructureDefinition/Media` +- `http://hl7.org/fhir/StructureDefinition/Medication` +- `http://hl7.org/fhir/StructureDefinition/MedicationAdministration` +- `http://hl7.org/fhir/StructureDefinition/MedicationDispense` +- `http://hl7.org/fhir/StructureDefinition/MedicationKnowledge` +- `http://hl7.org/fhir/StructureDefinition/MedicationRequest` +- `http://hl7.org/fhir/StructureDefinition/MedicationStatement` +- `http://hl7.org/fhir/StructureDefinition/MedicinalProduct` +- `http://hl7.org/fhir/StructureDefinition/MedicinalProductAuthorization` +- `http://hl7.org/fhir/StructureDefinition/MedicinalProductContraindication` +- `http://hl7.org/fhir/StructureDefinition/MedicinalProductIndication` +- `http://hl7.org/fhir/StructureDefinition/MedicinalProductIngredient` +- `http://hl7.org/fhir/StructureDefinition/MedicinalProductInteraction` +- `http://hl7.org/fhir/StructureDefinition/MedicinalProductManufactured` +- `http://hl7.org/fhir/StructureDefinition/MedicinalProductPackaged` +- `http://hl7.org/fhir/StructureDefinition/MedicinalProductPharmaceutical` +- `http://hl7.org/fhir/StructureDefinition/MedicinalProductUndesirableEffect` +- `http://hl7.org/fhir/StructureDefinition/MessageDefinition` +- `http://hl7.org/fhir/StructureDefinition/MessageHeader` +- `http://hl7.org/fhir/StructureDefinition/MetadataResource` +- `http://hl7.org/fhir/StructureDefinition/MolecularSequence` +- `http://hl7.org/fhir/StructureDefinition/MoneyQuantity` +- `http://hl7.org/fhir/StructureDefinition/NamingSystem` +- `http://hl7.org/fhir/StructureDefinition/NutritionOrder` +- `http://hl7.org/fhir/StructureDefinition/Observation` +- `http://hl7.org/fhir/StructureDefinition/ObservationDefinition` +- `http://hl7.org/fhir/StructureDefinition/OperationDefinition` +- `http://hl7.org/fhir/StructureDefinition/OperationOutcome` +- `http://hl7.org/fhir/StructureDefinition/Organization` +- `http://hl7.org/fhir/StructureDefinition/OrganizationAffiliation` +- `http://hl7.org/fhir/StructureDefinition/Parameters` +- `http://hl7.org/fhir/StructureDefinition/Patient` +- `http://hl7.org/fhir/StructureDefinition/PaymentNotice` +- `http://hl7.org/fhir/StructureDefinition/PaymentReconciliation` +- `http://hl7.org/fhir/StructureDefinition/Person` +- `http://hl7.org/fhir/StructureDefinition/PlanDefinition` +- `http://hl7.org/fhir/StructureDefinition/Population` +- `http://hl7.org/fhir/StructureDefinition/Practitioner` +- `http://hl7.org/fhir/StructureDefinition/PractitionerRole` +- `http://hl7.org/fhir/StructureDefinition/Procedure` +- `http://hl7.org/fhir/StructureDefinition/ProdCharacteristic` +- `http://hl7.org/fhir/StructureDefinition/ProductShelfLife` +- `http://hl7.org/fhir/StructureDefinition/Provenance` +- `http://hl7.org/fhir/StructureDefinition/Questionnaire` +- `http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse` +- `http://hl7.org/fhir/StructureDefinition/RelatedPerson` +- `http://hl7.org/fhir/StructureDefinition/Request` +- `http://hl7.org/fhir/StructureDefinition/RequestGroup` +- `http://hl7.org/fhir/StructureDefinition/ResearchDefinition` +- `http://hl7.org/fhir/StructureDefinition/ResearchElementDefinition` +- `http://hl7.org/fhir/StructureDefinition/ResearchStudy` +- `http://hl7.org/fhir/StructureDefinition/ResearchSubject` +- `http://hl7.org/fhir/StructureDefinition/RiskAssessment` +- `http://hl7.org/fhir/StructureDefinition/RiskEvidenceSynthesis` +- `http://hl7.org/fhir/StructureDefinition/Schedule` +- `http://hl7.org/fhir/StructureDefinition/SearchParameter` +- `http://hl7.org/fhir/StructureDefinition/ServiceRequest` +- `http://hl7.org/fhir/StructureDefinition/SimpleQuantity` +- `http://hl7.org/fhir/StructureDefinition/Slot` +- `http://hl7.org/fhir/StructureDefinition/Specimen` +- `http://hl7.org/fhir/StructureDefinition/SpecimenDefinition` +- `http://hl7.org/fhir/StructureDefinition/StructureDefinition` +- `http://hl7.org/fhir/StructureDefinition/StructureMap` +- `http://hl7.org/fhir/StructureDefinition/Subscription` +- `http://hl7.org/fhir/StructureDefinition/Substance` +- `http://hl7.org/fhir/StructureDefinition/SubstanceAmount` +- `http://hl7.org/fhir/StructureDefinition/SubstanceNucleicAcid` +- `http://hl7.org/fhir/StructureDefinition/SubstancePolymer` +- `http://hl7.org/fhir/StructureDefinition/SubstanceProtein` +- `http://hl7.org/fhir/StructureDefinition/SubstanceReferenceInformation` +- `http://hl7.org/fhir/StructureDefinition/SubstanceSourceMaterial` +- `http://hl7.org/fhir/StructureDefinition/SubstanceSpecification` +- `http://hl7.org/fhir/StructureDefinition/SupplyDelivery` +- `http://hl7.org/fhir/StructureDefinition/SupplyRequest` +- `http://hl7.org/fhir/StructureDefinition/Task` +- `http://hl7.org/fhir/StructureDefinition/TerminologyCapabilities` +- `http://hl7.org/fhir/StructureDefinition/TestReport` +- `http://hl7.org/fhir/StructureDefinition/TestScript` +- `http://hl7.org/fhir/StructureDefinition/ValueSet` +- `http://hl7.org/fhir/StructureDefinition/VerificationResult` +- `http://hl7.org/fhir/StructureDefinition/VisionPrescription` +- `http://hl7.org/fhir/StructureDefinition/actualgroup` +- `http://hl7.org/fhir/StructureDefinition/allergyintolerance-assertedDate` +- `http://hl7.org/fhir/StructureDefinition/allergyintolerance-certainty` +- `http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration` +- `http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted` +- `http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionAge` +- `http://hl7.org/fhir/StructureDefinition/allergyintolerance-substanceExposureRisk` +- `http://hl7.org/fhir/StructureDefinition/auditevent-Accession` +- `http://hl7.org/fhir/StructureDefinition/auditevent-Anonymized` +- `http://hl7.org/fhir/StructureDefinition/auditevent-Encrypted` +- `http://hl7.org/fhir/StructureDefinition/auditevent-Instance` +- `http://hl7.org/fhir/StructureDefinition/auditevent-MPPS` +- `http://hl7.org/fhir/StructureDefinition/auditevent-NumberOfInstances` +- `http://hl7.org/fhir/StructureDefinition/auditevent-ParticipantObjectContainsStudy` +- `http://hl7.org/fhir/StructureDefinition/auditevent-SOPClass` +- `http://hl7.org/fhir/StructureDefinition/bmi` +- `http://hl7.org/fhir/StructureDefinition/bodySite` +- `http://hl7.org/fhir/StructureDefinition/bodyheight` +- `http://hl7.org/fhir/StructureDefinition/bodytemp` +- `http://hl7.org/fhir/StructureDefinition/bodyweight` +- `http://hl7.org/fhir/StructureDefinition/bp` +- `http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation` +- `http://hl7.org/fhir/StructureDefinition/capabilitystatement-prohibited` +- `http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination` +- `http://hl7.org/fhir/StructureDefinition/capabilitystatement-supported-system` +- `http://hl7.org/fhir/StructureDefinition/capabilitystatement-websocket` +- `http://hl7.org/fhir/StructureDefinition/careplan-activity-title` +- `http://hl7.org/fhir/StructureDefinition/catalog` +- `http://hl7.org/fhir/StructureDefinition/cdshooksguidanceresponse` +- `http://hl7.org/fhir/StructureDefinition/cdshooksrequestgroup` +- `http://hl7.org/fhir/StructureDefinition/cdshooksserviceplandefinition` +- `http://hl7.org/fhir/StructureDefinition/cholesterol` +- `http://hl7.org/fhir/StructureDefinition/clinicaldocument` +- `http://hl7.org/fhir/StructureDefinition/codesystem-alternate` +- `http://hl7.org/fhir/StructureDefinition/codesystem-author` +- `http://hl7.org/fhir/StructureDefinition/codesystem-concept-comments` +- `http://hl7.org/fhir/StructureDefinition/codesystem-conceptOrder` +- `http://hl7.org/fhir/StructureDefinition/codesystem-effectiveDate` +- `http://hl7.org/fhir/StructureDefinition/codesystem-expirationDate` +- `http://hl7.org/fhir/StructureDefinition/codesystem-history` +- `http://hl7.org/fhir/StructureDefinition/codesystem-keyWord` +- `http://hl7.org/fhir/StructureDefinition/codesystem-label` +- `http://hl7.org/fhir/StructureDefinition/codesystem-map` +- `http://hl7.org/fhir/StructureDefinition/codesystem-otherName` +- `http://hl7.org/fhir/StructureDefinition/codesystem-replacedby` +- `http://hl7.org/fhir/StructureDefinition/codesystem-sourceReference` +- `http://hl7.org/fhir/StructureDefinition/codesystem-trusted-expansion` +- `http://hl7.org/fhir/StructureDefinition/codesystem-usage` +- `http://hl7.org/fhir/StructureDefinition/codesystem-warning` +- `http://hl7.org/fhir/StructureDefinition/codesystem-workflowStatus` +- `http://hl7.org/fhir/StructureDefinition/coding-sctdescid` +- `http://hl7.org/fhir/StructureDefinition/communication-media` +- `http://hl7.org/fhir/StructureDefinition/communicationrequest-initiatingLocation` +- `http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-otherConfidentiality` +- `http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber` +- `http://hl7.org/fhir/StructureDefinition/composition-section-subject` +- `http://hl7.org/fhir/StructureDefinition/computableplandefinition` +- `http://hl7.org/fhir/StructureDefinition/concept-bidirectional` +- `http://hl7.org/fhir/StructureDefinition/condition-assertedDate` +- `http://hl7.org/fhir/StructureDefinition/condition-dueTo` +- `http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing` +- `http://hl7.org/fhir/StructureDefinition/condition-outcome` +- `http://hl7.org/fhir/StructureDefinition/condition-related` +- `http://hl7.org/fhir/StructureDefinition/condition-ruledOut` +- `http://hl7.org/fhir/StructureDefinition/consent-NotificationEndpoint` +- `http://hl7.org/fhir/StructureDefinition/consent-Transcriber` +- `http://hl7.org/fhir/StructureDefinition/consent-Witness` +- `http://hl7.org/fhir/StructureDefinition/consent-location` +- `http://hl7.org/fhir/StructureDefinition/contactpoint-area` +- `http://hl7.org/fhir/StructureDefinition/contactpoint-country` +- `http://hl7.org/fhir/StructureDefinition/contactpoint-extension` +- `http://hl7.org/fhir/StructureDefinition/contactpoint-local` +- `http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue` +- `http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint` +- `http://hl7.org/fhir/StructureDefinition/cqf-citation` +- `http://hl7.org/fhir/StructureDefinition/cqf-encounterClass` +- `http://hl7.org/fhir/StructureDefinition/cqf-encounterType` +- `http://hl7.org/fhir/StructureDefinition/cqf-expression` +- `http://hl7.org/fhir/StructureDefinition/cqf-initialValue` +- `http://hl7.org/fhir/StructureDefinition/cqf-initiatingOrganization` +- `http://hl7.org/fhir/StructureDefinition/cqf-initiatingPerson` +- `http://hl7.org/fhir/StructureDefinition/cqf-library` +- `http://hl7.org/fhir/StructureDefinition/cqf-measureInfo` +- `http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence` +- `http://hl7.org/fhir/StructureDefinition/cqf-questionnaire` +- `http://hl7.org/fhir/StructureDefinition/cqf-receivingOrganization` +- `http://hl7.org/fhir/StructureDefinition/cqf-receivingPerson` +- `http://hl7.org/fhir/StructureDefinition/cqf-recipientLanguage` +- `http://hl7.org/fhir/StructureDefinition/cqf-recipientType` +- `http://hl7.org/fhir/StructureDefinition/cqf-relativeDateTime` +- `http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation` +- `http://hl7.org/fhir/StructureDefinition/cqf-systemUserLanguage` +- `http://hl7.org/fhir/StructureDefinition/cqf-systemUserTaskContext` +- `http://hl7.org/fhir/StructureDefinition/cqf-systemUserType` +- `http://hl7.org/fhir/StructureDefinition/cqllibrary` +- `http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod` +- `http://hl7.org/fhir/StructureDefinition/data-absent-reason` +- `http://hl7.org/fhir/StructureDefinition/designNote` +- `http://hl7.org/fhir/StructureDefinition/device-implantStatus` +- `http://hl7.org/fhir/StructureDefinition/devicemetricobservation` +- `http://hl7.org/fhir/StructureDefinition/devicerequest-patientInstruction` +- `http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf` +- `http://hl7.org/fhir/StructureDefinition/diagnosticReport-extends` +- `http://hl7.org/fhir/StructureDefinition/diagnosticReport-locationPerformed` +- `http://hl7.org/fhir/StructureDefinition/diagnosticReport-replaces` +- `http://hl7.org/fhir/StructureDefinition/diagnosticReport-risk` +- `http://hl7.org/fhir/StructureDefinition/diagnosticReport-summaryOf` +- `http://hl7.org/fhir/StructureDefinition/diagnosticreport-genetics` +- `http://hl7.org/fhir/StructureDefinition/display` +- `http://hl7.org/fhir/StructureDefinition/ehrsrle-auditevent` +- `http://hl7.org/fhir/StructureDefinition/ehrsrle-provenance` +- `http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits` +- `http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice` +- `http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation` +- `http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName` +- `http://hl7.org/fhir/StructureDefinition/elementdefinition-de` +- `http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence` +- `http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier` +- `http://hl7.org/fhir/StructureDefinition/elementdefinition-inheritedExtensibleValueSet` +- `http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding` +- `http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet` +- `http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet` +- `http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace` +- `http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element` +- `http://hl7.org/fhir/StructureDefinition/elementdefinition-question` +- `http://hl7.org/fhir/StructureDefinition/elementdefinition-selector` +- `http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable` +- `http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter` +- `http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival` +- `http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled` +- `http://hl7.org/fhir/StructureDefinition/entryFormat` +- `http://hl7.org/fhir/StructureDefinition/event-basedOn` +- `http://hl7.org/fhir/StructureDefinition/event-eventHistory` +- `http://hl7.org/fhir/StructureDefinition/event-location` +- `http://hl7.org/fhir/StructureDefinition/event-partOf` +- `http://hl7.org/fhir/StructureDefinition/event-performerFunction` +- `http://hl7.org/fhir/StructureDefinition/event-statusReason` +- `http://hl7.org/fhir/StructureDefinition/example-composition` +- `http://hl7.org/fhir/StructureDefinition/example-section-library` +- `http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation` +- `http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent` +- `http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling` +- `http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement` +- `http://hl7.org/fhir/StructureDefinition/familymemberhistory-genetic` +- `http://hl7.org/fhir/StructureDefinition/familymemberhistory-patient-record` +- `http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity` +- `http://hl7.org/fhir/StructureDefinition/familymemberhistory-type` +- `http://hl7.org/fhir/StructureDefinition/flag-detail` +- `http://hl7.org/fhir/StructureDefinition/flag-priority` +- `http://hl7.org/fhir/StructureDefinition/geolocation` +- `http://hl7.org/fhir/StructureDefinition/goal-acceptance` +- `http://hl7.org/fhir/StructureDefinition/goal-reasonRejected` +- `http://hl7.org/fhir/StructureDefinition/goal-relationship` +- `http://hl7.org/fhir/StructureDefinition/groupdefinition` +- `http://hl7.org/fhir/StructureDefinition/hdlcholesterol` +- `http://hl7.org/fhir/StructureDefinition/headcircum` +- `http://hl7.org/fhir/StructureDefinition/heartrate` +- `http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-allele-database` +- `http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-glstring` +- `http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-haploid` +- `http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-method` +- `http://hl7.org/fhir/StructureDefinition/hlaresult` +- `http://hl7.org/fhir/StructureDefinition/http-response-header` +- `http://hl7.org/fhir/StructureDefinition/humanname-assembly-order` +- `http://hl7.org/fhir/StructureDefinition/humanname-fathers-family` +- `http://hl7.org/fhir/StructureDefinition/humanname-mothers-family` +- `http://hl7.org/fhir/StructureDefinition/humanname-own-name` +- `http://hl7.org/fhir/StructureDefinition/humanname-own-prefix` +- `http://hl7.org/fhir/StructureDefinition/humanname-partner-name` +- `http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix` +- `http://hl7.org/fhir/StructureDefinition/identifier-validDate` +- `http://hl7.org/fhir/StructureDefinition/iso21090-AD-use` +- `http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator` +- `http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix` +- `http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-careOf` +- `http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract` +- `http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-delimiter` +- `http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryAddressLine` +- `http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationArea` +- `http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationQualifier` +- `http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationType` +- `http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryMode` +- `http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryModeIdentifier` +- `http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-direction` +- `http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber` +- `http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumberNumeric` +- `http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox` +- `http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct` +- `http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetAddressLine` +- `http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName` +- `http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameBase` +- `http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameType` +- `http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID` +- `http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitType` +- `http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier` +- `http://hl7.org/fhir/StructureDefinition/iso21090-EN-representation` +- `http://hl7.org/fhir/StructureDefinition/iso21090-EN-use` +- `http://hl7.org/fhir/StructureDefinition/iso21090-PQ-translation` +- `http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding` +- `http://hl7.org/fhir/StructureDefinition/iso21090-TEL-address` +- `http://hl7.org/fhir/StructureDefinition/iso21090-nullFlavor` +- `http://hl7.org/fhir/StructureDefinition/iso21090-preferred` +- `http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty` +- `http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType` +- `http://hl7.org/fhir/StructureDefinition/language` +- `http://hl7.org/fhir/StructureDefinition/ldlcholesterol` +- `http://hl7.org/fhir/StructureDefinition/lipidprofile` +- `http://hl7.org/fhir/StructureDefinition/list-changeBase` +- `http://hl7.org/fhir/StructureDefinition/location-boundary-geojson` +- `http://hl7.org/fhir/StructureDefinition/location-distance` +- `http://hl7.org/fhir/StructureDefinition/match-grade` +- `http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces` +- `http://hl7.org/fhir/StructureDefinition/maxSize` +- `http://hl7.org/fhir/StructureDefinition/maxValue` +- `http://hl7.org/fhir/StructureDefinition/messageheader-response-request` +- `http://hl7.org/fhir/StructureDefinition/mimeType` +- `http://hl7.org/fhir/StructureDefinition/minLength` +- `http://hl7.org/fhir/StructureDefinition/minValue` +- `http://hl7.org/fhir/StructureDefinition/narrativeLink` +- `http://hl7.org/fhir/StructureDefinition/nutritionorder-adaptiveFeedingDevice` +- `http://hl7.org/fhir/StructureDefinition/observation-bodyPosition` +- `http://hl7.org/fhir/StructureDefinition/observation-delta` +- `http://hl7.org/fhir/StructureDefinition/observation-deviceCode` +- `http://hl7.org/fhir/StructureDefinition/observation-focusCode` +- `http://hl7.org/fhir/StructureDefinition/observation-gatewayDevice` +- `http://hl7.org/fhir/StructureDefinition/observation-genetics` +- `http://hl7.org/fhir/StructureDefinition/observation-geneticsAllele` +- `http://hl7.org/fhir/StructureDefinition/observation-geneticsAminoAcidChange` +- `http://hl7.org/fhir/StructureDefinition/observation-geneticsAncestry` +- `http://hl7.org/fhir/StructureDefinition/observation-geneticsCopyNumberEvent` +- `http://hl7.org/fhir/StructureDefinition/observation-geneticsDNARegionName` +- `http://hl7.org/fhir/StructureDefinition/observation-geneticsGene` +- `http://hl7.org/fhir/StructureDefinition/observation-geneticsGenomicSourceClass` +- `http://hl7.org/fhir/StructureDefinition/observation-geneticsInterpretation` +- `http://hl7.org/fhir/StructureDefinition/observation-geneticsPhaseSet` +- `http://hl7.org/fhir/StructureDefinition/observation-geneticsVariant` +- `http://hl7.org/fhir/StructureDefinition/observation-precondition` +- `http://hl7.org/fhir/StructureDefinition/observation-reagent` +- `http://hl7.org/fhir/StructureDefinition/observation-replaces` +- `http://hl7.org/fhir/StructureDefinition/observation-secondaryFinding` +- `http://hl7.org/fhir/StructureDefinition/observation-sequelTo` +- `http://hl7.org/fhir/StructureDefinition/observation-specimenCode` +- `http://hl7.org/fhir/StructureDefinition/observation-timeOffset` +- `http://hl7.org/fhir/StructureDefinition/openEHR-administration` +- `http://hl7.org/fhir/StructureDefinition/openEHR-careplan` +- `http://hl7.org/fhir/StructureDefinition/openEHR-exposureDate` +- `http://hl7.org/fhir/StructureDefinition/openEHR-exposureDescription` +- `http://hl7.org/fhir/StructureDefinition/openEHR-exposureDuration` +- `http://hl7.org/fhir/StructureDefinition/openEHR-location` +- `http://hl7.org/fhir/StructureDefinition/openEHR-management` +- `http://hl7.org/fhir/StructureDefinition/openEHR-test` +- `http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type` +- `http://hl7.org/fhir/StructureDefinition/operationdefinition-profile` +- `http://hl7.org/fhir/StructureDefinition/operationoutcome-authority` +- `http://hl7.org/fhir/StructureDefinition/operationoutcome-detectedIssue` +- `http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-source` +- `http://hl7.org/fhir/StructureDefinition/ordinalValue` +- `http://hl7.org/fhir/StructureDefinition/organization-period` +- `http://hl7.org/fhir/StructureDefinition/organization-preferredContact` +- `http://hl7.org/fhir/StructureDefinition/organizationaffiliation-primaryInd` +- `http://hl7.org/fhir/StructureDefinition/originalText` +- `http://hl7.org/fhir/StructureDefinition/oxygensat` +- `http://hl7.org/fhir/StructureDefinition/parameters-fullUrl` +- `http://hl7.org/fhir/StructureDefinition/patient-adoptionInfo` +- `http://hl7.org/fhir/StructureDefinition/patient-animal` +- `http://hl7.org/fhir/StructureDefinition/patient-birthPlace` +- `http://hl7.org/fhir/StructureDefinition/patient-birthTime` +- `http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor` +- `http://hl7.org/fhir/StructureDefinition/patient-citizenship` +- `http://hl7.org/fhir/StructureDefinition/patient-congregation` +- `http://hl7.org/fhir/StructureDefinition/patient-disability` +- `http://hl7.org/fhir/StructureDefinition/patient-genderIdentity` +- `http://hl7.org/fhir/StructureDefinition/patient-importance` +- `http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired` +- `http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName` +- `http://hl7.org/fhir/StructureDefinition/patient-nationality` +- `http://hl7.org/fhir/StructureDefinition/patient-preferenceType` +- `http://hl7.org/fhir/StructureDefinition/patient-proficiency` +- `http://hl7.org/fhir/StructureDefinition/patient-relatedPerson` +- `http://hl7.org/fhir/StructureDefinition/patient-religion` +- `http://hl7.org/fhir/StructureDefinition/picoelement` +- `http://hl7.org/fhir/StructureDefinition/practitioner-animalSpecies` +- `http://hl7.org/fhir/StructureDefinition/practitionerrole-primaryInd` +- `http://hl7.org/fhir/StructureDefinition/procedure-approachBodyStructure` +- `http://hl7.org/fhir/StructureDefinition/procedure-causedBy` +- `http://hl7.org/fhir/StructureDefinition/procedure-directedBy` +- `http://hl7.org/fhir/StructureDefinition/procedure-incisionDateTime` +- `http://hl7.org/fhir/StructureDefinition/procedure-method` +- `http://hl7.org/fhir/StructureDefinition/procedure-progressStatus` +- `http://hl7.org/fhir/StructureDefinition/procedure-schedule` +- `http://hl7.org/fhir/StructureDefinition/procedure-targetBodyStructure` +- `http://hl7.org/fhir/StructureDefinition/provenance-relevant-history` +- `http://hl7.org/fhir/StructureDefinition/quantity-precision` +- `http://hl7.org/fhir/StructureDefinition/questionnaire-baseType` +- `http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation` +- `http://hl7.org/fhir/StructureDefinition/questionnaire-constraint` +- `http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory` +- `http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType` +- `http://hl7.org/fhir/StructureDefinition/questionnaire-hidden` +- `http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl` +- `http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs` +- `http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs` +- `http://hl7.org/fhir/StructureDefinition/questionnaire-optionExclusive` +- `http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix` +- `http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter` +- `http://hl7.org/fhir/StructureDefinition/questionnaire-referenceProfile` +- `http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource` +- `http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired` +- `http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue` +- `http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink` +- `http://hl7.org/fhir/StructureDefinition/questionnaire-unit` +- `http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption` +- `http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet` +- `http://hl7.org/fhir/StructureDefinition/questionnaire-usageMode` +- `http://hl7.org/fhir/StructureDefinition/questionnaireresponse-author` +- `http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode` +- `http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reason` +- `http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reviewer` +- `http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature` +- `http://hl7.org/fhir/StructureDefinition/regex` +- `http://hl7.org/fhir/StructureDefinition/relative-date` +- `http://hl7.org/fhir/StructureDefinition/rendered-value` +- `http://hl7.org/fhir/StructureDefinition/rendering-markdown` +- `http://hl7.org/fhir/StructureDefinition/rendering-style` +- `http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive` +- `http://hl7.org/fhir/StructureDefinition/rendering-xhtml` +- `http://hl7.org/fhir/StructureDefinition/replaces` +- `http://hl7.org/fhir/StructureDefinition/request-doNotPerform` +- `http://hl7.org/fhir/StructureDefinition/request-insurance` +- `http://hl7.org/fhir/StructureDefinition/request-performerOrder` +- `http://hl7.org/fhir/StructureDefinition/request-relevantHistory` +- `http://hl7.org/fhir/StructureDefinition/request-replaces` +- `http://hl7.org/fhir/StructureDefinition/request-statusReason` +- `http://hl7.org/fhir/StructureDefinition/resource-approvalDate` +- `http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod` +- `http://hl7.org/fhir/StructureDefinition/resource-lastReviewDate` +- `http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal` +- `http://hl7.org/fhir/StructureDefinition/resprate` +- `http://hl7.org/fhir/StructureDefinition/servicerequest-genetics` +- `http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem` +- `http://hl7.org/fhir/StructureDefinition/servicerequest-precondition` +- `http://hl7.org/fhir/StructureDefinition/servicerequest-questionnaireRequest` +- `http://hl7.org/fhir/StructureDefinition/shareableactivitydefinition` +- `http://hl7.org/fhir/StructureDefinition/shareablecodesystem` +- `http://hl7.org/fhir/StructureDefinition/shareablelibrary` +- `http://hl7.org/fhir/StructureDefinition/shareablemeasure` +- `http://hl7.org/fhir/StructureDefinition/shareableplandefinition` +- `http://hl7.org/fhir/StructureDefinition/shareablevalueset` +- `http://hl7.org/fhir/StructureDefinition/specimen-collectionPriority` +- `http://hl7.org/fhir/StructureDefinition/specimen-isDryWeight` +- `http://hl7.org/fhir/StructureDefinition/specimen-processingTime` +- `http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber` +- `http://hl7.org/fhir/StructureDefinition/specimen-specialHandling` +- `http://hl7.org/fhir/StructureDefinition/structuredefinition-ancestor` +- `http://hl7.org/fhir/StructureDefinition/structuredefinition-applicable-version` +- `http://hl7.org/fhir/StructureDefinition/structuredefinition-category` +- `http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super` +- `http://hl7.org/fhir/StructureDefinition/structuredefinition-dependencies` +- `http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint` +- `http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name` +- `http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type` +- `http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm` +- `http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-no-warnings` +- `http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy` +- `http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version` +- `http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category` +- `http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status` +- `http://hl7.org/fhir/StructureDefinition/structuredefinition-summary` +- `http://hl7.org/fhir/StructureDefinition/structuredefinition-table-name` +- `http://hl7.org/fhir/StructureDefinition/structuredefinition-template-status` +- `http://hl7.org/fhir/StructureDefinition/structuredefinition-wg` +- `http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-no-order` +- `http://hl7.org/fhir/StructureDefinition/synthesis` +- `http://hl7.org/fhir/StructureDefinition/task-candidateList` +- `http://hl7.org/fhir/StructureDefinition/task-replaces` +- `http://hl7.org/fhir/StructureDefinition/timing-dayOfMonth` +- `http://hl7.org/fhir/StructureDefinition/timing-daysOfCycle` +- `http://hl7.org/fhir/StructureDefinition/timing-exact` +- `http://hl7.org/fhir/StructureDefinition/translation` +- `http://hl7.org/fhir/StructureDefinition/triglyceride` +- `http://hl7.org/fhir/StructureDefinition/tz-code` +- `http://hl7.org/fhir/StructureDefinition/tz-offset` +- `http://hl7.org/fhir/StructureDefinition/usagecontext-group` +- `http://hl7.org/fhir/StructureDefinition/valueset-activityStatusDate` +- `http://hl7.org/fhir/StructureDefinition/valueset-author` +- `http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource` +- `http://hl7.org/fhir/StructureDefinition/valueset-caseSensitive` +- `http://hl7.org/fhir/StructureDefinition/valueset-concept-comments` +- `http://hl7.org/fhir/StructureDefinition/valueset-concept-definition` +- `http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder` +- `http://hl7.org/fhir/StructureDefinition/valueset-deprecated` +- `http://hl7.org/fhir/StructureDefinition/valueset-effectiveDate` +- `http://hl7.org/fhir/StructureDefinition/valueset-expand-group` +- `http://hl7.org/fhir/StructureDefinition/valueset-expand-rules` +- `http://hl7.org/fhir/StructureDefinition/valueset-expansionSource` +- `http://hl7.org/fhir/StructureDefinition/valueset-expirationDate` +- `http://hl7.org/fhir/StructureDefinition/valueset-expression` +- `http://hl7.org/fhir/StructureDefinition/valueset-extensible` +- `http://hl7.org/fhir/StructureDefinition/valueset-keyWord` +- `http://hl7.org/fhir/StructureDefinition/valueset-label` +- `http://hl7.org/fhir/StructureDefinition/valueset-map` +- `http://hl7.org/fhir/StructureDefinition/valueset-otherName` +- `http://hl7.org/fhir/StructureDefinition/valueset-parameterSource` +- `http://hl7.org/fhir/StructureDefinition/valueset-reference` +- `http://hl7.org/fhir/StructureDefinition/valueset-rules-text` +- `http://hl7.org/fhir/StructureDefinition/valueset-sourceReference` +- `http://hl7.org/fhir/StructureDefinition/valueset-special-status` +- `http://hl7.org/fhir/StructureDefinition/valueset-steward` +- `http://hl7.org/fhir/StructureDefinition/valueset-supplement` +- `http://hl7.org/fhir/StructureDefinition/valueset-system` +- `http://hl7.org/fhir/StructureDefinition/valueset-systemName` +- `http://hl7.org/fhir/StructureDefinition/valueset-systemRef` +- `http://hl7.org/fhir/StructureDefinition/valueset-toocostly` +- `http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion` +- `http://hl7.org/fhir/StructureDefinition/valueset-unclosed` +- `http://hl7.org/fhir/StructureDefinition/valueset-usage` +- `http://hl7.org/fhir/StructureDefinition/valueset-warning` +- `http://hl7.org/fhir/StructureDefinition/valueset-workflowStatus` +- `http://hl7.org/fhir/StructureDefinition/variable` +- `http://hl7.org/fhir/StructureDefinition/vitalsigns` +- `http://hl7.org/fhir/StructureDefinition/vitalspanel` +- `http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare` +- `http://hl7.org/fhir/StructureDefinition/workflow-instantiatesCanonical` +- `http://hl7.org/fhir/StructureDefinition/workflow-instantiatesUri` +- `http://hl7.org/fhir/StructureDefinition/workflow-reasonCode` +- `http://hl7.org/fhir/StructureDefinition/workflow-reasonReference` +- `http://hl7.org/fhir/StructureDefinition/workflow-relatedArtifact` +- `http://hl7.org/fhir/StructureDefinition/workflow-researchStudy` +- `http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo` +- `http://hl7.org/fhir/ValueSet/FHIR-version` +- `http://hl7.org/fhir/ValueSet/abstract-types` +- `http://hl7.org/fhir/ValueSet/account-status` +- `http://hl7.org/fhir/ValueSet/account-type` +- `http://hl7.org/fhir/ValueSet/action-cardinality-behavior` +- `http://hl7.org/fhir/ValueSet/action-condition-kind` +- `http://hl7.org/fhir/ValueSet/action-grouping-behavior` +- `http://hl7.org/fhir/ValueSet/action-participant-role` +- `http://hl7.org/fhir/ValueSet/action-participant-type` +- `http://hl7.org/fhir/ValueSet/action-precheck-behavior` +- `http://hl7.org/fhir/ValueSet/action-relationship-type` +- `http://hl7.org/fhir/ValueSet/action-required-behavior` +- `http://hl7.org/fhir/ValueSet/action-selection-behavior` +- `http://hl7.org/fhir/ValueSet/action-type` +- `http://hl7.org/fhir/ValueSet/activity-definition-category` +- `http://hl7.org/fhir/ValueSet/additional-instruction-codes` +- `http://hl7.org/fhir/ValueSet/additionalmaterials` +- `http://hl7.org/fhir/ValueSet/address-type` +- `http://hl7.org/fhir/ValueSet/address-use` +- `http://hl7.org/fhir/ValueSet/adjudication` +- `http://hl7.org/fhir/ValueSet/adjudication-error` +- `http://hl7.org/fhir/ValueSet/adjudication-reason` +- `http://hl7.org/fhir/ValueSet/administration-method-codes` +- `http://hl7.org/fhir/ValueSet/administrative-gender` +- `http://hl7.org/fhir/ValueSet/adverse-event-actuality` +- `http://hl7.org/fhir/ValueSet/adverse-event-category` +- `http://hl7.org/fhir/ValueSet/adverse-event-causality-assess` +- `http://hl7.org/fhir/ValueSet/adverse-event-causality-method` +- `http://hl7.org/fhir/ValueSet/adverse-event-outcome` +- `http://hl7.org/fhir/ValueSet/adverse-event-seriousness` +- `http://hl7.org/fhir/ValueSet/adverse-event-severity` +- `http://hl7.org/fhir/ValueSet/adverse-event-type` +- `http://hl7.org/fhir/ValueSet/age-units` +- `http://hl7.org/fhir/ValueSet/all-distance-units` +- `http://hl7.org/fhir/ValueSet/all-languages` +- `http://hl7.org/fhir/ValueSet/all-time-units` +- `http://hl7.org/fhir/ValueSet/all-types` +- `http://hl7.org/fhir/ValueSet/allelename` +- `http://hl7.org/fhir/ValueSet/allerg-intol-substance-exp-risk` +- `http://hl7.org/fhir/ValueSet/allergy-intolerance-category` +- `http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality` +- `http://hl7.org/fhir/ValueSet/allergy-intolerance-type` +- `http://hl7.org/fhir/ValueSet/allergyintolerance-clinical` +- `http://hl7.org/fhir/ValueSet/allergyintolerance-code` +- `http://hl7.org/fhir/ValueSet/allergyintolerance-verification` +- `http://hl7.org/fhir/ValueSet/animal-breeds` +- `http://hl7.org/fhir/ValueSet/animal-genderstatus` +- `http://hl7.org/fhir/ValueSet/animal-species` +- `http://hl7.org/fhir/ValueSet/appointment-cancellation-reason` +- `http://hl7.org/fhir/ValueSet/appointmentstatus` +- `http://hl7.org/fhir/ValueSet/approach-site-codes` +- `http://hl7.org/fhir/ValueSet/assert-direction-codes` +- `http://hl7.org/fhir/ValueSet/assert-operator-codes` +- `http://hl7.org/fhir/ValueSet/assert-response-code-types` +- `http://hl7.org/fhir/ValueSet/asset-availability` +- `http://hl7.org/fhir/ValueSet/audit-entity-type` +- `http://hl7.org/fhir/ValueSet/audit-event-action` +- `http://hl7.org/fhir/ValueSet/audit-event-outcome` +- `http://hl7.org/fhir/ValueSet/audit-event-sub-type` +- `http://hl7.org/fhir/ValueSet/audit-event-type` +- `http://hl7.org/fhir/ValueSet/audit-source-type` +- `http://hl7.org/fhir/ValueSet/basic-resource-type` +- `http://hl7.org/fhir/ValueSet/benefit-network` +- `http://hl7.org/fhir/ValueSet/benefit-term` +- `http://hl7.org/fhir/ValueSet/benefit-type` +- `http://hl7.org/fhir/ValueSet/benefit-unit` +- `http://hl7.org/fhir/ValueSet/binding-strength` +- `http://hl7.org/fhir/ValueSet/body-site` +- `http://hl7.org/fhir/ValueSet/bodysite-laterality` +- `http://hl7.org/fhir/ValueSet/bodystructure-code` +- `http://hl7.org/fhir/ValueSet/bodystructure-relative-location` +- `http://hl7.org/fhir/ValueSet/bundle-type` +- `http://hl7.org/fhir/ValueSet/c80-doc-typecodes` +- `http://hl7.org/fhir/ValueSet/c80-facilitycodes` +- `http://hl7.org/fhir/ValueSet/c80-practice-codes` +- `http://hl7.org/fhir/ValueSet/capability-statement-kind` +- `http://hl7.org/fhir/ValueSet/care-plan-activity-kind` +- `http://hl7.org/fhir/ValueSet/care-plan-activity-outcome` +- `http://hl7.org/fhir/ValueSet/care-plan-activity-status` +- `http://hl7.org/fhir/ValueSet/care-plan-category` +- `http://hl7.org/fhir/ValueSet/care-plan-intent` +- `http://hl7.org/fhir/ValueSet/care-team-category` +- `http://hl7.org/fhir/ValueSet/care-team-status` +- `http://hl7.org/fhir/ValueSet/catalogType` +- `http://hl7.org/fhir/ValueSet/cdshooks-indicator` +- `http://hl7.org/fhir/ValueSet/certainty-subcomponent-rating` +- `http://hl7.org/fhir/ValueSet/certainty-subcomponent-type` +- `http://hl7.org/fhir/ValueSet/chargeitem-billingcodes` +- `http://hl7.org/fhir/ValueSet/chargeitem-status` +- `http://hl7.org/fhir/ValueSet/choice-list-orientation` +- `http://hl7.org/fhir/ValueSet/chromosome-human` +- `http://hl7.org/fhir/ValueSet/claim-careteamrole` +- `http://hl7.org/fhir/ValueSet/claim-exception` +- `http://hl7.org/fhir/ValueSet/claim-informationcategory` +- `http://hl7.org/fhir/ValueSet/claim-modifiers` +- `http://hl7.org/fhir/ValueSet/claim-subtype` +- `http://hl7.org/fhir/ValueSet/claim-type` +- `http://hl7.org/fhir/ValueSet/claim-use` +- `http://hl7.org/fhir/ValueSet/clinical-findings` +- `http://hl7.org/fhir/ValueSet/clinicalimpression-prognosis` +- `http://hl7.org/fhir/ValueSet/clinicalimpression-status` +- `http://hl7.org/fhir/ValueSet/clinvar` +- `http://hl7.org/fhir/ValueSet/code-search-support` +- `http://hl7.org/fhir/ValueSet/codesystem-altcode-kind` +- `http://hl7.org/fhir/ValueSet/codesystem-content-mode` +- `http://hl7.org/fhir/ValueSet/codesystem-hierarchy-meaning` +- `http://hl7.org/fhir/ValueSet/common-tags` +- `http://hl7.org/fhir/ValueSet/communication-category` +- `http://hl7.org/fhir/ValueSet/communication-not-done-reason` +- `http://hl7.org/fhir/ValueSet/communication-topic` +- `http://hl7.org/fhir/ValueSet/compartment-type` +- `http://hl7.org/fhir/ValueSet/composite-measure-scoring` +- `http://hl7.org/fhir/ValueSet/composition-altcode-kind` +- `http://hl7.org/fhir/ValueSet/composition-attestation-mode` +- `http://hl7.org/fhir/ValueSet/composition-status` +- `http://hl7.org/fhir/ValueSet/concept-map-equivalence` +- `http://hl7.org/fhir/ValueSet/concept-property-type` +- `http://hl7.org/fhir/ValueSet/concept-subsumption-outcome` +- `http://hl7.org/fhir/ValueSet/conceptmap-unmapped-mode` +- `http://hl7.org/fhir/ValueSet/condition-category` +- `http://hl7.org/fhir/ValueSet/condition-cause` +- `http://hl7.org/fhir/ValueSet/condition-clinical` +- `http://hl7.org/fhir/ValueSet/condition-code` +- `http://hl7.org/fhir/ValueSet/condition-outcome` +- `http://hl7.org/fhir/ValueSet/condition-predecessor` +- `http://hl7.org/fhir/ValueSet/condition-severity` +- `http://hl7.org/fhir/ValueSet/condition-stage` +- `http://hl7.org/fhir/ValueSet/condition-stage-type` +- `http://hl7.org/fhir/ValueSet/condition-state` +- `http://hl7.org/fhir/ValueSet/condition-ver-status` +- `http://hl7.org/fhir/ValueSet/conditional-delete-status` +- `http://hl7.org/fhir/ValueSet/conditional-read-status` +- `http://hl7.org/fhir/ValueSet/conformance-expectation` +- `http://hl7.org/fhir/ValueSet/consent-action` +- `http://hl7.org/fhir/ValueSet/consent-category` +- `http://hl7.org/fhir/ValueSet/consent-content-class` +- `http://hl7.org/fhir/ValueSet/consent-content-code` +- `http://hl7.org/fhir/ValueSet/consent-data-meaning` +- `http://hl7.org/fhir/ValueSet/consent-performer` +- `http://hl7.org/fhir/ValueSet/consent-policy` +- `http://hl7.org/fhir/ValueSet/consent-provision-type` +- `http://hl7.org/fhir/ValueSet/consent-scope` +- `http://hl7.org/fhir/ValueSet/consent-state-codes` +- `http://hl7.org/fhir/ValueSet/consistency-type` +- `http://hl7.org/fhir/ValueSet/constraint-severity` +- `http://hl7.org/fhir/ValueSet/contact-point-system` +- `http://hl7.org/fhir/ValueSet/contact-point-use` +- `http://hl7.org/fhir/ValueSet/contactentity-type` +- `http://hl7.org/fhir/ValueSet/container-cap` +- `http://hl7.org/fhir/ValueSet/container-material` +- `http://hl7.org/fhir/ValueSet/contract-action` +- `http://hl7.org/fhir/ValueSet/contract-actionstatus` +- `http://hl7.org/fhir/ValueSet/contract-actorrole` +- `http://hl7.org/fhir/ValueSet/contract-assetcontext` +- `http://hl7.org/fhir/ValueSet/contract-assetscope` +- `http://hl7.org/fhir/ValueSet/contract-assetsubtype` +- `http://hl7.org/fhir/ValueSet/contract-assettype` +- `http://hl7.org/fhir/ValueSet/contract-content-derivative` +- `http://hl7.org/fhir/ValueSet/contract-data-meaning` +- `http://hl7.org/fhir/ValueSet/contract-decision-mode` +- `http://hl7.org/fhir/ValueSet/contract-definition-subtype` +- `http://hl7.org/fhir/ValueSet/contract-definition-type` +- `http://hl7.org/fhir/ValueSet/contract-expiration-type` +- `http://hl7.org/fhir/ValueSet/contract-legalstate` +- `http://hl7.org/fhir/ValueSet/contract-party-role` +- `http://hl7.org/fhir/ValueSet/contract-publicationstatus` +- `http://hl7.org/fhir/ValueSet/contract-scope` +- `http://hl7.org/fhir/ValueSet/contract-security-category` +- `http://hl7.org/fhir/ValueSet/contract-security-classification` +- `http://hl7.org/fhir/ValueSet/contract-security-control` +- `http://hl7.org/fhir/ValueSet/contract-signer-type` +- `http://hl7.org/fhir/ValueSet/contract-status` +- `http://hl7.org/fhir/ValueSet/contract-subtype` +- `http://hl7.org/fhir/ValueSet/contract-term-subtype` +- `http://hl7.org/fhir/ValueSet/contract-term-type` +- `http://hl7.org/fhir/ValueSet/contract-type` +- `http://hl7.org/fhir/ValueSet/contributor-type` +- `http://hl7.org/fhir/ValueSet/copy-number-event` +- `http://hl7.org/fhir/ValueSet/cosmic` +- `http://hl7.org/fhir/ValueSet/coverage-class` +- `http://hl7.org/fhir/ValueSet/coverage-copay-type` +- `http://hl7.org/fhir/ValueSet/coverage-financial-exception` +- `http://hl7.org/fhir/ValueSet/coverage-selfpay` +- `http://hl7.org/fhir/ValueSet/coverage-type` +- `http://hl7.org/fhir/ValueSet/coverageeligibilityresponse-ex-auth-support` +- `http://hl7.org/fhir/ValueSet/cpt-all` +- `http://hl7.org/fhir/ValueSet/currencies` +- `http://hl7.org/fhir/ValueSet/data-absent-reason` +- `http://hl7.org/fhir/ValueSet/data-types` +- `http://hl7.org/fhir/ValueSet/dataelement-sdcobjectclass` +- `http://hl7.org/fhir/ValueSet/dataelement-sdcobjectclassproperty` +- `http://hl7.org/fhir/ValueSet/days-of-week` +- `http://hl7.org/fhir/ValueSet/dbsnp` +- `http://hl7.org/fhir/ValueSet/defined-types` +- `http://hl7.org/fhir/ValueSet/definition-resource-types` +- `http://hl7.org/fhir/ValueSet/definition-status` +- `http://hl7.org/fhir/ValueSet/definition-topic` +- `http://hl7.org/fhir/ValueSet/definition-use` +- `http://hl7.org/fhir/ValueSet/designation-use` +- `http://hl7.org/fhir/ValueSet/detectedissue-category` +- `http://hl7.org/fhir/ValueSet/detectedissue-mitigation-action` +- `http://hl7.org/fhir/ValueSet/detectedissue-severity` +- `http://hl7.org/fhir/ValueSet/device-action` +- `http://hl7.org/fhir/ValueSet/device-component-property` +- `http://hl7.org/fhir/ValueSet/device-definition-status` +- `http://hl7.org/fhir/ValueSet/device-kind` +- `http://hl7.org/fhir/ValueSet/device-nametype` +- `http://hl7.org/fhir/ValueSet/device-safety` +- `http://hl7.org/fhir/ValueSet/device-statement-status` +- `http://hl7.org/fhir/ValueSet/device-status` +- `http://hl7.org/fhir/ValueSet/device-status-reason` +- `http://hl7.org/fhir/ValueSet/device-type` +- `http://hl7.org/fhir/ValueSet/devicemetric-type` +- `http://hl7.org/fhir/ValueSet/diagnosis-role` +- `http://hl7.org/fhir/ValueSet/diagnostic-based-on-snomed` +- `http://hl7.org/fhir/ValueSet/diagnostic-report-status` +- `http://hl7.org/fhir/ValueSet/diagnostic-service-sections` +- `http://hl7.org/fhir/ValueSet/dicm-405-mediatype` +- `http://hl7.org/fhir/ValueSet/diet-type` +- `http://hl7.org/fhir/ValueSet/discriminator-type` +- `http://hl7.org/fhir/ValueSet/distance-units` +- `http://hl7.org/fhir/ValueSet/doc-section-codes` +- `http://hl7.org/fhir/ValueSet/doc-typecodes` +- `http://hl7.org/fhir/ValueSet/document-classcodes` +- `http://hl7.org/fhir/ValueSet/document-mode` +- `http://hl7.org/fhir/ValueSet/document-reference-status` +- `http://hl7.org/fhir/ValueSet/document-relationship-type` +- `http://hl7.org/fhir/ValueSet/dose-rate-type` +- `http://hl7.org/fhir/ValueSet/duration-units` +- `http://hl7.org/fhir/ValueSet/effect-estimate-type` +- `http://hl7.org/fhir/ValueSet/eligibilityrequest-purpose` +- `http://hl7.org/fhir/ValueSet/eligibilityresponse-purpose` +- `http://hl7.org/fhir/ValueSet/encounter-admit-source` +- `http://hl7.org/fhir/ValueSet/encounter-diet` +- `http://hl7.org/fhir/ValueSet/encounter-discharge-disposition` +- `http://hl7.org/fhir/ValueSet/encounter-location-status` +- `http://hl7.org/fhir/ValueSet/encounter-participant-type` +- `http://hl7.org/fhir/ValueSet/encounter-reason` +- `http://hl7.org/fhir/ValueSet/encounter-special-arrangements` +- `http://hl7.org/fhir/ValueSet/encounter-special-courtesy` +- `http://hl7.org/fhir/ValueSet/encounter-status` +- `http://hl7.org/fhir/ValueSet/encounter-type` +- `http://hl7.org/fhir/ValueSet/endpoint-connection-type` +- `http://hl7.org/fhir/ValueSet/endpoint-payload-type` +- `http://hl7.org/fhir/ValueSet/endpoint-status` +- `http://hl7.org/fhir/ValueSet/ensembl` +- `http://hl7.org/fhir/ValueSet/enteral-route` +- `http://hl7.org/fhir/ValueSet/entformula-additive` +- `http://hl7.org/fhir/ValueSet/entformula-type` +- `http://hl7.org/fhir/ValueSet/episode-of-care-status` +- `http://hl7.org/fhir/ValueSet/episodeofcare-type` +- `http://hl7.org/fhir/ValueSet/event-capability-mode` +- `http://hl7.org/fhir/ValueSet/event-or-request-resource-types` +- `http://hl7.org/fhir/ValueSet/event-resource-types` +- `http://hl7.org/fhir/ValueSet/event-status` +- `http://hl7.org/fhir/ValueSet/event-timing` +- `http://hl7.org/fhir/ValueSet/evidence-quality` +- `http://hl7.org/fhir/ValueSet/evidence-variant-state` +- `http://hl7.org/fhir/ValueSet/ex-benefitcategory` +- `http://hl7.org/fhir/ValueSet/ex-diagnosis-on-admission` +- `http://hl7.org/fhir/ValueSet/ex-diagnosisrelatedgroup` +- `http://hl7.org/fhir/ValueSet/ex-diagnosistype` +- `http://hl7.org/fhir/ValueSet/ex-onsettype` +- `http://hl7.org/fhir/ValueSet/ex-payee-resource-type` +- `http://hl7.org/fhir/ValueSet/ex-paymenttype` +- `http://hl7.org/fhir/ValueSet/ex-procedure-type` +- `http://hl7.org/fhir/ValueSet/ex-program-code` +- `http://hl7.org/fhir/ValueSet/ex-revenue-center` +- `http://hl7.org/fhir/ValueSet/example-expansion` +- `http://hl7.org/fhir/ValueSet/example-extensional` +- `http://hl7.org/fhir/ValueSet/example-filter` +- `http://hl7.org/fhir/ValueSet/example-hierarchical` +- `http://hl7.org/fhir/ValueSet/example-intensional` +- `http://hl7.org/fhir/ValueSet/examplescenario-actor-type` +- `http://hl7.org/fhir/ValueSet/expansion-parameter-source` +- `http://hl7.org/fhir/ValueSet/expansion-processing-rule` +- `http://hl7.org/fhir/ValueSet/explanationofbenefit-status` +- `http://hl7.org/fhir/ValueSet/exposure-state` +- `http://hl7.org/fhir/ValueSet/expression-language` +- `http://hl7.org/fhir/ValueSet/extension-context-type` +- `http://hl7.org/fhir/ValueSet/feeding-device` +- `http://hl7.org/fhir/ValueSet/filter-operator` +- `http://hl7.org/fhir/ValueSet/financial-taskcode` +- `http://hl7.org/fhir/ValueSet/financial-taskinputtype` +- `http://hl7.org/fhir/ValueSet/flag-category` +- `http://hl7.org/fhir/ValueSet/flag-code` +- `http://hl7.org/fhir/ValueSet/flag-priority` +- `http://hl7.org/fhir/ValueSet/flag-status` +- `http://hl7.org/fhir/ValueSet/fm-conditions` +- `http://hl7.org/fhir/ValueSet/fm-itemtype` +- `http://hl7.org/fhir/ValueSet/fm-status` +- `http://hl7.org/fhir/ValueSet/focal-subject` +- `http://hl7.org/fhir/ValueSet/food-type` +- `http://hl7.org/fhir/ValueSet/formatcodes` +- `http://hl7.org/fhir/ValueSet/forms` +- `http://hl7.org/fhir/ValueSet/fundsreserve` +- `http://hl7.org/fhir/ValueSet/gender-identity` +- `http://hl7.org/fhir/ValueSet/genenames` +- `http://hl7.org/fhir/ValueSet/goal-acceptance-status` +- `http://hl7.org/fhir/ValueSet/goal-achievement` +- `http://hl7.org/fhir/ValueSet/goal-category` +- `http://hl7.org/fhir/ValueSet/goal-priority` +- `http://hl7.org/fhir/ValueSet/goal-relationship-type` +- `http://hl7.org/fhir/ValueSet/goal-start-event` +- `http://hl7.org/fhir/ValueSet/goal-status` +- `http://hl7.org/fhir/ValueSet/goal-status-reason` +- `http://hl7.org/fhir/ValueSet/graph-compartment-rule` +- `http://hl7.org/fhir/ValueSet/graph-compartment-use` +- `http://hl7.org/fhir/ValueSet/group-measure` +- `http://hl7.org/fhir/ValueSet/group-type` +- `http://hl7.org/fhir/ValueSet/guidance-response-status` +- `http://hl7.org/fhir/ValueSet/guide-page-generation` +- `http://hl7.org/fhir/ValueSet/guide-parameter-code` +- `http://hl7.org/fhir/ValueSet/handling-condition` +- `http://hl7.org/fhir/ValueSet/history-absent-reason` +- `http://hl7.org/fhir/ValueSet/history-status` +- `http://hl7.org/fhir/ValueSet/hl7-work-group` +- `http://hl7.org/fhir/ValueSet/http-operations` +- `http://hl7.org/fhir/ValueSet/http-verb` +- `http://hl7.org/fhir/ValueSet/icd-10` +- `http://hl7.org/fhir/ValueSet/icd-10-procedures` +- `http://hl7.org/fhir/ValueSet/identifier-type` +- `http://hl7.org/fhir/ValueSet/identifier-use` +- `http://hl7.org/fhir/ValueSet/identity-assuranceLevel` +- `http://hl7.org/fhir/ValueSet/imagingstudy-status` +- `http://hl7.org/fhir/ValueSet/immunization-evaluation-dose-status` +- `http://hl7.org/fhir/ValueSet/immunization-evaluation-dose-status-reason` +- `http://hl7.org/fhir/ValueSet/immunization-evaluation-status` +- `http://hl7.org/fhir/ValueSet/immunization-evaluation-target-disease` +- `http://hl7.org/fhir/ValueSet/immunization-function` +- `http://hl7.org/fhir/ValueSet/immunization-funding-source` +- `http://hl7.org/fhir/ValueSet/immunization-origin` +- `http://hl7.org/fhir/ValueSet/immunization-program-eligibility` +- `http://hl7.org/fhir/ValueSet/immunization-reason` +- `http://hl7.org/fhir/ValueSet/immunization-recommendation-date-criterion` +- `http://hl7.org/fhir/ValueSet/immunization-recommendation-reason` +- `http://hl7.org/fhir/ValueSet/immunization-recommendation-status` +- `http://hl7.org/fhir/ValueSet/immunization-recommendation-target-disease` +- `http://hl7.org/fhir/ValueSet/immunization-route` +- `http://hl7.org/fhir/ValueSet/immunization-site` +- `http://hl7.org/fhir/ValueSet/immunization-status` +- `http://hl7.org/fhir/ValueSet/immunization-status-reason` +- `http://hl7.org/fhir/ValueSet/immunization-subpotent-reason` +- `http://hl7.org/fhir/ValueSet/immunization-target-disease` +- `http://hl7.org/fhir/ValueSet/implantStatus` +- `http://hl7.org/fhir/ValueSet/inactive` +- `http://hl7.org/fhir/ValueSet/instance-availability` +- `http://hl7.org/fhir/ValueSet/insuranceplan-applicability` +- `http://hl7.org/fhir/ValueSet/insuranceplan-type` +- `http://hl7.org/fhir/ValueSet/intervention` +- `http://hl7.org/fhir/ValueSet/investigation-sets` +- `http://hl7.org/fhir/ValueSet/invoice-priceComponentType` +- `http://hl7.org/fhir/ValueSet/invoice-status` +- `http://hl7.org/fhir/ValueSet/iso3166-1-2` +- `http://hl7.org/fhir/ValueSet/iso3166-1-3` +- `http://hl7.org/fhir/ValueSet/iso3166-1-N` +- `http://hl7.org/fhir/ValueSet/issue-severity` +- `http://hl7.org/fhir/ValueSet/issue-type` +- `http://hl7.org/fhir/ValueSet/item-type` +- `http://hl7.org/fhir/ValueSet/jurisdiction` +- `http://hl7.org/fhir/ValueSet/knowledge-resource-types` +- `http://hl7.org/fhir/ValueSet/language-preference-type` +- `http://hl7.org/fhir/ValueSet/languages` +- `http://hl7.org/fhir/ValueSet/ldlcholesterol-codes` +- `http://hl7.org/fhir/ValueSet/library-type` +- `http://hl7.org/fhir/ValueSet/link-type` +- `http://hl7.org/fhir/ValueSet/linkage-type` +- `http://hl7.org/fhir/ValueSet/list-empty-reason` +- `http://hl7.org/fhir/ValueSet/list-example-codes` +- `http://hl7.org/fhir/ValueSet/list-item-flag` +- `http://hl7.org/fhir/ValueSet/list-mode` +- `http://hl7.org/fhir/ValueSet/list-order` +- `http://hl7.org/fhir/ValueSet/list-status` +- `http://hl7.org/fhir/ValueSet/location-mode` +- `http://hl7.org/fhir/ValueSet/location-physical-type` +- `http://hl7.org/fhir/ValueSet/location-status` +- `http://hl7.org/fhir/ValueSet/manifestation-or-symptom` +- `http://hl7.org/fhir/ValueSet/map-context-type` +- `http://hl7.org/fhir/ValueSet/map-group-type-mode` +- `http://hl7.org/fhir/ValueSet/map-input-mode` +- `http://hl7.org/fhir/ValueSet/map-model-mode` +- `http://hl7.org/fhir/ValueSet/map-source-list-mode` +- `http://hl7.org/fhir/ValueSet/map-target-list-mode` +- `http://hl7.org/fhir/ValueSet/map-transform` +- `http://hl7.org/fhir/ValueSet/marital-status` +- `http://hl7.org/fhir/ValueSet/match-grade` +- `http://hl7.org/fhir/ValueSet/measure-data-usage` +- `http://hl7.org/fhir/ValueSet/measure-improvement-notation` +- `http://hl7.org/fhir/ValueSet/measure-population` +- `http://hl7.org/fhir/ValueSet/measure-report-status` +- `http://hl7.org/fhir/ValueSet/measure-report-type` +- `http://hl7.org/fhir/ValueSet/measure-scoring` +- `http://hl7.org/fhir/ValueSet/measure-type` +- `http://hl7.org/fhir/ValueSet/med-admin-perform-function` +- `http://hl7.org/fhir/ValueSet/media-modality` +- `http://hl7.org/fhir/ValueSet/media-type` +- `http://hl7.org/fhir/ValueSet/media-view` +- `http://hl7.org/fhir/ValueSet/medication-admin-category` +- `http://hl7.org/fhir/ValueSet/medication-admin-status` +- `http://hl7.org/fhir/ValueSet/medication-as-needed-reason` +- `http://hl7.org/fhir/ValueSet/medication-codes` +- `http://hl7.org/fhir/ValueSet/medication-form-codes` +- `http://hl7.org/fhir/ValueSet/medication-statement-category` +- `http://hl7.org/fhir/ValueSet/medication-statement-status` +- `http://hl7.org/fhir/ValueSet/medication-status` +- `http://hl7.org/fhir/ValueSet/medicationdispense-category` +- `http://hl7.org/fhir/ValueSet/medicationdispense-performer-function` +- `http://hl7.org/fhir/ValueSet/medicationdispense-status` +- `http://hl7.org/fhir/ValueSet/medicationdispense-status-reason` +- `http://hl7.org/fhir/ValueSet/medicationknowledge-characteristic` +- `http://hl7.org/fhir/ValueSet/medicationknowledge-package-type` +- `http://hl7.org/fhir/ValueSet/medicationknowledge-status` +- `http://hl7.org/fhir/ValueSet/medicationrequest-category` +- `http://hl7.org/fhir/ValueSet/medicationrequest-course-of-therapy` +- `http://hl7.org/fhir/ValueSet/medicationrequest-intent` +- `http://hl7.org/fhir/ValueSet/medicationrequest-status` +- `http://hl7.org/fhir/ValueSet/medicationrequest-status-reason` +- `http://hl7.org/fhir/ValueSet/message-events` +- `http://hl7.org/fhir/ValueSet/message-reason-encounter` +- `http://hl7.org/fhir/ValueSet/message-significance-category` +- `http://hl7.org/fhir/ValueSet/message-transport` +- `http://hl7.org/fhir/ValueSet/messageheader-response-request` +- `http://hl7.org/fhir/ValueSet/metric-calibration-state` +- `http://hl7.org/fhir/ValueSet/metric-calibration-type` +- `http://hl7.org/fhir/ValueSet/metric-category` +- `http://hl7.org/fhir/ValueSet/metric-color` +- `http://hl7.org/fhir/ValueSet/metric-operational-status` +- `http://hl7.org/fhir/ValueSet/mimetypes` +- `http://hl7.org/fhir/ValueSet/missing-tooth-reason` +- `http://hl7.org/fhir/ValueSet/modified-foodtype` +- `http://hl7.org/fhir/ValueSet/name-assembly-order` +- `http://hl7.org/fhir/ValueSet/name-part-qualifier` +- `http://hl7.org/fhir/ValueSet/name-use` +- `http://hl7.org/fhir/ValueSet/name-v3-representation` +- `http://hl7.org/fhir/ValueSet/namingsystem-identifier-type` +- `http://hl7.org/fhir/ValueSet/namingsystem-type` +- `http://hl7.org/fhir/ValueSet/narrative-status` +- `http://hl7.org/fhir/ValueSet/network-type` +- `http://hl7.org/fhir/ValueSet/nhin-purposeofuse` +- `http://hl7.org/fhir/ValueSet/note-type` +- `http://hl7.org/fhir/ValueSet/nutrient-code` +- `http://hl7.org/fhir/ValueSet/object-lifecycle-events` +- `http://hl7.org/fhir/ValueSet/object-role` +- `http://hl7.org/fhir/ValueSet/observation-category` +- `http://hl7.org/fhir/ValueSet/observation-codes` +- `http://hl7.org/fhir/ValueSet/observation-interpretation` +- `http://hl7.org/fhir/ValueSet/observation-methods` +- `http://hl7.org/fhir/ValueSet/observation-range-category` +- `http://hl7.org/fhir/ValueSet/observation-statistics` +- `http://hl7.org/fhir/ValueSet/observation-status` +- `http://hl7.org/fhir/ValueSet/observation-vitalsignresult` +- `http://hl7.org/fhir/ValueSet/operation-kind` +- `http://hl7.org/fhir/ValueSet/operation-outcome` +- `http://hl7.org/fhir/ValueSet/operation-parameter-use` +- `http://hl7.org/fhir/ValueSet/oral-prosthodontic-material` +- `http://hl7.org/fhir/ValueSet/organization-role` +- `http://hl7.org/fhir/ValueSet/organization-type` +- `http://hl7.org/fhir/ValueSet/orientation-type` +- `http://hl7.org/fhir/ValueSet/parameter-group` +- `http://hl7.org/fhir/ValueSet/parent-relationship-codes` +- `http://hl7.org/fhir/ValueSet/participant-role` +- `http://hl7.org/fhir/ValueSet/participantrequired` +- `http://hl7.org/fhir/ValueSet/participation-role-type` +- `http://hl7.org/fhir/ValueSet/participationstatus` +- `http://hl7.org/fhir/ValueSet/patient-contactrelationship` +- `http://hl7.org/fhir/ValueSet/payeetype` +- `http://hl7.org/fhir/ValueSet/payment-adjustment-reason` +- `http://hl7.org/fhir/ValueSet/payment-status` +- `http://hl7.org/fhir/ValueSet/payment-type` +- `http://hl7.org/fhir/ValueSet/performer-function` +- `http://hl7.org/fhir/ValueSet/performer-role` +- `http://hl7.org/fhir/ValueSet/permitted-data-type` +- `http://hl7.org/fhir/ValueSet/plan-definition-type` +- `http://hl7.org/fhir/ValueSet/postal-address-use` +- `http://hl7.org/fhir/ValueSet/practitioner-role` +- `http://hl7.org/fhir/ValueSet/practitioner-specialty` +- `http://hl7.org/fhir/ValueSet/precision-estimate-type` +- `http://hl7.org/fhir/ValueSet/prepare-patient-prior-specimen-collection` +- `http://hl7.org/fhir/ValueSet/probability-distribution-type` +- `http://hl7.org/fhir/ValueSet/procedure-category` +- `http://hl7.org/fhir/ValueSet/procedure-code` +- `http://hl7.org/fhir/ValueSet/procedure-followup` +- `http://hl7.org/fhir/ValueSet/procedure-not-performed-reason` +- `http://hl7.org/fhir/ValueSet/procedure-outcome` +- `http://hl7.org/fhir/ValueSet/procedure-progress-status-codes` +- `http://hl7.org/fhir/ValueSet/procedure-reason` +- `http://hl7.org/fhir/ValueSet/process-priority` +- `http://hl7.org/fhir/ValueSet/product-category` +- `http://hl7.org/fhir/ValueSet/product-status` +- `http://hl7.org/fhir/ValueSet/product-storage-scale` +- `http://hl7.org/fhir/ValueSet/program` +- `http://hl7.org/fhir/ValueSet/property-representation` +- `http://hl7.org/fhir/ValueSet/provenance-activity-type` +- `http://hl7.org/fhir/ValueSet/provenance-agent-role` +- `http://hl7.org/fhir/ValueSet/provenance-agent-type` +- `http://hl7.org/fhir/ValueSet/provenance-entity-role` +- `http://hl7.org/fhir/ValueSet/provenance-history-agent-type` +- `http://hl7.org/fhir/ValueSet/provenance-history-record-activity` +- `http://hl7.org/fhir/ValueSet/provider-qualification` +- `http://hl7.org/fhir/ValueSet/provider-taxonomy` +- `http://hl7.org/fhir/ValueSet/publication-status` +- `http://hl7.org/fhir/ValueSet/quality-type` +- `http://hl7.org/fhir/ValueSet/quantity-comparator` +- `http://hl7.org/fhir/ValueSet/question-max-occurs` +- `http://hl7.org/fhir/ValueSet/questionnaire-answers` +- `http://hl7.org/fhir/ValueSet/questionnaire-answers-status` +- `http://hl7.org/fhir/ValueSet/questionnaire-category` +- `http://hl7.org/fhir/ValueSet/questionnaire-display-category` +- `http://hl7.org/fhir/ValueSet/questionnaire-enable-behavior` +- `http://hl7.org/fhir/ValueSet/questionnaire-enable-operator` +- `http://hl7.org/fhir/ValueSet/questionnaire-item-control` +- `http://hl7.org/fhir/ValueSet/questionnaire-questions` +- `http://hl7.org/fhir/ValueSet/questionnaire-usage-mode` +- `http://hl7.org/fhir/ValueSet/questionnaireresponse-mode` +- `http://hl7.org/fhir/ValueSet/reaction-event-certainty` +- `http://hl7.org/fhir/ValueSet/reaction-event-severity` +- `http://hl7.org/fhir/ValueSet/reason-medication-given-codes` +- `http://hl7.org/fhir/ValueSet/reason-medication-not-given-codes` +- `http://hl7.org/fhir/ValueSet/reason-medication-status-codes` +- `http://hl7.org/fhir/ValueSet/recommendation-strength` +- `http://hl7.org/fhir/ValueSet/ref-sequences` +- `http://hl7.org/fhir/ValueSet/reference-handling-policy` +- `http://hl7.org/fhir/ValueSet/reference-version-rules` +- `http://hl7.org/fhir/ValueSet/referencerange-appliesto` +- `http://hl7.org/fhir/ValueSet/referencerange-meaning` +- `http://hl7.org/fhir/ValueSet/rejection-criteria` +- `http://hl7.org/fhir/ValueSet/related-artifact-type` +- `http://hl7.org/fhir/ValueSet/related-claim-relationship` +- `http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype` +- `http://hl7.org/fhir/ValueSet/relation-type` +- `http://hl7.org/fhir/ValueSet/relationship` +- `http://hl7.org/fhir/ValueSet/remittance-outcome` +- `http://hl7.org/fhir/ValueSet/report-action-result-codes` +- `http://hl7.org/fhir/ValueSet/report-codes` +- `http://hl7.org/fhir/ValueSet/report-participant-type` +- `http://hl7.org/fhir/ValueSet/report-result-codes` +- `http://hl7.org/fhir/ValueSet/report-status-codes` +- `http://hl7.org/fhir/ValueSet/repository-type` +- `http://hl7.org/fhir/ValueSet/request-intent` +- `http://hl7.org/fhir/ValueSet/request-priority` +- `http://hl7.org/fhir/ValueSet/request-resource-types` +- `http://hl7.org/fhir/ValueSet/request-status` +- `http://hl7.org/fhir/ValueSet/research-element-type` +- `http://hl7.org/fhir/ValueSet/research-study-objective-type` +- `http://hl7.org/fhir/ValueSet/research-study-phase` +- `http://hl7.org/fhir/ValueSet/research-study-prim-purp-type` +- `http://hl7.org/fhir/ValueSet/research-study-reason-stopped` +- `http://hl7.org/fhir/ValueSet/research-study-status` +- `http://hl7.org/fhir/ValueSet/research-subject-status` +- `http://hl7.org/fhir/ValueSet/resource-aggregation-mode` +- `http://hl7.org/fhir/ValueSet/resource-security-category` +- `http://hl7.org/fhir/ValueSet/resource-slicing-rules` +- `http://hl7.org/fhir/ValueSet/resource-status` +- `http://hl7.org/fhir/ValueSet/resource-type-link` +- `http://hl7.org/fhir/ValueSet/resource-types` +- `http://hl7.org/fhir/ValueSet/resource-validation-mode` +- `http://hl7.org/fhir/ValueSet/response-code` +- `http://hl7.org/fhir/ValueSet/restful-capability-mode` +- `http://hl7.org/fhir/ValueSet/restful-security-service` +- `http://hl7.org/fhir/ValueSet/risk-estimate-type` +- `http://hl7.org/fhir/ValueSet/risk-probability` +- `http://hl7.org/fhir/ValueSet/route-codes` +- `http://hl7.org/fhir/ValueSet/search-comparator` +- `http://hl7.org/fhir/ValueSet/search-entry-mode` +- `http://hl7.org/fhir/ValueSet/search-modifier-code` +- `http://hl7.org/fhir/ValueSet/search-param-type` +- `http://hl7.org/fhir/ValueSet/search-xpath-usage` +- `http://hl7.org/fhir/ValueSet/secondary-finding` +- `http://hl7.org/fhir/ValueSet/security-labels` +- `http://hl7.org/fhir/ValueSet/security-role-type` +- `http://hl7.org/fhir/ValueSet/sequence-quality-method` +- `http://hl7.org/fhir/ValueSet/sequence-quality-standardSequence` +- `http://hl7.org/fhir/ValueSet/sequence-referenceSeq` +- `http://hl7.org/fhir/ValueSet/sequence-species` +- `http://hl7.org/fhir/ValueSet/sequence-type` +- `http://hl7.org/fhir/ValueSet/sequenceontology` +- `http://hl7.org/fhir/ValueSet/series-performer-function` +- `http://hl7.org/fhir/ValueSet/service-category` +- `http://hl7.org/fhir/ValueSet/service-modifiers` +- `http://hl7.org/fhir/ValueSet/service-pharmacy` +- `http://hl7.org/fhir/ValueSet/service-place` +- `http://hl7.org/fhir/ValueSet/service-product` +- `http://hl7.org/fhir/ValueSet/service-provision-conditions` +- `http://hl7.org/fhir/ValueSet/service-referral-method` +- `http://hl7.org/fhir/ValueSet/service-type` +- `http://hl7.org/fhir/ValueSet/service-uscls` +- `http://hl7.org/fhir/ValueSet/servicerequest-category` +- `http://hl7.org/fhir/ValueSet/servicerequest-orderdetail` +- `http://hl7.org/fhir/ValueSet/sibling-relationship-codes` +- `http://hl7.org/fhir/ValueSet/signature-type` +- `http://hl7.org/fhir/ValueSet/slotstatus` +- `http://hl7.org/fhir/ValueSet/smart-capabilities` +- `http://hl7.org/fhir/ValueSet/sort-direction` +- `http://hl7.org/fhir/ValueSet/spdx-license` +- `http://hl7.org/fhir/ValueSet/special-values` +- `http://hl7.org/fhir/ValueSet/specimen-collection` +- `http://hl7.org/fhir/ValueSet/specimen-collection-method` +- `http://hl7.org/fhir/ValueSet/specimen-collection-priority` +- `http://hl7.org/fhir/ValueSet/specimen-contained-preference` +- `http://hl7.org/fhir/ValueSet/specimen-container-type` +- `http://hl7.org/fhir/ValueSet/specimen-processing-procedure` +- `http://hl7.org/fhir/ValueSet/specimen-status` +- `http://hl7.org/fhir/ValueSet/standards-status` +- `http://hl7.org/fhir/ValueSet/strand-type` +- `http://hl7.org/fhir/ValueSet/structure-definition-kind` +- `http://hl7.org/fhir/ValueSet/study-type` +- `http://hl7.org/fhir/ValueSet/subject-type` +- `http://hl7.org/fhir/ValueSet/subscriber-relationship` +- `http://hl7.org/fhir/ValueSet/subscription-channel-type` +- `http://hl7.org/fhir/ValueSet/subscription-status` +- `http://hl7.org/fhir/ValueSet/subscription-tag` +- `http://hl7.org/fhir/ValueSet/substance-category` +- `http://hl7.org/fhir/ValueSet/substance-code` +- `http://hl7.org/fhir/ValueSet/substance-status` +- `http://hl7.org/fhir/ValueSet/supplement-type` +- `http://hl7.org/fhir/ValueSet/supply-item` +- `http://hl7.org/fhir/ValueSet/supplydelivery-status` +- `http://hl7.org/fhir/ValueSet/supplydelivery-type` +- `http://hl7.org/fhir/ValueSet/supplyrequest-kind` +- `http://hl7.org/fhir/ValueSet/supplyrequest-reason` +- `http://hl7.org/fhir/ValueSet/supplyrequest-status` +- `http://hl7.org/fhir/ValueSet/surface` +- `http://hl7.org/fhir/ValueSet/synthesis-type` +- `http://hl7.org/fhir/ValueSet/system-restful-interaction` +- `http://hl7.org/fhir/ValueSet/task-code` +- `http://hl7.org/fhir/ValueSet/task-intent` +- `http://hl7.org/fhir/ValueSet/task-status` +- `http://hl7.org/fhir/ValueSet/teeth` +- `http://hl7.org/fhir/ValueSet/template-status-code` +- `http://hl7.org/fhir/ValueSet/testscript-operation-codes` +- `http://hl7.org/fhir/ValueSet/testscript-profile-destination-types` +- `http://hl7.org/fhir/ValueSet/testscript-profile-origin-types` +- `http://hl7.org/fhir/ValueSet/texture-code` +- `http://hl7.org/fhir/ValueSet/timezones` +- `http://hl7.org/fhir/ValueSet/timing-abbreviation` +- `http://hl7.org/fhir/ValueSet/tooth` +- `http://hl7.org/fhir/ValueSet/transaction-mode` +- `http://hl7.org/fhir/ValueSet/trigger-type` +- `http://hl7.org/fhir/ValueSet/type-derivation-rule` +- `http://hl7.org/fhir/ValueSet/type-restful-interaction` +- `http://hl7.org/fhir/ValueSet/ucum-bodylength` +- `http://hl7.org/fhir/ValueSet/ucum-bodytemp` +- `http://hl7.org/fhir/ValueSet/ucum-bodyweight` +- `http://hl7.org/fhir/ValueSet/ucum-common` +- `http://hl7.org/fhir/ValueSet/ucum-units` +- `http://hl7.org/fhir/ValueSet/ucum-vitals-common` +- `http://hl7.org/fhir/ValueSet/udi` +- `http://hl7.org/fhir/ValueSet/udi-entry-type` +- `http://hl7.org/fhir/ValueSet/units-of-time` +- `http://hl7.org/fhir/ValueSet/unknown-content-code` +- `http://hl7.org/fhir/ValueSet/usage-context-type` +- `http://hl7.org/fhir/ValueSet/use-context` +- `http://hl7.org/fhir/ValueSet/vaccine-code` +- `http://hl7.org/fhir/ValueSet/variable-type` +- `http://hl7.org/fhir/ValueSet/variant-state` +- `http://hl7.org/fhir/ValueSet/variants` +- `http://hl7.org/fhir/ValueSet/verificationresult-can-push-updates` +- `http://hl7.org/fhir/ValueSet/verificationresult-communication-method` +- `http://hl7.org/fhir/ValueSet/verificationresult-failure-action` +- `http://hl7.org/fhir/ValueSet/verificationresult-need` +- `http://hl7.org/fhir/ValueSet/verificationresult-primary-source-type` +- `http://hl7.org/fhir/ValueSet/verificationresult-push-type-available` +- `http://hl7.org/fhir/ValueSet/verificationresult-status` +- `http://hl7.org/fhir/ValueSet/verificationresult-validation-process` +- `http://hl7.org/fhir/ValueSet/verificationresult-validation-status` +- `http://hl7.org/fhir/ValueSet/verificationresult-validation-type` +- `http://hl7.org/fhir/ValueSet/versioning-policy` +- `http://hl7.org/fhir/ValueSet/vision-base-codes` +- `http://hl7.org/fhir/ValueSet/vision-eye-codes` +- `http://hl7.org/fhir/ValueSet/vision-product` +- `http://hl7.org/fhir/ValueSet/written-language` +- `http://hl7.org/fhir/ValueSet/yesnodontknow` +- `http://terminology.hl7.org/ValueSet/v2-0001` +- `http://terminology.hl7.org/ValueSet/v2-0002` +- `http://terminology.hl7.org/ValueSet/v2-0003` +- `http://terminology.hl7.org/ValueSet/v2-0004` +- `http://terminology.hl7.org/ValueSet/v2-0005` +- `http://terminology.hl7.org/ValueSet/v2-0007` +- `http://terminology.hl7.org/ValueSet/v2-0008` +- `http://terminology.hl7.org/ValueSet/v2-0009` +- `http://terminology.hl7.org/ValueSet/v2-0012` +- `http://terminology.hl7.org/ValueSet/v2-0017` +- `http://terminology.hl7.org/ValueSet/v2-0023` +- `http://terminology.hl7.org/ValueSet/v2-0027` +- `http://terminology.hl7.org/ValueSet/v2-0033` +- `http://terminology.hl7.org/ValueSet/v2-0034` +- `http://terminology.hl7.org/ValueSet/v2-0038` +- `http://terminology.hl7.org/ValueSet/v2-0043` +- `http://terminology.hl7.org/ValueSet/v2-0048` +- `http://terminology.hl7.org/ValueSet/v2-0052` +- `http://terminology.hl7.org/ValueSet/v2-0061` +- `http://terminology.hl7.org/ValueSet/v2-0062` +- `http://terminology.hl7.org/ValueSet/v2-0063` +- `http://terminology.hl7.org/ValueSet/v2-0065` +- `http://terminology.hl7.org/ValueSet/v2-0066` +- `http://terminology.hl7.org/ValueSet/v2-0069` +- `http://terminology.hl7.org/ValueSet/v2-0070` +- `http://terminology.hl7.org/ValueSet/v2-0074` +- `http://terminology.hl7.org/ValueSet/v2-0076` +- `http://terminology.hl7.org/ValueSet/v2-0078` +- `http://terminology.hl7.org/ValueSet/v2-0080` +- `http://terminology.hl7.org/ValueSet/v2-0083` +- `http://terminology.hl7.org/ValueSet/v2-0085` +- `http://terminology.hl7.org/ValueSet/v2-0091` +- `http://terminology.hl7.org/ValueSet/v2-0092` +- `http://terminology.hl7.org/ValueSet/v2-0098` +- `http://terminology.hl7.org/ValueSet/v2-0100` +- `http://terminology.hl7.org/ValueSet/v2-0102` +- `http://terminology.hl7.org/ValueSet/v2-0103` +- `http://terminology.hl7.org/ValueSet/v2-0104` +- `http://terminology.hl7.org/ValueSet/v2-0105` +- `http://terminology.hl7.org/ValueSet/v2-0106` +- `http://terminology.hl7.org/ValueSet/v2-0107` +- `http://terminology.hl7.org/ValueSet/v2-0108` +- `http://terminology.hl7.org/ValueSet/v2-0109` +- `http://terminology.hl7.org/ValueSet/v2-0116` +- `http://terminology.hl7.org/ValueSet/v2-0119` +- `http://terminology.hl7.org/ValueSet/v2-0121` +- `http://terminology.hl7.org/ValueSet/v2-0122` +- `http://terminology.hl7.org/ValueSet/v2-0123` +- `http://terminology.hl7.org/ValueSet/v2-0124` +- `http://terminology.hl7.org/ValueSet/v2-0125` +- `http://terminology.hl7.org/ValueSet/v2-0126` +- `http://terminology.hl7.org/ValueSet/v2-0127` +- `http://terminology.hl7.org/ValueSet/v2-0128` +- `http://terminology.hl7.org/ValueSet/v2-0130` +- `http://terminology.hl7.org/ValueSet/v2-0131` +- `http://terminology.hl7.org/ValueSet/v2-0133` +- `http://terminology.hl7.org/ValueSet/v2-0135` +- `http://terminology.hl7.org/ValueSet/v2-0136` +- `http://terminology.hl7.org/ValueSet/v2-0137` +- `http://terminology.hl7.org/ValueSet/v2-0140` +- `http://terminology.hl7.org/ValueSet/v2-0141` +- `http://terminology.hl7.org/ValueSet/v2-0142` +- `http://terminology.hl7.org/ValueSet/v2-0144` +- `http://terminology.hl7.org/ValueSet/v2-0145` +- `http://terminology.hl7.org/ValueSet/v2-0146` +- `http://terminology.hl7.org/ValueSet/v2-0147` +- `http://terminology.hl7.org/ValueSet/v2-0148` +- `http://terminology.hl7.org/ValueSet/v2-0149` +- `http://terminology.hl7.org/ValueSet/v2-0150` +- `http://terminology.hl7.org/ValueSet/v2-0153` +- `http://terminology.hl7.org/ValueSet/v2-0155` +- `http://terminology.hl7.org/ValueSet/v2-0156` +- `http://terminology.hl7.org/ValueSet/v2-0157` +- `http://terminology.hl7.org/ValueSet/v2-0158` +- `http://terminology.hl7.org/ValueSet/v2-0159` +- `http://terminology.hl7.org/ValueSet/v2-0160` +- `http://terminology.hl7.org/ValueSet/v2-0161` +- `http://terminology.hl7.org/ValueSet/v2-0162` +- `http://terminology.hl7.org/ValueSet/v2-0163` +- `http://terminology.hl7.org/ValueSet/v2-0164` +- `http://terminology.hl7.org/ValueSet/v2-0165` +- `http://terminology.hl7.org/ValueSet/v2-0166` +- `http://terminology.hl7.org/ValueSet/v2-0167` +- `http://terminology.hl7.org/ValueSet/v2-0168` +- `http://terminology.hl7.org/ValueSet/v2-0169` +- `http://terminology.hl7.org/ValueSet/v2-0170` +- `http://terminology.hl7.org/ValueSet/v2-0173` +- `http://terminology.hl7.org/ValueSet/v2-0174` +- `http://terminology.hl7.org/ValueSet/v2-0175` +- `http://terminology.hl7.org/ValueSet/v2-0177` +- `http://terminology.hl7.org/ValueSet/v2-0178` +- `http://terminology.hl7.org/ValueSet/v2-0179` +- `http://terminology.hl7.org/ValueSet/v2-0180` +- `http://terminology.hl7.org/ValueSet/v2-0181` +- `http://terminology.hl7.org/ValueSet/v2-0183` +- `http://terminology.hl7.org/ValueSet/v2-0185` +- `http://terminology.hl7.org/ValueSet/v2-0187` +- `http://terminology.hl7.org/ValueSet/v2-0189` +- `http://terminology.hl7.org/ValueSet/v2-0190` +- `http://terminology.hl7.org/ValueSet/v2-0191` +- `http://terminology.hl7.org/ValueSet/v2-0193` +- `http://terminology.hl7.org/ValueSet/v2-0200` +- `http://terminology.hl7.org/ValueSet/v2-0201` +- `http://terminology.hl7.org/ValueSet/v2-0202` +- `http://terminology.hl7.org/ValueSet/v2-0203` +- `http://terminology.hl7.org/ValueSet/v2-0204` +- `http://terminology.hl7.org/ValueSet/v2-0205` +- `http://terminology.hl7.org/ValueSet/v2-0206` +- `http://terminology.hl7.org/ValueSet/v2-0207` +- `http://terminology.hl7.org/ValueSet/v2-0208` +- `http://terminology.hl7.org/ValueSet/v2-0209` +- `http://terminology.hl7.org/ValueSet/v2-0210` +- `http://terminology.hl7.org/ValueSet/v2-0211` +- `http://terminology.hl7.org/ValueSet/v2-0213` +- `http://terminology.hl7.org/ValueSet/v2-0214` +- `http://terminology.hl7.org/ValueSet/v2-0215` +- `http://terminology.hl7.org/ValueSet/v2-0216` +- `http://terminology.hl7.org/ValueSet/v2-0217` +- `http://terminology.hl7.org/ValueSet/v2-0220` +- `http://terminology.hl7.org/ValueSet/v2-0223` +- `http://terminology.hl7.org/ValueSet/v2-0224` +- `http://terminology.hl7.org/ValueSet/v2-0225` +- `http://terminology.hl7.org/ValueSet/v2-0227` +- `http://terminology.hl7.org/ValueSet/v2-0228` +- `http://terminology.hl7.org/ValueSet/v2-0229` +- `http://terminology.hl7.org/ValueSet/v2-0230` +- `http://terminology.hl7.org/ValueSet/v2-0231` +- `http://terminology.hl7.org/ValueSet/v2-0232` +- `http://terminology.hl7.org/ValueSet/v2-0234` +- `http://terminology.hl7.org/ValueSet/v2-0235` +- `http://terminology.hl7.org/ValueSet/v2-0236` +- `http://terminology.hl7.org/ValueSet/v2-0237` +- `http://terminology.hl7.org/ValueSet/v2-0238` +- `http://terminology.hl7.org/ValueSet/v2-0239` +- `http://terminology.hl7.org/ValueSet/v2-0240` +- `http://terminology.hl7.org/ValueSet/v2-0241` +- `http://terminology.hl7.org/ValueSet/v2-0242` +- `http://terminology.hl7.org/ValueSet/v2-0243` +- `http://terminology.hl7.org/ValueSet/v2-0247` +- `http://terminology.hl7.org/ValueSet/v2-0248` +- `http://terminology.hl7.org/ValueSet/v2-0250` +- `http://terminology.hl7.org/ValueSet/v2-0251` +- `http://terminology.hl7.org/ValueSet/v2-0252` +- `http://terminology.hl7.org/ValueSet/v2-0253` +- `http://terminology.hl7.org/ValueSet/v2-0254` +- `http://terminology.hl7.org/ValueSet/v2-0255` +- `http://terminology.hl7.org/ValueSet/v2-0256` +- `http://terminology.hl7.org/ValueSet/v2-0257` +- `http://terminology.hl7.org/ValueSet/v2-0258` +- `http://terminology.hl7.org/ValueSet/v2-0259` +- `http://terminology.hl7.org/ValueSet/v2-0260` +- `http://terminology.hl7.org/ValueSet/v2-0261` +- `http://terminology.hl7.org/ValueSet/v2-0262` +- `http://terminology.hl7.org/ValueSet/v2-0263` +- `http://terminology.hl7.org/ValueSet/v2-0265` +- `http://terminology.hl7.org/ValueSet/v2-0267` +- `http://terminology.hl7.org/ValueSet/v2-0268` +- `http://terminology.hl7.org/ValueSet/v2-0269` +- `http://terminology.hl7.org/ValueSet/v2-0270` +- `http://terminology.hl7.org/ValueSet/v2-0271` +- `http://terminology.hl7.org/ValueSet/v2-0272` +- `http://terminology.hl7.org/ValueSet/v2-0273` +- `http://terminology.hl7.org/ValueSet/v2-0275` +- `http://terminology.hl7.org/ValueSet/v2-0276` +- `http://terminology.hl7.org/ValueSet/v2-0277` +- `http://terminology.hl7.org/ValueSet/v2-0278` +- `http://terminology.hl7.org/ValueSet/v2-0279` +- `http://terminology.hl7.org/ValueSet/v2-0280` +- `http://terminology.hl7.org/ValueSet/v2-0281` +- `http://terminology.hl7.org/ValueSet/v2-0282` +- `http://terminology.hl7.org/ValueSet/v2-0283` +- `http://terminology.hl7.org/ValueSet/v2-0284` +- `http://terminology.hl7.org/ValueSet/v2-0286` +- `http://terminology.hl7.org/ValueSet/v2-0287` +- `http://terminology.hl7.org/ValueSet/v2-0290` +- `http://terminology.hl7.org/ValueSet/v2-0291` +- `http://terminology.hl7.org/ValueSet/v2-0292` +- `http://terminology.hl7.org/ValueSet/v2-0294` +- `http://terminology.hl7.org/ValueSet/v2-0298` +- `http://terminology.hl7.org/ValueSet/v2-0299` +- `http://terminology.hl7.org/ValueSet/v2-0301` +- `http://terminology.hl7.org/ValueSet/v2-0305` +- `http://terminology.hl7.org/ValueSet/v2-0309` +- `http://terminology.hl7.org/ValueSet/v2-0311` +- `http://terminology.hl7.org/ValueSet/v2-0315` +- `http://terminology.hl7.org/ValueSet/v2-0316` +- `http://terminology.hl7.org/ValueSet/v2-0317` +- `http://terminology.hl7.org/ValueSet/v2-0321` +- `http://terminology.hl7.org/ValueSet/v2-0322` +- `http://terminology.hl7.org/ValueSet/v2-0323` +- `http://terminology.hl7.org/ValueSet/v2-0324` +- `http://terminology.hl7.org/ValueSet/v2-0325` +- `http://terminology.hl7.org/ValueSet/v2-0326` +- `http://terminology.hl7.org/ValueSet/v2-0329` +- `http://terminology.hl7.org/ValueSet/v2-0330` +- `http://terminology.hl7.org/ValueSet/v2-0331` +- `http://terminology.hl7.org/ValueSet/v2-0332` +- `http://terminology.hl7.org/ValueSet/v2-0334` +- `http://terminology.hl7.org/ValueSet/v2-0335` +- `http://terminology.hl7.org/ValueSet/v2-0336` +- `http://terminology.hl7.org/ValueSet/v2-0337` +- `http://terminology.hl7.org/ValueSet/v2-0338` +- `http://terminology.hl7.org/ValueSet/v2-0339` +- `http://terminology.hl7.org/ValueSet/v2-0344` +- `http://terminology.hl7.org/ValueSet/v2-0350` +- `http://terminology.hl7.org/ValueSet/v2-0351` +- `http://terminology.hl7.org/ValueSet/v2-0353` +- `http://terminology.hl7.org/ValueSet/v2-0354` +- `http://terminology.hl7.org/ValueSet/v2-0355` +- `http://terminology.hl7.org/ValueSet/v2-0356` +- `http://terminology.hl7.org/ValueSet/v2-0357` +- `http://terminology.hl7.org/ValueSet/v2-0359` +- `http://terminology.hl7.org/ValueSet/v2-0363` +- `http://terminology.hl7.org/ValueSet/v2-0364` +- `http://terminology.hl7.org/ValueSet/v2-0365` +- `http://terminology.hl7.org/ValueSet/v2-0366` +- `http://terminology.hl7.org/ValueSet/v2-0367` +- `http://terminology.hl7.org/ValueSet/v2-0368` +- `http://terminology.hl7.org/ValueSet/v2-0369` +- `http://terminology.hl7.org/ValueSet/v2-0370` +- `http://terminology.hl7.org/ValueSet/v2-0371` +- `http://terminology.hl7.org/ValueSet/v2-0372` +- `http://terminology.hl7.org/ValueSet/v2-0373` +- `http://terminology.hl7.org/ValueSet/v2-0374` +- `http://terminology.hl7.org/ValueSet/v2-0375` +- `http://terminology.hl7.org/ValueSet/v2-0376` +- `http://terminology.hl7.org/ValueSet/v2-0377` +- `http://terminology.hl7.org/ValueSet/v2-0383` +- `http://terminology.hl7.org/ValueSet/v2-0384` +- `http://terminology.hl7.org/ValueSet/v2-0387` +- `http://terminology.hl7.org/ValueSet/v2-0388` +- `http://terminology.hl7.org/ValueSet/v2-0389` +- `http://terminology.hl7.org/ValueSet/v2-0392` +- `http://terminology.hl7.org/ValueSet/v2-0393` +- `http://terminology.hl7.org/ValueSet/v2-0394` +- `http://terminology.hl7.org/ValueSet/v2-0395` +- `http://terminology.hl7.org/ValueSet/v2-0396` +- `http://terminology.hl7.org/ValueSet/v2-0397` +- `http://terminology.hl7.org/ValueSet/v2-0398` +- `http://terminology.hl7.org/ValueSet/v2-0401` +- `http://terminology.hl7.org/ValueSet/v2-0402` +- `http://terminology.hl7.org/ValueSet/v2-0403` +- `http://terminology.hl7.org/ValueSet/v2-0404` +- `http://terminology.hl7.org/ValueSet/v2-0406` +- `http://terminology.hl7.org/ValueSet/v2-0409` +- `http://terminology.hl7.org/ValueSet/v2-0411` +- `http://terminology.hl7.org/ValueSet/v2-0415` +- `http://terminology.hl7.org/ValueSet/v2-0416` +- `http://terminology.hl7.org/ValueSet/v2-0417` +- `http://terminology.hl7.org/ValueSet/v2-0418` +- `http://terminology.hl7.org/ValueSet/v2-0421` +- `http://terminology.hl7.org/ValueSet/v2-0422` +- `http://terminology.hl7.org/ValueSet/v2-0423` +- `http://terminology.hl7.org/ValueSet/v2-0424` +- `http://terminology.hl7.org/ValueSet/v2-0425` +- `http://terminology.hl7.org/ValueSet/v2-0426` +- `http://terminology.hl7.org/ValueSet/v2-0427` +- `http://terminology.hl7.org/ValueSet/v2-0428` +- `http://terminology.hl7.org/ValueSet/v2-0429` +- `http://terminology.hl7.org/ValueSet/v2-0430` +- `http://terminology.hl7.org/ValueSet/v2-0431` +- `http://terminology.hl7.org/ValueSet/v2-0432` +- `http://terminology.hl7.org/ValueSet/v2-0433` +- `http://terminology.hl7.org/ValueSet/v2-0434` +- `http://terminology.hl7.org/ValueSet/v2-0435` +- `http://terminology.hl7.org/ValueSet/v2-0436` +- `http://terminology.hl7.org/ValueSet/v2-0437` +- `http://terminology.hl7.org/ValueSet/v2-0438` +- `http://terminology.hl7.org/ValueSet/v2-0440` +- `http://terminology.hl7.org/ValueSet/v2-0441` +- `http://terminology.hl7.org/ValueSet/v2-0442` +- `http://terminology.hl7.org/ValueSet/v2-0443` +- `http://terminology.hl7.org/ValueSet/v2-0444` +- `http://terminology.hl7.org/ValueSet/v2-0445` +- `http://terminology.hl7.org/ValueSet/v2-0450` +- `http://terminology.hl7.org/ValueSet/v2-0455` +- `http://terminology.hl7.org/ValueSet/v2-0456` +- `http://terminology.hl7.org/ValueSet/v2-0457` +- `http://terminology.hl7.org/ValueSet/v2-0459` +- `http://terminology.hl7.org/ValueSet/v2-0460` +- `http://terminology.hl7.org/ValueSet/v2-0465` +- `http://terminology.hl7.org/ValueSet/v2-0466` +- `http://terminology.hl7.org/ValueSet/v2-0468` +- `http://terminology.hl7.org/ValueSet/v2-0469` +- `http://terminology.hl7.org/ValueSet/v2-0470` +- `http://terminology.hl7.org/ValueSet/v2-0472` +- `http://terminology.hl7.org/ValueSet/v2-0473` +- `http://terminology.hl7.org/ValueSet/v2-0474` +- `http://terminology.hl7.org/ValueSet/v2-0475` +- `http://terminology.hl7.org/ValueSet/v2-0477` +- `http://terminology.hl7.org/ValueSet/v2-0478` +- `http://terminology.hl7.org/ValueSet/v2-0480` +- `http://terminology.hl7.org/ValueSet/v2-0482` +- `http://terminology.hl7.org/ValueSet/v2-0483` +- `http://terminology.hl7.org/ValueSet/v2-0484` +- `http://terminology.hl7.org/ValueSet/v2-0485` +- `http://terminology.hl7.org/ValueSet/v2-0487` +- `http://terminology.hl7.org/ValueSet/v2-0488` +- `http://terminology.hl7.org/ValueSet/v2-0489` +- `http://terminology.hl7.org/ValueSet/v2-0490` +- `http://terminology.hl7.org/ValueSet/v2-0491` +- `http://terminology.hl7.org/ValueSet/v2-0492` +- `http://terminology.hl7.org/ValueSet/v2-0493` +- `http://terminology.hl7.org/ValueSet/v2-0494` +- `http://terminology.hl7.org/ValueSet/v2-0495` +- `http://terminology.hl7.org/ValueSet/v2-0496` +- `http://terminology.hl7.org/ValueSet/v2-0497` +- `http://terminology.hl7.org/ValueSet/v2-0498` +- `http://terminology.hl7.org/ValueSet/v2-0499` +- `http://terminology.hl7.org/ValueSet/v2-0500` +- `http://terminology.hl7.org/ValueSet/v2-0501` +- `http://terminology.hl7.org/ValueSet/v2-0502` +- `http://terminology.hl7.org/ValueSet/v2-0503` +- `http://terminology.hl7.org/ValueSet/v2-0504` +- `http://terminology.hl7.org/ValueSet/v2-0505` +- `http://terminology.hl7.org/ValueSet/v2-0506` +- `http://terminology.hl7.org/ValueSet/v2-0507` +- `http://terminology.hl7.org/ValueSet/v2-0508` +- `http://terminology.hl7.org/ValueSet/v2-0510` +- `http://terminology.hl7.org/ValueSet/v2-0511` +- `http://terminology.hl7.org/ValueSet/v2-0513` +- `http://terminology.hl7.org/ValueSet/v2-0514` +- `http://terminology.hl7.org/ValueSet/v2-0516` +- `http://terminology.hl7.org/ValueSet/v2-0517` +- `http://terminology.hl7.org/ValueSet/v2-0518` +- `http://terminology.hl7.org/ValueSet/v2-0520` +- `http://terminology.hl7.org/ValueSet/v2-0523` +- `http://terminology.hl7.org/ValueSet/v2-0524` +- `http://terminology.hl7.org/ValueSet/v2-0527` +- `http://terminology.hl7.org/ValueSet/v2-0528` +- `http://terminology.hl7.org/ValueSet/v2-0529` +- `http://terminology.hl7.org/ValueSet/v2-0530` +- `http://terminology.hl7.org/ValueSet/v2-0532` +- `http://terminology.hl7.org/ValueSet/v2-0534` +- `http://terminology.hl7.org/ValueSet/v2-0535` +- `http://terminology.hl7.org/ValueSet/v2-0536` +- `http://terminology.hl7.org/ValueSet/v2-0538` +- `http://terminology.hl7.org/ValueSet/v2-0540` +- `http://terminology.hl7.org/ValueSet/v2-0544` +- `http://terminology.hl7.org/ValueSet/v2-0547` +- `http://terminology.hl7.org/ValueSet/v2-0548` +- `http://terminology.hl7.org/ValueSet/v2-0550` +- `http://terminology.hl7.org/ValueSet/v2-0553` +- `http://terminology.hl7.org/ValueSet/v2-0554` +- `http://terminology.hl7.org/ValueSet/v2-0555` +- `http://terminology.hl7.org/ValueSet/v2-0556` +- `http://terminology.hl7.org/ValueSet/v2-0557` +- `http://terminology.hl7.org/ValueSet/v2-0558` +- `http://terminology.hl7.org/ValueSet/v2-0559` +- `http://terminology.hl7.org/ValueSet/v2-0561` +- `http://terminology.hl7.org/ValueSet/v2-0562` +- `http://terminology.hl7.org/ValueSet/v2-0564` +- `http://terminology.hl7.org/ValueSet/v2-0565` +- `http://terminology.hl7.org/ValueSet/v2-0566` +- `http://terminology.hl7.org/ValueSet/v2-0569` +- `http://terminology.hl7.org/ValueSet/v2-0570` +- `http://terminology.hl7.org/ValueSet/v2-0571` +- `http://terminology.hl7.org/ValueSet/v2-0572` +- `http://terminology.hl7.org/ValueSet/v2-0615` +- `http://terminology.hl7.org/ValueSet/v2-0616` +- `http://terminology.hl7.org/ValueSet/v2-0617` +- `http://terminology.hl7.org/ValueSet/v2-0618` +- `http://terminology.hl7.org/ValueSet/v2-0625` +- `http://terminology.hl7.org/ValueSet/v2-0634` +- `http://terminology.hl7.org/ValueSet/v2-0642` +- `http://terminology.hl7.org/ValueSet/v2-0651` +- `http://terminology.hl7.org/ValueSet/v2-0653` +- `http://terminology.hl7.org/ValueSet/v2-0657` +- `http://terminology.hl7.org/ValueSet/v2-0659` +- `http://terminology.hl7.org/ValueSet/v2-0667` +- `http://terminology.hl7.org/ValueSet/v2-0669` +- `http://terminology.hl7.org/ValueSet/v2-0682` +- `http://terminology.hl7.org/ValueSet/v2-0702` +- `http://terminology.hl7.org/ValueSet/v2-0717` +- `http://terminology.hl7.org/ValueSet/v2-0719` +- `http://terminology.hl7.org/ValueSet/v2-0725` +- `http://terminology.hl7.org/ValueSet/v2-0728` +- `http://terminology.hl7.org/ValueSet/v2-0731` +- `http://terminology.hl7.org/ValueSet/v2-0734` +- `http://terminology.hl7.org/ValueSet/v2-0739` +- `http://terminology.hl7.org/ValueSet/v2-0742` +- `http://terminology.hl7.org/ValueSet/v2-0749` +- `http://terminology.hl7.org/ValueSet/v2-0755` +- `http://terminology.hl7.org/ValueSet/v2-0757` +- `http://terminology.hl7.org/ValueSet/v2-0759` +- `http://terminology.hl7.org/ValueSet/v2-0761` +- `http://terminology.hl7.org/ValueSet/v2-0763` +- `http://terminology.hl7.org/ValueSet/v2-0776` +- `http://terminology.hl7.org/ValueSet/v2-0778` +- `http://terminology.hl7.org/ValueSet/v2-0790` +- `http://terminology.hl7.org/ValueSet/v2-0793` +- `http://terminology.hl7.org/ValueSet/v2-0806` +- `http://terminology.hl7.org/ValueSet/v2-0818` +- `http://terminology.hl7.org/ValueSet/v2-0834` +- `http://terminology.hl7.org/ValueSet/v2-0868` +- `http://terminology.hl7.org/ValueSet/v2-0871` +- `http://terminology.hl7.org/ValueSet/v2-0881` +- `http://terminology.hl7.org/ValueSet/v2-0882` +- `http://terminology.hl7.org/ValueSet/v2-0894` +- `http://terminology.hl7.org/ValueSet/v2-0895` +- `http://terminology.hl7.org/ValueSet/v2-0904` +- `http://terminology.hl7.org/ValueSet/v2-0905` +- `http://terminology.hl7.org/ValueSet/v2-0906` +- `http://terminology.hl7.org/ValueSet/v2-0907` +- `http://terminology.hl7.org/ValueSet/v2-0909` +- `http://terminology.hl7.org/ValueSet/v2-0912` +- `http://terminology.hl7.org/ValueSet/v2-0914` +- `http://terminology.hl7.org/ValueSet/v2-0916` +- `http://terminology.hl7.org/ValueSet/v2-0917` +- `http://terminology.hl7.org/ValueSet/v2-0918` +- `http://terminology.hl7.org/ValueSet/v2-0919` +- `http://terminology.hl7.org/ValueSet/v2-0920` +- `http://terminology.hl7.org/ValueSet/v2-0921` +- `http://terminology.hl7.org/ValueSet/v2-0922` +- `http://terminology.hl7.org/ValueSet/v2-0923` +- `http://terminology.hl7.org/ValueSet/v2-0924` +- `http://terminology.hl7.org/ValueSet/v2-0925` +- `http://terminology.hl7.org/ValueSet/v2-0926` +- `http://terminology.hl7.org/ValueSet/v2-0927` +- `http://terminology.hl7.org/ValueSet/v2-0933` +- `http://terminology.hl7.org/ValueSet/v2-0935` +- `http://terminology.hl7.org/ValueSet/v2-2.1-0006` +- `http://terminology.hl7.org/ValueSet/v2-2.3.1-0360` +- `http://terminology.hl7.org/ValueSet/v2-2.4-0006` +- `http://terminology.hl7.org/ValueSet/v2-2.4-0391` +- `http://terminology.hl7.org/ValueSet/v2-2.6-0391` +- `http://terminology.hl7.org/ValueSet/v2-2.7-0360` +- `http://terminology.hl7.org/ValueSet/v2-4000` +- `http://terminology.hl7.org/ValueSet/v3-AcknowledgementCondition` +- `http://terminology.hl7.org/ValueSet/v3-AcknowledgementDetailCode` +- `http://terminology.hl7.org/ValueSet/v3-AcknowledgementDetailType` +- `http://terminology.hl7.org/ValueSet/v3-AcknowledgementType` +- `http://terminology.hl7.org/ValueSet/v3-ActClass` +- `http://terminology.hl7.org/ValueSet/v3-ActClassClinicalDocument` +- `http://terminology.hl7.org/ValueSet/v3-ActClassDocument` +- `http://terminology.hl7.org/ValueSet/v3-ActClassInvestigation` +- `http://terminology.hl7.org/ValueSet/v3-ActClassObservation` +- `http://terminology.hl7.org/ValueSet/v3-ActClassProcedure` +- `http://terminology.hl7.org/ValueSet/v3-ActClassROI` +- `http://terminology.hl7.org/ValueSet/v3-ActClassSupply` +- `http://terminology.hl7.org/ValueSet/v3-ActCode` +- `http://terminology.hl7.org/ValueSet/v3-ActConsentDirective` +- `http://terminology.hl7.org/ValueSet/v3-ActConsentType` +- `http://terminology.hl7.org/ValueSet/v3-ActCoverageTypeCode` +- `http://terminology.hl7.org/ValueSet/v3-ActEncounterCode` +- `http://terminology.hl7.org/ValueSet/v3-ActExposureLevelCode` +- `http://terminology.hl7.org/ValueSet/v3-ActIncidentCode` +- `http://terminology.hl7.org/ValueSet/v3-ActInvoiceElementModifier` +- `http://terminology.hl7.org/ValueSet/v3-ActInvoiceGroupCode` +- `http://terminology.hl7.org/ValueSet/v3-ActMood` +- `http://terminology.hl7.org/ValueSet/v3-ActMoodIntent` +- `http://terminology.hl7.org/ValueSet/v3-ActMoodPredicate` +- `http://terminology.hl7.org/ValueSet/v3-ActPharmacySupplyType` +- `http://terminology.hl7.org/ValueSet/v3-ActPriority` +- `http://terminology.hl7.org/ValueSet/v3-ActReason` +- `http://terminology.hl7.org/ValueSet/v3-ActRelationshipCheckpoint` +- `http://terminology.hl7.org/ValueSet/v3-ActRelationshipConditional` +- `http://terminology.hl7.org/ValueSet/v3-ActRelationshipFulfills` +- `http://terminology.hl7.org/ValueSet/v3-ActRelationshipHasComponent` +- `http://terminology.hl7.org/ValueSet/v3-ActRelationshipJoin` +- `http://terminology.hl7.org/ValueSet/v3-ActRelationshipPertains` +- `http://terminology.hl7.org/ValueSet/v3-ActRelationshipSplit` +- `http://terminology.hl7.org/ValueSet/v3-ActRelationshipSubset` +- `http://terminology.hl7.org/ValueSet/v3-ActRelationshipType` +- `http://terminology.hl7.org/ValueSet/v3-ActSite` +- `http://terminology.hl7.org/ValueSet/v3-ActStatus` +- `http://terminology.hl7.org/ValueSet/v3-ActSubstanceAdminSubstitutionCode` +- `http://terminology.hl7.org/ValueSet/v3-ActTaskCode` +- `http://terminology.hl7.org/ValueSet/v3-ActUSPrivacyLaw` +- `http://terminology.hl7.org/ValueSet/v3-ActUncertainty` +- `http://terminology.hl7.org/ValueSet/v3-AddressPartType` +- `http://terminology.hl7.org/ValueSet/v3-AddressUse` +- `http://terminology.hl7.org/ValueSet/v3-AdministrativeGender` +- `http://terminology.hl7.org/ValueSet/v3-AmericanIndianAlaskaNativeLanguages` +- `http://terminology.hl7.org/ValueSet/v3-Calendar` +- `http://terminology.hl7.org/ValueSet/v3-CalendarCycle` +- `http://terminology.hl7.org/ValueSet/v3-CalendarType` +- `http://terminology.hl7.org/ValueSet/v3-Charset` +- `http://terminology.hl7.org/ValueSet/v3-CodingRationale` +- `http://terminology.hl7.org/ValueSet/v3-CommunicationFunctionType` +- `http://terminology.hl7.org/ValueSet/v3-Compartment` +- `http://terminology.hl7.org/ValueSet/v3-CompressionAlgorithm` +- `http://terminology.hl7.org/ValueSet/v3-Confidentiality` +- `http://terminology.hl7.org/ValueSet/v3-ConfidentialityClassification` +- `http://terminology.hl7.org/ValueSet/v3-ContainerCap` +- `http://terminology.hl7.org/ValueSet/v3-ContainerSeparator` +- `http://terminology.hl7.org/ValueSet/v3-ContentProcessingMode` +- `http://terminology.hl7.org/ValueSet/v3-ContextControl` +- `http://terminology.hl7.org/ValueSet/v3-DataOperation` +- `http://terminology.hl7.org/ValueSet/v3-Dentition` +- `http://terminology.hl7.org/ValueSet/v3-DeviceAlertLevel` +- `http://terminology.hl7.org/ValueSet/v3-DocumentCompletion` +- `http://terminology.hl7.org/ValueSet/v3-DocumentSectionType` +- `http://terminology.hl7.org/ValueSet/v3-DocumentStorage` +- `http://terminology.hl7.org/ValueSet/v3-EducationLevel` +- `http://terminology.hl7.org/ValueSet/v3-EmployeeJobClass` +- `http://terminology.hl7.org/ValueSet/v3-EncounterAdmissionSource` +- `http://terminology.hl7.org/ValueSet/v3-EncounterSpecialCourtesy` +- `http://terminology.hl7.org/ValueSet/v3-EntityClass` +- `http://terminology.hl7.org/ValueSet/v3-EntityClassDevice` +- `http://terminology.hl7.org/ValueSet/v3-EntityClassLivingSubject` +- `http://terminology.hl7.org/ValueSet/v3-EntityClassManufacturedMaterial` +- `http://terminology.hl7.org/ValueSet/v3-EntityClassOrganization` +- `http://terminology.hl7.org/ValueSet/v3-EntityClassPlace` +- `http://terminology.hl7.org/ValueSet/v3-EntityClassRoot` +- `http://terminology.hl7.org/ValueSet/v3-EntityCode` +- `http://terminology.hl7.org/ValueSet/v3-EntityDeterminer` +- `http://terminology.hl7.org/ValueSet/v3-EntityDeterminerDetermined` +- `http://terminology.hl7.org/ValueSet/v3-EntityHandling` +- `http://terminology.hl7.org/ValueSet/v3-EntityNamePartQualifier` +- `http://terminology.hl7.org/ValueSet/v3-EntityNamePartQualifierR2` +- `http://terminology.hl7.org/ValueSet/v3-EntityNamePartType` +- `http://terminology.hl7.org/ValueSet/v3-EntityNamePartTypeR2` +- `http://terminology.hl7.org/ValueSet/v3-EntityNameUse` +- `http://terminology.hl7.org/ValueSet/v3-EntityNameUseR2` +- `http://terminology.hl7.org/ValueSet/v3-EntityRisk` +- `http://terminology.hl7.org/ValueSet/v3-EntityStatus` +- `http://terminology.hl7.org/ValueSet/v3-EquipmentAlertLevel` +- `http://terminology.hl7.org/ValueSet/v3-Ethnicity` +- `http://terminology.hl7.org/ValueSet/v3-ExposureMode` +- `http://terminology.hl7.org/ValueSet/v3-FamilyMember` +- `http://terminology.hl7.org/ValueSet/v3-GTSAbbreviation` +- `http://terminology.hl7.org/ValueSet/v3-GenderStatus` +- `http://terminology.hl7.org/ValueSet/v3-GeneralPurposeOfUse` +- `http://terminology.hl7.org/ValueSet/v3-HL7ContextConductionStyle` +- `http://terminology.hl7.org/ValueSet/v3-HL7StandardVersionCode` +- `http://terminology.hl7.org/ValueSet/v3-HL7UpdateMode` +- `http://terminology.hl7.org/ValueSet/v3-HtmlLinkType` +- `http://terminology.hl7.org/ValueSet/v3-HumanLanguage` +- `http://terminology.hl7.org/ValueSet/v3-IdentifierReliability` +- `http://terminology.hl7.org/ValueSet/v3-IdentifierScope` +- `http://terminology.hl7.org/ValueSet/v3-InformationSensitivityPolicy` +- `http://terminology.hl7.org/ValueSet/v3-IntegrityCheckAlgorithm` +- `http://terminology.hl7.org/ValueSet/v3-LanguageAbilityMode` +- `http://terminology.hl7.org/ValueSet/v3-LanguageAbilityProficiency` +- `http://terminology.hl7.org/ValueSet/v3-LivingArrangement` +- `http://terminology.hl7.org/ValueSet/v3-LocalMarkupIgnore` +- `http://terminology.hl7.org/ValueSet/v3-LocalRemoteControlState` +- `http://terminology.hl7.org/ValueSet/v3-ManagedParticipationStatus` +- `http://terminology.hl7.org/ValueSet/v3-MapRelationship` +- `http://terminology.hl7.org/ValueSet/v3-MaritalStatus` +- `http://terminology.hl7.org/ValueSet/v3-MessageWaitingPriority` +- `http://terminology.hl7.org/ValueSet/v3-MilitaryRoleType` +- `http://terminology.hl7.org/ValueSet/v3-ModifyIndicator` +- `http://terminology.hl7.org/ValueSet/v3-NullFlavor` +- `http://terminology.hl7.org/ValueSet/v3-ObligationPolicy` +- `http://terminology.hl7.org/ValueSet/v3-ObservationCategory` +- `http://terminology.hl7.org/ValueSet/v3-ObservationInterpretation` +- `http://terminology.hl7.org/ValueSet/v3-ObservationMethod` +- `http://terminology.hl7.org/ValueSet/v3-ObservationType` +- `http://terminology.hl7.org/ValueSet/v3-ObservationValue` +- `http://terminology.hl7.org/ValueSet/v3-ParticipationFunction` +- `http://terminology.hl7.org/ValueSet/v3-ParticipationIndirectTarget` +- `http://terminology.hl7.org/ValueSet/v3-ParticipationInformationGenerator` +- `http://terminology.hl7.org/ValueSet/v3-ParticipationInformationTranscriber` +- `http://terminology.hl7.org/ValueSet/v3-ParticipationMode` +- `http://terminology.hl7.org/ValueSet/v3-ParticipationPhysicalPerformer` +- `http://terminology.hl7.org/ValueSet/v3-ParticipationSignature` +- `http://terminology.hl7.org/ValueSet/v3-ParticipationTargetDirect` +- `http://terminology.hl7.org/ValueSet/v3-ParticipationTargetLocation` +- `http://terminology.hl7.org/ValueSet/v3-ParticipationTargetSubject` +- `http://terminology.hl7.org/ValueSet/v3-ParticipationType` +- `http://terminology.hl7.org/ValueSet/v3-ParticipationVerifier` +- `http://terminology.hl7.org/ValueSet/v3-PatientImportance` +- `http://terminology.hl7.org/ValueSet/v3-PaymentTerms` +- `http://terminology.hl7.org/ValueSet/v3-PersonDisabilityType` +- `http://terminology.hl7.org/ValueSet/v3-PersonalRelationshipRoleType` +- `http://terminology.hl7.org/ValueSet/v3-ProbabilityDistributionType` +- `http://terminology.hl7.org/ValueSet/v3-ProcessingID` +- `http://terminology.hl7.org/ValueSet/v3-ProcessingMode` +- `http://terminology.hl7.org/ValueSet/v3-ProvenanceEventCurrentState` +- `http://terminology.hl7.org/ValueSet/v3-ProvenanceEventCurrentState-AS` +- `http://terminology.hl7.org/ValueSet/v3-ProvenanceEventCurrentState-DC` +- `http://terminology.hl7.org/ValueSet/v3-PurposeOfUse` +- `http://terminology.hl7.org/ValueSet/v3-QueryParameterValue` +- `http://terminology.hl7.org/ValueSet/v3-QueryPriority` +- `http://terminology.hl7.org/ValueSet/v3-QueryRequestLimit` +- `http://terminology.hl7.org/ValueSet/v3-QueryResponse` +- `http://terminology.hl7.org/ValueSet/v3-QueryStatusCode` +- `http://terminology.hl7.org/ValueSet/v3-Race` +- `http://terminology.hl7.org/ValueSet/v3-RefrainPolicy` +- `http://terminology.hl7.org/ValueSet/v3-RelationalOperator` +- `http://terminology.hl7.org/ValueSet/v3-RelationshipConjunction` +- `http://terminology.hl7.org/ValueSet/v3-ReligiousAffiliation` +- `http://terminology.hl7.org/ValueSet/v3-ResponseLevel` +- `http://terminology.hl7.org/ValueSet/v3-ResponseModality` +- `http://terminology.hl7.org/ValueSet/v3-ResponseMode` +- `http://terminology.hl7.org/ValueSet/v3-RoleClass` +- `http://terminology.hl7.org/ValueSet/v3-RoleClassAgent` +- `http://terminology.hl7.org/ValueSet/v3-RoleClassAssociative` +- `http://terminology.hl7.org/ValueSet/v3-RoleClassManufacturedProduct` +- `http://terminology.hl7.org/ValueSet/v3-RoleClassMutualRelationship` +- `http://terminology.hl7.org/ValueSet/v3-RoleClassPartitive` +- `http://terminology.hl7.org/ValueSet/v3-RoleClassPassive` +- `http://terminology.hl7.org/ValueSet/v3-RoleClassRelationshipFormal` +- `http://terminology.hl7.org/ValueSet/v3-RoleClassRoot` +- `http://terminology.hl7.org/ValueSet/v3-RoleClassServiceDeliveryLocation` +- `http://terminology.hl7.org/ValueSet/v3-RoleClassSpecimen` +- `http://terminology.hl7.org/ValueSet/v3-RoleCode` +- `http://terminology.hl7.org/ValueSet/v3-RoleLinkStatus` +- `http://terminology.hl7.org/ValueSet/v3-RoleLinkType` +- `http://terminology.hl7.org/ValueSet/v3-RoleStatus` +- `http://terminology.hl7.org/ValueSet/v3-RouteOfAdministration` +- `http://terminology.hl7.org/ValueSet/v3-SecurityControlObservationValue` +- `http://terminology.hl7.org/ValueSet/v3-SecurityIntegrityObservationValue` +- `http://terminology.hl7.org/ValueSet/v3-SecurityPolicy` +- `http://terminology.hl7.org/ValueSet/v3-Sequencing` +- `http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType` +- `http://terminology.hl7.org/ValueSet/v3-SetOperator` +- `http://terminology.hl7.org/ValueSet/v3-SeverityObservation` +- `http://terminology.hl7.org/ValueSet/v3-SpecimenType` +- `http://terminology.hl7.org/ValueSet/v3-SubstanceAdminSubstitutionReason` +- `http://terminology.hl7.org/ValueSet/v3-SubstitutionCondition` +- `http://terminology.hl7.org/ValueSet/v3-TableCellHorizontalAlign` +- `http://terminology.hl7.org/ValueSet/v3-TableCellScope` +- `http://terminology.hl7.org/ValueSet/v3-TableCellVerticalAlign` +- `http://terminology.hl7.org/ValueSet/v3-TableFrame` +- `http://terminology.hl7.org/ValueSet/v3-TableRules` +- `http://terminology.hl7.org/ValueSet/v3-TargetAwareness` +- `http://terminology.hl7.org/ValueSet/v3-TelecommunicationCapabilities` +- `http://terminology.hl7.org/ValueSet/v3-TimingEvent` +- `http://terminology.hl7.org/ValueSet/v3-TransmissionRelationshipTypeCode` +- `http://terminology.hl7.org/ValueSet/v3-TribalEntityUS` +- `http://terminology.hl7.org/ValueSet/v3-VaccineManufacturer` +- `http://terminology.hl7.org/ValueSet/v3-VerificationMethod` +- `http://terminology.hl7.org/ValueSet/v3-WorkClassificationODH` +- `http://terminology.hl7.org/ValueSet/v3-WorkScheduleODH` +- `http://terminology.hl7.org/ValueSet/v3-employmentStatusODH` +- `http://terminology.hl7.org/ValueSet/v3-hl7ApprovalStatus` +- `http://terminology.hl7.org/ValueSet/v3-hl7CMETAttribution` +- `http://terminology.hl7.org/ValueSet/v3-hl7ITSType` +- `http://terminology.hl7.org/ValueSet/v3-hl7ITSVersionCode` +- `http://terminology.hl7.org/ValueSet/v3-hl7PublishingDomain` +- `http://terminology.hl7.org/ValueSet/v3-hl7PublishingSection` +- `http://terminology.hl7.org/ValueSet/v3-hl7PublishingSubSection` +- `http://terminology.hl7.org/ValueSet/v3-hl7Realm` +- `http://terminology.hl7.org/ValueSet/v3-hl7V3Conformance` +- `http://terminology.hl7.org/ValueSet/v3-hl7VoteResolution` +- `http://terminology.hl7.org/ValueSet/v3-orderableDrugForm` +- `http://terminology.hl7.org/ValueSet/v3-policyHolderRole` +- `http://terminology.hl7.org/ValueSet/v3-styleType` +- `http://terminology.hl7.org/ValueSet/v3-substanceAdminSubstitution` +- `http://terminology.hl7.org/ValueSet/v3-triggerEventID` +- `http://terminology.hl7.org/ValueSet/v3-xBasicConfidentialityKind` + +## Package: `shared` + +### Skipped Canonicals + +- `urn:fhir:binding:AccidentType` +- `urn:fhir:binding:AccountStatus` +- `urn:fhir:binding:AccountType` +- `urn:fhir:binding:ActionCardinalityBehavior` +- `urn:fhir:binding:ActionConditionKind` +- `urn:fhir:binding:ActionGroupingBehavior` +- `urn:fhir:binding:ActionParticipantRole` +- `urn:fhir:binding:ActionParticipantType` +- `urn:fhir:binding:ActionPrecheckBehavior` +- `urn:fhir:binding:ActionRelationshipType` +- `urn:fhir:binding:ActionRequiredBehavior` +- `urn:fhir:binding:ActionSelectionBehavior` +- `urn:fhir:binding:ActionType` +- `urn:fhir:binding:ActivityDefinitionKind` +- `urn:fhir:binding:ActivityDefinitionType` +- `urn:fhir:binding:ActivityParticipantRole` +- `urn:fhir:binding:ActivityParticipantType` +- `urn:fhir:binding:Adjudication` +- `urn:fhir:binding:AdjudicationError` +- `urn:fhir:binding:AdjudicationReason` +- `urn:fhir:binding:AdjunctDiagnosis` +- `urn:fhir:binding:AdmitSource` +- `urn:fhir:binding:AdverseEventActuality` +- `urn:fhir:binding:AdverseEventCategory` +- `urn:fhir:binding:AdverseEventCausalityAssessment` +- `urn:fhir:binding:AdverseEventCausalityMethod` +- `urn:fhir:binding:AdverseEventOutcome` +- `urn:fhir:binding:AdverseEventSeriousness` +- `urn:fhir:binding:AdverseEventSeverity` +- `urn:fhir:binding:AdverseEventType` +- `urn:fhir:binding:AggregationMode` +- `urn:fhir:binding:AllergyIntoleranceCategory` +- `urn:fhir:binding:AllergyIntoleranceClinicalStatus` +- `urn:fhir:binding:AllergyIntoleranceCode` +- `urn:fhir:binding:AllergyIntoleranceCriticality` +- `urn:fhir:binding:AllergyIntoleranceSeverity` +- `urn:fhir:binding:AllergyIntoleranceType` +- `urn:fhir:binding:AllergyIntoleranceVerificationStatus` +- `urn:fhir:binding:AppointmentStatus` +- `urn:fhir:binding:ApptReason` +- `urn:fhir:binding:Arrangements` +- `urn:fhir:binding:AssertionDirectionType` +- `urn:fhir:binding:AssertionOperatorType` +- `urn:fhir:binding:AssertionResponseTypes` +- `urn:fhir:binding:AssetAvailabilityType` +- `urn:fhir:binding:AuditAgentRole` +- `urn:fhir:binding:AuditAgentType` +- `urn:fhir:binding:AuditEventAction` +- `urn:fhir:binding:AuditEventAgentNetworkType` +- `urn:fhir:binding:AuditEventEntityLifecycle` +- `urn:fhir:binding:AuditEventEntityRole` +- `urn:fhir:binding:AuditEventEntityType` +- `urn:fhir:binding:AuditEventOutcome` +- `urn:fhir:binding:AuditEventSourceType` +- `urn:fhir:binding:AuditEventSubType` +- `urn:fhir:binding:AuditEventType` +- `urn:fhir:binding:AuditPurposeOfUse` +- `urn:fhir:binding:AuthSupporting` +- `urn:fhir:binding:BasicResourceType` +- `urn:fhir:binding:BenefitCategory` +- `urn:fhir:binding:BenefitCostApplicability` +- `urn:fhir:binding:BenefitNetwork` +- `urn:fhir:binding:BenefitTerm` +- `urn:fhir:binding:BenefitType` +- `urn:fhir:binding:BenefitUnit` +- `urn:fhir:binding:BindingStrength` +- `urn:fhir:binding:BiologicallyDerivedProductCategory` +- `urn:fhir:binding:BiologicallyDerivedProductProcedure` +- `urn:fhir:binding:BiologicallyDerivedProductStatus` +- `urn:fhir:binding:BiologicallyDerivedProductStorageScale` +- `urn:fhir:binding:BodyLengthUnits` +- `urn:fhir:binding:BodyStructureCode` +- `urn:fhir:binding:BodyStructureQualifier` +- `urn:fhir:binding:BodyTempUnits` +- `urn:fhir:binding:BodyWeightUnits` +- `urn:fhir:binding:CapabilityStatementKind` +- `urn:fhir:binding:CarePlanActivityKind` +- `urn:fhir:binding:CarePlanActivityOutcome` +- `urn:fhir:binding:CarePlanActivityReason` +- `urn:fhir:binding:CarePlanActivityStatus` +- `urn:fhir:binding:CarePlanActivityType` +- `urn:fhir:binding:CarePlanCategory` +- `urn:fhir:binding:CarePlanIntent` +- `urn:fhir:binding:CarePlanStatus` +- `urn:fhir:binding:CareTeamCategory` +- `urn:fhir:binding:CareTeamParticipantRole` +- `urn:fhir:binding:CareTeamReason` +- `urn:fhir:binding:CareTeamRole` +- `urn:fhir:binding:CareTeamStatus` +- `urn:fhir:binding:CatalogEntryRelationType` +- `urn:fhir:binding:CatalogType` +- `urn:fhir:binding:CertaintySubcomponentRating` +- `urn:fhir:binding:CertaintySubcomponentType` +- `urn:fhir:binding:ChargeItemCode` +- `urn:fhir:binding:ChargeItemDefinitionCode` +- `urn:fhir:binding:ChargeItemDefinitionPriceComponentType` +- `urn:fhir:binding:ChargeItemPerformerFunction` +- `urn:fhir:binding:ChargeItemReason` +- `urn:fhir:binding:ChargeItemStatus` +- `urn:fhir:binding:ClaimResponseStatus` +- `urn:fhir:binding:ClaimStatus` +- `urn:fhir:binding:ClaimSubType` +- `urn:fhir:binding:ClaimType` +- `urn:fhir:binding:ClinicalImpressionPrognosis` +- `urn:fhir:binding:ClinicalImpressionStatus` +- `urn:fhir:binding:CodeSearchSupport` +- `urn:fhir:binding:CodeSystemContentMode` +- `urn:fhir:binding:CodeSystemHierarchyMeaning` +- `urn:fhir:binding:CollectedSpecimenType` +- `urn:fhir:binding:CommunicationCategory` +- `urn:fhir:binding:CommunicationMedium` +- `urn:fhir:binding:CommunicationNotDoneReason` +- `urn:fhir:binding:CommunicationPriority` +- `urn:fhir:binding:CommunicationReason` +- `urn:fhir:binding:CommunicationRequestStatus` +- `urn:fhir:binding:CommunicationStatus` +- `urn:fhir:binding:CommunicationTopic` +- `urn:fhir:binding:CompartmentCode` +- `urn:fhir:binding:CompartmentType` +- `urn:fhir:binding:CompositeMeasureScoring` +- `urn:fhir:binding:CompositionAttestationMode` +- `urn:fhir:binding:CompositionSectionType` +- `urn:fhir:binding:CompositionStatus` +- `urn:fhir:binding:ConceptDesignationUse` +- `urn:fhir:binding:ConceptMapEquivalence` +- `urn:fhir:binding:ConceptMapGroupUnmappedMode` +- `urn:fhir:binding:ConditionCategory` +- `urn:fhir:binding:ConditionClinicalStatus` +- `urn:fhir:binding:ConditionCode` +- `urn:fhir:binding:ConditionKind` +- `urn:fhir:binding:ConditionOutcome` +- `urn:fhir:binding:ConditionSeverity` +- `urn:fhir:binding:ConditionStage` +- `urn:fhir:binding:ConditionStageType` +- `urn:fhir:binding:ConditionVerificationStatus` +- `urn:fhir:binding:ConditionalDeleteStatus` +- `urn:fhir:binding:ConditionalReadStatus` +- `urn:fhir:binding:ConsentAction` +- `urn:fhir:binding:ConsentActorRole` +- `urn:fhir:binding:ConsentCategory` +- `urn:fhir:binding:ConsentContentClass` +- `urn:fhir:binding:ConsentContentCode` +- `urn:fhir:binding:ConsentDataMeaning` +- `urn:fhir:binding:ConsentPolicyRule` +- `urn:fhir:binding:ConsentProvisionType` +- `urn:fhir:binding:ConsentScope` +- `urn:fhir:binding:ConsentState` +- `urn:fhir:binding:ConstraintSeverity` +- `urn:fhir:binding:ContactPartyType` +- `urn:fhir:binding:ContainerCap` +- `urn:fhir:binding:ContainerMaterial` +- `urn:fhir:binding:ContainerType` +- `urn:fhir:binding:ContractAction` +- `urn:fhir:binding:ContractActionPerformerRole` +- `urn:fhir:binding:ContractActionPerformerType` +- `urn:fhir:binding:ContractActionReason` +- `urn:fhir:binding:ContractActionStatus` +- `urn:fhir:binding:ContractActorRole` +- `urn:fhir:binding:ContractAssetContext` +- `urn:fhir:binding:ContractAssetScope` +- `urn:fhir:binding:ContractAssetSubtype` +- `urn:fhir:binding:ContractAssetType` +- `urn:fhir:binding:ContractContentDerivative` +- `urn:fhir:binding:ContractDecisionMode` +- `urn:fhir:binding:ContractDecisionType` +- `urn:fhir:binding:ContractDefinitionSubtype` +- `urn:fhir:binding:ContractDefinitionType` +- `urn:fhir:binding:ContractExpiration` +- `urn:fhir:binding:ContractLegalState` +- `urn:fhir:binding:ContractPartyRole` +- `urn:fhir:binding:ContractPublicationStatus` +- `urn:fhir:binding:ContractScope` +- `urn:fhir:binding:ContractSecurityCategory` +- `urn:fhir:binding:ContractSecurityClassification` +- `urn:fhir:binding:ContractSecurityControl` +- `urn:fhir:binding:ContractSignerType` +- `urn:fhir:binding:ContractStatus` +- `urn:fhir:binding:ContractSubtype` +- `urn:fhir:binding:ContractTermSubType` +- `urn:fhir:binding:ContractTermType` +- `urn:fhir:binding:ContractType` +- `urn:fhir:binding:CopayTypes` +- `urn:fhir:binding:Courtesies` +- `urn:fhir:binding:CoverageClass` +- `urn:fhir:binding:CoverageFinancialException` +- `urn:fhir:binding:CoverageStatus` +- `urn:fhir:binding:CoverageType` +- `urn:fhir:binding:DICOMMediaType` +- `urn:fhir:binding:DaysOfWeek` +- `urn:fhir:binding:DefinitionTopic` +- `urn:fhir:binding:DetectedIssueCategory` +- `urn:fhir:binding:DetectedIssueEvidenceCode` +- `urn:fhir:binding:DetectedIssueMitigationAction` +- `urn:fhir:binding:DetectedIssueSeverity` +- `urn:fhir:binding:DetectedIssueStatus` +- `urn:fhir:binding:DeviceActionKind` +- `urn:fhir:binding:DeviceKind` +- `urn:fhir:binding:DeviceMetricCalibrationState` +- `urn:fhir:binding:DeviceMetricCalibrationType` +- `urn:fhir:binding:DeviceMetricCategory` +- `urn:fhir:binding:DeviceMetricColor` +- `urn:fhir:binding:DeviceMetricOperationalStatus` +- `urn:fhir:binding:DeviceNameType` +- `urn:fhir:binding:DeviceRequestParticipantRole` +- `urn:fhir:binding:DeviceRequestReason` +- `urn:fhir:binding:DeviceRequestStatus` +- `urn:fhir:binding:DeviceType` +- `urn:fhir:binding:DeviceUseStatementStatus` +- `urn:fhir:binding:DiagnosisOnAdmission` +- `urn:fhir:binding:DiagnosisRelatedGroup` +- `urn:fhir:binding:DiagnosisRole` +- `urn:fhir:binding:DiagnosisType` +- `urn:fhir:binding:DiagnosticReportCodes` +- `urn:fhir:binding:DiagnosticReportStatus` +- `urn:fhir:binding:DiagnosticServiceSection` +- `urn:fhir:binding:DischargeDisp` +- `urn:fhir:binding:DiscriminatorType` +- `urn:fhir:binding:DocumentC80Class` +- `urn:fhir:binding:DocumentC80FacilityType` +- `urn:fhir:binding:DocumentC80PracticeSetting` +- `urn:fhir:binding:DocumentC80Type` +- `urn:fhir:binding:DocumentCategory` +- `urn:fhir:binding:DocumentConfidentiality` +- `urn:fhir:binding:DocumentEventType` +- `urn:fhir:binding:DocumentFormat` +- `urn:fhir:binding:DocumentMode` +- `urn:fhir:binding:DocumentReferenceStatus` +- `urn:fhir:binding:DocumentRelationshipType` +- `urn:fhir:binding:DocumentType` +- `urn:fhir:binding:EffectEstimateType` +- `urn:fhir:binding:ElementDefinitionCode` +- `urn:fhir:binding:EligibilityRequestPurpose` +- `urn:fhir:binding:EligibilityRequestStatus` +- `urn:fhir:binding:EligibilityResponsePurpose` +- `urn:fhir:binding:EligibilityResponseStatus` +- `urn:fhir:binding:EnableWhenBehavior` +- `urn:fhir:binding:EncounterClass` +- `urn:fhir:binding:EncounterLocationStatus` +- `urn:fhir:binding:EncounterReason` +- `urn:fhir:binding:EncounterServiceType` +- `urn:fhir:binding:EncounterStatus` +- `urn:fhir:binding:EncounterType` +- `urn:fhir:binding:EndpointStatus` +- `urn:fhir:binding:EnrollmentRequestStatus` +- `urn:fhir:binding:EnrollmentResponseStatus` +- `urn:fhir:binding:EnteralFormulaAdditiveType` +- `urn:fhir:binding:EnteralFormulaType` +- `urn:fhir:binding:EnteralRouteOfAdministration` +- `urn:fhir:binding:EpisodeOfCareStatus` +- `urn:fhir:binding:EpisodeOfCareType` +- `urn:fhir:binding:EvaluationDoseStatus` +- `urn:fhir:binding:EvaluationDoseStatusReason` +- `urn:fhir:binding:EvaluationTargetDisease` +- `urn:fhir:binding:EventCapabilityMode` +- `urn:fhir:binding:EventPerformerFunction` +- `urn:fhir:binding:EventReason` +- `urn:fhir:binding:EvidenceVariableType` +- `urn:fhir:binding:EvidenceVariantState` +- `urn:fhir:binding:ExampleScenarioActorType` +- `urn:fhir:binding:ExplanationOfBenefitStatus` +- `urn:fhir:binding:ExposureState` +- `urn:fhir:binding:ExtensionContextType` +- `urn:fhir:binding:FHIRDefinedType` +- `urn:fhir:binding:FHIRDefinedTypeExt` +- `urn:fhir:binding:FHIRDeviceStatus` +- `urn:fhir:binding:FHIRDeviceStatusReason` +- `urn:fhir:binding:FHIRResourceType` +- `urn:fhir:binding:FHIRSubstanceStatus` +- `urn:fhir:binding:FHIRVersion` +- `urn:fhir:binding:FamilialRelationship` +- `urn:fhir:binding:FamilyHistoryAbsentReason` +- `urn:fhir:binding:FamilyHistoryReason` +- `urn:fhir:binding:FamilyHistoryStatus` +- `urn:fhir:binding:FilterOperator` +- `urn:fhir:binding:FlagCategory` +- `urn:fhir:binding:FlagCode` +- `urn:fhir:binding:FlagStatus` +- `urn:fhir:binding:FluidConsistencyType` +- `urn:fhir:binding:FoodType` +- `urn:fhir:binding:Forms` +- `urn:fhir:binding:FundingSource` +- `urn:fhir:binding:FundsReserve` +- `urn:fhir:binding:GoalAchievementStatus` +- `urn:fhir:binding:GoalAddresses` +- `urn:fhir:binding:GoalCategory` +- `urn:fhir:binding:GoalDescription` +- `urn:fhir:binding:GoalLifecycleStatus` +- `urn:fhir:binding:GoalOutcome` +- `urn:fhir:binding:GoalPriority` +- `urn:fhir:binding:GoalStartEvent` +- `urn:fhir:binding:GoalTargetMeasure` +- `urn:fhir:binding:GraphCompartmentRule` +- `urn:fhir:binding:GraphCompartmentUse` +- `urn:fhir:binding:GroupMeasure` +- `urn:fhir:binding:GroupType` +- `urn:fhir:binding:GuidanceResponseStatus` +- `urn:fhir:binding:GuidePageGeneration` +- `urn:fhir:binding:GuideParameterCode` +- `urn:fhir:binding:HandlingConditionSet` +- `urn:fhir:binding:IdentityAssuranceLevel` +- `urn:fhir:binding:ImagingModality` +- `urn:fhir:binding:ImagingProcedureCode` +- `urn:fhir:binding:ImagingReason` +- `urn:fhir:binding:ImagingStudyStatus` +- `urn:fhir:binding:ImmunizationEvaluationStatus` +- `urn:fhir:binding:ImmunizationFunction` +- `urn:fhir:binding:ImmunizationReason` +- `urn:fhir:binding:ImmunizationRecommendationDateCriterion` +- `urn:fhir:binding:ImmunizationRecommendationReason` +- `urn:fhir:binding:ImmunizationRecommendationStatus` +- `urn:fhir:binding:ImmunizationReportOrigin` +- `urn:fhir:binding:ImmunizationRoute` +- `urn:fhir:binding:ImmunizationSite` +- `urn:fhir:binding:ImmunizationStatus` +- `urn:fhir:binding:ImmunizationStatusReason` +- `urn:fhir:binding:InformationCategory` +- `urn:fhir:binding:InformationCode` +- `urn:fhir:binding:InsurancePlanType` +- `urn:fhir:binding:IntendedSpecimenType` +- `urn:fhir:binding:InvestigationGroupType` +- `urn:fhir:binding:InvoicePriceComponentType` +- `urn:fhir:binding:InvoiceStatus` +- `urn:fhir:binding:Jurisdiction` +- `urn:fhir:binding:LDLCodes` +- `urn:fhir:binding:LOINC LL379-9 answerlist` +- `urn:fhir:binding:Laterality` +- `urn:fhir:binding:LibraryType` +- `urn:fhir:binding:LinkageType` +- `urn:fhir:binding:ListEmptyReason` +- `urn:fhir:binding:ListItemFlag` +- `urn:fhir:binding:ListMode` +- `urn:fhir:binding:ListOrder` +- `urn:fhir:binding:ListPurpose` +- `urn:fhir:binding:ListStatus` +- `urn:fhir:binding:LocationMode` +- `urn:fhir:binding:LocationStatus` +- `urn:fhir:binding:LocationType` +- `urn:fhir:binding:Manifestation` +- `urn:fhir:binding:ManifestationOrSymptom` +- `urn:fhir:binding:MeasureDataUsage` +- `urn:fhir:binding:MeasureImprovementNotation` +- `urn:fhir:binding:MeasurePopulation` +- `urn:fhir:binding:MeasurePopulationType` +- `urn:fhir:binding:MeasureReportStatus` +- `urn:fhir:binding:MeasureReportType` +- `urn:fhir:binding:MeasureScoring` +- `urn:fhir:binding:MeasureType` +- `urn:fhir:binding:MediaModality` +- `urn:fhir:binding:MediaReason` +- `urn:fhir:binding:MediaStatus` +- `urn:fhir:binding:MediaType` +- `urn:fhir:binding:MediaView` +- `urn:fhir:binding:MedicationAdministrationCategory` +- `urn:fhir:binding:MedicationAdministrationNegationReason` +- `urn:fhir:binding:MedicationAdministrationPerformerFunction` +- `urn:fhir:binding:MedicationAdministrationReason` +- `urn:fhir:binding:MedicationAdministrationStatus` +- `urn:fhir:binding:MedicationCharacteristic` +- `urn:fhir:binding:MedicationDispenseCategory` +- `urn:fhir:binding:MedicationDispensePerformerFunction` +- `urn:fhir:binding:MedicationDispenseStatus` +- `urn:fhir:binding:MedicationDispenseType` +- `urn:fhir:binding:MedicationForm` +- `urn:fhir:binding:MedicationFormalRepresentation` +- `urn:fhir:binding:MedicationIntendedSubstitutionReason` +- `urn:fhir:binding:MedicationIntendedSubstitutionType` +- `urn:fhir:binding:MedicationKnowledgeStatus` +- `urn:fhir:binding:MedicationPackageType` +- `urn:fhir:binding:MedicationReason` +- `urn:fhir:binding:MedicationRequestCategory` +- `urn:fhir:binding:MedicationRequestCourseOfTherapy` +- `urn:fhir:binding:MedicationRequestIntent` +- `urn:fhir:binding:MedicationRequestPerformerType` +- `urn:fhir:binding:MedicationRequestPriority` +- `urn:fhir:binding:MedicationRequestReason` +- `urn:fhir:binding:MedicationRequestStatus` +- `urn:fhir:binding:MedicationRequestStatusReason` +- `urn:fhir:binding:MedicationRoute` +- `urn:fhir:binding:MedicationStatementCategory` +- `urn:fhir:binding:MedicationStatementStatus` +- `urn:fhir:binding:MedicationStatementStatusReason` +- `urn:fhir:binding:MedicationStatus` +- `urn:fhir:binding:MessageSignificanceCategory` +- `urn:fhir:binding:MessageTransport` +- `urn:fhir:binding:MetricType` +- `urn:fhir:binding:MetricUnit` +- `urn:fhir:binding:MissingReason` +- `urn:fhir:binding:Modifiers` +- `urn:fhir:binding:NamingSystemIdentifierType` +- `urn:fhir:binding:NamingSystemType` +- `urn:fhir:binding:NoteType` +- `urn:fhir:binding:NutrientModifier` +- `urn:fhir:binding:NutritiionOrderIntent` +- `urn:fhir:binding:NutritionOrderStatus` +- `urn:fhir:binding:ObservationDataType` +- `urn:fhir:binding:ObservationRangeAppliesTo` +- `urn:fhir:binding:ObservationRangeCategory` +- `urn:fhir:binding:ObservationUnit` +- `urn:fhir:binding:OperationKind` +- `urn:fhir:binding:OperationParameterUse` +- `urn:fhir:binding:OperationalStatus` +- `urn:fhir:binding:OralDiet` +- `urn:fhir:binding:OralSites` +- `urn:fhir:binding:OrderDetail` +- `urn:fhir:binding:OrganizationAffiliation` +- `urn:fhir:binding:OrganizationSpecialty` +- `urn:fhir:binding:OrganizationType` +- `urn:fhir:binding:ParticipantRequired` +- `urn:fhir:binding:ParticipantStatus` +- `urn:fhir:binding:ParticipantType` +- `urn:fhir:binding:ParticipationStatus` +- `urn:fhir:binding:PatientDiet` +- `urn:fhir:binding:PatientRelationshipType` +- `urn:fhir:binding:PayeeType` +- `urn:fhir:binding:PayloadType` +- `urn:fhir:binding:PaymentAdjustmentReason` +- `urn:fhir:binding:PaymentNoticeStatus` +- `urn:fhir:binding:PaymentReconciliationStatus` +- `urn:fhir:binding:PaymentStatus` +- `urn:fhir:binding:PaymentType` +- `urn:fhir:binding:PhysicalType` +- `urn:fhir:binding:PlanDefinitionType` +- `urn:fhir:binding:PractitionerRole` +- `urn:fhir:binding:PractitionerSpecialty` +- `urn:fhir:binding:PrecisionEstimateType` +- `urn:fhir:binding:PreparePatient` +- `urn:fhir:binding:Priority` +- `urn:fhir:binding:ProcedureCategory` +- `urn:fhir:binding:ProcedureCode` +- `urn:fhir:binding:ProcedureComplication` +- `urn:fhir:binding:ProcedureFollowUp` +- `urn:fhir:binding:ProcedureNegationReason` +- `urn:fhir:binding:ProcedureOutcome` +- `urn:fhir:binding:ProcedurePerformerRole` +- `urn:fhir:binding:ProcedureReason` +- `urn:fhir:binding:ProcedureStatus` +- `urn:fhir:binding:ProcedureType` +- `urn:fhir:binding:ProcedureUsed` +- `urn:fhir:binding:ProcessPriority` +- `urn:fhir:binding:Program` +- `urn:fhir:binding:ProgramCode` +- `urn:fhir:binding:ProgramEligibility` +- `urn:fhir:binding:PropertyRepresentation` +- `urn:fhir:binding:PropertyType` +- `urn:fhir:binding:ProvenanceActivity` +- `urn:fhir:binding:ProvenanceAgentRole` +- `urn:fhir:binding:ProvenanceAgentType` +- `urn:fhir:binding:ProvenanceEntityRole` +- `urn:fhir:binding:ProvenanceHistoryAgentType` +- `urn:fhir:binding:ProvenanceHistoryRecordActivity` +- `urn:fhir:binding:ProvenanceReason` +- `urn:fhir:binding:ProviderQualification` +- `urn:fhir:binding:PublicationStatus` +- `urn:fhir:binding:PurposeOfUse` +- `urn:fhir:binding:Qualification` +- `urn:fhir:binding:QualityOfEvidenceRating` +- `urn:fhir:binding:QuestionnaireConcept` +- `urn:fhir:binding:QuestionnaireItemOperator` +- `urn:fhir:binding:QuestionnaireItemType` +- `urn:fhir:binding:QuestionnaireResponseStatus` +- `urn:fhir:binding:ReAdmissionType` +- `urn:fhir:binding:ReferenceHandlingPolicy` +- `urn:fhir:binding:ReferenceVersionRules` +- `urn:fhir:binding:ReferralMethod` +- `urn:fhir:binding:ReferredDocumentStatus` +- `urn:fhir:binding:RejectionCriterion` +- `urn:fhir:binding:RelatedClaimRelationship` +- `urn:fhir:binding:Relationship` +- `urn:fhir:binding:RemittanceOutcome` +- `urn:fhir:binding:RequestIntent` +- `urn:fhir:binding:RequestPriority` +- `urn:fhir:binding:RequestStatus` +- `urn:fhir:binding:ResearchElementType` +- `urn:fhir:binding:ResearchStudyObjectiveType` +- `urn:fhir:binding:ResearchStudyPhase` +- `urn:fhir:binding:ResearchStudyPrimaryPurposeType` +- `urn:fhir:binding:ResearchStudyReasonStopped` +- `urn:fhir:binding:ResearchStudyStatus` +- `urn:fhir:binding:ResearchSubjectStatus` +- `urn:fhir:binding:ResourceType` +- `urn:fhir:binding:ResourceVersionPolicy` +- `urn:fhir:binding:ResponseType` +- `urn:fhir:binding:RestfulCapabilityMode` +- `urn:fhir:binding:RestfulSecurityService` +- `urn:fhir:binding:RevenueCenter` +- `urn:fhir:binding:RiskAssessmentProbability` +- `urn:fhir:binding:RiskAssessmentStatus` +- `urn:fhir:binding:RiskEstimateType` +- `urn:fhir:binding:SPDXLicense` +- `urn:fhir:binding:Safety` +- `urn:fhir:binding:SearchComparator` +- `urn:fhir:binding:SearchModifierCode` +- `urn:fhir:binding:SearchParamType` +- `urn:fhir:binding:SectionEmptyReason` +- `urn:fhir:binding:SectionEntryOrder` +- `urn:fhir:binding:SectionMode` +- `urn:fhir:binding:ServiceProduct` +- `urn:fhir:binding:ServiceProvisionConditions` +- `urn:fhir:binding:ServiceRequestCategory` +- `urn:fhir:binding:ServiceRequestCode` +- `urn:fhir:binding:ServiceRequestIntent` +- `urn:fhir:binding:ServiceRequestLocation` +- `urn:fhir:binding:ServiceRequestParticipantRole` +- `urn:fhir:binding:ServiceRequestPriority` +- `urn:fhir:binding:ServiceRequestReason` +- `urn:fhir:binding:ServiceRequestStatus` +- `urn:fhir:binding:Sex` +- `urn:fhir:binding:SlicingRules` +- `urn:fhir:binding:SlotStatus` +- `urn:fhir:binding:SpecimenCollection` +- `urn:fhir:binding:SpecimenCollectionMethod` +- `urn:fhir:binding:SpecimenCondition` +- `urn:fhir:binding:SpecimenContainedPreference` +- `urn:fhir:binding:SpecimenContainerType` +- `urn:fhir:binding:SpecimenProcessingProcedure` +- `urn:fhir:binding:SpecimenStatus` +- `urn:fhir:binding:SpecimenType` +- `urn:fhir:binding:Status` +- `urn:fhir:binding:StructureDefinitionKeyword` +- `urn:fhir:binding:StructureDefinitionKind` +- `urn:fhir:binding:StructureMapContextType` +- `urn:fhir:binding:StructureMapGroupTypeMode` +- `urn:fhir:binding:StructureMapInputMode` +- `urn:fhir:binding:StructureMapModelMode` +- `urn:fhir:binding:StructureMapSourceListMode` +- `urn:fhir:binding:StructureMapTargetListMode` +- `urn:fhir:binding:StructureMapTransform` +- `urn:fhir:binding:StudyType` +- `urn:fhir:binding:SubpotentReason` +- `urn:fhir:binding:SubscriptionChannelType` +- `urn:fhir:binding:SubscriptionStatus` +- `urn:fhir:binding:SubstanceCategory` +- `urn:fhir:binding:SubstanceCode` +- `urn:fhir:binding:SupplementType` +- `urn:fhir:binding:SupplyDeliveryStatus` +- `urn:fhir:binding:SupplyDeliveryType` +- `urn:fhir:binding:SupplyRequestKind` +- `urn:fhir:binding:SupplyRequestReason` +- `urn:fhir:binding:SupplyRequestStatus` +- `urn:fhir:binding:Surface` +- `urn:fhir:binding:SynthesisType` +- `urn:fhir:binding:SystemRestfulInteraction` +- `urn:fhir:binding:TargetDisease` +- `urn:fhir:binding:TaskCode` +- `urn:fhir:binding:TaskIntent` +- `urn:fhir:binding:TaskPerformerType` +- `urn:fhir:binding:TaskPriority` +- `urn:fhir:binding:TaskStatus` +- `urn:fhir:binding:TestReportActionResult` +- `urn:fhir:binding:TestReportParticipantType` +- `urn:fhir:binding:TestReportResult` +- `urn:fhir:binding:TestReportStatus` +- `urn:fhir:binding:TestScriptOperationCode` +- `urn:fhir:binding:TestScriptProfileDestinationType` +- `urn:fhir:binding:TestScriptProfileOriginType` +- `urn:fhir:binding:TestScriptRequestMethodCode` +- `urn:fhir:binding:TextureModifiedFoodType` +- `urn:fhir:binding:TextureModifier` +- `urn:fhir:binding:TypeDerivationRule` +- `urn:fhir:binding:TypeRestfulInteraction` +- `urn:fhir:binding:UCUMUnits` +- `urn:fhir:binding:UDIEntryType` +- `urn:fhir:binding:Use` +- `urn:fhir:binding:VaccineCode` +- `urn:fhir:binding:VariableType` +- `urn:fhir:binding:VisionBase` +- `urn:fhir:binding:VisionEyes` +- `urn:fhir:binding:VisionProduct` +- `urn:fhir:binding:VisionStatus` +- `urn:fhir:binding:VitalSigns` +- `urn:fhir:binding:XPathUsageType` +- `urn:fhir:binding:appointment-type` +- `urn:fhir:binding:can-push-updates` +- `urn:fhir:binding:cancelation-reason` +- `urn:fhir:binding:chromosome-human` +- `urn:fhir:binding:communication-method` +- `urn:fhir:binding:endpoint-contype` +- `urn:fhir:binding:failure-action` +- `urn:fhir:binding:messageheader-response-request` +- `urn:fhir:binding:need` +- `urn:fhir:binding:orientationType` +- `urn:fhir:binding:primary-source-type` +- `urn:fhir:binding:push-type-available` +- `urn:fhir:binding:qualityMethod` +- `urn:fhir:binding:qualityStandardSequence` +- `urn:fhir:binding:qualityType` +- `urn:fhir:binding:repositoryType` +- `urn:fhir:binding:sequenceReference` +- `urn:fhir:binding:sequenceType` +- `urn:fhir:binding:service-category` +- `urn:fhir:binding:service-specialty` +- `urn:fhir:binding:service-type` +- `urn:fhir:binding:sopClass` +- `urn:fhir:binding:specialty` +- `urn:fhir:binding:status` +- `urn:fhir:binding:strandType` +- `urn:fhir:binding:v3Act` +- `urn:fhir:binding:validation-process` +- `urn:fhir:binding:validation-status` +- `urn:fhir:binding:validation-type` + +## Schema Collisions + +The following canonicals have multiple schema versions with different content. +To inspect collision versions, export TypeSchemas using `.introspection({ typeSchemas: 'path' })` +and check `/collisions//1.json, 2.json, ...` files. + +### `shared` + +- `urn:fhir:binding:CommunicationReason` (2 versions) + - Version 1: Communication (hl7.fhir.r4.core#4.0.1) + - Version 2: CommunicationRequest (hl7.fhir.r4.core#4.0.1) +- `urn:fhir:binding:ObservationCategory` (2 versions) + - Version 1: Observation (hl7.fhir.r4.core#4.0.1), vitalsigns (hl7.fhir.r4.core#4.0.1) + - Version 2: ObservationDefinition (hl7.fhir.r4.core#4.0.1) +- `urn:fhir:binding:ObservationRangeMeaning` (2 versions) + - Version 1: cholesterol (hl7.fhir.r4.core#4.0.1), hdlcholesterol (hl7.fhir.r4.core#4.0.1), ldlcholesterol (hl7.fhir.r4.core#4.0.1), Observation (hl7.fhir.r4.core#4.0.1), triglyceride (hl7.fhir.r4.core#4.0.1) + - Version 2: ObservationDefinition (hl7.fhir.r4.core#4.0.1) +- `urn:fhir:binding:PaymentType` (2 versions) + - Version 1: ClaimResponse (hl7.fhir.r4.core#4.0.1), ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1) + - Version 2: PaymentReconciliation (hl7.fhir.r4.core#4.0.1) +- `urn:fhir:binding:ProcessPriority` (2 versions) + - Version 1: Claim (hl7.fhir.r4.core#4.0.1), CoverageEligibilityRequest (hl7.fhir.r4.core#4.0.1) + - Version 2: ExplanationOfBenefit (hl7.fhir.r4.core#4.0.1) +- `urn:fhir:binding:TargetDisease` (2 versions) + - Version 1: Immunization (hl7.fhir.r4.core#4.0.1) + - Version 2: ImmunizationRecommendation (hl7.fhir.r4.core#4.0.1) diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Address.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Address.ts new file mode 100644 index 0000000..e085e45 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Address.ts @@ -0,0 +1,32 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Element } from "../hl7-fhir-r4-core/Element"; +import type { Period } from "../hl7-fhir-r4-core/Period"; + +export type { Element } from "../hl7-fhir-r4-core/Element"; +export type { Period } from "../hl7-fhir-r4-core/Period"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Address (pkg: hl7.fhir.r4.core#4.0.1) +export interface Address extends Element { + city?: string; + _city?: Element; + country?: string; + _country?: Element; + district?: string; + _district?: Element; + line?: string[]; + _line?: Element; + period?: Period; + postalCode?: string; + _postalCode?: Element; + state?: string; + _state?: Element; + text?: string; + _text?: Element; + type?: ("postal" | "physical" | "both"); + _type?: Element; + use?: ("home" | "work" | "temp" | "old" | "billing"); + _use?: Element; +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Age.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Age.ts new file mode 100644 index 0000000..be492a3 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Age.ts @@ -0,0 +1,11 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Quantity } from "../hl7-fhir-r4-core/Quantity"; + +export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Age (pkg: hl7.fhir.r4.core#4.0.1) +export interface Age extends Quantity { +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Annotation.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Annotation.ts new file mode 100644 index 0000000..25bd874 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Annotation.ts @@ -0,0 +1,20 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Element } from "../hl7-fhir-r4-core/Element"; +import type { Reference } from "../hl7-fhir-r4-core/Reference"; + +export type { Element } from "../hl7-fhir-r4-core/Element"; +export type { Reference } from "../hl7-fhir-r4-core/Reference"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Annotation (pkg: hl7.fhir.r4.core#4.0.1) +export interface Annotation extends Element { + authorReference?: Reference<"Organization" | "Patient" | "Practitioner" | "RelatedPerson">; + authorString?: string; + _authorString?: Element; + text: string; + _text?: Element; + time?: string; + _time?: Element; +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Attachment.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Attachment.ts new file mode 100644 index 0000000..137a342 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Attachment.ts @@ -0,0 +1,27 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Element } from "../hl7-fhir-r4-core/Element"; + +export type { Element } from "../hl7-fhir-r4-core/Element"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Attachment (pkg: hl7.fhir.r4.core#4.0.1) +export interface Attachment extends Element { + contentType?: string; + _contentType?: Element; + creation?: string; + _creation?: Element; + data?: string; + _data?: Element; + hash?: string; + _hash?: Element; + language?: ("ar" | "bn" | "cs" | "da" | "de" | "de-AT" | "de-CH" | "de-DE" | "el" | "en" | "en-AU" | "en-CA" | "en-GB" | "en-IN" | "en-NZ" | "en-SG" | "en-US" | "es" | "es-AR" | "es-ES" | "es-UY" | "fi" | "fr" | "fr-BE" | "fr-CH" | "fr-FR" | "fy" | "fy-NL" | "hi" | "hr" | "it" | "it-CH" | "it-IT" | "ja" | "ko" | "nl" | "nl-BE" | "nl-NL" | "no" | "no-NO" | "pa" | "pl" | "pt" | "pt-BR" | "ru" | "ru-RU" | "sr" | "sr-RS" | "sv" | "sv-SE" | "te" | "zh" | "zh-CN" | "zh-HK" | "zh-SG" | "zh-TW" | string); + _language?: Element; + size?: number; + _size?: Element; + title?: string; + _title?: Element; + url?: string; + _url?: Element; +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/BackboneElement.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/BackboneElement.ts new file mode 100644 index 0000000..b2b70e6 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/BackboneElement.ts @@ -0,0 +1,14 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Element } from "../hl7-fhir-r4-core/Element"; +import type { Extension } from "../hl7-fhir-r4-core/Extension"; + +export type { Element } from "../hl7-fhir-r4-core/Element"; +export type { Extension } from "../hl7-fhir-r4-core/Extension"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/BackboneElement (pkg: hl7.fhir.r4.core#4.0.1) +export interface BackboneElement extends Element { + modifierExtension?: Extension[]; +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Bundle.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Bundle.ts new file mode 100644 index 0000000..cce9315 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Bundle.ts @@ -0,0 +1,68 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; +import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; +import type { Resource } from "../hl7-fhir-r4-core/Resource"; +import type { Signature } from "../hl7-fhir-r4-core/Signature"; + +import type { Element } from "../hl7-fhir-r4-core/Element"; +export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; +export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; +export type { Signature } from "../hl7-fhir-r4-core/Signature"; + +export interface BundleEntry extends BackboneElement { + fullUrl?: string; + link?: BundleLink[]; + request?: BundleEntryRequest; + resource?: Resource; + response?: BundleEntryResponse; + search?: BundleEntrySearch; +} + +export interface BundleEntryRequest extends BackboneElement { + ifMatch?: string; + ifModifiedSince?: string; + ifNoneExist?: string; + ifNoneMatch?: string; + method: ("GET" | "HEAD" | "POST" | "PUT" | "DELETE" | "PATCH"); + url: string; +} + +export interface BundleEntryResponse extends BackboneElement { + etag?: string; + lastModified?: string; + location?: string; + outcome?: Resource; + status: string; +} + +export interface BundleEntrySearch extends BackboneElement { + mode?: ("match" | "include" | "outcome"); + score?: number; +} + +export interface BundleLink extends BackboneElement { + relation: string; + url: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Bundle (pkg: hl7.fhir.r4.core#4.0.1) +export interface Bundle extends Resource { + resourceType: "Bundle"; + + entry?: BundleEntry[]; + identifier?: Identifier; + link?: BundleLink[]; + signature?: Signature; + timestamp?: string; + _timestamp?: Element; + total?: number; + _total?: Element; + type: ("document" | "message" | "transaction" | "transaction-response" | "batch" | "batch-response" | "history" | "searchset" | "collection"); + _type?: Element; +} +export const isBundle = (resource: unknown): resource is Bundle => { + return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Bundle"; +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/CodeableConcept.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/CodeableConcept.ts new file mode 100644 index 0000000..94f47f6 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/CodeableConcept.ts @@ -0,0 +1,16 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../hl7-fhir-r4-core/Coding"; +import type { Element } from "../hl7-fhir-r4-core/Element"; + +export type { Coding } from "../hl7-fhir-r4-core/Coding"; +export type { Element } from "../hl7-fhir-r4-core/Element"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/CodeableConcept (pkg: hl7.fhir.r4.core#4.0.1) +export interface CodeableConcept extends Element { + coding?: Coding[]; + text?: string; + _text?: Element; +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Coding.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Coding.ts new file mode 100644 index 0000000..84ad129 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Coding.ts @@ -0,0 +1,21 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Element } from "../hl7-fhir-r4-core/Element"; + +export type { Element } from "../hl7-fhir-r4-core/Element"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Coding (pkg: hl7.fhir.r4.core#4.0.1) +export interface Coding extends Element { + code?: T; + _code?: Element; + display?: string; + _display?: Element; + system?: string; + _system?: Element; + userSelected?: boolean; + _userSelected?: Element; + version?: string; + _version?: Element; +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/ContactDetail.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/ContactDetail.ts new file mode 100644 index 0000000..61b94d2 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/ContactDetail.ts @@ -0,0 +1,16 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; +import type { Element } from "../hl7-fhir-r4-core/Element"; + +export type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; +export type { Element } from "../hl7-fhir-r4-core/Element"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ContactDetail (pkg: hl7.fhir.r4.core#4.0.1) +export interface ContactDetail extends Element { + name?: string; + _name?: Element; + telecom?: ContactPoint[]; +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/ContactPoint.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/ContactPoint.ts new file mode 100644 index 0000000..a8507dc --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/ContactPoint.ts @@ -0,0 +1,22 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Element } from "../hl7-fhir-r4-core/Element"; +import type { Period } from "../hl7-fhir-r4-core/Period"; + +export type { Element } from "../hl7-fhir-r4-core/Element"; +export type { Period } from "../hl7-fhir-r4-core/Period"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ContactPoint (pkg: hl7.fhir.r4.core#4.0.1) +export interface ContactPoint extends Element { + period?: Period; + rank?: number; + _rank?: Element; + system?: ("phone" | "fax" | "email" | "pager" | "url" | "sms" | "other"); + _system?: Element; + use?: ("home" | "work" | "temp" | "old" | "mobile"); + _use?: Element; + value?: string; + _value?: Element; +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Contributor.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Contributor.ts new file mode 100644 index 0000000..c0c56d2 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Contributor.ts @@ -0,0 +1,18 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; +import type { Element } from "../hl7-fhir-r4-core/Element"; + +export type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; +export type { Element } from "../hl7-fhir-r4-core/Element"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Contributor (pkg: hl7.fhir.r4.core#4.0.1) +export interface Contributor extends Element { + contact?: ContactDetail[]; + name: string; + _name?: Element; + type: ("author" | "editor" | "reviewer" | "endorser"); + _type?: Element; +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Count.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Count.ts new file mode 100644 index 0000000..e8db9c5 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Count.ts @@ -0,0 +1,11 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Quantity } from "../hl7-fhir-r4-core/Quantity"; + +export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Count (pkg: hl7.fhir.r4.core#4.0.1) +export interface Count extends Quantity { +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/DataRequirement.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/DataRequirement.ts new file mode 100644 index 0000000..aedb177 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/DataRequirement.ts @@ -0,0 +1,54 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; +import type { Coding } from "../hl7-fhir-r4-core/Coding"; +import type { Duration } from "../hl7-fhir-r4-core/Duration"; +import type { Element } from "../hl7-fhir-r4-core/Element"; +import type { Period } from "../hl7-fhir-r4-core/Period"; +import type { Reference } from "../hl7-fhir-r4-core/Reference"; + +export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; +export type { Coding } from "../hl7-fhir-r4-core/Coding"; +export type { Duration } from "../hl7-fhir-r4-core/Duration"; +export type { Element } from "../hl7-fhir-r4-core/Element"; +export type { Period } from "../hl7-fhir-r4-core/Period"; +export type { Reference } from "../hl7-fhir-r4-core/Reference"; + +export interface DataRequirementCodeFilter extends Element { + code?: Coding[]; + path?: string; + searchParam?: string; + valueSet?: string; +} + +export interface DataRequirementDateFilter extends Element { + path?: string; + searchParam?: string; + valueDateTime?: string; + valueDuration?: Duration; + valuePeriod?: Period; +} + +export interface DataRequirementSort extends Element { + direction: ("ascending" | "descending"); + path: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DataRequirement (pkg: hl7.fhir.r4.core#4.0.1) +export interface DataRequirement extends Element { + codeFilter?: Element[]; + dateFilter?: Element[]; + limit?: number; + _limit?: Element; + mustSupport?: string[]; + _mustSupport?: Element; + profile?: string[]; + _profile?: Element; + sort?: Element[]; + subjectCodeableConcept?: CodeableConcept; + subjectReference?: Reference<"Group">; + type: string; + _type?: Element; +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Distance.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Distance.ts new file mode 100644 index 0000000..0dcb5be --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Distance.ts @@ -0,0 +1,11 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Quantity } from "../hl7-fhir-r4-core/Quantity"; + +export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Distance (pkg: hl7.fhir.r4.core#4.0.1) +export interface Distance extends Quantity { +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/DomainResource.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/DomainResource.ts new file mode 100644 index 0000000..e1ee97c --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/DomainResource.ts @@ -0,0 +1,23 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../hl7-fhir-r4-core/Extension"; +import type { Narrative } from "../hl7-fhir-r4-core/Narrative"; +import type { Resource } from "../hl7-fhir-r4-core/Resource"; + +export type { Extension } from "../hl7-fhir-r4-core/Extension"; +export type { Narrative } from "../hl7-fhir-r4-core/Narrative"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/DomainResource (pkg: hl7.fhir.r4.core#4.0.1) +export interface DomainResource extends Resource { + resourceType: "DomainResource" | "Observation" | "OperationOutcome" | "Patient"; + + contained?: Resource[]; + extension?: Extension[]; + modifierExtension?: Extension[]; + text?: Narrative; +} +export const isDomainResource = (resource: unknown): resource is DomainResource => { + return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "DomainResource"; +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Dosage.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Dosage.ts new file mode 100644 index 0000000..3f78d88 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Dosage.ts @@ -0,0 +1,50 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; +import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; +import type { Element } from "../hl7-fhir-r4-core/Element"; +import type { Quantity } from "../hl7-fhir-r4-core/Quantity"; +import type { Range } from "../hl7-fhir-r4-core/Range"; +import type { Ratio } from "../hl7-fhir-r4-core/Ratio"; +import type { Timing } from "../hl7-fhir-r4-core/Timing"; + +export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; +export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; +export type { Element } from "../hl7-fhir-r4-core/Element"; +export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; +export type { Range } from "../hl7-fhir-r4-core/Range"; +export type { Ratio } from "../hl7-fhir-r4-core/Ratio"; +export type { Timing } from "../hl7-fhir-r4-core/Timing"; + +export interface DosageDoseAndRate extends Element { + doseQuantity?: Quantity; + doseRange?: Range; + rateQuantity?: Quantity; + rateRange?: Range; + rateRatio?: Ratio; + type?: CodeableConcept; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Dosage (pkg: hl7.fhir.r4.core#4.0.1) +export interface Dosage extends BackboneElement { + additionalInstruction?: CodeableConcept[]; + asNeededBoolean?: boolean; + _asNeededBoolean?: Element; + asNeededCodeableConcept?: CodeableConcept; + doseAndRate?: Element[]; + maxDosePerAdministration?: Quantity; + maxDosePerLifetime?: Quantity; + maxDosePerPeriod?: Ratio; + method?: CodeableConcept; + patientInstruction?: string; + _patientInstruction?: Element; + route?: CodeableConcept; + sequence?: number; + _sequence?: Element; + site?: CodeableConcept; + text?: string; + _text?: Element; + timing?: Timing; +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Duration.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Duration.ts new file mode 100644 index 0000000..0019823 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Duration.ts @@ -0,0 +1,11 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Quantity } from "../hl7-fhir-r4-core/Quantity"; + +export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Duration (pkg: hl7.fhir.r4.core#4.0.1) +export interface Duration extends Quantity { +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Element.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Element.ts new file mode 100644 index 0000000..eac8191 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Element.ts @@ -0,0 +1,14 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../hl7-fhir-r4-core/Extension"; + +export type { Extension } from "../hl7-fhir-r4-core/Extension"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Element (pkg: hl7.fhir.r4.core#4.0.1) +export interface Element { + extension?: Extension[]; + id?: string; + _id?: Element; +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Expression.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Expression.ts new file mode 100644 index 0000000..9033b39 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Expression.ts @@ -0,0 +1,21 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Element } from "../hl7-fhir-r4-core/Element"; + +export type { Element } from "../hl7-fhir-r4-core/Element"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Expression (pkg: hl7.fhir.r4.core#4.0.1) +export interface Expression extends Element { + description?: string; + _description?: Element; + expression?: string; + _expression?: Element; + language: ("text/cql" | "text/fhirpath" | "application/x-fhir-query" | string); + _language?: Element; + name?: string; + _name?: Element; + reference?: string; + _reference?: Element; +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Extension.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Extension.ts new file mode 100644 index 0000000..34dcb31 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Extension.ts @@ -0,0 +1,144 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Address } from "../hl7-fhir-r4-core/Address"; +import type { Age } from "../hl7-fhir-r4-core/Age"; +import type { Annotation } from "../hl7-fhir-r4-core/Annotation"; +import type { Attachment } from "../hl7-fhir-r4-core/Attachment"; +import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; +import type { Coding } from "../hl7-fhir-r4-core/Coding"; +import type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; +import type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; +import type { Contributor } from "../hl7-fhir-r4-core/Contributor"; +import type { Count } from "../hl7-fhir-r4-core/Count"; +import type { DataRequirement } from "../hl7-fhir-r4-core/DataRequirement"; +import type { Distance } from "../hl7-fhir-r4-core/Distance"; +import type { Dosage } from "../hl7-fhir-r4-core/Dosage"; +import type { Duration } from "../hl7-fhir-r4-core/Duration"; +import type { Element } from "../hl7-fhir-r4-core/Element"; +import type { Expression } from "../hl7-fhir-r4-core/Expression"; +import type { HumanName } from "../hl7-fhir-r4-core/HumanName"; +import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; +import type { Meta } from "../hl7-fhir-r4-core/Meta"; +import type { Money } from "../hl7-fhir-r4-core/Money"; +import type { ParameterDefinition } from "../hl7-fhir-r4-core/ParameterDefinition"; +import type { Period } from "../hl7-fhir-r4-core/Period"; +import type { Quantity } from "../hl7-fhir-r4-core/Quantity"; +import type { Range } from "../hl7-fhir-r4-core/Range"; +import type { Ratio } from "../hl7-fhir-r4-core/Ratio"; +import type { Reference } from "../hl7-fhir-r4-core/Reference"; +import type { RelatedArtifact } from "../hl7-fhir-r4-core/RelatedArtifact"; +import type { SampledData } from "../hl7-fhir-r4-core/SampledData"; +import type { Signature } from "../hl7-fhir-r4-core/Signature"; +import type { Timing } from "../hl7-fhir-r4-core/Timing"; +import type { TriggerDefinition } from "../hl7-fhir-r4-core/TriggerDefinition"; +import type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; + +export type { Address } from "../hl7-fhir-r4-core/Address"; +export type { Age } from "../hl7-fhir-r4-core/Age"; +export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; +export type { Attachment } from "../hl7-fhir-r4-core/Attachment"; +export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; +export type { Coding } from "../hl7-fhir-r4-core/Coding"; +export type { ContactDetail } from "../hl7-fhir-r4-core/ContactDetail"; +export type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; +export type { Contributor } from "../hl7-fhir-r4-core/Contributor"; +export type { Count } from "../hl7-fhir-r4-core/Count"; +export type { DataRequirement } from "../hl7-fhir-r4-core/DataRequirement"; +export type { Distance } from "../hl7-fhir-r4-core/Distance"; +export type { Dosage } from "../hl7-fhir-r4-core/Dosage"; +export type { Duration } from "../hl7-fhir-r4-core/Duration"; +export type { Element } from "../hl7-fhir-r4-core/Element"; +export type { Expression } from "../hl7-fhir-r4-core/Expression"; +export type { HumanName } from "../hl7-fhir-r4-core/HumanName"; +export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; +export type { Meta } from "../hl7-fhir-r4-core/Meta"; +export type { Money } from "../hl7-fhir-r4-core/Money"; +export type { ParameterDefinition } from "../hl7-fhir-r4-core/ParameterDefinition"; +export type { Period } from "../hl7-fhir-r4-core/Period"; +export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; +export type { Range } from "../hl7-fhir-r4-core/Range"; +export type { Ratio } from "../hl7-fhir-r4-core/Ratio"; +export type { Reference } from "../hl7-fhir-r4-core/Reference"; +export type { RelatedArtifact } from "../hl7-fhir-r4-core/RelatedArtifact"; +export type { SampledData } from "../hl7-fhir-r4-core/SampledData"; +export type { Signature } from "../hl7-fhir-r4-core/Signature"; +export type { Timing } from "../hl7-fhir-r4-core/Timing"; +export type { TriggerDefinition } from "../hl7-fhir-r4-core/TriggerDefinition"; +export type { UsageContext } from "../hl7-fhir-r4-core/UsageContext"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Extension (pkg: hl7.fhir.r4.core#4.0.1) +export interface Extension extends Element { + url: string; + _url?: Element; + valueAddress?: Address; + valueAge?: Age; + valueAnnotation?: Annotation; + valueAttachment?: Attachment; + valueBase64Binary?: string; + _valueBase64Binary?: Element; + valueBoolean?: boolean; + _valueBoolean?: Element; + valueCanonical?: string; + _valueCanonical?: Element; + valueCode?: string; + _valueCode?: Element; + valueCodeableConcept?: CodeableConcept; + valueCoding?: Coding; + valueContactDetail?: ContactDetail; + valueContactPoint?: ContactPoint; + valueContributor?: Contributor; + valueCount?: Count; + valueDataRequirement?: DataRequirement; + valueDate?: string; + _valueDate?: Element; + valueDateTime?: string; + _valueDateTime?: Element; + valueDecimal?: number; + _valueDecimal?: Element; + valueDistance?: Distance; + valueDosage?: Dosage; + valueDuration?: Duration; + valueExpression?: Expression; + valueHumanName?: HumanName; + valueId?: string; + _valueId?: Element; + valueIdentifier?: Identifier; + valueInstant?: string; + _valueInstant?: Element; + valueInteger?: number; + _valueInteger?: Element; + valueMarkdown?: string; + _valueMarkdown?: Element; + valueMeta?: Meta; + valueMoney?: Money; + valueOid?: string; + _valueOid?: Element; + valueParameterDefinition?: ParameterDefinition; + valuePeriod?: Period; + valuePositiveInt?: number; + _valuePositiveInt?: Element; + valueQuantity?: Quantity; + valueRange?: Range; + valueRatio?: Ratio; + valueReference?: Reference; + valueRelatedArtifact?: RelatedArtifact; + valueSampledData?: SampledData; + valueSignature?: Signature; + valueString?: string; + _valueString?: Element; + valueTime?: string; + _valueTime?: Element; + valueTiming?: Timing; + valueTriggerDefinition?: TriggerDefinition; + valueUnsignedInt?: number; + _valueUnsignedInt?: Element; + valueUri?: string; + _valueUri?: Element; + valueUrl?: string; + _valueUrl?: Element; + valueUsageContext?: UsageContext; + valueUuid?: string; + _valueUuid?: Element; +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/HumanName.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/HumanName.ts new file mode 100644 index 0000000..c2c2a78 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/HumanName.ts @@ -0,0 +1,26 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Element } from "../hl7-fhir-r4-core/Element"; +import type { Period } from "../hl7-fhir-r4-core/Period"; + +export type { Element } from "../hl7-fhir-r4-core/Element"; +export type { Period } from "../hl7-fhir-r4-core/Period"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/HumanName (pkg: hl7.fhir.r4.core#4.0.1) +export interface HumanName extends Element { + family?: string; + _family?: Element; + given?: string[]; + _given?: Element; + period?: Period; + prefix?: string[]; + _prefix?: Element; + suffix?: string[]; + _suffix?: Element; + text?: string; + _text?: Element; + use?: ("usual" | "official" | "temp" | "nickname" | "anonymous" | "old" | "maiden"); + _use?: Element; +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Identifier.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Identifier.ts new file mode 100644 index 0000000..2171bdb --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Identifier.ts @@ -0,0 +1,26 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; +import type { Element } from "../hl7-fhir-r4-core/Element"; +import type { Period } from "../hl7-fhir-r4-core/Period"; +import type { Reference } from "../hl7-fhir-r4-core/Reference"; + +export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; +export type { Element } from "../hl7-fhir-r4-core/Element"; +export type { Period } from "../hl7-fhir-r4-core/Period"; +export type { Reference } from "../hl7-fhir-r4-core/Reference"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Identifier (pkg: hl7.fhir.r4.core#4.0.1) +export interface Identifier extends Element { + assigner?: Reference<"Organization">; + period?: Period; + system?: string; + _system?: Element; + type?: CodeableConcept<("DL" | "PPN" | "BRN" | "MR" | "MCN" | "EN" | "TAX" | "NIIP" | "PRN" | "MD" | "DR" | "ACSN" | "UDI" | "SNO" | "SB" | "PLAC" | "FILL" | "JHN" | string)>; + use?: ("usual" | "official" | "temp" | "secondary" | "old"); + _use?: Element; + value?: string; + _value?: Element; +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Meta.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Meta.ts new file mode 100644 index 0000000..d3ebfe1 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Meta.ts @@ -0,0 +1,23 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../hl7-fhir-r4-core/Coding"; +import type { Element } from "../hl7-fhir-r4-core/Element"; + +export type { Coding } from "../hl7-fhir-r4-core/Coding"; +export type { Element } from "../hl7-fhir-r4-core/Element"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Meta (pkg: hl7.fhir.r4.core#4.0.1) +export interface Meta extends Element { + lastUpdated?: string; + _lastUpdated?: Element; + profile?: string[]; + _profile?: Element; + security?: Coding[]; + source?: string; + _source?: Element; + tag?: Coding[]; + versionId?: string; + _versionId?: Element; +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Money.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Money.ts new file mode 100644 index 0000000..4a63765 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Money.ts @@ -0,0 +1,15 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Element } from "../hl7-fhir-r4-core/Element"; + +export type { Element } from "../hl7-fhir-r4-core/Element"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Money (pkg: hl7.fhir.r4.core#4.0.1) +export interface Money extends Element { + currency?: string; + _currency?: Element; + value?: number; + _value?: Element; +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Narrative.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Narrative.ts new file mode 100644 index 0000000..572f021 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Narrative.ts @@ -0,0 +1,15 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Element } from "../hl7-fhir-r4-core/Element"; + +export type { Element } from "../hl7-fhir-r4-core/Element"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Narrative (pkg: hl7.fhir.r4.core#4.0.1) +export interface Narrative extends Element { + div: string; + _div?: Element; + status: ("generated" | "extensions" | "additional" | "empty"); + _status?: Element; +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Observation.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Observation.ts new file mode 100644 index 0000000..fc2a987 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Observation.ts @@ -0,0 +1,111 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Annotation } from "../hl7-fhir-r4-core/Annotation"; +import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; +import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; +import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; +import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; +import type { Period } from "../hl7-fhir-r4-core/Period"; +import type { Quantity } from "../hl7-fhir-r4-core/Quantity"; +import type { Range } from "../hl7-fhir-r4-core/Range"; +import type { Ratio } from "../hl7-fhir-r4-core/Ratio"; +import type { Reference } from "../hl7-fhir-r4-core/Reference"; +import type { SampledData } from "../hl7-fhir-r4-core/SampledData"; +import type { Timing } from "../hl7-fhir-r4-core/Timing"; + +import type { Element } from "../hl7-fhir-r4-core/Element"; +export type { Annotation } from "../hl7-fhir-r4-core/Annotation"; +export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; +export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; +export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; +export type { Period } from "../hl7-fhir-r4-core/Period"; +export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; +export type { Range } from "../hl7-fhir-r4-core/Range"; +export type { Ratio } from "../hl7-fhir-r4-core/Ratio"; +export type { Reference } from "../hl7-fhir-r4-core/Reference"; +export type { SampledData } from "../hl7-fhir-r4-core/SampledData"; +export type { Timing } from "../hl7-fhir-r4-core/Timing"; + +export interface ObservationComponent extends BackboneElement { + code: CodeableConcept; + dataAbsentReason?: CodeableConcept<("unknown" | "asked-unknown" | "temp-unknown" | "not-asked" | "asked-declined" | "masked" | "not-applicable" | "unsupported" | "as-text" | "error" | "not-a-number" | "negative-infinity" | "positive-infinity" | "not-performed" | "not-permitted" | string)>; + interpretation?: CodeableConcept<("_GeneticObservationInterpretation" | "CAR" | "Carrier" | "_ObservationInterpretationChange" | "B" | "D" | "U" | "W" | "_ObservationInterpretationExceptions" | "<" | ">" | "AC" | "IE" | "QCF" | "TOX" | "_ObservationInterpretationNormality" | "A" | "AA" | "HH" | "LL" | "H" | "H>" | "HU" | "L" | "L<" | "LU" | "N" | "_ObservationInterpretationSusceptibility" | "I" | "MS" | "NCL" | "NS" | "R" | "SYN-R" | "S" | "SDD" | "SYN-S" | "VS" | "EX" | "HX" | "LX" | "HM" | "ObservationInterpretationDetection" | "IND" | "E" | "NEG" | "ND" | "POS" | "DET" | "ObservationInterpretationExpectation" | "EXP" | "UNE" | "OBX" | "ReactivityObservationInterpretation" | "NR" | "RR" | "WR" | string)>[]; + referenceRange?: ObservationReferenceRange[]; + valueBoolean?: boolean; + valueCodeableConcept?: CodeableConcept; + valueDateTime?: string; + valueInteger?: number; + valuePeriod?: Period; + valueQuantity?: Quantity; + valueRange?: Range; + valueRatio?: Ratio; + valueSampledData?: SampledData; + valueString?: string; + valueTime?: string; +} + +export interface ObservationReferenceRange extends BackboneElement { + age?: Range; + appliesTo?: CodeableConcept[]; + high?: Quantity; + low?: Quantity; + text?: string; + type?: CodeableConcept<("type" | "normal" | "recommended" | "treatment" | "therapeutic" | "pre" | "post" | "endocrine" | "pre-puberty" | "follicular" | "midcycle" | "luteal" | "postmenopausal" | string)>; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Observation (pkg: hl7.fhir.r4.core#4.0.1) +export interface Observation extends DomainResource { + resourceType: "Observation"; + + basedOn?: Reference<"CarePlan" | "DeviceRequest" | "ImmunizationRecommendation" | "MedicationRequest" | "NutritionOrder" | "ServiceRequest">[]; + bodySite?: CodeableConcept; + category?: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; + code: CodeableConcept; + component?: ObservationComponent[]; + dataAbsentReason?: CodeableConcept<("unknown" | "asked-unknown" | "temp-unknown" | "not-asked" | "asked-declined" | "masked" | "not-applicable" | "unsupported" | "as-text" | "error" | "not-a-number" | "negative-infinity" | "positive-infinity" | "not-performed" | "not-permitted" | string)>; + derivedFrom?: Reference<"DocumentReference" | "ImagingStudy" | "Media" | "MolecularSequence" | "Observation" | "QuestionnaireResponse">[]; + device?: Reference<"Device" | "DeviceMetric">; + effectiveDateTime?: string; + _effectiveDateTime?: Element; + effectiveInstant?: string; + _effectiveInstant?: Element; + effectivePeriod?: Period; + effectiveTiming?: Timing; + encounter?: Reference<"Encounter">; + focus?: Reference<"Resource">[]; + hasMember?: Reference<"MolecularSequence" | "Observation" | "QuestionnaireResponse">[]; + identifier?: Identifier[]; + interpretation?: CodeableConcept<("_GeneticObservationInterpretation" | "CAR" | "Carrier" | "_ObservationInterpretationChange" | "B" | "D" | "U" | "W" | "_ObservationInterpretationExceptions" | "<" | ">" | "AC" | "IE" | "QCF" | "TOX" | "_ObservationInterpretationNormality" | "A" | "AA" | "HH" | "LL" | "H" | "H>" | "HU" | "L" | "L<" | "LU" | "N" | "_ObservationInterpretationSusceptibility" | "I" | "MS" | "NCL" | "NS" | "R" | "SYN-R" | "S" | "SDD" | "SYN-S" | "VS" | "EX" | "HX" | "LX" | "HM" | "ObservationInterpretationDetection" | "IND" | "E" | "NEG" | "ND" | "POS" | "DET" | "ObservationInterpretationExpectation" | "EXP" | "UNE" | "OBX" | "ReactivityObservationInterpretation" | "NR" | "RR" | "WR" | string)>[]; + issued?: string; + _issued?: Element; + method?: CodeableConcept; + note?: Annotation[]; + partOf?: Reference<"ImagingStudy" | "Immunization" | "MedicationAdministration" | "MedicationDispense" | "MedicationStatement" | "Procedure">[]; + performer?: Reference<"CareTeam" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">[]; + referenceRange?: ObservationReferenceRange[]; + specimen?: Reference<"Specimen">; + status: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown"); + _status?: Element; + subject?: Reference<"Device" | "Group" | "Location" | "Patient">; + valueBoolean?: boolean; + _valueBoolean?: Element; + valueCodeableConcept?: CodeableConcept; + valueDateTime?: string; + _valueDateTime?: Element; + valueInteger?: number; + _valueInteger?: Element; + valuePeriod?: Period; + valueQuantity?: Quantity; + valueRange?: Range; + valueRatio?: Ratio; + valueSampledData?: SampledData; + valueString?: string; + _valueString?: Element; + valueTime?: string; + _valueTime?: Element; +} +export const isObservation = (resource: unknown): resource is Observation => { + return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Observation"; +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/OperationOutcome.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/OperationOutcome.ts new file mode 100644 index 0000000..4d1f622 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/OperationOutcome.ts @@ -0,0 +1,29 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; +import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; +import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; + +export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; +export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; + +export interface OperationOutcomeIssue extends BackboneElement { + code: ("invalid" | "structure" | "required" | "value" | "invariant" | "security" | "login" | "unknown" | "expired" | "forbidden" | "suppressed" | "processing" | "not-supported" | "duplicate" | "multiple-matches" | "not-found" | "deleted" | "too-long" | "code-invalid" | "extension" | "too-costly" | "business-rule" | "conflict" | "transient" | "lock-error" | "no-store" | "exception" | "timeout" | "incomplete" | "throttled" | "informational"); + details?: CodeableConcept; + diagnostics?: string; + expression?: string[]; + location?: string[]; + severity: ("fatal" | "error" | "warning" | "information"); +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/OperationOutcome (pkg: hl7.fhir.r4.core#4.0.1) +export interface OperationOutcome extends DomainResource { + resourceType: "OperationOutcome"; + + issue: OperationOutcomeIssue[]; +} +export const isOperationOutcome = (resource: unknown): resource is OperationOutcome => { + return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "OperationOutcome"; +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/ParameterDefinition.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/ParameterDefinition.ts new file mode 100644 index 0000000..7b2b263 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/ParameterDefinition.ts @@ -0,0 +1,25 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Element } from "../hl7-fhir-r4-core/Element"; + +export type { Element } from "../hl7-fhir-r4-core/Element"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/ParameterDefinition (pkg: hl7.fhir.r4.core#4.0.1) +export interface ParameterDefinition extends Element { + documentation?: string; + _documentation?: Element; + max?: string; + _max?: Element; + min?: number; + _min?: Element; + name?: string; + _name?: Element; + profile?: string; + _profile?: Element; + type: string; + _type?: Element; + use: ("in" | "out"); + _use?: Element; +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Patient.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Patient.ts new file mode 100644 index 0000000..05802a8 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Patient.ts @@ -0,0 +1,79 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Address } from "../hl7-fhir-r4-core/Address"; +import type { Attachment } from "../hl7-fhir-r4-core/Attachment"; +import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; +import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; +import type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; +import type { DomainResource } from "../hl7-fhir-r4-core/DomainResource"; +import type { HumanName } from "../hl7-fhir-r4-core/HumanName"; +import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; +import type { Period } from "../hl7-fhir-r4-core/Period"; +import type { Reference } from "../hl7-fhir-r4-core/Reference"; + +import type { Element } from "../hl7-fhir-r4-core/Element"; +export type { Address } from "../hl7-fhir-r4-core/Address"; +export type { Attachment } from "../hl7-fhir-r4-core/Attachment"; +export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; +export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; +export type { ContactPoint } from "../hl7-fhir-r4-core/ContactPoint"; +export type { HumanName } from "../hl7-fhir-r4-core/HumanName"; +export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; +export type { Period } from "../hl7-fhir-r4-core/Period"; +export type { Reference } from "../hl7-fhir-r4-core/Reference"; + +export interface PatientCommunication extends BackboneElement { + language: CodeableConcept<("ar" | "bn" | "cs" | "da" | "de" | "de-AT" | "de-CH" | "de-DE" | "el" | "en" | "en-AU" | "en-CA" | "en-GB" | "en-IN" | "en-NZ" | "en-SG" | "en-US" | "es" | "es-AR" | "es-ES" | "es-UY" | "fi" | "fr" | "fr-BE" | "fr-CH" | "fr-FR" | "fy" | "fy-NL" | "hi" | "hr" | "it" | "it-CH" | "it-IT" | "ja" | "ko" | "nl" | "nl-BE" | "nl-NL" | "no" | "no-NO" | "pa" | "pl" | "pt" | "pt-BR" | "ru" | "ru-RU" | "sr" | "sr-RS" | "sv" | "sv-SE" | "te" | "zh" | "zh-CN" | "zh-HK" | "zh-SG" | "zh-TW" | string)>; + preferred?: boolean; +} + +export interface PatientContact extends BackboneElement { + address?: Address; + gender?: ("male" | "female" | "other" | "unknown"); + name?: HumanName; + organization?: Reference<"Organization">; + period?: Period; + relationship?: CodeableConcept[]; + telecom?: ContactPoint[]; +} + +export interface PatientLink extends BackboneElement { + other: Reference<"Patient" | "RelatedPerson">; + type: ("replaced-by" | "replaces" | "refer" | "seealso"); +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Patient (pkg: hl7.fhir.r4.core#4.0.1) +export interface Patient extends DomainResource { + resourceType: "Patient"; + + active?: boolean; + _active?: Element; + address?: Address[]; + birthDate?: string; + _birthDate?: Element; + communication?: PatientCommunication[]; + contact?: PatientContact[]; + deceasedBoolean?: boolean; + _deceasedBoolean?: Element; + deceasedDateTime?: string; + _deceasedDateTime?: Element; + gender?: ("male" | "female" | "other" | "unknown"); + _gender?: Element; + generalPractitioner?: Reference<"Organization" | "Practitioner" | "PractitionerRole">[]; + identifier?: Identifier[]; + link?: PatientLink[]; + managingOrganization?: Reference<"Organization">; + maritalStatus?: CodeableConcept<("A" | "D" | "I" | "L" | "M" | "P" | "S" | "T" | "U" | "W" | "UNK" | string)>; + multipleBirthBoolean?: boolean; + _multipleBirthBoolean?: Element; + multipleBirthInteger?: number; + _multipleBirthInteger?: Element; + name?: HumanName[]; + photo?: Attachment[]; + telecom?: ContactPoint[]; +} +export const isPatient = (resource: unknown): resource is Patient => { + return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Patient"; +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Period.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Period.ts new file mode 100644 index 0000000..5a87c3f --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Period.ts @@ -0,0 +1,15 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Element } from "../hl7-fhir-r4-core/Element"; + +export type { Element } from "../hl7-fhir-r4-core/Element"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Period (pkg: hl7.fhir.r4.core#4.0.1) +export interface Period extends Element { + end?: string; + _end?: Element; + start?: string; + _start?: Element; +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Quantity.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Quantity.ts new file mode 100644 index 0000000..d7724c4 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Quantity.ts @@ -0,0 +1,21 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Element } from "../hl7-fhir-r4-core/Element"; + +export type { Element } from "../hl7-fhir-r4-core/Element"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Quantity (pkg: hl7.fhir.r4.core#4.0.1) +export interface Quantity extends Element { + code?: string; + _code?: Element; + comparator?: ("<" | "<=" | ">=" | ">"); + _comparator?: Element; + system?: string; + _system?: Element; + unit?: string; + _unit?: Element; + value?: number; + _value?: Element; +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Range.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Range.ts new file mode 100644 index 0000000..770d611 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Range.ts @@ -0,0 +1,15 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Element } from "../hl7-fhir-r4-core/Element"; +import type { Quantity } from "../hl7-fhir-r4-core/Quantity"; + +export type { Element } from "../hl7-fhir-r4-core/Element"; +export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Range (pkg: hl7.fhir.r4.core#4.0.1) +export interface Range extends Element { + high?: Quantity; + low?: Quantity; +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Ratio.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Ratio.ts new file mode 100644 index 0000000..a7b6611 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Ratio.ts @@ -0,0 +1,15 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Element } from "../hl7-fhir-r4-core/Element"; +import type { Quantity } from "../hl7-fhir-r4-core/Quantity"; + +export type { Element } from "../hl7-fhir-r4-core/Element"; +export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Ratio (pkg: hl7.fhir.r4.core#4.0.1) +export interface Ratio extends Element { + denominator?: Quantity; + numerator?: Quantity; +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Reference.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Reference.ts new file mode 100644 index 0000000..f59d6fe --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Reference.ts @@ -0,0 +1,20 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Element } from "../hl7-fhir-r4-core/Element"; +import type { Identifier } from "../hl7-fhir-r4-core/Identifier"; + +export type { Element } from "../hl7-fhir-r4-core/Element"; +export type { Identifier } from "../hl7-fhir-r4-core/Identifier"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Reference (pkg: hl7.fhir.r4.core#4.0.1) +export interface Reference extends Element { + display?: string; + _display?: Element; + identifier?: Identifier; + reference?: `${T}/${string}`; + _reference?: Element; + type?: string; + _type?: Element; +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/RelatedArtifact.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/RelatedArtifact.ts new file mode 100644 index 0000000..d3fa215 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/RelatedArtifact.ts @@ -0,0 +1,26 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Attachment } from "../hl7-fhir-r4-core/Attachment"; +import type { Element } from "../hl7-fhir-r4-core/Element"; + +export type { Attachment } from "../hl7-fhir-r4-core/Attachment"; +export type { Element } from "../hl7-fhir-r4-core/Element"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/RelatedArtifact (pkg: hl7.fhir.r4.core#4.0.1) +export interface RelatedArtifact extends Element { + citation?: string; + _citation?: Element; + display?: string; + _display?: Element; + document?: Attachment; + label?: string; + _label?: Element; + resource?: string; + _resource?: Element; + type: ("documentation" | "justification" | "citation" | "predecessor" | "successor" | "derived-from" | "depends-on" | "composed-of"); + _type?: Element; + url?: string; + _url?: Element; +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Resource.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Resource.ts new file mode 100644 index 0000000..36e3a3a --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Resource.ts @@ -0,0 +1,24 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Meta } from "../hl7-fhir-r4-core/Meta"; + +import type { Element } from "../hl7-fhir-r4-core/Element"; +export type { Meta } from "../hl7-fhir-r4-core/Meta"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Resource (pkg: hl7.fhir.r4.core#4.0.1) +export interface Resource { + resourceType: "Bundle" | "DomainResource" | "Observation" | "OperationOutcome" | "Patient" | "Resource"; + + id?: string; + _id?: Element; + implicitRules?: string; + _implicitRules?: Element; + language?: ("ar" | "bn" | "cs" | "da" | "de" | "de-AT" | "de-CH" | "de-DE" | "el" | "en" | "en-AU" | "en-CA" | "en-GB" | "en-IN" | "en-NZ" | "en-SG" | "en-US" | "es" | "es-AR" | "es-ES" | "es-UY" | "fi" | "fr" | "fr-BE" | "fr-CH" | "fr-FR" | "fy" | "fy-NL" | "hi" | "hr" | "it" | "it-CH" | "it-IT" | "ja" | "ko" | "nl" | "nl-BE" | "nl-NL" | "no" | "no-NO" | "pa" | "pl" | "pt" | "pt-BR" | "ru" | "ru-RU" | "sr" | "sr-RS" | "sv" | "sv-SE" | "te" | "zh" | "zh-CN" | "zh-HK" | "zh-SG" | "zh-TW" | string); + _language?: Element; + meta?: Meta; +} +export const isResource = (resource: unknown): resource is Resource => { + return resource !== null && typeof resource === "object" && (resource as {resourceType: string}).resourceType === "Resource"; +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/SampledData.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/SampledData.ts new file mode 100644 index 0000000..fdde08b --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/SampledData.ts @@ -0,0 +1,26 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Element } from "../hl7-fhir-r4-core/Element"; +import type { Quantity } from "../hl7-fhir-r4-core/Quantity"; + +export type { Element } from "../hl7-fhir-r4-core/Element"; +export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/SampledData (pkg: hl7.fhir.r4.core#4.0.1) +export interface SampledData extends Element { + data?: string; + _data?: Element; + dimensions: number; + _dimensions?: Element; + factor?: number; + _factor?: Element; + lowerLimit?: number; + _lowerLimit?: Element; + origin: Quantity; + period: number; + _period?: Element; + upperLimit?: number; + _upperLimit?: Element; +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Signature.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Signature.ts new file mode 100644 index 0000000..5a46421 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Signature.ts @@ -0,0 +1,26 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Coding } from "../hl7-fhir-r4-core/Coding"; +import type { Element } from "../hl7-fhir-r4-core/Element"; +import type { Reference } from "../hl7-fhir-r4-core/Reference"; + +export type { Coding } from "../hl7-fhir-r4-core/Coding"; +export type { Element } from "../hl7-fhir-r4-core/Element"; +export type { Reference } from "../hl7-fhir-r4-core/Reference"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Signature (pkg: hl7.fhir.r4.core#4.0.1) +export interface Signature extends Element { + data?: string; + _data?: Element; + onBehalfOf?: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; + sigFormat?: string; + _sigFormat?: Element; + targetFormat?: string; + _targetFormat?: Element; + type: Coding<("1.2.840.10065.1.12.1.1" | "1.2.840.10065.1.12.1.2" | "1.2.840.10065.1.12.1.3" | "1.2.840.10065.1.12.1.4" | "1.2.840.10065.1.12.1.5" | "1.2.840.10065.1.12.1.6" | "1.2.840.10065.1.12.1.7" | "1.2.840.10065.1.12.1.8" | "1.2.840.10065.1.12.1.9" | "1.2.840.10065.1.12.1.10" | "1.2.840.10065.1.12.1.11" | "1.2.840.10065.1.12.1.12" | "1.2.840.10065.1.12.1.13" | "1.2.840.10065.1.12.1.14" | "1.2.840.10065.1.12.1.15" | "1.2.840.10065.1.12.1.16" | "1.2.840.10065.1.12.1.17" | "1.2.840.10065.1.12.1.18" | string)>[]; + when: string; + _when?: Element; + who: Reference<"Device" | "Organization" | "Patient" | "Practitioner" | "PractitionerRole" | "RelatedPerson">; +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Timing.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Timing.ts new file mode 100644 index 0000000..e9d1a3b --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/Timing.ts @@ -0,0 +1,45 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; +import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; +import type { Duration } from "../hl7-fhir-r4-core/Duration"; +import type { Element } from "../hl7-fhir-r4-core/Element"; +import type { Period } from "../hl7-fhir-r4-core/Period"; +import type { Range } from "../hl7-fhir-r4-core/Range"; + +export type { BackboneElement } from "../hl7-fhir-r4-core/BackboneElement"; +export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; +export type { Duration } from "../hl7-fhir-r4-core/Duration"; +export type { Element } from "../hl7-fhir-r4-core/Element"; +export type { Period } from "../hl7-fhir-r4-core/Period"; +export type { Range } from "../hl7-fhir-r4-core/Range"; + +export interface TimingRepeat extends Element { + boundsDuration?: Duration; + boundsPeriod?: Period; + boundsRange?: Range; + count?: number; + countMax?: number; + dayOfWeek?: ("mon" | "tue" | "wed" | "thu" | "fri" | "sat" | "sun")[]; + duration?: number; + durationMax?: number; + durationUnit?: ("s" | "min" | "h" | "d" | "wk" | "mo" | "a"); + frequency?: number; + frequencyMax?: number; + offset?: number; + period?: number; + periodMax?: number; + periodUnit?: ("s" | "min" | "h" | "d" | "wk" | "mo" | "a"); + timeOfDay?: string[]; + when?: ("MORN" | "MORN.early" | "MORN.late" | "NOON" | "AFT" | "AFT.early" | "AFT.late" | "EVE" | "EVE.early" | "EVE.late" | "NIGHT" | "PHS" | "HS" | "WAKE" | "C" | "CM" | "CD" | "CV" | "AC" | "ACM" | "ACD" | "ACV" | "PC" | "PCM" | "PCD" | "PCV")[]; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/Timing (pkg: hl7.fhir.r4.core#4.0.1) +export interface Timing extends BackboneElement { + code?: CodeableConcept<("BID" | "TID" | "QID" | "AM" | "PM" | "QD" | "QOD" | "Q1H" | "Q2H" | "Q3H" | "Q4H" | "Q6H" | "Q8H" | "BED" | "WK" | "MO" | string)>; + event?: string[]; + _event?: Element; + repeat?: Element; +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/TriggerDefinition.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/TriggerDefinition.ts new file mode 100644 index 0000000..293b3b4 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/TriggerDefinition.ts @@ -0,0 +1,31 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { DataRequirement } from "../hl7-fhir-r4-core/DataRequirement"; +import type { Element } from "../hl7-fhir-r4-core/Element"; +import type { Expression } from "../hl7-fhir-r4-core/Expression"; +import type { Reference } from "../hl7-fhir-r4-core/Reference"; +import type { Timing } from "../hl7-fhir-r4-core/Timing"; + +export type { DataRequirement } from "../hl7-fhir-r4-core/DataRequirement"; +export type { Element } from "../hl7-fhir-r4-core/Element"; +export type { Expression } from "../hl7-fhir-r4-core/Expression"; +export type { Reference } from "../hl7-fhir-r4-core/Reference"; +export type { Timing } from "../hl7-fhir-r4-core/Timing"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/TriggerDefinition (pkg: hl7.fhir.r4.core#4.0.1) +export interface TriggerDefinition extends Element { + condition?: Expression; + data?: DataRequirement[]; + name?: string; + _name?: Element; + timingDate?: string; + _timingDate?: Element; + timingDateTime?: string; + _timingDateTime?: Element; + timingReference?: Reference<"Schedule">; + timingTiming?: Timing; + type: ("named-event" | "periodic" | "data-changed" | "data-added" | "data-modified" | "data-removed" | "data-accessed" | "data-access-ended"); + _type?: Element; +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/UsageContext.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/UsageContext.ts new file mode 100644 index 0000000..1969171 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/UsageContext.ts @@ -0,0 +1,26 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; +import type { Coding } from "../hl7-fhir-r4-core/Coding"; +import type { Element } from "../hl7-fhir-r4-core/Element"; +import type { Quantity } from "../hl7-fhir-r4-core/Quantity"; +import type { Range } from "../hl7-fhir-r4-core/Range"; +import type { Reference } from "../hl7-fhir-r4-core/Reference"; + +export type { CodeableConcept } from "../hl7-fhir-r4-core/CodeableConcept"; +export type { Coding } from "../hl7-fhir-r4-core/Coding"; +export type { Element } from "../hl7-fhir-r4-core/Element"; +export type { Quantity } from "../hl7-fhir-r4-core/Quantity"; +export type { Range } from "../hl7-fhir-r4-core/Range"; +export type { Reference } from "../hl7-fhir-r4-core/Reference"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/UsageContext (pkg: hl7.fhir.r4.core#4.0.1) +export interface UsageContext extends Element { + code: Coding<("gender" | "age" | "focus" | "user" | "workflow" | "task" | "venue" | "species" | "program" | string)>; + valueCodeableConcept?: CodeableConcept; + valueQuantity?: Quantity; + valueRange?: Range; + valueReference?: Reference<"Group" | "HealthcareService" | "InsurancePlan" | "Location" | "Organization" | "PlanDefinition" | "ResearchStudy">; +} diff --git a/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/index.ts b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/index.ts new file mode 100644 index 0000000..d5e3283 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/fhir-types/hl7-fhir-r4-core/index.ts @@ -0,0 +1,47 @@ +export type { Address } from "./Address"; +export type { Age } from "./Age"; +export type { Annotation } from "./Annotation"; +export type { Attachment } from "./Attachment"; +export type { BackboneElement } from "./BackboneElement"; +export type { Bundle, BundleEntry, BundleEntryRequest, BundleEntryResponse, BundleEntrySearch, BundleLink } from "./Bundle"; +export { isBundle } from "./Bundle"; +export type { CodeableConcept } from "./CodeableConcept"; +export type { Coding } from "./Coding"; +export type { ContactDetail } from "./ContactDetail"; +export type { ContactPoint } from "./ContactPoint"; +export type { Contributor } from "./Contributor"; +export type { Count } from "./Count"; +export type { DataRequirement } from "./DataRequirement"; +export type { Distance } from "./Distance"; +export type { DomainResource } from "./DomainResource"; +export { isDomainResource } from "./DomainResource"; +export type { Dosage } from "./Dosage"; +export type { Duration } from "./Duration"; +export type { Element } from "./Element"; +export type { Expression } from "./Expression"; +export type { Extension } from "./Extension"; +export type { HumanName } from "./HumanName"; +export type { Identifier } from "./Identifier"; +export type { Meta } from "./Meta"; +export type { Money } from "./Money"; +export type { Narrative } from "./Narrative"; +export type { Observation, ObservationComponent, ObservationReferenceRange } from "./Observation"; +export { isObservation } from "./Observation"; +export type { OperationOutcome, OperationOutcomeIssue } from "./OperationOutcome"; +export { isOperationOutcome } from "./OperationOutcome"; +export type { ParameterDefinition } from "./ParameterDefinition"; +export type { Patient, PatientCommunication, PatientContact, PatientLink } from "./Patient"; +export { isPatient } from "./Patient"; +export type { Period } from "./Period"; +export type { Quantity } from "./Quantity"; +export type { Range } from "./Range"; +export type { Ratio } from "./Ratio"; +export type { Reference } from "./Reference"; +export type { RelatedArtifact } from "./RelatedArtifact"; +export type { Resource } from "./Resource"; +export { isResource } from "./Resource"; +export type { SampledData } from "./SampledData"; +export type { Signature } from "./Signature"; +export type { Timing } from "./Timing"; +export type { TriggerDefinition } from "./TriggerDefinition"; +export type { UsageContext } from "./UsageContext"; diff --git a/developer-experience/agentic-coding-dashboard/src/index.ts b/developer-experience/agentic-coding-dashboard/src/index.ts new file mode 100644 index 0000000..e5e0c7f --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/src/index.ts @@ -0,0 +1,332 @@ +import { SQL } from "bun"; +import { aidbox } from "./aidbox"; +import type { Patient } from "./fhir-types/hl7-fhir-r4-core/Patient"; +import type { Observation } from "./fhir-types/hl7-fhir-r4-core/Observation"; +import type { Bundle } from "./fhir-types/hl7-fhir-r4-core/Bundle"; + +const db = new SQL({ + url: "postgresql://aidbox:KYRMNQSitF@localhost:5432/aidbox", +}); + +let chartIdCounter = 0; + +interface BodyWeightRow { + effective_date: string; + weight_kg: number; + unit: string; +} + +function formatPatientName(patient: Patient): string { + const name = patient.name?.[0]; + if (!name) return "Unknown"; + const given = name.given?.join(" ") ?? ""; + const family = name.family ?? ""; + return `${given} ${family}`.trim() || "Unknown"; +} + +function formatObservationValue(obs: Observation): string { + if (obs.valueQuantity) { + return `${obs.valueQuantity.value ?? ""} ${obs.valueQuantity.unit ?? ""}`.trim(); + } + if (obs.valueString) return obs.valueString; + if (obs.valueCodeableConcept) { + return obs.valueCodeableConcept.coding?.[0]?.display ?? obs.valueCodeableConcept.text ?? ""; + } + if (obs.valueBoolean !== undefined) return String(obs.valueBoolean); + if (obs.valueInteger !== undefined) return String(obs.valueInteger); + if (obs.valueDateTime) return obs.valueDateTime; + return "-"; +} + +function Layout({ title, children }: { title: string; children: string }) { + return ` + + + + + ${title} + + + + +
+ ${children} +
+ +`; +} + +function PatientList({ patients }: { patients: Patient[] }) { + if (patients.length === 0) { + return `
No patients found
`; + } + + const rows = patients + .map((p) => { + const name = formatPatientName(p); + const genderClass = p.gender === "male" ? "badge-male" : p.gender === "female" ? "badge-female" : "badge-other"; + return ` + ${name} + ${p.gender ?? "unknown"} + ${p.birthDate ?? "-"} + ${p.id ?? ""} + `; + }) + .join(""); + + return `
+ + + + + + + + + + ${rows} +
NameGenderBirth DateID
+
`; +} + +function ObservationTable({ observations }: { observations: Observation[] }) { + if (observations.length === 0) { + return `
No observations found for this patient
`; + } + + const rows = observations + .map((obs) => { + const code = obs.code?.coding?.[0]?.display ?? obs.code?.text ?? "-"; + const value = formatObservationValue(obs); + const status = obs.status; + const statusClass = + status === "final" ? "status-final" : + status === "preliminary" ? "status-preliminary" : + status === "registered" ? "status-registered" : + status === "amended" ? "status-amended" : "status-other"; + const date = obs.effectiveDateTime ?? obs.effectivePeriod?.start ?? "-"; + return ` + ${code} + ${value} + ${status} + ${date} + `; + }) + .join(""); + + return `
+ + + + + + + + + + ${rows} +
CodeValueStatusDate
+
`; +} + +function BodyWeightChart({ data }: { data: BodyWeightRow[] }) { + if (data.length === 0) { + return `
No body weight data found
`; + } + + const chartId = `body-weight-chart-${++chartIdCounter}`; + const labels = JSON.stringify(data.map((d) => d.effective_date)); + const values = JSON.stringify(data.map((d) => d.weight_kg)); + const unit = data[0].unit ?? "kg"; + + return `
+ + +
`; +} + +function html(body: string): Response { + return new Response(body, { + headers: { "content-type": "text/html; charset=utf-8" }, + }); +} + +const patientDetailPattern = new URLPattern({ pathname: "/patients/:id" }); + +async function handleIndex(): Promise { + const result = await aidbox.searchType({ + type: "Patient", + query: [["_count", "50"], ["_sort", "-_lastUpdated"]], + }); + + let patients: Patient[] = []; + if (result.isOk()) { + const bundle = result.value.resource as Bundle; + patients = (bundle.entry ?? []) + .map((e) => e.resource as Patient) + .filter(Boolean); + } + + return html(Layout({ + title: "Patients", + children: ` +

Patients

+ ${PatientList({ patients })} + `, + })); +} + +async function handlePatientDetail(id: string): Promise { + const patientResult = await aidbox.read({ + type: "Patient", + id, + }); + + if (patientResult.isErr()) { + return html(Layout({ + title: "Patient Not Found", + children: ` + +
Patient not found
+ `, + })); + } + + const patient = patientResult.value.resource; + const name = formatPatientName(patient); + + const obsResult = await aidbox.searchType({ + type: "Observation", + query: [ + ["subject", `Patient/${id}`], + ["_count", "10"], + ["_sort", "-date"], + ], + }); + + let observations: Observation[] = []; + if (obsResult.isOk()) { + const bundle = obsResult.value.resource as Bundle; + observations = (bundle.entry ?? []) + .map((e) => e.resource as Observation) + .filter(Boolean); + } + + const genderClass = patient.gender === "male" ? "badge-male" : patient.gender === "female" ? "badge-female" : "badge-other"; + + const bodyWeightData = await db.unsafe( + `SELECT effective_date, weight_kg, unit FROM sof.body_weight WHERE patient_id = $1 ORDER BY effective_date`, + [id], + ) as unknown as BodyWeightRow[]; + + return html(Layout({ + title: `Patient: ${name}`, + children: ` + +

${name}

+
+
+
ID
+
${patient.id ?? "-"}
+
Gender
+
${patient.gender ?? "unknown"}
+
Birth Date
+
${patient.birthDate ?? "-"}
+
Active
+
${patient.active !== undefined ? String(patient.active) : "-"}
+
Phone
+
${patient.telecom?.find((t) => t.system === "phone")?.value ?? "-"}
+
Email
+
${patient.telecom?.find((t) => t.system === "email")?.value ?? "-"}
+
+
+

Body Weight Over Time

+ ${BodyWeightChart({ data: bodyWeightData })} +

Observations (latest 10)

+ ${ObservationTable({ observations })} + `, + })); +} + +const server = Bun.serve({ + port: 3000, + async fetch(req) { + const url = new URL(req.url); + + if (url.pathname === "/") { + return handleIndex(); + } + + const match = patientDetailPattern.exec(req.url); + if (match) { + return handlePatientDetail(match.pathname.groups.id!); + } + + return new Response("Not Found", { status: 404 }); + }, +}); + +console.log(`Dashboard running at http://localhost:${server.port}`); diff --git a/developer-experience/agentic-coding-dashboard/tsconfig.json b/developer-experience/agentic-coding-dashboard/tsconfig.json new file mode 100644 index 0000000..b021222 --- /dev/null +++ b/developer-experience/agentic-coding-dashboard/tsconfig.json @@ -0,0 +1,14 @@ +{ + "compilerOptions": { + "target": "ESNext", + "module": "ESNext", + "moduleResolution": "bundler", + "strict": true, + "esModuleInterop": true, + "skipLibCheck": true, + "outDir": "dist", + "rootDir": ".", + "types": ["bun"] + }, + "include": ["src/**/*.ts", "scripts/**/*.ts"] +}