---
# System prepended metadata

title: Reassign Cases to Camo 2.0 Data

---

# Current Request:
This structure will be the same for when an Admin makes a change to an issue on an In Progress Claim.
```jsonld
{
    "request_issues": [
        // Existing Request Issue
        {
            "request_issue_id": "5636",
            "contested_decision_issue_id": null,
            "benefit_type": "vha",
            "nonrating_issue_category": "Caregiver | Eligibility",
            "decision_text": "Caregiver | Eligibility - test",
            "decision_date": "2024-01-30",
            "vacols_id": null,
            "vacols_sequence_id": null,
            "ineligible_due_to_id": null,
            "ineligible_reason": null,
            "withdrawal_date": null,
            "is_predocket_needed": null,
            "mst_status": false,
            "vbms_mst_status": false,
            "pact_status": false,
            "vbms_pact_status": false
        },
        // New Request Issue
        {
            "benefit_type": "vha",
            "
            _issue_category": "Caregiver | Other",
            "
            ": "Test Text",
            "decision_date": "2024-02-28",
            "ineligible_due_to_id": null,
            "ineligible_reason": null,
            "withdrawal_date": null,
            "is_predocket_needed": null,
            "mst_status": false,
            "pact_status": false
        }
    ]
}
```

When an Admin makes changes to a claim it should follow the same request structure as above.

When an Admin Approves/Rejects a pending request on a claim it should look similar to this



# Non Admin Request
```json!
{
    "request_issues": [
        // Existing Request Issue
        {
            "request_issue_id": "5636",
            ... // Previous values as above
        },
    ],
    "issue_modification_requests": [
        // New issue modification request
        {
            // new fields
            "request_issue_id": "5636",
            "request_type": "Addition",
            "assigned": "assigned",
            "nonrating_issue_category": "Caregiver | Eligibility",
            "decided_decision_text": "New Decision text",
            "decision_date": "2024-01-30",
            "request_reason": "This is my reason."
        },
        // New issue modification request for Withdrawl
        {
            "request_issue_id": "5636",
            // new fields
            "request_type": "Withdrawal",
            "withdrawl_date": "2024-01-30",
            "request_reason": "This is my reason."
        } 
        // New issue modification request For Creation
       {
            // new fields
            "request_type": "Addition"
            "nonrating_issue_category": "Caregiver | Eligibility",
            "decision_review_id": "202",
            "decision_review_type": "HigherLevelReview",
            "benefit_type": "VHA",
            "decision_text": "New Decision text",
            "decision_date": "2024-01-30",
            "request_reason": "This is my reason."
        },
       // New issue modification request For Removal
       {
           "request_issue_id": "5636",
            // new fields
            "request_type": "Removal"
            "request_reason": "This is my reason."
        },
    ]
}
```

# Admin Approval/Rejection of Pending Request
```json!
{
    "request_issues": [
        // Existing Request Issue
        {
            "request_issue_id": "5636",
            ... // Previous values as above
        },
    ],
    "issue_modification_requests": [
        // New issue modification request for Modification
        {
            "request_issue_id": "5636",
            // new fields
            "request_type": "Modification"
            "nonrating_issue_category": "Caregiver | Eligibility",
            "decision_text": "New Decision text",
            "decision_date": "2024-01-30",
            "request_reason": "This is my reason."
            "status:": "approved",
            "remove_original_issue": true,
            
        },
        // New issue modification request for Withdrawl
        {
            "request_issue_id": "5636",
            // new fields
            "request_type": "Withdrawal",
            "withdrawl_request_date": "2024-01-30",
            "request_reason": "This is my reason.",
            "status:": "approved",
        } 
        // New issue modification request For Creation
       {
            // new fields
            "request_type": "Addition"
            "nonrating_issue_category": "Caregiver | Eligibility",
            "decision_text": "New Decision text",
            "decision_date": "2024-01-30",
            "request_reason": "This is my reason.",
            "status:": "approved",
        },
       // New issue modification request For Removal
       {
           "request_issue_id": "5636",
            // new fields
            "request_type": "Removal"
            "request_reason": "This is my reason.",
            "status:": "approved",
        },
    ]
}

```




