| _deleted |
varchar(50) |
Source deletion marker. |
‘true’ |
| _ingest_time |
varchar(50) |
Source ingestion time value. |
‘20250115093000’ |
| _primary_key |
varchar(50) |
Source record key value. |
‘12345’ |
| _record_version |
varchar(50) |
Source record version value. |
‘20250115093000’ |
| datedreferral |
datetime |
Datedreferral value. |
‘2025-01-15 09:30:00.000’ |
| direction |
bigint |
Direction value. |
12345 |
| endeddate |
datetime |
Ended date. |
‘2025-01-15 09:30:00.000’ |
| externalreference |
varchar(21) |
Externalreference value. |
‘Example value’ |
| nhs |
bit |
nhs flag. |
1 |
| patientcategoryid |
bigint |
Patient category identifier. |
12345 |
| patientid |
bigint |
Patient identifier. |
12345 |
| receiveddate |
datetime |
Received date. |
‘2025-01-15 09:30:00.000’ |
| referralmadedate |
datetime |
Referralmade date. |
‘2025-01-15 09:30:00.000’ |
| referralmode |
bigint |
Referral mode value. |
12345 |
| referralobservationid |
bigint |
Referral observation identifier. |
12345 |
| referralreason |
nvarchar |
Referral reason value. |
‘Example reason’ |
| referralsourceid |
bigint |
Referral source identifier. |
12345 |
| referrerdisplayname |
varchar(263) |
Referrerdisplay name. |
‘Example name’ |
| referringcareprofessionalstaffgroupcodeid |
bigint |
Referringcareprofessionalstaffgroupcode identifier. |
12345 |
| rejectedreason |
nvarchar |
Rejectedreason value. |
‘Example reason’ |
| servicetypeid |
bigint |
Servicetype identifier. |
12345 |
| servicetyperequested |
bigint |
Servicetyperequested value. |
12345 |
| sourceorganisationid |
bigint |
Source organisation identifier. |
12345 |
| sourceorganisationname |
varchar(100) |
Source organisation name. |
‘CDB-12345’ |
| sourcereferralguid |
varchar(36) |
Source referral GUID. |
‘a1b2c3d4-e5f6-4789-abcd-ef1234567890’ |
| status |
bigint |
Status. |
12345 |
| targetorganisationid |
bigint |
Targetorganisation identifier. |
12345 |
| targetorganisationname |
varchar(100) |
Targetorganisation name. |
‘CDB-12345’ |
| transport |
bigint |
Transport value. |
12345 |
| ubrn |
varchar(13) |
Ubrn value. |
‘000000000000’ |
| urgency |
bigint |
Urgency value. |
12345 |
| organisation |
varchar(500) |
Source organisation value. |
‘CDB-12345’ |