Typical basic workers' comp claim: Example
The following is an example of the more typical workers' comp claim. It includes information that is not required but is often known at First Report of Injury (FROI). It also triggers the creation of all three types of exposures: injury, lost wages, and employer liability. Once again, this example uses policy 32-300869, which is part of the sample data.
Command
POST /composite/v1/composite
Request payload
{
"requests": [
{
"body": {
"data": {
"attributes": {
"accidentType": {
"code": "25"
},
"dateReportedToEmployer": "2024-06-09",
"description": "WC Claim",
"employmentInjury": true,
"lobCode": {
"code": "WorkersCompLine"
},
"reportedDate": "2024-06-09",
"lossCause": {
"code": "fall"
},
"lossDate": "2024-06-09",
"policyNumber": "32-300869",
"lossLocation": {
"addressLine1": "1111 Accident Dr",
"city": "San Mateo",
"postalCode": "94403",
"state": {
"code": "CA"
}
},
"workersCompInfo": {
"timeLossReport": true,
"deathReport": false,
"medicalReport": true,
"employerLiability_Ext": true
},
"employmentData": {
"numberOfDaysWorked": "5.8",
"numberOfHoursWorked": "8.6",
"wageAmount": {
"amount": "748.20",
"currency": "usd"
},
"payPeriod": {
"code": "weekly"
}
},
"examinationDate": "2024-06-09",
"treatmentRendered": "This patient had a very bad fall"
}
}
},
"method": "post",
"uri": "/claim/v1/claims",
"vars": [
{
"name": "claimId",
"path": "$.data.attributes.id"
}
]
},
{
"body": {
"data": {
"attributes": {
"firstName": "Sue",
"lastName": "Sarcosky",
"contactSubtype": "Person"
}
}
},
"method": "post",
"uri": "/claim/v1/claims/${claimId}/contacts",
"vars": [
{
"name": "sueId",
"path": "$.data.attributes.id"
}
]
},
{
"body": {
"data": {
"attributes": {
"firstName": "Jennifer",
"lastName": "Albee",
"contactSubtype": "Person",
"homePhone": {
"countryCode": {
"code": "US"
},
"number": "8184461206"
},
"primaryAddress": {
"addressLine1": "354 Cactus Ln",
"city": "Tucson",
"postalCode": "85716",
"state": {
"code": "AZ"
}
}
}
}
},
"method": "post",
"uri": "/claim/v1/claims/${claimId}/contacts",
"vars": [
{
"name": "jenniferId",
"path": "$.data.attributes.id"
}
]
},
{
"body": {
"data": {
"attributes": {
"firstName": "Gregory",
"lastName": "House",
"emailAddress1": "0000@guidewire.com",
"primaryAddress": {
"addressLine1": "1111 Hospital Rd,",
"city": "Princeton",
"postalCode": "08540",
"state": {
"code": "NJ"
}
},
"contactSubtype": "Doctor",
"workPhone": {
"countryCode": {
"code": "US"
},
"number": "704-434-2008"
}
}
}
},
"method": "post",
"uri": "/claim/v1/claims/${claimId}/contacts",
"vars": [
{
"name": "doctorId",
"path": "$.data.attributes.id"
}
]
},
{
"body": {
"data": {
"attributes": {
"reporter": {
"id": "${sueId}"
},
"mainContact": {
"id": "${jenniferId}"
},
"claimant": {
"id": "${jenniferId}"
},
"firstIntakeDoctor": {
"id": "${doctorId}"
},
"reportedByType": {
"code": "hrrep"
},
"mainContactType": {
"code": "claimant"
}
}
}
},
"method": "patch",
"uri": "/claim/v1/claims/${claimId}"
},
{
"body": {
"data": {
"attributes": {
"mainWorkersCompIncident": true,
"description": "This was an injury",
"generalInjuryType": {
"code": "specific"
},
"detailedInjuryType": {
"code": "07"
},
"bodyParts": [
{
"primaryBodyPart": {
"code": "head"
},
"detailedBodyPart": {
"code": "10"
},
"sideOfBody": {
"code": "left"
}
}
]
}
}
},
"method": "post",
"uri": "/claim/v1/claims/${claimId}/injury-incidents"
},
{
"method": "post",
"uri": "/claim/v1/claims/${claimId}/submit"
}
]
}