public adultomayorDto(String v_AdultoMayorId, String v_PersonId, String v_NombreCuidador, String v_EdadCuidador, String v_DniCuidador, String v_MedicamentoFrecuente, String v_InicioRS, String v_NroPs, String v_FechaUR, String v_RC, String v_Parto, String v_Prematuro, String v_Aborto, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, String v_ReaccionAlergica, String v_DescripcionAntecedentes, String v_FlujoVaginal, String v_ObservacionesEmbarazo, personDto person)
 {
     this.v_AdultoMayorId        = v_AdultoMayorId;
     this.v_PersonId             = v_PersonId;
     this.v_NombreCuidador       = v_NombreCuidador;
     this.v_EdadCuidador         = v_EdadCuidador;
     this.v_DniCuidador          = v_DniCuidador;
     this.v_MedicamentoFrecuente = v_MedicamentoFrecuente;
     this.v_InicioRS             = v_InicioRS;
     this.v_NroPs                   = v_NroPs;
     this.v_FechaUR                 = v_FechaUR;
     this.v_RC                      = v_RC;
     this.v_Parto                   = v_Parto;
     this.v_Prematuro               = v_Prematuro;
     this.v_Aborto                  = v_Aborto;
     this.i_IsDeleted               = i_IsDeleted;
     this.i_InsertUserId            = i_InsertUserId;
     this.d_InsertDate              = d_InsertDate;
     this.i_UpdateUserId            = i_UpdateUserId;
     this.d_UpdateDate              = d_UpdateDate;
     this.v_ReaccionAlergica        = v_ReaccionAlergica;
     this.v_DescripcionAntecedentes = v_DescripcionAntecedentes;
     this.v_FlujoVaginal            = v_FlujoVaginal;
     this.v_ObservacionesEmbarazo   = v_ObservacionesEmbarazo;
     this.person                    = person;
 }
 public subscriptionDto(String v_SubscriptionId, String v_PersonId, String v_Subs, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, personDto person)
 {
     this.v_SubscriptionId = v_SubscriptionId;
     this.v_PersonId       = v_PersonId;
     this.v_Subs           = v_Subs;
     this.i_IsDeleted      = i_IsDeleted;
     this.i_InsertUserId   = i_InsertUserId;
     this.d_InsertDate     = d_InsertDate;
     this.i_UpdateUserId   = i_UpdateUserId;
     this.d_UpdateDate     = d_UpdateDate;
     this.person           = person;
 }
 public professionalDto(String v_PersonId, Nullable <Int32> i_ProfessionId, String v_ProfessionalCode, String v_ProfessionalInformation, Byte[] b_SignatureImage, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, Nullable <Int32> i_UpdateNodeId, personDto person)
 {
     this.v_PersonId                = v_PersonId;
     this.i_ProfessionId            = i_ProfessionId;
     this.v_ProfessionalCode        = v_ProfessionalCode;
     this.v_ProfessionalInformation = v_ProfessionalInformation;
     this.b_SignatureImage          = b_SignatureImage;
     this.i_IsDeleted               = i_IsDeleted;
     this.i_InsertUserId            = i_InsertUserId;
     this.d_InsertDate              = d_InsertDate;
     this.i_UpdateUserId            = i_UpdateUserId;
     this.d_UpdateDate              = d_UpdateDate;
     this.i_UpdateNodeId            = i_UpdateNodeId;
     this.person = person;
 }
 public familymedicalantecedentsDto(String v_FamilyMedicalAntecedentsId, String v_PersonId, String v_DiseasesId, Nullable <Int32> i_TypeFamilyId, String v_Comment, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, diseasesDto diseases, personDto person)
 {
     this.v_FamilyMedicalAntecedentsId = v_FamilyMedicalAntecedentsId;
     this.v_PersonId     = v_PersonId;
     this.v_DiseasesId   = v_DiseasesId;
     this.i_TypeFamilyId = i_TypeFamilyId;
     this.v_Comment      = v_Comment;
     this.i_IsDeleted    = i_IsDeleted;
     this.i_InsertUserId = i_InsertUserId;
     this.d_InsertDate   = d_InsertDate;
     this.i_UpdateUserId = i_UpdateUserId;
     this.d_UpdateDate   = d_UpdateDate;
     this.diseases       = diseases;
     this.person         = person;
 }
 public noxioushabitsDto(String v_NoxiousHabitsId, String v_PersonId, Nullable <Int32> i_TypeHabitsId, String v_Frequency, String v_Comment, String v_DescriptionHabit, String v_DescriptionQuantity, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, personDto person)
 {
     this.v_NoxiousHabitsId     = v_NoxiousHabitsId;
     this.v_PersonId            = v_PersonId;
     this.i_TypeHabitsId        = i_TypeHabitsId;
     this.v_Frequency           = v_Frequency;
     this.v_Comment             = v_Comment;
     this.v_DescriptionHabit    = v_DescriptionHabit;
     this.v_DescriptionQuantity = v_DescriptionQuantity;
     this.i_IsDeleted           = i_IsDeleted;
     this.i_InsertUserId        = i_InsertUserId;
     this.d_InsertDate          = d_InsertDate;
     this.i_UpdateUserId        = i_UpdateUserId;
     this.d_UpdateDate          = d_UpdateDate;
     this.person = person;
 }
 public blacklistpersonDto(String v_BlackListPerson, String v_PersonId, String v_Comment, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, Nullable <Int32> i_Status, Nullable <DateTime> d_DateRegister, Nullable <DateTime> d_DateDetection, Nullable <DateTime> d_DateSolution, personDto person)
 {
     this.v_BlackListPerson = v_BlackListPerson;
     this.v_PersonId        = v_PersonId;
     this.v_Comment         = v_Comment;
     this.i_IsDeleted       = i_IsDeleted;
     this.i_InsertUserId    = i_InsertUserId;
     this.d_InsertDate      = d_InsertDate;
     this.i_UpdateUserId    = i_UpdateUserId;
     this.d_UpdateDate      = d_UpdateDate;
     this.i_Status          = i_Status;
     this.d_DateRegister    = d_DateRegister;
     this.d_DateDetection   = d_DateDetection;
     this.d_DateSolution    = d_DateSolution;
     this.person            = person;
 }
