Exemplo n.º 1
0
 public planvigilanciadiseasesDto(String v_PlanVigilanciaDiseasesId, String v_PlanVigilanciaId, String v_DiseasesId, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, planvigilanciaDto planvigilancia, diseasesDto diseases)
 {
     this.v_PlanVigilanciaDiseasesId = v_PlanVigilanciaDiseasesId;
     this.v_PlanVigilanciaId         = v_PlanVigilanciaId;
     this.v_DiseasesId   = v_DiseasesId;
     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.diseases       = diseases;
 }
Exemplo n.º 2
0
        /// <summary>
        /// Converts this instance of <see cref="diseases"/> to an instance of <see cref="diseasesDto"/>.
        /// </summary>
        /// <param name="entity"><see cref="diseases"/> to convert.</param>
        public static diseasesDto ToDTO(this diseases entity)
        {
            if (entity == null)
            {
                return(null);
            }

            var dto = new diseasesDto();

            dto.v_DiseasesId   = entity.v_DiseasesId;
            dto.v_CIE10Id      = entity.v_CIE10Id;
            dto.v_Name         = entity.v_Name;
            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;

            entity.OnDTO(dto);

            return(dto);
        }
Exemplo n.º 3
0
        /// <summary>
        /// Converts this instance of <see cref="diseasesDto"/> to an instance of <see cref="diseases"/>.
        /// </summary>
        /// <param name="dto"><see cref="diseasesDto"/> to convert.</param>
        public static diseases ToEntity(this diseasesDto dto)
        {
            if (dto == null)
            {
                return(null);
            }

            var entity = new diseases();

            entity.v_DiseasesId   = dto.v_DiseasesId;
            entity.v_CIE10Id      = dto.v_CIE10Id;
            entity.v_Name         = dto.v_Name;
            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);
        }
Exemplo n.º 4
0
 /// <summary>
 /// Invoked when <see cref="ToEntity"/> operation is about to return.
 /// </summary>
 /// <param name="entity"><see cref="diseases"/> converted from <see cref="diseasesDto"/>.</param>
 static partial void OnEntity(this diseasesDto dto, diseases entity);
Exemplo n.º 5
0
 /// <summary>
 /// Invoked when <see cref="ToDTO"/> operation is about to return.
 /// </summary>
 /// <param name="dto"><see cref="diseasesDto"/> converted from <see cref="diseases"/>.</param>
 static partial void OnDTO(this diseases entity, diseasesDto dto);
 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;
 }
Exemplo n.º 7
0
 public dxfrecuenteDto(String v_DxFrecuenteId, String v_DiseasesId, String v_CIE10Id, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, cie10Dto cie10, diseasesDto diseases, List <dxfrecuentedetalleDto> dxfrecuentedetalle)
 {
     this.v_DxFrecuenteId    = v_DxFrecuenteId;
     this.v_DiseasesId       = v_DiseasesId;
     this.v_CIE10Id          = v_CIE10Id;
     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.cie10              = cie10;
     this.diseases           = diseases;
     this.dxfrecuentedetalle = dxfrecuentedetalle;
 }
Exemplo n.º 8
0
 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, Nullable <Int32> i_SoloAnio, String nombreHospital, String v_Complicaciones, 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.i_SoloAnio         = i_SoloAnio;
     this.NombreHospital     = nombreHospital;
     this.v_Complicaciones   = v_Complicaciones;
     this.diseases           = diseases;
     this.person             = person;
 }
Exemplo n.º 9
0
 public componentfieldvaluesDto(String v_ComponentFieldValuesId, String v_Diseases, String v_ComponentFieldId, String v_AnalyzingValue1, String v_AnalyzingValue2, Nullable <Int32> i_OperatorId, String v_LegalStandard, Nullable <Int32> i_IsAnormal, Nullable <Int32> i_ValidationMonths, Nullable <Int32> i_GenderId, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, componentfieldDto componentfield, diseasesDto diseases, List <componentfieldvaluesrecommendationDto> componentfieldvaluesrecommendation, List <componentfieldvaluesrestrictionDto> componentfieldvaluesrestriction, List <servicecomponentfieldvaluesDto> servicecomponentfieldvalues)
 {
     this.v_ComponentFieldValuesId = v_ComponentFieldValuesId;
     this.v_Diseases         = v_Diseases;
     this.v_ComponentFieldId = v_ComponentFieldId;
     this.v_AnalyzingValue1  = v_AnalyzingValue1;
     this.v_AnalyzingValue2  = v_AnalyzingValue2;
     this.i_OperatorId       = i_OperatorId;
     this.v_LegalStandard    = v_LegalStandard;
     this.i_IsAnormal        = i_IsAnormal;
     this.i_ValidationMonths = i_ValidationMonths;
     this.i_GenderId         = i_GenderId;
     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.componentfield     = componentfield;
     this.diseases           = diseases;
     this.componentfieldvaluesrecommendation = componentfieldvaluesrecommendation;
     this.componentfieldvaluesrestriction    = componentfieldvaluesrestriction;
     this.servicecomponentfieldvalues        = servicecomponentfieldvalues;
 }
 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;
 }