|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectau.gov.nehta.vendorlibrary.mdm.segments.PID.Builder
public static final class PID.Builder
PID.Builder
Build class used to construct and validate a PID
object.
Constructor Summary | |
---|---|
PID.Builder()
|
Method Summary | |
---|---|
PID |
build()
Build PID and validate necessary fields. |
PID.Builder |
dateTimeOfBirth(java.util.Date value)
Set patient date/time of birth. |
PID.Builder |
patientAddress(XAD value)
Set patient address. |
PID.Builder |
patientIdentifiers(java.util.List<CX> values)
Set patient identifiers. |
PID.Builder |
patientName(XPN value)
Set patient name. |
PID.Builder |
sex(Sex value)
Set patient sex. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PID.Builder()
Method Detail |
---|
public PID.Builder patientIdentifiers(java.util.List<CX> values)
values
- List of patient identifiers (not null).
PID.Builder
public PID.Builder patientName(XPN value)
value
- Patient name (not null).
PID.Builder
public PID.Builder dateTimeOfBirth(java.util.Date value)
value
- Patient date/time of birth (not null).
PID.Builder
public PID.Builder patientAddress(XAD value)
value
- Patient address (not null).
PID.Builder
public PID.Builder sex(Sex value)
value
- Patient sex (not null).
PID.Builder
public PID build() throws MDMValidationException
PID
MDMValidationException
- Thrown when validation of the PID contents fails.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |