| _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’ |
| appointmentpreferences |
nvarchar |
Appointmentpreferences value. |
‘Example value’ |
| dischargenotes |
nvarchar |
Discharge notes. |
‘Example text’ |
| dischargeorrejectionreasonid |
bigint |
Dischargeorrejectionreason identifier. |
12345 |
| dischargereasonid |
bigint |
Discharge reason identifier. |
12345 |
| dischargereasonterm |
varchar(510) |
Discharge reason term value. |
‘Example reason’ |
| enddate |
datetime |
End date. |
‘2025-01-15 09:30:00.000’ |
| episodeid |
bigint |
Episode identifier. |
12345 |
| episodestatusid |
bigint |
Episode status identifier. |
12345 |
| episodetitleid |
bigint |
Episode title identifier. |
12345 |
| guid |
varchar(36) |
GUID. |
‘a1b2c3d4-e5f6-4789-abcd-ef1234567890’ |
| isactive |
bit |
isactive flag. |
1 |
| notes |
nvarchar |
Notes. |
‘Example text’ |
| parentepisodeid |
bigint |
Parent episode identifier. |
12345 |
| patientid |
bigint |
Patient identifier. |
12345 |
| patientscheduleid |
bigint |
Patient schedule identifier. |
12345 |
| referraldate |
datetime |
Referral date. |
‘2025-01-15 09:30:00.000’ |
| referraldatepart |
bigint |
Referraldatepart value. |
12345 |
| referralid |
bigint |
Referral identifier. |
12345 |
| referralurgency |
bigint |
Referralurgency value. |
12345 |
| startdate |
datetime |
Start date. |
‘2025-01-15 09:30:00.000’ |
| organisation |
varchar(500) |
Source organisation value. |
‘CDB-12345’ |