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
1938a5fe
Commit
1938a5fe
authored
Apr 28, 2025
by
Krishna Reddy Tamatam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
To Production Move
parent
4682b717
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
112 additions
and
32 deletions
+112
-32
FTPManagementAPIController.cs
Controllers/FTPManagementAPIController.cs
+0
-0
FTPInfo.cs
Models/FTPInfo.cs
+108
-30
FTPDataAdapter.cs
Services/FTPDataAdapter.cs
+0
-0
appsettings.json
appsettings.json
+4
-2
No files found.
Controllers/FTPManagementAPIController.cs
View file @
1938a5fe
This diff is collapsed.
Click to expand it.
Models/FTPInfo.cs
View file @
1938a5fe
...
...
@@ -2,49 +2,41 @@ namespace FTP_Services.Core.Models
{
public
class
PatientDocumentDetailsModel
{
public
string
DocumentType
{
get
;
set
;
}
public
int
DocumentType
{
get
;
set
;
}
public
string
Description
{
get
;
set
;
}
public
string
DocumentName
{
get
;
set
;
}
public
int
UploadedBy
{
get
;
set
;
}
public
int
PatientId
{
get
;
set
;
}
public
string
ContentType
{
get
;
set
;
}
public
string
Size
{
get
;
set
;
}
public
int
Size
{
get
;
set
;
}
public
string
DocumentUrl
{
get
;
set
;
}
public
string
ThumbnailUrl
{
get
;
set
;
}
public
int
SplID
{
get
;
set
;
}
public
int
PatDocId
{
get
;
set
;
}
public
string
UploadedDate
{
get
;
set
;
}
public
int
PatDocId
{
get
;
set
;
}
public
string
UploadedDate
{
get
;
set
;
}
public
int
AdmissionID
{
get
;
set
;
}
public
int
SortNo
{
get
;
set
;
}
public
PatientDocumentDetailsModel
()
{
DocumentType
=
""
;
DocumentType
=
0
;
Description
=
""
;
DocumentName
=
""
;
UploadedBy
=
-
1
;
PatientId
=
-
1
;
ContentType
=
""
;
Size
=
""
;
Size
=
0
;
DocumentUrl
=
""
;
ThumbnailUrl
=
""
;
SplID
=
-
1
;
PatDocId
=
0
;
UploadedDate
=
""
;
PatDocId
=
0
;
UploadedDate
=
""
;
AdmissionID
=
0
;
SortNo
=
1
;
}
}
// public class Login
// {
// public string ID { get; set; }
// public string Name { get; set; }
// public string Code { get; set; }
// public Login()
// {
// ID = "";
// Name = "";
// Code = "";
// }
// }
public
class
FileResponseModel
{
...
...
@@ -139,7 +131,7 @@ namespace FTP_Services.Core.Models
Name
=
""
;
}
}
public
class
ConfigValues
public
class
ConfigValues
{
public
int
ID
{
get
;
set
;
}
public
string
Environment
{
get
;
set
;
}
...
...
@@ -153,6 +145,12 @@ namespace FTP_Services.Core.Models
public
bool
IsActive
{
get
;
set
;
}
public
int
CompanyId
{
get
;
set
;
}
public
string
DatabaseName
{
get
;
set
;
}
public
string
RemoteHost
{
get
;
set
;
}
public
string
RemoteUser
{
get
;
set
;
}
public
string
RemotePassword
{
get
;
set
;
}
public
string
RemotePort
{
get
;
set
;
}
public
string
ToolVersion
{
get
;
set
;
}
public
ConfigValues
()
{
...
...
@@ -161,12 +159,17 @@ namespace FTP_Services.Core.Models
RemotePath
=
""
;
CompanyName
=
""
;
FTPServiceURL
=
""
;
DPI
=
100
;
PDFSizeLimit
=
20
;
DefaultDocType
=
""
;
DPI
=
100
;
PDFSizeLimit
=
20
;
DefaultDocType
=
""
;
IsActive
=
true
;
CompanyId
=
1
;
DatabaseName
=
""
;
CompanyId
=
1
;
DatabaseName
=
""
;
RemoteHost
=
""
;
RemoteUser
=
""
;
RemotePassword
=
""
;
RemotePort
=
""
;
ToolVersion
=
""
;
}
}
...
...
@@ -191,7 +194,11 @@ namespace FTP_Services.Core.Models
public
int
SplID
{
get
;
set
;
}
public
string
ThumbnailUrl
{
get
;
set
;
}
public
bool
IsExternal
{
get
;
set
;
}
public
int
AdmissionId
{
get
;
set
;
}
public
string
AdmissionNo
{
get
;
set
;
}
public
string
AdmissionDate
{
get
;
set
;
}
public
PatientDocuments
()
{
...
...
@@ -212,8 +219,22 @@ namespace FTP_Services.Core.Models
FullName
=
""
;
DocumentUrl
=
""
;
SplID
=
-
1
;
ThumbnailUrl
=
""
;
IsExternal
=
false
;
ThumbnailUrl
=
""
;
IsExternal
=
false
;
AdmissionId
=
-
1
;
AdmissionNo
=
""
;
AdmissionDate
=
""
;
}
}
public
class
Admissions
{
public
int
ID
{
get
;
set
;
}
public
string
AdmissionNo
{
get
;
set
;
}
public
Admissions
()
{
ID
=
-
1
;
AdmissionNo
=
""
;
}
}
...
...
@@ -226,4 +247,61 @@ namespace FTP_Services.Core.Models
RecordCount
=
-
1
;
}
}
public
class
AdmissionDischargeModel
{
public
int
MRDId
{
get
;
set
;
}
public
int
PatientId
{
get
;
set
;
}
public
int
AdmissionId
{
get
;
set
;
}
public
int
ProviderId
{
get
;
set
;
}
public
int
LocationId
{
get
;
set
;
}
public
int
DepartmentId
{
get
;
set
;
}
public
int
AdmissionAge
{
get
;
set
;
}
public
DateTime
?
AdmissionDate
{
get
;
set
;
}
public
int
AdmissionTypeId
{
get
;
set
;
}
public
DateTime
?
DischargeDate
{
get
;
set
;
}
//public int DischargeTypeId { get; set; }
public
string
DischargeType
{
get
;
set
;
}
public
string
Cause
{
get
;
set
;
}
public
int
UserId
{
get
;
set
;
}
public
bool
IsWardChanged
{
get
;
set
;
}
public
bool
IsICDChanged
{
get
;
set
;
}
public
bool
IsProcChanged
{
get
;
set
;
}
public
List
<
WardModel
>
Wards
{
get
;
set
;
}
public
List
<
ICDModel
>
ICDCodes
{
get
;
set
;
}
public
List
<
ProcedureModel
>
Procedures
{
get
;
set
;
}
public
string
Diagnosis
{
get
;
set
;
}
public
string
MRD_OtherProcedures
{
get
;
set
;
}
}
// Supporting Models
public
class
WardModel
{
public
int
WardId
{
get
;
set
;
}
public
DateTime
WardDate
{
get
;
set
;
}
}
public
class
ICDModel
{
public
string
ICDCode
{
get
;
set
;
}
public
string
ICDDesc
{
get
;
set
;
}
}
public
class
ProcedureModel
{
public
string
ProcName
{
get
;
set
;
}
}
public
class
PatientImgDocSort
{
public
int
UserId
{
get
;
set
;
}
public
List
<
PatientImgDocModel
>
PatientImgDoc
{
get
;
set
;
}
}
public
class
PatientImgDocModel
{
public
int
PatDocId
{
get
;
set
;
}
public
int
SortNo
{
get
;
set
;
}
}
}
Services/FTPDataAdapter.cs
View file @
1938a5fe
This diff is collapsed.
Click to expand it.
appsettings.json
View file @
1938a5fe
{
"AppSettings"
:
{
"Secret"
:
"A78E-F7FA-B0FD-DAA45BB866CD-AA73D560-DACC-978C-4A9B-9924-5DE7E33F0040-GCD00"
,
"ConnectionString"
:
"SERVER=10.11.12.106;PORT=5432;UID=himsdbuser;PWD=dbuser@hims123!;database=fernandez_20241125;Timeout=1000"
,
"AdminConnectionString"
:
"SERVER=10.11.12.106;PORT=5432;UID=himsdbuser;PWD=dbuser@hims123!;database=fernandez_20241125;Timeout=1000"
,
"ConnectionString"
:
"SERVER=192.168.7.207;PORT=5432;UID=ff4dbuser;PWD=dbuser4ff123!;Database=fernandez_test_20250409_dev;Timeout=1000"
,
"AdminConnectionString"
:
"SERVER=10.11.12.106;PORT=5432;UID=himsdbuser;PWD=dbuser@hims123!;database=CareaxesAdmin;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"
,
...
...
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