Code commits
printer
-
pihinformatics <pihinformatics@gmail.com> 522733c587c93f949279913047f8932a4e38db4f
'automatic update of mvn version dependencies'
- pom.xml (version 522733c587c93f949279913047f8932a4e38db4f)
radiologyapp
-
pihinformatics <pihinformatics@gmail.com> e52ca6f18318111b3009bb5ad7f6b90f53713ecb
'automatic update of mvn version dependencies'
- pom.xml (version e52ca6f18318111b3009bb5ad7f6b90f53713ecb)
radiology
-
Ivo Ulrich <teleivo@users.noreply.github.com> 3ac1caf7ddaac4699230533517adbca813e3b7e8
Merge pull request #483 from teleivo/hasprivilege
Use hasPrivilege hasAll in orderForm jsp -
teleivo <mrteleivo@gmail.com> 124df92c2ddf618a80bd632fa8a11b45ad42b269
Use hasPrivilege hasAll in orderForm jsp
legacyui 1.1 has new feature of hasPrivilege hasAll attribute
which makes the user require all privileges in the privilege list
* use it to clean up radiologyOrderForm.jsp- omod/src/main/webapp/orders/radiologyOrderForm.jsp (version 124df92c2ddf618a80bd632fa8a11b45ad42b269)
-
Ivo Ulrich <teleivo@users.noreply.github.com> 3b99934a0284476b59dc489c1246174a5b7236dc
Merge pull request #482 from teleivo/demo
Demo data: add missing privileges to reading phyisican -
teleivo <mrteleivo@gmail.com> 99dcbbbbb84be66c0a8209d5446bcc6715a18ba0
Demo data: add missing privileges to reading phyisican
Role reading phyisican was missing privilege to get concept sources and
reference terms, which are needed when importing an MRRT Template which
has terms from a coding_scheme which matches a concept source- acceptanceTest/resources/demo-data.sql (version 99dcbbbbb84be66c0a8209d5446bcc6715a18ba0)
-
Ivo Ulrich <teleivo@users.noreply.github.com> 75ca98550715bb646eb3f17f48dcbbcab1d952ed
Merge pull request #481 from teleivo/rename
Rename MrrtReportTemplateValidatorTest to ComponentTest -
teleivo <mrteleivo@gmail.com> 820fc61e915ca72d387397b7a1c7677cc38f960c
Rename MrrtReportTemplateValidatorTest to ComponentTest
- api/src/test/java/org/openmrs/module/radiology/report/template/MrrtReportTemplateValidatorComponentTest.java (version 820fc61e915ca72d387397b7a1c7677cc38f960c)
- api/src/test/java/org/openmrs/module/radiology/report/template/MrrtReportTemplateValidatorTest.java (version 820fc61e915ca72d387397b7a1c7677cc38f960c)
-
Ivo Ulrich <teleivo@users.noreply.github.com> 761101db8c66d73e578fa9cba5aae856ccaab26f
Merge pull request #480 from teleivo/import-return-mrrt
importMrrtReportTemplate returns MrrtReportTemplate -
teleivo <mrteleivo@gmail.com> 0e9e59558f2f52ed7311d1ea07c8b147ff0e53e8
importMrrtReportTemplate returns MrrtReportTemplate
MrrtReportTemplateService.importMrrtReportTemplate now returns the
saved MrrtReportTemplate object which allows client code to for example
redirect the UI to the templates page after the import- api/src/main/java/org/openmrs/module/radiology/report/template/MrrtReportTemplateService.java (version 0e9e59558f2f52ed7311d1ea07c8b147ff0e53e8)
- api/src/main/java/org/openmrs/module/radiology/report/template/MrrtReportTemplateServiceImpl.java (version 0e9e59558f2f52ed7311d1ea07c8b147ff0e53e8)
- api/src/test/java/org/openmrs/module/radiology/report/template/MrrtReportTemplateServiceComponentTest.java (version 0e9e59558f2f52ed7311d1ea07c8b147ff0e53e8)
-
Ivo Ulrich <teleivo@users.noreply.github.com> c271bb4e417f53113def69a983d871bf955dfbe4
Merge pull request #479 from teleivo/stream
Use String instead of InputStream on importing templates -
teleivo <mrteleivo@gmail.com> 2fa23f14dfc74758d3201903b8f0b97c3263dd7e
Use String instead of InputStream on importing templates
Replace parameter type from InputStream to String in
interfaces for MrrtReportTemplateService.importMrrtReportTemplate
MrrtReportTemplateValidator.validate and MrrtReportTemplateFileParser.parse
since template files are expected to be < 120kB and this greatly
simplifies handling as InputStreams can only be read once.
* change import, parse, validate iface to String instead of InputStream
* simplify tests by extracting repetivite things (getFile,
getFileContent) for test mrrt template files into helper methods
* improve RadiologyDashboardReportTemplatesTabControllerTest verify
service calls and use springs MockMultipartFile
* improve javadoc im MrrtReportTemplateService and tests
* merge tests of MrrtReportTemplateService.importMrrtReportTemplate
ensuring creation in db and filesystem into one test
* make sure that the InputStream's we open are closed via
try-with-resource syntax
* use apache commons FileUtils.writeStringToFile to write template to
file instead of OpenmrsUtils- api/src/main/java/org/openmrs/module/radiology/report/template/DefaultMrrtReportTemplateFileParser.java (version 2fa23f14dfc74758d3201903b8f0b97c3263dd7e)
- api/src/main/java/org/openmrs/module/radiology/report/template/MrrtReportTemplateFileParser.java (version 2fa23f14dfc74758d3201903b8f0b97c3263dd7e)
- api/src/main/java/org/openmrs/module/radiology/report/template/MrrtReportTemplateService.java (version 2fa23f14dfc74758d3201903b8f0b97c3263dd7e)
- api/src/main/java/org/openmrs/module/radiology/report/template/MrrtReportTemplateServiceImpl.java (version 2fa23f14dfc74758d3201903b8f0b97c3263dd7e)
- api/src/main/java/org/openmrs/module/radiology/report/template/MrrtReportTemplateValidator.java (version 2fa23f14dfc74758d3201903b8f0b97c3263dd7e)
- api/src/main/java/org/openmrs/module/radiology/report/template/XsdMrrtReportTemplateValidator.java (version 2fa23f14dfc74758d3201903b8f0b97c3263dd7e)
- api/src/test/java/org/openmrs/module/radiology/report/template/MrrtReportTemplateFileParserComponentTest.java (version 2fa23f14dfc74758d3201903b8f0b97c3263dd7e)
- api/src/test/java/org/openmrs/module/radiology/report/template/MrrtReportTemplateServiceComponentTest.java (version 2fa23f14dfc74758d3201903b8f0b97c3263dd7e)
- api/src/test/java/org/openmrs/module/radiology/report/template/MrrtReportTemplateValidatorTest.java (version 2fa23f14dfc74758d3201903b8f0b97c3263dd7e)
- omod/src/main/java/org/openmrs/module/radiology/report/template/web/RadiologyDashboardReportTemplatesTabController.java (version 2fa23f14dfc74758d3201903b8f0b97c3263dd7e)
- omod/src/test/java/org/openmrs/module/radiology/report/template/web/RadiologyDashboardReportTemplatesTabControllerTest.java (version 2fa23f14dfc74758d3201903b8f0b97c3263dd7e)