{"schemaVersion":"1.0","sourceCommit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca","sourceVisibility":"private","article":{"id":"api-mansoq-hcx-policyviewset-100251f7","title":"Policy API reference · mansoq-hcx","summary":"Static source contract for Policy: 6 declared or inherited operation mappings, schema/field evidence and authorization/refusal references. Deployment and behavioral review remain explicit.","module":"IT & integrations","roles":["IT administrator","Developer","Integration engineer"],"facilities":["All configured facility types"],"kind":"reference","minutes":6,"prerequisites":["Use the API contract from the installed deployment and an authorized synthetic test environment.","Confirm facility/organization scope, action permissions and optional app enablement.","This reference is static source evidence; complete payload, authorization, failure and end-to-end review remains recorded as pending."],"steps":[],"sections":[{"title":"Declared route and availability","body":"This resource is declared in **mansoq-hcx** at `/api/{installed_plugin_prefix}/policy/`. plugin/local mount; actual prefix and enablement require deployment verification A registered path and an indexed handler do not prove deployment availability, user permission or production readiness."},{"title":"Operation map","body":"| Method | Path | Action | Evidence |\n| --- | --- | --- | --- |\n| GET | `/api/{installed_plugin_prefix}/policy/` | list | standard external DRF mixin; library behavior review pending |\n| POST | `/api/{installed_plugin_prefix}/policy/` | create | standard external DRF mixin; library behavior review pending |\n| GET | `/api/{installed_plugin_prefix}/policy/{external_id}/` | retrieve | standard external DRF mixin; library behavior review pending |\n| PUT | `/api/{installed_plugin_prefix}/policy/{external_id}/` | update | standard external DRF mixin; library behavior review pending |\n| PATCH | `/api/{installed_plugin_prefix}/policy/{external_id}/` | partial_update | standard external DRF mixin; library behavior review pending |\n| DELETE | `/api/{installed_plugin_prefix}/policy/{external_id}/` | destroy | standard external DRF mixin; library behavior review pending |"},{"title":"list · GET","body":"**GET /api/{installed_plugin_prefix}/policy/** — action `list`. static contract extracted; runtime/permission/payload behavior review pending.\n\nPath and deployment-context parameters:\n\n| Location | Parameter | Type | Required |\n| --- | --- | --- | --- |\n| deployment mount | installed_plugin_prefix | deployment-selected mount prefix | true |\n\n**serializer: PolicySerializer**. Declared fields below; inherited fields are retained in the schema inventory.\n\n| Field | Type | Required | Constraints |\n| --- | --- | --- | --- |\n| id | UUIDField | framework default | read_only: true |\n| subscriber_id | CharField | framework default | No extra constraint extracted |\n| policy_id | CharField | framework default | No extra constraint extracted |\n| insurer_id | CharField | false | required: false |\n| insurer_name | CharField | false | required: false |\n| status | ChoiceField | false | required: false |\n| priority | ChoiceField | false | required: false |\n| purpose | ChoiceField | false | required: false |\n| outcome | ChoiceField | framework default | read_only: true |\n| error_text | CharField | framework default | read_only: true |\n\n**Authorization:** no literal permission name was resolved in the bounded handler/helper traversal. Authentication, inherited policies, object/facility scoping and middleware still require review; this does not mean public access.\n\n**Class policy declarations:** permission_classes: IsAuthenticated."},{"title":"create · POST","body":"**POST /api/{installed_plugin_prefix}/policy/** — action `create`. static contract extracted; runtime/permission/payload behavior review pending.\n\nPath and deployment-context parameters:\n\n| Location | Parameter | Type | Required |\n| --- | --- | --- | --- |\n| deployment mount | installed_plugin_prefix | deployment-selected mount prefix | true |\n\n**serializer: PolicySerializer**. Declared fields below; inherited fields are retained in the schema inventory.\n\nThe declared field table is shown at its first occurrence in this reference; this operation links the same schema.\n\n**Authorization:** no literal permission name was resolved in the bounded handler/helper traversal. Authentication, inherited policies, object/facility scoping and middleware still require review; this does not mean public access.\n\n**Class policy declarations:** permission_classes: IsAuthenticated."},{"title":"retrieve · GET","body":"**GET /api/{installed_plugin_prefix}/policy/{external_id}/** — action `retrieve`. static contract extracted; runtime/permission/payload behavior review pending.\n\nPath and deployment-context parameters:\n\n| Location | Parameter | Type | Required |\n| --- | --- | --- | --- |\n| deployment mount | installed_plugin_prefix | deployment-selected mount prefix | true |\n| path | external_id | router lookup string; semantic ID validation requires handler/schema review | true |\n\n**serializer: PolicySerializer**. Declared fields below; inherited fields are retained in the schema inventory.\n\nThe declared field table is shown at its first occurrence in this reference; this operation links the same schema.\n\n**Authorization:** no literal permission name was resolved in the bounded handler/helper traversal. Authentication, inherited policies, object/facility scoping and middleware still require review; this does not mean public access.\n\n**Class policy declarations:** permission_classes: IsAuthenticated."},{"title":"update · PUT","body":"**PUT /api/{installed_plugin_prefix}/policy/{external_id}/** — action `update`. static contract extracted; runtime/permission/payload behavior review pending.\n\nPath and deployment-context parameters:\n\n| Location | Parameter | Type | Required |\n| --- | --- | --- | --- |\n| deployment mount | installed_plugin_prefix | deployment-selected mount prefix | true |\n| path | external_id | router lookup string; semantic ID validation requires handler/schema review | true |\n\n**serializer: PolicySerializer**. Declared fields below; inherited fields are retained in the schema inventory.\n\nThe declared field table is shown at its first occurrence in this reference; this operation links the same schema.\n\n**Authorization:** no literal permission name was resolved in the bounded handler/helper traversal. Authentication, inherited policies, object/facility scoping and middleware still require review; this does not mean public access.\n\n**Class policy declarations:** permission_classes: IsAuthenticated."},{"title":"partial_update · PATCH","body":"**PATCH /api/{installed_plugin_prefix}/policy/{external_id}/** — action `partial_update`. static contract extracted; runtime/permission/payload behavior review pending.\n\nPath and deployment-context parameters:\n\n| Location | Parameter | Type | Required |\n| --- | --- | --- | --- |\n| deployment mount | installed_plugin_prefix | deployment-selected mount prefix | true |\n| path | external_id | router lookup string; semantic ID validation requires handler/schema review | true |\n\n**serializer: PolicySerializer**. Declared fields below; inherited fields are retained in the schema inventory.\n\nThe declared field table is shown at its first occurrence in this reference; this operation links the same schema.\n\n**Authorization:** no literal permission name was resolved in the bounded handler/helper traversal. Authentication, inherited policies, object/facility scoping and middleware still require review; this does not mean public access.\n\n**Class policy declarations:** permission_classes: IsAuthenticated."},{"title":"destroy · DELETE","body":"**DELETE /api/{installed_plugin_prefix}/policy/{external_id}/** — action `destroy`. static contract extracted; runtime/permission/payload behavior review pending.\n\nPath and deployment-context parameters:\n\n| Location | Parameter | Type | Required |\n| --- | --- | --- | --- |\n| deployment mount | installed_plugin_prefix | deployment-selected mount prefix | true |\n| path | external_id | router lookup string; semantic ID validation requires handler/schema review | true |\n\n**serializer: PolicySerializer**. Declared fields below; inherited fields are retained in the schema inventory.\n\nThe declared field table is shown at its first occurrence in this reference; this operation links the same schema.\n\n**Authorization:** no literal permission name was resolved in the bounded handler/helper traversal. Authentication, inherited policies, object/facility scoping and middleware still require review; this does not mean public access.\n\n**Class policy declarations:** permission_classes: IsAuthenticated."},{"title":"Integration review checklist","body":"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."}],"troubleshooting":[{"problem":"A declared route is unavailable or a request is rejected","solution":"Compare the installed revision, actual API schema, optional plugin mount, HTTP-method restrictions and recorded validation/permission evidence. Do not bypass a refusal or send a production transaction to test documentation."}],"sources":[{"path":"repositories/teleicu/mansoq-hcx/hcx/urls.py","line":25,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/policy.py","line":22,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/teleicu/mansoq-hcx/hcx/api/serializers/policy.py","line":16,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}],"related":["it-api-contract","it-api-auth","security-rcm-roles"],"verification":"Static API contract — behavior review pending","version":"f6e9f05f76d4","apiReferenceIds":["backend-resource-441e66e0100251f7","backend-resource-441e66e0100251f7:GET:list","backend-resource-441e66e0100251f7:POST:create","backend-resource-441e66e0100251f7:GET:retrieve","backend-resource-441e66e0100251f7:PUT:update","backend-resource-441e66e0100251f7:PATCH:partial_update","backend-resource-441e66e0100251f7:DELETE:destroy"]},"backend":{"resources":[{"id":"backend-resource-441e66e0100251f7","localPrefix":"policy","viewset":"PolicyViewSet","classId":"repositories/teleicu/mansoq-hcx:hcx.api.viewsets.policy.PolicyViewSet","basename":"hcx-policy","source":{"path":"repositories/teleicu/mansoq-hcx/hcx/urls.py","line":25,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"conditions":[],"repository":"repositories/teleicu/mansoq-hcx","classSource":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/policy.py","line":22,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"description":"","path":"/api/{installed_plugin_prefix}/policy/","mountStatus":"plugin/local mount; actual prefix and enablement require deployment verification","operationIds":["backend-resource-441e66e0100251f7:GET:list","backend-resource-441e66e0100251f7:POST:create","backend-resource-441e66e0100251f7:GET:retrieve","backend-resource-441e66e0100251f7:PUT:update","backend-resource-441e66e0100251f7:PATCH:partial_update","backend-resource-441e66e0100251f7:DELETE:destroy"],"unresolvedViewset":false,"reviewStatus":"registered resource enumerated; behavioral review pending"}],"operations":[{"id":"backend-resource-441e66e0100251f7:GET:list","resourceId":"backend-resource-441e66e0100251f7","repository":"repositories/teleicu/mansoq-hcx","boundary":"optional-plugin/local-service","method":"GET","path":"/api/{installed_plugin_prefix}/policy/","declaredPattern":"/api/{installed_plugin_prefix}/policy/","action":"list","viewset":"PolicyViewSet","classId":"repositories/teleicu/mansoq-hcx:hcx.api.viewsets.policy.PolicyViewSet","detail":false,"allowedByDeclaredHttpMethods":true,"mountStatus":"plugin/local mount; actual prefix and enablement require deployment verification","routeEvidence":{"path":"repositories/teleicu/mansoq-hcx/hcx/urls.py","line":25,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"handlerSource":null,"registrationConditions":[],"evidenceKind":"standard external DRF mixin; library behavior review pending","methodEvidenceIds":[],"schemaIds":{"serializer":"repositories/teleicu/mansoq-hcx:hcx.api.serializers.policy.PolicySerializer"},"classPermissionEvidence":[{"kind":"permission_classes","declaration":["IsAuthenticated"],"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/policy.py","line":31,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"filterEvidence":[{"name":"search_fields","value":["patient"],"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/policy.py","line":34,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"ordering_fields","value":["id","created_date","modified_date"],"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/policy.py","line":41,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"filter_backends","value":[null,null,null],"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/policy.py","line":35,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"patient","type":"filters.UUIDFilter","lookup":null,"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/policy.py","line":19,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"reviewStatus":"static contract extracted; runtime/permission/payload behavior review pending","pathParameters":[{"name":"installed_plugin_prefix","in":"deployment mount","type":"deployment-selected mount prefix","required":true,"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/urls.py","line":25,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}]},{"id":"backend-resource-441e66e0100251f7:POST:create","resourceId":"backend-resource-441e66e0100251f7","repository":"repositories/teleicu/mansoq-hcx","boundary":"optional-plugin/local-service","method":"POST","path":"/api/{installed_plugin_prefix}/policy/","declaredPattern":"/api/{installed_plugin_prefix}/policy/","action":"create","viewset":"PolicyViewSet","classId":"repositories/teleicu/mansoq-hcx:hcx.api.viewsets.policy.PolicyViewSet","detail":false,"allowedByDeclaredHttpMethods":true,"mountStatus":"plugin/local mount; actual prefix and enablement require deployment verification","routeEvidence":{"path":"repositories/teleicu/mansoq-hcx/hcx/urls.py","line":25,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"handlerSource":null,"registrationConditions":[],"evidenceKind":"standard external DRF mixin; library behavior review pending","methodEvidenceIds":[],"schemaIds":{"serializer":"repositories/teleicu/mansoq-hcx:hcx.api.serializers.policy.PolicySerializer"},"classPermissionEvidence":[{"kind":"permission_classes","declaration":["IsAuthenticated"],"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/policy.py","line":31,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"filterEvidence":[{"name":"search_fields","value":["patient"],"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/policy.py","line":34,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"ordering_fields","value":["id","created_date","modified_date"],"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/policy.py","line":41,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"filter_backends","value":[null,null,null],"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/policy.py","line":35,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"patient","type":"filters.UUIDFilter","lookup":null,"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/policy.py","line":19,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"reviewStatus":"static contract extracted; runtime/permission/payload behavior review pending","pathParameters":[{"name":"installed_plugin_prefix","in":"deployment mount","type":"deployment-selected mount prefix","required":true,"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/urls.py","line":25,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}]},{"id":"backend-resource-441e66e0100251f7:GET:retrieve","resourceId":"backend-resource-441e66e0100251f7","repository":"repositories/teleicu/mansoq-hcx","boundary":"optional-plugin/local-service","method":"GET","path":"/api/{installed_plugin_prefix}/policy/{external_id}/","declaredPattern":"/api/{installed_plugin_prefix}/policy/{external_id}/","action":"retrieve","viewset":"PolicyViewSet","classId":"repositories/teleicu/mansoq-hcx:hcx.api.viewsets.policy.PolicyViewSet","detail":true,"allowedByDeclaredHttpMethods":true,"mountStatus":"plugin/local mount; actual prefix and enablement require deployment verification","routeEvidence":{"path":"repositories/teleicu/mansoq-hcx/hcx/urls.py","line":25,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"handlerSource":null,"registrationConditions":[],"evidenceKind":"standard external DRF mixin; library behavior review pending","methodEvidenceIds":[],"schemaIds":{"serializer":"repositories/teleicu/mansoq-hcx:hcx.api.serializers.policy.PolicySerializer"},"classPermissionEvidence":[{"kind":"permission_classes","declaration":["IsAuthenticated"],"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/policy.py","line":31,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"filterEvidence":[{"name":"search_fields","value":["patient"],"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/policy.py","line":34,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"ordering_fields","value":["id","created_date","modified_date"],"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/policy.py","line":41,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"filter_backends","value":[null,null,null],"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/policy.py","line":35,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"patient","type":"filters.UUIDFilter","lookup":null,"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/policy.py","line":19,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"reviewStatus":"static contract extracted; runtime/permission/payload behavior review pending","pathParameters":[{"name":"installed_plugin_prefix","in":"deployment mount","type":"deployment-selected mount prefix","required":true,"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/urls.py","line":25,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"external_id","in":"path","type":"router lookup string; semantic ID validation requires handler/schema review","required":true,"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/urls.py","line":25,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}]},{"id":"backend-resource-441e66e0100251f7:PUT:update","resourceId":"backend-resource-441e66e0100251f7","repository":"repositories/teleicu/mansoq-hcx","boundary":"optional-plugin/local-service","method":"PUT","path":"/api/{installed_plugin_prefix}/policy/{external_id}/","declaredPattern":"/api/{installed_plugin_prefix}/policy/{external_id}/","action":"update","viewset":"PolicyViewSet","classId":"repositories/teleicu/mansoq-hcx:hcx.api.viewsets.policy.PolicyViewSet","detail":true,"allowedByDeclaredHttpMethods":true,"mountStatus":"plugin/local mount; actual prefix and enablement require deployment verification","routeEvidence":{"path":"repositories/teleicu/mansoq-hcx/hcx/urls.py","line":25,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"handlerSource":null,"registrationConditions":[],"evidenceKind":"standard external DRF mixin; library behavior review pending","methodEvidenceIds":[],"schemaIds":{"serializer":"repositories/teleicu/mansoq-hcx:hcx.api.serializers.policy.PolicySerializer"},"classPermissionEvidence":[{"kind":"permission_classes","declaration":["IsAuthenticated"],"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/policy.py","line":31,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"filterEvidence":[{"name":"search_fields","value":["patient"],"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/policy.py","line":34,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"ordering_fields","value":["id","created_date","modified_date"],"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/policy.py","line":41,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"filter_backends","value":[null,null,null],"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/policy.py","line":35,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"patient","type":"filters.UUIDFilter","lookup":null,"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/policy.py","line":19,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"reviewStatus":"static contract extracted; runtime/permission/payload behavior review pending","pathParameters":[{"name":"installed_plugin_prefix","in":"deployment mount","type":"deployment-selected mount prefix","required":true,"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/urls.py","line":25,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"external_id","in":"path","type":"router lookup string; semantic ID validation requires handler/schema review","required":true,"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/urls.py","line":25,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}]},{"id":"backend-resource-441e66e0100251f7:PATCH:partial_update","resourceId":"backend-resource-441e66e0100251f7","repository":"repositories/teleicu/mansoq-hcx","boundary":"optional-plugin/local-service","method":"PATCH","path":"/api/{installed_plugin_prefix}/policy/{external_id}/","declaredPattern":"/api/{installed_plugin_prefix}/policy/{external_id}/","action":"partial_update","viewset":"PolicyViewSet","classId":"repositories/teleicu/mansoq-hcx:hcx.api.viewsets.policy.PolicyViewSet","detail":true,"allowedByDeclaredHttpMethods":true,"mountStatus":"plugin/local mount; actual prefix and enablement require deployment verification","routeEvidence":{"path":"repositories/teleicu/mansoq-hcx/hcx/urls.py","line":25,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"handlerSource":null,"registrationConditions":[],"evidenceKind":"standard external DRF mixin; library behavior review pending","methodEvidenceIds":[],"schemaIds":{"serializer":"repositories/teleicu/mansoq-hcx:hcx.api.serializers.policy.PolicySerializer"},"classPermissionEvidence":[{"kind":"permission_classes","declaration":["IsAuthenticated"],"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/policy.py","line":31,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"filterEvidence":[{"name":"search_fields","value":["patient"],"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/policy.py","line":34,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"ordering_fields","value":["id","created_date","modified_date"],"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/policy.py","line":41,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"filter_backends","value":[null,null,null],"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/policy.py","line":35,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"patient","type":"filters.UUIDFilter","lookup":null,"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/policy.py","line":19,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"reviewStatus":"static contract extracted; runtime/permission/payload behavior review pending","pathParameters":[{"name":"installed_plugin_prefix","in":"deployment mount","type":"deployment-selected mount prefix","required":true,"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/urls.py","line":25,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"external_id","in":"path","type":"router lookup string; semantic ID validation requires handler/schema review","required":true,"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/urls.py","line":25,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}]},{"id":"backend-resource-441e66e0100251f7:DELETE:destroy","resourceId":"backend-resource-441e66e0100251f7","repository":"repositories/teleicu/mansoq-hcx","boundary":"optional-plugin/local-service","method":"DELETE","path":"/api/{installed_plugin_prefix}/policy/{external_id}/","declaredPattern":"/api/{installed_plugin_prefix}/policy/{external_id}/","action":"destroy","viewset":"PolicyViewSet","classId":"repositories/teleicu/mansoq-hcx:hcx.api.viewsets.policy.PolicyViewSet","detail":true,"allowedByDeclaredHttpMethods":true,"mountStatus":"plugin/local mount; actual prefix and enablement require deployment verification","routeEvidence":{"path":"repositories/teleicu/mansoq-hcx/hcx/urls.py","line":25,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"handlerSource":null,"registrationConditions":[],"evidenceKind":"standard external DRF mixin; library behavior review pending","methodEvidenceIds":[],"schemaIds":{"serializer":"repositories/teleicu/mansoq-hcx:hcx.api.serializers.policy.PolicySerializer"},"classPermissionEvidence":[{"kind":"permission_classes","declaration":["IsAuthenticated"],"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/policy.py","line":31,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"filterEvidence":[{"name":"search_fields","value":["patient"],"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/policy.py","line":34,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"ordering_fields","value":["id","created_date","modified_date"],"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/policy.py","line":41,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"filter_backends","value":[null,null,null],"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/policy.py","line":35,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"patient","type":"filters.UUIDFilter","lookup":null,"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/viewsets/policy.py","line":19,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"reviewStatus":"static contract extracted; runtime/permission/payload behavior review pending","pathParameters":[{"name":"installed_plugin_prefix","in":"deployment mount","type":"deployment-selected mount prefix","required":true,"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/urls.py","line":25,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"external_id","in":"path","type":"router lookup string; semantic ID validation requires handler/schema review","required":true,"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/urls.py","line":25,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}]}],"methodEvidence":[],"schemas":[{"id":"repositories/teleicu/mansoq-hcx:hcx.api.serializers.policy.PolicySerializer","name":"PolicySerializer","source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/serializers/policy.py","line":16,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"kind":"Python declared schema/model evidence","fields":[{"name":"id","type":"UUIDField","required":"framework default","hasDefault":false,"constraints":{"read_only":true},"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/serializers/policy.py","line":17,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"subscriber_id","type":"CharField","required":"framework default","hasDefault":false,"constraints":{},"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/serializers/policy.py","line":24,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"policy_id","type":"CharField","required":"framework default","hasDefault":false,"constraints":{},"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/serializers/policy.py","line":25,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"insurer_id","type":"CharField","required":false,"hasDefault":false,"constraints":{"required":false},"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/serializers/policy.py","line":27,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"insurer_name","type":"CharField","required":false,"hasDefault":false,"constraints":{"required":false},"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/serializers/policy.py","line":28,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"status","type":"ChoiceField","required":false,"hasDefault":false,"constraints":{"required":false},"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/serializers/policy.py","line":30,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"priority","type":"ChoiceField","required":false,"hasDefault":false,"constraints":{"required":false},"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/serializers/policy.py","line":31,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"purpose","type":"ChoiceField","required":false,"hasDefault":false,"constraints":{"required":false},"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/serializers/policy.py","line":32,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"outcome","type":"ChoiceField","required":"framework default","hasDefault":false,"constraints":{"read_only":true},"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/serializers/policy.py","line":34,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"error_text","type":"CharField","required":"framework default","hasDefault":false,"constraints":{"read_only":true},"source":{"path":"repositories/teleicu/mansoq-hcx/hcx/api/serializers/policy.py","line":35,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"validation":[],"baseTypes":["ModelSerializer"],"reviewStatus":"declared fields extracted; runtime validation review pending","referencedSchemaIds":[]}],"frameworkSettings":[]},"frontend":{"operations":[],"schemas":[]},"services":{"operations":[]},"boundaries":[]}