MyWinMed  4.0
Home
MyWinMed API Documentation
Ehr.Api.Dtos.PatientController Class Reference

Detailed Description

Patient controller that will recieve requests for patient data

Public Member Functions

ServerResponse< int > FindPatient ( RequestDto dto)
 Controller method to find a patient by the account number sent by the request by calling the FindPatient method in the PatientService class. Must include authorization Header. Example below: var auth = base64.encode(user.userName + ':' + user.passWord); $http.defaults.headers.common['Authorization'] = 'Basic ' + auth; More...
 
ServerResponse< string > GetDataCategory ( RequestDto dto)
 Retrieves data for the selected data category and specified date/s. Must include authorization Header. Example below: var auth = base64.encode(user.userName + ':' + user.passWord); $http.defaults.headers.common['Authorization'] = 'Basic ' + auth; More...
 

Member Function Documentation

◆ FindPatient()

ServerResponse<int> Ehr.Api.Controllers.PatientController.FindPatient ( RequestDto  dto)

Controller method to find a patient by the account number sent by the request by calling the FindPatient method in the PatientService class. Must include authorization Header. Example below: var auth = base64.encode(user.userName + ':' + user.passWord); $http.defaults.headers.common['Authorization'] = 'Basic ' + auth;

Parameters
dto RequestDto
Returns
ServerResponse<T>

◆ GetDataCategory()

ServerResponse<string> Ehr.Api.Controllers.PatientController.GetDataCategory ( RequestDto  dto)

Retrieves data for the selected data category and specified date/s. Must include authorization Header. Example below: var auth = base64.encode(user.userName + ':' + user.passWord); $http.defaults.headers.common['Authorization'] = 'Basic ' + auth;

Parameters
dto RequestDto
Returns
ServerResponse<T>