Skip to content

Commit c5d5b5b

Browse files
committed
Checking in Gradle wrapper jar. Changing filename pattern for generators
1 parent 7ea4f7e commit c5d5b5b

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed

gradle/wrapper/gradle-wrapper.jar

53.9 KB
Binary file not shown.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.2.1-bin.zip
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists

src/main/java/in/projecteka/data/DiagnosticReportGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public void execute(String patientName, Date fromDate, int number, Path location
7171
.collect(Collectors.toList());
7272
Bundle.BundleEntryComponent patientEntry = patientEntries.get(0);
7373
String fileName = String.format("%sDiagnosticReportDoc%s.json",
74-
patientEntry.getResource().getId(), Utils.formatDate(date, "MMddyyyy"));
74+
patientEntry.getResource().getId(), Utils.formatDate(date, "yyyyMMdd"));
7575
Path path = Paths.get(location.toString(), fileName);
7676
System.out.println("Saving DiagnosticReport to file:" + path.toString());
7777
Utils.saveToFile(path, encodedString);

src/main/java/in/projecteka/data/PrescriptionGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public void execute(String patientName, Date fromDate, int number, Path location
5252
.collect(Collectors.toList());
5353
Bundle.BundleEntryComponent patientEntry = patientEntries.get(0);
5454
String fileName = String.format("%sPrescriptionDoc%s.json",
55-
patientEntry.getResource().getId(), Utils.formatDate(date, "MMddyyyy"));
55+
patientEntry.getResource().getId(), Utils.formatDate(date, "yyyyMMdd"));
5656
Path path = Paths.get(location.toString(), fileName);
5757
System.out.println("Saving Prescription to file:" + path.toString());
5858
Utils.saveToFile(path, encodedString);

0 commit comments

Comments
 (0)