From 3c2a644f928526e0976c5f156610e168f3d85fcb Mon Sep 17 00:00:00 2001 From: "R.W.Majeed" Date: Mon, 7 Aug 2017 22:44:13 +0200 Subject: [PATCH] documentation --- .../src/main/java/de/sekmi/histream/io/GroupedXMLReader.java | 4 ++-- histream-i2b2/TODO.txt | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/histream-core/src/main/java/de/sekmi/histream/io/GroupedXMLReader.java b/histream-core/src/main/java/de/sekmi/histream/io/GroupedXMLReader.java index 7f18392..dc8a25e 100644 --- a/histream-core/src/main/java/de/sekmi/histream/io/GroupedXMLReader.java +++ b/histream-core/src/main/java/de/sekmi/histream/io/GroupedXMLReader.java @@ -151,7 +151,7 @@ public class GroupedXMLReader implements ObservationSupplier { if( es != null ){ currentPatient.setSourceTimestamp(es.getSourceTimestamp()); } - // TODO set patient data + // set patient data if( patientData.containsKey("birthdate") ){ String dob = patientData.get("birthdate"); try { @@ -182,7 +182,7 @@ public class GroupedXMLReader implements ObservationSupplier { if( patientData.containsKey("given-name") ){ currentPatient.setGivenName(patientData.get("given-name")); } - + // TODO add more data. e.g. zip code } /** diff --git a/histream-i2b2/TODO.txt b/histream-i2b2/TODO.txt index 62fed2b..b370424 100644 --- a/histream-i2b2/TODO.txt +++ b/histream-i2b2/TODO.txt @@ -4,5 +4,7 @@ These integer ids are used directly in the patient table. Add flag for ignoring patient/encounter lookup: Insert facts directly into observation_fact +Write unit test for PostgresVisitStore -> rejectPatientChange + Periodic tasks: - Find and remove patient/encounter rows without any corresponding facts (can occur when facts are removed) -- GitLab