Example #7
0
 public embarzoDto(String v_EmbarazoId, String v_PersonId, String v_Anio, String v_Cpn, String v_Complicacion, String v_Parto, String v_PesoRn, String v_Puerpio, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, String v_ObservacionesGestacion, personDto person)
 {
     this.v_EmbarazoId             = v_EmbarazoId;
     this.v_PersonId               = v_PersonId;
     this.v_Anio                   = v_Anio;
     this.v_Cpn                    = v_Cpn;
     this.v_Complicacion           = v_Complicacion;
     this.v_Parto                  = v_Parto;
     this.v_PesoRn                 = v_PesoRn;
     this.v_Puerpio                = v_Puerpio;
     this.i_IsDeleted              = i_IsDeleted;
     this.i_InsertUserId           = i_InsertUserId;
     this.d_InsertDate             = d_InsertDate;
     this.i_UpdateUserId           = i_UpdateUserId;
     this.d_UpdateDate             = d_UpdateDate;
     this.v_ObservacionesGestacion = v_ObservacionesGestacion;
     this.person                   = person;
 }
 public personmedicalhistoryDto(String v_PersonMedicalHistoryId, String v_PersonId, String v_DiseasesId, Nullable <Int32> i_TypeDiagnosticId, Nullable <DateTime> d_StartDate, String v_DiagnosticDetail, String v_TreatmentSite, Nullable <Int32> i_AnswerId, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, diseasesDto diseases, personDto person)
 {
     this.v_PersonMedicalHistoryId = v_PersonMedicalHistoryId;
     this.v_PersonId         = v_PersonId;
     this.v_DiseasesId       = v_DiseasesId;
     this.i_TypeDiagnosticId = i_TypeDiagnosticId;
     this.d_StartDate        = d_StartDate;
     this.v_DiagnosticDetail = v_DiagnosticDetail;
     this.v_TreatmentSite    = v_TreatmentSite;
     this.i_AnswerId         = i_AnswerId;
     this.i_IsDeleted        = i_IsDeleted;
     this.i_InsertUserId     = i_InsertUserId;
     this.d_InsertDate       = d_InsertDate;
     this.i_UpdateUserId     = i_UpdateUserId;
     this.d_UpdateDate       = d_UpdateDate;
     this.diseases           = diseases;
     this.person             = person;
 }
 public notificationDto(String v_NotificationId, String v_OrganizationId, Nullable <DateTime> d_NotificationDate, String v_PersonId, String v_Title, String v_Body, Nullable <Int32> i_TypeNotificationId, Nullable <DateTime> d_ScheduleDate, Nullable <Int32> i_IsRead, Nullable <Int32> i_StateNotificationId, String v_Path, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, personDto person)
 {
     this.v_NotificationId      = v_NotificationId;
     this.v_OrganizationId      = v_OrganizationId;
     this.d_NotificationDate    = d_NotificationDate;
     this.v_PersonId            = v_PersonId;
     this.v_Title               = v_Title;
     this.v_Body                = v_Body;
     this.i_TypeNotificationId  = i_TypeNotificationId;
     this.d_ScheduleDate        = d_ScheduleDate;
     this.i_IsRead              = i_IsRead;
     this.i_StateNotificationId = i_StateNotificationId;
     this.v_Path                = v_Path;
     this.i_IsDeleted           = i_IsDeleted;
     this.i_InsertUserId        = i_InsertUserId;
     this.d_InsertDate          = d_InsertDate;
     this.i_UpdateUserId        = i_UpdateUserId;
     this.d_UpdateDate          = d_UpdateDate;
     this.person                = person;
 }
Example #10
0
 public adolescenteDto(String v_AdolescenteId, String v_PersonId, String v_EdadInicioTrabajo, String v_TipoTrabajo, String v_NroHorasTv, String v_NroHorasJuegos, String v_MenarquiaEspermarquia, String v_EdadInicioRS, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, String v_NombreCuidador, String v_EdadCuidador, String v_DniCuidador, String v_ViveCon, String v_Observaciones, personDto person)
 {
     this.v_AdolescenteId         = v_AdolescenteId;
     this.v_PersonId              = v_PersonId;
     this.v_EdadInicioTrabajo     = v_EdadInicioTrabajo;
     this.v_TipoTrabajo           = v_TipoTrabajo;
     this.v_NroHorasTv            = v_NroHorasTv;
     this.v_NroHorasJuegos        = v_NroHorasJuegos;
     this.v_MenarquiaEspermarquia = v_MenarquiaEspermarquia;
     this.v_EdadInicioRS          = v_EdadInicioRS;
     this.i_IsDeleted             = i_IsDeleted;
     this.i_InsertUserId          = i_InsertUserId;
     this.d_InsertDate            = d_InsertDate;
     this.i_UpdateUserId          = i_UpdateUserId;
     this.d_UpdateDate            = d_UpdateDate;
     this.v_NombreCuidador        = v_NombreCuidador;
     this.v_EdadCuidador          = v_EdadCuidador;
     this.v_DniCuidador           = v_DniCuidador;
     this.v_ViveCon       = v_ViveCon;
     this.v_Observaciones = v_Observaciones;
     this.person          = person;
 }
