public servicemultimediaDto(String v_ServiceMultimediaId, String v_ServiceId, String v_MultimediaFileId, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, multimediafileDto multimediafile, serviceDto service)
 {
     this.v_ServiceMultimediaId = v_ServiceMultimediaId;
     this.v_ServiceId           = v_ServiceId;
     this.v_MultimediaFileId    = v_MultimediaFileId;
     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.multimediafile        = multimediafile;
     this.service = service;
 }
Exemple #2
0
 public procedurebyserviceDto(String v_ProcedureByServiceId, String v_ServiceId, Nullable <Int32> i_ProcedureId, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, Nullable <Int32> i_ProcedureTypeId, serviceDto service)
 {
     this.v_ProcedureByServiceId = v_ProcedureByServiceId;
     this.v_ServiceId            = v_ServiceId;
     this.i_ProcedureId          = i_ProcedureId;
     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_ProcedureTypeId      = i_ProcedureTypeId;
     this.service = service;
 }
 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, Nullable <DateTime> d_SalidaCM, 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.d_SalidaCM          = d_SalidaCM;
     this.person  = person;
     this.service = service;
 }
 public diagnosticrepositoryDto(String v_DiagnosticRepositoryId, String v_ServiceId, String v_DiseasesId, String v_ComponentId, String v_ComponentFieldId, Nullable <Int32> i_AutoManualId, Nullable <Int32> i_PreQualificationId, Nullable <Int32> i_FinalQualificationId, Nullable <Int32> i_DiagnosticTypeId, Nullable <Int32> i_IsSentToAntecedent, Nullable <DateTime> d_ExpirationDateDiagnostic, Nullable <Int32> i_GenerateMedicalBreak, String v_Recomendations, Nullable <Int32> i_DiagnosticSourceId, Nullable <Int32> i_ShapeAccidentId, Nullable <Int32> i_BodyPartId, Nullable <Int32> i_ClassificationOfWorkAccidentId, Nullable <Int32> i_RiskFactorId, Nullable <Int32> i_ClassificationOfWorkdiseaseId, Nullable <Int32> i_SendToInterconsultationId, Nullable <Int32> i_InterconsultationDestinationId, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, String v_InterconsultationDestinationId, componentfieldsDto componentfields, diseasesDto diseases, serviceDto service, List <recommendationDto> recommendation, List <restrictionDto> restriction)
 {
     this.v_DiagnosticRepositoryId = v_DiagnosticRepositoryId;
     this.v_ServiceId                      = v_ServiceId;
     this.v_DiseasesId                     = v_DiseasesId;
     this.v_ComponentId                    = v_ComponentId;
     this.v_ComponentFieldId               = v_ComponentFieldId;
     this.i_AutoManualId                   = i_AutoManualId;
     this.i_PreQualificationId             = i_PreQualificationId;
     this.i_FinalQualificationId           = i_FinalQualificationId;
     this.i_DiagnosticTypeId               = i_DiagnosticTypeId;
     this.i_IsSentToAntecedent             = i_IsSentToAntecedent;
     this.d_ExpirationDateDiagnostic       = d_ExpirationDateDiagnostic;
     this.i_GenerateMedicalBreak           = i_GenerateMedicalBreak;
     this.v_Recomendations                 = v_Recomendations;
     this.i_DiagnosticSourceId             = i_DiagnosticSourceId;
     this.i_ShapeAccidentId                = i_ShapeAccidentId;
     this.i_BodyPartId                     = i_BodyPartId;
     this.i_ClassificationOfWorkAccidentId = i_ClassificationOfWorkAccidentId;
     this.i_RiskFactorId                   = i_RiskFactorId;
     this.i_ClassificationOfWorkdiseaseId  = i_ClassificationOfWorkdiseaseId;
     this.i_SendToInterconsultationId      = i_SendToInterconsultationId;
     this.i_InterconsultationDestinationId = i_InterconsultationDestinationId;
     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_InterconsultationDestinationId = v_InterconsultationDestinationId;
     this.componentfields                  = componentfields;
     this.diseases       = diseases;
     this.service        = service;
     this.recommendation = recommendation;
     this.restriction    = restriction;
 }
 public restrictionDto(String v_RestrictionId, String v_DiagnosticRepositoryId, String v_ServiceId, String v_ComponentId, String v_MasterRestrictionId, Nullable <DateTime> d_StartDateRestriction, Nullable <DateTime> d_EndDateRestriction, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <DateTime> d_UpdateDate, Nullable <Int32> i_UpdateUserId, componentDto component, diagnosticrepositoryDto diagnosticrepository, serviceDto service)
 {
     this.v_RestrictionId          = v_RestrictionId;
     this.v_DiagnosticRepositoryId = v_DiagnosticRepositoryId;
     this.v_ServiceId            = v_ServiceId;
     this.v_ComponentId          = v_ComponentId;
     this.v_MasterRestrictionId  = v_MasterRestrictionId;
     this.d_StartDateRestriction = d_StartDateRestriction;
     this.d_EndDateRestriction   = d_EndDateRestriction;
     this.i_IsDeleted            = i_IsDeleted;
     this.i_InsertUserId         = i_InsertUserId;
     this.d_InsertDate           = d_InsertDate;
     this.d_UpdateDate           = d_UpdateDate;
     this.i_UpdateUserId         = i_UpdateUserId;
     this.component            = component;
     this.diagnosticrepository = diagnosticrepository;
     this.service = service;
 }
 public medicationDto(String v_MedicationId, String v_ServiceId, String v_ProductId, String v_ProductName, String v_PresentationName, Nullable <Single> r_Quantity, Nullable <Single> r_QuantityVendida, String v_Doses, Nullable <Int32> i_ViaId, Nullable <Int32> i_SeVendio, Nullable <Int32> i_SeCreoAca, String v_TipoDocVenta, String v_NroDocVenta, Nullable <Decimal> d_PrecioVenta, String v_MedioPago, String v_Vendedor, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, serviceDto service)
 {
     this.v_MedicationId     = v_MedicationId;
     this.v_ServiceId        = v_ServiceId;
     this.v_ProductId        = v_ProductId;
     this.v_ProductName      = v_ProductName;
     this.v_PresentationName = v_PresentationName;
     this.r_Quantity         = r_Quantity;
     this.r_QuantityVendida  = r_QuantityVendida;
     this.v_Doses            = v_Doses;
     this.i_ViaId            = i_ViaId;
     this.i_SeVendio         = i_SeVendio;
     this.i_SeCreoAca        = i_SeCreoAca;
     this.v_TipoDocVenta     = v_TipoDocVenta;
     this.v_NroDocVenta      = v_NroDocVenta;
     this.d_PrecioVenta      = d_PrecioVenta;
     this.v_MedioPago        = v_MedioPago;
     this.v_Vendedor         = v_Vendedor;
     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.service            = service;
 }
