UserAction – Infusion Update
Home Β» RxWare Developer Site Β» Webhooks Β» UserAction – Infusion Update
ENDPOINT: POST /webhook/user-enrollment
Once the patientβs infusion is updated on the mobile web, RxWare will send the callback to the partner.
Field | Description | Format | Example | Required |
---|---|---|---|---|
event.message | String, 100 max | patient infusion update | β Yes | |
event.supportProgramId | String, 100 max | b1mTs000g35ha2pt | β Yes | |
event.sendDate | Send date in UTC | Datetime {yyyy-mm-ddT hh:mm:ss.sssZ} | 2021-08-23T06:25:00+00:00 | β Yes |
event.status | String, 100 max | success | β Yes | |
event.data.key | String, 100 max | userAction | β Yes | |
event.data.value | String, 100 max | infusionUpdated | β Yes | |
event.patientId | RxWare patient ID | String, 100 max | ha61b9db97350d1 | β Yes |
event.patient.phoneNumber | Patient's mobile phone number | E.164 format | +12565551212 | β Yes |
event.patient.insurance | Can take in multiple objects | Array | No | |
event.patient.insurance.primaryInsurance | Can take in multiple objects | Array | No | |
event.patient.insurance.primaryInsurance.{key} | string | carrier: "Test1" | No | |
event.patient.insurance.secondaryInsurance | Can take in multiple objects | Array | No | |
event.patient.insurance.secondaryInsurance.{key} | string | carrier: "Test1" | No | |
event.patient.infusion | Can take in multiple objects | Array | No | |
event.patient.infusion.infusionDate | Datetime {yyyy-mm-ddT hh:mm:ss.sssZ} or null | 2021-08-23T06:25:00+00:00 | No | |
event.patient.infusion.facilityName | string | testFacility2 | No | |
event.patient.infusion.haveInsuranceUpdate | string | Yes / No | No | |
event.patient.externalIds | Can take in multiple objects | Array | β Yes | |
event.patient.externalIds.source | String, max 100 | Partner | β Yes | |
event.patient.externalIds.sourceId | Partner patient Id(s) | String, max 100 | Id_of_patient_in_partner_system | β Yes |
event.sourceName | String, max 100 | helparound | β Yes | |
event.eventName | String, max 100 | HelpAround.Patient.UserAction | β Yes |
Sample Request
{
"event": {
"message": "patient infusion update",
"supportProgramId": "SupportProgramId",
"sendDate": "2023-03-03T13:25:10.000Z",
"data": {
"key": "userAction",
"value": "infusionUpdated"
},
"status": "success",
"patient": {
"id": "ha1234567890987",
"phoneNumber": "+12099999999",
"insurance": {
"primaryInsurance": {
"carrier": "Test1",
"memberId": "Test1",
"groupNum": "Test1",
"cardname": "Test1",
"cardDob": "2023-02-14T00:00:00.000Z",
"frontPictureImage": "6401ed76640df8ae71013b72",
"backPictureImage": "6401ed770455773a1600f8b2"
},
"secondaryInsurance": {
"carrier": "Test2",
"memberId": "Test2",
"groupNum": "Test2",
"cardname": "Test2",
"cardDob": "2023-01-31T00:00:00.000Z",
"frontPictureImage": "6401ed95640df8ae71013b73",
"backPictureImage": "6401ed95ab1d79262801cf07"
}
},
"infusion": {
"infusionDate": "2023-03-13T00:00:00.000Z",
"facilityName": "testFacility2",
"haveInsuranceUpdate": "Yes"
},
"externalIds": [
{
"source": "partner",
"sourceId": "Id_of_patient_in_partner_system"
}
]
}
},
"sourceName": "helparound",
"eventName": "HelpAround.Patient.UserAction"
}