コード例 #1
0
 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();
 }
コード例 #2
0
 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;
 }
コード例 #3
0
 public void StagingPatientSave(ref StagingPatient patient)
 {
     spAddStagingPatientRow proc = new spAddStagingPatientRow(this.ConnectionString);
     proc.Execute(ref patient);
 }
コード例 #4
0
        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;
        }