public class DWRProviderService extends Object
PatientService
Constructor and Description |
---|
DWRProviderService() |
Modifier and Type | Method and Description |
---|---|
Vector<Object> |
findProvider(String name,
boolean includeRetired,
Integer start,
Integer length)
Finds providers
|
Map<String,Object> |
findProviderCountAndProvider(String name,
boolean includeRetired,
Integer start,
Integer length)
Finds providers for the given name along with the total count of providers that matched.
|
ProviderListItem |
getProvider(Integer providerId)
Get the provider identified by
providerId |
public Vector<Object> findProvider(String name, boolean includeRetired, Integer start, Integer length)
name
- to searchincludeRetired
- true/false whether or not to included retired providersstart
- starting index for the results to returnlength
- the number of results to returnpublic Map<String,Object> findProviderCountAndProvider(String name, boolean includeRetired, Integer start, Integer length) throws APIException
name
- to searchincludeRetired
- true/false whether or not to included retired providersstart
- starting index for the results to returnlength
- the number of results to returnAPIException
- on any errors while searching providerspublic ProviderListItem getProvider(Integer providerId)
providerId
providerId
- Copyright © 2015 OpenMRS Inc.. All rights reserved.