gov.va.medora.mdws.dto.HospitalLocationTO.HospitalLocationTO C# (CSharp) Method

HospitalLocationTO() public method

public HospitalLocationTO ( HospitalLocation mdo ) : System
mdo gov.va.medora.mdo.HospitalLocation
return System
        public HospitalLocationTO(HospitalLocation mdo)
        {
            if (mdo == null)
            {
                return;
            }
            this.id = mdo.Id;
            this.name = mdo.Name;
            this.department = new TaggedText(mdo.Department);
            this.service = new TaggedText(mdo.Service);
            this.specialty = new TaggedText(mdo.Specialty);
            if (mdo.Facility != null)
            {
                this.facility = new SiteTO(mdo.Facility);
            }
            this.building = mdo.Building;
            this.floor = mdo.Floor;
            this.room = mdo.Room;
            this.bed = mdo.Bed;
            this.status = mdo.Status;
            this.phone = mdo.Phone;
            this.appointmentTimestamp = mdo.AppointmentTimestamp;
            this.type = mdo.Type;
            this.physicalLocation = mdo.PhysicalLocation;
        }

Same methods

HospitalLocationTO::HospitalLocationTO ( ) : System
HospitalLocationTO