Backend resource · STATIC DECLARATIONS
Decision Trace API reference · mansoq-core
Static source contract for Decision Trace: 3 declared or inherited operation mappings, schema/field evidence and authorization/refusal references. Deployment and behavioral review remain explicit.
Static API contract — behavior review pending. Source baseline f6e9f05f76d4.
Enable JavaScript to inspect structured operation, parameter, schema and permission evidence. Download this reference and its evidence.
Declared route and availability
This resource is declared in mansoq-core at /api/v1/facility/{facility_external_id}/rcm/traces/. verified core mount in config/urls.py A registered path and an indexed handler do not prove deployment availability, user permission or production readiness.
"Why did this cost that" — answered from the screen, without free text.
Ch. 32's user-acceptance bar: the operator explains the result from the structure, so the losing candidates and the reason each lost are fields, not prose. The trace is append-only; a re-adjudication is a new row that names the one it supersedes, and the original keeps explaining the decision that was actually made at the time.
Operation map
| Method | Path | Action | Evidence |
|---|---|---|---|
| GET | /api/v1/facility/{facility_external_id}/rcm/traces/ |
list | declared/inherited method |
| GET | /api/v1/facility/{facility_external_id}/rcm/traces/{external_id}/ |
retrieve | declared/inherited method |
| GET | /api/v1/facility/{facility_external_id}/rcm/traces/explain/ |
explain | @action declaration |
list · GET
GET /api/v1/facility/{facility_external_id}/rcm/traces/ — action list. static contract extracted; runtime/permission/payload behavior review pending.
Path and deployment-context parameters:
| Location | Parameter | Type | Required |
|---|---|---|---|
| path | facility_external_id | router lookup string; semantic ID validation requires handler/schema review | true |
Directly observed request reads (these do not constitute a complete accepted-payload or requiredness guarantee):
| Location | Field | Declared/inferred read type | Requiredness evidence |
|---|---|---|---|
| query | config_package |
not declared at read site | not established |
| query | {computed field name} |
not declared at read site | not established |
Observed authorization checks: can_read_rcm_configuration_in_facility. Helper/queryset evidence is included; this is not proof of complete security review.
Declared refusal/error evidence: PermissionDenied: Cannot read RCM configuration.
retrieve · GET
GET /api/v1/facility/{facility_external_id}/rcm/traces/{external_id}/ — action retrieve. static contract extracted; runtime/permission/payload behavior review pending.
Path and deployment-context parameters:
| Location | Parameter | Type | Required |
|---|---|---|---|
| path | facility_external_id | router lookup string; semantic ID validation requires handler/schema review | true |
| path | external_id | router lookup string; semantic ID validation requires handler/schema review | true |
Directly observed request reads (these do not constitute a complete accepted-payload or requiredness guarantee):
| Location | Field | Declared/inferred read type | Requiredness evidence |
|---|---|---|---|
| query | config_package |
not declared at read site | not established |
| query | {computed field name} |
not declared at read site | not established |
Observed authorization checks: can_read_rcm_configuration_in_facility. Helper/queryset evidence is included; this is not proof of complete security review.
Declared refusal/error evidence: PermissionDenied: Cannot read RCM configuration.
explain · GET
Explain a claim, a line or an estimate by its subject reference.
GET /api/v1/facility/{facility_external_id}/rcm/traces/explain/ — action explain. static contract extracted; runtime/permission/payload behavior review pending.
Path and deployment-context parameters:
| Location | Parameter | Type | Required |
|---|---|---|---|
| path | facility_external_id | router lookup string; semantic ID validation requires handler/schema review | true |
Directly observed request reads (these do not constitute a complete accepted-payload or requiredness guarantee):
| Location | Field | Declared/inferred read type | Requiredness evidence |
|---|---|---|---|
| query | subject_table |
not declared at read site | not established |
| query | subject_id |
not declared at read site | not established |
| query | decision_kind |
not declared at read site | not established |
| query | config_package |
not declared at read site | not established |
| query | {computed field name} |
not declared at read site | not established |
Observed authorization checks: can_read_rcm_configuration_in_facility. Helper/queryset evidence is included; this is not proof of complete security review.
Declared refusal/error evidence: PermissionDenied: Cannot read RCM configuration.
Integration review checklist
Confirm the installed route and full schema; review authentication, organization/facility scoping, all accepted fields, value-state and date/time semantics, idempotency, pagination, response/exception branches and the allowed correction/reversal workflow. Test positive and negative cases with synthetic data. This source reference does not establish external certification or replace an illustrated user procedure.
Pinned source evidence
Links require access to the private source repository.
- repositories/platform/mansoq-core/config/api_router.py:967
- repositories/platform/mansoq-core/mansoq/emr/api/viewsets/rcm/governance.py:1434
- repositories/platform/mansoq-core/mansoq/emr/api/viewsets/rcm/governance.py:1470
- repositories/platform/mansoq-core/mansoq/emr/api/viewsets/rcm/governance.py:1449
- repositories/platform/mansoq-core/mansoq/emr/api/viewsets/rcm/operations_base.py:629
- repositories/platform/mansoq-core/mansoq/emr/api/viewsets/rcm/governance.py:263
- repositories/platform/mansoq-core/mansoq/emr/api/viewsets/rcm/operations_base.py:591
- repositories/platform/mansoq-core/mansoq/emr/api/viewsets/rcm/governance.py:1475
- repositories/platform/mansoq-core/mansoq/emr/api/viewsets/rcm/governance.py:1490
- repositories/platform/mansoq-core/mansoq/emr/api/viewsets/rcm/governance.py:1479