Exemple #7
0
 public auxiliaryexamDto(String v_AuxiliaryExamId, String v_ServiceId, String v_ComponentId, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, componentDto component, serviceDto service)
 {
     this.v_AuxiliaryExamId = v_AuxiliaryExamId;
     this.v_ServiceId       = v_ServiceId;
     this.v_ComponentId     = v_ComponentId;
     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.component         = component;
     this.service           = service;
 }
        /// <summary>
        /// Converts this instance of <see cref="serviceDto"/> to an instance of <see cref="service"/>.
        /// </summary>
        /// <param name="dto"><see cref="serviceDto"/> to convert.</param>
        public static service ToEntity(this serviceDto dto)
        {
            if (dto == null)
            {
                return(null);
            }

            var entity = new service();

            entity.v_ServiceId            = dto.v_ServiceId;
            entity.v_ProtocolId           = dto.v_ProtocolId;
            entity.v_PersonId             = dto.v_PersonId;
            entity.i_MasterServiceId      = dto.i_MasterServiceId;
            entity.i_ServiceStatusId      = dto.i_ServiceStatusId;
            entity.v_Motive               = dto.v_Motive;
            entity.i_AptitudeStatusId     = dto.i_AptitudeStatusId;
            entity.d_ServiceDate          = dto.d_ServiceDate;
            entity.d_GlobalExpirationDate = dto.d_GlobalExpirationDate;
            entity.d_ObsExpirationDate    = dto.d_ObsExpirationDate;
            entity.i_FlagAgentId          = dto.i_FlagAgentId;
            entity.v_OrganizationId       = dto.v_OrganizationId;
            entity.v_LocationId           = dto.v_LocationId;
            entity.v_MainSymptom          = dto.v_MainSymptom;
            entity.i_TimeOfDisease        = dto.i_TimeOfDisease;
            entity.i_TimeOfDiseaseTypeId  = dto.i_TimeOfDiseaseTypeId;
            entity.v_Story                            = dto.v_Story;
            entity.i_DreamId                          = dto.i_DreamId;
            entity.i_UrineId                          = dto.i_UrineId;
            entity.i_DepositionId                     = dto.i_DepositionId;
            entity.i_AppetiteId                       = dto.i_AppetiteId;
            entity.i_ThirstId                         = dto.i_ThirstId;
            entity.d_Fur                              = dto.d_Fur;
            entity.v_CatemenialRegime                 = dto.v_CatemenialRegime;
            entity.i_MacId                            = dto.i_MacId;
            entity.i_IsNewControl                     = dto.i_IsNewControl;
            entity.i_HasMedicalBreakId                = dto.i_HasMedicalBreakId;
            entity.d_MedicalBreakStartDate            = dto.d_MedicalBreakStartDate;
            entity.d_MedicalBreakEndDate              = dto.d_MedicalBreakEndDate;
            entity.v_GeneralRecomendations            = dto.v_GeneralRecomendations;
            entity.i_DestinationMedicationId          = dto.i_DestinationMedicationId;
            entity.i_TransportMedicationId            = dto.i_TransportMedicationId;
            entity.d_StartDateRestriction             = dto.d_StartDateRestriction;
            entity.d_EndDateRestriction               = dto.d_EndDateRestriction;
            entity.i_HasRestrictionId                 = dto.i_HasRestrictionId;
            entity.i_HasSymptomId                     = dto.i_HasSymptomId;
            entity.d_UpdateDate                       = dto.d_UpdateDate;
            entity.d_NextAppointment                  = dto.d_NextAppointment;
            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.i_SendToTracking                   = dto.i_SendToTracking;
            entity.i_InsertUserMedicalAnalystId       = dto.i_InsertUserMedicalAnalystId;
            entity.i_UpdateUserMedicalAnalystId       = dto.i_UpdateUserMedicalAnalystId;
            entity.d_InsertDateMedicalAnalyst         = dto.d_InsertDateMedicalAnalyst;
            entity.d_UpdateDateMedicalAnalyst         = dto.d_UpdateDateMedicalAnalyst;
            entity.i_InsertUserOccupationalMedicalId  = dto.i_InsertUserOccupationalMedicalId;
            entity.i_UpdateUserOccupationalMedicaltId = dto.i_UpdateUserOccupationalMedicaltId;
            entity.d_InsertDateOccupationalMedical    = dto.d_InsertDateOccupationalMedical;
            entity.d_UpdateDateOccupationalMedical    = dto.d_UpdateDateOccupationalMedical;
            entity.i_HazInterconsultationId           = dto.i_HazInterconsultationId;
            entity.v_Gestapara                        = dto.v_Gestapara;
            entity.v_Menarquia                        = dto.v_Menarquia;
            entity.d_PAP                              = dto.d_PAP;
            entity.d_Mamografia                       = dto.d_Mamografia;
            entity.v_CiruGine                         = dto.v_CiruGine;
            entity.v_Findings                         = dto.v_Findings;
            entity.i_StatusLiquidation                = dto.i_StatusLiquidation;
            entity.i_ServiceTypeOfInsurance           = dto.i_ServiceTypeOfInsurance;
            entity.i_ModalityOfInsurance              = dto.i_ModalityOfInsurance;
            entity.i_IsFac                            = dto.i_IsFac;
            entity.i_InicioEnf                        = dto.i_InicioEnf;
            entity.i_CursoEnf                         = dto.i_CursoEnf;
            entity.i_Evolucion                        = dto.i_Evolucion;
            entity.v_ExaAuxResult                     = dto.v_ExaAuxResult;

            dto.OnEntity(entity);

            return(entity);
        }
 /// <summary>
 /// Invoked when <see cref="ToEntity"/> operation is about to return.
 /// </summary>
 /// <param name="entity"><see cref="service"/> converted from <see cref="serviceDto"/>.</param>
 static partial void OnEntity(this serviceDto dto, service entity);
 /// <summary>
 /// Invoked when <see cref="ToDTO"/> operation is about to return.
 /// </summary>
 /// <param name="dto"><see cref="serviceDto"/> converted from <see cref="service"/>.</param>
 static partial void OnDTO(this service entity, serviceDto dto);
