Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Raphael
histream
Commits
6b8c1201
Commit
6b8c1201
authored
Aug 03, 2015
by
R.W.Majeed
Browse files
extend VisitImpl
parent
a1ce3fa4
Changes
1
Show whitespace changes
Inline
Side-by-side
histream-import/src/main/java/de/sekmi/histream/etl/PatientRow.java
View file @
6b8c1201
package
de.sekmi.histream.etl
;
import
java.time.Instant
;
import
de.sekmi.histream.DateTimeAccuracy
;
import
de.sekmi.histream.etl.config.PatientTable
;
import
de.sekmi.histream.ext.Patient
;
import
de.sekmi.histream.impl.PatientImpl
;
/**
* Row of patient data
...
...
@@ -12,12 +9,9 @@ import de.sekmi.histream.ext.Patient;
* @author Raphael
*
*/
public
class
PatientRow
implements
Patient
{
String
patid
;
public
class
PatientRow
extends
PatientImpl
{
String
firstname
;
String
lastname
;
DateTimeAccuracy
birthdate
;
DateTimeAccuracy
deathdate
;
// TODO concepts
...
...
@@ -25,61 +19,4 @@ public class PatientRow implements Patient{
this
.
firstname
=
first
;
this
.
lastname
=
last
;
}
public
void
setBirthDate
(
DateTimeAccuracy
date
){
this
.
birthdate
=
date
;
}
public
void
setDeathDate
(
DateTimeAccuracy
date
){
this
.
deathdate
=
date
;
}
public
static
PatientRow
load
(
Object
[]
input
,
ColumnMap
map
,
PatientTable
table
){
PatientRow
row
=
new
PatientRow
();
row
.
patid
=
null
;
// table.patid.valueOf(input[map.findIndex(table.patid)])
return
row
;
}
@Override
public
String
getId
()
{
return
patid
;
}
@Override
public
void
setId
(
String
patientId
)
{
this
.
patid
=
patientId
;
}
@Override
public
String
getSourceId
()
{
return
null
;
}
@Override
public
Instant
getSourceTimestamp
()
{
return
null
;
}
@Override
public
void
setSourceId
(
String
arg0
)
{
// TODO Auto-generated method stub
}
@Override
public
void
setSourceTimestamp
(
Instant
arg0
)
{
// TODO Auto-generated method stub
}
@Override
public
DateTimeAccuracy
getBirthDate
()
{
return
this
.
birthdate
;
}
@Override
public
DateTimeAccuracy
getDeathDate
()
{
return
this
.
deathdate
;
}
@Override
public
Sex
getSex
()
{
// TODO Auto-generated method stub
return
null
;
}
@Override
public
void
setSex
(
Sex
arg0
)
{
// TODO Auto-generated method stub
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment