Skip to content

Commit

Permalink
FUT1-8014 remove primary annotation
Browse files Browse the repository at this point in the history
- to allow EHealthFhirContext or TerminologyServerContext
  • Loading branch information
tyge.folke.nielsen authored and tyfoni-systematic committed Feb 20, 2023
1 parent 097a0ed commit 2c93f88
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
import org.springframework.context.annotation.Primary;

public class FhirContextDstu2Config {
@Primary
@Bean(name = "primaryFhirContext")
public FhirContext fhirContextDstu2() {
return FhirContext.forDstu2();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import static ca.uhn.fhir.jpa.config.r4.FhirContextR4Config.configureFhirContext;

public class FhirContextDstu3Config {
@Primary
@Bean(name = "primaryFhirContext")
public FhirContext fhirContextDstu3() {
FhirContext retVal = FhirContext.forDstu3();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ public class FhirContextR4Config {
public static final String DEFAULT_PRESERVE_VERSION_REFS_R4_AND_LATER = "AuditEvent.entity.what";

@Bean(name = "primaryFhirContext")
@Primary
public FhirContext fhirContextR4() {
FhirContext retVal = FhirContext.forR4();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@

public class FhirContextR5Config {
@Bean(name = "primaryFhirContext")
@Primary
public FhirContext fhirContextR5() {
FhirContext retVal = FhirContext.forR5();

Expand Down

0 comments on commit 2c93f88

Please sign in to comment.