Skip to content

Commit

Permalink
use resource version for export nr
Browse files Browse the repository at this point in the history
  • Loading branch information
nr23730 committed Sep 24, 2024
1 parent 484f84e commit db4df89
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public void run() {
} catch (NumberFormatException | IOException e) {
Logger.error(e, "Error reading state file!");
}
Date d0 = new Date(state);
Date d0 = new Date(0);
Date d = new Date();

Logger.debug("Checking for new data on FHIR server!");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -323,4 +323,18 @@ public void setEvidenzlevelNichtBiomarker(Boolean evidenzlevelNichtBiomarker) {
this.evidenzlevelNichtBiomarker = evidenzlevelNichtBiomarker;
}

/**
* @return the export nr
*/
public Integer getExportNr() {
return exportNr;
}

/**
* @param exportNr the export nr to set
*/
public void setExportNr(Integer exportNr) {
this.exportNr = exportNr;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ public static Befund exportDiagnosticReport(DiagnosticReport report, List<BefThe
i.incrementAndGet();
BefTherapieoptionen bef = new BefTherapieoptionen();
beflist.add(bef);
bef.setExportNr(Integer.valueOf(report.getMeta().getVersionId()));
beflistPatient.add(bef);
if (report.hasBasedOn()) {
bef.setAuftragsnummerBef(
Expand Down

0 comments on commit db4df89

Please sign in to comment.