# HigherLevelReviewsController#update => /higher_level_reviews/:claiment/update

##### If user is Non Admin
- Request type is Addition
﻿-  then a NEW issue modification request is created tide to the decision review id with a status=“assigned" && request_type=“ Addition"
- Request type is Modification 
﻿-   then a NEW issue_modification_request is created tide to the request issue id with a status=“assigned” && request_type=“ Modification"
- Request type is Withdrawal
﻿- then a NEW issue_modification_request is created tide to the request issue id with a status=“assigned” && request_type=“ Withdrawal"
- Request type is Removal
﻿- then a NEW issue_modification_request is created tide to the request issue id with a status=“assigned” && request_type=“removal”

- Edit a non-admin own EXISTING issue modification request of any request type
﻿- pull the the issue_modification_request, requestor_id == current_user_id && status=“assigned”
﻿
- Canceling non-admin own EXISTING issue modification request of any request type
﻿- requestor_id == current_user_id && status=“assigned” then destroy issue_modification_request

```
{
    "request_issues": [
        {
            "request_issue_id": "3239",
            "contested_decision_issue_id": null,
            "benefit_type": "vha",
            "nonrating_issue_category": "Spina Bifida Treatment (Non-Compensation)",
            "decision_text": "Spina Bifida Treatment (Non-Compensation) - Veterans Health Administration Seeded issue",
            "decision_date": "2024-01-07",
            "vacols_id": null,
            "vacols_sequence_id": null,
            "ineligible_due_to_id": null,
            "ineligible_reason": null,
            "withdrawal_date": null,
            "is_predocket_needed": null,
            "mst_status": false,
            "vbms_mst_status": false,
            "pact_status": false,
            "vbms_pact_status": false
        },
        {
            "benefit_type": "vha",
            "nonrating_issue_category": "Caregiver | Eligibility",
            "decision_text": "Make this a very long Issue description Make this a very long Issue description",
            "decision_date": "2024-05-07",
            "ineligible_due_to_id": null,
            "ineligible_reason": null,
            "withdrawal_date": null,
            "is_predocket_needed": null,
            "mst_status": false,
            "pact_status": false
        }
    ],
    "issue_modification_requests": {
        "cancelled": [
            {
                "id": 1,
                "status": "assigned",
            },
            {
                "id": 2,
                "status": "assigned",
            },
            {
                "id": 3,
                "status": "assigned",
            },
            {
                "id": 4,
                "status": "assigned",
            }
        ],
        "edited": [
            {
                "id": 1,
                "nonrating_issue_category": "Caregiver | Other",
                "nonrating_issue_description": "this is editing the exiting issue description text",
                "decision_date": "2024-01-30",
                "request_reason": "This is my reason.",
                "status": "assigned",
            },
            {
                "id": 2,
                "nonrating_issue_category": "Caregiver | Other",
                "nonrating_issue_description": "this is editing the exiting issue description text",
                "decision_date": "2024-01-30",
                "request_reason": "This is my reason.",
                "status": "assigned",
            },
            {
                "id": 3,
                "nonrating_issue_category": "Caregiver | Other",
                "nonrating_issue_description": "this is editing the exiting issue description text",
                "decision_date": "2024-01-30",
                "request_reason": "This is my reason.",
                "status": "assigned",
            },
            {          
                "id": 4,
                "nonrating_issue_category": "Caregiver | Eligibility",
                "nonrating_issue_description": "this is editing the exiting issue description text",
                "decision_date": "2024-01-30",
                "request_reason": "This is my reason.",
                "status": "assigned",
            }
        ],
        "new": [
            {
                "request_type": "Addition",
                "request_issue_id": nil, # request_issue_id is nil when request_type is Addition
                "nonrating_issue_category": "Caregiver | Eligibility",
                "decision_review_id": 169,
                "decision_review_type": "HigherLevelReview",
                "benefit_type": "VHA",
                "decider_reason": "New Decision text",
                "decision_date": "2024-01-30",
                "request_reason": "This is my reason.",
                "requestor_id": 2000006012,
                "status": "assigned",
            },
            {
                "request_type": "Removal",
                "nonrating_issue_category": "Caregiver | Eligibility",
                "request_issue_id": 12, #request_issue_id is !nil when request_type is Removal
                "decision_review_id": 169,
                "issue_request_id": 3239,
                "decision_review_type": "HigherLevelReview",
                "benefit_type": "VHA",
                "decider_reason": "New Decision text",
                "decision_date": "2024-01-30",
                "request_reason": "This is my reason.",
                "requestor_id": 2000006012,
                "status": "assigned",
            },
            {
                "request_type": "Modification",
                "nonrating_issue_category": "Caregiver | Eligibility",
                "request_issue_id": 12, #request_issue_id is !nil when request_type is Modification
                "decision_review_id": 169,
                "issue_request_id": 3239,
                "decision_review_type": "HigherLevelReview",
                "benefit_type": "VHA",
                "decider_reason": "New Decision text",
                "decision_date": "2024-01-30",
                "request_reason": "This is my reason.",
                "requestor_id": 2000006012,
                "status": "assigned",
            },
            {
                "request_type": "Withdrawal",
                "nonrating_issue_category": "Caregiver | Eligibility",
                "request_issue_id": 12, #request_issue_id is !nil when request_type is Withdrawal
                "decision_review_id": 169,
                "issue_request_id": 3239,
                "decision_review_type": "HigherLevelReview",
                "benefit_type": "VHA",
                "decider_reason": "New Decision text",
                "decision_date": "2024-01-30",
                "request_reason": "This is my reason.",
                "requestor_id": 2000006012,
                "status": "assigned",
            }
        ]
    },
    "issue_modification_responses": [ ]
}

```


