| Field | Type | Details |
|---|---|---|
| id | string | Primary identifier from the originating payload. |
| name | string | Combined firstName and lastName. |
| file_no | string | Patient chart number (payload.patientId). |
| reference_no | string | External reference (payload.referenceId). |
| nationalId | string | National identifier. |
| details | string | Optional free-form details about the patient. |
| phone | string | Phone number segment before the _ separator, if provided. |
| mobile | string | Phone number segment after the _ separator, if provided. |
| country | string | Country associated with the record. |
| address | string | Street address line. |
| branch_data | object | Branch context (id, name) when available. |
{
"id": "pat_123",
"name": "Jane Doe",
"file_no": "PT-00017",
"reference_no": "REF-883",
"nationalId": "1234567890",
"details": "Primary contact for the family",
"phone": "+1",
"mobile": "5551234567",
"country": "USA",
"address": "42 Ocean Avenue",
"branch_data": {
"id": "br_01",
"name": "Main Branch"
}
}