Example #11
0
 public serviceDto(String v_ServiceId, String v_ProtocolId, String v_PersonId, Nullable <Int32> i_MasterServiceId, Nullable <Int32> i_ServiceStatusId, String v_Motive, Nullable <Int32> i_AptitudeStatusId, Nullable <DateTime> d_ServiceDate, Nullable <DateTime> d_GlobalExpirationDate, Nullable <DateTime> d_ObsExpirationDate, Nullable <Int32> i_FlagAgentId, String v_OrganizationId, String v_LocationId, String v_MainSymptom, Nullable <Int32> i_TimeOfDisease, Nullable <Int32> i_TimeOfDiseaseTypeId, String v_Story, Nullable <Int32> i_DreamId, Nullable <Int32> i_UrineId, Nullable <Int32> i_DepositionId, Nullable <Int32> i_AppetiteId, Nullable <Int32> i_ThirstId, Nullable <DateTime> d_Fur, String v_CatemenialRegime, Nullable <Int32> i_MacId, Nullable <Int32> i_IsNewControl, Nullable <Int32> i_HasMedicalBreakId, Nullable <DateTime> d_MedicalBreakStartDate, Nullable <DateTime> d_MedicalBreakEndDate, String v_GeneralRecomendations, Nullable <Int32> i_DestinationMedicationId, Nullable <Int32> i_TransportMedicationId, Nullable <DateTime> d_StartDateRestriction, Nullable <DateTime> d_EndDateRestriction, Nullable <Int32> i_HasRestrictionId, Nullable <Int32> i_HasSymptomId, Nullable <DateTime> d_UpdateDate, Nullable <DateTime> d_NextAppointment, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <Int32> i_SendToTracking, Nullable <Int32> i_InsertUserMedicalAnalystId, Nullable <Int32> i_UpdateUserMedicalAnalystId, Nullable <DateTime> d_InsertDateMedicalAnalyst, Nullable <DateTime> d_UpdateDateMedicalAnalyst, Nullable <Int32> i_InsertUserOccupationalMedicalId, Nullable <Int32> i_UpdateUserOccupationalMedicaltId, Nullable <DateTime> d_InsertDateOccupationalMedical, Nullable <DateTime> d_UpdateDateOccupationalMedical, Nullable <Int32> i_HazInterconsultationId, String v_Gestapara, String v_Menarquia, Nullable <DateTime> d_PAP, Nullable <DateTime> d_Mamografia, String v_CiruGine, String v_Findings, Nullable <Int32> i_StatusLiquidation, Nullable <Int32> i_ServiceTypeOfInsurance, Nullable <Int32> i_ModalityOfInsurance, Nullable <Int32> i_IsFac, Nullable <Int32> i_InicioEnf, Nullable <Int32> i_CursoEnf, Nullable <Int32> i_Evolucion, String v_ExaAuxResult, String v_ObsStatusService, Nullable <DateTime> d_FechaEntrega, String v_AreaId, String v_FechaUltimoPAP, String v_ResultadosPAP, String v_FechaUltimaMamo, String v_ResultadoMamo, Nullable <Decimal> r_Costo, List <auxiliaryexamDto> auxiliaryexam, List <calendarDto> calendar, List <diagnosticrepositoryDto> diagnosticrepository, List <medicationDto> medication, List <procedurebyserviceDto> procedurebyservice, List <recommendationDto> recommendation, List <restrictionDto> restriction, personDto person, protocolDto protocol, List <servicecomponentDto> servicecomponent, List <servicemultimediaDto> servicemultimedia)
 {
     this.v_ServiceId            = v_ServiceId;
     this.v_ProtocolId           = v_ProtocolId;
     this.v_PersonId             = v_PersonId;
     this.i_MasterServiceId      = i_MasterServiceId;
     this.i_ServiceStatusId      = i_ServiceStatusId;
     this.v_Motive               = v_Motive;
     this.i_AptitudeStatusId     = i_AptitudeStatusId;
     this.d_ServiceDate          = d_ServiceDate;
     this.d_GlobalExpirationDate = d_GlobalExpirationDate;
     this.d_ObsExpirationDate    = d_ObsExpirationDate;
     this.i_FlagAgentId          = i_FlagAgentId;
     this.v_OrganizationId       = v_OrganizationId;
     this.v_LocationId           = v_LocationId;
     this.v_MainSymptom          = v_MainSymptom;
     this.i_TimeOfDisease        = i_TimeOfDisease;
     this.i_TimeOfDiseaseTypeId  = i_TimeOfDiseaseTypeId;
     this.v_Story                            = v_Story;
     this.i_DreamId                          = i_DreamId;
     this.i_UrineId                          = i_UrineId;
     this.i_DepositionId                     = i_DepositionId;
     this.i_AppetiteId                       = i_AppetiteId;
     this.i_ThirstId                         = i_ThirstId;
     this.d_Fur                              = d_Fur;
     this.v_CatemenialRegime                 = v_CatemenialRegime;
     this.i_MacId                            = i_MacId;
     this.i_IsNewControl                     = i_IsNewControl;
     this.i_HasMedicalBreakId                = i_HasMedicalBreakId;
     this.d_MedicalBreakStartDate            = d_MedicalBreakStartDate;
     this.d_MedicalBreakEndDate              = d_MedicalBreakEndDate;
     this.v_GeneralRecomendations            = v_GeneralRecomendations;
     this.i_DestinationMedicationId          = i_DestinationMedicationId;
     this.i_TransportMedicationId            = i_TransportMedicationId;
     this.d_StartDateRestriction             = d_StartDateRestriction;
     this.d_EndDateRestriction               = d_EndDateRestriction;
     this.i_HasRestrictionId                 = i_HasRestrictionId;
     this.i_HasSymptomId                     = i_HasSymptomId;
     this.d_UpdateDate                       = d_UpdateDate;
     this.d_NextAppointment                  = d_NextAppointment;
     this.i_IsDeleted                        = i_IsDeleted;
     this.i_InsertUserId                     = i_InsertUserId;
     this.d_InsertDate                       = d_InsertDate;
     this.i_UpdateUserId                     = i_UpdateUserId;
     this.i_SendToTracking                   = i_SendToTracking;
     this.i_InsertUserMedicalAnalystId       = i_InsertUserMedicalAnalystId;
     this.i_UpdateUserMedicalAnalystId       = i_UpdateUserMedicalAnalystId;
     this.d_InsertDateMedicalAnalyst         = d_InsertDateMedicalAnalyst;
     this.d_UpdateDateMedicalAnalyst         = d_UpdateDateMedicalAnalyst;
     this.i_InsertUserOccupationalMedicalId  = i_InsertUserOccupationalMedicalId;
     this.i_UpdateUserOccupationalMedicaltId = i_UpdateUserOccupationalMedicaltId;
     this.d_InsertDateOccupationalMedical    = d_InsertDateOccupationalMedical;
     this.d_UpdateDateOccupationalMedical    = d_UpdateDateOccupationalMedical;
     this.i_HazInterconsultationId           = i_HazInterconsultationId;
     this.v_Gestapara                        = v_Gestapara;
     this.v_Menarquia                        = v_Menarquia;
     this.d_PAP                              = d_PAP;
     this.d_Mamografia                       = d_Mamografia;
     this.v_CiruGine                         = v_CiruGine;
     this.v_Findings                         = v_Findings;
     this.i_StatusLiquidation                = i_StatusLiquidation;
     this.i_ServiceTypeOfInsurance           = i_ServiceTypeOfInsurance;
     this.i_ModalityOfInsurance              = i_ModalityOfInsurance;
     this.i_IsFac                            = i_IsFac;
     this.i_InicioEnf                        = i_InicioEnf;
     this.i_CursoEnf                         = i_CursoEnf;
     this.i_Evolucion                        = i_Evolucion;
     this.v_ExaAuxResult                     = v_ExaAuxResult;
     this.v_ObsStatusService                 = v_ObsStatusService;
     this.d_FechaEntrega                     = d_FechaEntrega;
     this.v_AreaId                           = v_AreaId;
     this.v_FechaUltimoPAP                   = v_FechaUltimoPAP;
     this.v_ResultadosPAP                    = v_ResultadosPAP;
     this.v_FechaUltimaMamo                  = v_FechaUltimaMamo;
     this.v_ResultadoMamo                    = v_ResultadoMamo;
     this.r_Costo                            = r_Costo;
     this.auxiliaryexam                      = auxiliaryexam;
     this.calendar                           = calendar;
     this.diagnosticrepository               = diagnosticrepository;
     this.medication                         = medication;
     this.procedurebyservice                 = procedurebyservice;
     this.recommendation                     = recommendation;
     this.restriction                        = restriction;
     this.person                             = person;
     this.protocol                           = protocol;
     this.servicecomponent                   = servicecomponent;
     this.servicemultimedia                  = servicemultimedia;
 }
