Skip to content

Commit

Permalink
[26627] add vaccination entity to ElexisTypeMap
Browse files Browse the repository at this point in the history
  • Loading branch information
huthomas committed Sep 27, 2024
1 parent 2f83194 commit 6d31c2d
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import ch.elexis.core.jpa.entities.TarmedLeistung;
import ch.elexis.core.jpa.entities.Termin;
import ch.elexis.core.jpa.entities.User;
import ch.elexis.core.jpa.entities.Vaccination;
import ch.elexis.core.jpa.entities.Verrechnet;
import ch.elexis.core.model.ILaboratory;
import ch.elexis.core.model.IOrganization;
Expand Down Expand Up @@ -92,6 +93,7 @@ public class ElexisTypeMap {
public static final String TYPE_STICKER = "ch.elexis.data.Sticker";
public static final String TYPE_REZEPT = "ch.elexis.data.Rezept";
public static final String TYPE_NAMEDBLOB = "ch.elexis.data.NamedBlob";
public static final String TYPE_VACCINATION = "at.medevit.elexis.impfplan.model.po.Vaccination";

static {
stsToClassMap = new HashMap<>();
Expand Down Expand Up @@ -150,6 +152,8 @@ public class ElexisTypeMap {
classToStsMap.put(Rezept.class, TYPE_REZEPT);
stsToClassMap.put(TYPE_NAMEDBLOB, Heap.class);
classToStsMap.put(Heap.class, TYPE_NAMEDBLOB);
stsToClassMap.put(TYPE_VACCINATION, Vaccination.class);
classToStsMap.put(Vaccination.class, TYPE_VACCINATION);

stsToClassMap.put(UserGroup.class.getName(), ch.elexis.core.jpa.entities.UserGroup.class);
classToStsMap.put(ch.elexis.core.jpa.entities.UserGroup.class, UserGroup.class.getName());
Expand Down

0 comments on commit 6d31c2d

Please sign in to comment.