Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GSoC 2018 Patient Clinical Summary Enhancement Changes For reveiew #38

Open
wants to merge 52 commits into
base: master
from
Open
Changes from 1 commit
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
57e6f86
added first changes
dilekamadushan Jun 16, 2018
f77149f
commented changes in liquibase.xml
dilekamadushan Jun 17, 2018
7a5e7da
completed ui designs
dilekamadushan Jun 20, 2018
7b9fbf0
added controllers to get access database
dilekamadushan Jun 20, 2018
c975a99
Merge branch 'master' of https://github.com/muzima/openmrs-module-muz…
dilekamadushan Jun 20, 2018
6219746
added debug lines
dilekamadushan Jun 21, 2018
3cce4da
added liquibase changes
dilekamadushan Jun 21, 2018
a5a4d98
Merge branch 'master' into gsoc_task1
dilekamadushan Jun 21, 2018
f7f02ad
added values to database
dilekamadushan Jun 21, 2018
2015716
added insert of report functionality
dilekamadushan Jun 22, 2018
54e0271
added search functionality
dilekamadushan Jun 23, 2018
c5bf58a
added getReports method in controller
dilekamadushan Jun 24, 2018
94c7d5d
added reporting dependency
dilekamadushan Jun 26, 2018
daedd78
Merge branch 'master' of https://github.com/muzima/openmrs-module-muz…
dilekamadushan Jun 26, 2018
f8c7e2a
added dependency to poms
dilekamadushan Jun 27, 2018
eb5e00c
added dependency to poms
dilekamadushan Jun 27, 2018
cbf8811
changed mvn version
dilekamadushan Jun 28, 2018
4ecdd2c
changed mvn version
dilekamadushan Jun 28, 2018
1f2668c
added reporting version
dilekamadushan Jun 28, 2018
86f07c9
started creating ReportGeneration task
dilekamadushan Jun 29, 2018
861f43d
added method to bring reportDefinitions
dilekamadushan Jun 29, 2018
73a0d94
added method to generate reports
dilekamadushan Jul 1, 2018
593890f
get names of reports and cohorts
dilekamadushan Jul 1, 2018
8ad905b
Merge branch 'masterUpstream' into gsoc_task
dilekamadushan Jul 1, 2018
05ec7f6
improved report generation task
dilekamadushan Jul 1, 2018
1c86e88
improved editing of report configurations
dilekamadushan Jul 2, 2018
31c750b
added endpoint to download generated reports
dilekamadushan Jul 3, 2018
a17fb56
modified code
dilekamadushan Jul 3, 2018
e7ea8eb
added functionality to listen to report log
dilekamadushan Jul 10, 2018
4f9a5b4
modified logic in report generation process
dilekamadushan Jul 11, 2018
33b8bd5
added a try catch when getting reportService
dilekamadushan Jul 12, 2018
1454af8
improved task
dilekamadushan Jul 13, 2018
5b3a8f5
added checkbox
dilekamadushan Jul 18, 2018
a8cbf25
commit for muzima scrum
dilekamadushan Jul 20, 2018
5eb742f
removed comment
dilekamadushan Jul 20, 2018
d76e99e
added new method to get generatedReport by patientUuid
dilekamadushan Jul 21, 2018
c4e4fb4
added priority column to generated report table
dilekamadushan Jul 22, 2018
7e5ac5e
liquidbase change
dilekamadushan Jul 22, 2018
00cdcf8
Merge branch 'masterUpstream' into gsoc_task
dilekamadushan Jul 22, 2018
7033fe3
added Generated report resource
dilekamadushan Jul 23, 2018
0df87f3
modified logging
dilekamadushan Jul 27, 2018
150073a
bug in omod
dilekamadushan Jul 28, 2018
e560222
changed reportJson field to blob
dilekamadushan Jul 29, 2018
ae94559
modified for debug
dilekamadushan Jul 31, 2018
e845024
renamed endpoint
dilekamadushan Aug 3, 2018
3134eda
renamed endpoint param
dilekamadushan Aug 7, 2018
d7f977d
tried to remove code
dilekamadushan Aug 7, 2018
f9d6d3c
removed debug lines
dilekamadushan Aug 7, 2018
d32bb05
added comments for functions
dilekamadushan Aug 10, 2018
052e78b
Merge branch 'masterUpstream' into for_reveiew
dilekamadushan Aug 10, 2018
10fd8f0
renamed methods
dilekamadushan Aug 10, 2018
d6e827d
added comments to the task
dilekamadushan Aug 10, 2018
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.
+11 −7
Diff settings

Always

Just for now

changed reportJson field to blob

  • Loading branch information...
dilekamadushan committed Jul 29, 2018
commit e5602227d7c2d0b6dcf9cc20756f9c9bf9c37e99
@@ -27,7 +27,7 @@
private String reportRequestUuid;
private User user;
private String status;
private String reportJson;
private byte[] reportJson;
private Boolean priority;

public MuzimaGeneratedReport(){
@@ -81,11 +81,11 @@ public Integer getPatientId(){
return patientId;
}

public void setReportJson(final String reportJson) {
public void setReportJson(final byte[] reportJson) {
this.reportJson = reportJson;
}

public String getReportJson(){
public byte[] getReportJson(){
return reportJson;
}

@@ -106,11 +106,15 @@ public void setCreator(User creator){

@Override
public String toString() {
return "MuzimaSetting{" +
return "MuzimaGeneratedReport{" +
"id=" + id +
", uuid=" + getUuid() +
", name='" + getName() +
", description='" + getDescription() +
", patientId='" + getPatientId() +
", cohortReportConfigId='" + getCohortReportConfigId() +
", reportJson='" + getReportJson() +
", priority='" + getPriority() +
'}';
}

@@ -119,7 +119,7 @@ public void processAllReports() {
String s = new String(data);
System.out.println("Text Decryted : " + s);
System.out.println("fffffffffffffffffffrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr");
lastGeneratedReport.setReportJson(s);
lastGeneratedReport.setReportJson(data);
System.out.println("fffffffffffffffffffkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk");
lastGeneratedReport.setStatus("completed");
System.out.println("ffffffffffffffffffflllllllllllllllllllllllllllllllll");
@@ -15,7 +15,7 @@
<property name="reportRequestUuid" type="java.lang.String" column="report_request_uuid" length="38" not-null="true"/>
<property name="status" type="java.lang.String" column="status" length="255"/>

<property name="reportJson" type="java.lang.String" column="report_json"/>
<property name="reportJson" type="java.lang.Binary" column="report_json"/>
<property name="priority" type="java.lang.Boolean" column="priority" length="1"/>
<many-to-one name="creator" class="org.openmrs.User" not-null="true">
<column name="creator"/>
@@ -1277,7 +1277,7 @@
<column name="patient_id" type="int">
<constraints nullable="false"/>
</column>
<column name="report_json" type="${clob.type}">
<column name="report_json" type="longBlob">

</column>
<column name="priority" type="tinyint" defaultValueNumeric="0">
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.