Example #12
0
 public pacientDto(String v_PersonId, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, Nullable <Int32> i_UpdateNodeId, personDto person, List <pacientmultimediadataDto> pacientmultimediadata)
 {
     this.v_PersonId            = v_PersonId;
     this.i_IsDeleted           = i_IsDeleted;
     this.i_InsertUserId        = i_InsertUserId;
     this.d_InsertDate          = d_InsertDate;
     this.i_UpdateUserId        = i_UpdateUserId;
     this.d_UpdateDate          = d_UpdateDate;
     this.i_UpdateNodeId        = i_UpdateNodeId;
     this.person                = person;
     this.pacientmultimediadata = pacientmultimediadata;
 }
Example #13
0
        /// <summary>
        /// Converts this instance of <see cref="personDto"/> to an instance of <see cref="person"/>.
        /// </summary>
        /// <param name="dto"><see cref="personDto"/> to convert.</param>
        public static person ToEntity(this personDto dto)
        {
            if (dto == null)
            {
                return(null);
            }

            var entity = new person();

            entity.v_PersonId           = dto.v_PersonId;
            entity.v_FirstName          = dto.v_FirstName;
            entity.v_FirstLastName      = dto.v_FirstLastName;
            entity.v_SecondLastName     = dto.v_SecondLastName;
            entity.i_DocTypeId          = dto.i_DocTypeId;
            entity.v_DocNumber          = dto.v_DocNumber;
            entity.d_Birthdate          = dto.d_Birthdate;
            entity.v_BirthPlace         = dto.v_BirthPlace;
            entity.i_SexTypeId          = dto.i_SexTypeId;
            entity.i_MaritalStatusId    = dto.i_MaritalStatusId;
            entity.i_LevelOfId          = dto.i_LevelOfId;
            entity.v_TelephoneNumber    = dto.v_TelephoneNumber;
            entity.v_AdressLocation     = dto.v_AdressLocation;
            entity.v_GeografyLocationId = dto.v_GeografyLocationId;
            entity.v_ContactName        = dto.v_ContactName;
            entity.v_EmergencyPhone     = dto.v_EmergencyPhone;
            entity.b_PersonImage        = dto.b_PersonImage;
            entity.v_Mail                     = dto.v_Mail;
            entity.i_BloodGroupId             = dto.i_BloodGroupId;
            entity.i_BloodFactorId            = dto.i_BloodFactorId;
            entity.b_FingerPrintTemplate      = dto.b_FingerPrintTemplate;
            entity.b_RubricImage              = dto.b_RubricImage;
            entity.b_FingerPrintImage         = dto.b_FingerPrintImage;
            entity.t_RubricImageText          = dto.t_RubricImageText;
            entity.v_CurrentOccupation        = dto.v_CurrentOccupation;
            entity.i_DepartmentId             = dto.i_DepartmentId;
            entity.i_ProvinceId               = dto.i_ProvinceId;
            entity.i_DistrictId               = dto.i_DistrictId;
            entity.i_ResidenceInWorkplaceId   = dto.i_ResidenceInWorkplaceId;
            entity.v_ResidenceTimeInWorkplace = dto.v_ResidenceTimeInWorkplace;
            entity.i_TypeOfInsuranceId        = dto.i_TypeOfInsuranceId;
            entity.i_NumberLivingChildren     = dto.i_NumberLivingChildren;
            entity.i_NumberDependentChildren  = dto.i_NumberDependentChildren;
            entity.i_OccupationTypeId         = dto.i_OccupationTypeId;
            entity.v_OwnerName                = dto.v_OwnerName;
            entity.i_NumberLiveChildren       = dto.i_NumberLiveChildren;
            entity.i_NumberDeadChildren       = dto.i_NumberDeadChildren;
            entity.i_IsDeleted                = dto.i_IsDeleted;
            entity.i_InsertUserId             = dto.i_InsertUserId;
            entity.d_InsertDate               = dto.d_InsertDate;
            entity.i_UpdateUserId             = dto.i_UpdateUserId;
            entity.d_UpdateDate               = dto.d_UpdateDate;
            entity.i_InsertNodeId             = dto.i_InsertNodeId;
            entity.i_UpdateNodeId             = dto.i_UpdateNodeId;
            entity.i_Relationship             = dto.i_Relationship;
            entity.v_ExploitedMineral         = dto.v_ExploitedMineral;
            entity.i_AltitudeWorkId           = dto.i_AltitudeWorkId;
            entity.i_PlaceWorkId              = dto.i_PlaceWorkId;

            dto.OnEntity(entity);

            return(entity);
        }
