Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
HIMSScannerService
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
HIMSScanner
HIMSScannerService
Commits
76e0bbc7
Commit
76e0bbc7
authored
Aug 22, 2025
by
Krishna Reddy Tamatam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changes upto 22-08-2025
parent
6fe1a321
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
87 additions
and
20 deletions
+87
-20
FTPManagementAPIController.cs
Controllers/FTPManagementAPIController.cs
+0
-0
FTPService.csproj
FTPService.csproj
+1
-0
AppSettings.cs
Models/AppSettings.cs
+33
-5
FTPInfo.cs
Models/FTPInfo.cs
+34
-7
Program.cs
Program.cs
+3
-3
FTPDataAdapter.cs
Services/FTPDataAdapter.cs
+0
-0
appsettings.json
appsettings.json
+13
-3
index.html
wwwroot/index.html
+3
-2
No files found.
Controllers/FTPManagementAPIController.cs
View file @
76e0bbc7
This diff is collapsed.
Click to expand it.
FTPService.csproj
View file @
76e0bbc7
...
...
@@ -9,6 +9,7 @@
<ItemGroup>
<PackageReference Include="ExcelDataReader" Version="3.6.0" />
<PackageReference Include="ExcelDataReader.DataSet" Version="3.6.0" />
<PackageReference Include="iTextSharp" Version="5.5.13.4" />
<PackageReference Include="log4net" Version="2.0.14" />
<PackageReference Include="Microsoft.Data.SqlClient" Version="4.1.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
...
...
Models/AppSettings.cs
View file @
76e0bbc7
...
...
@@ -4,16 +4,21 @@ namespace FTP_Services.Core.Models
{
public
string
ConnectionString
{
get
;
set
;
}
public
string
AdminConnectionString
{
get
;
set
;
}
public
string
Secret
{
get
;
set
;
}
public
string
Secret
{
get
;
set
;
}
public
AppSettings
()
{
Secret
=
""
;
Secret
=
""
;
ConnectionString
=
""
;
AdminConnectionString
=
""
;
AdminConnectionString
=
""
;
}
public
FTPConfiguration
FTPConfiguration
{
get
;
set
;
}
public
FolderOptions
FolderOptions
{
get
;
set
;
}
public
MappedDriveSettings
MappedDriveSettings
{
get
;
set
;
}
public
ResolutionSettings
ResolutionSettings
{
get
;
set
;
}
}
public
class
FTPConfiguration
...
...
@@ -31,9 +36,32 @@ namespace FTP_Services.Core.Models
Password
=
""
;
FtpURL
=
""
;
FTPMODE
=
false
;
DestinationPathFtp
=
""
;
DestinationPathFile
=
""
;
DestinationPathFtp
=
""
;
DestinationPathFile
=
""
;
}
}
public
class
FolderOptions
{
public
string
PrimaryFolderPath
{
get
;
set
;
}
public
string
SecondaryFolderPath
{
get
;
set
;
}
public
FolderOptions
()
{
PrimaryFolderPath
=
""
;
SecondaryFolderPath
=
""
;
}
}
public
class
MappedDriveSettings
{
public
string
?
BaseDirectory
{
get
;
set
;
}
}
public
class
ResolutionSettings
{
public
string
?
Height
{
get
;
set
;
}
public
string
?
Width
{
get
;
set
;
}
}
}
Models/FTPInfo.cs
View file @
76e0bbc7
...
...
@@ -15,8 +15,8 @@ namespace FTP_Services.Core.Models
public
int
PatDocId
{
get
;
set
;
}
public
string
UploadedDate
{
get
;
set
;
}
public
int
AdmissionID
{
get
;
set
;
}
public
int
SortNo
{
get
;
set
;
}
public
int
IsOldData
{
get
;
set
;
}
public
int
SortNo
{
get
;
set
;
}
public
int
RecType
{
get
;
set
;
}
public
PatientDocumentDetailsModel
()
{
...
...
@@ -34,7 +34,7 @@ namespace FTP_Services.Core.Models
UploadedDate
=
""
;
AdmissionID
=
0
;
SortNo
=
1
;
IsOldData
=
1
;
RecType
=
1
;
}
}
...
...
@@ -248,6 +248,20 @@ namespace FTP_Services.Core.Models
RecordCount
=
-
1
;
}
}
public
class
AdmissionDischargeHistData
{
public
string
Parm_AdmData
{
get
;
set
;
}
}
public
class
PatientHistData
{
public
string
Parm_PatientData
{
get
;
set
;
}
}
public
class
SQLRequest
{
public
string
sql
{
get
;
set
;
}
}
public
class
AdmissionDischargeModel
{
public
int
MRDId
{
get
;
set
;
}
...
...
@@ -272,8 +286,8 @@ namespace FTP_Services.Core.Models
public
List
<
ProcedureModel
>
Procedures
{
get
;
set
;
}
public
string
Diagnosis
{
get
;
set
;
}
public
string
MRD_OtherProcedures
{
get
;
set
;
}
public
int
IsOldData
{
get
;
set
;
}
public
int
RecType
{
get
;
set
;
}
}
// Supporting Models
...
...
@@ -292,10 +306,10 @@ namespace FTP_Services.Core.Models
public
class
ProcedureModel
{
public
string
ProcName
{
get
;
set
;
}
}
public
class
PatientImgDocSort
{
public
int
UserId
{
get
;
set
;
}
...
...
@@ -306,5 +320,18 @@ namespace FTP_Services.Core.Models
public
int
PatDocId
{
get
;
set
;
}
public
int
SortNo
{
get
;
set
;
}
}
public
class
PatientDocumentsPathsData
{
public
int
PatientId
{
get
;
set
;
}
public
int
PatientDocumentId
{
get
;
set
;
}
public
bool
ExternalFtp
{
get
;
set
;
}
public
string
?
DocumentName
{
get
;
set
;
}
public
string
?
DocumentPath
{
get
;
set
;
}
}
public
class
DocumentResponseModel
{
public
string
?
FolderPath
{
get
;
set
;
}
public
List
<
string
>?
FilePaths
{
get
;
set
;
}
}
}
Program.cs
View file @
76e0bbc7
...
...
@@ -134,12 +134,12 @@ app.UseEndpoints(endpoints =>
if
(
app
.
Environment
.
IsDevelopment
())
{
app
.
Run
(
"http://localhost:560
3
"
);
app
.
Run
(
"http://localhost:560
4
"
);
}
else
{
//
app.Run(); //For Test Site
app
.
Run
(
"http://*:4708"
);
// For Production
app
.
Run
();
//For Test Site
//
app.Run("http://*:4708"); // For Production
//app.Run("http://*:4709"); // For Admin
}
...
...
Services/FTPDataAdapter.cs
View file @
76e0bbc7
This diff is collapsed.
Click to expand it.
appsettings.json
View file @
76e0bbc7
{
"AppSettings"
:
{
"Secret"
:
"A78E-F7FA-B0FD-DAA45BB866CD-AA73D560-DACC-978C-4A9B-9924-5DE7E33F0040-GCD00"
,
"ConnectionString"
:
"SERVER=192.168.1.101;PORT=5432;UID=dbuser;PWD=dbuser123!;Database=FF_test_20250620;Timeout=1000"
,
"ConnectionString158"
:
"SERVER=10.11.12.158;PORT=5432;UID=himsdbuser;PWD=dbuser@hims123!;Database=FF_TEST_16052025;Timeout=1000"
,
"AdminConnectionString"
:
"SERVER=10.11.12.106;PORT=5432;UID=himsdbuser;PWD=dbuser@hims123!;database=CareaxesAdmin;Timeout=1000"
,
"ConnectionString"
:
"SERVER=10.11.12.106;PORT=5432;UID=himsdbuser;PWD=dbuser@hims123!;Database=fernandez_20241125;Timeout=1000"
,
"ConnectionString
106
"
:
"SERVER=10.11.12.106;PORT=5432;UID=himsdbuser;PWD=dbuser@hims123!;Database=fernandez_20241125;Timeout=1000"
,
"ConnectionString207"
:
"SERVER=192.168.7.207;PORT=5432;UID=ff4dbuser;PWD=dbuser4ff123!;Database=fernandez_test_20250409_dev;Timeout=1000"
,
"ConnectionString1"
:
"SERVER=10.11.12.106;PORT=5432;UID=himsdbuser;PWD=dbuser@hims123!;database=fernandez_20241125;Timeout=1000"
,
"AdminConnectionString1"
:
"SERVER=10.11.12.106;PORT=5432;UID=himsdbuser;PWD=dbuser@hims123!;database=fernandez_20241125;Timeout=1000"
,
"FTPConfiguration"
:
{
"Username"
:
"admin"
,
"Password"
:
"Fmh@xp@rt01"
,
...
...
@@ -14,6 +13,17 @@
"FTPMODE"
:
false
,
"DestinationPathFile"
:
"/ftproot/FTPRoot/"
,
"DestinationPathFtp"
:
"/apachetomcat/webapps/documents/"
},
"FolderOptions"
:
{
"PrimaryFolderPath"
:
"D:
\\
GT
\\
PrimaryFolder"
,
"SecondaryFolderPath"
:
"D:
\\
GT
\\
Second_Folder"
},
"MappedDriveSettings"
:
{
"BaseDirectory"
:
"Z:
\\
FTPAPI"
},
"ResolutionSettings"
:
{
"Height"
:
"20"
,
"Width"
:
"20"
}
},
"https_port"
:
8001
,
...
...
wwwroot/index.html
View file @
76e0bbc7
<html>
<head>
<title>
FTP
API
</title>
<title>
HIMS Scanner
API
</title>
</head>
<body>
<h1>
Welcome to
FTP
API
</h1>
<h1>
Welcome to
HIMS Scanner
API
</h1>
</body>
</html>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment