Claims – PUT (update) claim
PUT claim service rule takes claim JSON as parameter and finds the claim with the Claim ID passed in the JSON. If found, updates with input JSON, adjudicates and then returns the Claim ID in JSON format.
- URL format
- PUT https://[hostname:port]/prweb/PRRestService/healthcareapi/v1/Claims
- Output
{
"Claim ID": "2017299P0000006000",
"methodStatus": "Good"
}
- Key rules
Rule name Rule type Usage Class: PegaHC-Int-Claims PutClaimAPI Service activity Method in REST service to update claim and adjudicate and then return claim ID as response. Claims Service REST REST service rule that identifies the path, parameters, and methods MapToEntityWrapper Data Transform Wrapper DT which calls “MapToEntity” and can be extended for Extension. MapToEntity Data Transform Maps the JSON properties to Claim. PutClaimAPI_Extension Activity Tries to identify the Claim in the system with the given ClaimID in the JSON; then maps claim JSON to PegaClaim work object, merges the incoming claim with the identified claim in the system and calls CE_Main_2 work flow to adjudicate the claim as per the orchestration id mentioned in the JSON and returns Claim ID of the adjudicated claim.
Previous topic Claims – POST (create) claim Next topic Integrating with external data