Example #14
0
 /// <summary>
 /// Invoked when <see cref="ToEntity"/> operation is about to return.
 /// </summary>
 /// <param name="entity"><see cref="person"/> converted from <see cref="personDto"/>.</param>
 static partial void OnEntity(this personDto dto, person entity);
Example #15
0
 /// <summary>
 /// Invoked when <see cref="ToDTO"/> operation is about to return.
 /// </summary>
 /// <param name="dto"><see cref="personDto"/> converted from <see cref="person"/>.</param>
 static partial void OnDTO(this person entity, personDto dto);
        /// <summary>
        /// Converts this instance of <see cref="person"/> to an instance of <see cref="personDto"/>.
        /// </summary>
        /// <param name="entity"><see cref="person"/> to convert.</param>
        public static personDto ToDTO(this person entity)
        {
            if (entity == null)
            {
                return(null);
            }

            var dto = new personDto();

            dto.v_PersonId           = entity.v_PersonId;
            dto.v_FirstName          = entity.v_FirstName;
            dto.v_FirstLastName      = entity.v_FirstLastName;
            dto.v_SecondLastName     = entity.v_SecondLastName;
            dto.i_DocTypeId          = entity.i_DocTypeId;
            dto.v_DocNumber          = entity.v_DocNumber;
            dto.d_Birthdate          = entity.d_Birthdate;
            dto.v_BirthPlace         = entity.v_BirthPlace;
            dto.i_SexTypeId          = entity.i_SexTypeId;
            dto.i_MaritalStatusId    = entity.i_MaritalStatusId;
            dto.i_LevelOfId          = entity.i_LevelOfId;
            dto.v_TelephoneNumber    = entity.v_TelephoneNumber;
            dto.v_AdressLocation     = entity.v_AdressLocation;
            dto.v_GeografyLocationId = entity.v_GeografyLocationId;
            dto.v_ContactName        = entity.v_ContactName;
            dto.v_EmergencyPhone     = entity.v_EmergencyPhone;
            dto.b_PersonImage        = entity.b_PersonImage;
            dto.v_Mail                     = entity.v_Mail;
            dto.i_BloodGroupId             = entity.i_BloodGroupId;
            dto.i_BloodFactorId            = entity.i_BloodFactorId;
            dto.b_FingerPrintTemplate      = entity.b_FingerPrintTemplate;
            dto.b_RubricImage              = entity.b_RubricImage;
            dto.b_FingerPrintImage         = entity.b_FingerPrintImage;
            dto.t_RubricImageText          = entity.t_RubricImageText;
            dto.v_CurrentOccupation        = entity.v_CurrentOccupation;
            dto.i_DepartmentId             = entity.i_DepartmentId;
            dto.i_ProvinceId               = entity.i_ProvinceId;
            dto.i_DistrictId               = entity.i_DistrictId;
            dto.i_ResidenceInWorkplaceId   = entity.i_ResidenceInWorkplaceId;
            dto.v_ResidenceTimeInWorkplace = entity.v_ResidenceTimeInWorkplace;
            dto.i_TypeOfInsuranceId        = entity.i_TypeOfInsuranceId;
            dto.i_NumberLivingChildren     = entity.i_NumberLivingChildren;
            dto.i_NumberDependentChildren  = entity.i_NumberDependentChildren;
            dto.i_OccupationTypeId         = entity.i_OccupationTypeId;
            dto.v_OwnerName                = entity.v_OwnerName;
            dto.i_NumberLiveChildren       = entity.i_NumberLiveChildren;
            dto.i_NumberDeadChildren       = entity.i_NumberDeadChildren;
            dto.i_IsDeleted                = entity.i_IsDeleted;
            dto.i_InsertUserId             = entity.i_InsertUserId;
            dto.d_InsertDate               = entity.d_InsertDate;
            dto.i_UpdateUserId             = entity.i_UpdateUserId;
            dto.d_UpdateDate               = entity.d_UpdateDate;
            dto.i_InsertNodeId             = entity.i_InsertNodeId;
            dto.i_UpdateNodeId             = entity.i_UpdateNodeId;
            dto.i_Relationship             = entity.i_Relationship;
            dto.v_ExploitedMineral         = entity.v_ExploitedMineral;
            dto.i_AltitudeWorkId           = entity.i_AltitudeWorkId;
            dto.i_PlaceWorkId              = entity.i_PlaceWorkId;
            dto.v_NroPoliza                = entity.v_NroPoliza;
            dto.v_Deducible                = entity.v_Deducible;
            dto.i_NroHermanos              = entity.i_NroHermanos;
            dto.v_Password                 = entity.v_Password;
            dto.v_Procedencia              = entity.v_Procedencia;
            dto.v_CentroEducativo          = entity.v_CentroEducativo;
            dto.v_Religion                 = entity.v_Religion;
            dto.v_Nacionalidad             = entity.v_Nacionalidad;
            dto.v_ResidenciaAnterior       = entity.v_ResidenciaAnterior;
            dto.v_Subs                     = entity.v_Subs;

            entity.OnDTO(dto);

            return(dto);
        }
