Skip to content

Commit

Permalink
refactor: use interface Set instead of HashSet
Browse files Browse the repository at this point in the history
  • Loading branch information
pcvolkmer committed Nov 19, 2024
1 parent 63fe5cc commit ac33538
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import java.util.HashSet;
import java.util.List;
import java.util.Set;
import org.hl7.fhir.r4.model.*;
import org.miracum.streams.ume.obdstofhir.FhirProperties;
import org.miracum.streams.ume.obdstofhir.lookup.SYSTTherapieartCSLookup;
Expand Down Expand Up @@ -123,7 +124,7 @@ public MedicationStatement createSystemtherapyMedicationStatement(
String softwareId,
Meldeanlass meldeanlass,
String substance,
HashSet<String> substances) {
Set<String> substances) {

var systemTherapy = meldung.getMenge_SYST().getSYST();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public Procedure createOpProcedure(
String senderId,
String softwareId,
String opsCode,
HashSet<String> distinctOpsSet) {
Set<String> distinctOpsSet) {

var op = meldung.getMenge_OP().getOP();

Expand Down Expand Up @@ -306,7 +306,7 @@ public Procedure createRadiotherapyProcedure(
Meldeanlass meldeanlass,
Bestrahlung radio,
Tupel<Date, Date> timeSpan,
HashSet<Bestrahlung> distinctPartialRadiations) {
Set<Bestrahlung> distinctPartialRadiations) {

var radioTherapy = meldung.getMenge_ST().getST();

Expand Down

0 comments on commit ac33538

Please sign in to comment.