Code commits
openmrs-core master
-
Daniel Kayiwa 23a18c6e806570e0db007a7feb20669313f906b3
Merge pull request #961 from geoff-wasilwa/TRUNK-4315
TRUNK-4315: Validate on client side (javascript) -
geoff-wasilwa <geoffreywanjala@gmail.com> a801800972e9ba6706ac1327863a776e106c78f3
TRUNK-4315: Validate on client side (javascript)
Decided to validate on client side because on server side calling provider.getName()
when person is set will return person's full name and so it is not possible to tell if
this was set on the client side.
TRUNK-4315 - Removed commented out code
TRUNK-4315 - Ammended method for checking whether person or provider name is provided
TRUNK-4315: Added a span tag to hold error message from both client and server- api/src/main/java/org/openmrs/validator/ProviderValidator.java (version a801800972e9ba6706ac1327863a776e106c78f3)
- api/src/test/java/org/openmrs/validator/ProviderValidatorTest.java (version a801800972e9ba6706ac1327863a776e106c78f3)
- webapp/src/main/webapp/WEB-INF/messages.properties (version a801800972e9ba6706ac1327863a776e106c78f3)
- webapp/src/main/webapp/WEB-INF/view/admin/provider/providerForm.jsp (version a801800972e9ba6706ac1327863a776e106c78f3)
-
Daniel Kayiwa d601e73032064e51ad487dac257cd7da1b685e99
Merge pull request #963 from vencik/master
TRUNK-4109: Get observations by accession number -
vencik <vencik@razdva.cz> 2859347d5280cab76fef6ed849f65d2ef93056c9
TRUNK-4109: Get observations by accession number
org.openmrs.api.ObsService#getObservations and
org.openmrs.api.ObsService#getObservationCount are now overloaded to support
specification of accession number.
If specified, only observations (or their count) with matching accession
number are returned.
See TRUNK-4109">https://issues.openmrs.org/browse/TRUNK-4109
Unit tests for org.openmrs.api.ObsService#getObservations and
org.openmrs.api.ObsService#getObservationCount now use the new
(and most general) methods.- api/src/main/java/org/openmrs/api/ObsService.java (version 2859347d5280cab76fef6ed849f65d2ef93056c9)