Example #17
0
 public calendarDto(String v_CalendarId, String v_PersonId, String v_ServiceId, Nullable <DateTime> d_DateTimeCalendar, Nullable <DateTime> d_CircuitStartDate, Nullable <DateTime> d_EntryTimeCM, Nullable <Int32> i_ServiceTypeId, Nullable <Int32> i_CalendarStatusId, Nullable <Int32> i_ServiceId, String v_ProtocolId, Nullable <Int32> i_NewContinuationId, Nullable <Int32> i_LineStatusId, Nullable <Int32> i_IsVipId, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, personDto person, serviceDto service)
 {
     this.v_CalendarId        = v_CalendarId;
     this.v_PersonId          = v_PersonId;
     this.v_ServiceId         = v_ServiceId;
     this.d_DateTimeCalendar  = d_DateTimeCalendar;
     this.d_CircuitStartDate  = d_CircuitStartDate;
     this.d_EntryTimeCM       = d_EntryTimeCM;
     this.i_ServiceTypeId     = i_ServiceTypeId;
     this.i_CalendarStatusId  = i_CalendarStatusId;
     this.i_ServiceId         = i_ServiceId;
     this.v_ProtocolId        = v_ProtocolId;
     this.i_NewContinuationId = i_NewContinuationId;
     this.i_LineStatusId      = i_LineStatusId;
     this.i_IsVipId           = i_IsVipId;
     this.i_IsDeleted         = i_IsDeleted;
     this.i_InsertUserId      = i_InsertUserId;
     this.d_InsertDate        = d_InsertDate;
     this.i_UpdateUserId      = i_UpdateUserId;
     this.d_UpdateDate        = d_UpdateDate;
     this.person  = person;
     this.service = service;
 }
 public multimediafileDto(String v_MultimediaFileId, String v_PersonId, String v_FileName, Byte[] b_File, Byte[] b_ThumbnailFile, String v_Comment, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, personDto person, List <servicecomponentfieldvaluesmultimediaDto> servicecomponentfieldvaluesmultimedia, List <servicecomponentmultimediaDto> servicecomponentmultimedia, List <servicemultimediaDto> servicemultimedia)
 {
     this.v_MultimediaFileId = v_MultimediaFileId;
     this.v_PersonId         = v_PersonId;
     this.v_FileName         = v_FileName;
     this.b_File             = b_File;
     this.b_ThumbnailFile    = b_ThumbnailFile;
     this.v_Comment          = v_Comment;
     this.i_IsDeleted        = i_IsDeleted;
     this.i_InsertUserId     = i_InsertUserId;
     this.d_InsertDate       = d_InsertDate;
     this.i_UpdateUserId     = i_UpdateUserId;
     this.d_UpdateDate       = d_UpdateDate;
     this.person             = person;
     this.servicecomponentfieldvaluesmultimedia = servicecomponentfieldvaluesmultimedia;
     this.servicecomponentmultimedia            = servicecomponentmultimedia;
     this.servicemultimedia = servicemultimedia;
 }
 public systemuserDto(Int32 i_SystemUserId, String v_PersonId, String v_UserName, String v_Password, String v_SecretQuestion, String v_SecretAnswer, Nullable <DateTime> d_ExpireDate, String v_SystemUserByOrganizationId, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, Nullable <Int32> i_SystemUserTypeId, Nullable <Int32> i_RolVentaId, List <protocolsystemuserDto> protocolsystemuser, List <restrictedwarehouseprofileDto> restrictedwarehouseprofile, personDto person, List <systemusergobalprofileDto> systemusergobalprofile, List <systemuserrolenodeDto> systemuserrolenode)
 {
     this.i_SystemUserId               = i_SystemUserId;
     this.v_PersonId                   = v_PersonId;
     this.v_UserName                   = v_UserName;
     this.v_Password                   = v_Password;
     this.v_SecretQuestion             = v_SecretQuestion;
     this.v_SecretAnswer               = v_SecretAnswer;
     this.d_ExpireDate                 = d_ExpireDate;
     this.v_SystemUserByOrganizationId = v_SystemUserByOrganizationId;
     this.i_IsDeleted                  = i_IsDeleted;
     this.i_InsertUserId               = i_InsertUserId;
     this.d_InsertDate                 = d_InsertDate;
     this.i_UpdateUserId               = i_UpdateUserId;
     this.d_UpdateDate                 = d_UpdateDate;
     this.i_SystemUserTypeId           = i_SystemUserTypeId;
     this.i_RolVentaId                 = i_RolVentaId;
     this.protocolsystemuser           = protocolsystemuser;
     this.restrictedwarehouseprofile   = restrictedwarehouseprofile;
     this.person = person;
     this.systemusergobalprofile = systemusergobalprofile;
     this.systemuserrolenode     = systemuserrolenode;
 }
