Wound Capture Api Doc

1. User Login

When user want to login via mobile app, they insert user name and password. User name is actually badge number and password is pin number.

Example
	                        						
"getLogin":{
	"code":"200",
	"message":"OK",
	"userDetail":{
		"badgeNum":"1656200000",
		"employeeID":"16562",
		"name":"admin",
		"jobRole":"IT-Admin",
		"user_access_token":"eK8tGjBbOaIyCn7g"
	}
}
	                        						
Post Parameters

string

string

Return Parameters

integer

integer

string

string

string

Note ->

Returned parameters 'user_access_token' and 'badgeNum' are must be passed to access all other below listed api for check authentication of user

2. Add User

When admin user want to add register via mobile app.

Example
	                        						
"response":{
	"code":"200",
	"message":"User added successfully",
	"UserDetail":{
		"badgeNum":"5858580000",
		"employeeID":"58585",
		"name":"cristy cores",
		"jobRole":"Nurse"
	}
}
	                        						
Post Parameters

string

string

string

string

integer

integer

Return Parameters

integer

integer

string

string

3. View User By Badge Number

When admin user want to view users details by badge number via mobile app.

Example
	                        						
"response":{
	"code":"200",
	"message":"OK",
	"UserDetail":{
		"badgeNum":"1656200000",
		"employeeID":"16562",
		"name":"admin",
		"jobRole":"IT-Admin"
	}
}
	                        						
Post Parameters

integer

Return Parameters

integer

integer

string

string

4. View User By Job Role

When admin user want to view users details by selecting job role via mobile app.

Example
	                        						
"response":{
	"code":"200",
	"message":"OK",
	"UsersList":[{
		"badgeNum":"0867200000",
		"employeeID":"8672",
		"name":"kranney"
	}]
}
	                        						
Post Parameters

integer

integer

integer

Return Parameters

integer

integer

string

5. View Tables

When admin user want to view tables of baby/patient-id/paitient-info details by selecting table name via mobile app.

Example
	                        						
"response":{
	"code":"200",
	"message":"OK",
	"baby_list":[{
		"baby_name":"Johnson BABY",
		"mrn":"123456",
		"sex":"M",
		"DOB":"19780908",
		"momMrn":"123456",
		"bottleCount":"17",
		"admitDate":"2013-02-22"
	}]
}
	                        						
Post Parameters

string

integer

integer

Return Parameters

string

integer

string

string

integer

integer

date

6. View Verifications By Scans

When admin user want to view feeding verifications details by selecting scan type (correct/denied/overridden) via mobile app.

Example
	                        						
"response":{
	"code":"200",
	"message":"OK",
	"Denied_feeding_list":[{
		"entryNumber":"81",
		"mrn":"123456",
		"ecd":"127238681",
		"babyName":"MARTINEZ BABY",
		"badgeNum":"0000000000",
		"timeStamp":"2015-09-18 13:56:17"
	}]
}
	                        						
Post Parameters

string

integer

integer

Return Parameters

string

integer

integer

integer

integer

timestamp

7. View Verifications Overview

When admin user want to view verifications overview via mobile app.

Example
	                        						
"response":{
	"code":"200",
	"message":"OK",
	"verificationsOverview":{
		"total_verifications":60889,
		"correct_feeding":60149,
		"denied_feeding":740,
		"overridden_feeding":0
	}
}
	                        						
Post Parameters
Return Parameters

integer

integer

integer

integer

8. View Verifications By Badge Number

When admin user want to view verifications detail by badge number via mobile app.

Example
	                        						
"response":{
	"code":"200",
	"message":"OK",
	"verificationsOfBadgeNum":{
		"badgeNum":"1656200000",
		"total_verifications":455,
		"correct_feeding":445,
		"denied_feeding":10,
		"overridden_feeding":0
	}
}
	                        						
Post Parameters

integer

Return Parameters

integer

integer

integer

integer

integer

9. View Individual Verifications List

When admin user want to view verifications list individually by all badge number via mobile app.

Example
	                        						
"response":{
	"code":"200",
	"message":"OK",
	"idividual_verifications_list":[{
		"badgeNum":"2230300000",
		"correct_feeding":362,
		"denied_feeding":0,
		"overridden_feeding":0
	}]
}
	                        						
Post Parameters

integer

integer

Return Parameters

integer

integer

integer

integer

10. Upload Patient Wound PDF

For upload PDF file to AWS S3 bucket via mobile app.

Example
	                        						
"response":{
	"code":"200",
	"message":"file uploaded successfully",
	"fileURL":"woundcapture.s3.amazonaws.com\/example.pdf"
}
	                        						
Post Parameters

integer

file

string

string

string

integer

integer

Return Parameters

varchar string