public void Execute(ref StagingPatient patient) { Parameters.AddWithValue("@EncounterImportID", patient.EncounterImportID); Parameters.AddWithValue("@Facility", patient.Facility); Parameters.AddWithValue("@FileID", patient.FileID); Parameters.AddWithValue("@JobID", patient.JobID); Parameters.AddWithValue("@PatientID", patient.PatientID); Parameters.AddWithValue("@PatientNumber", patient.PatientNumber); ExecuteNonQuery(); }
public StagingPatient Clone() { StagingPatient result = new StagingPatient(); result.PatientNumber = this.PatientNumber; result.FileID = this.FileID; result.PatientID = this.PatientID; result.JobID = this.JobID; result.EncounterImportID = this.EncounterImportID; result.Facility = this.Facility; result.ClientOrganizationID = this.ClientOrganizationID; return result; }
public void StagingPatientSave(ref StagingPatient patient) { spAddStagingPatientRow proc = new spAddStagingPatientRow(this.ConnectionString); proc.Execute(ref patient); }
public StagingPatient GetPatientValues(Job job) { StagingPatient result = new StagingPatient() { PatientNumber = this.PatientNumber, /*result.ClientOrganizationID = */ EncounterImportID = this.EncounterImportID, Facility = this.Facility, FileID = job.FileID.Value, JobID = job.JobID }; //result.PatientID // return result; }