Bodily injury points
-
InjuryPoint
, which is a typekey to theBodilyInjuryPoints
typelist and which identifies the location of the injury -
InjurySeverity
, which is a typekey to theDamageSeverity
typelist and which optionally identifies the severity of the injury
Querying for bodily injury points
Use the following endpoints for query for the bodily injury points on an injury incident.
-
GET /claim/v1/claims/{claimId}/injury-incidents/{incidentId}/ bodily-injury-points
-
GET /claim/v1//claims/{claimId}/injury-incidents/{incidentId}/ bodily-injury-points/{bodilyInjuryPointId}
For example, the following request retrieves the bodily injury points for injury incident cc:3030 on claim demo_sample:1.
Command
GET /claim/v1/claims/demo_sample:1/injury-incidents/cc:3030/bodily-injury-points
Response
{
"count": 1,
"data": [
{
"attributes": {
"injuryPoint": {
"code": "hf_mouth",
"name": "Mouth"
},
"injurySeverity": {
"code": "moderate",
"name": "Moderate"
},
"id": "cc:SoYoLeedQxl8CMuJQw9t0"
},
...
}
],
...
}
Creating bodily injury points
Use the following endpoint to create a bodily injury point:
-
POST /claim/v1/claims/{claimId}/injury-incidents/{incidentId}/ bodily-injury-points
The only required field is injuryPoint
.
injuryPoint
value and the optional
injurySeverity
value.Command
POST /claim/v1/claims/demo_sample:1/injury-incidents/cc:2020/bodily-injury-points
Request
{
"data": {
"attributes": {
"injuryPoint": {
"code": "bfl_arm"
},
"injurySeverity": {
"code": "moderate"
}
}
}
}
PATCHing and DELETEing bodily injury points
Use the following endpoint to PATCH an existing bodily injury point:
-
PATCH /claim/v1/claims/{claimId}/injury-incidents/{incidentId}/ bodily-injury-points/{bodilyInjuryPointId}
For example, the following request modifies the severity of bodily injury point cc:8888 for injury cc:2020 on claim demo_sample:1.
Command
PATCH /claim/v1/claims/demo_sample:1/injury-incidents/cc:2020/bodily-injury-points/cc:8888
Request
{
"data": {
"attributes": {
"injurySeverity": {
"code": "severe"
}
}
}
}
Use the following endpoint to DELETE an existing bodily injury point:
-
DELETE /claim/v1/claims/{claimId}/injury-incidents/{incidentId}/ bodily-injury-points/{bodilyInjuryPointId}
For example, the following request deletes bodily injury point cc:8888 for injury cc:2020 on claim demo_sample:1.
Command
DELETE /claim/v1/claims/demo_sample:1/injury-incidents/cc:2020/bodily-injury-points/cc:8888