C# Class MdwsDemo.dao.soap.SchedulingDao

Inheritance: ISchedulingDao
ファイルを表示 Open project: monkeyglasses/MDWS-Demo Class Usage Examples

Public Methods

Method Description
SchedulingDao ( ) : System
SchedulingDao ( System emrSvcCookieContainer ) : System

This constructor can be used when the need to share sessions among facades is enountered. For example, calling addDataSource on EmrSvc and then switching to use calls on this facade.

connectAndLogin ( string sitecode, string username, string password ) : UserTO

Connect to a Vista and authenticate the user

disconnect ( ) : void

Disconnect all Vista connections - never throw an error

getAppointmentTypes ( string target ) : IList

Returns a list of the valid appointment types that can be scheduled. The list begins at the alphabetical search point of target

getClinicSchedulingDetails ( string clinicId ) : HospitalLocationTO

Returns the object that contains detailed info (scheduling start time, appointment length, availability info, etc) for a clinic's schedule

getClinics ( string target ) : IList

Get clinics starting search at target name

getPatientsByClinic ( string clinicId, string startDate, string stopDate ) : IList

Retrieve patients with a scheduled appointment in a clinic. Notice: data structure may be modified to accomodate appointment information

getSites ( ) : RegionArray
makeAppointment ( string pid, string clinicId, string apptTimestamp, string category, string subCategory, string apptLength, string apptType ) : AppointmentTO
makeAppointmentEsb ( string appointmentDate, string appointmentLength, string clinicIen, string patientIen, string patientSsn ) : esb.appointmentResponse

Private Methods

Method Description
selectPatient ( string pid ) : PatientTO

Method Details

SchedulingDao() public method

public SchedulingDao ( ) : System
return System

SchedulingDao() public method

This constructor can be used when the need to share sessions among facades is enountered. For example, calling addDataSource on EmrSvc and then switching to use calls on this facade.
public SchedulingDao ( System emrSvcCookieContainer ) : System
emrSvcCookieContainer System The CookieContainer from the EmrSvc facade (could be from other facades also)
return System

connectAndLogin() public method

Connect to a Vista and authenticate the user
public connectAndLogin ( string sitecode, string username, string password ) : UserTO
sitecode string User's site ID (getVHA returns a list of site IDs)
username string User's access code
password string User's verify code
return MdwsDemo.scheduling.UserTO

disconnect() public method

Disconnect all Vista connections - never throw an error
public disconnect ( ) : void
return void

getAppointmentTypes() public method

Returns a list of the valid appointment types that can be scheduled. The list begins at the alphabetical search point of target
public getAppointmentTypes ( string target ) : IList
target string The alphabetical start point for the appointment type search
return IList

getClinicSchedulingDetails() public method

Returns the object that contains detailed info (scheduling start time, appointment length, availability info, etc) for a clinic's schedule
public getClinicSchedulingDetails ( string clinicId ) : HospitalLocationTO
clinicId string Clinic's ID
return MdwsDemo.scheduling.HospitalLocationTO

getClinics() public method

Get clinics starting search at target name
public getClinics ( string target ) : IList
target string The alphabetical starting point for the clinic list
return IList

getPatientsByClinic() public method

Retrieve patients with a scheduled appointment in a clinic. Notice: data structure may be modified to accomodate appointment information
public getPatientsByClinic ( string clinicId, string startDate, string stopDate ) : IList
clinicId string Clinic's ID
startDate string Beginning date
stopDate string Stop date
return IList

getSites() public method

public getSites ( ) : RegionArray
return MdwsDemo.scheduling.RegionArray

makeAppointment() public method

public makeAppointment ( string pid, string clinicId, string apptTimestamp, string category, string subCategory, string apptLength, string apptType ) : AppointmentTO
pid string
clinicId string
apptTimestamp string
category string
subCategory string
apptLength string
apptType string
return MdwsDemo.scheduling.AppointmentTO

makeAppointmentEsb() public method

public makeAppointmentEsb ( string appointmentDate, string appointmentLength, string clinicIen, string patientIen, string patientSsn ) : esb.appointmentResponse
appointmentDate string
appointmentLength string
clinicIen string
patientIen string
patientSsn string
return esb.appointmentResponse