{"schemaVersion":"1.0","sourceCommit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca","sourceVisibility":"private","article":{"id":"api-mansoq-abdm-hip-views-patientconsents-1606015b","title":"Hip Views.Patient Consents API reference · mansoq-abdm","summary":"Static source contract for Hip Views.Patient Consents: 1 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":3,"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-abdm** at `/api/{installed_plugin_prefix}/patients/{patient_id}/abha/consents`. 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}/patients/{patient_id}/abha/consents` | get | explicit Django path/view declaration |"},{"title":"get · GET","body":"**GET /api/{installed_plugin_prefix}/patients/{patient_id}/abha/consents** — action `get`. static contract extracted; runtime/permission/payload behavior review pending.\n\nPath and deployment-context parameters:\n\n| Location | Parameter | Type | Required |\n| --- | --- | --- | --- |\n| path | patient_id | UUID | true |\n| deployment mount | installed_plugin_prefix | deployment-selected mount prefix | 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":"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/platform/mansoq-abdm/backend/src/abdm/urls.py","line":50,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},{"path":"repositories/platform/mansoq-abdm/backend/src/abdm/hip/views.py","line":259,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}],"related":["it-api-contract","it-api-auth","security-rcm-roles"],"verification":"Static API contract — behavior review pending","version":"f6e9f05f76d4","apiReferenceIds":["backend-path-19726e561606015b","backend-path-19726e561606015b:GET:get"]},"backend":{"resources":[{"id":"backend-path-19726e561606015b","declaredPath":"patients/<uuid:patient_id>/abha/consents","dynamicPath":false,"source":{"path":"repositories/platform/mansoq-abdm/backend/src/abdm/urls.py","line":50,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"conditions":[],"kind":"view","view":"hip_views.PatientConsents","classId":"repositories/platform/mansoq-abdm:abdm.hip.views.PatientConsents","actionMapping":null,"operationIds":["backend-path-19726e561606015b:GET:get"],"path":"/api/{installed_plugin_prefix}/patients/{patient_id}/abha/consents","mountStatus":"plugin/local mount; actual prefix and enablement require deployment verification","reviewStatus":"direct route enumerated; behavioral review pending"}],"operations":[{"id":"backend-path-19726e561606015b:GET:get","resourceId":"backend-path-19726e561606015b","repository":"repositories/platform/mansoq-abdm","boundary":"optional-plugin/local-service","method":"GET","path":"/api/{installed_plugin_prefix}/patients/{patient_id}/abha/consents","declaredPattern":"patients/<uuid:patient_id>/abha/consents","action":"get","viewset":"hip_views.PatientConsents","classId":"repositories/platform/mansoq-abdm:abdm.hip.views.PatientConsents","detail":null,"mountStatus":"plugin/local mount; actual prefix and enablement require deployment verification","routeEvidence":{"path":"repositories/platform/mansoq-abdm/backend/src/abdm/urls.py","line":50,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"handlerSource":{"path":"repositories/platform/mansoq-abdm/backend/src/abdm/hip/views.py","line":259,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"registrationConditions":[],"evidenceKind":"explicit Django path/view declaration","decoratorStatus":null,"decoratorPolicy":{},"methodEvidenceIds":["repositories/platform/mansoq-abdm/backend/src/abdm/hip/views.py:259:get"],"schemaIds":{},"classPermissionEvidence":[{"kind":"permission_classes","declaration":["IsAuthenticated"],"source":{"path":"repositories/platform/mansoq-abdm/backend/src/abdm/hip/views.py","line":257,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"filterEvidence":[],"reviewStatus":"static contract extracted; runtime/permission/payload behavior review pending","pathParameters":[{"name":"patient_id","in":"path","type":"UUID","required":true,"source":{"path":"repositories/platform/mansoq-abdm/backend/src/abdm/urls.py","line":50,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}},{"name":"installed_plugin_prefix","in":"deployment mount","type":"deployment-selected mount prefix","required":true,"source":{"path":"repositories/platform/mansoq-abdm/backend/src/abdm/urls.py","line":50,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}]}],"methodEvidence":[{"id":"repositories/platform/mansoq-abdm/backend/src/abdm/hip/views.py:259:get","name":"get","owner":"repositories/platform/mansoq-abdm:abdm.hip.views.PatientConsents","summary":"","source":{"path":"repositories/platform/mansoq-abdm/backend/src/abdm/hip/views.py","line":259,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"},"signatureParameters":[{"name":"patient_id","type":"unspecified","required":true,"source":{"path":"repositories/platform/mansoq-abdm/backend/src/abdm/hip/views.py","line":259,"commit":"f6e9f05f76d443b26ebd2369f67d3c3bd52257ca"}}],"parametersRead":[],"permissionChecks":[],"declaredErrors":[],"explicitResponseStatuses":[],"conditions":[],"schemaIds":[],"schemaUsages":[],"unconditionalRaise":false,"reviewStatus":"static declaration extracted; behavioral/security review pending"}],"schemas":[],"frameworkSettings":[]},"frontend":{"operations":[],"schemas":[]},"services":{"operations":[]},"boundaries":[]}