public static class Observation.Builder extends Object
| Constructor and Description |
|---|
Builder(Event event)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Observation.Builder |
blob(String blob)
Sets the blob of the observation being built.
|
Observation |
build()
Builds and returns the observation.
|
Observation.Builder |
conceptCode(String conceptCode)
Sets the i2b2 concept code of the observation being built.
|
Observation.Builder |
conceptPath(String conceptPath)
Sets the i2b2 concept path of the observation being built.
|
Observation.Builder |
endDate(Date endDate)
Sets the end date of the observation being built.
|
Observation.Builder |
location(String location)
Sets the location of the observation being built.
|
Observation.Builder |
modifier(String modifier)
Sets the modifier of the observation being built.
|
Observation.Builder |
nval(String nval)
Sets the numerical value of the observation being built.
|
Observation.Builder |
observer(String observer)
Sets the observer of the observation being built.
|
Observation.Builder |
startDate(Date startDate)
Sets the start date of the observation being built.
|
Observation.Builder |
tval(String tval)
Sets the text value of the observation being built.
|
Observation.Builder |
units(String units)
Sets the units the observation being built.
|
Observation.Builder |
valueflag(String valueflag)
Sets the value flag of the observation being built.
|
Observation.Builder |
valuetype(String valuetype)
Sets the value type of the observation being built.
|
public Observation.Builder conceptCode(String conceptCode)
conceptCode - the concept codepublic Observation.Builder conceptPath(String conceptPath)
conceptPath - the concept pathpublic Observation.Builder observer(String observer)
observer - the observerpublic Observation.Builder startDate(Date startDate)
startDate - the start datepublic Observation.Builder endDate(Date endDate)
endDate - the end datepublic Observation.Builder modifier(String modifier)
modifier - the modifierpublic Observation.Builder valuetype(String valuetype)
valuetype - the value typepublic Observation.Builder tval(String tval)
tval - the text valuepublic Observation.Builder nval(String nval)
nval - the numerical valuepublic Observation.Builder valueflag(String valueflag)
valueflag - the value flagpublic Observation.Builder units(String units)
units - the unitspublic Observation.Builder location(String location)
location - the locationpublic Observation.Builder blob(String blob)
blob - the blobpublic Observation build()
Observation created according to this builderCopyright © 2016–2017 Emory University. All rights reserved.