Example #20
0
 public historyDto(String v_HistoryId, String v_PersonId, Nullable <DateTime> d_StartDate, Nullable <DateTime> d_EndDate, String v_Organization, String v_TypeActivity, Nullable <Int32> i_GeografixcaHeight, String v_workstation, Byte[] b_RubricImage, Byte[] b_FingerPrintImage, String t_RubricImageText, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, Nullable <Int32> i_TypeOperationId, Nullable <Int32> i_TrabajoActual, String v_FechaUltimaMamo, String v_FechaUltimoPAP, String v_ResultadoMamo, String v_ResultadosPAP, personDto person, List <typeofeepDto> typeofeep, List <workstationdangersDto> workstationdangers)
 {
     this.v_HistoryId         = v_HistoryId;
     this.v_PersonId          = v_PersonId;
     this.d_StartDate         = d_StartDate;
     this.d_EndDate           = d_EndDate;
     this.v_Organization      = v_Organization;
     this.v_TypeActivity      = v_TypeActivity;
     this.i_GeografixcaHeight = i_GeografixcaHeight;
     this.v_workstation       = v_workstation;
     this.b_RubricImage       = b_RubricImage;
     this.b_FingerPrintImage  = b_FingerPrintImage;
     this.t_RubricImageText   = t_RubricImageText;
     this.i_IsDeleted         = i_IsDeleted;
     this.i_InsertUserId      = i_InsertUserId;
     this.d_InsertDate        = d_InsertDate;
     this.i_UpdateUserId      = i_UpdateUserId;
     this.d_UpdateDate        = d_UpdateDate;
     this.i_TypeOperationId   = i_TypeOperationId;
     this.i_TrabajoActual     = i_TrabajoActual;
     this.v_FechaUltimaMamo   = v_FechaUltimaMamo;
     this.v_FechaUltimoPAP    = v_FechaUltimoPAP;
     this.v_ResultadoMamo     = v_ResultadoMamo;
     this.v_ResultadosPAP     = v_ResultadosPAP;
     this.person             = person;
     this.typeofeep          = typeofeep;
     this.workstationdangers = workstationdangers;
 }
 public vigilanciaDto(String v_VigilanciaId, String v_PersonId, String v_PlanVigilanciaId, Nullable <Int32> i_WasNotifiedId, Nullable <Int32> i_ConfirmedNotification, String v_Commentary, Nullable <Int32> i_DoctorRespondibleId, Nullable <Int32> i_StateVigilanciaId, Nullable <DateTime> d_StartDate, Nullable <DateTime> d_EndDate, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, planvigilanciaDto planvigilancia, personDto person, List <vigilanciaserviceDto> vigilanciaservice)
 {
     this.v_VigilanciaId          = v_VigilanciaId;
     this.v_PersonId              = v_PersonId;
     this.v_PlanVigilanciaId      = v_PlanVigilanciaId;
     this.i_WasNotifiedId         = i_WasNotifiedId;
     this.i_ConfirmedNotification = i_ConfirmedNotification;
     this.v_Commentary            = v_Commentary;
     this.i_DoctorRespondibleId   = i_DoctorRespondibleId;
     this.i_StateVigilanciaId     = i_StateVigilanciaId;
     this.d_StartDate             = d_StartDate;
     this.d_EndDate         = d_EndDate;
     this.i_IsDeleted       = i_IsDeleted;
     this.i_InsertUserId    = i_InsertUserId;
     this.d_InsertDate      = d_InsertDate;
     this.i_UpdateUserId    = i_UpdateUserId;
     this.d_UpdateDate      = d_UpdateDate;
     this.planvigilancia    = planvigilancia;
     this.person            = person;
     this.vigilanciaservice = vigilanciaservice;
 }
