dbo.SXAAMVisitTransportation 
Default Table Name  SXAAMVisitTransportation 
Definition  This table maintains relationships between the transportations associated with visits. A visit can have multiple transportations. 

dbo.SXAAMVisitTransportation Columns 
ColumnName  Domain  Datatype  NULL  Definition 
SiteID    smallint  NO  Identifies the unique distributed database ID where the row was inserted. Distributed databases are no longer supported so this column is deprecated. 
Build    int  NO  Identifies the build number and patch level of the software that inserted/updated this row. The format is the Build number followed by 3 digits for the patch level which is typically 000. The build number is tied to specific versions of the software, e.g. Sunrise 15.3 is Build 5021, Sunrise 16.3 is Build 5503. 
TouchedBy    varchar(50)  NO  Information about the user that last updated the row. This will typically be the UserID (IDCode from CV3User table) and may be prefixed with an environment identifier followed by an underscore, e.g. b96d2bf5_jongmore. 
TouchedWhen    datetime  NO  The date and time that the row was last updated and will be based on the Enterprise time zone. 
CreatedBy    varchar(50)  NO  Information about the user that created the row. This will typically be the UserID (IDCode from CV3User table) and may be prefixed with an environment identifier followed by an underscore, e.g. b96d2bf5_jongmore. 
CreatedWhen    datetime  NO  The date and time that the row was created and will be based on the Enterprise time zone. 
Active    bit  NO  Denotes whether the row is active or not, 0 means the row has been soft deleted or deactivated. 
DropOffLocationID(FK)    int  YES  A foreign key to the TransportLocationID column in the SXAAMTransportLocation table. 
PickupLocationID(FK)    int  YES  A foreign key to the TransportLocationID column in the SXAAMTransportLocation table. 
PickupDtm    datetime  YES  Visit TimeZone - Date/time of pickup 
DropOffDtm    datetime  YES  Visit TimeZone - Date/time of drop off 
IsEmergency    tinyint  NO  An enumerated type with the following list of possible values: 0 = [No],1 = [Yes],2 = [Unanswered], 
ReportNumber    varchar(32)  YES  Free-text field identifying ambulatory company 
Note    varchar(60)  YES  Note regarding transportation 
MSrepl_tran_version    uniqueidentifier  NO  Optimistic lock identifier. 
MSReplrowguid    uniqueidentifier  NO  Unique GUID used to support merge replication. 
NumPatientsTransported    int  YES  Number of Patients Transported 
IsCertFormSigned    tinyint  NO  An enumerated type with the following list of possible values: 0 = [No],1 = [Yes],2 = [Unanswered], 
Complaint    varchar(60)  YES  Patient Complaint 
WaitingTimeMin    int  YES  Waiting Time in minutes 
PatientWeight    int  YES  Patient's weight 
RoundTripPurpose    varchar(60)  YES  Round Trip Purpose 
StretcherPurpose    varchar(60)  YES  Stretcher Purpose 
AirPurpose    varchar(60)  YES  Air Transport Purpose 
OrigLocationTypeID(FK)    int  YES  A foreign key to the TransportLocationTypeID column in the SXAAMTransportLocationType table. 
DestLocationTypeID(FK)    int  YES  A foreign key to the TransportLocationTypeID column in the SXAAMTransportLocationType table. 
OrigAddressOverrideGUID(FK)    HVCIDdt  YES  A foreign key to the GUID column in the CV3Address table. 
DestAddressOverrideGUID(FK)    HVCIDdt  YES  A foreign key to the GUID column in the CV3Address table. 
TransportServiceID(FK)    int  YES  A foreign key to the TransportServiceID column in the SXAAMTransportService table. 
TransportTripTypeID    int  YES  The Transport Trip Type 
TransportReasonID(FK)    int  YES  A foreign key to the TransportReasonID column in the SXAAMTransportReason table. 
IsMedicallyNecessary    tinyint  NO  An enumerated type with the following list of possible values: 0 = [No],1 = [Yes],2 = [Unanswered], 
Distance    numeric(4, 1)  YES  The distance traveled 
ClientVisitGUID(PK)(FK)    HVCIDdt  NO  A foreign key to the ClientVisitGUID column in the SXAAMVisitRegistration table. 

dbo.SXAAMVisitTransportation Primary and Unique Keys 
Key Name  Key Type  Keys 
SXAAMVisitTransportationPK  PrimaryKey  ClientVisitGUID