Beispiel #1
0
 public override void initialize( )
 {
     AV11tResult             = "";
     AV10websession          = context.GetSession();
     AV12tSDT_MicroUserInfo  = new SdtSDT_MicroUserInfo(context);
     AV8BCBR_PatientReEntity = new SdtBR_PatientReEntity(context);
     /* GeneXus formulas. */
     context.Gx_err = 0;
 }
Beispiel #2
0
 public void VarsToRow63(SdtBR_PatientReEntity obj63)
 {
     obj63.gxTpr_Mode = Gx_mode;
     obj63.gxTpr_Br_information_id   = A85BR_Information_ID;
     obj63.gxTpr_Datapackage         = A366DataPackage;
     obj63.gxTpr_Br_information_id_Z = Z85BR_Information_ID;
     obj63.gxTpr_Datapackage_Z       = Z366DataPackage;
     obj63.gxTpr_Mode = Gx_mode;
     return;
 }
Beispiel #3
0
 public void RowToVars63(SdtBR_PatientReEntity obj63,
                         int forceLoad)
 {
     Gx_mode = obj63.gxTpr_Mode;
     A85BR_Information_ID = obj63.gxTpr_Br_information_id;
     A366DataPackage      = obj63.gxTpr_Datapackage;
     Z85BR_Information_ID = obj63.gxTpr_Br_information_id_Z;
     Z366DataPackage      = obj63.gxTpr_Datapackage_Z;
     Gx_mode = obj63.gxTpr_Mode;
     return;
 }
Beispiel #4
0
 void executePrivate( )
 {
     /* GeneXus formulas */
     /* Output device settings */
     AV11tResult = AV10websession.Get("DAS_UserPermission");
     AV12tSDT_MicroUserInfo.FromJSonString(AV11tResult, null);
     AV8BCBR_PatientReEntity = new SdtBR_PatientReEntity(context);
     AV8BCBR_PatientReEntity.gxTpr_Br_information_id = AV9iBR_Information_ID;
     AV8BCBR_PatientReEntity.gxTpr_Datapackage       = StringUtil.Trim(((String)((SdtSDT_MicroUserInfo_Tenants)AV12tSDT_MicroUserInfo.gxTpr_Tenants.Item(1)).gxTpr_Datascoptes.Item(1)));
     AV8BCBR_PatientReEntity.Save();
     this.cleanup();
 }
Beispiel #5
0
 public void UpdateDirties(SdtBR_PatientReEntity sdt)
 {
     if (sdt.IsDirty("BR_Information_ID"))
     {
         gxTv_SdtBR_PatientReEntity_Br_information_id = sdt.gxTv_SdtBR_PatientReEntity_Br_information_id;
     }
     if (sdt.IsDirty("DataPackage"))
     {
         gxTv_SdtBR_PatientReEntity_Datapackage = sdt.gxTv_SdtBR_PatientReEntity_Datapackage;
     }
     return;
 }
Beispiel #6
0
 protected void UpdateImpl( )
 {
     if (StringUtil.StrCmp(Gx_mode, "UPD") == 0)
     {
         SaveImpl( );
     }
     else
     {
         SdtBR_PatientReEntity auxBC = new SdtBR_PatientReEntity(context);
         auxBC.Load(A85BR_Information_ID, A366DataPackage);
         auxBC.UpdateDirties(bcBR_PatientReEntity);
         auxBC.Save();
         IGxSilentTrn auxTrn = auxBC.getTransaction();
         LclMsgLst          = (msglist)(auxTrn.GetMessages());
         AnyError           = (short)(auxTrn.Errors());
         Gx_mode            = auxTrn.GetMode();
         context.GX_msglist = LclMsgLst;
         AfterTrn( );
     }
 }
Beispiel #7
0
        public static int Reindex(IGxContext context)
        {
            GxSilentTrnSdt obj;
            IGxSilentTrn   trn;
            bool           result;

            obj    = new GeneXus.Programs.wwpbaseobjects.SdtSecObject(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new GeneXus.Programs.wwpbaseobjects.SdtSecFunctionalityRole(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new GeneXus.Programs.wwpbaseobjects.SdtSecUserRole(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new GeneXus.Programs.wwpbaseobjects.SdtUserCustomizations(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new GeneXus.Programs.wwpbaseobjects.SdtSecFunctionality(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new GeneXus.Programs.wwpbaseobjects.SdtSecRole(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new GeneXus.Programs.wwpbaseobjects.SdtSecUser(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Death(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Comorbidity(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Behavior(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Demographics(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Diagnosis(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Information(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Lab(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Encounter(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Vital(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Medication(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtJC_Provider(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtXT_DefindcodeType(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtJC_ProviderSecUser(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtXT_DefineCode(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtXT_Config(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtXT_Log(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtJC_Provider_Br_Information(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_MedicalImaging_Diag(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Medication_Detail(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_MedicalImaging(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Medication_Scheme(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Pathology_Specimen(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Pathology_Diag(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Pathology_Other(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Procedure_Surgery(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Pathology(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Procedure_Radio(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Procedure(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Scheme(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Scheme_Medication(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_EncounterReason(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtSYS_SerialNumber(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtSYS_UserRole(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Encounter_RefuseReason(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtSYS_TenantUser(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtSYS_TenantUserAccess(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtSYS_Permission(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtSYS_Database(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtSYS_User(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtSYS_InstituteUserRole(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBAS_Tenant(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtSYS_RolePermission(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBAS_DataPackage(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtSYS_InstituteUser(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtSYS_Role(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtSYS_TenantUserRole(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtSYS_Log(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBAS_Institute(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_PatientReEntity(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_PatientReTenant(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new Sdtview_lastest_patient_info(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtBR_Familyhistory(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtView_New_Encounter(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            obj    = new SdtView_New_Encounter2(context);
            trn    = obj.getTransaction();
            result = trn.Reindex();
            return(1);
        }
Beispiel #8
0
 public void KeyVarsToRow63(SdtBR_PatientReEntity obj63)
 {
     obj63.gxTpr_Br_information_id = A85BR_Information_ID;
     obj63.gxTpr_Datapackage       = A366DataPackage;
     return;
 }