# HigherLevelReviewsController#update => /higher_level_reviews/:claiment/update

##### If User is Admin


```
{
    "request_issues": [ { } ],
    "issue_modification_responses": [ // This would be the Admin response to non admin requests
        {
            "id": 1,
            "nonrating_issue_description": "this is editing the exiting issue description text",
            "nonrating_issue_category": "Elifibility for Treatment | Other",
            "decision_date": "2024-01-30",
            "request_reason": "This is my reason.",
            "status": "aprroved", or "denied",
            "decision_reason": "decider reason" // nil if status is approved,
            "remove_original_issue": true or false,
            "request_issue_id": 99
        },
        {
            "id": 1,
            "nonrating_issue_description": "this is editing the exiting issue description text",
            "nonrating_issue_category": "Elifibility for Treatment | Other",
            "decision_date": "2024-01-30",
            "request_reason": "This is my reason.",
            "status": "aprroved", or "denied",
            "decision_reason": "decider reason" // nil if status is approved,
            "remove_original_issue": true or false,
            "request_issue_id": 99
        },
        {
            "id": 1,
            "nonrating_issue_description": "this is editing the exiting issue description text",
            "nonrating_issue_category": "Elifibility for Treatment | Other",
            "decision_date": "2024-01-30",
            "request_reason": "This is my reason.",
            "status": "aprroved", or "denied",
            "decision_reason": "decider reason" // nil if status is approved,
            "remove_original_issue": true or false,
            "request_issue_id": 99
        },
        {
            "id": 1,
            "nonrating_issue_description": "this is editing the exiting issue description text",
            "nonrating_issue_category": "Elifibility for Treatment | Other",
            "decision_date": "2024-01-30",
            "request_reason": "This is my reason.",
            "status": "aprroved", or "denied",
            "decision_reason": "decider reason" // nil if status is approved,
            "remove_original_issue": true or false,
            "request_issue_id": 99
        }
    ]
}

```