Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added more patients, #18

  • Loading branch information...
commit de7f00ebc2984a56a51c0b8cca841c5ad6e9a8fb 1 parent 8eeda7a
@mwl mwl authored
Showing with 24 additions and 0 deletions.
  1. +24 −0 sc-web/src/main/java/dk/sst/snomedcave/service/ContextChecker.java
View
24 sc-web/src/main/java/dk/sst/snomedcave/service/ContextChecker.java
@@ -62,6 +62,30 @@ public void onApplicationEvent(ApplicationContextEvent event) {
)
);
}
+ if (identityRepository.getByCpr("1010101011") == null) {
+ identityRepository.save(
+ new Identity(
+ "1010101011",
+ "Jane Poe",
+ new HashSet<CaveRegistration>())
+ );
+ }
+ if (identityRepository.getByCpr("1010101012") == null) {
+ identityRepository.save(
+ new Identity(
+ "1010101012",
+ "Robert Roe",
+ new HashSet<CaveRegistration>())
+ );
+ }
+ if (identityRepository.getByCpr("1010101013") == null) {
+ identityRepository.save(
+ new Identity(
+ "1010101013",
+ "Mark Moe",
+ new HashSet<CaveRegistration>())
+ );
+ }
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.