This entity represents referral sources including referral hospitals and referring doctors. The attached contains the required format for the IReferral.CSV with a sample record.


The Type defines how the sample file handles the data type to produce the correct delimiters for each field. Make sure to change the custom field format if any fields noted as "integer" contain alphanumeric data.

Fields

Field Name 

Required 

Type 

Description 

SiteID 

 

nvarchar(MAX) 

Id of site if more than one site location is being converted 

LastName 

Y 

nvarchar(MAX) 

LastName 

FirstName 

 

nvarchar(MAX) 

FirstName 

MiddleName 

 

nvarchar(MAX) 

MiddleName 

FullName 

 

nvarchar(MAX) 

FullName 

Prefix 

 

nvarchar(MAX) 

Prefix 

IsDeleted 

 

bit 

Defaults to 0 

Inactive 

 

bit 

Defaults to 0 

DoNotContact 

 

bit 

 

EnteredDate 

 

datetime2(7) 

 

EnteredBy 

 

nvarchar(MAX) 

 

ReferralCount 

 

Int 

 

ParentID 

Y 

nvarchar(MAX) 

 

Type 

Y 

nvarchar(MAX) 

 

Key 

 

nvarchar(4000) 

Unique record ID  

PmsID 

 

nvarchar(MAX) 

Unique record ID -can be the same as the [Key]  


Sample File