Permalink
Browse files

Added more patients, #18

  • Loading branch information...
1 parent 8eeda7a commit de7f00ebc2984a56a51c0b8cca841c5ad6e9a8fb @mwl mwl committed Sep 11, 2012
Showing with 24 additions and 0 deletions.
  1. +24 −0 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>())
+ );
+ }
}
}

0 comments on commit de7f00e

Please sign in to comment.