Exemple #11
0
 public vigilanciaserviceDto(String v_VigilanciaServiceId, String v_VigilanciaId, String v_ServiceId, String v_Commentary, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, vigilanciaDto vigilancia, serviceDto service)
 {
     this.v_VigilanciaServiceId = v_VigilanciaServiceId;
     this.v_VigilanciaId        = v_VigilanciaId;
     this.v_ServiceId           = v_ServiceId;
     this.v_Commentary          = v_Commentary;
     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.vigilancia            = vigilancia;
     this.service = service;
 }
Exemple #12
0
 public servicecomponentDto(String v_ServiceComponentId, String v_ServiceId, String v_ComponentId, Nullable <Int32> i_ServiceComponentStatusId, Nullable <Int32> i_ExternalInternalId, Nullable <Int32> i_ServiceComponentTypeId, Nullable <Int32> i_IsVisibleId, Nullable <Int32> i_IsInheritedId, Nullable <DateTime> d_CalledDate, Nullable <DateTime> d_StartDate, Nullable <DateTime> d_EndDate, Nullable <Int32> i_index, Nullable <Single> r_Price, Nullable <Int32> i_IsInvoicedId, Nullable <Int32> i_IsRequiredId, Nullable <Int32> i_IsManuallyAddedId, Nullable <Int32> i_QueueStatusId, String v_NameOfice, String v_Comment, Nullable <Int32> i_Iscalling, Nullable <Int32> i_IsApprovedId, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, Nullable <Int32> i_ApprovedInsertUserId, Nullable <Int32> i_ApprovedUpdateUserId, Nullable <DateTime> d_ApprovedInsertDate, Nullable <DateTime> d_ApprovedUpdateDate, Nullable <Int32> i_InsertUserMedicalAnalystId, Nullable <Int32> i_UpdateUserMedicalAnalystId, Nullable <DateTime> d_InsertDateMedicalAnalyst, Nullable <DateTime> d_UpdateDateMedicalAnalyst, Nullable <Int32> i_InsertUserTechnicalDataRegisterId, Nullable <Int32> i_UpdateUserTechnicalDataRegisterId, Nullable <DateTime> d_InsertDateTechnicalDataRegister, Nullable <DateTime> d_UpdateDateTechnicalDataRegister, Nullable <Int32> i_Iscalling_1, componentDto component, serviceDto service, List <servicecomponentfieldsDto> servicecomponentfields, List <servicecomponentmultimediaDto> servicecomponentmultimedia)
 {
     this.v_ServiceComponentId       = v_ServiceComponentId;
     this.v_ServiceId                = v_ServiceId;
     this.v_ComponentId              = v_ComponentId;
     this.i_ServiceComponentStatusId = i_ServiceComponentStatusId;
     this.i_ExternalInternalId       = i_ExternalInternalId;
     this.i_ServiceComponentTypeId   = i_ServiceComponentTypeId;
     this.i_IsVisibleId              = i_IsVisibleId;
     this.i_IsInheritedId            = i_IsInheritedId;
     this.d_CalledDate               = d_CalledDate;
     this.d_StartDate                = d_StartDate;
     this.d_EndDate                           = d_EndDate;
     this.i_index                             = i_index;
     this.r_Price                             = r_Price;
     this.i_IsInvoicedId                      = i_IsInvoicedId;
     this.i_IsRequiredId                      = i_IsRequiredId;
     this.i_IsManuallyAddedId                 = i_IsManuallyAddedId;
     this.i_QueueStatusId                     = i_QueueStatusId;
     this.v_NameOfice                         = v_NameOfice;
     this.v_Comment                           = v_Comment;
     this.i_Iscalling                         = i_Iscalling;
     this.i_IsApprovedId                      = i_IsApprovedId;
     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_ApprovedInsertUserId              = i_ApprovedInsertUserId;
     this.i_ApprovedUpdateUserId              = i_ApprovedUpdateUserId;
     this.d_ApprovedInsertDate                = d_ApprovedInsertDate;
     this.d_ApprovedUpdateDate                = d_ApprovedUpdateDate;
     this.i_InsertUserMedicalAnalystId        = i_InsertUserMedicalAnalystId;
     this.i_UpdateUserMedicalAnalystId        = i_UpdateUserMedicalAnalystId;
     this.d_InsertDateMedicalAnalyst          = d_InsertDateMedicalAnalyst;
     this.d_UpdateDateMedicalAnalyst          = d_UpdateDateMedicalAnalyst;
     this.i_InsertUserTechnicalDataRegisterId = i_InsertUserTechnicalDataRegisterId;
     this.i_UpdateUserTechnicalDataRegisterId = i_UpdateUserTechnicalDataRegisterId;
     this.d_InsertDateTechnicalDataRegister   = d_InsertDateTechnicalDataRegister;
     this.d_UpdateDateTechnicalDataRegister   = d_UpdateDateTechnicalDataRegister;
     this.i_Iscalling_1                       = i_Iscalling_1;
     this.component                           = component;
     this.service                             = service;
     this.servicecomponentfields              = servicecomponentfields;
     this.servicecomponentmultimedia          = servicecomponentmultimedia;
 }