public class DWRProviderService
extends java.lang.Object
PatientService
Constructor and Description |
---|
DWRProviderService() |
Modifier and Type | Method and Description |
---|---|
java.util.Vector<java.lang.Object> |
findProvider(java.lang.String name,
boolean includeRetired,
java.lang.Integer start,
java.lang.Integer length)
Finds providers
|
java.util.Map<java.lang.String,java.lang.Object> |
findProviderCountAndProvider(java.lang.String name,
boolean includeRetired,
java.lang.Integer start,
java.lang.Integer length)
Finds providers for the given name along with the total count of providers that matched.
|
ProviderListItem |
getProvider(java.lang.Integer providerId)
Get the provider identified by
providerId |
public java.util.Vector<java.lang.Object> findProvider(java.lang.String name, boolean includeRetired, java.lang.Integer start, java.lang.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 java.util.Map<java.lang.String,java.lang.Object> findProviderCountAndProvider(java.lang.String name, boolean includeRetired, java.lang.Integer start, java.lang.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(java.lang.Integer providerId)
providerId
providerId
- Copyright © 2018 OpenMRS Inc.. All Rights Reserved.