Skip to content

Commit

Permalink
refactor: getPatIdFromAdt -> getPatIdFromMeldung
Browse files Browse the repository at this point in the history
  • Loading branch information
chgl committed May 7, 2024
1 parent 9f49405 commit 6a802de
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public Bundle mapOnkoResourcesToCondition(
}
}

var patId = getPatIdFromAdt(meldungExport);
var patId = getPatIdFromMeldung(meldungExport);
var pid = patId;
if (checkDigitConversion) {
pid = convertId(patId);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public Bundle mapOnkoResourcesToMedicationStatement(List<MeldungExport> meldungE
var senderId = meldungExport.getXml_daten().getAbsender().getAbsender_ID();
var softwareId = meldungExport.getXml_daten().getAbsender().getSoftware_ID();

var patId = getPatIdFromAdt(meldungExport);
var patId = getPatIdFromMeldung(meldungExport);
var pid = patId;
if (checkDigitConversion) {
pid = convertId(patId);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public Bundle mapOnkoResourcesToObservation(List<MeldungExport> meldungExportLis
// reporting reason
var meldeanlass = meldung.getMeldeanlass();

patId = getPatIdFromAdt(meldungExport);
patId = getPatIdFromMeldung(meldungExport);
if (checkDigitConversion) {
patId = convertId(patId);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public Bundle mapOnkoResourcesToPatient(List<MeldungExport> meldungExportList) {
var patient = new Patient();

// id
var patId = getPatIdFromAdt(meldungExport);
var patId = getPatIdFromMeldung(meldungExport);
var pid = patId;
if (checkDigitConversion) {
pid = convertId(patId);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public Bundle mapOnkoResourcesToProcedure(List<MeldungExport> meldungExportList)
var senderId = meldungExport.getXml_daten().getAbsender().getAbsender_ID();
var softwareId = meldungExport.getXml_daten().getAbsender().getSoftware_ID();

var patId = getPatIdFromAdt(meldungExport);
var patId = getPatIdFromMeldung(meldungExport);
var pid = patId;
if (checkDigitConversion) {
pid = convertId(patId);
Expand Down

0 comments on commit 6a802de

Please sign in to comment.