示例#1
0
 public protocolsystemuserDto(String v_ProtocolSystemUserId, Int32 i_SystemUserId, String v_ProtocolId, Nullable <Int32> i_ApplicationHierarchyId, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, systemuserDto systemuser, applicationhierarchyDto applicationhierarchy, protocolDto protocol)
 {
     this.v_ProtocolSystemUserId   = v_ProtocolSystemUserId;
     this.i_SystemUserId           = i_SystemUserId;
     this.v_ProtocolId             = v_ProtocolId;
     this.i_ApplicationHierarchyId = i_ApplicationHierarchyId;
     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.systemuser           = systemuser;
     this.applicationhierarchy = applicationhierarchy;
     this.protocol             = protocol;
 }
示例#2
0
 public serviceorderdetailDto(String v_ServiceOrderDetailId, String v_ServiceOrderId, String v_ProtocolId, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, Nullable <Single> r_ProtocolPrice, Nullable <Int32> i_NumberOfWorkerProtocol, Nullable <Single> r_Total, serviceorderDto serviceorder, protocolDto protocol)
 {
     this.v_ServiceOrderDetailId   = v_ServiceOrderDetailId;
     this.v_ServiceOrderId         = v_ServiceOrderId;
     this.v_ProtocolId             = v_ProtocolId;
     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.r_ProtocolPrice          = r_ProtocolPrice;
     this.i_NumberOfWorkerProtocol = i_NumberOfWorkerProtocol;
     this.r_Total      = r_Total;
     this.serviceorder = serviceorder;
     this.protocol     = protocol;
 }
 public protocolcomponentDto(String v_ProtocolComponentId, String v_ProtocolId, String v_ComponentId, Nullable <Single> r_Price, Nullable <Int32> i_OperatorId, Nullable <Int32> i_Age, Nullable <Int32> i_GenderId, Nullable <Int32> i_IsConditionalId, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, Nullable <Int32> i_IsConditionalIMC, Nullable <Decimal> r_Imc, componentDto component, protocolDto protocol)
 {
     this.v_ProtocolComponentId = v_ProtocolComponentId;
     this.v_ProtocolId          = v_ProtocolId;
     this.v_ComponentId         = v_ComponentId;
     this.r_Price            = r_Price;
     this.i_OperatorId       = i_OperatorId;
     this.i_Age              = i_Age;
     this.i_GenderId         = i_GenderId;
     this.i_IsConditionalId  = i_IsConditionalId;
     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_IsConditionalIMC = i_IsConditionalIMC;
     this.r_Imc              = r_Imc;
     this.component          = component;
     this.protocol           = protocol;
 }
示例#4
0
        /// <summary>
        /// Converts this instance of <see cref="protocol"/> to an instance of <see cref="protocolDto"/>.
        /// </summary>
        /// <param name="entity"><see cref="protocol"/> to convert.</param>
        public static protocolDto ToDTO(this protocol entity)
        {
            if (entity == null)
            {
                return(null);
            }

            var dto = new protocolDto();

            dto.v_ProtocolId                = entity.v_ProtocolId;
            dto.v_Name                      = entity.v_Name;
            dto.v_EmployerOrganizationId    = entity.v_EmployerOrganizationId;
            dto.v_EmployerLocationId        = entity.v_EmployerLocationId;
            dto.i_EsoTypeId                 = entity.i_EsoTypeId;
            dto.v_GroupOccupationId         = entity.v_GroupOccupationId;
            dto.v_CustomerOrganizationId    = entity.v_CustomerOrganizationId;
            dto.v_CustomerLocationId        = entity.v_CustomerLocationId;
            dto.v_NombreVendedor            = entity.v_NombreVendedor;
            dto.v_WorkingOrganizationId     = entity.v_WorkingOrganizationId;
            dto.v_WorkingLocationId         = entity.v_WorkingLocationId;
            dto.v_CostCenter                = entity.v_CostCenter;
            dto.i_MasterServiceTypeId       = entity.i_MasterServiceTypeId;
            dto.i_MasterServiceId           = entity.i_MasterServiceId;
            dto.i_HasVigency                = entity.i_HasVigency;
            dto.i_ValidInDays               = entity.i_ValidInDays;
            dto.i_IsActive                  = entity.i_IsActive;
            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.v_AseguradoraOrganizationId = entity.v_AseguradoraOrganizationId;

            entity.OnDTO(dto);

            return(dto);
        }
示例#5
0
        /// <summary>
        /// Converts this instance of <see cref="protocolDto"/> to an instance of <see cref="protocol"/>.
        /// </summary>
        /// <param name="dto"><see cref="protocolDto"/> to convert.</param>
        public static protocol ToEntity(this protocolDto dto)
        {
            if (dto == null)
            {
                return(null);
            }

            var entity = new protocol();

            entity.v_ProtocolId             = dto.v_ProtocolId;
            entity.v_Name                   = dto.v_Name;
            entity.v_EmployerOrganizationId = dto.v_EmployerOrganizationId;
            entity.v_EmployerLocationId     = dto.v_EmployerLocationId;
            entity.i_EsoTypeId              = dto.i_EsoTypeId;
            entity.v_GroupOccupationId      = dto.v_GroupOccupationId;
            entity.v_CustomerOrganizationId = dto.v_CustomerOrganizationId;
            entity.v_CustomerLocationId     = dto.v_CustomerLocationId;
            entity.v_NombreVendedor         = dto.v_NombreVendedor;
            entity.v_WorkingOrganizationId  = dto.v_WorkingOrganizationId;
            entity.v_WorkingLocationId      = dto.v_WorkingLocationId;
            entity.v_CostCenter             = dto.v_CostCenter;
            entity.i_MasterServiceTypeId    = dto.i_MasterServiceTypeId;
            entity.i_MasterServiceId        = dto.i_MasterServiceId;
            entity.i_HasVigency             = dto.i_HasVigency;
            entity.i_ValidInDays            = dto.i_ValidInDays;
            entity.i_IsActive               = dto.i_IsActive;
            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;

            dto.OnEntity(entity);

            return(entity);
        }
示例#6
0
 /// <summary>
 /// Invoked when <see cref="ToEntity"/> operation is about to return.
 /// </summary>
 /// <param name="entity"><see cref="protocol"/> converted from <see cref="protocolDto"/>.</param>
 static partial void OnEntity(this protocolDto dto, protocol entity);
示例#7
0
 /// <summary>
 /// Invoked when <see cref="ToDTO"/> operation is about to return.
 /// </summary>
 /// <param name="dto"><see cref="protocolDto"/> converted from <see cref="protocol"/>.</param>
 static partial void OnDTO(this protocol entity, protocolDto dto);
示例#8
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;
 }