OpenMRSVisitService¶
-
public interface
OpenMRSVisitService
¶ Interface for handling visits on the OpenMRS server.
Methods¶
createVisit¶
createVisitType¶
-
VisitType
createVisitType
(String configName, VisitType encounterType)¶ Creates the given
visitType
on the OpenMRS server. Configuration with the givenconfigName
will be used while performing this action.Parameters: - configName – the name of the configuration
- encounterType – the visit type to be created
Returns: the created visit type
deleteVisit¶
deleteVisitType¶
getVisitByUuid¶
getVisitTypeByUuid¶
-
VisitType
getVisitTypeByUuid
(String configName, String uuid)¶ Returns the visit type with the given
uuid
. Configuration with the givenconfigName
will be used while performing this action.Parameters: - configName – the name of the configuration
- uuid – the UUID of the visit type
Returns: the visit type with the given UUID