Example #22
0
 public ninioDto(String v_NinioId, String v_PersonId, String v_NombrePadre, String v_EdadPadre, String v_DniPadre, Nullable <Int32> i_TipoAfiliacionPadre, String v_CodigoAfiliacionPadre, Nullable <Int32> i_GradoInstruccionPadre, String v_OcupacionPadre, Nullable <Int32> i_EstadoCivilIdPadre, String v_ReligionPadre, String v_NombreMadre, String v_EdadMadre, String v_DniMadre, Nullable <Int32> i_TipoAfiliacionMadre, String v_CodigoAfiliacionMadre, Nullable <Int32> i_GradoInstruccionMadre, String v_OcupacionMadre, Nullable <Int32> i_EstadoCivilIdMadre1, String v_ReligionMadre, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, String v_NombreCuidador, String v_EdadCuidador, String v_DniCuidador, String v_PatologiasGestacion, String v_nEmbarazos, String v_nAPN, String v_LugarAPN, String v_ComplicacionesParto, String v_Atencion, String v_EdadGestacion, String v_Peso, String v_Talla, String v_PerimetroCefalico, String v_PerimetroToracico, String v_EspecificacionesNac, String v_LME, String v_Mixta, String v_Artificial, String v_InicioAlimentacionComp, String v_AlergiasMedicamentos, String v_OtrosAntecedentes, String v_EspecificacionesAgua, String v_EspecificacionesDesague, String v_TiempoHospitalizacion, String v_QuienTuberculosis, Nullable <Int32> i_QuienTuberculosis, String v_QuienAsma, Nullable <Int32> i_QuienAsma, String v_QuienVIH, Nullable <Int32> i_QuienVIH, String v_QuienDiabetes, Nullable <Int32> i_QuienDiabetes, String v_QuienEpilepsia, Nullable <Int32> i_QuienEpilepsia, String v_QuienAlergias, Nullable <Int32> i_QuienAlergias, String v_QuienViolenciaFamiliar, Nullable <Int32> i_QuienViolenciaFamiliar, String v_QuienAlcoholismo, Nullable <Int32> i_QuienAlcoholismo, String v_QuienDrogadiccion, Nullable <Int32> i_QuienDrogadiccion, String v_QuienHeptitisB, Nullable <Int32> i_QuienHeptitisB, personDto person)
 {
     this.v_NinioId               = v_NinioId;
     this.v_PersonId              = v_PersonId;
     this.v_NombrePadre           = v_NombrePadre;
     this.v_EdadPadre             = v_EdadPadre;
     this.v_DniPadre              = v_DniPadre;
     this.i_TipoAfiliacionPadre   = i_TipoAfiliacionPadre;
     this.v_CodigoAfiliacionPadre = v_CodigoAfiliacionPadre;
     this.i_GradoInstruccionPadre = i_GradoInstruccionPadre;
     this.v_OcupacionPadre        = v_OcupacionPadre;
     this.i_EstadoCivilIdPadre    = i_EstadoCivilIdPadre;
     this.v_ReligionPadre         = v_ReligionPadre;
     this.v_NombreMadre           = v_NombreMadre;
     this.v_EdadMadre             = v_EdadMadre;
     this.v_DniMadre              = v_DniMadre;
     this.i_TipoAfiliacionMadre   = i_TipoAfiliacionMadre;
     this.v_CodigoAfiliacionMadre = v_CodigoAfiliacionMadre;
     this.i_GradoInstruccionMadre = i_GradoInstruccionMadre;
     this.v_OcupacionMadre        = v_OcupacionMadre;
     this.i_EstadoCivilIdMadre1   = i_EstadoCivilIdMadre1;
     this.v_ReligionMadre         = v_ReligionMadre;
     this.i_IsDeleted             = i_IsDeleted;
     this.i_InsertUserId          = i_InsertUserId;
     this.d_InsertDate            = d_InsertDate;
     this.i_UpdateUserId          = i_UpdateUserId;
     this.d_UpdateDate            = d_UpdateDate;
     this.v_NombreCuidador        = v_NombreCuidador;
     this.v_EdadCuidador          = v_EdadCuidador;
     this.v_DniCuidador           = v_DniCuidador;
     this.v_PatologiasGestacion   = v_PatologiasGestacion;
     this.v_nEmbarazos            = v_nEmbarazos;
     this.v_nAPN                = v_nAPN;
     this.v_LugarAPN            = v_LugarAPN;
     this.v_ComplicacionesParto = v_ComplicacionesParto;
     this.v_Atencion            = v_Atencion;
     this.v_EdadGestacion       = v_EdadGestacion;
     this.v_Peso                = v_Peso;
     this.v_Talla               = v_Talla;
     this.v_PerimetroCefalico   = v_PerimetroCefalico;
     this.v_PerimetroToracico   = v_PerimetroToracico;
     this.v_EspecificacionesNac = v_EspecificacionesNac;
     this.v_LME                     = v_LME;
     this.v_Mixta                   = v_Mixta;
     this.v_Artificial              = v_Artificial;
     this.v_InicioAlimentacionComp  = v_InicioAlimentacionComp;
     this.v_AlergiasMedicamentos    = v_AlergiasMedicamentos;
     this.v_OtrosAntecedentes       = v_OtrosAntecedentes;
     this.v_EspecificacionesAgua    = v_EspecificacionesAgua;
     this.v_EspecificacionesDesague = v_EspecificacionesDesague;
     this.v_TiempoHospitalizacion   = v_TiempoHospitalizacion;
     this.v_QuienTuberculosis       = v_QuienTuberculosis;
     this.i_QuienTuberculosis       = i_QuienTuberculosis;
     this.v_QuienAsma               = v_QuienAsma;
     this.i_QuienAsma               = i_QuienAsma;
     this.v_QuienVIH                = v_QuienVIH;
     this.i_QuienVIH                = i_QuienVIH;
     this.v_QuienDiabetes           = v_QuienDiabetes;
     this.i_QuienDiabetes           = i_QuienDiabetes;
     this.v_QuienEpilepsia          = v_QuienEpilepsia;
     this.i_QuienEpilepsia          = i_QuienEpilepsia;
     this.v_QuienAlergias           = v_QuienAlergias;
     this.i_QuienAlergias           = i_QuienAlergias;
     this.v_QuienViolenciaFamiliar  = v_QuienViolenciaFamiliar;
     this.i_QuienViolenciaFamiliar  = i_QuienViolenciaFamiliar;
     this.v_QuienAlcoholismo        = v_QuienAlcoholismo;
     this.i_QuienAlcoholismo        = i_QuienAlcoholismo;
     this.v_QuienDrogadiccion       = v_QuienDrogadiccion;
     this.i_QuienDrogadiccion       = i_QuienDrogadiccion;
     this.v_QuienHeptitisB          = v_QuienHeptitisB;
     this.i_QuienHeptitisB          = i_QuienHeptitisB;
     this.person                    = person;
 }