healthcloud-cli 3.17.2__tar.gz → 3.18.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/PKG-INFO +15 -7
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/README.md +13 -5
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/pretty.py +14 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/sessions/commands.py +34 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/sessions/group.py +2 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/sessions/operations.py +133 -2
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/sessions/projections.py +2 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/contracts/openapi/appointments.openapi.json +69 -5
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/contracts/openapi/patient.openapi.json +217 -278
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/contracts/openapi/provider.openapi.json +1647 -207
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/contracts/openapi/telehealth.openapi.json +7 -5
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/pyproject.toml +2 -2
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/.gitignore +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/hatch_build.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/__init__.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/admins/__init__.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/admins/commands.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/admins/group.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/admins/operations.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/__init__.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/actions/__init__.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/actions/commands.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/actions/group.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/actions/operations.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/actions/projections.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/agent_files/__init__.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/agent_files/commands.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/agent_files/group.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/agent_files/operations.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/agent_files/projections.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/agent_logs/__init__.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/agent_logs/commands.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/agent_logs/group.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/agent_logs/operations.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/agent_logs/projections.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/agents/__init__.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/agents/commands.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/agents/group.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/agents/operations.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/agents/projections.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/audit/__init__.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/audit/commands.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/audit/operations.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/audit/projections.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/auth.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/chat.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/chat_render.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/chat_session.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/chat_terminal.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/commands.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/compatibility.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/context.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/dashboard/__init__.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/dashboard/commands.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/dashboard/operations.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/dashboard/projections.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/data_sources/__init__.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/data_sources/commands.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/data_sources/group.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/data_sources/operations.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/data_sources/projections.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/departments/__init__.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/departments/commands.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/departments/group.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/departments/operations.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/departments/projections.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/domain_errors.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/endpoint.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/errors.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/group.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/guardrails/__init__.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/guardrails/commands.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/guardrails/group.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/guardrails/operations.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/guardrails/projections.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/health_services/__init__.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/health_services/commands.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/health_services/group.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/health_services/operations.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/health_services/projections.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/operations/__init__.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/operations/commands.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/operations/group.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/operations/operations.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/operations/projections.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/organization/__init__.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/organization/commands.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/organization/group.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/organization/operations.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/organization/projections.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/output.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/paging.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/policies/__init__.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/policies/commands.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/policies/group.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/policies/operations.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/policies/projections.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/registry.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/results.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/review.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/runs/__init__.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/runs/commands.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/runs/group.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/runs/operations.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/runs/projections.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/schedules/__init__.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/schedules/commands.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/schedules/cron.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/schedules/group.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/schedules/operations.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/schedules/projections.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/session.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/sessions/__init__.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/skills/__init__.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/skills/commands.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/skills/group.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/skills/operations.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/skills/projections.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/target.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/teams/__init__.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/teams/commands.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/teams/group.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/teams/operations.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/teams/projections.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/tools/__init__.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/tools/commands.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/tools/group.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/tools/operations.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/tools/projections.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/tuning.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/ui.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/usage/__init__.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/usage/commands.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/usage/group.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/usage/operations.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/usage/projections.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/windows_files.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/cli.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/context.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/contracts/__init__.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/contracts/openapi/connectors.openapi.json +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/contracts/openapi/diagnostics.openapi.json +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/contracts/openapi/ehr.openapi.json +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/contracts/openapi/fieldagent.openapi.json +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/contracts/openapi/graph.openapi.json +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/contracts/openapi/mcp.openapi.json +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/contracts/openapi/ori.openapi.json +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/contracts/openapi/person.openapi.json +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/contracts/openapi/rppg.openapi.json +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/contracts/openapi/session.openapi.json +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/contracts/openapi/tenantadmin.openapi.json +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/contracts/openapi/vitals.openapi.json +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/main.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/openapi.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/output.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/params.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/tenants/__init__.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/tenants/commands.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/tenants/group.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/tenants/operations.py +0 -0
- {healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/util.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: healthcloud-cli
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.18.0
|
|
4
4
|
Summary: HealthCloud MCP command-line interface with commands generated from Services OpenAPI.
|
|
5
5
|
Project-URL: Issues, https://github.com/healthcloudservices/healthcloud-services/issues
|
|
6
6
|
Project-URL: Repository, https://github.com/healthcloudservices/healthcloud-services
|
|
@@ -9,7 +9,7 @@ License-Expression: MIT
|
|
|
9
9
|
Keywords: cli,health-cloud,healthcare,healthcloud,mcp
|
|
10
10
|
Requires-Python: >=3.14
|
|
11
11
|
Requires-Dist: click>=8.1
|
|
12
|
-
Requires-Dist: healthcloud-sdk>=
|
|
12
|
+
Requires-Dist: healthcloud-sdk>=5.8.0
|
|
13
13
|
Requires-Dist: healthcloud-tenantadmin>=1.1.1
|
|
14
14
|
Requires-Dist: prompt-toolkit>=3.0.52
|
|
15
15
|
Provides-Extra: dev
|
|
@@ -1551,11 +1551,11 @@ uv run --frozen hc ams sessions attachments delete --environment dev --tenant-id
|
|
|
1551
1551
|
`files`/`data` for them and every existing JSON caller's wire bytes are
|
|
1552
1552
|
unchanged.
|
|
1553
1553
|
|
|
1554
|
-
Exact create/configure plans
|
|
1555
|
-
|
|
1556
|
-
read-only reconciliation. There is no approval receipt and no direct agent write:
|
|
1554
|
+
Exact create/configure plans support read-only discovery, two review commands,
|
|
1555
|
+
one send-once apply, one send-once rollback and read-only reconciliation. There is no approval receipt and no direct agent write:
|
|
1557
1556
|
|
|
1558
1557
|
```bash
|
|
1558
|
+
uv run --frozen hc ams sessions plans list --environment dev --tenant-id TENANT_ID --session-id SESSION_ID [--limit 1-100] [--before-plan-id PLAN_ID] [--idempotency-key KEY]
|
|
1559
1559
|
uv run --frozen hc ams sessions plans generate --environment dev --tenant-id TENANT_ID --session-id SESSION_ID [--operation modify|create] [--agent-type Application|Utility] [--prompt-file PATH] [--idempotency-key KEY] --out PATH
|
|
1560
1560
|
uv run --frozen hc ams sessions plans get --environment dev --tenant-id TENANT_ID --plan-id PLAN_ID --out PATH
|
|
1561
1561
|
uv run --frozen hc ams sessions plans apply --environment dev --tenant-id TENANT_ID --plan-id PLAN_ID --confirm-hash 64_HEX_PLAN_HASH [--expected-config-version N] --confirm
|
|
@@ -1563,6 +1563,13 @@ uv run --frozen hc ams sessions plans rollback --environment dev --tenant-id TEN
|
|
|
1563
1563
|
uv run --frozen hc ams sessions plans reconcile --environment dev --tenant-id TENANT_ID --plan-id PLAN_ID
|
|
1564
1564
|
```
|
|
1565
1565
|
|
|
1566
|
+
- `list` sends one read-only `GET /vibecoder/sessions/SESSION_ID/plans`. It
|
|
1567
|
+
returns only stored-plan metadata and never invokes the planner. Follow
|
|
1568
|
+
`data.page.next_before_plan_id` explicitly for older results, or filter by
|
|
1569
|
+
the original generation idempotency key. Then select an explicit plan ID
|
|
1570
|
+
for `plans get --out PATH`; no latest plan is selected or applied for you.
|
|
1571
|
+
Empty results do not prove that an uncertain generation failed or is safe
|
|
1572
|
+
to replay. The backend discovery endpoint and SDK 5.8.0 or newer are required.
|
|
1566
1573
|
- `generate` sends exactly one `POST /vibecoder/sessions/SESSION_ID/plan` with
|
|
1567
1574
|
the explicit session ID; it makes no preflight read and no other request, no
|
|
1568
1575
|
message write, no `PUT` and no apply. The server runs the planner once. It
|
|
@@ -1666,8 +1673,9 @@ uv run --frozen hc ams sessions plans reconcile --environment dev --tenant-id TE
|
|
|
1666
1673
|
and blocking review findings, so it is reported by category only and you read
|
|
1667
1674
|
it in the AMS console. A dropped connection on `generate` reports one `transport`
|
|
1668
1675
|
error saying the plan's outcome is unknown and points at
|
|
1669
|
-
`hc ams sessions
|
|
1670
|
-
|
|
1676
|
+
`hc ams sessions plans list --session-id SESSION_ID`, followed by an exact
|
|
1677
|
+
`plans get` review. Empty discovery results do not authorize replay; the
|
|
1678
|
+
request is never re-sent automatically.
|
|
1671
1679
|
- Both commands refuse target files, root credentials or base URLs, raw output,
|
|
1672
1680
|
blank or dot-segment session and plan IDs, a prompt file that is not a
|
|
1673
1681
|
readable owner-only regular file, and installed SDKs without the plan
|
|
@@ -1532,11 +1532,11 @@ uv run --frozen hc ams sessions attachments delete --environment dev --tenant-id
|
|
|
1532
1532
|
`files`/`data` for them and every existing JSON caller's wire bytes are
|
|
1533
1533
|
unchanged.
|
|
1534
1534
|
|
|
1535
|
-
Exact create/configure plans
|
|
1536
|
-
|
|
1537
|
-
read-only reconciliation. There is no approval receipt and no direct agent write:
|
|
1535
|
+
Exact create/configure plans support read-only discovery, two review commands,
|
|
1536
|
+
one send-once apply, one send-once rollback and read-only reconciliation. There is no approval receipt and no direct agent write:
|
|
1538
1537
|
|
|
1539
1538
|
```bash
|
|
1539
|
+
uv run --frozen hc ams sessions plans list --environment dev --tenant-id TENANT_ID --session-id SESSION_ID [--limit 1-100] [--before-plan-id PLAN_ID] [--idempotency-key KEY]
|
|
1540
1540
|
uv run --frozen hc ams sessions plans generate --environment dev --tenant-id TENANT_ID --session-id SESSION_ID [--operation modify|create] [--agent-type Application|Utility] [--prompt-file PATH] [--idempotency-key KEY] --out PATH
|
|
1541
1541
|
uv run --frozen hc ams sessions plans get --environment dev --tenant-id TENANT_ID --plan-id PLAN_ID --out PATH
|
|
1542
1542
|
uv run --frozen hc ams sessions plans apply --environment dev --tenant-id TENANT_ID --plan-id PLAN_ID --confirm-hash 64_HEX_PLAN_HASH [--expected-config-version N] --confirm
|
|
@@ -1544,6 +1544,13 @@ uv run --frozen hc ams sessions plans rollback --environment dev --tenant-id TEN
|
|
|
1544
1544
|
uv run --frozen hc ams sessions plans reconcile --environment dev --tenant-id TENANT_ID --plan-id PLAN_ID
|
|
1545
1545
|
```
|
|
1546
1546
|
|
|
1547
|
+
- `list` sends one read-only `GET /vibecoder/sessions/SESSION_ID/plans`. It
|
|
1548
|
+
returns only stored-plan metadata and never invokes the planner. Follow
|
|
1549
|
+
`data.page.next_before_plan_id` explicitly for older results, or filter by
|
|
1550
|
+
the original generation idempotency key. Then select an explicit plan ID
|
|
1551
|
+
for `plans get --out PATH`; no latest plan is selected or applied for you.
|
|
1552
|
+
Empty results do not prove that an uncertain generation failed or is safe
|
|
1553
|
+
to replay. The backend discovery endpoint and SDK 5.8.0 or newer are required.
|
|
1547
1554
|
- `generate` sends exactly one `POST /vibecoder/sessions/SESSION_ID/plan` with
|
|
1548
1555
|
the explicit session ID; it makes no preflight read and no other request, no
|
|
1549
1556
|
message write, no `PUT` and no apply. The server runs the planner once. It
|
|
@@ -1647,8 +1654,9 @@ uv run --frozen hc ams sessions plans reconcile --environment dev --tenant-id TE
|
|
|
1647
1654
|
and blocking review findings, so it is reported by category only and you read
|
|
1648
1655
|
it in the AMS console. A dropped connection on `generate` reports one `transport`
|
|
1649
1656
|
error saying the plan's outcome is unknown and points at
|
|
1650
|
-
`hc ams sessions
|
|
1651
|
-
|
|
1657
|
+
`hc ams sessions plans list --session-id SESSION_ID`, followed by an exact
|
|
1658
|
+
`plans get` review. Empty discovery results do not authorize replay; the
|
|
1659
|
+
request is never re-sent automatically.
|
|
1652
1660
|
- Both commands refuse target files, root credentials or base URLs, raw output,
|
|
1653
1661
|
blank or dot-segment session and plan IDs, a prompt file that is not a
|
|
1654
1662
|
readable owner-only regular file, and installed SDKs without the plan
|
|
@@ -382,6 +382,20 @@ def success_text(envelope: dict) -> str:
|
|
|
382
382
|
data = envelope.get("data")
|
|
383
383
|
if not isinstance(data, dict) or not data:
|
|
384
384
|
return json.dumps(data, sort_keys=True, separators=(",", ":"), ensure_ascii=True)
|
|
385
|
+
if envelope.get("operation") == "sessions.plans.list":
|
|
386
|
+
rows = data.get("plans")
|
|
387
|
+
page = data.get("page")
|
|
388
|
+
if isinstance(rows, list) and isinstance(page, dict):
|
|
389
|
+
lines = (
|
|
390
|
+
_columns_table_lines(rows, ("id", "status", "operation", "created_at"))
|
|
391
|
+
if rows
|
|
392
|
+
else ["(no stored plans)"]
|
|
393
|
+
)
|
|
394
|
+
cursor = page.get("next_before_plan_id")
|
|
395
|
+
if cursor is not None:
|
|
396
|
+
lines.append(f"Next page: --before-plan-id {_text(cursor)}")
|
|
397
|
+
lines.extend(["", _text(data.get("recovery_note", ""))])
|
|
398
|
+
return "\n".join(lines)
|
|
385
399
|
schedule_list = _schedule_list_block(data)
|
|
386
400
|
if schedule_list is not None:
|
|
387
401
|
rows, disclosure = schedule_list
|
|
@@ -22,6 +22,7 @@ from .operations import (
|
|
|
22
22
|
get_session,
|
|
23
23
|
list_attachments,
|
|
24
24
|
list_messages,
|
|
25
|
+
list_plans,
|
|
25
26
|
list_sessions,
|
|
26
27
|
reconcile_plan,
|
|
27
28
|
rollback_plan,
|
|
@@ -220,6 +221,39 @@ def create_attachments_delete_command(dependencies: AmsDependencies) -> click.Co
|
|
|
220
221
|
return command
|
|
221
222
|
|
|
222
223
|
|
|
224
|
+
def create_plans_list_command(dependencies: AmsDependencies) -> click.Command:
|
|
225
|
+
@click.command(
|
|
226
|
+
"list", help="Discover owned stored plan IDs read-only after an uncertain generation; never replays it."
|
|
227
|
+
)
|
|
228
|
+
@_environment
|
|
229
|
+
@_tenant
|
|
230
|
+
@click.option("--session-id", required=True)
|
|
231
|
+
@click.option("--limit", type=click.IntRange(1, 100), default=None, help="Page size (server default 50).")
|
|
232
|
+
@click.option("--before-plan-id", default=None, help="Cursor returned by the preceding page.")
|
|
233
|
+
@click.option("--idempotency-key", default=None, help="Original generation key, if supplied (max 128 characters).")
|
|
234
|
+
@pass_ams
|
|
235
|
+
def command(invocation, environment, tenant_id, session_id, limit, before_plan_id, idempotency_key):
|
|
236
|
+
target_data = {"environment": environment, "tenant_id": tenant_id, "session_id": session_id}
|
|
237
|
+
|
|
238
|
+
def execute():
|
|
239
|
+
_idempotency_key(idempotency_key, PlanReviewRefused)
|
|
240
|
+
target = resolve_tenant_target(environment, tenant_id)
|
|
241
|
+
target_data.update(environment=target.environment, tenant_id=target.tenant_id)
|
|
242
|
+
preflight_plans(invocation, target, methods=("list",))
|
|
243
|
+
return list_plans(
|
|
244
|
+
dependencies,
|
|
245
|
+
target,
|
|
246
|
+
session_id,
|
|
247
|
+
limit=limit,
|
|
248
|
+
before_plan_id=before_plan_id,
|
|
249
|
+
idempotency_key=idempotency_key,
|
|
250
|
+
)
|
|
251
|
+
|
|
252
|
+
run_domain("sessions.plans.list", target_data, execute)
|
|
253
|
+
|
|
254
|
+
return command
|
|
255
|
+
|
|
256
|
+
|
|
223
257
|
def create_plans_generate_command(dependencies: AmsDependencies) -> click.Command:
|
|
224
258
|
@click.command(
|
|
225
259
|
"generate",
|
|
@@ -17,6 +17,7 @@ from .commands import (
|
|
|
17
17
|
create_plans_apply_command,
|
|
18
18
|
create_plans_generate_command,
|
|
19
19
|
create_plans_get_command,
|
|
20
|
+
create_plans_list_command,
|
|
20
21
|
create_plans_reconcile_command,
|
|
21
22
|
create_plans_rollback_command,
|
|
22
23
|
)
|
|
@@ -52,6 +53,7 @@ def create_plans_group(dependencies: AmsDependencies) -> click.Group:
|
|
|
52
53
|
"""Review, apply once, roll back and reconcile exact create/configure plans."""
|
|
53
54
|
|
|
54
55
|
for factory in (
|
|
56
|
+
create_plans_list_command,
|
|
55
57
|
create_plans_generate_command,
|
|
56
58
|
create_plans_get_command,
|
|
57
59
|
create_plans_apply_command,
|
{healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/sessions/operations.py
RENAMED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
5
|
import re
|
|
6
|
+
from datetime import datetime
|
|
6
7
|
from pathlib import Path
|
|
7
8
|
|
|
8
9
|
from ..context import AmsDependencies
|
|
@@ -257,6 +258,8 @@ PLAN_DEFINITION_FIELDS = (
|
|
|
257
258
|
"department_id",
|
|
258
259
|
"team_id",
|
|
259
260
|
"instructions",
|
|
261
|
+
"utility_instructions",
|
|
262
|
+
"artifact_kinds",
|
|
260
263
|
"greetings",
|
|
261
264
|
"opening_suggestions",
|
|
262
265
|
"opening_suggestions_options",
|
|
@@ -295,8 +298,10 @@ def _is_attachment_file_action(action) -> bool:
|
|
|
295
298
|
UNKNOWN_PLAN_OUTCOME = (
|
|
296
299
|
"The plan request was sent once and its outcome is now unknown: the transport timed out "
|
|
297
300
|
"or the connection was lost before the server answered, and the planner may have run. "
|
|
298
|
-
"Run `hc ams sessions
|
|
299
|
-
"
|
|
301
|
+
"Run `hc ams sessions plans list --session-id <session-id>` to discover stored plan IDs; "
|
|
302
|
+
"include the original --idempotency-key if supplied. Then use `hc ams sessions plans get` "
|
|
303
|
+
"to review an exact plan. Empty results do not prove generation failed. Do not replay "
|
|
304
|
+
"an uncertain generation request."
|
|
300
305
|
)
|
|
301
306
|
|
|
302
307
|
|
|
@@ -571,6 +576,14 @@ def _create_diff(plan, body: dict) -> dict:
|
|
|
571
576
|
f"Creation plan carries {len(unknown)} agent field(s) this review does not cover. "
|
|
572
577
|
"Field names are not echoed; no review file was written.",
|
|
573
578
|
)
|
|
579
|
+
if (
|
|
580
|
+
"utility_instructions" in agent
|
|
581
|
+
and agent["utility_instructions"] is not None
|
|
582
|
+
and not isinstance(agent["utility_instructions"], str)
|
|
583
|
+
):
|
|
584
|
+
raise PlanReviewRefused("validation", "Creation utility instructions must be text or null; refused.")
|
|
585
|
+
if "artifact_kinds" in agent and not isinstance(agent["artifact_kinds"], dict):
|
|
586
|
+
raise PlanReviewRefused("validation", "Creation artifact metadata must be an object; refused.")
|
|
574
587
|
return {
|
|
575
588
|
"definition": {name: agent[name] for name in PLAN_DEFINITION_FIELDS if name in agent},
|
|
576
589
|
"references": _references(agent),
|
|
@@ -1158,6 +1171,124 @@ def generate_plan(
|
|
|
1158
1171
|
)
|
|
1159
1172
|
|
|
1160
1173
|
|
|
1174
|
+
PLAN_DISCOVERY_NOTE = (
|
|
1175
|
+
"Stored plans only. Empty results do not prove an uncertain generation failed; "
|
|
1176
|
+
"do not replay it. Review an explicit plan ID with sessions plans get before any apply."
|
|
1177
|
+
)
|
|
1178
|
+
PLAN_DISCOVERY_STATUSES = {
|
|
1179
|
+
"proposed",
|
|
1180
|
+
"invalid",
|
|
1181
|
+
"approved",
|
|
1182
|
+
"applied",
|
|
1183
|
+
"publish_failed",
|
|
1184
|
+
"rollback_pending",
|
|
1185
|
+
"rolled_back",
|
|
1186
|
+
"rollback_failed",
|
|
1187
|
+
"rejected",
|
|
1188
|
+
"expired",
|
|
1189
|
+
"answered",
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
|
|
1193
|
+
def list_plans(
|
|
1194
|
+
dependencies: AmsDependencies,
|
|
1195
|
+
target: TenantTarget,
|
|
1196
|
+
session_id: str,
|
|
1197
|
+
*,
|
|
1198
|
+
limit: int | None = None,
|
|
1199
|
+
before_plan_id: str | None = None,
|
|
1200
|
+
idempotency_key: str | None = None,
|
|
1201
|
+
) -> dict:
|
|
1202
|
+
"""One bounded metadata GET; never select, regenerate, apply or reconcile."""
|
|
1203
|
+
from healthcloud.errors import HealthCloudHTTPError, HealthCloudNetworkError
|
|
1204
|
+
|
|
1205
|
+
session_id = _session_id(session_id)
|
|
1206
|
+
limit = _limit(limit, 100, "--limit")
|
|
1207
|
+
if before_plan_id is not None:
|
|
1208
|
+
before_plan_id = _plan_id(before_plan_id)
|
|
1209
|
+
if len(before_plan_id) > 128:
|
|
1210
|
+
raise PlanReviewRefused("validation", "Plan cursor is too long.")
|
|
1211
|
+
idempotency_key = _idempotency_key(idempotency_key, PlanReviewRefused)
|
|
1212
|
+
options = {
|
|
1213
|
+
key: value
|
|
1214
|
+
for key, value in {
|
|
1215
|
+
"limit": limit,
|
|
1216
|
+
"before_plan_id": before_plan_id,
|
|
1217
|
+
"idempotency_key": idempotency_key,
|
|
1218
|
+
}.items()
|
|
1219
|
+
if value is not None
|
|
1220
|
+
}
|
|
1221
|
+
with dependencies.authenticated_sdk_factory(target) as sdk:
|
|
1222
|
+
try:
|
|
1223
|
+
page = _plans(sdk, ("list",)).list(session_id, **options)
|
|
1224
|
+
except HealthCloudHTTPError as error:
|
|
1225
|
+
if error.status_code == 404:
|
|
1226
|
+
raise PlanReviewRefused(
|
|
1227
|
+
"not_found",
|
|
1228
|
+
"Session or cursor unavailable; verify the backend supports plan discovery. No generation was replayed.",
|
|
1229
|
+
) from None
|
|
1230
|
+
raise
|
|
1231
|
+
except HealthCloudNetworkError:
|
|
1232
|
+
raise PlanReviewRefused(
|
|
1233
|
+
"transport", "Plan discovery read unavailable. No generation was replayed; retry only the read."
|
|
1234
|
+
) from None
|
|
1235
|
+
if page is None or page.tenant_id != target.tenant_id or page.session_id != session_id:
|
|
1236
|
+
raise PlanReviewRefused("validation", "Plan discovery/session identity mismatch; stopped.")
|
|
1237
|
+
if not isinstance(page.plans, list) or len(page.plans) > (limit or 50):
|
|
1238
|
+
raise PlanReviewRefused("validation", "Plan discovery exceeded its requested bound.")
|
|
1239
|
+
rows = []
|
|
1240
|
+
seen = set()
|
|
1241
|
+
for plan in page.plans:
|
|
1242
|
+
if plan is None or plan.tenant_id != target.tenant_id or plan.session_id != session_id:
|
|
1243
|
+
raise PlanReviewRefused("validation", "Discovered plan identity mismatch; stopped.")
|
|
1244
|
+
plan_id = _plan_id(plan.id)
|
|
1245
|
+
if len(plan_id) > 128 or plan_id in seen:
|
|
1246
|
+
raise PlanReviewRefused("validation", "Discovered plan ID is invalid or duplicated.")
|
|
1247
|
+
seen.add(plan_id)
|
|
1248
|
+
if plan.operation not in {"modify", "create"} or plan.status not in PLAN_DISCOVERY_STATUSES:
|
|
1249
|
+
raise PlanReviewRefused("validation", "Discovered plan state is unsupported.")
|
|
1250
|
+
_plan_hash(plan.plan_hash)
|
|
1251
|
+
if plan.agent_id is not None:
|
|
1252
|
+
_plan_id(plan.agent_id)
|
|
1253
|
+
if plan.base_config_version is not None and (
|
|
1254
|
+
type(plan.base_config_version) is not int or plan.base_config_version < 1
|
|
1255
|
+
):
|
|
1256
|
+
raise PlanReviewRefused("validation", "Discovered plan version is invalid.")
|
|
1257
|
+
try:
|
|
1258
|
+
dates = [datetime.fromisoformat(value) for value in (plan.created_at, plan.updated_at)]
|
|
1259
|
+
if any(value.tzinfo is None for value in dates):
|
|
1260
|
+
raise ValueError
|
|
1261
|
+
except ValueError, TypeError:
|
|
1262
|
+
raise PlanReviewRefused("validation", "Discovered plan timestamps are invalid.") from None
|
|
1263
|
+
rows.append(
|
|
1264
|
+
{
|
|
1265
|
+
key: getattr(plan, key)
|
|
1266
|
+
for key in (
|
|
1267
|
+
"id",
|
|
1268
|
+
"agent_id",
|
|
1269
|
+
"operation",
|
|
1270
|
+
"base_config_version",
|
|
1271
|
+
"plan_hash",
|
|
1272
|
+
"status",
|
|
1273
|
+
"created_at",
|
|
1274
|
+
"updated_at",
|
|
1275
|
+
)
|
|
1276
|
+
}
|
|
1277
|
+
)
|
|
1278
|
+
cursor = page.next_before_plan_id
|
|
1279
|
+
if cursor is not None and (not rows or cursor != rows[-1]["id"]):
|
|
1280
|
+
raise PlanReviewRefused("validation", "Plan discovery cursor does not match its page.")
|
|
1281
|
+
return succeeded(
|
|
1282
|
+
"sessions.plans.list",
|
|
1283
|
+
_target(target, session_id),
|
|
1284
|
+
{
|
|
1285
|
+
"plans": rows,
|
|
1286
|
+
"page": {"limit": limit or 50, "next_before_plan_id": cursor},
|
|
1287
|
+
"recovery_note": PLAN_DISCOVERY_NOTE,
|
|
1288
|
+
},
|
|
1289
|
+
)
|
|
1290
|
+
|
|
1291
|
+
|
|
1161
1292
|
def get_plan(dependencies: AmsDependencies, target: TenantTarget, plan_id: str, *, out: Path) -> dict:
|
|
1162
1293
|
"""Reload one immutable plan and write its review to a new owner-only file.
|
|
1163
1294
|
|
{healthcloud_cli-3.17.2 → healthcloud_cli-3.18.0}/healthcloud_cli/ams/sessions/projections.py
RENAMED
|
@@ -66,6 +66,8 @@ MODEL_GENERATED_FIELDS = {
|
|
|
66
66
|
"definition.description",
|
|
67
67
|
"definition.greetings",
|
|
68
68
|
"definition.instructions",
|
|
69
|
+
"definition.utility_instructions",
|
|
70
|
+
"definition.artifact_kinds",
|
|
69
71
|
"definition.name",
|
|
70
72
|
"definition.requires_auth",
|
|
71
73
|
"definition.opening_suggestions",
|
|
@@ -10,6 +10,18 @@
|
|
|
10
10
|
"title": "Appointment Id",
|
|
11
11
|
"type": "string"
|
|
12
12
|
},
|
|
13
|
+
"appointment_type": {
|
|
14
|
+
"anyOf": [
|
|
15
|
+
{
|
|
16
|
+
"type": "string"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"type": "null"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
"description": "Visit modality. `telehealth` for an appointment booked through a practice scheduler; omitted or null when not known.",
|
|
23
|
+
"title": "Appointment Type"
|
|
24
|
+
},
|
|
13
25
|
"created_at": {
|
|
14
26
|
"anyOf": [
|
|
15
27
|
{
|
|
@@ -237,6 +249,18 @@
|
|
|
237
249
|
"title": "Patient Id",
|
|
238
250
|
"type": "string"
|
|
239
251
|
},
|
|
252
|
+
"patient_time_zone": {
|
|
253
|
+
"anyOf": [
|
|
254
|
+
{
|
|
255
|
+
"type": "string"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"type": "null"
|
|
259
|
+
}
|
|
260
|
+
],
|
|
261
|
+
"description": "IANA time zone shown when selecting the slot.",
|
|
262
|
+
"title": "Patient Time Zone"
|
|
263
|
+
},
|
|
240
264
|
"slot_id": {
|
|
241
265
|
"description": "Required slot reference. On a FHIR-only tenant use the chosen listSlots result's fhir_id, or the resource ID returned by createSlot.slot_id. On a vendor-integrated tenant echo the chosen slot_id and supply the required vendor fields below.",
|
|
242
266
|
"minLength": 1,
|
|
@@ -800,6 +824,18 @@
|
|
|
800
824
|
"RescheduleAppointmentRequest": {
|
|
801
825
|
"description": "Request body for POST /appointments/{appointment_id}/reschedule.\n\nVendor-integrated tenants pick the new slot from `appointments.listSlots`\nthe same way they did for `appointments.book` — the per-vendor fields\ncarry the same meaning they do on `BookAppointmentRequest`, taken from\nthe chosen new slot's DTO.",
|
|
802
826
|
"properties": {
|
|
827
|
+
"patient_time_zone": {
|
|
828
|
+
"anyOf": [
|
|
829
|
+
{
|
|
830
|
+
"type": "string"
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
"type": "null"
|
|
834
|
+
}
|
|
835
|
+
],
|
|
836
|
+
"description": "IANA time zone shown when selecting the slot.",
|
|
837
|
+
"title": "Patient Time Zone"
|
|
838
|
+
},
|
|
803
839
|
"reason": {
|
|
804
840
|
"anyOf": [
|
|
805
841
|
{
|
|
@@ -958,6 +994,18 @@
|
|
|
958
994
|
"Slot": {
|
|
959
995
|
"description": "A time slot available for booking.",
|
|
960
996
|
"properties": {
|
|
997
|
+
"appointment_type": {
|
|
998
|
+
"anyOf": [
|
|
999
|
+
{
|
|
1000
|
+
"type": "string"
|
|
1001
|
+
},
|
|
1002
|
+
{
|
|
1003
|
+
"type": "null"
|
|
1004
|
+
}
|
|
1005
|
+
],
|
|
1006
|
+
"description": "Visit modality. `telehealth` for every slot of a practice scheduler (the visit is a video visit); omitted or null when the schedule does not say.",
|
|
1007
|
+
"title": "Appointment Type"
|
|
1008
|
+
},
|
|
961
1009
|
"end": {
|
|
962
1010
|
"description": "Exclusive slot end. ISO 8601 date-time. An offset or Z identifies a known instant. A value without an offset preserves unresolved vendor wall time: do not interpret it as UTC or device time, use it for chronological eligibility, or export it to a calendar. Missing/invalid department zones and ambiguous/nonexistent DST start times remain unresolved. Resolved end times use duration as elapsed minutes.",
|
|
963
1011
|
"title": "End",
|
|
@@ -1132,7 +1180,7 @@
|
|
|
1132
1180
|
"info": {
|
|
1133
1181
|
"description": "HealthCloud Appointments API — schedule, reschedule, cancel and list patient appointments. All authenticated endpoints require a Bearer JWT obtained from the HealthCloud authentication service.",
|
|
1134
1182
|
"title": "HC Appointments API",
|
|
1135
|
-
"version": "
|
|
1183
|
+
"version": "3.1.0"
|
|
1136
1184
|
},
|
|
1137
1185
|
"openapi": "3.1.0",
|
|
1138
1186
|
"paths": {
|
|
@@ -1146,6 +1194,7 @@
|
|
|
1146
1194
|
"example": {
|
|
1147
1195
|
"note": "string",
|
|
1148
1196
|
"patient_id": "string",
|
|
1197
|
+
"patient_time_zone": "string",
|
|
1149
1198
|
"slot_id": "string",
|
|
1150
1199
|
"start": "string",
|
|
1151
1200
|
"steadymd_clinician_guid": "string"
|
|
@@ -1170,6 +1219,7 @@
|
|
|
1170
1219
|
"application/json": {
|
|
1171
1220
|
"example": {
|
|
1172
1221
|
"appointment_id": "string",
|
|
1222
|
+
"appointment_type": "string",
|
|
1173
1223
|
"created_at": "string",
|
|
1174
1224
|
"end": "string",
|
|
1175
1225
|
"openloop_appointment_id": "string",
|
|
@@ -1373,6 +1423,10 @@
|
|
|
1373
1423
|
"description": "FHIR Patient resource ID",
|
|
1374
1424
|
"type": "string"
|
|
1375
1425
|
},
|
|
1426
|
+
"patient_time_zone": {
|
|
1427
|
+
"description": "IANA time zone shown to the patient when choosing this slot",
|
|
1428
|
+
"type": "string"
|
|
1429
|
+
},
|
|
1376
1430
|
"slot_id": {
|
|
1377
1431
|
"description": "Slot ID from list_available_slots",
|
|
1378
1432
|
"type": "string"
|
|
@@ -1451,6 +1505,7 @@
|
|
|
1451
1505
|
"application/json": {
|
|
1452
1506
|
"example": {
|
|
1453
1507
|
"appointment_id": "string",
|
|
1508
|
+
"appointment_type": "string",
|
|
1454
1509
|
"created_at": "string",
|
|
1455
1510
|
"end": "string",
|
|
1456
1511
|
"openloop_appointment_id": "string",
|
|
@@ -1853,10 +1908,11 @@
|
|
|
1853
1908
|
"content": {
|
|
1854
1909
|
"application/json": {
|
|
1855
1910
|
"example": {
|
|
1856
|
-
"
|
|
1857
|
-
"
|
|
1858
|
-
"
|
|
1859
|
-
"
|
|
1911
|
+
"patient_time_zone": "string",
|
|
1912
|
+
"reason": "string",
|
|
1913
|
+
"slot_id": "string",
|
|
1914
|
+
"start": "string",
|
|
1915
|
+
"steadymd_clinician_guid": "string"
|
|
1860
1916
|
},
|
|
1861
1917
|
"schema": {
|
|
1862
1918
|
"anyOf": [
|
|
@@ -1878,6 +1934,7 @@
|
|
|
1878
1934
|
"application/json": {
|
|
1879
1935
|
"example": {
|
|
1880
1936
|
"appointment_id": "string",
|
|
1937
|
+
"appointment_type": "string",
|
|
1881
1938
|
"created_at": "string",
|
|
1882
1939
|
"end": "string",
|
|
1883
1940
|
"openloop_appointment_id": "string",
|
|
@@ -2054,6 +2111,10 @@
|
|
|
2054
2111
|
"description": "Appointment ID to reschedule (FHIR Appointment ID on FHIR-only tenants; the vendor appointment id on vendor-integrated tenants)",
|
|
2055
2112
|
"type": "string"
|
|
2056
2113
|
},
|
|
2114
|
+
"patient_time_zone": {
|
|
2115
|
+
"description": "IANA time zone shown to the patient when choosing this slot",
|
|
2116
|
+
"type": "string"
|
|
2117
|
+
},
|
|
2057
2118
|
"reason": {
|
|
2058
2119
|
"description": "Reason for rescheduling",
|
|
2059
2120
|
"type": "string"
|
|
@@ -2326,6 +2387,7 @@
|
|
|
2326
2387
|
"appointments": [
|
|
2327
2388
|
{
|
|
2328
2389
|
"appointment_id": "string",
|
|
2390
|
+
"appointment_type": "string",
|
|
2329
2391
|
"created_at": "string",
|
|
2330
2392
|
"end": "string",
|
|
2331
2393
|
"openloop_appointment_id": "string",
|
|
@@ -2795,6 +2857,7 @@
|
|
|
2795
2857
|
"example": {
|
|
2796
2858
|
"slots": [
|
|
2797
2859
|
{
|
|
2860
|
+
"appointment_type": "string",
|
|
2798
2861
|
"end": "string",
|
|
2799
2862
|
"fhir_id": "string",
|
|
2800
2863
|
"location": "string",
|
|
@@ -3032,6 +3095,7 @@
|
|
|
3032
3095
|
"content": {
|
|
3033
3096
|
"application/json": {
|
|
3034
3097
|
"example": {
|
|
3098
|
+
"appointment_type": "string",
|
|
3035
3099
|
"end": "string",
|
|
3036
3100
|
"fhir_id": "string",
|
|
3037
3101
|
"location": "string",
|